/* Kelen Ter globalis vilagos/sotet tema. Csak a szinreteget valtoztatja. */

:root {
  color-scheme: light;
  --theme-canvas: #f2f5f8;
  --theme-surface: #ffffff;
  --theme-surface-alt: #f7fafc;
  --theme-surface-strong: #edf3f6;
  --theme-text: #17283b;
  --theme-muted: #5b6d7f;
  --theme-line: #dbe5ec;
  --theme-line-strong: #c4d2dc;
  --theme-overlay: rgba(6, 23, 43, 0.46);
  --theme-shadow: 0 12px 32px rgba(6, 23, 43, 0.09);
}

html[data-color-mode="dark"] {
  color-scheme: dark;
  --theme-canvas: #050f1b;
  --theme-surface: #091827;
  --theme-surface-alt: #0c1d2e;
  --theme-surface-strong: #102438;
  --theme-text: #edf5f8;
  --theme-muted: #9eb0bf;
  --theme-line: #1b3549;
  --theme-line-strong: #2b4b61;
  --theme-overlay: rgba(0, 5, 12, 0.76);
  --theme-shadow: 0 16px 40px rgba(0, 0, 0, 0.27);

  --ink: var(--theme-text);
  --muted: var(--theme-muted);
  --line: var(--theme-line);
  --paper: var(--theme-canvas);
  --canvas: var(--theme-canvas);
  --panel: var(--theme-surface);
  --surface: var(--theme-surface);
  --white: #f5fafc;
  --club-surface: var(--theme-surface-alt);
  --blue-soft: #102844;
  --green-soft: #0c3026;
  --mint: #0c3026;
  --gold-soft: #342914;
  --danger-bg: #361923;
  --red-soft: #361923;
  --shadow: var(--theme-shadow);
  --soft-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);

  --rd-text: var(--theme-text);
  --rd-muted: var(--theme-muted);
  --rd-faint: #8ea3b4;
  --rd-border: var(--theme-line);
  --rd-border-strong: var(--theme-line-strong);
  --rd-canvas: var(--theme-canvas);
  --rd-surface: var(--theme-surface);
  --rd-surface-alt: var(--theme-surface-alt);
  --rd-green-soft: #0c3026;
  --rd-blue-soft: #102844;
  --rd-amber-soft: #342914;
  --rd-red-soft: #361923;
  --rd-purple-soft: #241f43;
  --rd-shadow: var(--theme-shadow);
  --rd-shadow-strong: 0 22px 55px rgba(0, 0, 0, 0.36);
}

body,
.workspace,
.topbar,
.login-screen,
.login-shell,
.login-card,
dialog,
.dialog-card,
.modal-card {
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.theme-mode-action {
  position: relative;
  display: inline-grid !important;
  grid-template-columns: 20px;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px !important;
  padding: 0 !important;
  overflow: hidden;
}

.theme-mode-action > svg {
  grid-area: 1 / 1;
  width: 19px;
  height: 19px;
  pointer-events: none;
}

.theme-mode-action::before {
  grid-area: 1 / 1;
  content: "\263E";
  font-size: 23px;
  line-height: 1;
  pointer-events: none;
}

html[data-color-mode="dark"] .theme-mode-action::before {
  content: "\2600";
  font-size: 21px;
}

.theme-mode-action:has(> svg)::before {
  display: none;
}

.theme-mode-action .theme-icon-sun,
html[data-color-mode="dark"] .theme-mode-action .theme-icon-moon {
  display: none;
}

.theme-mode-action .theme-icon-moon,
html[data-color-mode="dark"] .theme-mode-action .theme-icon-sun {
  display: block;
}

.theme-mode-action .theme-mode-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.login-theme-mode-action {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
  color: #f5fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(6, 23, 43, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.login-theme-mode-action:hover {
  color: #63e0ae;
  border-color: rgba(99, 224, 174, 0.58);
  background: rgba(6, 23, 43, 0.94);
}

/* Altalanos sotet tema */
html[data-color-mode="dark"] body,
html[data-color-mode="dark"] .app-shell,
html[data-color-mode="dark"] .workspace,
html[data-color-mode="dark"] .app-shell.is-player-focus .workspace,
html[data-color-mode="dark"] .app-shell.is-coach-focus .workspace,
html[data-color-mode="dark"] .app-shell.is-payment-focus .workspace {
  color: var(--theme-text);
  background: var(--theme-canvas) !important;
}

html[data-color-mode="dark"] .topbar {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: rgba(9, 24, 39, 0.94);
  box-shadow: var(--theme-shadow);
}

html[data-color-mode="dark"] .topbar h2,
html[data-color-mode="dark"] .workspace :where(h1, h2, h3, h4, h5, h6, strong, b, dd, summary),
html[data-color-mode="dark"] dialog :where(h1, h2, h3, h4, h5, h6, strong, b) {
  color: var(--theme-text);
}

html[data-color-mode="dark"] .workspace :where(p, span, small, dt, li),
html[data-color-mode="dark"] dialog :where(p, span, small, dt, li) {
  border-color: var(--theme-line);
}

html[data-color-mode="dark"] .workspace :where(
  .home-state,
  .home-panel,
  .home-section,
  .dashboard-panel,
  .dashboard-card,
  .info-block,
  .chart-card,
  .report-panel,
  .feedback-card,
  .insight-panel,
  .local-data-card,
  .measurement-type-card,
  .measurement-entry-block,
  .reference-compare-card,
  .reference-values-card,
  .reference-values-subcard,
  .classification-summary,
  .classification-category-card,
  .parent-portal-section,
  .parent-calendar-card,
  .parent-attendance-stats,
  .parent-child-report-card,
  .coach-card,
  .coach-detail-card,
  .coach-calendar-card,
  .technical-leadership-card,
  .technical-feedback-card,
  .technical-team-management-card,
  .technical-permission-card,
  .president-card,
  .contract-card,
  .payment-card,
  .message-workspace,
  .message-compose,
  .message-panel,
  .message-card,
  .scout-card,
  .health-card,
  .training-card,
  .field-document-card,
  .empty-state,
  .export-table-panel
),
html[data-color-mode="dark"] dialog,
html[data-color-mode="dark"] .dialog-card,
html[data-color-mode="dark"] .modal-card {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow);
}

html[data-color-mode="dark"] .account-privacy-summary,
html[data-color-mode="dark"] .account-privacy-information {
  border-color: #244a40;
  background: #102c25;
}

html[data-color-mode="dark"] .account-delete-zone {
  border-color: #7b3a43;
  background: #351f24;
}

html[data-color-mode="dark"] .account-privacy-summary strong,
html[data-color-mode="dark"] .account-privacy-information h4,
html[data-color-mode="dark"] .account-delete-zone h4 {
  color: #f3fbf7;
}

html[data-color-mode="dark"] .account-privacy-summary span,
html[data-color-mode="dark"] .account-privacy-summary small,
html[data-color-mode="dark"] .account-privacy-information p,
html[data-color-mode="dark"] .account-delete-zone p,
html[data-color-mode="dark"] .account-delete-zone small {
  color: #bfd4ca;
}

html[data-color-mode="dark"] .account-delete-zone label {
  color: #ffc7cc;
}

html[data-color-mode="dark"] .account-delete-zone input {
  border-color: #91515a;
  background: #211519;
  color: #fff;
}

html[data-color-mode="dark"] .workspace :where(
  [class$="-row"],
  [class*="-row "],
  [class$="-item"],
  [class*="-item "],
  [class$="-tile"],
  [class*="-tile "],
  [class$="-subcard"],
  [class*="-subcard "]
) {
  border-color: var(--theme-line);
}

html[data-color-mode="dark"] .workspace :where(
  .reference-values-row,
  .export-table,
  .export-table tr,
  .history-table tr,
  .technical-table tr,
  .message-thread-row,
  .message-recipient-row,
  .parent-invitation-row,
  .coach-directory-card,
  .team-management-row,
  .player-card
) {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface);
}

html[data-color-mode="dark"] .workspace :where(
  table,
  thead,
  th,
  .is-head,
  .table-head,
  .reference-values-row.is-head
) {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface-alt);
}

html[data-color-mode="dark"] .workspace :where(td, th) {
  border-color: var(--theme-line);
}

/* Edzoi elerhetosegek: a sotet tema sajat, kontrasztos nevjegyzeke. */
html[data-color-mode="dark"] #coachesPanel > .coach-directory-switch {
  border-color: #25475a;
  background: #0c1f2e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

html[data-color-mode="dark"] #coachesPanel > .coach-directory-switch button {
  color: #a9bdc9;
}

html[data-color-mode="dark"] #coachesPanel > .coach-directory-switch button:hover {
  color: #f3fbf8;
  background: #142b3b;
}

/* Vezetoi munkaterulet: minden informacio sotet, kontrasztos feluleten marad. */
html[data-color-mode="dark"] #leadershipPanel :where(
  .leadership-kpi,
  .leadership-card,
  .leadership-team-card,
  .leadership-team-compact-list,
  .technical-club-overview,
  .technical-club-database-card,
  .technical-feedback-card,
  .technical-weekly-summary,
  .technical-table-launcher
) {
  color: var(--theme-text);
  border-color: #1d3a4d;
  background: #091a29;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .leadership-card h4,
  .leadership-kpi strong,
  .leadership-player-item strong,
  .leadership-team-player-row strong,
  .technical-club-overview-head h4,
  .technical-club-card-head h4
) {
  color: #f4f8fa;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .leadership-kpi span,
  .leadership-kpi small,
  .leadership-player-item small,
  .leadership-team-player-row small,
  .technical-club-card-head > div > span,
  .technical-club-card-head small,
  .technical-club-overview-actions > span
) {
  color: #a9bac7;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-card .muted-empty {
  min-height: 94px;
  margin: 0;
  border: 1px dashed #29475a;
  border-radius: 10px;
  padding: 18px;
  color: #a9bac7;
  background: #0c2030;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item {
  border: 1px solid #254356;
  border-left: 5px solid #4d87b2;
  color: #f3f8fa;
  background: #0c2030;
}

.leadership-player-item > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0;
  gap: 4px 8px;
}

.leadership-player-item > div > :where(strong, small) {
  min-width: 0;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item:hover,
html[data-color-mode="dark"] #leadershipPanel .leadership-player-item:focus-visible {
  border-color: #41c994;
  border-left-color: #41c994;
  background: #102b2c;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item b {
  color: #d8e7ee;
  border-color: #36566b;
  background: #12283a;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item.good {
  border-color: rgba(45, 224, 141, 0.42);
  border-left-color: #2de08d;
  background: #0a2b24;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item.good b {
  color: #72ebb4;
  border-color: rgba(45, 224, 141, 0.42);
  background: #10382d;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item.warn {
  border-color: rgba(248, 189, 72, 0.48);
  border-left-color: #f8bd48;
  background: #2b2416;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item.warn b {
  color: #ffd77c;
  border-color: rgba(248, 189, 72, 0.5);
  background: #3a2e17;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item.bad {
  border-color: rgba(255, 111, 117, 0.54);
  border-left-color: #ff6f75;
  background: #301923;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-player-item.bad b {
  color: #ffadb1;
  border-color: rgba(255, 111, 117, 0.54);
  background: #411d28;
}

/* A vezetoi allapotkartyak vilagos modban is ugyanazt a jelentest hordozzak. */
html[data-color-mode="light"] .leadership-player-item {
  color: #17283b;
  border: 1px solid #cbd9e2;
  border-left: 5px solid #4d87b2;
  background: #f7fafc;
}

html[data-color-mode="light"] .leadership-player-item b {
  color: #33546b;
  border-color: #bfd0db;
  background: #e9f0f4;
}

html[data-color-mode="light"] .leadership-player-item.good {
  border-color: #9fd9c0;
  border-left-color: #07845b;
  background: #edf9f3;
}

html[data-color-mode="light"] .leadership-player-item.good b {
  color: #076a4a;
  border-color: #9fd9c0;
  background: #dff5e9;
}

html[data-color-mode="light"] .leadership-player-item.warn {
  border-color: #ead18d;
  border-left-color: #c58a16;
  background: #fff8e7;
}

html[data-color-mode="light"] .leadership-player-item.warn b {
  color: #7b5400;
  border-color: #e6c66f;
  background: #ffefbf;
}

html[data-color-mode="light"] .leadership-player-item.bad {
  border-color: #edabb3;
  border-left-color: #d14a58;
  background: #fff0f2;
}

html[data-color-mode="light"] .leadership-player-item.bad b {
  color: #9f2d3a;
  border-color: #e89aa4;
  background: #fbdfe3;
}

/* Technikai adatbazisok: a feher kartyak es a lejarti negyedek sotet megfeleloi. */
html[data-color-mode="dark"] #leadershipPanel .technical-club-database-card {
  border-color: #274458;
  border-top-color: #2de08d;
  background: #0a1c2b;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-database-card.bad {
  border-top-color: #ff6f75;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-database-card.warn {
  border-top-color: #f8bd48;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-mark {
  color: #72ebb4;
  border-color: #2e6c56;
  background: #10382d;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-grid {
  border-color: #29485c;
  background: #0c2030;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric {
  color: #edf5f8;
  border-color: #29485c;
  background: #102536;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.good {
  color: #d9f8ea;
  background: #0d3027;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.warn {
  color: #ffe3a1;
  background: #352a16;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.bad {
  color: #ffd1d4;
  background: #3a1b25;
}

html[data-color-mode="dark"] #leadershipPanel .technical-departure-alert {
  color: #f3f8fa;
  border-color: rgba(255, 111, 117, 0.5);
  border-left-color: #ff6f75;
  background: #2f1922;
}

html[data-color-mode="dark"] #leadershipPanel .technical-departure-list > div {
  border-color: #56313a;
  background: #241722;
}

/* Minden fo modul azonos sotet premium alapot kap. */
html[data-color-mode="dark"] .workspace .home-global-panel {
  color: var(--theme-text);
  background: #071624;
}

html[data-color-mode="dark"] .workspace .home-global-panel > .data-hero {
  border: 1px solid #1d3a4d;
  border-left: 5px solid #20b979;
  background: linear-gradient(110deg, #0b2230, #091827 62%, #0d2b28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

html[data-color-mode="dark"] .workspace .home-global-panel > .data-hero :where(h2, h3, strong) {
  color: #f4f8fa;
}

html[data-color-mode="dark"] .workspace .home-global-panel > .data-hero :where(p, span, small) {
  color: #a9bac7;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-panel {
  color: #edf5f8;
  border-color: #29495e;
  background: #071725;
  box-shadow: 0 18px 42px rgba(0, 5, 12, 0.26);
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-toolbar {
  border-color: #29495e;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-toolbar strong {
  color: #f5fafb;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-toolbar span,
html[data-color-mode="dark"] #programCalendarPanel .program-calendar-actions label,
html[data-color-mode="dark"] #programCalendarPanel .program-calendar-privacy-note {
  color: #a8bbc6;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-actions select {
  color: #edf5f8;
  border-color: #31536a;
  background: #0a1e2d;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-privacy-note {
  border-color: rgba(69, 197, 143, 0.4);
  background: #0d3027;
}

html[data-color-mode="dark"] .workspace :where(
  .field-document-card,
  .field-document-item,
  .field-document-viewer,
  .training-material-card,
  .health-record-card,
  .message-workspace,
  .message-compose-panel
) {
  color: var(--theme-text);
  border-color: #1f3c50;
  background: #0a1b2a;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

html[data-color-mode="dark"] .workspace .field-document-upload {
  color: #dff7ed;
  border-color: #2f745a;
  background: #0d3027;
}

html[data-color-mode="dark"] .workspace .field-document-item.is-active {
  border-color: #3ac890;
  background: #102b2c;
  box-shadow: inset 4px 0 0 #2de08d;
}

html[data-color-mode="dark"] #coachesPanel > .coach-directory-switch button.is-active {
  border-color: #2d8d6c;
  color: #79e6b5;
  background: #10372c;
  box-shadow: inset 0 0 0 1px rgba(121, 230, 181, 0.08);
}

html[data-color-mode="dark"] #coachesPanel .coach-directory-head {
  border-color: #25475a;
}

html[data-color-mode="dark"] #coachesPanel .coach-directory-head span {
  color: #55d7a0 !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-directory-head strong {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-directory-head b {
  border-color: #3f826b;
  color: #c8f5df;
  background: #10372c;
}

html[data-color-mode="dark"] #coachesPanel .coach-management-item {
  border-color: #244357;
  border-left-color: #35c98e;
  color: #edf7f9;
  background: #0d2030;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

html[data-color-mode="dark"] #coachesPanel .coach-management-item:hover {
  border-color: #3b6f69;
  border-left-color: #67e2ad;
  background: #122a38;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

html[data-color-mode="dark"] #coachesPanel .coach-name-button,
html[data-color-mode="dark"] #coachesPanel .coach-name-button strong,
html[data-color-mode="dark"] #coachesPanel .coach-management-main > strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-name-button:hover strong,
html[data-color-mode="dark"] #coachesPanel .coach-name-button:focus-visible strong {
  color: #75e5b3 !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-name-button strong::after {
  border-color: #326b78;
  color: #91def0;
  background: #102f42;
}

