#themeToggle{white-space:nowrap;font-size:14px;min-height:42px;gap:8px}
#themeToggle>span:first-child{font-size:20px;line-height:1}
@media screen{
html[data-theme=dark]{--ink:#e4edf5;--muted:#a8bacb;--line:#34465a;--brand:#77c8ef;background:#101923;color:var(--ink);color-scheme:dark}
html[data-theme=dark] body{background:#101923;color:var(--ink)}
html[data-theme=dark] :is(aside,.card,.stat,dialog,.mobile-work){background:#182534;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .workspace header{background:#182534f5;border-color:var(--line)}
html[data-theme=dark] :is(input,select,textarea){background:#101c2a;color:var(--ink);border-color:#52677b}
html[data-theme=dark] ::placeholder{color:#a8bacb;opacity:1}
html[data-theme=dark] :is(.brand .brand-name,h1,h2,h3){color:#e4edf5}
html[data-theme=dark] :is(.muted,.help,.empty,.signin-note,.home-date,.eyebrow,.asidefoot,.nav-heading,footer,.work-welcome p,.work-link small,.finance-metrics small,.work-stepper li){color:var(--muted)}
html[data-theme=dark] a{color:#85d1f3}
html[data-theme=dark] :is(.navlink,.page-tabs a,.mobile-work a,.tabs button){color:#becfdf}
html[data-theme=dark] :is(.navlink.active,.page-tabs a[aria-current=page],.tabs button.active){background:#163e56;color:#a3e1ff;border-color:#70c9ef}
html[data-theme=dark] .mobile-work a[aria-current]{color:#a3e1ff}
html[data-theme=dark] :is(button.secondary,.button.secondary){background:#223448;color:#dcecf8;border-color:#52677b}
html[data-theme=dark] :is(.entry,.check-row,.tablewrap,th,td,.home-task,.steps div,.tabs,.page-tabs,.work-stepper,.preview-controls summary){border-color:var(--line)}
html[data-theme=dark] :is(th,.weekday,.code-sample,.chip,.badge,.shift.O,.shift.R,.work-stepper span){background:#243447;color:#c7d8e6}
html[data-theme=dark] :is(.note,.sop-flow li,.preview-banner){background:#193747;color:#c0e5f3;border-color:#42778e}
html[data-theme=dark] :is(.sop-flow b,.sop-flow strong,.sop-flow li>span,.preview-banner a,.chip button){color:#94d9eb}
html[data-theme=dark] :is(.stat.good,.status-closed,.status-completed,.calendar-event.roster,.shift,.work-stepper .done span){background:#193e38;color:#a4e3cc}
html[data-theme=dark] :is(.stat.warn,.issue,.badge.orange,.status-review,.shift.L,.shift.P,.calendar-event.order){background:#43351e;color:#f3d08b}
html[data-theme=dark] :is(.shift.H,.calendar-event.inspection){background:#343052;color:#d0c8ff}
html[data-theme=dark] :is(.status-inProgress,.calendar-event.event){background:#1d3b54;color:#aad9fa}
html[data-theme=dark] :is(button.danger,.inline-error){background:#4a2a30;color:#ffb4af}
html[data-theme=dark] :is(.risk,.finance-balance .negative){color:#ffb4a5}
html[data-theme=dark] .roster .weekend{background:#1d322f}
html[data-theme=dark] :is(.calendar-day,.month-grid){border-color:var(--line)}
html[data-theme=dark] .calendar-day.outside{background:#121e2b;color:#98acbd}
html[data-theme=dark] .calendar-day.is-today{background:#203d45}
html[data-theme=dark] :is(.day-number,.more-events){color:#bfdcec}
html[data-theme=dark] .is-today .day-number{background:#28728d;color:#fff}
html[data-theme=dark] .photo-grid figure{background:#1c2b3a;border-color:var(--line)}
html[data-theme=dark] .photo-grid img{background:#111b27}
html[data-theme=dark] .period-bars>div>div{background:#2c3c50}
html[data-theme=dark] .sticky{background:#182534ed;border-color:var(--line)}
html[data-theme=dark] #notice{background:#28465d;color:#f0f7fc}
html[data-theme=dark] dialog::backdrop{background:#030a12b3}
html[data-theme=dark] .work-stepper .current{color:#a3e1ff}
html[data-theme=dark] .work-stepper .current span{background:#176f91;color:#fff}
html[data-theme=dark] svg text{fill:#b8ccdd}
html[data-theme=dark] .drop-upload.dragover{background:#193747;border-color:#94d9eb}
}
@media print{html,body{color-scheme:light!important;background:white!important;color:#172d43!important}#themeToggle{display:none!important}}
