/* Client-facing Organizer Space */
body.admin-shell{background:#07171d!important;color:#eaf4f7!important}
.admin-shell .topbar{background:#07171d!important;border-bottom:1px solid #224957!important}
.admin-shell .card,.admin-shell .kpi{background:#0b222a!important;border-color:#295261!important;color:#edf7fa!important;box-shadow:none!important}
.admin-shell .sub,.admin-shell small,.admin-shell p{color:#8fa8b1}
.admin-shell input,.admin-shell select,.admin-shell textarea{background:#081b22!important;color:#eef8fa!important;border-color:#315565!important}
.admin-shell .admin-navigation{background:#081a21!important;border-color:#274c5a!important}
.admin-shell .admin-context-bar{background:#0a2028!important;border-color:#274f5d!important}
.admin-shell .admin-nav-head b,.admin-shell h1,.admin-shell h2,.admin-shell h3,.admin-shell b{color:#f1f8fa}
.admin-shell .btn.primary{background:#cfff2d!important;color:#07151a!important;border-color:#cfff2d!important}
.admin-shell .admin-eyebrow{color:#55def8!important}
.organizer-client-note{margin:0 0 12px;border:1px solid #355d6b;border-radius:14px;padding:14px 16px;background:#0a2028;color:#a9bdc5;font-size:11px}
.organizer-client-note b{color:#cfff2d}
.organizer-hq-hidden{display:none!important}

/* Shared accessible dashboard controls. */
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{background:#071722!important;color:#f3f8fa!important;border:1px solid #648394!important;color-scheme:dark;font-size:16px;min-height:44px}
body input::placeholder,body textarea::placeholder{color:#adc2ce!important;opacity:1}
body option{background:#071722;color:#f3f8fa}
body :is(input,select,textarea,button,a,summary):focus-visible{outline:3px solid #55dfff!important;outline-offset:4px}
body .admin-login-card :is(p,label,.sub){color:#c4d5dd!important}
body .admin-login-card h1{color:#f3f8fa!important}
body .admin-login-card{background:#0b1d2b!important}
body .admin-login-card button[type=submit]{background:#d8ff2f!important;color:#07121b!important;border-color:#d8ff2f!important}

/* Legible brand plate on the shared dark header. */
.admin-shell .topbar .brand{background-color:#f1f6f8!important;border-radius:8px;background-size:85% auto!important;min-width:112px;min-height:44px}
.admin-shell .topbar [hidden]{display:none!important}
.admin-brand-lockup .brand:after{display:none!important}

/* Consistent contrast for authenticated registration and navigation views. */
.admin-shell .registration-summary-tournament{background:#102936!important;border-color:#466779!important}
.admin-shell .registration-summary-category{background:#0a1d29!important;border-color:#466779!important}
.admin-shell :is(.registration-summary-head,.registration-summary-category) :is(b,strong){color:#f1f8fa!important}
.admin-shell :is(.registration-summary-head,.registration-summary-category) small{color:#bfd0da!important}
.admin-shell .admin-subnavigation{background:#0a202c!important;border-color:#466779!important}
.admin-shell .admin-sub-label,.admin-shell .admin-nav-head>small,.admin-shell .admin-navigation .admin-nav-groups>button span small{color:#b8ccd7!important}
.admin-shell .admin-subnavigation button{color:#d5e6ee!important;min-height:40px}
.admin-shell .admin-subnavigation button:hover{background:#173c4c!important}
.admin-shell .admin-subnavigation button.active{background:#204757!important;color:#fff!important;box-shadow:inset 3px 0 #55dfff}
.admin-shell .admin-quick-grid button,.admin-shell .admin-create-tournament,.admin-shell .admin-create-tournament-body{background:#0b222e!important;color:#edf7fa!important;border-color:#466779!important}
.admin-shell .admin-quick-grid span{color:#bfd0da!important}
.admin-shell .btn.red{background:#512730!important;color:#ffdce0!important;border-color:#b76c7b!important}

.admin-shell .admin-action-centre{background:#102936!important;border-color:#466779!important}
.admin-shell .admin-action-grid button{background:#0a1d29!important;color:#edf7fa!important;border-color:#466779!important}
.admin-shell .admin-action-grid button small{color:#bfd0da!important}
.admin-shell .admin-action-grid button.needs-action{background:#253923!important;border-color:#cfff2d!important}
.admin-shell .admin-action-grid button.needs-action b{color:#cfff2d!important}

/* Payment workspace: keep every operational card legible on the dark dashboard. */
.admin-shell :is(.payment-kpis article,.payment-settings-panel,.payment-preview-panel,.payment-method-config,.payment-method-card,.payment-toolbar,.payment-row){background:#0b222e!important;border-color:#466779!important;color:#edf7fa!important}
.admin-shell .payment-kpis article.warning{background:#29331d!important;border-color:#8daa3f!important}
.admin-shell :is(.payment-kpis,.payment-settings-panel,.payment-preview-panel,.payment-method-config,.payment-method-card,.payment-toolbar,.payment-row) :is(h3,b,strong,span,label){color:#edf7fa!important}
.admin-shell :is(.payment-kpis,.payment-settings-panel,.payment-preview-panel,.payment-method-config,.payment-method-card,.payment-toolbar,.payment-row) :is(p,small){color:#bfd0da!important}
.admin-shell .payment-filter-tabs button{background:#102936!important;color:#dbeaf0!important;border-color:#466779!important}
.admin-shell .payment-filter-tabs button.active{background:#cfff2d!important;color:#07151a!important;border-color:#cfff2d!important}
.admin-shell .payment-qr-upload{background:#102936!important;border-color:#648394!important}

/* Legacy operational modules: normalize light cards before they inherit light text. */
.admin-shell :is(
  .club-request-list article,
  .club-request-list blockquote,
  .admin-ranking-summary>div,
  .admin-bonus-breakdown span,
  .admin-sport-context-card,
  .admin-sport-overview article,
  .admin-tournament-metrics span,
  .admin-category-chip,
  .admin-tournament-archives,
  .admin-more button,
  .sponsor-admin-list article,
  .poster-controls,
  .poster-format-tabs button,
  .poster-note
){background:#0b222e!important;color:#edf7fa!important;border-color:#466779!important}
.admin-shell :is(
  .club-request-list article,
  .admin-ranking-summary,
  .admin-bonus-breakdown,
  .admin-sport-context-card,
  .admin-sport-overview,
  .admin-tournament-metrics,
  .admin-category-chip,
  .admin-tournament-archives,
  .admin-more,
  .sponsor-admin-list,
  .poster-controls
) :is(h2,h3,h4,b,strong,span,label,summary){color:#edf7fa!important}
.admin-shell :is(
  .club-request-list article,
  .admin-ranking-summary,
  .admin-bonus-breakdown,
  .admin-sport-context-card,
  .admin-sport-overview,
  .admin-tournament-metrics,
  .admin-category-chip,
  .admin-tournament-archives,
  .admin-more,
  .sponsor-admin-list,
  .poster-controls
) :is(p,small,time,em){color:#bfd0da!important}
.admin-shell .club-request-list a{background:#173c4c!important;color:#f3f8fa!important;border-color:#648394!important}
.admin-shell .club-request-list button,
.admin-shell .poster-format-tabs button{background:#102936!important;color:#edf7fa!important;border-color:#466779!important}
.admin-shell .poster-format-tabs button.active{background:#cfff2d!important;color:#07151a!important;border-color:#cfff2d!important}
.admin-shell :is(button,.btn)[disabled]{background:#263944!important;color:#9eb2bc!important;border-color:#3f5966!important;opacity:1!important;cursor:not-allowed!important}
