/* Arctic Racing palette, isolated to the legacy-domain preview. */
:root, html.kdb-design-system-v1 {
  --arctic-midnight:#0b1426; --arctic-cobalt:#1557d2; --arctic-ice:#a9ddf5;
  --arctic-lime:#dfff36; --arctic-snow:#f4faff; --preview-pro:#dfff36; --preview-fun:#1557d2;
  --kdb-ds-bg:#0b1426; --kdb-ds-bg-soft:#101d34;
  --kdb-ds-panel-a:rgba(16,29,52,.97); --kdb-ds-panel-b:rgba(11,20,38,.99);
  --kdb-ds-panel-c:rgba(16,29,52,.97); --kdb-ds-accent:#1557d2;
  --kdb-ds-accent-pale:#a9ddf5; --kdb-ds-accent-soft:rgba(21,87,210,.13);
  --kdb-ds-line:rgba(169,221,245,.38); --kdb-ds-line-soft:rgba(169,221,245,.18);
  --kdb-ds-text:#f4faff; --kdb-ds-muted:#a9c9dc;
  --navy-1000:#0b1426; --navy-950:#0b1426; --navy-900:#101d34; --navy-850:#142745; --navy-800:#183558;
  --ice:#f4faff; --text:#f4faff; --muted:#a9c9dc; --cyan:#1557d2; --cyan-2:#a9ddf5; --cyan-deep:#1557d2;
  --line:rgba(169,221,245,.25); --line-strong:rgba(169,221,245,.5); --panel:rgba(11,20,38,.94);
}
body.kdb-design-system-v1.kdb-public-page { --kdb-home-accent:#1557d2; --kdb-home-accent-pale:#a9ddf5; --kdb-home-text:#f4faff; --kdb-home-muted:#a9c9dc; --kdb-home-line:rgba(169,221,245,.38); --kdb-home-line-soft:rgba(169,221,245,.18); --kdb-home-panel-a:rgba(16,29,52,.97); --kdb-home-panel-b:rgba(11,20,38,.99); }
html, body { background-color:var(--arctic-midnight); }
body.kdb-design-system-v1 { background:radial-gradient(circle at 85% 10%,rgba(21,87,210,.15),transparent 35rem),linear-gradient(180deg,#0b1426,#0b1426)!important; color:var(--arctic-snow); }
body.kdb-design-system-v1 .site-header.kdb-global-header { background:linear-gradient(115deg,#0b1426,#10264a 70%,#0b1426)!important; border-bottom-color:rgba(169,221,245,.45)!important; }
body.kdb-design-system-v1 .site-header__brand img { object-fit:contain; }
body.kdb-design-system-v1 :is(.header-register,.site-nav__registration) { background:var(--arctic-cobalt)!important; color:var(--arctic-snow)!important; }
body.kdb-design-system-v1 :is(.site-nav__link,.site-nav a).is-active::after { background:var(--arctic-ice)!important; }
body.kdb-design-system-v1 :is(.kdb-command-shell__identity,.kdb-command-bar) { border-color:rgba(169,221,245,.3)!important; }
body.kdb-design-system-v1 :is(.kdb-center-stage__primary,.ui-button--primary) { background:var(--arctic-cobalt)!important; color:var(--arctic-snow)!important; }
body.kdb-design-system-v1 :is(.kdb-registration-control__hero p,.kdb-registration-control__switch small,.kdb-registration-control__notifications small,.kdb-center-stage__section-head h2) { color:var(--arctic-ice)!important; }
/* Dark blue surfaces derived from Midnight; text and section boundaries stay distinct. */
body.kdb-design-system-v1.kdb-public-page main > .dashboard { background:linear-gradient(180deg,#0b1426,#101d34)!important; }
body.kdb-design-system-v1.kdb-public-page .dashboard > .dash-card { background:linear-gradient(145deg,#14223c,#0b1426)!important; }
body.kdb-design-system-v1.kdb-public-page .dashboard .dash-card__head { background:linear-gradient(90deg,#142747,#101d34)!important; border-color:rgba(169,221,245,.25)!important; }
body.kdb-design-system-v1.kdb-public-page .dashboard > :is(#calendar,#media) .dash-card__head,
body.kdb-design-system-v1.kdb-public-page .dashboard > #pilots .kdb-home-live-v59__head { background:linear-gradient(90deg,#142747,#101d34)!important; border-color:rgba(169,221,245,.25)!important; }
body.kdb-design-system-v1.kdb-public-page .dual-calendar__series { background:linear-gradient(155deg,#14223c,#0b1426)!important; }
body.kdb-design-system-v1.kdb-public-page #pilots .kdb-home-bracket-v1__row { background-color:rgba(16,29,52,.68)!important; }
body.kdb-design-system-v1.kdb-public-page #pilots .kdb-home-bracket-v1__row.is-live { background-image:linear-gradient(90deg,rgba(21,87,210,.35),rgba(16,29,52,.65))!important; }
body.kdb-design-system-v1.kdb-public-page #pilots[data-preview-series="PRO"] .kdb-home-bracket-v1__row.is-live { background-image:linear-gradient(90deg,rgba(223,255,54,.20),rgba(16,29,52,.65))!important; }
body.kdb-design-system-v1 :is(.kdb-center-stage__panel,.kdb-registration-control__switch,.kdb-registration-control__notifications,.kdb-registration-control__fun,.ui-section,.kdb-pilots17-filter,.kdb-pilot17-card,.kdb-reg-series) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.24); }
body.kdb-design-system-v1 :is(.kdb-track-news-v3-2__card,.kdb-track-news-v3-2__content,.kdb-track-news-v3-2__placeholder) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-design-system-v1 .kdb-track-news-v3-2__text { color:var(--arctic-snow)!important; }
body.kdb-design-system-v1 :is(.kdb-track-news-v3-2__date,.kdb-track-news-v3-2__badge,.kdb-track-news-v3-2__placeholder strong) { color:var(--arctic-ice)!important; }
body.kdb-design-system-v1 :is(a,button,input,select,textarea):focus-visible { outline-color:var(--arctic-ice)!important; }
body.kdb-admin-shell { --primary:#1557d2; --secondary:#10264a; --accent:#a9ddf5; --header-bg:#0b1426; --body-bg:#0b1426; --body-fg:#f4faff; --link-fg:#a9ddf5; }
body :is(.kdb-pilots17-series,.ui-tabs) a[href*="series=PRO"] { color:var(--arctic-lime)!important; border-color:var(--arctic-lime)!important; }
body :is(.kdb-pilots17-series,.ui-tabs) a[href*="series=PRO"].is-active,
body .ui-tabs a[href*="series=PRO"].ui-tabs__tab--active { background:var(--arctic-lime)!important; color:var(--arctic-midnight)!important; }
body :is(.kdb-pilots17-series,.ui-tabs) a[href*="series=FUN"] { color:var(--arctic-ice)!important; border-color:var(--arctic-cobalt)!important; }
body :is(.kdb-pilots17-series,.ui-tabs) a[href*="series=FUN"].is-active,
body .ui-tabs a[href*="series=FUN"].ui-tabs__tab--active { background:var(--arctic-cobalt)!important; color:var(--arctic-snow)!important; }
body :is(.kdb-pilots17-hero > span,.ui-eyebrow,.kdb-pro-control__eyebrow) { color:var(--arctic-ice)!important; }
body [data-arctic-series="PRO"] :is(.kdb-center-stage__eyebrow,.kdb-pro-control__eyebrow) { color:var(--arctic-lime)!important; }
body [data-arctic-series="FUN"] :is(.kdb-center-stage__eyebrow,.kdb-pro-control__eyebrow) { color:var(--arctic-ice)!important; }
body [data-arctic-series="PRO"] :is(.ui-eyebrow,.ui-stat__value,.kdb-dual-v18-7-1__eyebrow,.kdb-dual-v18-7-1__counter) { color:var(--arctic-lime)!important; }
body.kdb-design-system-v1 .kdb-public-qualification-page [data-arctic-series="PRO"] .ui-hero .ui-eyebrow { color:var(--arctic-lime)!important; }
body [data-arctic-series="FUN"] :is(.ui-eyebrow,.ui-stat__value,.kdb-dual-v18-7-1__eyebrow,.kdb-dual-v18-7-1__counter) { color:var(--arctic-ice)!important; }
body .kdb-public-qualification-page :is(.ui-stat,.kdb-dual-v18-7-1__panel,.kdb-dual-v18-7-1__panel-head,.kdb-dual-v18-7-1__live) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.24)!important; }
body .kdb-public-qualification-page .kdb-dual-v18-7-1__panel--order { border-top-color:var(--arctic-lime)!important; }
body .kdb-public-qualification-page .kdb-dual-v18-7-1__table th { background:#0b1426!important; border-color:rgba(169,221,245,.18)!important; }
body .kdb-public-qualification-page .kdb-dual-v18-7-1__table tbody tr:not(.is-live) { background:#101d34!important; }
body .kdb-public-qualification-page .kdb-dual-v18-7-1__table td { border-color:rgba(169,221,245,.14)!important; }
body .kdb-center-stage__table tr:has([data-stage-series="PRO"]) td small { color:var(--arctic-lime)!important; }
body .kdb-center-stage__table tr:has([data-stage-series="FUN"]) td small { color:var(--arctic-ice)!important; }
body .kdb-reg-series-nav a[href="#pro"] :is(strong,b),
body #pro.kdb-reg-series :is(h2, h2 em, .kdb-reg-facts strong, .kdb-reg-reader header strong) { color:var(--arctic-lime)!important; }
body .kdb-reg-series-nav a[href="#pro"], body #pro.kdb-reg-series { border-color:rgba(223,255,54,.65)!important; }
body .kdb-reg-series-nav a[href="#fun"] :is(strong,b),
body #fun.kdb-reg-series :is(h2, h2 em, .kdb-reg-facts strong, .kdb-reg-reader header strong) { color:var(--arctic-ice)!important; }
body .kdb-reg-series-nav a[href="#fun"], body #fun.kdb-reg-series { border-color:var(--arctic-cobalt)!important; }
body :is(.dual-calendar__series--pro,.series-pro,[data-series="PRO"],[data-preview-series="PRO"]) { --series-color:var(--arctic-lime); }
body :is(.dual-calendar__series--fun,.series-fun,[data-series="FUN"],[data-preview-series="FUN"]) { --series-color:var(--arctic-cobalt); }
body .dual-calendar__series--pro > header b { background:var(--arctic-lime)!important; color:var(--arctic-midnight)!important; }
body .dual-calendar__series--fun > header b { background:var(--arctic-cobalt)!important; color:var(--arctic-snow)!important; }
body .dual-calendar__series--pro li em, body .dual-calendar__series--pro .kdb17-calendar-meta { color:var(--arctic-lime)!important; }
body .dual-calendar__series--fun li em, body .dual-calendar__series--fun .kdb17-calendar-meta { color:var(--arctic-ice)!important; }
body :is(.kdb-home-standings-v1__series,.kdb-home-regulations-v1__series) span:first-child { color:var(--arctic-lime)!important; border-color:var(--arctic-lime)!important; }
body :is(.kdb-home-standings-v1__series,.kdb-home-regulations-v1__series) span:nth-child(2) { color:var(--arctic-ice)!important; border-color:var(--arctic-cobalt)!important; }
body #pilots[data-preview-series="PRO"] { border-color:var(--arctic-lime)!important; }
body #pilots[data-preview-series="PRO"]::before { background:var(--arctic-lime)!important; }
body #pilots[data-preview-series="PRO"] [data-kdb-home-live-v59-title] em, body #kdb-live-v18[data-preview-series="PRO"] .kdb-live-v18__division { color:var(--arctic-lime)!important; }
body #pilots[data-preview-series="FUN"] { border-color:var(--arctic-cobalt)!important; }
body #pilots[data-preview-series="FUN"]::before { background:var(--arctic-cobalt)!important; }
body #pilots[data-preview-series="FUN"] [data-kdb-home-live-v59-title] em, body #kdb-live-v18[data-preview-series="FUN"] .kdb-live-v18__division { color:var(--arctic-ice)!important; }

/* Dedicated components which have their own legacy color schemes. */
body.kdb-bracket-v10 {
  --kdb-v10-bg:#0b1426; --kdb-v10-bg-soft:#101d34;
  --kdb-v10-panel-a:#142745; --kdb-v10-panel-b:#0b1426; --kdb-v10-panel-c:#14223c;
  --kdb-v10-accent:#a9ddf5; --kdb-v10-accent-2:#1557d2;
  --kdb-v10-line:rgba(169,221,245,.36); --kdb-v10-line-soft:rgba(169,221,245,.18);
  --kdb-v10-text:#f4faff; --kdb-v10-muted:#a9c9dc; --kdb-v10-dim:#87a8bf;
}
body.kdb-bracket-v10 .kdb-pro-public__hero { background:linear-gradient(120deg,#142b54,#0b1426)!important; }
body.kdb-bracket-v10 .kdb-pro-public__hero h1 { color:#a9ddf5!important; }
body.kdb-bracket-v10 .kdb-pro-public__hero::after { background:#1557d2!important; box-shadow:none!important; }
body.kdb-bracket-v10 .kdb-pro-public__signal.is-live { background:#1557d2!important; color:#f4faff!important; }
body.kdb-bracket-v10 :is(.kdb-pro-public__live,.kdb-pro-public__match,.kdb-pro-public__podium,.kdb-pro-public__empty) { background:linear-gradient(145deg,#14223c,#0b1426)!important; }
body.kdb-bracket-v10 :is(.kdb-pro-public__summary,.kdb-pro-public__live-head) { background:#101d34!important; }
body.kdb-bracket-v10 .kdb-pro-public__tabs button.is-active { background:#1557d2!important; color:#f4faff!important; }
body.kdb-design-system-v1.kdb-public-page #kdb-live-v18 { background:linear-gradient(135deg,#142745,#0b1426)!important; border-color:rgba(169,221,245,.35)!important; }
body.kdb-design-system-v1.kdb-public-page #kdb-live-v18 :is(.kdb-live-v18__grid,.kdb-live-v18__cell) { background:transparent!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-design-system-v1.kdb-public-page #kdb-live-v18 .kdb-live-v18__label { color:#a9ddf5!important; }
body.kdb-design-system-v1:is(.kdb-pilots-v17,.kdb-pilot-detail17) :is(.kdb-pilots17-filter,.kdb-pilot17-card,.kdb-pilot17-hero,.kdb-pilot17-story__text,.kdb-pilot17-story__car,.kdb-pilots17-empty) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.25)!important; }
body.kdb-design-system-v1:is(.kdb-pilots-v17,.kdb-pilot-detail17) :is(.kdb-pilot17-card__portrait,.kdb-pilot17-card__car,.kdb-pilot17-card__placeholder,.kdb-pilot17-hero__portrait,.kdb-pilot17-car-placeholder,.kdb-pilots17-filter input) { background:#0b1426!important; }
body.kdb-design-system-v1:is(.kdb-pilots-v17,.kdb-pilot-detail17) :is(.kdb-pilot17-card__body small,.kdb-pilot17-story__text>span,.kdb-pilot17-hero__copy>span,.kdb-pilot17-back,.kdb-pilot17-achievements h3) { color:#a9ddf5!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-series a.is-active:not([href*="series="]), body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-filter button { background:#1557d2!important; color:#f4faff!important; border-color:#1557d2!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilot17-card__badges span { background:#1557d2!important; color:#f4faff!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilot17-card[data-arctic-series="PRO"] .kdb-pilot17-card__badges span { background:#dfff36!important; color:#0b1426!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-grid { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.24)!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-series a[href*="series=PRO"] { color:#dfff36!important; border-color:rgba(223,255,54,.6)!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-series a[href*="series=FUN"] { color:#a9ddf5!important; border-color:#1557d2!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-series a[href*="series=PRO"].is-active { background:#dfff36!important; color:#0b1426!important; }
body.kdb-design-system-v1.kdb-pilots-v17 .kdb-pilots17-series a[href*="series=FUN"].is-active { background:#1557d2!important; color:#f4faff!important; }
body.kdb-design-system-v1.kdb-public-page .weather-tower.weather-tower--on-banner { background:linear-gradient(150deg,#142745,#0b1426)!important; border-color:rgba(169,221,245,.32)!important; }
body.kdb-design-system-v1.kdb-public-page .weather-tower :is(small,span) { color:#a9ddf5!important; }

/* Shared tables, forms, organizer navigation and per-series surfaces. */
body.kdb-design-system-v1 :is(.kdb-command-shell,.kdb-command-shell__identity,.kdb-command-bar,.kdb-command-bar a) { background:#101d34!important; border-color:rgba(169,221,245,.18)!important; }
body.kdb-design-system-v1 .kdb-command-bar a.is-active { background:#142745!important; }
body.kdb-design-system-v1 .kdb-command-bar a.is-active::after { background:#1557d2!important; }
body.kdb-design-system-v1 :is(.ui-stat,.ui-card,.ui-table-wrap,.kdb-registration-closed,.kdb-fees__panel,.kdb-fees__stats article) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.22)!important; }
body.kdb-design-system-v1 :is(.ui-table th,.kdb-fees thead th) { background:#101d34!important; color:#a9ddf5!important; border-color:rgba(169,221,245,.18)!important; }
body.kdb-design-system-v1 :is(.ui-table td,.kdb-fees tbody td) { border-color:rgba(169,221,245,.15)!important; }
body.kdb-design-system-v1 :is(.ui-table tbody tr:not(.is-live),.kdb-fees tbody tr) { background:#101d34!important; }
body.kdb-design-system-v1 :is(.ui-field input,.ui-field select,.kdb-fees input:not([type=checkbox]):not([type=hidden]),.kdb-fees select) { background:#0b1426!important; color:#f4faff!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-design-system-v1 :is(.ui-button--primary,.kdb-fees__filters button,.ui-tabs__tab--active:not([href*="series="])) { background:#1557d2!important; color:#f4faff!important; border-color:#1557d2!important; }
body.kdb-design-system-v1 :is(.ui-title em,.ui-section__title,.ui-eyebrow,.kdb-registration-closed__mark) { color:#a9ddf5!important; }
body.kdb-design-system-v1 [data-arctic-series="PRO"] :is(.ui-title em,.ui-stat__value,.kdb-fees__eyebrow,.kdb-fees__section-head h2) { color:#dfff36!important; }
body.kdb-design-system-v1 [data-arctic-series="FUN"] :is(.ui-title em,.ui-stat__value,.kdb-fees__eyebrow,.kdb-fees__section-head h2) { color:#a9ddf5!important; }
body.kdb-design-system-v1 [data-arctic-series="PRO"] .kdb-fees__series-tag { background:#dfff36!important; color:#0b1426!important; }
body.kdb-design-system-v1 [data-arctic-series="FUN"] .kdb-fees__series-tag { background:#1557d2!important; color:#f4faff!important; }
body.kdb-design-system-v1 .kdb-season-top-scroll__track { background:#1557d2!important; }
body.kdb-bracket-v10[data-arctic-series="PRO"] { --kdb-v10-accent:#dfff36; --kdb-v10-accent-2:#dfff36; }
body.kdb-bracket-v10[data-arctic-series="PRO"] .kdb-pro-public__hero h1 { color:#dfff36!important; }
body.kdb-bracket-v10[data-arctic-series="PRO"] .kdb-pro-public__hero::after, body.kdb-bracket-v10[data-arctic-series="PRO"] .kdb-pro-public__signal.is-live, body.kdb-bracket-v10[data-arctic-series="PRO"] .kdb-pro-public__tabs button.is-active { background:#dfff36!important; color:#0b1426!important; }
/* Race Control: use the same neutral surfaces while retaining operational status colors. */
body.kdb-design-system-v1 .kdb-civilian-page { --civilian-bg:#0b1426; --civilian-panel:#14223c; --civilian-cyan:#a9ddf5; --civilian-text:#f4faff; --civilian-muted:#a9c9dc; --civilian-line:rgba(169,221,245,.3); --civilian-line-soft:rgba(169,221,245,.15); }
body.kdb-design-system-v1 :is(.kdb-civilian-strip>div,.kdb-civilian-live-metric,.kdb-civilian-workspace,.kdb-civilian-dialog,.kdb-pro-control__summary>div,.kdb-pro-control__workspace,.kdb-pro-control__round-info,.kdb-pro-control__rules,.kdb-judge-panel,.kdb-stage-protocol-entry) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.24)!important; }
body.kdb-design-system-v1 :is(.kdb-civilian-table th,.kdb-civilian-table td) { border-color:rgba(169,221,245,.15)!important; }
body.kdb-design-system-v1 .kdb-civilian-table th { background:#101d34!important; color:#a9ddf5!important; }
body.kdb-design-system-v1 .kdb-civilian-table tbody tr { background:#101d34!important; }
body.kdb-design-system-v1 :is(.kdb-civilian-button,.kdb-civilian-filters button.is-active,.kdb-judge-panel button) { background:#1557d2!important; color:#f4faff!important; border-color:#1557d2!important; }
body.kdb-design-system-v1 :is(.kdb-civilian-filters button:not(.is-active),.kdb-civilian-eyebrow,.kdb-civilian-live-metric strong,.kdb-judge-panel__head h2,.kdb-pro-control__round-info h2) { color:#a9ddf5!important; }
body.kdb-design-system-v1 :is(.kdb-civilian-toolbar input,.kdb-civilian-dialog input,.kdb-civilian-dialog select,.kdb-judge-panel input) { background:#0b1426!important; color:#f4faff!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-design-system-v1 .kdb-premium-ui :is(.ui-stat,.ui-section,.ui-table-wrap), body.kdb-design-system-v1.kdb-pro-control-page .kdb-pro-control__summary article { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.22)!important; }
body.kdb-design-system-v1.kdb-pro-control-page :is(.kdb-judge-panel,.kdb-judge-panel__head,.kdb-pro-control__workspace-head) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.22)!important; }
body.kdb-design-system-v1 .kdb-premium-ui [data-arctic-series="PRO"] .ui-eyebrow, body.kdb-design-system-v1 .kdb-premium-ui[data-arctic-series="PRO"] .ui-eyebrow { color:#dfff36!important; }
body.kdb-design-system-v1.kdb-pro-control-page [data-arctic-series="PRO"] :is(.kdb-pro-control__eyebrow,.kdb-judge-panel__head h2) { color:#dfff36!important; }
body.kdb-design-system-v1.kdb-pro-control-page [data-arctic-series="FUN"] :is(.kdb-pro-control__eyebrow,.kdb-judge-panel__head h2) { color:#a9ddf5!important; }
body.kdb-design-system-v1.kdb-marshal-page .kdb-stage-points-page .kdb-premium-ui :is(.ui-stat,.ui-section,.ui-table-wrap) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.25)!important; }
body.kdb-design-system-v1.kdb-marshal-page .kdb-stage-points-page .kdb-premium-ui :is(.ui-eyebrow,.ui-section__title,.ui-stat__value) { color:#dfff36!important; }
body.kdb-design-system-v1.kdb-marshal-page .kdb-civilian-page :is(.kdb-civilian-strip>div,.kdb-civilian-live-metric,.kdb-civilian-workspace) { background:linear-gradient(145deg,#14223c,#0b1426)!important; }
body.kdb-design-system-v1.kdb-pro-control-page .kdb-pro-control .kdb-pro-control__summary article { background:linear-gradient(145deg,#14223c,#0b1426)!important; }
body.kdb-design-system-v1.kdb-pro-control-page .kdb-pro-control :is(.kdb-judge-panel,.kdb-judge-panel__head,.kdb-pro-control__workspace) { background:linear-gradient(145deg,#14223c,#0b1426)!important; }
body.kdb-admin-shell :is(#header,.kdb16-hero,.kdb16-action:not(:first-child),.kdb16-section,.kdb16-hero__user,.module,.inline-group,.form-row) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.24)!important; }
body.kdb-admin-shell .kdb16-hero h1 { color:#a9ddf5!important; }
body.kdb-admin-shell .kdb16-hero h1 strong { color:#f4faff!important; }
body.kdb-admin-shell :is(.kdb16-action__badge,.kdb16-section__eyebrow) { color:#a9ddf5!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-admin-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { background:#0b1426!important; color:#f4faff!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-admin-shell :is(.submit-row input[type=submit],.submit-row button[type=submit],a.button) { background:#1557d2!important; color:#f4faff!important; }
body.kdb-design-system-v1 :is(.kdb-reg-series-nav a,.kdb-reg-series header,.kdb-reg-facts article,.kdb-reg-reader,.kdb-reg-reader header) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.23)!important; }
body.kdb-design-system-v1 #pro .kdb-reg-facts article { border-left-color:#dfff36!important; }
body.kdb-design-system-v1 #fun .kdb-reg-facts article { border-left-color:#1557d2!important; }
body.kdb-design-system-v1 .kdb-reg-series-nav a[href="#pro"] { border-color:rgba(223,255,54,.65)!important; }
body.kdb-design-system-v1 .kdb-reg-series-nav a[href="#fun"] { border-color:#1557d2!important; }
body.kdb-design-system-v1.kdb-pilot-detail17 .kdb-pilot17-hero__copy h1 { color:#f4faff!important; }
body.kdb-design-system-v1.kdb-pilot-detail17 .kdb-pilot17-back { background:#1557d2!important; color:#f4faff!important; border-color:#1557d2!important; }
body.kdb-design-system-v1.kdb-pilot-detail17 .kdb-pilot17-number { color:rgba(169,221,245,.08)!important; }
body.kdb-design-system-v1.kdb-public-page.kdb-pilot-detail17 .kdb-pilot17-back.kdb-public-action { background:#1557d2!important; color:#f4faff!important; }
body.kdb-admin-shell #content h1 { color:#a9ddf5!important; }
body.kdb-admin-shell :is(.breadcrumbs,.submit-row,.module .fieldset-heading,.module h2,.module caption) { background:linear-gradient(105deg,#142745,#101d34)!important; border-color:rgba(169,221,245,.25)!important; color:#f4faff!important; }
body.kdb-admin-shell .breadcrumbs a { color:#a9ddf5!important; }
/* Organizer wizards and their form cards. */
body.kdb-admin-shell :is(.kdb-q-hero,.kdb-q-card,.kdb-q-tabs,.kdb-q-help section,.kdb-q-sessions,.kdb-wizard__hero,.kdb-form-card,.kdb-wizard__help section) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.25)!important; }
body.kdb-admin-shell :is(.kdb-q-counter,.kdb-q-checkbox,.kdb-participant-counter,.kdb-checkbox-grid) { background:rgba(169,221,245,.06)!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-admin-shell :is(.kdb-q-hero h1,.kdb-q-hero h2,.kdb-q-hero small,.kdb-q-card h2,.kdb-q-card h3) { color:#dfff36!important; }
body.kdb-admin-shell .kdb-q-tabs a.is-active { background:#1557d2!important; color:#f4faff!important; }
body.kdb-admin-shell :is(#changelist,#changelist-filter,#changelist-search,.paginator,#result_list,#result_list tbody tr,#result_list tbody td,#result_list tbody th) { background:#101d34!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-admin-shell :is(#result_list thead th,#changelist-filter h2) { background:#142745!important; color:#f4faff!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-admin-shell #changelist-filter a { color:#a9ddf5!important; }
body.kdb-admin-shell #content .kdb-q-hero h1 { color:#dfff36!important; }
body.kdb-bracket-v10 .kdb-pro-public__tabs button:not(.is-active), body.kdb-bracket-v10 .kdb-pro-public__tabs-control { background:#101d34!important; color:#a9ddf5!important; border-color:rgba(169,221,245,.24)!important; }
body.kdb-admin-shell #result_list tbody :is(th a,td a) { color:#a9ddf5!important; }
body.kdb-design-system-v1.kdb-dog-game-page :is(.game-shell,.game-hud,.game-controls,.game-note,.game-overlay__card) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-design-system-v1.kdb-dog-game-page :is(.game-intro__eyebrow,.game-overlay__eyebrow,.game-controls b) { color:#a9ddf5!important; }
body.kdb-design-system-v1.kdb-dog-game-page :is(#game-start,.game-intro__back) { background:#1557d2!important; color:#f4faff!important; border-color:#1557d2!important; }
/* Dynamically loaded marshal match cards: preserve live and winner states. */
body.kdb-pro-control-page .kdb-pro-control__match:not(.is-live) { background:#101d34!important; border-color:rgba(169,221,245,.19)!important; }
body.kdb-pro-control-page .kdb-pro-control__match:not(.is-live) .kdb-pro-control__match-number { background:#142745!important; color:#a9ddf5!important; }
body.kdb-pro-control-page .kdb-pro-control__pilot:not(.is-winner) { background:#14223c!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-pro-control-page .kdb-pro-control__action:not(:disabled):not(.is-live):not(.kdb-pro-control__action--reset) { background:#142745!important; color:#f4faff!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-pro-control-page .kdb-pro-control__match:not(.is-live) .kdb-judging__toggle { background:linear-gradient(90deg,#142745,#101d34)!important; border-color:rgba(169,221,245,.18)!important; }
body.kdb-pro-control-page [data-arctic-series="FUN"] .kdb-pro-control__seed { background:#1557d2!important; color:#f4faff!important; }
body.kdb-pro-control-page [data-arctic-series="PRO"] .kdb-pro-control__seed { background:#dfff36!important; color:#0b1426!important; }
body.kdb-pro-control-page .kdb-pro-control__match.is-live { background:#10264a!important; border-color:#1557d2!important; }
body.kdb-pro-control-page .kdb-pro-control__match.is-live .kdb-pro-control__match-number { background:#142b54!important; color:#a9ddf5!important; }
body.kdb-pro-control-page .kdb-pro-control__action--reset { background:#101d34!important; border-color:rgba(169,221,245,.25)!important; }
body.kdb-pro-control-page .kdb-judging__toggle { background:linear-gradient(90deg,#142745,#101d34)!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-pro-control-page :is(.kdb-judging__drawer,.kdb-judging__note,.kdb-judging__judge) { background:#101d34!important; border-color:rgba(169,221,245,.2)!important; }
body.kdb-pro-control-page .kdb-judging__note textarea { background:#0b1426!important; color:#f4faff!important; border-color:rgba(169,221,245,.3)!important; }
body.kdb-pro-control-page .kdb-judging__vote:not(.is-selected) { background:#0b1426!important; border-color:rgba(169,221,245,.25)!important; }
@media screen {
body.kdb-design-system-v1.kdb-marshal-page .kdb-stage-protocol-page :is(.ui-section__head,.ui-stat,.ui-section) { background:linear-gradient(145deg,#14223c,#0b1426)!important; border-color:rgba(169,221,245,.22)!important; }
body.kdb-design-system-v1.kdb-marshal-page .kdb-stage-protocol-page[data-arctic-series="PRO"] .ui-eyebrow { color:#dfff36!important; }
body.kdb-design-system-v1.kdb-marshal-page .kdb-stage-protocol-page[data-arctic-series="FUN"] .ui-eyebrow { color:#a9ddf5!important; }
}
/* One shared Midnight background, including organizer pages; the artwork is the preview hero. */
body.kdb-design-system-v1.kdb-marshal-page, body.kdb-design-system-v1.kdb-public-page, body.kdb-design-system-v1.kdb-pro-control-page {
 background-image:linear-gradient(110deg,rgba(11,20,38,.96),rgba(11,20,38,.92)),url('/static/core/images/arctic-preview/hero.png')!important;
 background-color:#0b1426!important; background-position:center top!important; background-size:cover!important; background-repeat:no-repeat!important; background-attachment:fixed!important;
}
body.kdb-design-system-v1.kdb-public-page::before { background:linear-gradient(180deg,rgba(11,20,38,.30),rgba(11,20,38,.8)),repeating-linear-gradient(124deg,transparent 0 210px,rgba(169,221,245,.025) 210px 214px,transparent 214px 350px)!important; }
@media (max-width:820px) { body.kdb-design-system-v1.kdb-marshal-page,body.kdb-design-system-v1.kdb-public-page,body.kdb-design-system-v1.kdb-pro-control-page {background-attachment:scroll!important;} }