html[data-color-mode="dark"] #coachesPanel .coach-management-main > span,
html[data-color-mode="dark"] #coachesPanel .coach-management-main > small {
  color: #a9bdc9 !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-contact-list {
  border-top: 1px solid rgba(72, 111, 132, 0.38);
}

html[data-color-mode="dark"] #coachesPanel .coach-contact-list a,
html[data-color-mode="dark"] #coachesPanel .coach-phone-link {
  color: #6dd8ec !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-contact-list a:hover,
html[data-color-mode="dark"] #coachesPanel .coach-contact-list a:focus-visible {
  color: #7aebb9 !important;
}

html[data-color-mode="dark"] #coachesPanel .coach-management-item > .small-delete {
  border-color: #814150;
  color: #ff9aa9;
  background: #351821;
}

html[data-color-mode="dark"] #coachesPanel .coach-management-item > .small-delete:hover,
html[data-color-mode="dark"] #coachesPanel .coach-management-item > .small-delete:focus-visible {
  border-color: #e25b70;
  color: #ffffff;
  background: #b72d43;
}

/* Egységes prémium modulréteg. Ezek a szabályok a régi, világos hátterű
   alkomponenseket is a kiválasztott témához igazítják. */
html[data-color-mode="dark"] .home-global-panel :where(
  .management-form,
  .management-item,
  .management-list,
  .technical-bulk-toolbar,
  .technical-excel-upload,
  .technical-bulk-table-wrap,
  .health-summary,
  .health-list,
  .training-toolbar,
  .training-summary,
  .training-list,
  .correction-booking-panel,
  .correction-calendar,
  .parent-payment-card,
  .parent-payment-history,
  .parent-report-card,
  .message-center,
  .message-sidebar,
  .message-thread,
  .message-compose-card,
  .technical-permission-panel,
  .technical-team-management,
  .president-dashboard-card,
  .contract-list-card,
  .contract-editor
) {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface) !important;
  box-shadow: none;
}

html[data-color-mode="dark"] .home-global-panel :where(
  .management-form,
  .technical-bulk-table-wrap,
  .health-summary,
  .training-toolbar,
  .correction-booking-panel,
  .parent-payment-card,
  .parent-report-card,
  .message-center,
  .technical-permission-panel,
  .technical-team-management,
  .president-dashboard-card,
  .contract-list-card
) {
  border-radius: 8px;
  box-shadow: var(--theme-shadow);
}

html[data-color-mode="dark"] .home-global-panel :where(
  .management-form,
  .technical-bulk-toolbar,
  .technical-excel-upload,
  .training-toolbar,
  .health-summary,
  .parent-portal-switch,
  .technical-player-mode-switch,
  .coach-mode-switch
) :where(h2, h3, h4, strong, label) {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] .home-global-panel :where(
  .management-form,
  .technical-bulk-toolbar,
  .technical-excel-upload,
  .training-toolbar,
  .health-summary,
  .parent-portal-switch,
  .technical-player-mode-switch,
  .coach-mode-switch
) :where(p, span, small) {
  color: #9fb3c1;
}

html[data-color-mode="dark"] .home-global-panel :where(
  .technical-bulk-entry-table,
  .technical-table,
  .export-table,
  .payment-table,
  .history-table
) {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: #081a29 !important;
}

html[data-color-mode="dark"] .home-global-panel :where(
  .technical-bulk-entry-table,
  .technical-table,
  .export-table,
  .payment-table,
  .history-table
) :where(thead, th) {
  color: #b8c8d3;
  border-color: #29475a;
  background: #102638 !important;
}

html[data-color-mode="dark"] .home-global-panel :where(
  .technical-bulk-entry-table,
  .technical-table,
  .export-table,
  .payment-table,
  .history-table
) :where(tbody, tr, td) {
  color: #e5eef3;
  border-color: #1e3a4c;
  background: #0a1d2c !important;
}

html[data-color-mode="dark"] .home-global-panel :where(
  .technical-bulk-entry-table,
  .technical-table,
  .export-table,
  .payment-table,
  .history-table
) tbody tr:nth-child(even) td {
  background: #0d2232 !important;
}

/* Scout: a folyamatkártyák és üres állapotok soha nem maradnak világosak. */
html[data-color-mode="dark"] #scoutPanel .scout-premium {
  color: var(--sp-ink);
  background: #030a13 !important;
}

html[data-color-mode="dark"] #scoutPanel .scout-premium :where(
  .scout-premium-panel,
  .scout-premium-workspace,
  .scout-premium-sidebar,
  .scout-premium-detail,
  .scout-premium-operation-tabs,
  .scout-premium-total,
  .scout-premium-empty
) {
  color: var(--sp-ink);
  border-color: var(--sp-line);
  background: var(--sp-surface) !important;
}

html[data-color-mode="dark"] #scoutPanel .scout-premium-pipeline > div,
html[data-color-mode="dark"] #scoutPanel .scout-premium-deadlines > button {
  color: var(--sp-ink);
  border-color: var(--sp-line-soft);
  background: var(--sp-surface-strong) !important;
}

html[data-color-mode="dark"] #scoutPanel .scout-premium :where(
  .scout-premium-panel-head h3,
  .scout-premium-pipeline strong,
  .scout-premium-empty strong
) {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] #scoutPanel .scout-premium :where(
  .scout-premium-panel-head p,
  .scout-premium-pipeline small,
  .scout-premium-empty span
) {
  color: #9fb3c1 !important;
}

/* A vezetői és technikai kártyák belső elemei is sötét felületet kapnak. */
html[data-color-mode="dark"] #leadershipPanel :where(
  .leadership-grid,
  .leadership-card-grid,
  .technical-club-database-grid,
  .technical-club-expiry-preview,
  .technical-expiry-list,
  .technical-club-card-footer,
  .technical-table-launcher,
  .technical-permission-list,
  .technical-permission-row
) {
  color: var(--theme-text);
  border-color: #213f52;
  background: #081927 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-club-expiry-head strong,
  .technical-expiry-list strong,
  .technical-club-card-footer,
  .technical-permission-row strong,
  .technical-team-card strong
) {
  color: #edf5f8 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-club-expiry-head span,
  .technical-expiry-list span,
  .technical-expiry-list small,
  .technical-club-card-footer > span,
  .technical-permission-row span,
  .technical-team-card span
) {
  color: #9fb3c1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-list > * {
  color: var(--theme-text);
  border-color: #29475a;
  background: #0d2232 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-clear-state {
  color: #bfeeda;
  border-color: rgba(45, 224, 141, 0.35);
  background: #0d3027 !important;
}

/* Az ortopédiai riport ugyanazt a mély, kontrasztos adatlaprendszert használja. */
html[data-color-mode="dark"] #playerDetail.player-profile-exact #orthopedicPanel :where(
  .player-exact-orthopedic-summary article,
  .player-premium-tracking-card,
  .player-exact-results-panel,
  .player-exact-correction-panel,
  .player-exact-fms-panel,
  .player-exact-step-panel,
  .player-exact-empty-panel
) {
  color: var(--player-text);
  border-color: var(--player-line);
  background: var(--player-surface) !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #orthopedicPanel :where(
  .player-exact-history-row,
  .player-exact-correction-item,
  .player-exact-step-grid > div,
  .player-exact-fms-list > div
) {
  color: var(--player-text);
  border-color: var(--player-line-soft);
  background: #091827 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #orthopedicPanel .player-exact-history-row:nth-child(odd) {
  background: #0c1d2c !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #orthopedicPanel .player-exact-history-row.is-head {
  background: #10263a !important;
}

/* A fo modulok minden belso munkafelulete ugyanazt a sotet komponensrendszert kapja. */
html[data-color-mode="dark"] :where(
  #healthPanel,
  #tasksPanel,
  #coachesPanel,
  #fieldsPanel,
  #trainingPanel,
  #dataPanel,
  #messagesPanel,
  #correctionsPanel,
  #parentCalendarPanel,
  #parentChildPanel,
  #parentPaymentsPanel
) :where(
  .section-card,
  .content-card,
  .summary-card,
  .panel-card,
  .data-card,
  .list-card,
  .form-card,
  .empty-state,
  .calendar-card,
  .calendar-shell,
  .message-card,
  .message-compose,
  .message-list,
  .correction-card,
  .payment-card,
  .training-card,
  .health-card,
  .field-card
) {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface) !important;
  box-shadow: var(--theme-shadow);
}

html[data-color-mode="dark"] :where(
  #healthPanel,
  #tasksPanel,
  #coachesPanel,
  #fieldsPanel,
  #trainingPanel,
  #dataPanel,
  #messagesPanel,
  #correctionsPanel,
  #parentCalendarPanel,
  #parentChildPanel,
  #parentPaymentsPanel
) :where(.empty-state, .muted-empty, .empty-copy, .placeholder-card) {
  color: var(--theme-muted) !important;
  border-color: var(--theme-line-strong) !important;
  background: var(--theme-surface-alt) !important;
}

html[data-color-mode="dark"] :where(input, select, textarea),
html[data-color-mode="dark"] .view-preview-control,
html[data-color-mode="dark"] .workspace :where(.ghost-action, .icon-action, .circle-action, .small-action),
html[data-color-mode="dark"] dialog :where(.ghost-action, .icon-action, .circle-action, .small-action) {
  color: var(--theme-text);
  border-color: var(--theme-line-strong);
  background: var(--theme-surface-alt);
}

html[data-color-mode="dark"] :where(input, select, textarea)::placeholder {
  color: #7f94a6;
  opacity: 1;
}

html[data-color-mode="dark"] :where(input, select, textarea):focus {
  border-color: #3cc88d;
  box-shadow: 0 0 0 3px rgba(45, 224, 141, 0.14);
}

html[data-color-mode="dark"] .workspace :where(.ghost-action, .icon-action, .circle-action, .small-action):hover,
html[data-color-mode="dark"] dialog :where(.ghost-action, .icon-action, .circle-action, .small-action):hover {
  color: #63e0ae;
  border-color: rgba(99, 224, 174, 0.46);
  background: #0d2b25;
}

html[data-color-mode="dark"] .tabs,
html[data-color-mode="dark"] .workspace :where(.tab-list, .segmented-control, .auth-mode-switch, .field-schedule-switch, .parent-portal-switch) {
  border-color: var(--theme-line);
  background: var(--theme-surface-alt);
}

html[data-color-mode="dark"] .workspace :where(.tab, [role="tab"]):not(.is-active) {
  color: var(--theme-muted);
  background: transparent;
}

html[data-color-mode="dark"] .workspace :where(.helper-text, .muted, .empty-copy, .table-note) {
  color: var(--theme-muted) !important;
}

/* Kezdolapi iranyitopult: a vilagos kartyaalapok sotet modban is kapjanak
   sajat feluletet, igy a tipografia nem olvad bele a hatterbe. */
html[data-color-mode="dark"] .workspace :where(
  .dashboard-club-switcher,
  .dashboard-club-choice,
  .dashboard-kpi,
  .dashboard-side-panel,
  .dashboard-team-card,
  .dashboard-team-browser-action,
  .home-player-card,
  .home-team-dashboard .highlight-player-item,
  .home-global-panel > .data-hero,
  .home-global-panel > .management-form,
  .home-global-panel > .leadership-card,
  .home-global-panel > .field-document-card,
  .home-global-panel > .training-toolbar
) {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface) !important;
  box-shadow: var(--theme-shadow);
}

html[data-color-mode="dark"] .workspace :where(
  .dashboard-club-choice-icon,
  .dashboard-kpi-icon,
  .dashboard-coverage-icon,
  .dashboard-activity-icon
) {
  border-color: var(--theme-line);
  background: var(--theme-surface-alt);
}

html[data-color-mode="dark"] .workspace :where(
  .dashboard-club-switcher-label,
  .dashboard-club-choice small,
  .dashboard-kpi span:not(.dashboard-kpi-icon),
  .dashboard-kpi small,
  .dashboard-section-head > span
) {
  color: var(--theme-muted);
}

html[data-color-mode="dark"] .workspace :where(
  .dashboard-club-choice:hover,
  .dashboard-club-choice.is-active,
  .dashboard-team-card:hover
) {
  border-color: rgba(69, 214, 154, 0.48);
  background: #0b3028 !important;
}

