/* One appearance palette for all application layouts. Documents retain their own palette. */
:root {
    --asc-bg:#f5f7fa; --asc-surface:#ffffff; --asc-secondary:#eef2f7;
    --asc-text:#172b4d; --asc-muted:#53657e; --asc-border:#dce4ee;
    --asc-link:#006aa8; --asc-accent:#008c82; --asc-focus:#2687ef;
    --asc-shadow:0 3px 15px rgba(20,35,55,.06);
    --asc-success-bg:#e1f6ec; --asc-success:#147343;
    --asc-warning-bg:#fff3d6; --asc-warning:#885800;
    --asc-danger-bg:#ffe8ec; --asc-danger:#b42336;
    --asc-info-bg:#e5efff; --asc-info:#175ac0;
}
:root[data-asc-theme="dark"] {
    --asc-teal:var(--asc-accent);
    --color-brand-primary:#00756d; --color-brand-maroon:#00756d;
    --color-brand-primary-dark:#005c55; --color-brand-green:var(--asc-accent);
    --color-text-primary:var(--asc-text); --color-text-secondary:var(--asc-muted);
    --color-background:var(--asc-bg); --color-surface:var(--asc-surface); --color-border:var(--asc-border);
    --color-config:var(--asc-info); --color-config-soft:var(--asc-info-bg); --color-config-border:var(--asc-border);
    --asc-teal-light:var(--asc-success-bg); --asc-gold-light:var(--asc-warning-bg);
    --color-success:var(--asc-success); --color-success-soft:var(--asc-success-bg); --color-success-border:#397c59;
    --color-warning:var(--asc-warning); --color-warning-soft:var(--asc-warning-bg); --color-warning-border:#7a6336;
    --color-danger:var(--asc-danger); --color-danger-soft:var(--asc-danger-bg); --color-danger-border:#80505a;
    --color-info:var(--asc-info); --color-info-soft:var(--asc-info-bg); --color-info-border:#496b9a;
    --color-neutral:#bfccdc; --color-neutral-soft:#27364c; --color-neutral-border:#455670;
    --asc-bg:#0e1726; --asc-surface:#172235; --asc-secondary:#202f45;
    --asc-text:#e2e8f0; --asc-muted:#a8b8cc; --asc-border:#526a85;
    --asc-link:#82c8ff; --asc-accent:#41cbb8; --asc-focus:#71b7ff;
    --asc-shadow:0 3px 15px rgba(0,0,0,.2);
    --asc-success-bg:#163c30; --asc-success:#91e3b6;
    --asc-warning-bg:#42351c; --asc-warning:#f7d27d;
    --asc-danger-bg:#472731; --asc-danger:#ffafb9;
    --asc-info-bg:#1e3555; --asc-info:#a5ceff;
    --bs-body-bg:var(--asc-bg); --bs-body-color:var(--asc-text);
    --bs-secondary-color:var(--asc-muted); --bs-tertiary-bg:var(--asc-secondary);
    --bs-border-color:var(--asc-border); --bs-emphasis-color:var(--asc-text);
}
body { color-scheme:inherit; }
.asc-theme-changing :is(body,.card,.modal-content,.dropdown-menu,.sidebar,.form-control,.form-select,.asc-appearance) { transition:background-color .2s,color .2s,border-color .2s; }
.asc-appearance { padding:22px; border:1px solid var(--asc-border); border-radius:10px; background:var(--asc-surface); color:var(--asc-text); margin:20px 0; box-shadow:var(--asc-shadow); }
.asc-appearance h2 { font-size:18px; margin:0 0 6px; color:var(--asc-text); }
.asc-appearance p { color:var(--asc-muted); font-size:13px; }
.asc-appearance-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0 10px; padding:0; border:0; }
.asc-appearance-options label { display:flex; align-items:center; gap:12px; padding:16px; border:1px solid var(--asc-border); border-radius:8px; cursor:pointer; background:var(--asc-surface); margin:0; }
.asc-appearance-options label:has(input:checked) { border-color:var(--asc-accent); background:var(--asc-secondary); }
.asc-appearance-options i { font-size:23px; color:var(--asc-accent); }
.asc-appearance-options span { flex:1; min-width:0; }
.asc-appearance-options small { display:block; margin-top:5px; color:var(--asc-muted); font-size:12px; }
.asc-appearance-options input { accent-color:var(--asc-accent); width:18px; height:18px; flex-shrink:0; }
.asc-theme-toggle{position:relative;display:inline-flex;align-items:center;justify-content:space-between;flex-shrink:0;width:70px;height:36px;padding:5px 8px!important;border:1px solid #94a3b8;border-radius:24px;background:#e2e8f0!important;color:#334155;cursor:pointer;isolation:isolate}
.asc-theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;position:relative;z-index:1}
.asc-theme-toggle-thumb{position:absolute;left:3px;top:3px;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}
.asc-theme-toggle[aria-checked="true"]{background:#263b5c!important;color:#e2e8f0}
.asc-theme-toggle[aria-checked="true"] .asc-theme-toggle-thumb{transform:translateX(34px);background:#456083}
.asc-theme-toggle .asc-theme-sun{color:#bd6800!important}.asc-theme-toggle .asc-theme-moon{color:#334155!important}.asc-theme-toggle[aria-checked="true"] .asc-theme-moon{color:#fff!important}
.asc-theme-toggle:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}.asc-theme-toggle:disabled{opacity:.65;cursor:wait}
@media(prefers-reduced-motion:reduce){.asc-theme-toggle-thumb{transition:none}}
@media print{.asc-theme-toggle{display:none!important}}
.asc-theme-control { padding:5px 8px; font-size:12px; border:1px solid #ffffff50; border-radius:6px; background:#203963; color:#fff; max-width:100px; }
.asc-auth-theme-control { position:fixed; top:16px; right:16px; z-index:100; padding:7px 11px; background:var(--asc-surface); color:var(--asc-text); border-color:var(--asc-border); box-shadow:var(--asc-shadow); }
@media(max-width:700px) { .asc-appearance-options { grid-template-columns:1fr; } .asc-appearance { padding:16px; } }
@media(max-width:575px) {
    .header .asc-theme-control { display:none; }
    body.smarthr-system .header .smarthr-header-brand .logo { position:static!important; transform:none!important; }
}
@media(max-width:991px) {
    body.smarthr-system .header .smarthr-header-brand { position:relative!important; left:auto!important; transform:none!important; }
}
/* Exclusions are explicit: never recolor uploaded content or an official report sheet. */
@media screen {
html[data-asc-theme="dark"] body { background-color:var(--asc-bg)!important; color:var(--asc-text)!important; }
html[data-asc-theme="dark"] body :is(h1,h2,h3,h4,h5,h6,p,span,strong,label,dt,dd,small,li,td,th,a,div,section,article,header,footer,button,input,textarea,select):not(:where(.formal-report,.formal-report *,.program-report-paper,.program-report-paper *,.asc-document-content,.asc-document-content *,.header *,.btn-primary,.btn-success,.btn-danger,.btn-warning,.btn-info,[class*="badge"],[class*="status"],.text-success,.text-danger,.text-warning,.text-info,.text-white)) { color:var(--asc-text); }
html[data-asc-theme="dark"] body :is(.main-wrapper,.page-wrapper,.page-content,.content,.container-fluid,.program-report-canvas):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background-color:var(--asc-bg)!important; }
html[data-asc-theme="dark"] body :is(.card,[class$="-card"],[class*="-card "],[class$="-panel"],[class*="-panel "],.modal-content,.dropdown-menu,.list-group-item,.accordion-item,.toast,.offcanvas,.sidebar,.footer,.asc-appearance,[class$="-modal"],[class$="-popup"],[class$="-dialog"],[class$="-toolbar"],[class$="-filters"],[class$="-filter"],[class$="-banner"],[class$="-strip"],[class$="-summary"],[class$="-context"],[class$="-hero"],[class$="-table-wrap"],[class$="-table-wrapper"]):not(:where(.formal-report,.formal-report *,.program-report-paper,.program-report-paper *,.asc-document-content,.asc-document-content *)) { background-color:var(--asc-surface)!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; box-shadow:var(--asc-shadow)!important; }
html[data-asc-theme="dark"] body :is([class$="-head"],[class$="-heading"],[class$="-header"],.card-header,.card-footer,.modal-header,.modal-footer,.accordion-button,.nav-tabs,.input-group-text,[class$="-empty"],[class$="-instructions"],[class$="-guide"],[class$="-metadata"],[class$="-meta"],[class$="-details"],[class$="-row"]):not(:where(.header,.header *,.formal-report,.formal-report *,.program-report-paper,.program-report-paper *,.asc-document-content,.asc-document-content *)) { background-color:var(--asc-secondary)!important; border-color:var(--asc-border)!important; color:var(--asc-text)!important; }
html[data-asc-theme="dark"] body :is(.text-muted,.text-secondary,[class$="-description"],[class$="-subtitle"],small,dt):not(:where(.header *,.formal-report *,.program-report-paper *,.asc-document-content *)) { color:var(--asc-muted)!important; }
html[data-asc-theme="dark"] body :is(.form-control,.form-select,input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select,option,.select2-dropdown,.select2-selection,.flatpickr-calendar,.flatpickr-months,.flatpickr-weekdays,.flatpickr-day,.ui-datepicker,.autocomplete-results):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background-color:var(--asc-surface)!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] :is(input,textarea)::placeholder { color:var(--asc-muted)!important; opacity:1; }
html[data-asc-theme="dark"] body :is(.form-control:disabled,.form-control[readonly],.form-select:disabled) { background-color:var(--asc-secondary)!important; color:var(--asc-muted)!important; }
html[data-asc-theme="dark"] body :is(table,.table,thead,tbody,tr,th,td):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { --bs-table-bg:var(--asc-surface); --bs-table-color:var(--asc-text); --bs-table-border-color:var(--asc-border); --bs-table-striped-bg:var(--asc-secondary); --bs-table-hover-bg:var(--asc-secondary); background-color:var(--asc-surface)!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] body :is(thead th,.table-striped tbody tr:nth-of-type(odd)>*,.table-hover tbody tr:hover>*):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background-color:var(--asc-secondary)!important; }
html[data-asc-theme="dark"] body :is(.sidebar-menu a,.dropdown-item,.nav-link,.page-link,.btn-light,.btn-outline-secondary,.btn-outline-primary,.btn-outline-success,.btn-soft-secondary,.btn-soft-primary,.btn-soft-success):not(:where(.formal-report *,.program-report-paper *)) { color:var(--asc-text)!important; background-color:transparent!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] body :is(.sidebar-menu a:hover,.sidebar-menu a.active,.sidebar-menu li.active>a,.dropdown-item:hover,.dropdown-item:focus,.nav-link.active,.page-link:hover,.page-item.active .page-link,.btn-light:hover) { background-color:var(--asc-info-bg)!important; color:var(--asc-info)!important; }
html[data-asc-theme="dark"] body :is(.bg-light,.bg-white,.skeleton,[class$="-skeleton"],.progress,[class$="-track"],.notification-list-item,.select2-results__option):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background-color:var(--asc-secondary)!important; color:var(--asc-text)!important; }
html[data-asc-theme="dark"] body :is(.alert-success,.badge-success,.bg-success-subtle,.bg-soft-success,.status-accepted,.status-completed,.status-submitted) { background-color:var(--asc-success-bg)!important; color:var(--asc-success)!important; border-color:var(--asc-success)!important; }
html[data-asc-theme="dark"] body :is(.alert-warning,.badge-warning,.bg-warning-subtle,.bg-soft-warning,.status-pending,.status-draft) { background-color:var(--asc-warning-bg)!important; color:var(--asc-warning)!important; border-color:var(--asc-warning)!important; }
html[data-asc-theme="dark"] body :is(.alert-danger,.badge-danger,.bg-danger-subtle,.bg-soft-danger,.status-overdue,.status-rejected,.auth-error,.auth-transition-error) { background-color:var(--asc-danger-bg)!important; color:var(--asc-danger)!important; border-color:var(--asc-danger)!important; }
html[data-asc-theme="dark"] body :is(.alert-info,.badge-info,.bg-info-subtle,.bg-soft-info,.status-in-progress) { background-color:var(--asc-info-bg)!important; color:var(--asc-info)!important; border-color:var(--asc-info)!important; }
html[data-asc-theme="dark"] body :is(.text-success,.text-success *) { color:var(--asc-success)!important; }
html[data-asc-theme="dark"] body :is(.text-warning,.text-warning *) { color:var(--asc-warning)!important; }
html[data-asc-theme="dark"] body :is(.text-danger,.text-danger *) { color:var(--asc-danger)!important; }
html[data-asc-theme="dark"] body :is(.text-info,.text-primary) { color:var(--asc-info)!important; }
html[data-asc-theme="dark"] body :is(.modal-backdrop,.offcanvas-backdrop) { background-color:#000!important; opacity:.65!important; }
html[data-asc-theme="dark"] body .btn-close { filter:invert(1) grayscale(1); }
html[data-asc-theme="dark"] body :is(.btn-primary,.btn-success,.btn-danger,.btn-info,.btn-primary *,.btn-success *,.btn-danger *,.btn-info *) { color:#fff!important; }
html[data-asc-theme="dark"] body a:not(:where(.btn,.header *,.sidebar *,.dropdown-item,.nav-link,.page-link,.formal-report *,.program-report-paper *,.asc-document-content *)) { color:var(--asc-link)!important; }
html[data-asc-theme="dark"] body :focus-visible { outline:2px solid var(--asc-focus)!important; outline-offset:3px; }
html[data-asc-theme="dark"] body.smarthr-auth-page { background-image:linear-gradient(rgba(5,12,24,.6),rgba(5,12,24,.72)),url('../images/auth-one-bg.png')!important; }
html[data-asc-theme="dark"] body.smarthr-auth-page .account-box { background:rgba(15,23,42,.82)!important; border-color:#8196b34d!important; color:var(--asc-text)!important; }
html[data-asc-theme="dark"] body.smarthr-auth-page :is(.account-title,.account-subtitle,.account-wrapper label,.account-footer,.account-footer p,.account-footer a,.account-wrapper p,.auth-transition-message,.otp-resend-form,.otp-resend-form span,.smarthr-auth-footnote,.social-login a) { color:var(--asc-text)!important; }
html[data-asc-theme="dark"] body.smarthr-auth-page :is(.social-login a,.social-login button,.otp-digit,.input-group-text) { background:var(--asc-secondary)!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] :is(.asc-document-content,.formal-report,.program-report-paper) { color-scheme:light; background:#fff!important; color:#172638!important; }
html[data-asc-theme="dark"] body :is(.role-assistant-panel,.role-assistant-body,.role-assistant-messages,.assistant-panel,.chat-window,.chat-container,.chat-body,.chat-messages,.imessage,.imessage-item) { background:var(--asc-surface)!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] body :is(.role-assistant-message,.role-assistant-message.assistant,[class$="-bubble"],.chat-message,.assistant-message) { background:var(--asc-secondary)!important; color:var(--asc-text)!important; }
html[data-asc-theme="dark"] body :is(.role-assistant-message.user,.user-message) { background:var(--asc-info-bg)!important; color:var(--asc-info)!important; }
html[data-asc-theme="dark"] body :is(.role-assistant-chat,.role-assistant-chat>form,.role-assistant-messages article,.role-assistant-suggestions,.role-assistant-suggestions button,.dh-chat-panel,.dh-chat-body,.dh-chat-message) { background-color:var(--asc-surface)!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] body .role-assistant-messages article.is-user { background-color:var(--asc-info-bg)!important; }
html[data-asc-theme="dark"] body :is(.role-assistant-chat>header,.role-assistant-chat>header *,.role-assistant-launcher,.role-assistant-launcher *) { color:#fff!important; }
html[data-asc-theme="dark"] body :is(.select2-results__option--highlighted,.flatpickr-day.selected,.flatpickr-day:hover,.ui-datepicker a:hover) { background-color:var(--asc-info-bg)!important; color:var(--asc-info)!important; }
html[data-asc-theme="dark"] .asc-document-content { padding:16px; }
html[data-asc-theme="dark"] body>header:not(.header) { background-color:var(--asc-surface)!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; }
html[data-asc-theme="dark"] body>main { background-color:var(--asc-surface)!important; }
html:root[data-asc-theme="dark"] body.smarthr-system .header :is(.page-title-box h3,.smarthr-header-icon,.smarthr-sidebar-toggle,.mobile_btn) { color:#fff!important; }
/* Keep foregrounds readable even when a module has inline or Bootstrap light-mode colors. */
@layer asc-visibility {
html:root:root:root[data-asc-theme="dark"] body :is(.dh-survey-metrics article,.maintenance-help-main,.instrument-toolbar,.area-metrics,.instrument-filter-button):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background:var(--asc-surface)!important; border-color:var(--asc-border)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.stats-info,.stats-list,.dh-survey-facts>div,.maintenance-help-note,.maintenance-help-actions,.area-list-item.active):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background:var(--asc-secondary)!important; border-color:var(--asc-border)!important; }
html:root:root:root[data-asc-theme="dark"] body .btn[class*="outline"] { background:transparent!important; color:var(--asc-text)!important; border-color:var(--asc-border)!important; }
html:root:root:root[data-asc-theme="dark"] body .btn[class*="outline"]:is(:hover,:focus-visible) { background:var(--asc-info-bg)!important; color:var(--asc-info)!important; border-color:var(--asc-focus)!important; }
html:root:root:root[data-asc-theme="dark"] body nav:not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { color:var(--asc-muted)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.arc-stat,.dh-link-chip,.dh-record-count,.report-count,.report-code,.workspace-totals,.dh-submission-window,.dh-survey-note,.maintenance-help-nav a,.maintenance-help-nav,.area-information-tabs button,.indicator-category-header,.indicator-category-count,.indicator-category-table th,.indicator-card,.auth-page-content,.auth-page-content .container,.notice,.master-status):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background:var(--asc-secondary)!important; border-color:var(--asc-border)!important; color:var(--asc-text)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.page-item.active .page-link,.area-information-tabs button.active) { background:#1957a8!important; color:#fff!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.accreditor-chat-launcher,.report-filter-submit) { background:#00756d!important; color:#fff!important; }
html:root:root:root[data-asc-theme="dark"] body .accreditor-chat-launcher * { color:#fff!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.text-info,.text-info *,.text-primary,.text-primary *) { color:var(--asc-info)!important; }
html:root:root:root[data-asc-theme="dark"] body code:not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { color:#f3f7ff!important; background:var(--asc-secondary)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,em,label,legend,dt,dd,small,li,td,th,a,button,div,section,article):not(:where(.formal-report,.formal-report *,.program-report-paper,.program-report-paper *,.asc-document-content,.asc-document-content *,.btn,.btn *,[data-ui-status],[data-ui-status] *,.text-success,.text-success *,.text-danger,.text-danger *,.text-warning,.text-warning *,.text-info,.text-info *,.bg-success,.bg-success *,.bg-danger,.bg-danger *,.bg-warning,.bg-warning *,.bg-info,.bg-info *)) { color:var(--asc-text)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.text-muted,.text-secondary,small,dt,.breadcrumb-item,.module-breadcrumb-separator):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *,.btn *,[data-ui-status] *)) { color:var(--asc-muted)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.smarthr-notification-item,.notification-item,.notification-menu-item,[class*="notification-menu-item"],.toast,.toast-body,.imessage-item) { background:var(--asc-surface)!important; color:var(--asc-text)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.card-body,.activity-list,.activity-list li,.activity-content):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { background:var(--asc-surface)!important; color:var(--asc-text)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.smarthr-user-avatar,.dh-submission-closed) { background:var(--asc-secondary)!important; color:var(--asc-text)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.role-assistant-launcher,.dh-chat-launcher,.chatbot-toggle,.chat-launcher) { background:#00756d!important; color:#fff!important; }
html:root:root:root[data-asc-theme="dark"] body :is(.role-assistant-launcher,.dh-chat-launcher,.chatbot-toggle,.chat-launcher) * { color:#fff!important; }
html:root:root:root[data-asc-theme="dark"] body .btn:not(.btn-light,.btn-link,.btn-secondary,.btn-warning,.btn-danger,.btn-success,.btn-info):not([class*="outline"]):not([class*="soft"]) { background:#00756d!important; color:#fff!important; }
html:root:root:root[data-asc-theme="dark"] body .btn:not(.btn-warning) * { color:inherit!important; }
html:root:root:root[data-asc-theme="dark"] body svg text:not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { fill:var(--asc-text)!important; }
html:root:root:root[data-asc-theme="dark"] body :is(i[class^="ri-"],i[class*=" ri-"]):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { color:inherit!important; }
html:root:root:root[data-asc-theme="dark"] body .smarthr-header-badge { background:#b42336!important; color:#fff!important; }
html:root:root[data-asc-theme="dark"] body :is(.text-dark,.text-black,.text-body,.text-black-50,[style*="color:"]):not(:where(.formal-report,.formal-report *,.program-report-paper,.program-report-paper *,.asc-document-content,.asc-document-content *,[data-ui-status],[data-ui-status] *,.btn,.btn *,.text-success,.text-danger,.text-warning,.text-info)) { color:var(--asc-text)!important; }
html:root:root[data-asc-theme="dark"] body :is(.btn-primary,.btn-success,.btn-danger,.btn-info,.btn-warning,.bg-primary):not(:where(.formal-report *,.program-report-paper *,.asc-document-content *)) { color:#fff!important; }
html:root:root[data-asc-theme="dark"] body .btn-primary { background:#00756d!important; border-color:#41cbb8!important; }
html:root:root[data-asc-theme="dark"] body .btn-success { background:#166534!important; border-color:#91e3b6!important; }
html:root:root[data-asc-theme="dark"] body .btn-danger { background:#b42336!important; border-color:#ffafb9!important; }
html:root:root[data-asc-theme="dark"] body :is(.btn-info,.bg-primary) { background:#1957a8!important; border-color:#a5ceff!important; }
html:root:root[data-asc-theme="dark"] body .btn-warning { background:#f7d27d!important; border-color:#f7d27d!important; color:#30240b!important; }
html:root:root[data-asc-theme="dark"] body :is(.btn-primary,.btn-success,.btn-danger,.btn-info) * { color:#fff!important; }
html:root:root[data-asc-theme="dark"] body .btn-warning * { color:#30240b!important; }
html:root:root[data-asc-theme="dark"] body :is(.btn:disabled,.btn.disabled) { opacity:.8; }
}
html[data-asc-theme="dark"] * { scrollbar-color:#50627b var(--asc-bg); }
html[data-asc-theme="dark"] ::-webkit-scrollbar-track { background:var(--asc-bg); }
html[data-asc-theme="dark"] ::-webkit-scrollbar-thumb { background:#50627b; border-radius:8px; }
}
@media print {
    html,body { color-scheme:light!important; background:#fff!important; color:#172638!important; }
    .asc-appearance,.asc-theme-control { display:none!important; }
    :is(.formal-report,.program-report-paper,.asc-document-content) { background:#fff!important; color:#172638!important; }
}
@media(prefers-reduced-motion:reduce) { .asc-theme-changing * { transition:none!important; } }
