.registration-qa { background: #f5f7fa; color: #26384b; }
.registration-qa *, .qa-dialog, .qa-dialog * { box-sizing: border-box; }
.registration-qa main { max-width: 1320px; margin: 24px auto; padding: 0 12px; }
.registration-qa h2 { color: #173f66; text-align: left; }
.registration-qa a { color: #245f97; }
.registration-qa button, .qa-dialog button { cursor: pointer; border: 1px solid #9aafc4; border-radius: 6px; padding: 8px 12px; background: #fff; color: #24527f; font: inherit; margin: 0; }
.registration-qa button:disabled, .qa-dialog button:disabled { opacity: .5; cursor: not-allowed; }
.qa-panel { background: #fff; border: 1px solid #dce3eb; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.qa-panel > :first-child { margin-top: 0; }
.qa-panel p, .qa-dialog p { line-height: 1.5; }
.qa-muted { color: #64758a; font-size: .83rem; }
.qa-links, .qa-bulk, .qa-issues, .qa-row-actions, .qa-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.qa-links { gap: 20px; }
.qa-issues button[aria-pressed=true] { color: #fff; background: #245f97; border-color: #245f97; }
.qa-scroll { max-width: 100%; overflow: auto; }
.qa-scroll table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 900px; }
.qa-scroll th, .qa-scroll td { padding: 10px; border-bottom: 1px solid #e5ebf1; text-align: left; vertical-align: top; }
.qa-scroll th { background: #f7f9fc; }
.qa-scroll td button { text-align: left; }
.qa-scroll small { display: block; color: #64758a; margin-top: 6px; }
.registration-qa label, .qa-dialog label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.registration-qa input, .registration-qa select, .qa-dialog input, .qa-dialog select, .qa-dialog textarea { box-sizing: border-box; font: inherit; border: 1px solid #b9c5d2; border-radius: 5px; padding: 8px; max-width: 100%; color: #26384b; background: #fff; }
.registration-qa input[type=checkbox], .qa-dialog input[type=checkbox] { width: 17px; height: 17px; flex: none; accent-color: #245f97; }
.qa-filters label:first-child { flex: 1 1 260px; }
.qa-filters label:has(#qa-search) { flex: 2 1 300px; }
.qa-optional-filters { margin: 8px 0 16px; }
.qa-optional-filters > label { max-width: 280px; margin-top: 10px; }
.qa-navigator { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 14px; background: #f5f8fc; border: 1px solid #dce3eb; border-radius: 8px; }
.qa-navigator label { min-width: 0; font-weight: 600; }
.qa-bracket-heading { margin-top: 16px; padding: 14px 0 10px; border-top: 1px solid #e5ebf1; border-bottom: 1px solid #e5ebf1; }
.qa-bracket-heading .qa-bracket-eyebrow { margin: 0 0 2px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #64758a; font-weight: 650; }
.qa-bracket-heading h2 { margin: 0; color: #1565c0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; overflow-wrap: anywhere; }
.qa-bracket-heading .qa-muted { margin: 8px 0 0; }
.qa-match-dialog button[type=submit] { display: inline-flex; align-items: center; gap: 8px; }
.qa-connecting-spinner { width: 18px; height: 18px; flex-shrink: 0; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: qa-connecting 1s linear infinite; }
@keyframes qa-connecting { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .qa-connecting-spinner { animation: none; } }
.qa-queue-tabs { display: flex; gap: 8px; margin: 16px 0 8px; }
.qa-queue-tabs button[aria-pressed=true] { color: #fff; background: #245f97; border-color: #245f97; }
.qa-issues button { font-size: .84rem; padding: 6px 9px; }
.qa-bracket-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.qa-validation-state { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; width: 100%; padding: 12px; border: 1px solid #dce3eb; border-left: 4px solid #c98a0d; border-radius: 6px; background: #f8fafc; font-size: .88rem; }
.qa-validation-state.validated { border-left-color: #32835b; }
.qa-validation-state span { color: #64758a; }
.qa-validation-state details { font-size: .8rem; color: #64758a; }
.qa-readiness-verdict { padding: 12px; background: #fff3dc; border-left: 4px solid #c98a0d; border-radius: 6px; font-size: .9rem; }
.qa-readiness-verdict.ready { background: #eaf6ef; border-color: #32835b; }
.qa-readiness-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.registration-qa .qa-readiness-cards > *, .registration-management .qa-readiness-cards > * { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 12px; border: 1px solid #dce3eb; border-radius: 6px; font-size: .85rem; text-align: left; line-height: 1.4; }
.qa-readiness-cards strong { display: block; min-height: 2.8em; font-size: 1.15rem; color: #173f66; margin-bottom: 4px; }
.qa-readiness-cards .qa-capacity-card { background: #eef5fc; border-color: #9aafc4; }
.qa-readiness-cards .qa-field-issues-card { background: #fff3dc; border-color: #c98a0d; }
.qa-readiness-cards .qa-pending-work-card.needs-work { background: #fff3dc; border-color: #c98a0d; border-left-width: 4px; }
.qa-bracket-actions > .qa-notice { flex-basis: 100%; margin: 0; }
.qa-ready { color: #246843; background: #eaf6ef; border-radius: 4px; font-size: .8rem; padding: 3px 7px; }
.qa-check, .registration-qa .qa-check, .qa-dialog .qa-check { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; }
.qa-entry { border: 1px solid #dce3eb; border-left: 4px solid #9aafc4; border-radius: 7px; padding: 14px; margin: 12px 0; overflow-wrap: anywhere; }
.qa-entry.qa-compact { padding: 10px 12px; }
.qa-compact > p, .qa-compact .qa-status { margin: 6px 0; }
.qa-team-members { margin: 4px 0; padding-left: 20px; font-size: .84rem; }
.qa-entry.needs-help { border-left-color: #c98a0d; }
.qa-entry.selected { background: #eff6ff; }
.qa-entry h3 { margin: 0; font-size: 1rem; }
.qa-entry-header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qa-entry-header label { flex: 1; }
.qa-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.qa-tag { background: #fff3dc; color: #785208; border-radius: 4px; font-size: .8rem; padding: 3px 7px; }
.qa-entry p { margin: 8px 0; font-size: .88rem; }
.qa-entry h4, .qa-action-context h3, .qa-action-context h4 { margin: 10px 0; }
.qa-status { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 12px 0; font-size: .85rem; }
.qa-status dt { color: #64758a; font-size: .8rem; }
.qa-status dd { margin: 3px 0 0; font-weight: 600; }
.qa-resolution, .qa-action-context { padding: 12px; background: #f5f8fc; border: 1px solid #dce3eb; border-radius: 6px; margin: 12px 0; }
.qa-resolution ul, .qa-action-context ul { padding-left: 20px; margin: 8px 0; font-size: .9rem; line-height: 1.5; }
.qa-other-tools { margin-top: 12px; font-size: .88rem; }
.qa-other-tools summary { color: #245f97; cursor: pointer; }
.registration-qa .qa-primary { background: #245f97; color: #fff; border-color: #245f97; }
.qa-nav-action { display: inline-block; border: 1px solid #9aafc4; border-radius: 6px; padding: 8px 12px; color: #24527f; background: #fff; text-decoration: none; font: inherit; }
.qa-nav-action:hover { text-decoration: underline; }
.qa-origin-row { outline: 2px solid #3578bd; outline-offset: -2px; }
.qa-assessment { max-width: 100%; overflow-x: auto; margin-bottom: 16px; }
.qa-assessment table { width: 100%; border-collapse: collapse; font-size: .85rem; text-align: left; }
.qa-assessment caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.qa-assessment th, .qa-assessment td { border-bottom: 1px solid #dce3eb; padding: 9px; vertical-align: top; overflow-wrap: anywhere; }
.qa-check-exception, .qa-check-missing { background: #fff3dc; }
.qa-check-blocked { background: #fff0ef; }
.qa-partner-table table { min-width: 1100px; }
.qa-partner-picked { background: #eff6ff; }
.qa-partner-evidence { font-size: .85rem; margin: 8px 0; overflow-wrap: anywhere; }
.qa-partner-evidence dt { color: #64758a; margin-top: 8px; }
.qa-partner-evidence dd { margin: 3px 0; }
.qa-partner-evidence small { display: block; }
.qa-attention { border-left: 4px solid #c27c0e; background: #fff8eb; padding: 8px 14px; margin: 12px 0; border-radius: 4px; }
.qa-attention h3 { margin: 4px 0 6px; font-size: 1rem; }
.qa-attention ul { margin: 0; padding-left: 20px; }
.qa-field-missing input, .qa-field-missing select { border-color: #c27c0e; background: #fffaf0; }
[data-field-note] { display: block; color: #8a5a00; font-size: .78rem; margin-top: 3px; }
.qa-partner-correction { margin: 10px 0; }
.qa-partner-correction legend { font-weight: 600; }
.qa-partner-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-partner-comparison > section { min-width: 0; }
.qa-notice { border: 1px solid #9aafc4; background: #eef5fc; padding: 12px; border-radius: 6px; }
.qa-notice.error, .qa-dialog [role=alert] { color: #8e2525; background: #fff0ef; padding: 12px; }
.qa-dialog { width: min(760px, calc(100% - 32px)); max-height: 90vh; padding: 0; border: 1px solid #b9c5d2; border-radius: 10px; box-sizing: border-box; color: #26384b; }
.qa-dialog::backdrop { background: #10243b70; }
.qa-support-dialog { width: min(1200px, calc(100% - 32px)); padding: 16px; }
.qa-dialog header, .qa-dialog footer { padding: 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; background: #f7f9fc; }
.qa-dialog header { position: sticky; top: 0; z-index: 1; }
.qa-dialog header h2 { margin: 0; font-size: 1.2rem; }
.qa-dialog form { padding: 16px; }
.qa-dialog [data-fields] > * { margin: 0 0 16px; }
.qa-dialog textarea { min-height: 80px; resize: vertical; }
.qa-dialog [role=alert] { margin: 12px; }
.qa-dialog pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f3f6fa; padding: 12px; font: inherit; }
.qa-dialog .qa-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-dialog fieldset { max-height: 230px; overflow: auto; border: 1px solid #dce3eb; }
.qa-dialog fieldset label { margin: 8px 0; }
.qa-dialog [aria-busy=true], .qa-dialog[aria-busy=true] { cursor: progress; }
.qa-dialog[aria-busy=true] header::after { content: 'Working...'; font-size: .85rem; }
.registration-qa :focus-visible, .qa-dialog :focus-visible { outline: 2px solid #3578bd; outline-offset: 3px; }
.qa-dialog [hidden], .registration-qa [hidden] { display: none !important; }
.qa-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.qa-panel-heading h2 { margin-top: 0; }
.qa-panel-heading > div { min-width: 0; }
.qa-panel-heading > button { flex-shrink: 0; }
.no-bracket-panel .qa-scroll table { min-width: 560px; }
.no-bracket-panel .fee-column { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.no-bracket-panel td button { margin: 2px 4px 2px 0; }
.qa-checkout-status { display: inline-block; padding: 3px 8px; border-radius: 12px; background: #eef2f6; color: #56677b; font-size: .8rem; white-space: nowrap; }
.qa-checkout-status.completed { background: #e8f5e9; color: #256029; }
.qa-notice a { margin-left: 6px; font-weight: 600; }
#registration-removal-dialog { width: min(560px, calc(100% - 32px)); border: 1px solid #b9c5d2; border-radius: 10px; padding: 20px; color: #26384b; box-sizing: border-box; }
#registration-removal-dialog::backdrop { background: #10243b70; }
#registration-removal-dialog h2 { margin-top: 0; }
#registration-removal-dialog p { line-height: 1.5; overflow-wrap: anywhere; }
#registration-removal-dialog .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
#registration-removal-dialog .notice:empty { display: none; }
#registration-removal-dialog .notice.error { color: #8e2525; background: #fff0ef; padding: 12px; border-radius: 6px; }
@media (max-width: 640px) { .qa-panel-heading { flex-wrap: wrap; } }
.qa-player-search { display: flex; align-items: flex-end; gap: 10px; }
.qa-player-search label { flex: 1; min-width: 0; }
.qa-player-results { list-style: none; padding: 0; margin: 10px 0; max-height: 260px; overflow-y: auto; }
.qa-player-results li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-bottom: 1px solid #dce3eb; }
.qa-player-results li > div { min-width: 0; overflow-wrap: anywhere; }
.qa-player-results small { display: block; margin-top: 4px; color: #64758a; }
.qa-player-results button[aria-pressed=true] { background: #245f97; color: #fff; }
.qa-match-dialog { width: min(840px, calc(100% - 24px)); }
.qa-match-dialog form { padding: 12px 16px 0; }
.qa-match-dialog [data-fields] > * { margin-bottom: 8px; }
.qa-match-bracket { font-weight: 600; }
.qa-match-pair, .qa-match-search { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qa-match-player { min-width: 0; padding: 12px; border: 1px solid #dce3eb; border-radius: 6px; background: #f7f9fc; overflow-wrap: anywhere; }
.qa-match-player h3 { margin: 0 0 6px; font-size: 1.05rem; }
.qa-match-player p { margin: 0 0 8px; font-size: .82rem; }
.qa-match-player dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; margin: 8px 0; font-size: .85rem; }
.qa-match-player dt { color: #64758a; }
.qa-match-player dd { margin: 0; }
.qa-match-player details { font-size: .8rem; }
.qa-match-more { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-start; }
.qa-dialog .qa-signup-link, .registration-qa .qa-signup-links button { padding: 0; border: 0; background: transparent; color: #24527f; font-size: .8rem; text-decoration: underline; }
.qa-match-more .qa-signup-link { min-height: auto; }
.qa-signup-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.qa-match-player details dl { display: block; }
.qa-match-player .qa-action-context { padding: 8px 0 0; margin: 0; border: 0; }
.qa-match-conflict { border-color: #b66b13; background: #fff3dc; }
.qa-partner-mismatch { color: #7a4300; background: #fff3dc; border-left: 3px solid #b66b13; padding: 4px 8px; }
p.qa-partner-mismatch { margin: 6px 0; }
.qa-review-candidate { margin-left: 6px; padding: 1px 8px; font-size: 0.9em; }
.qa-partner-compare { border: 1px solid #d8c4a4; border-radius: 6px; padding: 8px 12px; background: #fffaf2; }
.qa-partner-compare h4 { margin: 0 0 6px; }
.qa-partner-compare ul { margin: 0 0 8px; padding-left: 18px; }
.qa-partner-compare li { margin: 3px 0; }
.qa-partner-compare textarea { width: 100%; min-height: 3em; }
[data-disconnect-form] { margin-top: 6px; }
.qa-match-plan { padding: 8px 10px; border-left: 3px solid #3578bd; background: #eef5fc; font-size: .88rem; }
.qa-match-dialog summary { cursor: pointer; color: #24527f; }
.qa-match-dialog [data-match-picker] > :not(summary) { margin-top: 10px; }
.qa-match-dialog footer { position: sticky; bottom: 0; justify-content: flex-end; margin: 0 -16px; padding: 12px 16px; border-top: 1px solid #dce3eb; z-index: 1; }
.qa-match-dialog button[type=submit] { background: #245f97; color: #fff; }
@media (max-width: 640px) {
  .qa-match-more .qa-signup-link { min-height: 44px; }
  .qa-player-search { flex-direction: column; align-items: stretch; }
  .registration-qa main { padding: 0 8px; margin-top: 12px; }
  .qa-panel { padding: 14px; }
  .qa-filters > label { width: 100%; }
  .qa-navigator { grid-template-columns: 1fr 1fr; }
  .qa-validation-state { align-items: flex-start; flex-direction: column; }
  .qa-dialog .qa-fields { grid-template-columns: 1fr; }
  .qa-bulk button { flex: 1 1 auto; }
  .qa-assessment table, .qa-assessment tbody, .qa-assessment tr, .qa-assessment th, .qa-assessment td { display: block; width: 100%; }
  .qa-assessment caption { display: block; }
  .qa-assessment thead { display: none; }
  .qa-assessment tr { border: 1px solid #dce3eb; border-radius: 6px; margin-bottom: 12px; }
  .qa-assessment th { background: #eaf0f7; }
  .qa-assessment td { border: 0; padding-top: 6px; }
  .qa-assessment td::before { content: attr(data-label) ': '; font-weight: 600; }
  .qa-partner-comparison { grid-template-columns: 1fr; }
  .qa-match-pair, .qa-match-search { grid-template-columns: 1fr; }
}