html[data-color-mode="dark"] .task-reminder-banner {
  color: #fff7dc;
  border-color: rgba(255, 191, 63, 0.48);
  border-left-color: #ffbf3f;
  background: linear-gradient(135deg, #2b210a, #1b1b15);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

html[data-color-mode="dark"] .task-reminder-head span,
html[data-color-mode="dark"] .task-reminder-due {
  color: #ffd36b;
}

html[data-color-mode="dark"] .task-reminder-head strong,
html[data-color-mode="dark"] .task-reminder-title {
  color: #fffaf0;
}

html[data-color-mode="dark"] .task-reminder-head small,
html[data-color-mode="dark"] .task-reminder-card small {
  color: #d9d2bd;
}

html[data-color-mode="dark"] .task-reminder-card,
html[data-color-mode="dark"] .task-reminder-card.task-type-motoric,
html[data-color-mode="dark"] .task-reminder-card.task-type-orthopedic,
html[data-color-mode="dark"] .task-reminder-card.task-type-classification,
html[data-color-mode="dark"] .task-reminder-card.task-type-report {
  color: var(--theme-text);
  border-color: var(--theme-line-strong);
  background: #102333;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

html[data-color-mode="dark"] .overlay,
html[data-color-mode="dark"] .dialog-backdrop,
html[data-color-mode="dark"] dialog::backdrop {
  background: var(--theme-overlay);
}

html[data-color-mode="dark"] .login-screen {
  background: linear-gradient(90deg, #020914 0 37%, var(--theme-canvas) 37% 100%) !important;
}

html[data-color-mode="dark"] .login-shell {
  border-color: var(--theme-line);
  background: var(--theme-surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
}

html[data-color-mode="dark"] .login-shell .login-card {
  color: var(--theme-text);
  background: var(--theme-surface);
}

html[data-color-mode="dark"] .login-shell .login-copy {
  border-color: #1e4d3d;
  background: #0b2721;
}

html[data-color-mode="dark"] .login-shell .login-copy::after {
  color: rgba(99, 224, 174, 0.07);
}

html[data-color-mode="dark"] .login-shell .auth-title-prefix {
  color: #63e0ae;
}

html[data-color-mode="dark"] .login-shell .auth-title-accent,
html[data-color-mode="dark"] .login-shell label,
html[data-color-mode="dark"] .login-shell h1,
html[data-color-mode="dark"] .login-shell h2,
html[data-color-mode="dark"] .login-shell strong {
  color: var(--theme-text);
}

html[data-color-mode="dark"] .login-shell .auth-mode-switch,
html[data-color-mode="dark"] .login-shell .parent-registration-child-card,
html[data-color-mode="dark"] .login-shell .login-status {
  color: var(--theme-text);
  border-color: var(--theme-line);
  background: var(--theme-surface-alt);
}

html[data-color-mode="dark"] .login-pwa-install.is-installed,
html[data-color-mode="dark"] .login-pwa-install:disabled {
  color: var(--theme-muted);
  border-color: var(--theme-line);
  background: var(--theme-surface-alt);
}

html[data-color-mode="dark"] .login-pwa-install.is-installed .login-pwa-install-copy small {
  color: var(--theme-muted);
}

/* Az allapotszinek sotet modban is azonos jelentest tartanak. */
html[data-color-mode="dark"] .workspace :where(.good, .is-good, .positive, .is-positive, .success) {
  border-color: rgba(45, 224, 141, 0.4);
  background-color: rgba(45, 224, 141, 0.1);
}

html[data-color-mode="dark"] .workspace :where(.warn, .is-warn, .average, .needs-focus) {
  border-color: rgba(248, 189, 72, 0.46);
  background-color: rgba(248, 189, 72, 0.1);
}

html[data-color-mode="dark"] .workspace :where(.bad, .negative, .is-negative, .danger, .expired) {
  border-color: rgba(255, 111, 117, 0.46);
  background-color: rgba(255, 111, 117, 0.1);
}

/* A sotet premium adatlapok vilagos parja. */
html[data-color-mode="light"] #playerDetail.player-premium {
  --player-page: #eef3f6;
  --player-surface: #ffffff;
  --player-surface-strong: #f6f9fb;
  --player-surface-soft: #eaf1f5;
  --player-line: #d5e1e8;
  --player-line-soft: rgba(55, 88, 111, 0.17);
  --player-text: #13263a;
  --player-muted: #627487;
  --player-green: #087a55;
  --player-green-strong: #066747;
  --player-blue: #2874d6;
  --player-cyan: #178f9a;
  --player-gold: #b7780c;
  --player-red: #c94352;
  --player-shadow: 0 18px 46px rgba(6, 23, 43, 0.11);
  color: var(--player-text);
  border-color: #cfdae2;
  background: linear-gradient(145deg, #f8fafb 0%, #eef3f6 58%, #f5f8fa 100%) !important;
}

html[data-color-mode="light"] #playerDetail.player-premium > .profile-header {
  border-color: var(--player-line);
  background: linear-gradient(120deg, #f4fbf8, #ffffff 52%, #eef6fa);
}

html[data-color-mode="light"] #playerDetail.player-premium > .profile-header::after {
  color: rgba(8, 122, 85, 0.055);
}

html[data-color-mode="light"] #playerDetail.player-premium .profile-photo {
  border-color: #b9d4c9;
  background: linear-gradient(145deg, #dceaf3, #e8f7ef);
  box-shadow: 0 14px 32px rgba(6, 23, 43, 0.12);
}

html[data-color-mode="light"] #playerDetail.player-premium .profile-meta .meta-pill {
  color: #53687b;
}

html[data-color-mode="light"] #playerDetail.player-premium .player-premium-hero-facts,
html[data-color-mode="light"] #playerDetail.player-premium > .tabs,
html[data-color-mode="light"] #playerDetail.player-premium :where(
  .info-block,
  .insight-panel,
  .local-data-card,
  .measurement-type-card,
  .measurement-entry-block,
  .report-panel,
  .chart-card,
  .reference-compare-card,
  .classification-summary,
  .classification-category-card,
  .player-premium-data-panel,
  .player-premium-insight-band,
  .player-premium-kpi,
  .player-exact-results-panel,
  .player-exact-trend-panel,
  .player-exact-reference-panel,
  .player-exact-fms-panel,
  .player-exact-step-panel,
  .player-exact-correction-panel,
  .player-exact-empty-panel,
  .player-exact-classification-tracking,
  .motoric-trend-card,
  .metric-trend-card,
  .orthopedic-profile-section
) {
  color: var(--player-text);
  border-color: var(--player-line);
  background: var(--player-surface) !important;
  box-shadow: none;
}

html[data-color-mode="light"] #playerDetail.player-premium :where(
  [class$="-row"],
  [class*="-row "],
  [class$="-item"],
  [class*="-item "],
  [class$="-tile"],
  [class*="-tile "]
) {
  border-color: var(--player-line);
}

html[data-color-mode="light"] #playerDetail.player-premium :where(
  .player-exact-history-row,
  .player-exact-reference-row,
  .classification-detail-row,
  .reference-values-row,
  .history-list > *,
  tr,
  td,
  th
) {
  color: var(--player-text);
  border-color: var(--player-line);
  background-color: var(--player-surface) !important;
}

html[data-color-mode="light"] #playerDetail.player-profile-exact #orthopedicPanel :where(
  .player-exact-correction-panel,
  .player-exact-fms-panel,
  .player-exact-step-panel
) > header {
  color: var(--player-text);
  border-color: var(--player-line);
  background: var(--player-surface-soft) !important;
}

html[data-color-mode="light"] #playerDetail.player-profile-exact #orthopedicPanel :where(
  .player-exact-correction-item,
  .player-exact-fms-list > div,
  .player-exact-step-grid > div
) {
  color: var(--player-text);
  border-color: var(--player-line);
  background: var(--player-surface-strong) !important;
}

html[data-color-mode="light"] #playerDetail.player-profile-exact #orthopedicPanel .player-exact-fms-score {
  color: var(--player-text);
  border-color: #9fd9c0;
  background: #e9f8f1 !important;
}

html[data-color-mode="light"] #playerDetail.player-profile-exact #orthopedicPanel .player-exact-correction-item > b,
html[data-color-mode="light"] #playerDetail.player-profile-exact #orthopedicPanel .player-exact-fms-list b {
  color: #33546b;
  border-color: #bfd0db;
  background: #e7eef3;
}

html[data-color-mode="light"] #playerDetail.player-premium :where(thead, th, .is-head, .table-head) {
  background-color: var(--player-surface-soft) !important;
}

html[data-color-mode="light"] #playerDetail.player-premium :where(p, span, small, dt, li) {
  color: var(--player-muted);
}

html[data-color-mode="light"] #playerDetail.player-premium :where(h2, h3, h4, h5, strong, b, dd) {
  color: var(--player-text);
}

html[data-color-mode="light"] #playerDetail.player-premium :where(input, select, textarea, .ghost-action) {
  color: var(--player-text);
  border-color: var(--player-line);
  background: var(--player-surface-strong) !important;
}

html[data-color-mode="light"] #playerDetail.player-premium :where(.good, .is-good, .positive, .is-positive) {
  color: #08704f;
  border-color: #9fd9c0;
  background-color: #e1f7ed !important;
}

html[data-color-mode="light"] #playerDetail.player-premium :where(.warn, .is-warn, .average, .needs-focus) {
  color: #875a00;
  border-color: #ecd080;
  background-color: #fff3d2 !important;
}

html[data-color-mode="light"] #playerDetail.player-premium :where(.bad, .negative, .is-negative, .danger) {
  color: #a6313e;
  border-color: #edabb3;
  background-color: #fde9ec !important;
}

html[data-color-mode="light"] #playerDetail.player-premium svg :where(.chart-grid, .grid-line, .chart-axis) {
  stroke: #cbd8e1;
}

html[data-color-mode="light"] .scout-premium {
  --sp-page: #eef3f6;
  --sp-surface: #ffffff;
  --sp-surface-strong: #f5f8fa;
  --sp-surface-soft: #eaf1f5;
  --sp-line: #d5e1e8;
  --sp-line-soft: #e2e9ee;
  --sp-ink: #13263a;
  --sp-muted: #627487;
  --sp-green: #087a55;
  --sp-green-strong: #066747;
  --sp-green-soft: #e1f7ed;
  --sp-cyan: #178f9a;
  --sp-cyan-soft: #e4f5f7;
  --sp-gold: #b7780c;
  --sp-gold-soft: #fff3d2;
  --sp-red: #c94352;
  --sp-red-soft: #fde9ec;
  color: var(--sp-ink);
  background: var(--sp-page);
}

html[data-color-mode="light"] .scout-premium-topbar {
  border-color: var(--sp-line);
  background: rgba(255, 255, 255, 0.94);
}

html[data-color-mode="light"] .scout-premium :where(
  [class$="-panel"],
  [class*="-panel "],
  [class$="-card"],
  [class*="-card "],
  [class$="-table"],
  [class*="-table "],
  [class$="-row"],
  [class*="-row "],
  [class$="-item"],
  [class*="-item "],
  [class$="-form"],
  [class*="-form "]
) {
  color: var(--sp-ink);
  border-color: var(--sp-line);
  background-color: var(--sp-surface) !important;
}

html[data-color-mode="light"] .scout-premium :where(input, select, textarea, .scout-premium-secondary, .view-date) {
  color: var(--sp-ink);
  border-color: var(--sp-line);
  background: var(--sp-surface-strong) !important;
}

html[data-color-mode="light"] .scout-premium :where(p, span, small, dt, li) {
  color: var(--sp-muted);
}

html[data-color-mode="light"] .scout-premium :where(h1, h2, h3, h4, strong, b, dd) {
  color: var(--sp-ink);
}

html[data-color-mode="light"] #scoutPanel .scout-premium-pipeline > div,
html[data-color-mode="light"] #scoutPanel .scout-premium-deadlines > button {
  border-color: var(--sp-line-soft);
  background: var(--sp-surface-strong) !important;
  box-shadow: 0 7px 20px rgba(19, 38, 58, 0.055);
}

html[data-color-mode="light"] #scoutPanel .scout-premium-deadlines > .scout-premium-empty {
  border-color: #bfdccc;
  background: #f4fbf7 !important;
}

html[data-color-mode="light"] #scoutPanel .scout-premium-deadlines > .scout-premium-empty > svg {
  color: var(--sp-green);
  border-color: #b7dec9;
  background: var(--sp-green-soft);
}

html[data-color-mode="light"] .scout-premium-operation-tabs {
  border-color: var(--sp-line);
  background: #ffffff;
}

html[data-color-mode="light"] .scout-premium-operation-tabs button {
  color: #52677a;
}

html[data-color-mode="light"] .scout-premium-operation-tabs button:hover {
  color: var(--sp-ink);
  background: #f2f6f8;
}

html[data-color-mode="light"] .scout-premium-operation-tabs button.is-active {
  color: #066747;
  border-color: #9fd9c0;
  background: var(--sp-green-soft);
}

html[data-color-mode="light"] .scout-premium-total {
  border-color: #9fd9c0;
  border-left-color: var(--sp-green);
  background: #eefaf4;
}

html[data-color-mode="light"] .scout-premium-workspace-detail > .scout-premium-empty {
  border-color: #cbdce5;
  background: #f7faf9;
}

html[data-color-mode="light"] .scout-premium :where(.good, .is-good, .positive, .is-positive) {
  color: #08704f;
  border-color: #9fd9c0;
  background-color: var(--sp-green-soft) !important;
}

html[data-color-mode="light"] .scout-premium :where(.warn, .is-warn, .average, .needs-focus) {
  color: #875a00;
  border-color: #ecd080;
  background-color: var(--sp-gold-soft) !important;
}

html[data-color-mode="light"] .scout-premium :where(.bad, .negative, .is-negative, .danger) {
  color: #a6313e;
  border-color: #edabb3;
  background-color: var(--sp-red-soft) !important;
}

/* Scout: a korabban sotet alappal erkezo, beagyazott reszek vilagos nezete. */
html[data-color-mode="light"] .scout-premium :where(
  .scout-premium-player-hero .player-facts,
  .scout-premium-selected-card dl,
  .scout-analytics-controls,
  .scout-form-section,
  .scout-transfer-route,
  .scout-calculation-preview,
  .scout-evaluation-section,
  .scout-evaluation-grid > label,
  .scout-outgoing-calculator-helper,
  .scout-premium-transfer-route > div:not(.receiver)
) {
  color: var(--sp-ink);
  border-color: var(--sp-line);
  background: var(--sp-surface-strong) !important;
}

html[data-color-mode="light"] .scout-premium .scout-compensation-section {
  border-color: #b8dbc8;
  background: linear-gradient(135deg, #effaf4, #f8fbfc) !important;
}

html[data-color-mode="light"] .scout-premium .scout-premium-category[open] > summary {
  color: #066747;
  border-color: #9fd9c0;
  background: var(--sp-green-soft);
}

html[data-color-mode="light"] .scout-premium-player-hero .player-meta :where(span, b),
html[data-color-mode="light"] .scout-premium-insight .quality-column li {
  color: var(--sp-ink) !important;
}

html[data-color-mode="light"] .scout-premium .scout-premium-info {
  color: #087a55;
  border-color: #a7d2c0;
  background: #eef9f4;
}

html[data-color-mode="light"] .scout-premium .scout-premium-info::after {
  color: var(--sp-ink);
  border-color: var(--sp-line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(19, 38, 58, 0.16);
}

html[data-color-mode="light"] .scout-premium .scout-premium-radar :where(.radar-ring, .radar-axis) {
  stroke: #bfced8;
}

html[data-color-mode="light"] .scout-premium .scout-premium-radar .radar-reference {
  fill: rgba(92, 118, 137, 0.12);
  stroke: #718696;
}

html[data-color-mode="light"] .scout-premium .scout-premium-radar text {
  fill: #3e5669;
}

html[data-color-mode="light"] .scout-premium .scout-form .danger-action {
  color: #a6313e;
  border-color: #e6afb7;
  background: #fff2f3;
}

html[data-color-mode="light"] .scout-premium .scout-form input::placeholder {
  color: #687d8e;
}

/* Motorikus meresek: a sotet meresnezet minden szovege es grafikonja kontrasztos marad. */
html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel :where(
  .player-exact-trend-panel,
  .player-exact-results-panel,
  .player-exact-metric-trend,
  .motoric-trend-controls,
  .player-exact-trend-dates,
  .player-exact-trend-caption > span
) {
  color: #eff6f8;
  border-color: #29485d;
  background: #091a29 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel .player-exact-metric-trend {
  background: #0b2031 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel :where(
  .motoric-trend-controls,
  .player-exact-trend-dates,
  .player-exact-trend-caption > span
) {
  background: #071725 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel :where(
  .chart-card-head p,
  .motoric-trend-controls label,
  .motoric-trend-controls label span,
  .player-exact-trend-caption,
  .player-exact-metric-trend footer span,
  .player-exact-results-scroll .report-results-row > span:not(.report-rating):not(.change-text)
) {
  color: #b8cad5 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel :where(
  .chart-card-head h4,
  .player-exact-metric-trend header > span,
  .player-exact-metric-trend header strong,
  .player-exact-results-scroll .report-results-row > strong,
  .player-exact-results-scroll .report-results-date-cell time
) {
  color: #f0f7f9 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel .player-exact-metric-trend circle {
  fill: #0b2031;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel .player-exact-results-scroll .report-results-head {
  color: #c7d8e2;
  border-color: #29485d;
  background: #112b40 !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel .player-exact-results-scroll .report-results-row:nth-child(odd) {
  background: #091b2a !important;
}

html[data-color-mode="dark"] #playerDetail.player-profile-exact #motoricPanel .player-exact-results-scroll .report-results-row:nth-child(even) {
  background: #0c2233 !important;
}

/* Uzenetek: teljes, kontrasztos sotet felulet. */
html[data-color-mode="dark"] #messagesPanel {
  color: #edf5f8;
  background: #071624 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-workspace {
  color: #edf5f8;
  background: transparent;
  box-shadow: none;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-page-head,
  .message-conversation-head,
  .message-compose-panel > header,
  .message-group-manager > header,
  .message-group-editor-head,
  .message-group-editor-actions,
  .message-group-editor-members,
  .message-personal-groups,
  .message-reply-form,
  .message-announcement-note
) {
  border-color: #244357 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-page-icon {
  color: #67e2ad;
  background: #0d3027;
  box-shadow: inset 0 0 0 1px #2e7058;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-page-title h3,
  .message-compose-panel h4,
  .message-conversation-head h4,
  .message-group-manager h4,
  .message-group-editor-head h5,
  .message-list-empty strong,
  .message-empty-detail strong
) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-page-title .eyebrow,
  .message-compose-panel .eyebrow,
  .message-group-manager .eyebrow,
  .message-group-editor-head .eyebrow
) {
  color: #55d7a0 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-mode-badge {
  color: #a9bdc9;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #messagesPanel .message-mode-badge.online {
  color: #8cf0c0;
  border-color: #34785f;
  background: #0d3027;
}

html[data-color-mode="dark"] #messagesPanel .message-mode-badge.warning {
  color: #f3cb72;
  border-color: #765d28;
  background: #342914;
}

