/* Canonical shared theme. public/templates/css/ukv_theme.css is an exact release copy.
   Overrides are screen-only: documents and printouts keep their original colors. */
.ukv-theme-picker { display:none; }
html.ukv-theme-ready button.ukv-theme-picker {
    display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px;
    width:44px; height:44px; min-height:44px; max-width:44px; margin:0; padding:10px;
    border:1px solid #9aafbf; border-radius:50%; background:#f5f9fc; color:#264b60;
    box-shadow:none; cursor:pointer; vertical-align:middle;
}
html.ukv-theme-ready button.ukv-theme-picker:hover { background:#e4eff6; border-color:#62869c; }
html.ukv-theme-ready button.ukv-theme-picker:focus-visible { outline:3px solid #0787b1; outline-offset:3px; }
button.ukv-theme-picker svg { display:block; width:22px; height:22px; flex:none; pointer-events:none; }
button.ukv-theme-picker .ukv-theme-sun { display:none; }
html[data-ukv-theme="dark"] button.ukv-theme-picker .ukv-theme-sun { display:block; }
html[data-ukv-theme="dark"] button.ukv-theme-picker .ukv-theme-moon { display:none; }
.ukv-site-header-actions { flex-wrap:wrap; }
.ukv-theme-admin-bar { display:flex; justify-content:flex-end; padding:8px 14px; background:#edf3f7; }
.ukv-theme-portal-bar { margin:14px 8px; }
html.ukv-theme-ready .side-nav .ukv-theme-picker { color:#e4edf6; }
.ukv-theme-auth-bar { display:flex; justify-content:flex-end; margin-bottom:20px; }
@media screen {
    html[data-ukv-theme="light"] { color-scheme:light; }
    html[data-ukv-theme="dark"] {
        color-scheme:dark;
        --ink:#e4edf6; --muted:#adbdce; --line:#3c5063; --bg:#101822;
        --surface:#182432; --soft:#223345; --brand:#08769b; --brand2:#146580;
        --ukv-theme-text:#e4edf6; --ukv-theme-link:#8fd9f3;
    }
    html[data-ukv-theme="dark"] body { background:#101822 !important; color:var(--ink) !important; }
    html[data-ukv-theme="dark"] :is(input:not([type="image"]):not([type="submit"]):not([type="button"]),select,textarea) {
        background-color:#111c28 !important; color:#e4edf6 !important; border-color:#60758a !important;
        accent-color:#62c8e9;
    }
    html[data-ukv-theme="dark"] :is(input,textarea)::placeholder { color:#a8b9cb; opacity:1; }
    html[data-ukv-theme="dark"] :is(input,select,textarea):disabled { color:#a8b9cb !important; background-color:#283441 !important; }
    html[data-ukv-theme="dark"] :is(a:not(.button):not([class*="role-"]),label,legend,summary) { color:#8fd9f3; }
    html[data-ukv-theme="dark"] :is(h1,h2,h3,h4,h5,h6) { color:#e4edf6; }
    html[data-ukv-theme="dark"] :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #ffdc72; outline-offset:3px; }
    html[data-ukv-theme="dark"].ukv-theme-ready button.ukv-theme-picker { background:#203448 !important; color:#ffe09a !important; border-color:#60758a !important; }
    html[data-ukv-theme="dark"].ukv-theme-ready button.ukv-theme-picker:hover { background:#2b455b !important; border-color:#9aafbf !important; }
    html[data-ukv-theme="dark"] .ukv-theme-admin-bar { background:#182432; }
    /* Public site: native shells and JoomLeague tables, without filtering media. */
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#page-bg,#mainbody,#main-shadow,#main-shadow2,#header,#main-content,#main-content2,#maincol2,td.maincol,td.leftcol,td.rightcol,#content-padding,.contentpaneopen,.contentpane,.module,.module>div,.module>div>div,.module>div>div>div,.ukv-site-metric-slot>div) {
        background:#182432 !important; color:#e4edf6 !important; border-color:#3c5063 !important;
    }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.ukv-site-brand,.ukv-site-brand-name,.componentheading,.contentheading,.contentheading a,.kvl-eyebrow,.stolychny-eyebrow,.stolychny-championship,.kvl-services-title,.kvl-archive-label,#kvl-archive a,#kvl-archive-title) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#sub-menu a,.module a,#content-padding a,.kvl-parent-link,.stolychny-parent-link) { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#horiz-menu,#sub-menu ul.menu,.kvl-services,.kvl-navigation,.kvl-archive-content,.kvl-archive summary,.ukv-cup__hero,.ukv-cup__navigation,.ukv-cup__match,.ukv-cup__team-mark) { background:#203448 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#horiz-menu a,.kvl-services .kvl-service-link,.ukv-cabinet-button) { background:#173e50 !important; color:#d7f4ff !important; border-color:#568394 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#horiz-menu .active a,#horiz-menu a:hover,#sub-menu li.active>a,#sub-menu a:hover,.kvl-service-link:hover,.kvl-archive summary:hover) { background:#295468 !important; color:#fff !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.sectiontableheader,table th) { background:#284154 !important; color:#e4edf6 !important; border-color:#4b6277 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.sectiontableentry1,.sectiontableentry1 td,.sectiontableentry2,.sectiontableentry2 td,#joomleague table td,.ukv-cup__match) { background-color:#182432 !important; color:#e4edf6 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.sectiontableentry2,.sectiontableentry2 td) { background-color:#223345 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.kvl-archive-description,.small,.createdate,.modifydate,.contentpaneopen p) { color:#adbdce !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site .kvl-logo { background:#f7fbf8; border-radius:12px; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .role-home-card { background:#182432 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#sub-menu ul.menu a,#kvl-archive a,.stolychny-card,.ukv-cup__participants) { background:#203448 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#sub-menu ul.menu li.active a,#kvl-archive a[aria-current="page"]) { background:#305b70 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.kvl-eyebrow>span,.stolychny-kicker,.stolychny-intro,.stolychny-card-caption,.ukv-cup__legend span,.ukv-cup__subtitle,.ukv-cup__eyebrow) { color:#adbdce !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #content-padding :is(a.ukv-news-button,a.article_link_btn) { color:#fff !important; background-color:#195b72 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #content-padding a.ukv-news-button--yellow { background-color:#f4c430 !important; color:#172330 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .role-home-card.team .role-chip { background:#915009; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.stolychny-card-arrow,.ukv-cup__participants p,.ukv-cup__participants span) { color:#adbdce !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site .back_button a { background:#203448 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.topbar-help,.topbar-notifications,.referee-intake-section-heading,.referee-intake-notice)>img { filter:brightness(0) invert(1); }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(h1,h2,h3,h4,h5,h6) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #sub-menu .module-clean { background:#182432 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.cabinet-push,.cabinet-push-intro,.cabinet-push-help) { background:#203448 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.cabinet-push,.cabinet-push-intro) :is(p,small,ol,li,.cabinet-push-note,.cabinet-push-status) { color:#c4d4e3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.cabinet-push,.cabinet-push-intro) :is(strong,h2,a,.cabinet-push-label) { color:#d7f4ff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-intro>img { filter:brightness(0) invert(1); }
    /* Public competition/profile components carry their own hard-coded light colors. */
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#joomleague,#jlg_matchreport) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.ukv-height,.ukv-height-unit,.ukv-birth-block,.ukv-birth-date,.ukv-birth-age,.ukv-number) { color:#c3d5e6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague .ukv-player-name { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.ukv-birth-age-under18,[style*="#800000"]) { color:#ffaaa8 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.ukv-team-profile-heading,.ukv-team-roster-empty,.ukv-players-list,.ukv-staff-list,.ukv-team-description) { background:#203448 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.ukv-team-roster-empty strong,.ukv-team-roster-empty span) { color:#c3d5e6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.ukv-players-list,.ukv-staff-list) .sectiontableentry2 td { background:#223345 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague .ukv-position-header>td { background:#284154 !important; color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague img.ukv-team-title-logo { background:#f7fbff !important; border-radius:6px; padding:4px; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.jl-card,.jl-location,.jl-section-item,.jl-section-empty,.jl-spoiler,.jl-spoiler>summary,.jl-meta li,.jl-badges li,.jl-section-badges li,.jl-actions .jl-light,.jl-location-tools a) { background:#203448 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.jl-meta-value,.jl-richtext,.jl-location-meta li,.jl-section-item dd) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague :is(.jl-club-subtitle,.jl-meta-label,.jl-note,.jl-section-item dt) { color:#bdcddd !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague .jl-spoiler>summary::after { color:#b4e8fa !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.ukv-cup__participant-list li,.ukv-cup__empty,.ukv-cup__empty>span) { background:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site .ukv-cup__participant-list :is(strong,small) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site .ukv-cup__empty p { color:#bdcddd !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.spoil,.spoil .sp_top,.spoil .sp_button,.spoil .smallfont input) { background:#203448 !important; color:#e4edf6 !important; border-color:#60758a !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.spoil .sp_span,.spoil .sp_text) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#joomleague .tab,#jlg_matchreport .tab,.kvl-archive-content>.kvl-archive-list>li) { background:#203448 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(#joomleague .tab.selected,#jlg_matchreport .tab.selected) { background:#305b70 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site #ukv_online { color:#ffaaa8 !important; }
    /* Monochrome attendance glyph only; preserve coloured event icons and photographs. */
    html[data-ukv-theme="dark"] body.ukv-modern-site #joomleague .ukv-position-header img[src$="/images/shirt.png"] { filter:brightness(0) invert(1); }
    html[data-ukv-theme="dark"] body.ukv-modern-site :is(.module,.module-hilite1,.module-hilite2,.module-hilite3,.module-hilite4,.module-hilite5) h3 { background:#203448 !important; }
    html[data-ukv-theme="dark"] body.ukv-modern-site a.readon { background:#203448 !important; border:1px solid #526f86; border-radius:6px; }
    /* Operational cards include light gradients: replace the whole background, not only its color. */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.summary-card,.action-card) { background:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-card.primary-action { background:#203c4d !important; border-color:#689fb6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.summary-card,.action-card):is(:hover,:focus-visible) { background:#29465c !important; border-color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.summary-card,.action-card) strong { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.summary-card,.action-card) :is(.meta,small) { color:#bdcddd !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .summary-action { background:#24485b !important; color:#d7f4ff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.summary-action b,.summary-arrow,.action-card>b) { color:#b4e8fa !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.heading-with-icon,.summary-card,.action-card,.operational-audit>summary)>img { background:transparent !important; filter:brightness(0) invert(1); }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .audit-explanation { background:#223345 !important; color:#bdcddd !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-audit>summary::after { background:#223345 !important; color:#b4e8fa !important; }
    /* Review notices also contain paragraphs, links and expandable explanations. */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notice-small { background:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notice-small :is(p,li,strong,small,span,summary,a:not(.button)) { color:inherit !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reviewer-filter-chip { background:#223345 !important; color:#b4e8fa !important; border-color:#60758a !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reviewer-filter-chip:is(:hover,:focus-visible) { background:#29465c !important; color:#e4edf6 !important; border-color:#8fd9f3 !important; }
    /* Legacy administration has bitmap chrome, component-specific ink and native controls. */
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.page,#topper,#wrapper,#top-toolbar,#main_body,#footer,.login,.login-form,.form-block,.adminform,.adminlist,.adminheading,.menubar,.menubackgr,.tab-page,.tab-row,.joopage,.ui-widget-content,.ui-dialog,.ui-dialog-content,#content-box,#content-pad,.stepbar,#step,#installer,.install-body,.moofx-slider) { background-color:#182432 !important; color:#e4edf6 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(td,th,fieldset,.pkey,.key) { color:#e4edf6 !important; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(h1,h2,h3,h4,h5,h6,.adminheader,.step,.step-on,.step-on_new,.install-text,.install-text2,.quote) { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(table.adminheading th,table.adminlist th,table.adminform th,.tabheading,.ui-widget-header) { background:#284154 !important; color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.row0,.row0 td,.pkey,.key,table.adminlist td.options) { background-color:#182432 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.row1,.row1 td) { background-color:#223345 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.adminlist,.adminform) tr:is(.row0,.row1):hover>td { background-color:#29465c !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(#adminlist tr.selected>td,.adminlist tr.selected>td) { background-color:#30576e !important; color:#fff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is([class*="ThemeOffice"]) { background:#203448 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.ThemeOfficeMainItemHover,.ThemeOfficeMainItemActive,.ThemeOfficeMenuItemHover,.ThemeOfficeMenuItemActive),
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.ThemeOfficeMainItemHover,.ThemeOfficeMainItemActive,.ThemeOfficeMenuItemHover,.ThemeOfficeMenuItemActive) :is(td,a) { background:#30576e !important; color:#fff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(a:link,a:visited,#toolbar a,label,legend,.sectionname,.pathway) { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(a:hover,label:hover) { color:#d7f4ff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.small,.smallgrey,td em,.step-grey,.step-grey_new,.step-off,.step-off_new) { color:#bdcddd !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(#joo,#wrapper,#topper,#footer,.menubackgr,.login,.login-form,.form-block,.joopage,.stepbar .t,.stepbar .b,#step .t,#step .b,#installer .t,#installer .b) { background-image:none !important; background-color:#182432 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :where(.pathway,.quote,.c_sql,#installer .m,.cpicons span a,#cpanel div.icon a,.tab,.offtab) { background-color:#203448 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.tab.selected,.ontab) { background:#30576e !important; border-color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.tab.selected a,.ontab,.ontab a) { color:#fff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(#toolbar a:hover,#toolbar a:focus-visible,.cpicons span a:hover,.cpicons span a:focus-visible,#cpanel div.icon a:hover,#cpanel div.icon a:focus-visible,.tab.hover,.tdtoogleoff:hover,.tdtoogleon:hover) { background-color:#30576e !important; color:#fff !important; border-color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(input[type="button"],input[type="submit"],input[type="reset"],button:not(.ukv-theme-picker)) { background:#203448 !important; color:#e4edf6 !important; border:1px solid #60758a !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(input[type="button"],input[type="submit"],input[type="reset"],button:not(.ukv-theme-picker)):is(:hover,:focus-visible) { background:#30576e !important; color:#fff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] .jpstatus { background:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] .jpstatus :is(a,p,span,strong) { color:inherit !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.Yes,.Writeable) { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.No,.Unwriteable) { color:#ffaaa8 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.ui-widget-content,.ui-dialog,.ui-dialog-content) { background-image:none !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] .ui-state-default { background:#203448 !important; color:#e4edf6 !important; border-color:#60758a !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="legacy-admin"] :is(.ui-state-hover,.ui-state-focus,.ui-state-active) { background:#30576e !important; color:#fff !important; border-color:#8fd9f3 !important; }
    /* All modern roles share these two layout shells and semantic status colors. */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.auth-card,.card,.topbar,.summary-card,.session-warning-card,.pwa-install,.referee-intake-section,.referee-intake-mode,.referee-intake-mode label,.referee-intake-notice,.referee-intake-steps li,.modal,.modal-card,[role="dialog"]>div,.identity-strip,.person-head,.permission-tags span,.effective-permissions,.readonly-role,.check-row,.mfa-help,.mfa-phone-setup,.activation-step,.table-wrap,.cabinet-live-update) { background-color:#182432 !important; color:#e4edf6; border-color:#3c5063 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.side-nav,.app-shell,.app-content) { background-color:#101822; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(th,.readonly,.pill,.permission-explanation,.step-list li,.codes li,.secret,.notice,.mfa-return-step,.referee-intake-success) { background-color:#223345 !important; color:#d9e9f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(td,th) { border-color:#3c5063; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(tbody tr:nth-child(even),tbody tr:hover) { background-color:#203448; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.button:not(.secondary),button:not(.secondary),.referee-intake-submit) { background-color:#086b89; color:#fff; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.button.secondary,button.secondary,.topbar-help,.topbar-notifications) { background-color:#223345 !important; color:#b4e8fa !important; border-color:#60758a !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.brand strong,.referee-intake-kicker,.referee-intake-section-heading h2,.referee-intake-steps strong,.referee-intake-mode strong,.referee-intake-check strong) { color:#e4edf6; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(p,small,.meta,.muted,.hint,.referee-intake-lead,.referee-intake-file-help,.topbar-status) { color:#adbdce; }
    html[data-ukv-theme="dark"] :is(.errors,.client-errors,.error,.danger,.alert-danger,.mfa-secret-warning) { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"] :is(.ok,.status,.success,.alert-success) { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"] :is(.warning,.jwarning,.alert-warning) { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"] :is(.errors,.client-errors,.error,.ok,.status,.warning,.jwarning) :is(p,li,strong,a) { color:inherit !important; }
}
@media (max-width:620px) {
    .ukv-site-header-actions { gap:10px !important; }
    html.ukv-theme-ready .ukv-theme-picker { font-size:13px; }
}
@media print {
    .ukv-theme-picker,.ukv-theme-admin-bar,.ukv-theme-auth-bar { display:none !important; }
    html { color-scheme:light; }
}

/* Native module surfaces and ink; transparent logo and publication canvases are excluded. */
@media screen {
    /* cabinet/layout.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .auth-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-help,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .secret,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .codes li,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .check-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-phone-setup,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-qr a:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-rotate-form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-return-step,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .activation-step { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .errors,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .client-errors,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-secret-warning { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-help summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .secondary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .link,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .mfa-qr a { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .pwa-install { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    /* supervisor/layout.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .errors,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-suspended,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-revoked { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] input[aria-invalid="true"],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] select[aria-invalid="true"],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .empty,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .summary-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .season-group,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .season-group > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .competition-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .topbar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .division-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .identity-strip,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-scope,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .role-filter a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-dot,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-bar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .editor-toolbar button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .media-tile,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .permission-tags span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notification-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notification-row:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notification-dot,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .local-section-nav { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button.secondary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] button.secondary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .summary-link .summary-arrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-audit > summary::after,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .league-heading,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .section-count,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .quality-number,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .upload-result figcaption,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notification-open,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .topbar .topbar-help { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button.secondary:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] button.secondary:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-ready,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .editor-toolbar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .upload-result,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .permission-explanation,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .effective-permissions,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .effective-permissions .permission-tags span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-not_configured,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-disabled,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .pwa-install,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-eligible,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .side-nav nav .side-nav-group-links a.active::before,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .topbar-notifications:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .notification-row.unread,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .topbar .topbar-help:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .side-nav nav .player-access-nav.active { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .preview-banner,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .preview-only,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-review,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-required,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .topbar-notification-count { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .preview-banner small { color:#ffe1a0 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .brand-mark,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .filter-chips button { background-color:#182432 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-card.primary-action { background-image:none !important; background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-approved { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-preview .lead { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-scheduled,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-selected { background-color:#30294b !important; color:#ddd3ff !important; border-color:#82749f !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .nav-count { background-color:#453719 !important; color:#c5e7f6 !important; border-color:#ad914e !important; }
    /* cabinet-help.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .side-nav nav a.active { background-color:#182432 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-help-heading { background-image:none !important; background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-help-heading p { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-eyebrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-topic-toggle { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-search-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-role-filters button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-topic,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-topic > summary:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-no-results { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-example,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-example:hover { color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-clear,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-clear:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-role-mark,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-topic[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-topic-number,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-maintained-note { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .help-note { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    /* cabinet-push.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push { background-image:none !important; background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-actions button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-actions button.secondary:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-intro { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push .cabinet-push-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push h2,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-actions a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-help ol,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-intro p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-intro strong { color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-actions button.secondary { background-color:#182432 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push .cabinet-push-note { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push-help { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push[data-push-state="enabled"] { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-push[data-push-state="enabled"] .cabinet-push-status { color:#bdf2dc !important; }
    /* federation-competitions.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-eyebrow { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace .secondary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace input,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace select,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace textarea { background-color:#182432 !important; color:#bdf2dc !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace .card { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace .notice,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-steps li { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace .error { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-workspace small { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-category { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    /* federation-intake.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-intake-row-actions span { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-intake-result,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-intake-save,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .fvk-intake-row input[readonly] { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    /* newsroom.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .autosave-state,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-steps li,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .title-meta,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .section-heading p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .section-heading > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .content-block-library small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-file-upload small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-builder-preview > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .document-library-row small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .homepage-order-copy small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .homepage-order-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-registry-table th,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-registry-table td > small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .studio-tabs button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .upload-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .field-help,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .media-card small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .file-picker-name,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-current span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .newsroom-onboarding small { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-steps,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .format-toolbar select,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .toolbar-separator,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-builder-dialog,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-builder-entries fieldset,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-file-upload,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .newsroom-v2 [data-composer-block]:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .homepage-order-item,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-type-other,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-draft,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .studio-tabs,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .media-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .newsroom-onboarding > div { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-steps li.is-current,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .dropzone.is-dragging { background-color:#203448 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-steps li.is-complete,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-file-upload small.is-ok,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .upload-status.is-ok { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-steps li.is-complete .workflow-step-static > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-steps li.is-complete > button > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-published { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .published-edit-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .autosave-restore,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-type-beach,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-scheduled { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .document-kicker { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .format-toolbar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .content-block-library,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-builder-preview,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .homepage-toggle,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .homepage-order-item.is-dragging,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .homepage-order-handle,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-type,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-badge,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .news-type-classic,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .selected-hero,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .dropzone,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .newsroom-onboarding span { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .format-toolbar button:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .format-toolbar button.is-active,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .content-block-library button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .studio-tabs button[aria-selected="true"] { background-color:#182432 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-builder-error,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .button-file-upload small.is-error,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .document-delete-confirm > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .newsroom-v2 [data-block-remove],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .upload-status.is-error { color:#ffccd3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .document-delete-confirm[open] > summary { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .newsroom-v2 [data-block-controls] button { background-color:#182432 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    /* operations.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-reuse,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-reuse-no-photo,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-summary .summary-card:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-summary .summary-card:focus-visible,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-summary .summary-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .audit-explanation,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .portal-target:target,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .draft-recovery,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-stage.stage-data,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-editor-lane.lane-roster,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-selected-roster > .application-subcard-heading,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-money span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-icon.panel-symbol,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-action-card > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-vacancy > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-metric > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-directory-count,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .crew-progress,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .vacancy-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .settlement-match,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .match-crew-list li > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-primary-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-summary-compact a:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .legacy-acl-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .simple-onboarding-steps strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-settings-panel[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-representative,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-change[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-change-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-transfer-summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-choice.is-fixed,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-support-state,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-added,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reviewer-filter-more > summary:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-candidate:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-target-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-source-option:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-preview-frame,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-automation-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-automation-note > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-pair-create > summary > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-under_review,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-match-option:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-campaign-toggle,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-status-strip.state-changed_after_feedback,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-item.state-changed_after_feedback,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .state-changed_after_feedback .granular-state-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-next-action.tone-ready,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-next-action.tone-active,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs button:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-new-team,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-filters span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-group-count,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-applied-summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-results li > span { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-reuse-no-photo,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-summary .summary-copy .meta,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-summary .summary-action b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .eyebrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-action-card b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .ledger-payment,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .opportunity-position,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-summary-compact strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-tabs a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .directory-arrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-stat-strip strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-tool > summary::after,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-inline-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-badge-option b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-cropper[data-player-photo-quality-state="checking"] .player-photo-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-controls output,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-slot legend,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-advanced-fields > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-admin-round > header,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-meta > b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-result-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-pair-settings > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-score-row > b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-set-scores > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .tone-ready .review-next-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .tone-active .review-next-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-metrics strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-current-summary summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-media-preview,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-heading small { color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-reuse-choice,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .session-warning-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-step,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-current-state[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-add-panel[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-search-result[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-subcard,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-logo-preview,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-person-list .operation-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-row-editor > form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-stage,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-lane-heading > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-editor-lane form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-optional-photo,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-comparison,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-before-after .profile-before,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-roster-item,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-staff-item,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-options,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-search-result,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .transfer-window-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .transfer-selection-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .transfer-check-list label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-birth-date-field input,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-readonly-player-data > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-selected-roster > .application-subcard-heading .application-section-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-check,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .paper-template-link,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-checklist a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-checklist a > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-metric,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-none > .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-status.payment-none,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-none .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .match-selector-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-block-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-directory-toolbar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-directory-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-directory-row.is-inactive,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .selected-match-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .crew-position-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .crew-position-card.position-empty,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .crew-position-card.position-open,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .vacancy-editor > form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .settlement-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .settlement-facts > div,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-editor > form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .settlement-warning,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .finance-balance-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-empty-state,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .opportunity-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .assignment-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .personal-total.payment-none,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .match-management-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-directory-toolbar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .advanced-person-fields,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-detail-title,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-section-tabs a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .ready-package-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-technical,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-technical dl,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-technical dl > div,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-confirm,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .nested-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-summary > div,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-choice.is-disabled,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-identity-confirmation,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-unchanged,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-project-group,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-add-project,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-candidate-list,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-candidate,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-routing-flow li:not(.roster-routing-arrow),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-route-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-route-card[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-source-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-target-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-source-list,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-team-selection fieldset,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-source-option,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-fixed-target,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-empty-state,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-queue-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-queue-metrics,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-empty,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-workflow li,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-pair-create[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-slot,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-source-divider::before,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-source-divider::after,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-card[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-meta > i,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-result-editor[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-pair-settings[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-result-waiting,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reschedule-request-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-withdrawn,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reschedule-player-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reschedule-decisions form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-list-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-match-option,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .attachment-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-status-strip,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-state-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-item,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-before-after dl,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-item-actions form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-metrics,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-current-summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-filters button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-item-group,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-item > details[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-filter-empty,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-empty-state,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-choice,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-draft-correction-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-results li,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-stale-review-alert ul li { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow .review-decision-field.has-field-error,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-async-status[data-state="error"],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-comparison.has-conflict,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-check.is-pending > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .retire-access-form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .retire-access-form .link-danger,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-photo-missing,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-removed,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-rejected,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publication-error,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publication-error-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-access-alert,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-access-problem,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-access-row { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow .review-field-error,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .session-warning-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-subcard-heading em,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-grid em,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-grid label > .field-error,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .retire-access-panel > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .amount-negative,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-cropper[data-player-photo-quality-state="failed"] .player-photo-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .deadline-overdue { color:#ffccd3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .operational-summary .summary-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-logo-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-choice-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-vacancy,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .vacancy-builder,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .opportunity-card.open-opportunity,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .ready-package-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-match-section,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-routing-intro,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-rule-card { background-image:none !important; background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .session-warning-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-stage.stage-photo,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .stage-photo .application-stage-heading > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-proposal-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-birth-fact,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-birth-date-field,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .paper-template-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-applications > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .metric-due > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .metric-partial > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-due > .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-status.payment-due,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-due .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-partial > .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-status.payment-partial,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-partial .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-heading span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .deadline,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-sent,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-approved,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .personal-total.payment-due,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .invitation-pending-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-warning,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-handwritten-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-existing-panel,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-existing-warning,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-changed,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-connection-state,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-pending_review,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-needs_information,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-submitted,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-confirm,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .state-changes_requested .granular-state-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-comment,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-next-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-readiness span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-waiting,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-choice.is-repair,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-choice.is-repair:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-stale-review-alert,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-stale-review-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs .workflow-final-tab,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs .workflow-final-tab:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs .workflow-final-tab > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs .workflow-final-tab > b { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-step b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .details-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-row-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-async-status[data-state="working"],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-lane-heading strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-person-avatar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-options > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-photo-placeholder,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-selected-roster > .application-subcard-heading h4,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-money strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-kicker,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-photo-review-link,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-photo-return > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reviewer-filter-more > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-projects-disclosure > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-secondary-disclosure > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-add-project > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-routing-flow .roster-routing-arrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-summary-pill,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-source-toolbar > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-builder-arrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-queue-metrics strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-team-selection > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-team-list > summary { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-section-number,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-selected-roster,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-monogram,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-hero,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-admin-round,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reschedule-rule-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-status-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-start-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-overview,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-publication { background-image:none !important; background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-stage.stage-submit,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-proposal-status.status-approved,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-before-after .profile-after,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-check.is-ready > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-checklist a.is-ready,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-checklist a.is-ready > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .action-finance > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .metric-paid > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-paid > .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-status.payment-paid,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-paid .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-approved,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .personal-total.payment-paid,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .onboarding-next-step,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .security-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .assigned-referee,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-support-state.is-resolved,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-mode-recommended,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-public-check,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-meta > i.is-public,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-result-effect,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .status-completed,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-status-strip.state-applied,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-item.state-applied,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .state-approved .granular-state-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .state-applied .granular-state-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-before-after dl + dl,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-final-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-next-action.tone-complete,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-before-after.is-new-record dl,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-choice:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-live-update,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-live-update-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-readiness span.is-ready,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-form,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-complete,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-stale-preserved,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-access-alert[data-status="ready"] { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-async-status[data-state="success"],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .transfer-summary span::before,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .amount-positive,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-connection-state.is-ready,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-cropper[data-player-photo-quality-state="passed"] .player-photo-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-publication-link small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-result-editor > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .tone-complete .review-next-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-choice > b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publication-error strong { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-editor-lane.lane-profile,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-choice,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-row.is-marked,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-row.is-marked .application-benefit-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-quick,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-private,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .metric-overpaid > .referee-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-overpaid > .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-status.payment-overpaid,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .payment-overpaid .payment-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .personal-total.payment-overpaid,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-impact { background-color:#30294b !important; color:#ddd3ff !important; border-color:#82749f !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-optional-photo > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-choice strong { color:#ddd3ff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-profile-review-card { background-image:none !important; background-color:#30294b !important; color:#ddd3ff !important; border-color:#82749f !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .transfer-window-card.is-enabled,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-card.status-admitted { background-image:none !important; background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-birth-fact time,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-form-grid .application-birth-date-field > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .paper-template-link b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .ledger-accrual,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .match-crew-list li.vacant strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-next-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-draft-correction-action > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-waiting p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-choice.is-repair > b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-stale-review-alert > div > small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-stale-review-alert ul small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-final-stage-header small { color:#ffe1a0 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-choice small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-benefit-row small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .application-submit-form p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-action-card small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-metric small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-block-card p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-directory-person small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-directory-level small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .selected-match-card small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .crew-position-card > header small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .chosen-referee small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .position-empty-copy,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .vacancy-summary small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .candidate-list small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .candidate-empty,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .settlement-match small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .settlement-facts dt,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-empty-state p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .opportunity-facts,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .current-response,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .assignment-card small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .personal-settlement-row small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .match-competition,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-summary-compact span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-directory-row small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .public-fingerprint,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-team p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-technical > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-technical dt,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-change > summary::after,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-change > summary small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-transfer-summary span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-transfer-summary small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .activity-facts dt,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-stat-strip span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-tool > summary span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-compact-main small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-slot-heading small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-current-assignment small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-request-meta,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-sublist small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-choice small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-profile-line small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-name-cell small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-registry-table td > small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .roster-table td small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-preview-placeholder,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-photo-quality,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-history-list small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .award-list small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-workflow small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-publication p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-pair-create > summary small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-source-divider,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-public-check small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-admin-round > header span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-number,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-match-teams b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-result-waiting small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publish-action p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-final-action p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-next-action > div > p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-item-group > summary::after,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cabinet-live-update small,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-bootstrap-complete p,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-publication-error small { color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-card.status-roster_conflicts,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-card.status-needs_recheck { background-image:none !important; background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .paper-template-downloads,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-final-stage { background-image:none !important; background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .admission-final-action button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reviewer-filter-chip,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-audience-choice span { background-color:#182432 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-action-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-summary-compact a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .person-directory-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-access-change > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .archived-access-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-hero-mark,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .protocol-print-button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-publication input,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .reschedule-rule-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-final-action button,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs button.is-active,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .granular-review-filters button.is-active span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-final-stage-header > span { background-color:#182432 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-assignment-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-workflow li > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .cup-form-guide,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs button > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-no-field-change,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .workflow-item-locked { background-color:#203448 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-project-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-kind-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-target-mark,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .route-fixed-target > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .routing-empty-state > span { background-color:#203448 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs .workflow-final-tab.is-active > span { background-color:#453719 !important; color:#c5e7f6 !important; border-color:#ad914e !important; }
    /* player-market-cabinet.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-cabinet-summary a { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-cabinet-summary strong,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-edit > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-shared-contact a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-offer summary b,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .player-profile-photo { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-contact-box,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-status-returned,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-request-needs_revision,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-next-step { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-status-active,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-request-approved,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .response-accepted,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-shared-contact { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-status-pending_review,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-request-pending,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .response-pending { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-status-hidden,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-status-closed,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-request-rejected,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .response-declined,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .response-withdrawn { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    /* player-market-onboarding.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-how-grid article { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    /* player-market-review.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-change-compare del { color:#ffccd3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .profile-change-compare strong { color:#8fd9f3 !important; }
    /* player-market.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] body.market-public,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-topbar,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-filters,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-filters input,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-filters select,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-safety-grid p { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-brand,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-topbar nav a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-filters > a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-type,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-tags span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-card footer a { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-hero { background-image:none !important; background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-eyebrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-hero aside b { color:#ffe1a0 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-hero h1 span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-primary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-description { color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-heading > span,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-avatar { background-color:#203448 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-tabs a { background-color:#182432 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-avatar.team { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-safety { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-safety-grid b { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    /* referee-accreditation.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-kicker,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-photo-comparison-placeholder,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-profile-photo-editor > details > summary { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-steps li,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-section,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-form select,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-form textarea,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-check,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-data div,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-long-text,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-mode label,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-new-fields,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-form input[type="file"],
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-photo-comparison,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-photo-comparison-grid article,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-existing-photo-decision > .check { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-check.consent,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-application-submitted,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-mode,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-candidate-photo,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-match-card,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-photo-correction[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-photo-comparison-placeholder { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-success-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-apply-photo-check,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-existing-photo-decision { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-application-in_review { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-application-rejected { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .referee-intake-reject summary { color:#ffccd3 !important; }
    /* support-requests.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-eyebrow,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-pagination a,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-attachments .support-file-picker { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-tabs a { background-color:#182432 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-status,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-status-in_progress,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-message-event,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-notice { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-status-waiting { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-status-resolved { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-official,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-status-closed { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .support-attachments input::file-selector-button { background-color:#203448 !important; color:#8fd9f3 !important; border-color:#526f86 !important; }
    /* team-access-request.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-promo { background-image:none !important; background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-promo.is-open { background-image:none !important; background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-promo.is-closed { background-image:none !important; background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-promo-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .form-section,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-request-row,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-option,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-option-logo,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .privacy-note,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-option.is-cup-only { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .campaign-kicker,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-picker-action,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-option-group { color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-picker > summary:hover,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-picker[open] > summary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-picker-icon,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .team-option:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-option { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .remove-team { background-color:#182432 !important; color:#ffccd3 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .remove-team:hover { background-color:#45232b !important; color:#ffccd3 !important; border-color:#bd6d7e !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-option.is-cup-only:has(input:checked),
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-cup-notice,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-success { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
    /* team-contract.css */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .contract-field-error { color:#ffccd3 !important; }
    /* cabinet/home.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .role-home-card { background-image:none !important; background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    /* cabinet/start.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .start-card { background-image:none !important; background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .start-card .button.secondary,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .start-note { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    /* player-market/access-request.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-actions a { color:#8fd9f3 !important; }
    /* player-market/access-required.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-access-card .button.secondary:hover { color:#8fd9f3 !important; }
    /* player-market/access-review.blade.php */
    /* player-market/relaunch.blade.php */
    /* player-market/sms-access.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-kicker { color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .verified-phone { background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .access-links a { color:#8fd9f3 !important; }
    /* supervisor/accounting/index.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .accounting-totals span { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    /* supervisor/accounting/match.blade.php */
    /* team-applications/access-request.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-success { background-image:none !important; background-color:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-success-icon { background-color:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .request-success-kicker { color:#bdf2dc !important; }
    /* team-applications/initial-roster-correction.blade.php */
    /* team-applications/partials/participation.blade.php */
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-badge { background-color:#203448 !important; color:#c5e7f6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-badge.is-cup-only,
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .participation-confirm { background-color:#453719 !important; color:#ffe1a0 !important; border-color:#ad914e !important; }
}
@media screen {
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] {
        --ok:#153d32; --warning:#453719; --danger:#45232b;
        --paper:#182432; --wash:#101822; --blue:#8fd9f3; --green:#bdf2dc; --red:#ffccd3; --amber:#ffe1a0;
        --pm-ink:#e4edf6; --pm-muted:#adbdce; --pm-brand:#086b89; --pm-deep:#153e50;
        --pm-soft:#223345; --pm-line:#526f86; --pm-white:#182432;
    }
    html[data-ukv-theme="dark"] .newsroom-v2 {
        --studio-ink:#e4edf6; --studio-blue:#8fd9f3; --studio-blue-dark:#b4e8fa;
        --studio-aqua:#223345; --studio-line:#526f86; --studio-paper:#182432; --studio-bg:#101822;
    }
    html[data-ukv-theme="dark"] .fvk-workspace { --soft:#223345; --line:#526f86; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.role-home-card,.start-card,.application-section-number,.document-card,.studio-panel,.workflow-steps li.is-current>button>span,.workflow-steps li.is-current .workflow-step-static>span) { background:#182432 !important; color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.application-choice-card img,.paper-template-link img,.cabinet-help-heading>img,.composer-heading .heading-with-icon>img) { background:#223345 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.review-workflow-tabs button.is-active,.review-workflow-tabs button.is-active>span,.review-workflow-tabs button.is-active>b,.workflow-steps li.is-current,.filter-chips button[aria-pressed="true"],.market-tabs a.active) { background:#305b70 !important; color:#fff !important; border-color:#8fd9f3 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.review-workflow-tabs button:hover,.review-workflow-tabs button:focus-visible,.help-role-filters button:hover,.market-tabs a:hover) { background:#29465c !important; color:#fff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.granular-publish-choice:has(input:checked),.application-submit-form,.granular-publish-action,.granular-final-action) { background:#153d32 !important; color:#bdf2dc !important; border-color:#558f7b !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.granular-publish-action,.granular-final-action) p { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.button,button):disabled { background:#283441 !important; color:#adbdce !important; border-color:#52677b !important; opacity:1 !important; cursor:not-allowed; }
    html[data-ukv-theme="dark"] [data-referee-push-warning] { color:#ffccd3 !important; }
    html[data-ukv-theme="dark"] .market-topbar nav { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
    html[data-ukv-theme="dark"] :is(.market-primary,.market-filters button,.market-login) { background:#086b89 !important; color:#fff !important; }
    html[data-ukv-theme="dark"] .market-secondary { background:#223345 !important; color:#b4e8fa !important; }
    html[data-ukv-theme="dark"] :is(.rating-page .summary article,.cup-participants li) { background:#182432 !important; color:#e4edf6 !important; border-color:#526f86 !important; }
    html[data-ukv-theme="dark"] .rating-page .pill { background:#223345 !important; color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"] .rating-page .pill.confirmed { background:#153d32 !important; color:#bdf2dc !important; }
    html[data-ukv-theme="dark"] .rating-page .pill.never_rated { background:#453719 !important; color:#ffe1a0 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs button:not(.is-active):not(.workflow-final-tab) { background:#182432 !important; color:#e4edf6 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .review-workflow-tabs button small { color:inherit !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-login { color:#fff !important; }
    html[data-ukv-theme="dark"] .market-how-grid article>span { color:#c5e7f6 !important; }
    html[data-ukv-theme="dark"] .market-how-grid article.player>span { color:#bdf2dc !important; }
    html[data-ukv-theme="dark"] .market-how-grid article.team>span { color:#ffe1a0 !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] .market-topbar nav .market-login { color:#fff !important; }
    html[data-ukv-theme="dark"][data-ukv-surface="portal"] :is(.file-picker-button,.file-picker-button:hover,.file-picker-button:focus-visible,.homepage-order-position,.preview-controls button[aria-pressed="true"],.content-block-library button:hover,.workflow-steps li>button:hover,.workflow-steps li>button:focus-visible) { background:#086b89 !important; color:#fff !important; }
    /* Content previews deliberately show publication colors. Limit this exception to the canvas. */
    html[data-ukv-theme="dark"] :is(.rich-editor,.live-preview,.article-preview) {
        color-scheme:light; --ink:#203b47; --muted:#49606a; --studio-ink:#203b47; --studio-blue:#057ba3;
        background:#fff !important; color:#203b47 !important;
    }
    html[data-ukv-theme="dark"] :is(.rich-editor,.live-preview,.article-preview) :is(p,small,h1,h2,h3,h4,h5,h6,li,blockquote,.preview-article,.lead,.preview-intro,.preview-safety):not([style*="color"]) { color:#203b47 !important; }
    html[data-ukv-theme="dark"] :is(.rich-editor,.live-preview,.article-preview) a:not(.ukv-news-button) { color:#07576f !important; }
    html[data-ukv-theme="dark"] :is(.rich-editor,.live-preview,.article-preview) .ukv-news-button { color:#fff !important; }
    html[data-ukv-theme="dark"] :is(.rich-editor,.live-preview,.article-preview) .ukv-news-button--yellow { color:#2b2100 !important; }
}