html[data-color-mode="dark"] #messagesPanel .message-mode-badge:is(.preview, .loading) {
  color: #92d2ff;
  border-color: #315b84;
  background: #102844;
}

html[data-color-mode="dark"] #messagesPanel .message-summary-row {
  border-color: #244357;
  background: #244357;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

html[data-color-mode="dark"] #messagesPanel .message-summary-row > div {
  background: #0a1d2c;
}

html[data-color-mode="dark"] #messagesPanel .message-summary-row span {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-summary-row strong {
  color: #f4f9fb !important;
}

html[data-color-mode="dark"] #messagesPanel .message-layout {
  color: #edf5f8;
  border-color: #244357;
  background: #091827;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

html[data-color-mode="dark"] #messagesPanel .message-thread-panel {
  border-color: #244357;
  background: #081725;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-detail-panel,
  .message-compose-panel,
  .message-group-manager,
  .message-conversation
) {
  color: #edf5f8;
  background: #091827 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-folder-nav button {
  color: #a9bdc9;
}

html[data-color-mode="dark"] #messagesPanel .message-folder-nav button:hover,
html[data-color-mode="dark"] #messagesPanel .message-folder-nav button:focus-visible {
  color: #f5fafb;
  background: #102638;
}

html[data-color-mode="dark"] #messagesPanel .message-folder-nav button.is-active {
  color: #75e5b3;
  background: #0d3027;
  box-shadow: inset 3px 0 0 #35d38f;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-search input,
  .message-compose-form input,
  .message-compose-form select,
  .message-compose-form textarea,
  .message-reply-form textarea,
  .message-group-editor-name input,
  .message-group-editor .message-recipient-search input,
  .message-compose-form .message-recipient-search input
) {
  color: #f1f7f9;
  border-color: #315269;
  background: #0d2232 !important;
}

html[data-color-mode="dark"] #messagesPanel :where(input, textarea)::placeholder {
  color: #7f98aa;
  opacity: 1;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-search input,
  .message-compose-form input,
  .message-compose-form select,
  .message-compose-form textarea,
  .message-reply-form textarea,
  .message-group-editor-name input,
  .message-recipient-search input
):focus {
  outline: 3px solid rgba(53, 211, 143, 0.16);
  border-color: #4bc895;
  background: #10293a !important;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-list {
  border-color: #244357;
  scrollbar-color: #356078 #081725;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-row {
  color: #edf5f8;
  border-color: #1f3c50;
  background: transparent;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-row:hover,
html[data-color-mode="dark"] #messagesPanel .message-thread-row:focus-visible {
  background: #102638;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-row.is-active {
  background: #102b2c;
  box-shadow: inset 3px 0 0 #35d38f;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-row.is-unread .message-thread-copy strong,
html[data-color-mode="dark"] #messagesPanel .message-thread-title strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-title time {
  color: #8fa6b6 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-copy small {
  color: #66dda9 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-copy > span:last-child,
html[data-color-mode="dark"] #messagesPanel :where(.message-list-empty, .message-empty-detail) {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel :where(.message-thread-icon, .message-group-manager-icon) {
  color: #72e6b3;
  background: #0d3027;
  box-shadow: inset 0 0 0 1px #2e7058;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-row.is-kind-team_space .message-thread-icon {
  background: #103744;
  box-shadow: inset 0 0 0 1px #26778a;
  color: #88e7f4;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-kind {
  color: #82dcff !important;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-unread {
  background: #6fc8ff;
  box-shadow: 0 0 0 3px rgba(111, 200, 255, 0.13);
}

html[data-color-mode="dark"] #messagesPanel .message-stream {
  background: linear-gradient(180deg, #071624 0%, #091827 100%);
  scrollbar-color: #356078 #071624;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble {
  color: #edf5f8;
  border-color: #2b4b61;
  background: #102438;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

html[data-color-mode="dark"] #messagesPanel .message-bubble.is-own {
  border-color: #34785f;
  background: #0d3027;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble header strong {
  color: #73e6b3 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble header time {
  color: #91a9b8 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble p {
  color: #edf5f8 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble-actions {
  border-top-color: #2b4b61;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble-action {
  color: #b7cad6;
  border-color: #315269;
  background: #0b1e2e;
}

html[data-color-mode="dark"] #messagesPanel .message-bubble-action:hover,
html[data-color-mode="dark"] #messagesPanel .message-bubble-action:focus-visible,
html[data-color-mode="dark"] #messagesPanel .message-bubble-action.is-liked {
  color: #72e6b3;
  border-color: #34785f;
  background: #0d3027;
}

html[data-color-mode="dark"] #messagesPanel .message-compose-recipient-note {
  color: #c1d8e5;
  border-color: #315269;
  border-left-color: #55b6ec;
  background: #0b2233;
}

html[data-color-mode="dark"] #messagesPanel .message-compose-recipient-note svg,
html[data-color-mode="dark"] #messagesPanel .message-compose-recipient-note strong {
  color: #70c8f5;
}

html[data-color-mode="dark"] #messagesPanel .message-reply-form {
  background: #0a1b2a;
}

html[data-color-mode="dark"] #messagesPanel .message-announcement-note {
  color: #a9bdc9;
  background: #0d2232;
}

html[data-color-mode="dark"] #messagesPanel .message-conversation-avatar {
  color: #071624;
  background: #58dda6;
}

html[data-color-mode="dark"] #messagesPanel .message-conversation-head span:not(.message-conversation-avatar),
html[data-color-mode="dark"] #messagesPanel .message-compose-form label {
  color: #a9bdc9 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-delete {
  color: #ff91a2;
}

html[data-color-mode="dark"] #messagesPanel .message-thread-delete:hover,
html[data-color-mode="dark"] #messagesPanel .message-thread-delete:focus-visible {
  color: #ffffff;
  border-color: #b84a5e;
  background: #82283a;
}

html[data-color-mode="dark"] #messagesPanel .message-group-manager-intro {
  color: #dff8ec;
  border-color: #34785f;
  border-left-color: #35d38f;
  background: #0d3027;
}

html[data-color-mode="dark"] #messagesPanel .message-group-manager-intro > span {
  color: #72e6b3;
  background: #123e31;
}

html[data-color-mode="dark"] #messagesPanel .message-group-manager-intro strong,
html[data-color-mode="dark"] #messagesPanel .message-group-manager-list article strong {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] #messagesPanel .message-group-manager-intro p,
html[data-color-mode="dark"] #messagesPanel .message-group-manager-list article small,
html[data-color-mode="dark"] #messagesPanel .message-group-manager-empty {
  color: #a9bdc9 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-group-preview-note {
  color: #9bd7ff;
  border-color: #315b84;
  background: #102844;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-group-manager-list article,
  .message-group-manager-empty
) {
  color: #edf5f8;
  border-color: #2b4b61;
  background: #0d2232;
}

html[data-color-mode="dark"] #messagesPanel .message-group-editor {
  color: #edf5f8;
  border-color: #2b4b61;
  background: #0a1d2c;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

html[data-color-mode="dark"] #messagesPanel .message-group-editor-name,
html[data-color-mode="dark"] #messagesPanel .message-recipient-picker legend {
  color: #dce8ed;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-group-editor-name small,
  .message-recipient-picker legend small,
  .message-recipient-status small,
  .message-personal-groups > header small,
  .message-personal-group-empty,
  .message-group-name-help,
  .message-group-create-shell > div small,
  .message-file-field small
) {
  color: #93a9b8 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-scopes {
  border-color: #2b4b61;
  background: #0d2232;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-scopes button {
  color: #a9bdc9;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-scopes button:hover {
  color: #7be8b7;
  background: #12352d;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-scopes button[aria-pressed="true"] {
  color: #80eabb;
  border-color: #3a8c6d;
  background: #0d3027;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups {
  color: #edf5f8;
  border-color: #2b4b61;
  background: #0b1c2b;
  scrollbar-color: #356078 #0b1c2b;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups section + section {
  border-color: #244357;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups section > strong {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups label {
  color: #edf5f8;
  border-color: #2b4b61;
  background: #102438;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups label:has(input:checked) {
  border-color: #3a8c6d;
  background: #0d3027;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups label b {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-groups label small {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-control {
  color: #edf5f8;
  border-color: #315269;
  background: #0b1c2b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-placeholder {
  color: #91a8b8;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-chip {
  color: #bdf4da;
  border-color: #3a8c6d;
  background: #12382e;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-chip small {
  color: #8fcbb1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-chip button {
  color: #8ce9ba;
  background: #1a4a3a;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-chip button:hover {
  color: #071624;
  background: #6ee6b4;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions {
  color: #edf5f8;
  border-color: #315269;
  background: #0d2232;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  scrollbar-color: #3b6279 #0d2232;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions button {
  color: #edf5f8;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions button:hover,
html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions button:focus-visible {
  background: #12372f;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions strong {
  color: #f4f9fb !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions small,
html[data-color-mode="dark"] #messagesPanel .message-recipient-no-result {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestions button > svg,
html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestion-icon {
  color: #73e6b3;
}

html[data-color-mode="dark"] #messagesPanel .message-recipient-suggestion-icon {
  background: #12382e;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-groups > header strong,
html[data-color-mode="dark"] #messagesPanel .message-group-create-shell > div strong {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-heading b {
  color: #7ce8b6;
  border-color: #3a8c6d;
  background: #12382e;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-personal-group-list article,
  .message-group-create-shell,
  .message-file-field
) {
  color: #edf5f8;
  border-color: #2b4b61;
  background: #0d2232;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list article > button:first-child {
  color: #edf5f8;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list article > button:first-child:hover {
  background: #12372f;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list article > button:first-child > svg {
  color: #72e6b3;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list strong {
  color: #f4f9fb !important;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list small {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list article > button:last-child {
  color: #ff91a2;
  border-color: #56313a;
  background: #361923;
}

html[data-color-mode="dark"] #messagesPanel .message-personal-group-list article > button:last-child:hover {
  color: #ffffff;
  background: #b83248;
}

html[data-color-mode="dark"] #messagesPanel .message-file-field {
  border-style: dashed;
}

html[data-color-mode="dark"] #messagesPanel .message-file-field > span {
  color: #8fd8f5;
}

html[data-color-mode="dark"] #messagesPanel .message-attachment-card {
  color: #edf5f8;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #messagesPanel .message-attachment-card:hover {
  border-color: #45c58f;
  background: #12352d;
}

html[data-color-mode="dark"] #messagesPanel .message-attachment-card > span:first-child {
  color: #75e5b3;
  background: #12382e;
}

html[data-color-mode="dark"] #messagesPanel .message-attachment-card strong {
  color: #f4f9fb !important;
}

html[data-color-mode="dark"] #messagesPanel .message-attachment-card small {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #messagesPanel .message-reply-attachment {
  color: #8fd8f5;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #messagesPanel .message-reply-attachment:hover {
  color: #7ce8b6;
  border-color: #3a8c6d;
  background: #12372f;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-page-actions .message-groups-action,
  .message-form-actions .ghost-action,
  .message-group-editor-actions .ghost-action,
  .message-mobile-back
) {
  color: #c2d1da;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #messagesPanel :where(
  .message-page-actions .message-groups-action,
  .message-form-actions .ghost-action,
  .message-group-editor-actions .ghost-action,
  .message-mobile-back
):hover {
  color: #ffffff;
  border-color: #3e6b82;
  background: #163047;
}

/* Korrekcios foglalkozasok: teljes, kontrasztos sotet felulet. */
html[data-color-mode="dark"] #correctionsPanel {
  color: #edf5f8;
}

html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-type-section,
  .correction-selected-type,
  .correction-calendar-card,
  .correction-manager-detail,
  .correction-session-section,
  .correction-session-form
) {
  color: #edf5f8;
  border-color: #244357;
  background: #091827 !important;
  box-shadow: 0 18px 44px rgba(0, 7, 15, 0.3);
}

html[data-color-mode="dark"] #correctionsPanel .correction-hero {
  color: #edf5f8;
  border-color: #244357;
  background: #091827 !important;
}

html[data-color-mode="dark"] #correctionsPanel .correction-hero .data-hero-logo,
html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-type-icon,
  .correction-manager-detail-icon
) {
  color: #67e2ad;
  border-color: #2b7057;
  background: #10382d;
}

html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-hero h3,
  .correction-type-section h4,
  .correction-selected-type h4,
  .correction-calendar-head strong,
  .correction-manager-detail h4,
  .correction-session-section h4,
  .correction-session-card h4,
  .correction-manager-roster > strong,
  .correction-participant-list > strong,
  .correction-player-bookings strong
) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-hero > div:nth-child(2) > span,
  .correction-type-section .section-heading span,
  .correction-selected-type > div > span,
  .correction-calendar-help,
  .correction-manager-detail.is-empty p,
  .correction-manager-detail > header span,
  .correction-manager-roster li small,
  .correction-manager-roster > p,
  .correction-session-section .section-heading > span,
  .correction-session-meta span,
  .correction-session-note,
  .correction-session-actions,
  .muted-empty
) {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #correctionsPanel .eyebrow {
  color: #67e2ad !important;
}

html[data-color-mode="dark"] #correctionsPanel .correction-type-card {
  color: #edf5f8;
  border-color: #29495e;
  background: #0d2232;
}

html[data-color-mode="dark"] #correctionsPanel .correction-type-card:hover,
html[data-color-mode="dark"] #correctionsPanel .correction-type-card:focus-visible {
  border-color: #45c58f;
  background: #12352d;
  box-shadow: 0 12px 28px rgba(0, 7, 15, 0.3);
}

html[data-color-mode="dark"] #correctionsPanel .correction-type-copy strong {
  color: #f4f9fb;
}

html[data-color-mode="dark"] #correctionsPanel .correction-type-copy small,
html[data-color-mode="dark"] #correctionsPanel .correction-type-availability small {
  color: #9eb2c1;
}

html[data-color-mode="dark"] #correctionsPanel .correction-type-availability {
  color: #67e2ad;
}

html[data-color-mode="dark"] #correctionsPanel .correction-type-availability.is-empty {
  color: #f3cb72;
}

html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-selected-type > .ghost-action,
  .correction-manager-actions .ghost-action,
  .correction-session-actions .ghost-action,
  .correction-player-bookings .ghost-action,
  .correction-calendar-head .icon-action,
  .correction-manager-detail .circle-action
) {
  color: #c2d1da;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-selected-type > .ghost-action,
  .correction-manager-actions .ghost-action,
  .correction-session-actions .ghost-action,
  .correction-player-bookings .ghost-action,
  .correction-calendar-head .icon-action,
  .correction-manager-detail .circle-action
):hover {
  color: #ffffff;
  border-color: #3e6b82;
  background: #163047;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-weekdays b {
  color: #9fb4c2;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day {
  color: #d8e5eb;
  border-color: #29495e;
  background: #0d2232;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day > strong {
  color: #dce8ed;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day > em {
  color: #9eb2c1;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day.is-muted {
  opacity: 0.38;
  background: #081623;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day.has-session {
  border-color: #347c63;
  background: #0d2d27;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day.is-manager-day:hover,
html[data-color-mode="dark"] #correctionsPanel .correction-calendar-day.is-manager-day:focus-visible {
  border-color: #67e2ad;
  box-shadow: inset 0 0 0 1px #67e2ad;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-session-chip {
  color: #c9f6e1;
  border-left-color: #35d38f;
  background: #134638;
}

html[data-color-mode="dark"] #correctionsPanel .correction-calendar-session-chip:hover,
html[data-color-mode="dark"] #correctionsPanel .correction-calendar-session-chip:focus-visible {
  color: #ffffff;
  background: #195943;
  outline-color: rgba(103, 226, 173, 0.44);
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-detail > header,
html[data-color-mode="dark"] #correctionsPanel :where(
  .correction-manager-actions,
  .correction-participant-list,
  .correction-player-bookings,
  .correction-session-actions
) {
  border-color: #29495e;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-capacity span {
  color: #b5c7d1;
  border-color: #2b5748;
  background: #0d2d27;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-capacity strong {
  color: #67e2ad;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-roster li,
html[data-color-mode="dark"] #correctionsPanel .correction-player-bookings > div {
  color: #edf5f8;
  border-color: #29495e;
  background: #0d2232;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-roster li > span {
  color: #bff5dc;
  background: #134638;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-roster li strong,
html[data-color-mode="dark"] #correctionsPanel .correction-player-bookings > div > span {
  color: #edf5f8;
}

html[data-color-mode="dark"] #correctionsPanel .correction-session-card {
  color: #edf5f8;
  border-color: #29495e;
  border-left-color: #35d38f;
  background: #0d2232;
}

html[data-color-mode="dark"] #correctionsPanel .correction-session-card.is-full {
  border-left-color: #e3b84e;
}

html[data-color-mode="dark"] #correctionsPanel .correction-session-card.is-past {
  opacity: 0.68;
}

html[data-color-mode="dark"] #correctionsPanel .correction-capacity-badge {
  color: #9df0c9;
  border-color: #347c63;
  background: #12382e;
}

html[data-color-mode="dark"] #correctionsPanel .correction-capacity-badge.is-full {
  color: #f6d986;
  border-color: #7b6430;
  background: #382f1a;
}

html[data-color-mode="dark"] #correctionsPanel .correction-participant-list span {
  color: #bff5dc;
  border: 1px solid #2f7059;
  background: #12382e;
}

html[data-color-mode="dark"] #correctionsPanel .correction-player-bookings .is-booked {
  color: #8ceabf;
  border-color: #3a8c6d;
  background: #12372f;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-actions .danger-action {
  color: #ff9aaa;
  border-color: #713846;
  background: #351821;
}

html[data-color-mode="dark"] #correctionsPanel .correction-manager-actions .danger-action:hover {
  color: #ffffff;
  border-color: #dd596e;
  background: #b72d43;
}

html[data-color-mode="dark"] #correctionSessionDialog::backdrop {
  background: rgba(1, 9, 17, 0.78);
  backdrop-filter: blur(5px);
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card {
  color: #edf5f8;
  border-color: #29495e;
  background: #091827;
  box-shadow: 0 26px 70px rgba(0, 5, 12, 0.58);
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card :where(
  label,
  h3,
  legend,
  .coach-repeat-weekdays > span
) {
  color: #f1f7fa !important;
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card :where(
  .dialog-subtitle,
  .dialog-form-note
) {
  color: #9eb2c1 !important;
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card .eyebrow {
  color: #67e2ad !important;
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card :where(
  input:not([type="checkbox"]),
  select,
  textarea
) {
  color: #edf5f8;
  border-color: #315269;
  background: #0d2232;
  color-scheme: dark;
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card :where(
  input,
  textarea
)::placeholder {
  color: #7890a0;
}

html[data-color-mode="dark"] #correctionSessionDialog .correction-session-dialog-card :where(
  input:not([type="checkbox"]),
  select,
  textarea
):focus {
  border-color: #45c58f;
  box-shadow: 0 0 0 3px rgba(69, 197, 143, 0.2);
}

html[data-color-mode="dark"] #correctionSessionDialog :where(
  .coach-program-repeat,
  .coach-repeat-options
) {
  color: #edf5f8;
  border-color: #29495e;
  background: #0b1e2d;
}

html[data-color-mode="dark"] #correctionSessionDialog .coach-repeat-weekdays label {
  color: #c7d6de;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #correctionSessionDialog .coach-repeat-weekdays label:has(input:checked) {
  color: #c9f6e1;
  border-color: #45c58f;
  background: #12382e;
}

html[data-color-mode="dark"] #correctionSessionDialog :where(
  .circle-action,
  .ghost-action
) {
  color: #c2d1da;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #correctionSessionDialog :where(
  .circle-action,
  .ghost-action
):hover {
  color: #ffffff;
  border-color: #3e6b82;
  background: #163047;
}

html[data-color-mode="dark"] #sportMedicalPanel {
  color: #edf5f8;
  border-color: #29495e;
  background: #091827;
}

html[data-color-mode="dark"] #sportMedicalPanel :where(
  .sport-medical-hero h3,
  .sport-medical-booking-roster > strong,
  .sport-medical-session-card h4,
  .sport-medical-booking-roster li,
  .sport-medical-player-bookings > div
) {
  color: #edf5f8;
}

html[data-color-mode="dark"] #sportMedicalPanel :where(
  .sport-medical-hero > div:nth-child(2) > span,
  .sport-medical-parent-note,
  .sport-medical-manager-note,
  .sport-medical-manager-toolbar p,
  .sport-medical-session-note,
  .sport-medical-session-meta,
  .sport-medical-booking-roster > p,
  .sport-medical-booking-roster li small
) {
  color: #9eb2c1;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-manager-note {
  border-color: #29495e;
  background: #102b3d;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-manager-toolbar {
  border-color: #2b5748;
  background: #0b2a22;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-parent-callout {
  color: #edf5f8;
  border-color: #7b6430;
  background: #382f1a;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-parent-callout :where(strong, span),
html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-important-note :where(strong, span) {
  color: #f6e5ab;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-important-note {
  border-color: #7b6430;
  border-left-color: #e3b84e;
  background: #382f1a;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-documents {
  border-color: #29495e;
  border-left-color: #5e9dce;
  background: #0d2232;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-documents-head :where(h4, span),
html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-document-copy strong {
  color: #edf5f8;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-documents-head > div > span,
html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-document-copy :where(span, small) {
  color: #9eb2c1;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-document-count {
  color: #a8d4f5;
  border-color: #315269;
  background: #102844;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-document-upload {
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #sportMedicalPanel :where(
  .sport-medical-document-file,
  .sport-medical-document-card
) {
  color: #edf5f8;
  border-color: #29495e;
  background: #102438;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-document-icon {
  color: #a8d4f5;
  background: #102844;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-session-card {
  color: #edf5f8;
  border-color: #29495e;
  border-left-color: #35d38f;
  background: #0d2232;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-session-documents {
  border-color: #29495e;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-session-documents > strong {
  color: #a8d4f5;
}

html[data-color-mode="dark"] #sportMedicalSessionDialog .sport-medical-session-document-fieldset {
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #sportMedicalSessionDialog .sport-medical-session-document-fieldset legend {
  color: #a8d4f5;
}

html[data-color-mode="dark"] #sportMedicalSessionDialog .sport-medical-session-document-file {
  color: #edf5f8;
  border-color: #315269;
  background: #0d2232;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-session-card.is-full {
  border-left-color: #e3b84e;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-capacity-badge {
  color: #9df0c9;
  border-color: #347c63;
  background: #12382e;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-capacity-badge.is-full,
html[data-color-mode="dark"] #sportMedicalPanel .message-mode-badge.warning {
  color: #f6d986;
  border-color: #7b6430;
  background: #382f1a;
}

html[data-color-mode="dark"] #sportMedicalPanel .message-mode-badge.loading {
  color: #a8d4f5;
  border-color: #315269;
  background: #102844;
}

html[data-color-mode="dark"] #sportMedicalPanel :where(
  .sport-medical-session-card,
  .sport-medical-session-note,
  .sport-medical-session-actions,
  .sport-medical-booking-roster,
  .sport-medical-player-bookings,
  .sport-medical-booking-roster li,
  .sport-medical-player-bookings > div
) {
  border-color: #29495e;
}

html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-booking-roster li,
html[data-color-mode="dark"] #sportMedicalPanel .sport-medical-player-bookings > div {
  background: #102438;
}

html[data-color-mode="dark"] #sportMedicalPanel :where(.sport-medical-session-actions .ghost-action, .sport-medical-player-bookings .ghost-action) {
  color: #c2d1da;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #sportMedicalPanel :where(.sport-medical-session-actions .danger-action) {
  color: #ff9aaa;
  border-color: #713846;
  background: #351821;
}

html[data-color-mode="dark"] #sportMedicalPanel .eyebrow {
  color: #67e2ad;
}

html[data-color-mode="dark"] #sportMedicalSessionDialog::backdrop {
  background: rgba(1, 9, 17, 0.78);
  backdrop-filter: blur(5px);
}

html[data-color-mode="dark"] #sportMedicalSessionDialog .sport-medical-session-dialog-card {
  color: #edf5f8;
  border-color: #29495e;
  background: #091827;
}

html[data-color-mode="dark"] #sportMedicalSessionDialog .sport-medical-session-dialog-card :where(
  label,
  h3,
  .dialog-subtitle,
  .dialog-form-note
) {
  color: #f1f7fa !important;
}

html[data-color-mode="dark"] #sportMedicalSessionDialog .sport-medical-session-dialog-card :where(
  input:not([type="checkbox"]),
  select,
  textarea
) {
  color: #edf5f8;
  border-color: #315269;
  background: #0d2232;
  color-scheme: dark;
}

html[data-color-mode="dark"] #sportMedicalBookingDialog .sport-medical-booking-dialog-card {
  color: #edf5f8;
  border-color: #29495e;
  background: #091827;
}

html[data-color-mode="dark"] #sportMedicalBookingDialog .sport-medical-booking-dialog-card :where(
  label,
  h3,
  .dialog-subtitle,
  .dialog-form-note
) {
  color: #f1f7fa !important;
}

html[data-color-mode="dark"] #sportMedicalBookingDialog .sport-medical-booking-dialog-card input {
  color: #edf5f8;
  border-color: #315269;
  background: #0d2232;
  color-scheme: dark;
}

html[data-color-mode="dark"] #programCalendarPanel :where(
  .program-calendar-view-toolbar,
  .program-calendar-month-heading,
  .program-calendar-month-block
) {
  border-color: #29495e;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-view-toolbar > button {
  color: #c2d1da;
  border-color: #315269;
  background: #102438;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-view-toolbar > button:hover,
html[data-color-mode="dark"] #programCalendarPanel .program-calendar-view-toolbar > button.is-active {
  color: #c9f6e1;
  border-color: #45c58f;
  background: #12382e;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-period-navigation strong,
html[data-color-mode="dark"] #programCalendarPanel .program-calendar-month-heading strong {
  color: #edf5f8;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-month-heading span {
  color: #9eb2c1;
}

html[data-color-mode="dark"] #programCalendarPanel .program-calendar-month-block {
  background: #0d2232;
}

html[data-color-mode="dark"] #programCalendarPanel .calendar-task-detail-body {
  border-color: #29495e;
}

html[data-color-mode="dark"] #programCalendarPanel .calendar-task-detail-body p {
  color: #9eb2c1;
}

html[data-color-mode="dark"] #programCalendarPanel .calendar-task-status {
  color: #f6d986;
  border-color: #7b6430;
  background: #382f1a;
}

html[data-color-mode="dark"] #programCalendarPanel .calendar-task-status.is-complete {
  color: #9df0c9;
  border-color: #347c63;
  background: #12382e;
}

html[data-color-mode="dark"] #calendarTaskDialog::backdrop {
  background: rgba(1, 9, 17, 0.78);
  backdrop-filter: blur(5px);
}

html[data-color-mode="dark"] #calendarTaskDialog .calendar-task-dialog-card {
  color: #edf5f8;
  border-color: #29495e;
  background: #091827;
}

html[data-color-mode="dark"] #calendarTaskDialog .calendar-task-dialog-card :where(
  label,
  h3,
  .dialog-subtitle,
  .dialog-form-note
) {
  color: #f1f7fa !important;
}

html[data-color-mode="dark"] #calendarTaskDialog .calendar-task-dialog-card :where(
  input:not([type="checkbox"]),
  select,
  textarea
) {
  color: #edf5f8;
  border-color: #315269;
  background: #0d2232;
  color-scheme: dark;
}

/* Technikai vezetoi munkaterulet: teljes, kontrasztos sotet komponensretege. */
html[data-color-mode="dark"] #leadershipPanel .leadership-view-switch {
  border-color: #27475b;
  background: #0b1d2c !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-color-mode="dark"] #leadershipPanel .leadership-view-switch button {
  color: #b7c8d2 !important;
  border-color: transparent;
  background: transparent;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-view-switch button:hover,
html[data-color-mode="dark"] #leadershipPanel .leadership-view-switch button:focus-visible {
  color: #f4fafc !important;
  border-color: #31536a;
  background: #142a3b;
}

html[data-color-mode="dark"] #leadershipPanel .leadership-view-switch button.is-active {
  color: #c9f8e2 !important;
  border-color: #2d8b65;
  background: #10382d !important;
  box-shadow: 0 0 0 2px rgba(69, 197, 143, 0.1);
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-club-overview,
  .technical-club-database-grid
) {
  color: #edf5f8;
  border-color: #203e51;
  background: #071725 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-database-card {
  color: #edf5f8;
  border-color: #29495e !important;
  border-top-color: #2de08d !important;
  background: #0a1c2b !important;
  box-shadow: 0 16px 34px rgba(0, 5, 12, 0.22);
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-database-card.bad {
  border-top-color: #ff7078 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-database-card.warn {
  border-top-color: #f8bd48 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-card-head {
  color: #edf5f8;
  border-color: #29495e;
  background: #0b1f2f !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-card-head :where(h3, h4, strong) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-card-head :where(p, span, small) {
  color: #9fb3c1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-state {
  color: #d8e6ec !important;
  border-color: #3a586b;
  background: #142b3b !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-state.good {
  color: #bff1da !important;
  border-color: #2d7a5b;
  background: #10382d !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-state.warn {
  color: #ffe0a0 !important;
  border-color: #87631d;
  background: #352a16 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-state.bad {
  color: #ffc7cc !important;
  border-color: #8c3b49;
  background: #3a1b25 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-grid {
  border-color: #29495e !important;
  background: #0b1f2f !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric {
  color: #edf5f8 !important;
  border-color: #29495e !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.good {
  color: #d9f8ea !important;
  background: #0d3027 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.warn {
  color: #ffe3a1 !important;
  background: #352a16 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.bad {
  color: #ffd1d4 !important;
  background: #3a1b25 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric :where(strong, b) {
  color: currentColor !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric :where(span, small) {
  color: #afc0ca !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.good :where(span, small) {
  color: #a9dbc6 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.warn :where(span, small) {
  color: #e8c981 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.bad :where(span, small) {
  color: #e7aeb7 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-icon {
  color: #b9ccd6 !important;
  border-color: #35566b;
  background: #132b3b !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.good .technical-club-expiry-icon {
  color: #72e5b2 !important;
  border-color: #2d7a5b;
  background: #123c30 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.warn .technical-club-expiry-icon {
  color: #ffd373 !important;
  border-color: #87631d;
  background: #42331a !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-metric.bad .technical-club-expiry-icon {
  color: #ff939b !important;
  border-color: #8c3b49;
  background: #47212c !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-preview {
  color: #edf5f8;
  border-color: #29495e !important;
  background: #081927 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-head {
  border-color: #29495e;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-head strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-expiry-head span {
  color: #9fb3c1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-task-button {
  color: #d9e7ed !important;
  border-color: #35566b !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-task-button:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-club-task-button:focus-visible {
  color: #c9f8e2 !important;
  border-color: #45c58f !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item {
  color: #edf5f8;
  border-color: #29475a !important;
  background: #0d2232 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item.expired {
  border-color: #7c3744 !important;
  background: #331923 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item.soon {
  border-color: #74591f !important;
  background: #302616 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item small {
  color: #a9bbc6 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item b {
  color: #042017 !important;
  background: #56dca1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item.expired b {
  color: #ffe8ea !important;
  background: #a63f4e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-expiry-item.soon b {
  color: #fff1c7 !important;
  background: #76570f !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-card-footer {
  color: #c5d4dc !important;
  border-color: #29495e !important;
  background: #0b1f2f !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-card-footer :where(strong, b) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-table-open-button,
  .technical-table-close-button
) {
  color: #062017 !important;
  border-color: #45c58f !important;
  background: #56dca1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table-open-button.attention {
  color: #ffe9eb !important;
  border-color: #a84a58 !important;
  background: #71313d !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-table-open-button,
  .technical-table-close-button
):hover,
html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-table-open-button,
  .technical-table-close-button
):focus-visible {
  color: #ffffff !important;
  border-color: #62e0a9 !important;
  background: #177e58 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table-open-button :where(span, b) {
  color: #052117 !important;
  background: #d9f8ea !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table-open-button:disabled {
  color: #8297a4 !important;
  border-color: #314d60 !important;
  background: #132737 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-club-clear-state {
  color: #bfeeda !important;
  border-color: rgba(69, 197, 143, 0.4) !important;
  background: #0d3027 !important;
}

/* Technikai vezeto programnaptara: egységes, kontrasztos sotet munkafelulelet. */
html[data-color-mode="dark"] #leadershipPanel .technical-programs-panel {
  color: #edf5f8;
  border-color: #29495e !important;
  background: #071725 !important;
  box-shadow: 0 18px 42px rgba(0, 5, 12, 0.26);
}

html[data-color-mode="dark"] #leadershipPanel .technical-programs-head .eyebrow,
html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar-head .eyebrow {
  color: #67e2ad !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-programs-head h4,
html[data-color-mode="dark"] #leadershipPanel .technical-program-owner-head strong,
html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar-head strong,
html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .section-heading h4 {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-programs-head > div > span,
  .technical-program-calendar-head > span,
  .technical-program-owner-head span,
  .technical-program-upcoming .section-heading span,
  .technical-program-owner-list .muted-empty,
  .technical-program-upcoming .muted-empty
) {
  color: #a8bbc6 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-scope {
  border-color: #315269 !important;
  background: #0b1e2d !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-scope button {
  color: #a9bdc9 !important;
  background: transparent !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-scope button:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-program-scope button:focus-visible {
  color: #dff8ec !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-scope button.is-active {
  color: #052117 !important;
  background: #58dca4 !important;
  box-shadow: 0 6px 16px rgba(55, 214, 154, 0.18);
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-group-filter {
  color: #c5d4dc !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-group-filter select {
  color: #f1f7fa !important;
  -webkit-text-fill-color: #f1f7fa;
  border-color: #3a5c70 !important;
  background: #10283a !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-group-filter select option,
html[data-color-mode="dark"] #leadershipPanel .technical-program-group-filter select optgroup {
  color: #f1f7fa;
  background: #10283a;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-group-filter select:focus {
  border-color: #55d7a0 !important;
  box-shadow: 0 0 0 3px rgba(85, 215, 160, 0.18) !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-program-owner-list,
  .technical-program-calendar,
  .technical-program-upcoming
) {
  color: #edf5f8;
  border-color: #29495e !important;
  background: #0a1d2c !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-program-owner-head,
  .technical-program-calendar-head,
  .technical-program-upcoming .section-heading
) {
  border-color: #29495e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-owner {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-owner:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-program-owner:focus-visible,
html[data-color-mode="dark"] #leadershipPanel .technical-program-owner.is-active {
  border-color: #45c58f !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-owner strong {
  color: #f4f9fb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-owner small {
  color: #9fb3c1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-owner b {
  color: #062117 !important;
  background: #65dfaa !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .parent-calendar-card {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #081927 !important;
  box-shadow: none !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .parent-calendar-head {
  border-color: #29495e !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .parent-calendar-head strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .parent-calendar-head span {
  color: #a8bbc6 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .parent-calendar-grid > b {
  color: #c8d6dd !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day {
  color: #eaf3f6 !important;
  border-color: #315269 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day strong {
  color: #f4f9fb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day.is-muted {
  color: #718896 !important;
  border-color: #203d50 !important;
  background: #0b1b29 !important;
  opacity: 1;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day:focus-visible {
  color: #ffffff !important;
  border-color: #55d7a0 !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day.has-event {
  border-color: #36916d !important;
  background: #10352c !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day.event-type-match:not(:hover):not(:focus) {
  border-color: #a77b24 !important;
  background: #352a16 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-day.event-type-tournament:not(:hover):not(:focus) {
  border-color: #76551d !important;
  background: #2a2114 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-event-chip {
  color: #bff5dc !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-event-chip.event-type-match {
  color: #ffe2a0 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-calendar .coach-calendar-event-chip.event-type-tournament {
  color: #efca7b !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-card {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-card:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-card:focus-visible {
  border-color: #55d7a0 !important;
  background: #12372f !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-main strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming :where(
  .coach-calendar-event-main small,
  .coach-calendar-event-card p
) {
  color: #a9bbc6 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-main b {
  color: #062117 !important;
  background: #58dca4 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-card.event-type-match {
  border-color: #87631d !important;
  background: #352a16 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-program-upcoming .coach-calendar-event-card.event-type-tournament {
  border-color: #76551d !important;
  background: #2a2114 !important;
}

html[data-color-mode="dark"] #coachProgramDialog .coach-program-dialog-card {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #091927 !important;
}

html[data-color-mode="dark"] #coachProgramDialog .coach-program-dialog-card :where(input:not([type="checkbox"]), select, textarea) {
  color: #f1f7fa !important;
  -webkit-text-fill-color: #f1f7fa;
  border-color: #3a5c70 !important;
  background: #10283a !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] #coachProgramDialog :where(
  .coach-program-audience,
  .coach-program-targets,
  .coach-program-repeat
) {
  color: #edf5f8;
  border-color: #29495e !important;
  background: #0b1e2d !important;
}

html[data-color-mode="dark"] #coachProgramDialog :where(
  .coach-program-audience-options label,
  .coach-program-target-option,
  .coach-repeat-weekdays > div label
) {
  color: #dce8ed !important;
  border-color: #315269 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] #calendarTaskDialog .calendar-task-dialog-card {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #091927 !important;
}

html[data-color-mode="dark"] #calendarTaskDialog :where(input:not([type="checkbox"]), textarea) {
  color: #f1f7fa !important;
  -webkit-text-fill-color: #f1f7fa;
  border-color: #3a5c70 !important;
  background: #10283a !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] #calendarTaskDialog :where(.calendar-task-audience, .calendar-task-targets) {
  color: #edf5f8;
  border-color: #29495e !important;
  background: #0b1e2d !important;
}

html[data-color-mode="dark"] #calendarTaskDialog :where(
  .coach-program-audience-options label,
  .coach-program-target-option
) {
  color: #dce8ed !important;
  border-color: #315269 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] #calendarTaskDialog :where(
  .coach-program-audience-options label,
  .coach-program-target-option
):has(input:checked) {
  color: #dff8ec !important;
  border-color: #45c58f !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #coachProgramDialog :where(
  .coach-program-audience-options label,
  .coach-program-target-option,
  .coach-repeat-weekdays > div label
):has(input:checked) {
  color: #dff8ec !important;
  border-color: #45c58f !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #coachProgramDialog .coach-program-target-help {
  color: #a9bdc8 !important;
}

/* Technikai vezeto teljes kepernyos tablazata: kontrasztos sotet munkafelulelet. */
html[data-color-mode="dark"] #leadershipPanel .technical-table-overlay {
  color: #edf5f8;
  background: rgba(2, 10, 18, 0.98) !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table-overlay-head {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #0a1d2c !important;
  box-shadow: 0 14px 34px rgba(0, 5, 12, 0.34);
}

html[data-color-mode="dark"] #leadershipPanel .technical-table-overlay-head h3 {
  color: #f7fbfc !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table-overlay-head .eyebrow {
  color: #69e2ad !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-overlay-actions > span,
  .technical-name-search
) {
  color: #c5d4dc !important;
  border-color: #315269 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-name-search :where(svg, small) {
  color: #73e5b3 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-name-search input {
  color: #f4f9fb !important;
  border-color: #3a5c70 !important;
  background: #081a28 !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] #leadershipPanel .technical-name-search input::placeholder {
  color: #8298a6 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-name-search input:focus {
  border-color: #55d7a0 !important;
  box-shadow: 0 0 0 3px rgba(85, 215, 160, 0.18) !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-mini-button {
  color: #dce8ed !important;
  border-color: #3a5c70 !important;
  background: #132a3b !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-danger-mini {
  color: #ffbbc1 !important;
  border-color: #7f3d4a !important;
  background: #351a24 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-save-main {
  color: #052117 !important;
  border-color: #58dca4 !important;
  background: #58dca4 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-overlay-actions .technical-table-close-button {
  color: #edf5f8 !important;
  border-color: #49677a !important;
  background: #183145 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-mini-button,
  .technical-danger-mini,
  .technical-save-main,
  .technical-overlay-actions .technical-table-close-button
):hover,
html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-mini-button,
  .technical-danger-mini,
  .technical-save-main,
  .technical-overlay-actions .technical-table-close-button
):focus-visible {
  color: #ffffff !important;
  border-color: #62e0a9 !important;
  background: #177e58 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card.is-fullscreen {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #071725 !important;
  box-shadow: 0 18px 46px rgba(0, 5, 12, 0.4);
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .team-measurement-table-head {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .team-measurement-table-head strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .team-measurement-table-head span {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .excel-table-wrap {
  border-color: #315269 !important;
  background: #071725 !important;
  scrollbar-color: #477187 #0b1d2c;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .excel-table {
  color: #edf5f8;
  background: #071725 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .excel-table :where(th, td) {
  color: #dce8ed !important;
  border-color: #29495e !important;
  background: #0b1e2d !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .excel-table thead th {
  color: #f2f8fa !important;
  border-color: #3a5c70 !important;
  background: #142b3d !important;
  box-shadow: inset 0 -1px 0 #3a5c70;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card .excel-table tbody tr:nth-child(even) :where(th, td) {
  background: #0f2535 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card.is-fullscreen .technical-table :where(th, td):first-child {
  color: #dce8ed !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card.is-fullscreen .technical-table :where(th, td):nth-child(2) {
  color: #f5fafb !important;
  background: #0d2232 !important;
  box-shadow: 8px 0 16px rgba(0, 5, 12, 0.32);
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card.is-fullscreen .technical-table thead :where(th:first-child, th:nth-child(2)) {
  color: #f5fafb !important;
  background: #173044 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-leadership-card.is-fullscreen .technical-table tbody tr:nth-child(even) :where(td:first-child, th:nth-child(2)) {
  background: #11293a !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-filter-head > span {
  color: #dce8ed !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-column-filter,
  .technical-edit-control,
  .technical-edit-control.required
) {
  color: #f1f7fa !important;
  -webkit-text-fill-color: #f1f7fa;
  border-color: #3a5c70 !important;
  background: #10283a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  opacity: 1;
  color-scheme: dark;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-column-filter,
  .technical-edit-control
) option {
  color: #f1f7fa;
  background: #10283a;
}

html[data-color-mode="dark"] #leadershipPanel .technical-edit-control::placeholder {
  color: #8096a5 !important;
  -webkit-text-fill-color: #8096a5;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-column-filter,
  .technical-edit-control
):focus {
  color: #ffffff !important;
  border-color: #55d7a0 !important;
  background: #0d2c27 !important;
  box-shadow: 0 0 0 3px rgba(85, 215, 160, 0.18) !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-column-filter,
  .technical-edit-control
):disabled {
  color: #a9bbc5 !important;
  -webkit-text-fill-color: #a9bbc5;
  border-color: #29495e !important;
  background: #0b1d2c !important;
  opacity: 1;
}

html[data-color-mode="dark"] #leadershipPanel .technical-sort-button {
  color: #e7f1f5 !important;
  border-color: #3a5c70 !important;
  background: #10283a !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-sort-button b {
  color: #80e9bb !important;
  background: #173c32 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-sort-button:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-sort-button:focus-visible,
html[data-color-mode="dark"] #leadershipPanel .technical-sort-button.is-active {
  color: #ffffff !important;
  border-color: #55d7a0 !important;
  background: #177e58 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-copy-button {
  color: #8debc2 !important;
  border-color: #347c63 !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-copy-button:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-copy-button:focus-visible {
  color: #052117 !important;
  border-color: #62e0a9 !important;
  background: #62e0a9 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table tbody tr.bad :where(th, td) {
  border-color: #713846 !important;
  background: #281822 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table tbody tr.warn :where(th, td) {
  border-color: #6e5728 !important;
  background: #282318 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table tbody tr.good :where(th, td) {
  border-color: #295945 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table tbody tr.is-selected :where(th, td) {
  box-shadow: inset 0 0 0 999px rgba(69, 197, 143, 0.13) !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-field-status .validity-pill {
  border: 1px solid transparent;
  color: #dce8ed !important;
  background: #193044 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-field-status .validity-pill.good {
  color: #bff5dc !important;
  border-color: #2f7a5c;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-field-status .validity-pill.warn {
  color: #ffe2a0 !important;
  border-color: #7f611f;
  background: #382d17 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-field-status .validity-pill.bad {
  color: #ffc7cc !important;
  border-color: #873d4b;
  background: #3a1b25 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-search-empty-row td {
  color: #afc0ca !important;
  background: #102536 !important;
}

/* Technikai vezeto: csapatok kezelese */
html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card {
  color: #edf5f8;
  border-color: #315269 !important;
  background: #071725 !important;
  box-shadow: 0 18px 42px rgba(0, 5, 12, 0.28);
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card .chart-card-head :where(h4, strong) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card .chart-card-head span {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-actions .ghost-action {
  color: #dce8ed !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-actions .ghost-action:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-team-management-actions .ghost-action:focus-visible {
  color: #ffffff !important;
  border-color: #55d7a0 !important;
  background: #173c32 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch {
  border-color: #315269 !important;
  background: #0b1d2c !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button {
  color: #abc0cb !important;
  border-color: transparent !important;
  background: transparent !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button:focus-visible {
  color: #f5fafb !important;
  border-color: #3f6b63 !important;
  background: #102b2a !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button.is-active {
  color: #f5fafb !important;
  border-color: #55d7a0 !important;
  background: #12382e !important;
  box-shadow: 0 7px 18px rgba(0, 5, 12, 0.26), inset 0 0 0 1px rgba(85, 215, 160, 0.12);
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch small {
  color: #9fb4bf !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button > svg {
  color: #7f98a7 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button.is-active > svg {
  color: #80e9bb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch-icon {
  color: #abc0cb !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-switch button.is-active .technical-team-club-switch-icon {
  color: #80e9bb !important;
  border-color: #438c70 !important;
  background: #0d2c27 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-heading {
  border-color: #315269 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-heading :where(p, span) {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-club-heading h5 {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card .leadership-kpi {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  border-top-color: #55d7a0 !important;
  background: #102536 !important;
  box-shadow: 0 8px 18px rgba(0, 5, 12, 0.2);
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card .leadership-kpi span {
  color: #9fb4bf !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card .leadership-kpi strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-management-card .leadership-kpi small {
  color: #b8cad3 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-row {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  border-left-color: #55d7a0 !important;
  background: #0d2030 !important;
  box-shadow: 0 7px 16px rgba(0, 5, 12, 0.18);
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-row:hover {
  border-color: #438c70 !important;
  border-left-color: #62e0a9 !important;
  background: #11293a !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-main strong,
html[data-color-mode="dark"] #leadershipPanel .technical-team-count strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-main span,
html[data-color-mode="dark"] #leadershipPanel .technical-team-count span {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-team-count {
  border-color: #347c63 !important;
  background: #12382e !important;
}

/* Technikai jogosultsagok: a meghivo es a szuloi kezeles ne orokoljon
   vilagos kartya-hatteret sotet modban. */
html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-permission-card,
  .technical-invitation-panel,
  .parent-registration-requests-panel,
  .parent-invitations-panel
) {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #0a1c2a !important;
  box-shadow: 0 16px 36px rgba(0, 5, 12, 0.26);
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-head,
  .parent-registration-requests-head,
  .parent-invitations-head
) :where(h4, h5, strong) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-head,
  .parent-registration-requests-head,
  .parent-invitations-head
) :where(p, span, small),
html[data-color-mode="dark"] #leadershipPanel .technical-invitation-actions small {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-head,
  .parent-registration-requests-head,
  .parent-invitations-head
) .eyebrow {
  color: #80e9bb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-invitation-fields label,
html[data-color-mode="dark"] #leadershipPanel .technical-permission-role,
html[data-color-mode="dark"] #leadershipPanel .technical-invitation-picker-label small {
  color: #b8cad3 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-fields,
  .technical-permission-role,
  .technical-permission-groups,
  .technical-invitation-picker-body,
  .parent-request-player-list
) :where(input, select),
html[data-color-mode="dark"] #leadershipPanel .technical-invitation-team-search,
html[data-color-mode="dark"] #leadershipPanel .technical-invitation-parent-search {
  color: #f5fafb !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-fields,
  .technical-permission-role,
  .technical-permission-groups,
  .technical-invitation-picker-body,
  .parent-request-player-list
) :where(input, select)::placeholder,
html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-team-search,
  .technical-invitation-parent-search
) input::placeholder {
  color: #8197a5 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-picker,
  .technical-permission-groups-menu
) {
  color: #edf5f8 !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-picker,
  .technical-permission-groups-menu
) summary {
  color: #edf5f8 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-picker,
  .technical-permission-groups-menu
) summary :where(strong, b, span) {
  color: #edf5f8 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-invitation-picker summary > b {
  color: #80e9bb !important;
  border: 1px solid #438c70 !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-picker-body,
  .technical-permission-groups
) {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #0b1d2c !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-team-grid,
  .technical-invitation-parent-player-list,
  .technical-permission-groups
) label {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-team-grid,
  .technical-invitation-parent-player-list,
  .technical-permission-groups
) label:hover,
html[data-color-mode="dark"] #leadershipPanel :where(
  .technical-invitation-team-grid,
  .technical-invitation-parent-player-list,
  .technical-permission-groups
) label:has(input:checked) {
  border-color: #55d7a0 !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] #leadershipPanel .parent-request-kpis > div,
html[data-color-mode="dark"] #leadershipPanel .parent-request-row,
html[data-color-mode="dark"] #leadershipPanel .parent-invitation-row {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .parent-request-kpis,
  .parent-request-row,
  .parent-invitation-row
) :where(strong, b) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel :where(
  .parent-request-kpis,
  .parent-request-row,
  .parent-invitation-row
) :where(span, small) {
  color: #abc0cb !important;
}

/* A technikai tablazat sotet modban sotet, kontrasztos szerkesztomezoket kap. */
html[data-color-mode="dark"] #leadershipPanel .technical-table :where(input, select, textarea) {
  color: #edf5f8 !important;
  -webkit-text-fill-color: #edf5f8 !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
  color-scheme: dark;
  opacity: 1 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table :where(input, textarea)::placeholder {
  color: #8197a5 !important;
  -webkit-text-fill-color: #8197a5 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-table :where(input, select, textarea):focus {
  border-color: #62e0a9 !important;
  box-shadow: 0 0 0 3px rgba(85, 215, 160, 0.16) !important;
}

/* Uj csapat parbeszedablak */
html[data-color-mode="dark"] .app-team-create-dialog::backdrop {
  background: rgba(0, 8, 15, 0.78);
  backdrop-filter: blur(5px);
}

html[data-color-mode="dark"] .app-team-create-card.delete-confirm-card {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #0a1c2a !important;
  box-shadow: 0 24px 58px rgba(0, 5, 12, 0.54);
}

html[data-color-mode="dark"] .app-team-create-card .app-team-create-mark {
  color: #80e9bb !important;
  border-color: #438c70 !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] .app-team-create-card .delete-confirm-copy :where(h3, .eyebrow),
html[data-color-mode="dark"] .app-team-create-card .app-prompt-field,
html[data-color-mode="dark"] .app-team-club-picker legend {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] .app-team-create-card .delete-confirm-copy p:not(.eyebrow) {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] .app-team-create-card .app-prompt-field input {
  color: #f5fafb !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] .app-team-create-card .app-prompt-field input::placeholder {
  color: #8197a5 !important;
}

html[data-color-mode="dark"] .app-team-club-options label {
  color: #edf5f8 !important;
  border-color: #315269 !important;
  background: #102536 !important;
}

html[data-color-mode="dark"] .app-team-club-options label:hover,
html[data-color-mode="dark"] .app-team-club-options label:has(input:checked) {
  border-color: #55d7a0 !important;
  background: #12382e !important;
}

html[data-color-mode="dark"] .app-team-club-copy strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] .app-team-club-copy small {
  color: #abc0cb !important;
}

html[data-color-mode="dark"] .app-team-club-icon {
  color: #abc0cb !important;
  border-color: #3a5c70 !important;
  background: #0b1d2c !important;
}

html[data-color-mode="dark"] .app-team-club-check {
  color: transparent;
  background: #29495e !important;
}

html[data-color-mode="dark"] .app-team-club-options input:checked ~ .app-team-club-icon {
  color: #80e9bb !important;
  border-color: #438c70 !important;
  background: #0d2c27 !important;
}

html[data-color-mode="dark"] .app-team-create-card .delete-confirm-actions .ghost-action {
  color: #dce8ed !important;
  border-color: #3a5c70 !important;
  background: #102536 !important;
}

/* Szülői és edzői naptár: a világos alap naptárcellákat a sötét téma saját felületei váltják fel. */
html[data-color-mode="dark"] :where(.parent-calendar-card, .parent-attendance-stats) {
  color: #edf5f8;
  border-color: #315269;
  background: #0a1d2b;
  box-shadow: 0 12px 30px rgba(0, 5, 12, 0.22);
}

html[data-color-mode="dark"] .parent-attendance-stats-head :where(strong, span),
html[data-color-mode="dark"] .parent-calendar-head :where(strong, span) {
  color: #edf5f8;
}

html[data-color-mode="dark"] .parent-attendance-stats-head > span,
html[data-color-mode="dark"] .parent-calendar-head span {
  color: #abc0cb;
}

html[data-color-mode="dark"] .parent-attendance-stat {
  color: #edf5f8;
  border-color: #315269;
  background: #102536;
}

html[data-color-mode="dark"] .parent-attendance-stat :where(b, span) {
  color: #edf5f8;
}

html[data-color-mode="dark"] .parent-attendance-stat span {
  color: #b6c9d3;
}

html[data-color-mode="dark"] .parent-attendance-stat.attending {
  border-color: #438c70;
  background: #103b31;
}

html[data-color-mode="dark"] .parent-attendance-stat.absent {
  border-color: #b85d69;
  background: #3a1d29;
}

html[data-color-mode="dark"] .parent-attendance-stat.undecided {
  border-color: #b79542;
  background: #3a2d16;
}

html[data-color-mode="dark"] .parent-calendar-head {
  padding: 2px 2px 10px;
  border-bottom: 1px solid #26475b;
  background: #0a1d2b;
}

html[data-color-mode="dark"] .parent-calendar-grid > b {
  color: #c9d9e1;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day) {
  color: #f4f8fa;
  border-color: #315269;
  background: #102536;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day) > strong {
  color: #f4f8fa;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day):hover,
html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day):focus-visible {
  border-color: #62e0a9;
  background: #153b4a;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day).is-muted {
  opacity: 1;
  color: #708795;
  border-color: #1e3a4c;
  background: #081725;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day).is-muted > strong {
  color: #708795;
}

html[data-color-mode="dark"] .parent-calendar-day.has-event,
html[data-color-mode="dark"] .coach-calendar-day.has-event {
  border-color: #438c70;
  background: #103b31;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day).event-type-match:not(.has-response) {
  border-color: #c69d3b;
  background: #3a2d16;
}

html[data-color-mode="dark"] :where(.parent-calendar-day, .coach-calendar-day).event-type-tournament:not(.has-response) {
  border-color: #9d7625;
  background: #33230d;
}

html[data-color-mode="dark"] .parent-calendar-day.has-response.attending {
  border-color: #55d7a0;
  background: #124534;
}

html[data-color-mode="dark"] .parent-calendar-day.has-response.absent,
html[data-color-mode="dark"] .parent-calendar-day.needs-response {
  border-color: #dd7c88;
  background: #471f2b;
}

html[data-color-mode="dark"] .parent-calendar-day.has-response.mixed {
  border-color: #d5ad4c;
  background: #4a3816;
}

html[data-color-mode="dark"] :where(.parent-calendar-day-events span, .parent-calendar-day-events em) {
  color: #dce8ed;
}

/* Szülői gyermekadatlap: a világos jelentésrétegek helyett olvasható sötét riportfelület. */
html[data-color-mode="dark"] #parentChildPanel :where(.parent-portal-section, .parent-child-report-card) {
  color: #edf5f8 !important;
  border-color: #2f5166 !important;
  background: #081a29 !important;
  box-shadow: 0 14px 34px rgba(0, 4, 11, 0.28);
}

html[data-color-mode="dark"] #parentChildPanel .parent-child-report-head {
  border-bottom-color: #29485c !important;
  background: linear-gradient(135deg, #0f2d32, #0b2130) !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-child-report-head::before {
  background: #58d69c !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-child-report-head :where(strong, span) {
  color: #f2f8fa !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-child-report-head span {
  color: #b5c9d3 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-child-report-content {
  background: #071827 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-report-section {
  border-top-color: #29495d !important;
  background: #0a2030 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-report-section + .parent-report-section {
  border-top-color: #17384c !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-report-section-motoric-overview,
html[data-color-mode="dark"] #parentChildPanel .parent-report-section-motoric-trend {
  background: #0b2b2a !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-report-section-motoric-evaluation, .parent-report-section-classification-overview) {
  background: #2c2616 !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-report-section-motoric-radar, .parent-report-section-classification-details) {
  background: #0c2436 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-report-section-head h5,
html[data-color-mode="dark"] #parentChildPanel .parent-report-section-head h6,
html[data-color-mode="dark"] #parentChildPanel .parent-report-section-body :where(h3, h4, h5, h6, strong, b, th) {
  color: #eff6f8 !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-report-section-head p, .parent-report-section-body p, .parent-report-section-body small, .parent-report-section-body td, .parent-report-section-body li) {
  color: #b8cbd4 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-measurement-selector {
  border-color: #326059 !important;
  border-left-color: #58d69c !important;
  background: linear-gradient(135deg, #10342f, #0c2433 70%) !important;
  box-shadow: inset 0 1px rgba(191, 247, 219, 0.05);
}

html[data-color-mode="dark"] #parentChildPanel .parent-measurement-selector :where(strong, span, small) {
  color: #eff7f8 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-measurement-selector :where(.parent-measurement-selector-copy > span, .parent-measurement-selector-copy > small, .parent-measurement-selector-fields label > span) {
  color: #b6cad3 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-measurement-selector-fields select {
  color: #f3f8fa !important;
  border-color: #466977 !important;
  background: #091b2a !important;
  color-scheme: dark;
}

html[data-color-mode="dark"] #parentChildPanel .parent-measurement-selector-status {
  color: #8ce7ba !important;
  border-color: #438c70 !important;
  background: #103c30 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-measurement-selector-status.is-history {
  color: #9dc4ed !important;
  border-color: #456a8e !important;
  background: #112e47 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-motoric-score-hero {
  border-color: #2f5f59 !important;
  background: #0b2130 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-motoric-score-main {
  background: linear-gradient(135deg, #103b31, #0b2630) !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-motoric-team-average {
  border-color: #2c4d62 !important;
  background: #0d2537 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-motoric-score-main :where(span, small),
html[data-color-mode="dark"] #parentChildPanel .parent-motoric-team-average :where(span, small) {
  color: #b6cbd4 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-motoric-score-main .value-with-info > strong {
  color: #7be7ad !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-motoric-team-average .value-with-info > strong {
  color: #f1f7f9 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-orthopedic-report {
  color: #edf5f8 !important;
  border-color: #2e5166 !important;
  background: #071827 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-report-header {
  background: linear-gradient(135deg, #103630, #0a2030) !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-ortho-report-band, .parent-orthopedic-report > .parent-ortho-section) {
  border-top-color: #29495d !important;
  background: #0a2030 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-overview-band {
  background: #0c2639 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-orthopedic-report > .parent-ortho-recommendations {
  border-left-color: #58d69c !important;
  background: #2b2617 !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-ortho-brand h5, .parent-ortho-section-head h5, .parent-ortho-band-head h5, .parent-ortho-summary-tile > strong, .parent-ortho-finding > div > strong, .parent-ortho-fms-pattern strong, .parent-ortho-recommendation > div > strong, .parent-ortho-report-date strong) {
  color: #f0f7f9 !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-ortho-brand p, .parent-ortho-report-date span, .parent-ortho-summary-tile > span, .parent-ortho-finding > div > span, .parent-ortho-fms-pattern span, .parent-ortho-recommendation > div > span, .parent-ortho-recommendation small, .parent-ortho-section-note, .parent-ortho-report-footer) {
  color: #b7cad4 !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-ortho-summary-tile, .parent-ortho-section, .parent-ortho-recommendation) {
  border-color: #315269 !important;
  background: #0d2637 !important;
  box-shadow: none;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-summary-tile.warn,
html[data-color-mode="dark"] #parentChildPanel .parent-ortho-finding.warn,
html[data-color-mode="dark"] #parentChildPanel .parent-ortho-recommendation.warn {
  border-color: #9b7a34 !important;
  background: #352a15 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-summary-tile.bad,
html[data-color-mode="dark"] #parentChildPanel .parent-ortho-finding.bad,
html[data-color-mode="dark"] #parentChildPanel .parent-ortho-recommendation.bad {
  border-color: #a4515d !important;
  background: #371d2a !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-summary-tile.neutral,
html[data-color-mode="dark"] #parentChildPanel .parent-ortho-summary-tile.missing,
html[data-color-mode="dark"] #parentChildPanel .parent-ortho-finding.missing {
  border-color: #3f6679 !important;
  background: #0d2637 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-step {
  color: #8ce7ba !important;
  border-color: #438c70 !important;
  background: #103b31 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-step.bad {
  color: #f3a0aa !important;
  border-color: #a4515d !important;
  background: #401e2a !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-step.missing {
  color: #9fb4c1 !important;
  border-color: #3e6276 !important;
  background: #102535 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-fms-ring {
  background: conic-gradient(#58d69c var(--parent-fms-progress), #28475b 0) !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-fms-ring::before {
  background: #0d2637 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-fms-ring strong {
  color: #83e9b5 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-fms-scale i {
  background: #29475c !important;
}

html[data-color-mode="dark"] #parentChildPanel :where(.parent-ortho-alert, .parent-ortho-optional, .parent-ortho-all-good, .parent-ortho-empty) {
  border: 1px solid #3c6275 !important;
  background: #102a3a !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-alert {
  color: #f3abb4 !important;
  border-color: #a4515d !important;
  background: #3a1e2b !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-optional {
  color: #a7d0f5 !important;
  border-color: #48749b !important;
  background: #112e48 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-all-good {
  color: #91e8ba !important;
  border-color: #438c70 !important;
  background: #103b31 !important;
}

html[data-color-mode="dark"] #parentChildPanel .parent-ortho-empty {
  color: #b7cad4 !important;
}

/*
 * Uzenetek: a komponens alapstilusai vilagos hatteret hasznalnak. Ez a
 * vegso, nagyobb specifikussagu reteg minden valtozatban megtartja a sotet
 * munkateret, igy az ures beszelgetes es az uj uzenet felulet sem villan feherre.
 */
html[data-color-mode="dark"] body #messagesPanel .message-workspace,
html[data-color-mode="dark"] body #messagesPanel .message-layout,
html[data-color-mode="dark"] body #messagesPanel .message-detail-panel,
html[data-color-mode="dark"] body #messagesPanel .message-compose-panel,
html[data-color-mode="dark"] body #messagesPanel .message-group-manager,
html[data-color-mode="dark"] body #messagesPanel .message-conversation {
  background-color: #091827 !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-summary-row {
  border-color: #28475c !important;
  background-color: #28475c !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-summary-row > div {
  color: #eef7f8 !important;
  background: linear-gradient(145deg, #10283a, #0a1c2b) !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts {
  border-color: #27596a !important;
  background: linear-gradient(115deg, #0d2a2b, #0a1d2b 72%) !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts strong {
  color: #effaf9 !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts small {
  color: #a7bfca !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts-icon {
  color: #7fe6b5 !important;
  background: #123b34 !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts button {
  border-color: #2c5b67 !important;
  color: #effaf9 !important;
  background: #0b2330 !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts button:hover,
html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts button:focus-visible {
  border-color: #47c994 !important;
  background: #10352f !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-shortcuts button:disabled {
  border-color: #2a4653 !important;
  color: #b4c7d0 !important;
  background: #0b1d29 !important;
  opacity: 0.8;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-empty {
  border-color: #2a5961 !important;
  color: #b4c7d0 !important;
  background: #0b202c !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-team-space-empty > svg {
  color: #7fe6b5 !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-thread-panel,
html[data-color-mode="dark"] body #messagesPanel .message-thread-list {
  background-color: #081725 !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-detail-panel {
  background-image: radial-gradient(circle at 52% 44%, rgba(52, 153, 118, 0.12), transparent 30%) !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-empty-detail,
html[data-color-mode="dark"] body #messagesPanel .message-list-empty {
  color: #9fb4c1 !important;
  background: transparent !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-empty-detail strong,
html[data-color-mode="dark"] body #messagesPanel .message-list-empty strong {
  color: #f3fafb !important;
}

html[data-color-mode="dark"] body #messagesPanel .message-empty-detail span,
html[data-color-mode="dark"] body #messagesPanel .message-list-empty span {
  color: #a9bdc9 !important;
}

/* Edzoi felszerelesi adatlap: minden osszegzo es kapcsolatkartya sotet feluletet kap. */
html[data-color-mode="dark"] body #coachesPanel .coach-detail-page-head,
html[data-color-mode="dark"] body #coachesPanel .coach-contact-card,
html[data-color-mode="dark"] body #coachesPanel .coach-receipt-history,
html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-documents,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-document,
html[data-color-mode="dark"] body #coachesPanel .coach-new-receipt-menu,
html[data-color-mode="dark"] body #coachesPanel .coach-detail-panel {
  border-color: #28475c !important;
  color: #edf5f8 !important;
  background: #0b1b2a !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2) !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-contact-card,
html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-item,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-document,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-document-items li,
html[data-color-mode="dark"] body #coachesPanel .coach-equipment-card,
html[data-color-mode="dark"] body #coachesPanel .coach-return-row,
html[data-color-mode="dark"] body #coachesPanel .coach-signature-panel {
  border-color: #31566d !important;
  color: #edf5f8 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-head strong,
html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-copy strong,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-documents-summary strong,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-document-summary strong,
html[data-color-mode="dark"] body #coachesPanel .coach-contact-card strong,
html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-item > b {
  color: #f2fbfb !important;
}

html[data-color-mode="dark"] body #coachesPanel :is(
  .coach-contact-card > span,
  .coach-current-equipment-head span,
  .coach-current-equipment-copy span,
  .coach-current-equipment-copy small,
  .coach-current-equipment-footnote,
  .coach-signed-documents-summary small,
  .coach-signed-document-summary small,
  .coach-detail-panel-head > span,
  .coach-return-copy small,
  .muted-empty
) {
  color: #a9bdc9 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-head .eyebrow,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-documents-summary > svg,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-document-summary > svg,
html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-mark {
  color: #80e7b1 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-head > b,
html[data-color-mode="dark"] body #coachesPanel .coach-signed-documents > summary > b {
  border-color: #3b8d72 !important;
  color: #91ecc0 !important;
  background: #103b31 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-item img,
html[data-color-mode="dark"] body #coachesPanel .coach-current-equipment-mark,
html[data-color-mode="dark"] body #coachesPanel .coach-equipment-card img,
html[data-color-mode="dark"] body #coachesPanel .coach-return-row img {
  background: #f7fafc !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-signed-document-items li.has-missing {
  border-color: #a4515d !important;
  background: #351d2a !important;
}

/* A felszerelés átvételi és leadási munkaterületének régi, világos stílusai. */
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-clothing-row,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-tools-grid label,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-return-row,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-return-hint,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-receipt-document,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-receipt-visual-item,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-receipt-signature-preview {
  border-color: #31566d !important;
  color: #edf5f8 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page :is(
  h2,
  h3,
  h4,
  .coach-detail-page-head h4,
  .coach-detail-panel-head h3,
  .coach-receipt-history-head strong,
  .coach-receipt-document strong,
  .coach-receipt-visual-item strong,
  .coach-return-copy strong,
  .coach-return-hint strong,
  .coach-equipment-card strong,
  .coach-signature-head strong
) {
  color: #f2fbfb !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page :is(
  span,
  small,
  p,
  label,
  .coach-detail-page-head span,
  .coach-detail-panel-head > span,
  .coach-contact-card span,
  .coach-receipt-history-head span,
  .coach-receipt-document span,
  .coach-receipt-signature-preview span,
  .coach-receipt-signature-preview small,
  .coach-return-copy small,
  .coach-return-check,
  .coach-return-quantity,
  .coach-return-note,
  .coach-return-hint span,
  .coach-signature-head span
) {
  color: #a9bdc9 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page :is(
  .coach-contact-card a,
  .coach-phone-link
) {
  color: #82d8ff !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page :is(
  .coach-detail-tabs button,
  .coach-new-receipt-menu summary
) {
  border-color: #31566d !important;
  color: #dcecf2 !important;
  background: #102438 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-detail-tabs button.is-active,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-new-receipt-menu summary::after {
  border-color: #43bf87 !important;
  color: #041911 !important;
  background: #80e7b1 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-new-receipt-menu summary small,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-equipment-card small {
  color: #91ecc0 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page :is(
  input,
  select,
  textarea
) {
  border-color: #31566d !important;
  color: #f2fbfb !important;
  background: #091827 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page :is(input, textarea)::placeholder {
  color: #7893a3 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-return-amortized,
html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-return-amortized input {
  border-color: #a97e30 !important;
  color: #ffd37d !important;
  background: #2f2815 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-return-status {
  border-color: #3b8d72 !important;
  color: #9cebc5 !important;
  background: #103b31 !important;
}

html[data-color-mode="dark"] body #coachesPanel .coach-full-page .coach-return-status.is-open {
  border-color: #a97e30 !important;
  color: #ffd37d !important;
  background: #2f2815 !important;
}

@media (max-width: 760px) {
  .login-theme-mode-action {
    top: 12px;
    right: 12px;
  }

  html[data-color-mode="dark"] .login-screen {
    background: var(--theme-canvas) !important;
  }

  .toolbar .theme-mode-action {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .workspace,
  .topbar,
  .login-screen,
  .login-shell,
  .login-card,
  dialog,
  .dialog-card,
  .modal-card {
    transition: none;
  }
}

@media print {
  :root,
  html[data-color-mode="dark"] {
    color-scheme: light;
    --theme-canvas: #ffffff;
    --theme-surface: #ffffff;
    --theme-surface-alt: #f7fafc;
    --theme-text: #17283b;
    --theme-muted: #596a7c;
    --theme-line: #dbe5ec;
  }
}

html[data-color-mode="dark"] #programCalendarPanel .program-task-management {
  border-top-color: var(--theme-line);
}

html[data-color-mode="dark"] #programCalendarPanel .program-task-management-head h4,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-summary-line strong,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-item-main strong,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-bulk-actions strong {
  color: var(--theme-text) !important;
}

html[data-color-mode="dark"] #programCalendarPanel .program-task-management-head span,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-summary-line span,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-bulk-actions span,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-item-main small,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-meta,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-item p {
  color: var(--theme-muted) !important;
}

html[data-color-mode="dark"] #programCalendarPanel .program-task-management > .management-form,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management > .task-log-card,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-item,
html[data-color-mode="dark"] #programCalendarPanel .program-task-management .task-bulk-actions {
  border-color: var(--theme-line);
  background: var(--theme-surface) !important;
  box-shadow: none;
}

/* A technikai felviteli ablak világos módban is olvasható legyen. */
html[data-color-mode="light"] :is(
  #technicalPlayerDialog .technical-player-dialog-card,
  #technicalNewPlayerReviewDialog .technical-new-player-review-card
) {
  color: #14263a !important;
  border-color: #cbd9e2 !important;
  background: #ffffff !important;
  box-shadow: 0 18px 46px rgba(13, 42, 73, 0.16) !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-dialog-card :is(
  h3,
  label,
  .eyebrow,
  .dialog-form-note,
  .technical-excel-team-select span,
  .technical-bulk-toolbar span
) {
  color: #14263a !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-dialog-card :is(
  input,
  select,
  textarea
) {
  border-color: #c4d3de !important;
  color: #14263a !important;
  background: #f8fbfd !important;
  -webkit-text-fill-color: #14263a;
  color-scheme: light;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-dialog-card :is(input, textarea)::placeholder {
  color: #718394 !important;
  -webkit-text-fill-color: #718394;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-dialog-card :is(input, select, textarea):focus {
  border-color: #0b7c54 !important;
  box-shadow: 0 0 0 3px rgba(11, 124, 84, 0.16) !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-dialog-card select option {
  color: #14263a;
  background: #ffffff;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-mode-switch {
  border-color: #cbded5 !important;
  background: #eef7f2 !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-mode-switch button {
  color: #426174 !important;
  background: transparent !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-player-mode-switch button.is-active,
html[data-color-mode="light"] #technicalPlayerDialog .technical-excel-upload-button {
  color: #ffffff !important;
  border-color: #0b7c54 !important;
  background: #0b7c54 !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-excel-upload {
  border-color: #cbded5 !important;
  background: #f1faf5 !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-excel-upload :is(strong, span) {
  color: #23445a !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-bulk-table-wrap {
  border-color: #cbd9e2 !important;
  background: #f5f9fb !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-bulk-entry-table :is(th, td) {
  border-color: #d7e2e8 !important;
  color: #203a4e !important;
  background: #ffffff !important;
}

html[data-color-mode="light"] #technicalPlayerDialog .technical-bulk-entry-table th {
  color: #175b43 !important;
  background: #e4f3eb !important;
}

html[data-color-mode="light"] #technicalNewPlayerReviewDialog .technical-new-player-review-card :is(h3, strong, .eyebrow) {
  color: #14263a !important;
}

html[data-color-mode="light"] #technicalNewPlayerReviewDialog .technical-new-player-review-card :is(p, span) {
  color: #596c80 !important;
}

html[data-color-mode="dark"] :is(
  #technicalPlayerDialog .technical-player-dialog-card,
  #technicalNewPlayerReviewDialog .technical-new-player-review-card
) {
  color: #edf5f8 !important;
  border-color: #2b4b61 !important;
  background: #091827 !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-dialog-card :is(
  h3,
  label,
  .eyebrow,
  .dialog-form-note,
  .technical-excel-team-select span,
  .technical-bulk-toolbar span
) {
  color: #edf5f8 !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-dialog-card :is(input, select, textarea) {
  border-color: #3a5c70 !important;
  color: #f1f7fa !important;
  background: #10283a !important;
  -webkit-text-fill-color: #f1f7fa;
  color-scheme: dark;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-dialog-card :is(input, textarea)::placeholder {
  color: #8da2b0 !important;
  -webkit-text-fill-color: #8da2b0;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-dialog-card :is(input, select, textarea):focus {
  border-color: #55d7a0 !important;
  box-shadow: 0 0 0 3px rgba(85, 215, 160, 0.18) !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-dialog-card select option {
  color: #f1f7fa;
  background: #10283a;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-mode-switch {
  border-color: #2b4b61 !important;
  background: #0b1d2c !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-mode-switch button {
  color: #b7c8d2 !important;
  background: transparent !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-player-mode-switch button.is-active,
html[data-color-mode="dark"] #technicalPlayerDialog .technical-excel-upload-button {
  color: #052117 !important;
  border-color: #58dca4 !important;
  background: #58dca4 !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-excel-upload {
  border-color: #2b4b61 !important;
  background: #0b1f2f !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-excel-upload :is(strong, span) {
  color: #dce8ed !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-bulk-table-wrap {
  border-color: #2b4b61 !important;
  background: #071725 !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-bulk-entry-table :is(th, td) {
  border-color: #29475a !important;
  color: #dce8ed !important;
  background: #0b1e2d !important;
}

html[data-color-mode="dark"] #technicalPlayerDialog .technical-bulk-entry-table th {
  color: #bff5dc !important;
  background: #142b3d !important;
}

html[data-color-mode="dark"] #technicalNewPlayerReviewDialog .technical-new-player-review-card :is(h3, strong, .eyebrow) {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #technicalNewPlayerReviewDialog .technical-new-player-review-card :is(p, span) {
  color: #a9bdc9 !important;
}

/* Edzői új játékosok: a technikai kártyán közvetlenül a műveleti gomb alatt. */
html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #cbded5;
  border-radius: 14px;
  color: #14263a;
  background: #f1faf5;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-head,
html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #cbded5;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-head > div,
html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue :is(strong, span, small) {
  color: #23445a !important;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-head > i {
  color: #0b7c54;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-list {
  display: grid;
  gap: 8px;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-item {
  padding: 10px 12px;
  border: 1px solid #d5e3dc;
  border-radius: 10px;
  background: #ffffff;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-item strong {
  color: #14263a !important;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-item span,
html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue > small {
  color: #596c80 !important;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid #0b7c54;
  border-radius: 9px;
  padding: 8px 11px;
  color: #ffffff !important;
  background: #0b7c54;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-button:hover,
html[data-color-mode="light"] #leadershipPanel .technical-new-player-queue-button:focus-visible {
  border-color: #07583d;
  background: #07583d;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #2d7a5b;
  border-radius: 14px;
  color: #edf5f8;
  background: #10382d !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-head,
html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #2d7a5b;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-head > div,
html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue :is(strong, span, small) {
  color: #dce8ed !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-head > i {
  color: #72e5b2 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-list {
  display: grid;
  gap: 8px;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-item {
  padding: 10px 12px;
  border: 1px solid #315269;
  border-radius: 10px;
  background: #102536 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-item strong {
  color: #f5fafb !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-item span,
html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue > small {
  color: #a9bdc9 !important;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid #58dca4;
  border-radius: 9px;
  padding: 8px 11px;
  color: #052117 !important;
  background: #58dca4;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-button:hover,
html[data-color-mode="dark"] #leadershipPanel .technical-new-player-queue-button:focus-visible {
  border-color: #7ff2bf;
  background: #7ff2bf;
}

@media (max-width: 760px) {
  #leadershipPanel .technical-new-player-queue-item {
    align-items: stretch;
    flex-direction: column;
  }

  #leadershipPanel .technical-new-player-queue-button {
    width: 100%;
  }
}

html[data-color-mode="dark"] .payment-destination-card,
html[data-color-mode="dark"] .health-therapy-history li {
  border-color: #315269;
  background: #102536 !important;
}

html[data-color-mode="dark"] .payment-destination-card :is(strong, span, small),
html[data-color-mode="dark"] .health-therapy-history li {
  color: #dce8ed !important;
}

html[data-color-mode="dark"] .payment-sibling-badge,
html[data-color-mode="dark"] .payment-request-pill.pending,
html[data-color-mode="dark"] .payment-base-fee-request-alert,
html[data-color-mode="dark"] .parent-base-fee-status.pending {
  border-color: #8e6d20;
  color: #ffe39a !important;
  background: #3d3218 !important;
}

html[data-color-mode="dark"] .payment-plan-pill.is-full,
html[data-color-mode="dark"] .parent-base-fee-status.handled {
  border-color: #2d7a5b;
  color: #72e5b2 !important;
  background: #10382d !important;
}

html[data-color-mode="dark"] .payment-plan-pill.is-base {
  color: #ff9aa5 !important;
  background: #442128 !important;
}

html[data-color-mode="dark"] #healthPanel .health-player-fee-status.eligible { color: #58dca4 !important; }
html[data-color-mode="dark"] #healthPanel .health-player-fee-status.blocked { color: #ff8895 !important; }
html[data-color-mode="dark"] #healthPanel .healthcare-access-label.eligible { color: #72e5b2 !important; background: #10382d; }
html[data-color-mode="dark"] #healthPanel .healthcare-access-label.blocked { color: #ff9aa5 !important; background: #442128; }

html[data-color-mode="dark"] .health-therapy-mini-stat span,
html[data-color-mode="dark"] .health-therapy-form {
  border-color: #2d7a5b;
  color: #a9bdc9 !important;
  background: #10382d !important;
}

html[data-color-mode="dark"] .health-therapy-mini-stat b,
html[data-color-mode="dark"] .health-therapy-head strong {
  color: #72e5b2 !important;
}

html[data-color-mode="dark"] .health-therapy-head span,
html[data-color-mode="dark"] .health-therapy-empty,
html[data-color-mode="dark"] .health-therapy-form label {
  color: #a9bdc9 !important;
}
