/* АВТОГЕНЕРАЦИЯ: node gen-dark.mjs. Тёмная тема без filter (быстрая прокрутка). */
/* task-codes.css */
html[data-theme=dark] table td[data-task-code]{color:#d0e4ec}
html[data-theme=dark] table td[data-task-code="P"]{background:#575757}
html[data-theme=dark] table td[data-task-code="A"]{background:#d50000}
html[data-theme=dark] table td[data-task-code="B"]{color:#d6edf6}
html[data-theme=dark] table td:is([data-task-code="C1"],[data-task-code="C2"],[data-task-code="C3"],[data-task-code="C4"],[data-task-code="C5"],[data-task-code="C6"]){background:#d19d00}
html[data-theme=dark] table td:is([data-task-code="N"],[data-task-code="N1"],[data-task-code="N2"]){background:#8d2780}
html[data-theme=dark] table td:is([data-task-code="T1"],[data-task-code="T2"]){background:#699f2b}
html[data-theme=dark] table td[data-task-code="X"]{background:#137b9f}
html[data-theme=dark] .sheet td.scheduled{background:#1d3a29}
html[data-theme=dark] .sheet .today{box-shadow:inset 2px 0 #30607c,inset -2px 0 #30607c}
html[data-theme=dark] .sheet thead .today{background:#285671}
html[data-theme=dark] .matrix .extra-row td:not([data-task-code]):not(.weekend){background:#521d82}
html[data-theme=dark] .matrix .extra-row .first{border-left:4px solid #483855}
html[data-theme=dark] .managementDialog textarea{border:1px solid #313b3e}
html[data-theme=dark] .managementDialog fieldset{border:1px solid #2f393a}
html[data-theme=dark] #saveReport:disabled{background:#202524;color:#b2bdbf;border-color:#2e3433}
html[data-theme=dark] .calendar-native .calendar-button{color:#bad2d8}
html[data-theme=dark] .calendar-year-field .calendar-icon{color:#bad2d8}
html[data-theme=dark] .holiday-list{border:1px solid #283130}
html[data-theme=dark] .holiday-list .bar+.bar{border-top:1px solid #222a28}
html[data-theme=dark] .holiday-dialog #holidayForm{border-top:1px solid #283130}
html[data-theme=dark] .month-picker button{color:#c9e1e9;border:1px solid #313c3e;background:#1b1b1b}
html[data-theme=dark] .month-picker [data-current]{background:#1a2b20;color:#baeddb}
html[data-theme=dark] .month-picker .month-popup{border:1px solid #313c3e;background:#1b1b1b;color:#c9e1e9}
html[data-theme=dark] .month-grid .current-calendar-month{box-shadow:inset 0 0 0 2px #375549}
html[data-theme=dark] .productivity-total{background:#1c2b26}
html[data-theme=dark] .productivity-group{background:#192520}
html[data-theme=dark] #productivityContribution{background:#1c2723;border:1px solid #2b3533}
html[data-theme=dark] .bar.has-fullscreen>.fullscreen-toggle{color:#cae0e9}
html[data-theme=dark] .fullscreen-toggle[aria-pressed="true"]{background:#1b2a25}
html[data-theme=dark] #page:is(:fullscreen,.report-fullscreen){background:#1c2121}
html[data-theme=dark] .month-access-closed{color:#e38885}
html[data-theme=dark] .month-access-open{color:#aae8cb}
html[data-theme=dark] .staff-view-tabs{border-bottom:1px solid #2b3536}
html[data-theme=dark] .staff-view-tabs [aria-current]{background:#1b2924;color:#bceee0}
html[data-theme=dark] .staff-timeline-legend{color:#eaeff1}
html[data-theme=dark] .staff-timeline-dashed::before{border-top:2px dashed #445250}
html[data-theme=dark] .staff-timeline tbody th{background:#1b1b1b}
html[data-theme=dark] .staff-timeline thead th{background:#1c2723}
html[data-theme=dark] .staff-timeline small{color:#b1c2c9}
html[data-theme=dark] .staff-timeline .staff-timeline-group>*{background:#1b2521}
html[data-theme=dark] .staff-timeline tbody td{background:#17211c}
html[data-theme=dark] .staff-timeline-gridline{border-inline-start:1px solid #252e2b}
html[data-theme=dark] .staff-timeline-tenure,html[data-theme=dark] .staff-timeline-interval{background:#32413d}
html[data-theme=dark] .staff-timeline-inferred{border-top:2px dashed #445250}
html[data-theme=dark] .staff-timeline-interval{background:#4b3b19}
html[data-theme=dark] button.staff-timeline-marker{background:#1b1b1b;color:#b6e1dd}
html[data-theme=dark] button.staff-event-hire{color:#abebd4;background:#16291e}
html[data-theme=dark] button.staff-event-dismissal{color:#da8b88;background:#2b1512}
html[data-theme=dark] button.staff-event-absence{color:#faefe0;background:#a16e00}
html[data-theme=dark] button.staff-event-change{color:#9a91c9;background:#16112c}
html[data-theme=dark] .employee-productivity-link{color:#bbecde}
html[data-theme=dark] .employee-productivity{border:1px solid #323c3e;color:#c8e0e9;background:#192220}
html[data-theme=dark] .employee-kpis>div,html[data-theme=dark] .employee-chart{border:1px solid #293733;background:#1b1b1b}
html[data-theme=dark] .employee-kpis>div{background:#192921}
html[data-theme=dark] .employee-kpis strong{color:#baede1}
html[data-theme=dark] .employee-kpis small,html[data-theme=dark] .employee-average-note{color:#b5c7cd}
html[data-theme=dark] .employee-chart-legend span+span::before{background:#406e94}
html[data-theme=dark] .employee-bar+.employee-bar i{background:#324554}
html[data-theme=dark] .employee-month-bars>div{border-bottom:1px solid #293733}
html[data-theme=dark] .employee-month-bars i+i{background:#324554}
html[data-theme=dark] .employee-productivity summary{color:#bbecde}
html[data-theme=dark] #productivityTable .productivity-table>thead th{background:#1c2723}
html[data-theme=dark] :is(#productivityTable,#statisticsTable) .productivity-role-gip{--tree-color:#aa8ccc;--team-background:#241434}
html[data-theme=dark] :is(#productivityTable,#statisticsTable) .productivity-role-lead{--tree-color:#8dbbe1;--team-background:#102437}
html[data-theme=dark] :is(#productivityTable,#statisticsTable) .productivity-role-specialist{--tree-color:#a3dfc5;--team-background:#1b3024}
html[data-theme=dark] :is(#productivityTable,#statisticsTable) .productivity-group{background:var(--team-background,#192520)}
html[data-theme=dark] :is(#productivityTable,#statisticsTable) .productivity-tree-open::after,html[data-theme=dark] .productivity-guide{border-left:1px solid var(--tree-color,#3f4748)}
html[data-theme=dark] .productivity-guide-branch::after{border-top:1px solid var(--tree-color,#3f4748)}
html[data-theme=dark] .productivity-team-unit{color:#b5c8ce}
html[data-theme=dark] .productivity-breakdown{border:1px solid #2b3533}
html[data-theme=dark] .project-statistics-table tfoot :is(th,td){background:#1d2b26}
html[data-theme=dark] .project-statistics-table :is(th,td):first-child{background:#192520}
html[data-theme=dark] .project-statistics-table :is(th,td):nth-child(2){background:#17231e;box-shadow:1px 0 #2b3334}
html[data-theme=dark] .project-statistics-table .productivity-group :is(th,td):nth-child(-n+2){background:var(--team-background,#192520)}
html[data-theme=dark] .project-statistics-table :is(thead,tfoot) :is(th,td):nth-child(-n+2){background:#1d2925}
html[data-theme=dark] #extraTable thead th{background:#1c2723}
html[data-theme=dark] #extraTable .extra-reference{color:#bbecde}
html[data-theme=dark] .own-work-marker{color:#bbd5d2}
html[data-theme=dark] #extraTable .extraSort:hover,html[data-theme=dark] #extraTable .extraSort:focus-visible{background:#212e2a}
html[data-theme=dark] #extraTable .extraSort span{color:#bbd5d2}
html[data-theme=dark] #extraTable .extra-work-name{color:#bbecde}
html[data-theme=dark] #extraDialog.extra-readonly :is(input,select,textarea):disabled{background:#1d2222;color:#b5c5cb}
html[data-theme=dark] #extraDialog #deleteExtra{color:#e0928f;border-color:#442e2c}
html[data-theme=dark] .extra-code-help{color:#b3c5cc}
html[data-theme=dark] .extra-code-help summary{color:#bbecde}
html[data-theme=dark] .extra-code-picker>summary{border:1px solid #313b3e}
html[data-theme=dark] .extra-code-picker>summary[aria-disabled=true]{background:#1d2222}
html[data-theme=dark] .extra-code-options{background:#1b1b1b;border:1px solid #313b3e}
html[data-theme=dark] .extra-code-options button{background:#1b1b1b}
html[data-theme=dark] .extra-code-options button:is(:hover,:focus-visible,[aria-pressed=true]){background:#1b2323}
html[data-theme=dark] .extra-code-letter{--extra-code-ink:#f5f5f5}
html[data-theme=dark] #extraDialog[data-task-code]{border:5px solid var(--extra-code-accent,#313b3e)}
html[data-theme=dark] :is(#extraDialog,.extra-code-letter)[data-task-code="A"]{--extra-code-accent:#d50000}
html[data-theme=dark] :is(#extraDialog,.extra-code-letter)[data-task-code^="C"]{--extra-code-accent:#d19d00}
html[data-theme=dark] :is(#extraDialog,.extra-code-letter)[data-task-code="N"]{--extra-code-accent:#8d2780}
html[data-theme=dark] :is(#extraDialog,.extra-code-letter)[data-task-code^="T"]{--extra-code-accent:#699f2b}
html[data-theme=dark] :is(#extraDialog,.extra-code-letter)[data-task-code="X"]{--extra-code-accent:#137b9f}
html[data-theme=dark] #denyExtra{color:#df9595;border-color:#482f2f}
html[data-theme=dark] .graph-search{color:#b0c2ca}
html[data-theme=dark] .graph-search input{border:1px solid #414b4d;background:#1b1b1b;color:#cae0e9}
html[data-theme=dark] .planner .viewTools select,html[data-theme=dark] .report-toolbar select,html[data-theme=dark] .report-entry input{border-color:#414b4d}
html[data-theme=dark] .planner .graph-fullscreen{color:#cae0e9}
html[data-theme=dark] .planner .graph-fullscreen[aria-pressed="true"]{background:#1b2a25}
html[data-theme=dark] .planner .plannedOnly input{accent-color:#b1ecde}
html[data-theme=dark] .extra-scope input{accent-color:#b1ecde}
html[data-theme=dark] .absenceMark{color:#cadfea}
html[data-theme=dark] .absence-grid td,html[data-theme=dark] .absence-grid th{border-right:1px solid #262f2d}
html[data-theme=dark] .absence-grid th.absence-person{background:#346853}
html[data-theme=dark] .absence-year thead tr:first-child th:not(.absence-person){border-left:2px solid #3c4745;background:#3c695a}
html[data-theme=dark] .absence-year .absence-month-start{border-left:2px solid #3c4745}
html[data-theme=dark] .absence-year td[data-date]:hover,html[data-theme=dark] .absence-year td[data-date]:focus-visible{outline:2px solid #396973}
html[data-theme=dark] .absence-grid .absence-weekend{background:#8b4816}
html[data-theme=dark] .absence-grid .absence-week-start{border-left:2px solid #384140}
html[data-theme=dark] .matrix .weekStart{border-left:2px solid #384140}
html[data-theme=dark] .absence-grid td button:hover,html[data-theme=dark] .absence-grid td button:focus-visible{outline:2px solid #396973}
html[data-theme=dark] .absenceMark.absence-vacation,html[data-theme=dark] .absence-grid td.absence-vacation,html[data-theme=dark] .planner .matrix tr td.day.absence-vacation{background:#0d6c9a}
html[data-theme=dark] .absenceMark.absence-sick,html[data-theme=dark] .absence-grid td.absence-sick,html[data-theme=dark] .planner .matrix tr td.day.absence-sick{background:#93122b}
html[data-theme=dark] .absenceMark.absence-business,html[data-theme=dark] .absence-grid td.absence-business,html[data-theme=dark] .planner .matrix tr td.day.absence-business{background:#327747}
html[data-theme=dark] .absenceMark.absence-dayOff,html[data-theme=dark] .absence-grid td.absence-dayOff,html[data-theme=dark] .planner .matrix tr td.day.absence-dayOff{background:#997515}
html[data-theme=dark] .absenceMark.absence-unpaid,html[data-theme=dark] .absence-grid td.absence-unpaid,html[data-theme=dark] .planner .matrix tr td.day.absence-unpaid{background:#4e277e}
html[data-theme=dark] .absenceMark.calendar-holiday,html[data-theme=dark] .absence-grid thead th.calendar-holiday,html[data-theme=dark] .absence-grid td.calendar-holiday,html[data-theme=dark] .planner .matrix thead th.calendar-holiday,html[data-theme=dark] .planner .matrix tbody tr td.day.calendar-holiday,html[data-theme=dark] .report-scroll .compact-sheet .report-day.calendar-holiday{background:#5e257f}
html[data-theme=dark] .absenceMark.calendar-working,html[data-theme=dark] .absence-grid thead th.calendar-working,html[data-theme=dark] .planner .matrix thead th.calendar-working,html[data-theme=dark] .report-scroll .compact-sheet thead .report-day.calendar-working{background:#256b84}
html[data-theme=dark] .absence-grid td.calendar-holiday[class*="absence-"][title*=" — "],html[data-theme=dark] .planner .matrix td.calendar-holiday:has(.absenceMark){box-shadow:inset 0 -3px #46364d}
html[data-theme=dark] .report-entry-project{color:#b0c2ca}
html[data-theme=dark] .report-entry-delete{color:#e1938d;border-color:#3e2927}
html[data-theme=dark] .report-entry-delete:hover{background:#300f0a}
html[data-theme=dark] .report-dismissal{color:#e88a83}
html[data-theme=dark] .report-scroll .compact-sheet .report-extra-section :is(th,td){background:#24192e;color:#c8b9d7}
html[data-theme=dark] .report-scroll .compact-sheet .report-extra-task .sticky{background:#201528;box-shadow:inset 3px 0 #483855}
html[data-theme=dark] .report-scroll .compact-sheet tbody .report-fixed:not([data-task-code]){background:#4d4d4d}
html[data-theme=dark] .report-scroll .compact-sheet .report-fact{box-shadow:1px 0 #2f3836}
html[data-theme=dark] .report-scroll .compact-sheet .report-planned-progress{color:#beded0}
html[data-theme=dark] .report-scroll .compact-sheet .report-totals > :not(.weekend,.calendar-holiday,.today){background:#1b2522}
html[data-theme=dark] .report-scroll .compact-sheet .report-day button:hover,html[data-theme=dark] .report-scroll .compact-sheet .report-day button:focus-visible{border-color:#445054}
html[data-theme=dark] .report-scroll .compact-sheet thead .today{background:#285671}
html[data-theme=dark] .report-scroll .compact-sheet .report-day.absence-vacation{background:#0d6c9a}
html[data-theme=dark] .report-scroll .compact-sheet .report-day.absence-sick{background:#93122b}
html[data-theme=dark] .report-scroll .compact-sheet .report-day.absence-business{background:#327747}
html[data-theme=dark] .report-scroll .compact-sheet .report-day.absence-dayOff{background:#997515}
html[data-theme=dark] .report-scroll .compact-sheet .report-day.absence-unpaid{background:#4e277e}
html[data-theme=dark] .report-scroll .compact-sheet td.report-has-fact{outline:1px solid #3c4a5a}
html[data-theme=dark] #menuToggle{border-color:#394548}
html[data-theme=dark] #menuDrawer{border-right:1px solid #2e3838}
html[data-theme=dark] #menuDrawer nav button:hover{background:#192520}
html[data-theme=dark] #menuDrawer nav button.active{background:#1b2a25}
html[data-theme=dark] .staff-event-probation{color:#ebd0a9;background:#36290c;border-color:#6b5432}
html[data-theme=dark] .division-summary,html[data-theme=dark] .division-rankings section{background:#1b1b1b;border:1px solid #2b3433}
html[data-theme=dark] .division-hours-bar i{background:#2c3e4b}
html[data-theme=dark] .division-rankings small{color:#abbfc8}
html[data-theme=dark] .division-rankings i{background:#385a52}
html[data-theme=dark] .statistics-by-code thead th[scope="colgroup"]{background:#1c2724}
html[data-theme=dark] .statistics-by-code thead tr:nth-child(2) th{background:#1c2724}
html[data-theme=dark] .statistics-by-code thead th[rowspan]{background:#1d2925}
html[data-theme=dark] .project-statistics-table .statistics-project-start{border-inline-start:2px solid #465e63}
html[data-theme=dark] .statistics-by-code .statistics-code-divider{border-inline-start:1px solid #2f3a3a}
html[data-theme=dark] .statistics-by-code thead .extra-code-letter{background:var(--extra-code-accent,#292929);color:var(--extra-code-ink,#d0e4ec)}
html[data-theme=dark] .planner .matrix tbody td.day.weekend,html[data-theme=dark] .planner .matrix .loadrow td.weekend{background-color:#1b2121;background-image:linear-gradient(135deg,#202525 25%,transparent 25%,transparent 50%,#202525 50%,#202525 75%,transparent 75%,transparent);color:#bac7cb;box-shadow:inset -1px -1px 0 #212121}
html[data-theme=dark] .planner .matrix thead th.weekend{background:#332517;color:#eec7ac}
html[data-theme=dark] .planner .matrix tbody tr td.day.absence-vacation,html[data-theme=dark] .planner .matrix tbody tr td.day.absence-sick,html[data-theme=dark] .planner .matrix tbody tr td.day.absence-business,html[data-theme=dark] .planner .matrix tbody tr td.day.absence-dayOff,html[data-theme=dark] .planner .matrix tbody tr td.day.absence-unpaid,html[data-theme=dark] .planner .matrix tbody tr td.day.calendar-holiday{box-shadow:inset -1px -1px 0 #212121}
html[data-theme=dark] .planner .matrix tbody tr td.day.absence-vacation{background-color:#16628b;background-image:linear-gradient(135deg,#1b6790 25%,transparent 25%,transparent 50%,#1b6790 50%,#1b6790 75%,transparent 75%,transparent)}
html[data-theme=dark] .planner .matrix tbody tr td.day.absence-sick{background-color:#8c142d;background-image:linear-gradient(135deg,#91172f 25%,transparent 25%,transparent 50%,#91172f 50%,#91172f 75%,transparent 75%,transparent)}
html[data-theme=dark] .planner .matrix tbody tr td.day.absence-business{background-color:#307346;background-image:linear-gradient(135deg,#38774b 25%,transparent 25%,transparent 50%,#38774b 50%,#38774b 75%,transparent 75%,transparent)}
html[data-theme=dark] .planner .matrix tbody tr td.day.absence-dayOff{background-color:#956f11;background-image:linear-gradient(135deg,#9c7716 25%,transparent 25%,transparent 50%,#9c7716 50%,#9c7716 75%,transparent 75%,transparent)}
html[data-theme=dark] .planner .matrix tbody tr td.day.absence-unpaid{background-color:#4c2879;background-image:linear-gradient(135deg,#4e2c7f 25%,transparent 25%,transparent 50%,#4e2c7f 50%,#4e2c7f 75%,transparent 75%,transparent)}
html[data-theme=dark] .planner .matrix tbody tr td.day.calendar-holiday{background-color:#21142a;background-image:linear-gradient(135deg,#281832 25%,transparent 25%,transparent 50%,#281832 50%,#281832 75%,transparent 75%,transparent)}
html[data-theme=dark] .staffCardHr{border:1px solid #2f393a;background:#192323}
html[data-theme=dark] .staffCardHr p{color:#bfd6d6}
html[data-theme=dark] .staffEventList{border-left:2px solid #2f393a}
html[data-theme=dark] .staffEventItem{border:1px solid #273132;background:#1b1b1b}
html[data-theme=dark] .staffEventHead time{color:#b5c0cb}
html[data-theme=dark] .staff-event-dismissal .staffEventIcon{background:#692a27}
html[data-theme=dark] .staff-event-change .staffEventIcon{background:#2f4c62}
html[data-theme=dark] .staffEventBody dt{color:#abb6c1}
html[data-theme=dark] .staffEventBody .changed dd b{color:#b1ecde}
html[data-theme=dark] .staffEventNote{color:#fad99a}
html[data-theme=dark] .staffEventHint{color:#abb6c1}
html[data-theme=dark] .cal-popup{background:#1b1b1b;color:#c8e0e9;border:1px solid #354042}
html[data-theme=dark] .cal-head button:hover,html[data-theme=dark] .cal-grid button:hover:not(:disabled){background:#1c2726;border-color:#354042}
html[data-theme=dark] .cal-wd{color:#a0abb6}
html[data-theme=dark] .cal-grid .is-we{color:#e48984}
html[data-theme=dark] html[data-theme=dark] .cal-head button:hover,html[data-theme=dark] html[data-theme=dark] .cal-grid button:hover:not(:disabled){border-color:#495a60}
/* dashboard.css */
html[data-theme=dark] .dash{--dash-ink:#c8e0e9;--dash-muted:#abbfc8;--dash-line:#2b3433;--dash-fact:#added3;--dash-extra:#759fbf;--dash-total:#91c8e9}
html[data-theme=dark] .dash-panel,html[data-theme=dark] .dash-kpis{background:#1b1b1b}
html[data-theme=dark] .dash-grid-line{stroke:#272f2e}
html[data-theme=dark] .dash-selected{fill:#1c2723}
html[data-theme=dark] .dash-month:focus-visible .dash-hit{fill:rgba(141,194,238,0.102);stroke:#30607c}
html[data-theme=dark] .dash-ref-line{stroke:#42494c}
html[data-theme=dark] .dash-ref-label{fill:#a8b8bd}
html[data-theme=dark] .dash-line-total-dot{stroke:#212121}
html[data-theme=dark] .dash-line-plan-dot{fill:#1b1b1b}
html[data-theme=dark] .dash-hist{fill:#6a94a5}
html[data-theme=dark] .dash-key-planbar{background:#20292b;box-shadow:inset 0 0 0 1px #363f42}
html[data-theme=dark] .dash-heat-scroll{background:#4d4d4d}
html[data-theme=dark] .dash-heat thead th{background:#3c6657}
html[data-theme=dark] .dash-heat thead th.h-day-rest{background:#865322}
html[data-theme=dark] .dash-heat thead th.h-today,html[data-theme=dark] .dash-heat td.h-today{box-shadow:inset 2px 0 #30607c,inset -2px 0 #30607c}
html[data-theme=dark] .dash-heat thead th.h-today{background:#1d86c5}
html[data-theme=dark] .dash-heat .dash-heat-name{background:#4d4d4d}
html[data-theme=dark] .dash-heat thead .dash-heat-name{background:#3c6657}
html[data-theme=dark] .dash-heat .dash-heat-name button{color:#bbecde}
html[data-theme=dark] .dash-heat tbody tr:hover .dash-heat-name,html[data-theme=dark] .dash-heat tbody tr:hover .dash-heat-total{background:#3b6356}
html[data-theme=dark] .dash-heat-group th{background:#3f5e57}
html[data-theme=dark] .dash-heat td.h{border-right:1px solid #212121;border-bottom:1px solid #212121}
html[data-theme=dark] .h0{background:#1c2225}
html[data-theme=dark] .h1{background:#172631}
html[data-theme=dark] .h2{background:#1d323e}
html[data-theme=dark] .h3{background:#335a4d}
html[data-theme=dark] .h4{background:#574219}
html[data-theme=dark] .h5{background:#5d3225}
html[data-theme=dark] .h-rest{background:repeating-linear-gradient(135deg,#202525 0 4px,#1b2121 4px 8px)}
html[data-theme=dark] .h-absent{background:repeating-linear-gradient(135deg,#231b2f 0 4px,#1d152a 4px 8px)}
html[data-theme=dark] .dash-heat td.h0{background:#3f5962}
html[data-theme=dark] .dash-heat td.h1{background:#265b81}
html[data-theme=dark] .dash-heat td.h2{background:#28688d}
html[data-theme=dark] .dash-heat td.h4{background:#b57d0f;color:#fdefd1}
html[data-theme=dark] .dash-heat td.h5{background:#ae4323}
html[data-theme=dark] .dash-heat td.h-rest{background:repeating-linear-gradient(135deg,#485c5c 0 4px,#425b5b 4px 8px)}
html[data-theme=dark] .dash-heat td.h-absent{background:repeating-linear-gradient(135deg,#4f3077 0 4px,#472679 4px 8px);color:#ece8f2}
html[data-theme=dark] .dash-heat td.h-future{background:#3a6161}
html[data-theme=dark] .dash-heat-legend i.h3{border-color:#3c6457}
html[data-theme=dark] .dash-proj-plan{background:#20292b;box-shadow:inset 0 0 0 1px #363f42}
html[data-theme=dark] .dash-codes-bar{background:#425d58}
html[data-theme=dark] .dash-codes-bar i{border-right:1px solid #212121}
html[data-theme=dark] .dash-panel>summary:focus-visible{outline:2px solid #30607c}
/* ui.css */
html[data-theme=dark]{--ctl-border:#30393b;--panel-border:#2a3134;--focus:#2c4e5d;--ink:#c8e0e9;--muted:#abbfc8}
html[data-theme=dark] #page>.bar :is(input:not([type=checkbox],[type=radio],[type=range],[type=file]),select){background:#1b1b1b}
html[data-theme=dark] #page>.bar button:not(.calendar-button,.month-popup *){background:#1b1b1b}
html[data-theme=dark] #page>.bar button:not(.calendar-button,.month-popup *):hover:not(:disabled){background:#1a2421;border-color:#394646}
html[data-theme=dark] #page>.bar{background:#1b1b1b}
html[data-theme=dark] #page>.bar+.bar{border-top-color:#242c2d}
html[data-theme=dark] #page .wrap,html[data-theme=dark] #page .panel{background:#1b1b1b}
html[data-theme=dark] .view-badge{background:#1c2123;color:#abbfc8}
html[data-theme=dark] .home-card{background:#1b1b1b;border-left:4px solid #363f42}
html[data-theme=dark] .home-card.warn{border-left-color:#6f5129}
html[data-theme=dark] .home-card button{background:#1b1b1b}
html[data-theme=dark] .home-card button:hover{background:#1a2421}
html[data-theme=dark] .access-month{background:#1b1b1b}
html[data-theme=dark] .access-month.is-closed .month-access-icon{color:#dc8a84}
html[data-theme=dark] .access-month.is-open .month-access-icon{color:#added3}
html[data-theme=dark] .access-month.is-closed{background:#271513}
html[data-theme=dark] .access-month.is-current{box-shadow:inset 0 0 0 2px #375549}
html[data-theme=dark] .access-month.is-selected{background:#1b2a25}
html[data-theme=dark] .access-month:hover{border-color:#394646}
html[data-theme=dark] .state-planning{background:#362a0c;color:#fad99a}
html[data-theme=dark] .state-published{background:#192c22;color:#bcead1}
html[data-theme=dark] .state-closed{background:#2f1613;color:#e1938d}
html[data-theme=dark] .home-changes li{border-top:1px solid #242c2d}
html[data-theme=dark] .closed-banner{border:1px solid #412724;border-left:4px solid #6d3532;background:#271513;color:#e8b3af}
html[data-theme=dark] .archive-table .archived-row{background:#271513}
html[data-theme=dark] button.staff-chip.is-on{box-shadow:0 0 0 2px #212121,0 0 0 4px currentColor}
html[data-theme=dark] button.staff-chip-warn{color:#f0cc9c;background:#36280b}
html[data-theme=dark] .staff-nohire{background:#36280b;color:#f0cc9c}
html[data-theme=dark] .staff-timeline-help summary{color:#bbecde}
html[data-theme=dark] .staff-timeline-today{border-inline-start:2px solid #30607c}
html[data-theme=dark] .staff-timeline-tenure{background:#364c45 !important}
html[data-theme=dark] .staff-timeline-inferred{background:repeating-linear-gradient(135deg,#25322d 0 4px,#1c2723 4px 8px) !important}
html[data-theme=dark] .staff-timeline-interval{background:#4f3f18 !important}
html[data-theme=dark] .staff-timeline tbody tr:not(.staff-timeline-group):hover>*{background:#192320}
html[data-theme=dark] #menuDrawer nav button.active{background:#1b2a25}
html[data-theme=dark] .matrix .project-unpublished{border:1px solid #402724;background:#2c130f;color:#e1938d}
html[data-theme=dark] :is(#productivityTable,#statisticsTable) .productivity-group{background:color-mix(in srgb,var(--team-background,#192520) 75%,#1b1b1b)}
html[data-theme=dark] .bar label,html[data-theme=dark] .filters label,html[data-theme=dark] .extra-tools label,html[data-theme=dark] .staffBar label{color:#baced7}
html[data-theme=dark] .staffTerminatedBadge{background:#1e2224;color:#afbabd}
html[data-theme=dark] .matrix.doc-titles .task-title .doc-code{color:#a3afb3}
html[data-theme=dark] #back:hover{background:#1b2723;border-color:#2c3b37}
html[data-theme=dark] .matrix tr.subtask td.first .line{box-shadow:inset 3px 0 #384c46}
html[data-theme=dark] .matrix tr.subtask .ref::before{color:#90b2a9}
html[data-theme=dark] .matrix tr.subtask td.first{background:#17211e}
html[data-theme=dark] :is(#dashboardStatus,#statisticsStatus,#divisionStatus,#productivityStatus):not(:empty){background:#18211e}
html[data-theme=dark] tr.auditRow:hover{background:#192520}
html[data-theme=dark] body.with-sidebar #menuDrawer{background:#182220}
html[data-theme=dark] #menuPin:hover{background:#192520}
html[data-theme=dark] .planner .titlePicker:hover{background:#1b2522}
html[data-theme=dark] #page>.statistics-toolbar .viewSwitch button{background:#1b1b1b}
html[data-theme=dark] .statChart{background:#1b1b1b}
html[data-theme=dark] .statLegend .k-extra{background:#2c3e4b}
html[data-theme=dark] .statLegend .k-plan{background:#20292b;box-shadow:inset 0 0 0 1px #363f42}
html[data-theme=dark] .statBars .plan em{color:#bcd0d7}
html[data-theme=dark] .statBars .plan{background:#20292b;box-shadow:inset 0 0 0 1px #363f42}
html[data-theme=dark] .statBars .facts b.x{background:#2c3e4b}
html[data-theme=dark] .statLegend .k-ind{background:#5c4a26}
html[data-theme=dark] .statBars .facts b.ind{background:#5c4a26}
html[data-theme=dark] .statIndirectRow th,html[data-theme=dark] .statIndirectRow td{color:#ebd09c}
html[data-theme=dark] .carryBadge{background:#362a0c;color:#fad9a4;border:1px solid #504222}
html[data-theme=dark] .salaryField button{background:#1b1b1b}
html[data-theme=dark] .sdCard{border:1px solid var(--line,#282e30);background:var(--panel,#1b1b1b)}
html[data-theme=dark] .sdRow{border-bottom:1px solid var(--line,#252b2d)}
html[data-theme=dark] .sw-extra{background:#2c3e4b}
html[data-theme=dark] .sw-ind{background:#5c4a26}
html[data-theme=dark] .sw-plan{background:#273032}
html[data-theme=dark] .sdDelta.over{background:rgba(95,55,39,0.12);color:#e7ab93}
html[data-theme=dark] .sdDelta.ok{color:#b7e4d9}
html[data-theme=dark] .statPeople th,html[data-theme=dark] .statPeople td{border-bottom:1px solid var(--line,#252b2d)}
html[data-theme=dark] #statisticsTable .productivity-role-gip{--team-background:#1f162a}
html[data-theme=dark] #statisticsTable .productivity-role-lead{--team-background:#13202c}
html[data-theme=dark] #statisticsTable .productivity-role-specialist{--team-background:#19271f}
html[data-theme=dark] #statisticsTable .project-statistics-table :is(th,td){border-bottom:1px solid #252c2c}
html[data-theme=dark] #statisticsTable .project-statistics-table thead th{background:#1b2221;color:#bdd0d2;border-bottom:2px solid #2d3535}
html[data-theme=dark] #statisticsTable .project-statistics-table thead :is(th,td):nth-child(-n+2){background:#1c2524}
html[data-theme=dark] #statisticsTable .project-statistics-table .statistics-project-start{border-inline-start:1px solid #262e2e}
html[data-theme=dark] #statisticsTable .project-statistics-table tbody :is(th,td):nth-child(2){background:#18211e}
html[data-theme=dark] #statisticsTable .project-statistics-table .productivity-group>:first-child{box-shadow:inset 3px 0 var(--tree-color,#3b4e4e)}
html[data-theme=dark] #statisticsTable .project-statistics-table tbody tr:not(.productivity-group):hover :is(th,td){background:#192322}
html[data-theme=dark] #statisticsTable .project-statistics-table tbody tr:not(.productivity-group):hover td:nth-child(2){background:#1a2523}
html[data-theme=dark] #statisticsTable .project-statistics-table tfoot :is(th,td){background:#1c2522;border-top:1px solid #2b3333}
html[data-theme=dark] #statisticsTable .project-statistics-table tfoot tr.statIndirectRow :is(th,td){background:#2f2710;color:#edd5a6}
html[data-theme=dark] #statisticsTable .project-statistics-table tfoot tr.productivity-total:last-child :is(th,td){background:#1e2b27;border-top:2px solid #446f65}
html[data-theme=dark] #statisticsTable .project-statistics-table tfoot tr:only-child :is(th,td){border-top:2px solid #446f65}
/* app.html */
html[data-theme=dark] button.extra-request-button{background:#4a3910;border-color:#71572d;color:#f7e6cb}
html[data-theme=dark] button.extra-request-button:hover{background:#564112}
html[data-theme=dark] .staffTable tbody tr:nth-child(even){background:#182220}
html[data-theme=dark] .staffTable tbody tr:hover{background:#192621}
html[data-theme=dark] #userDialog select[name="role"]:disabled{background:#1e2424;color:#b7c6ca}
html[data-theme=dark] #userDialog .staffHierarchy{border:1px solid #2b3334}
html[data-theme=dark] .staffTerminatedBadge{color:#e1938d}
html[data-theme=dark] #userDialog .staffCheck input{accent-color:#b2ebdc}
html[data-theme=dark] .staffTable th button[data-staff-sort] span{color:#adbec2}
html[data-theme=dark] .staffTable th[aria-sort] button[data-staff-sort] span{color:#b2ebdc}
html[data-theme=dark] .staffTable .staffReportName{color:#bbecde}
html[data-theme=dark] .staffDelete{color:#e09392;border-color:#422b2a}
html[data-theme=dark] body{background:#1c2121;color:#c8e0e9}
html[data-theme=dark] button{border:1px solid #2f393b;background:#1b1b1b}
html[data-theme=dark] button.active{background:#1b2a25;color:#bbecde}
html[data-theme=dark] .card{background:#1b1b1b;border:1px solid #2b3334}
html[data-theme=dark] input,html[data-theme=dark] select{background:#1b1b1b;border:1px solid #2f3a3b}
html[data-theme=dark] table{background:#1b1b1b}
html[data-theme=dark] td,html[data-theme=dark] th{border-bottom:1px solid #272f2e}
html[data-theme=dark] th{background:#1c2723}
html[data-theme=dark] small{color:#aebdc1}
html[data-theme=dark] .error{color:#e3a696}
html[data-theme=dark] .wrap{border:1px solid #2b3334}
html[data-theme=dark] .sheet td,html[data-theme=dark] .sheet th{border-right:1px solid #292f2d}
html[data-theme=dark] .sheet .sticky{background:#19221d}
html[data-theme=dark] .sheet .section th,html[data-theme=dark] .sheet .section td{background:#1e2c27}
html[data-theme=dark] .sheet .scheduled{background:#1a281f}
html[data-theme=dark] .sheet .weekend{background:#3e2714}
html[data-theme=dark] dialog{color:#c8e0e9;background:#1b1b1b;border:1px solid #333e3b}
/* planner.html */
html[data-theme=dark]{color:#cadde7;background:#1b2022}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible{outline:3px solid #345767}
html[data-theme=dark] .mark{background:#1d3c30;color:#bdeae0}
html[data-theme=dark] .dim,html[data-theme=dark] small{color:#abbac0}
html[data-theme=dark] .period{color:#b0c2ca}
html[data-theme=dark] .btn{border:1px solid #2e373a;background:#1b1b1b}
html[data-theme=dark] .btn:hover{background:#192721}
html[data-theme=dark] .metrics{background:#1b1b1b;border:1px solid #2a3133}
html[data-theme=dark] .panel{background:#1b1b1b;border:1px solid #2a3134}
html[data-theme=dark] .tools{border-bottom:1px solid #272e31}
html[data-theme=dark] .calendarbar{background:#192020}
html[data-theme=dark] .slider input{accent-color:#abebd9}
html[data-theme=dark] .matrix td,html[data-theme=dark] .matrix th{border-right:1px solid #262c2d;border-bottom:1px solid #262b2d}
html[data-theme=dark] .matrix th{background:#1b2223;color:#b5c6cc}
html[data-theme=dark] .matrix .first{background:#1b1b1b}
html[data-theme=dark] .matrix th.first{background:#1b2223}
html[data-theme=dark] .matrix .weekend{background:#1b2023}
html[data-theme=dark] .hour:hover,html[data-theme=dark] .hour:focus{border-color:#3c4947;background:#1b1b1b}
html[data-theme=dark] .hour.filled{background:#1b3228;color:#c3eee0}
html[data-theme=dark] .matrix .project td,html[data-theme=dark] .matrix .project .first{background:#1d2b26}
html[data-theme=dark] .matrix .milestone td,html[data-theme=dark] .matrix .milestone .first{background:#1a2327}
html[data-theme=dark] .node{color:#c9dfe9}
html[data-theme=dark] .ref{color:#adc2cb}
html[data-theme=dark] .fold{color:#b6ced4}
html[data-theme=dark] .done{color:#a9edd8}
html[data-theme=dark] .matrix .code{color:#bcebe2}
html[data-theme=dark] .matrix .loadrow td{color:#b1c6cc;background:#1a2121}
html[data-theme=dark] .matrix .loadrow .over{background:#3d290d;color:#fad0a3}
html[data-theme=dark] .note{color:#aebfc5}
html[data-theme=dark] .tools select,html[data-theme=dark] label select,html[data-theme=dark] label input{background:#1b1b1b;color:#cae0e9;border:1px solid #30393b}
html[data-theme=dark] dialog{background:#1b1b1b;color:#cfe2e9;border:1px solid #323a3d}
html[data-theme=dark] dialog input,html[data-theme=dark] dialog select{color:#cfe2e9 !important;background:#1b1b1b !important}
html[data-theme=dark] .error{color:#e7a295}
html[data-theme=dark] .matrix .weekend,html[data-theme=dark] .matrix .loadrow .weekend{background:#3e2714;color:#eec7ac}
html[data-theme=dark] .matrix th.weekend{background:#472d19}
html[data-theme=dark] .rowAction[data-add]{color:#91e4b5}
html[data-theme=dark] .rowAction[data-add]:hover{background:#162a1e;border-color:#337750}
html[data-theme=dark] .rowAction[data-remove]{color:#e07972}
html[data-theme=dark] .rowAction[data-remove]:hover{background:#30110e;border-color:#6c302c}
html[data-theme=dark] .rowAction{border:1px solid #343d3a;background:#1b1b1b;color:#bbebde}
html[data-theme=dark] #editor textarea{border:1px solid #30393b;background:#1b1b1b}
html[data-theme=dark] #editor textarea:focus-visible{outline:3px solid #345767}
html[data-theme=dark] #editorFields:disabled :is(input,select,textarea){background:#1d2122 !important;color:#aebabf !important;border-color:#2c3234}
html[data-theme=dark] #editor #totalPlannedHours{background:#1d2122 !important}
html[data-theme=dark] .pinned-project span{background:#1d2b26;color:#c8e0e9}
html[data-theme=dark] .planner #graphSearchStatus{color:#b0c2ca}
html[data-theme=dark] .matrix .task-context .node{color:#b0c2ca}
html[data-theme=dark] .matrix tr.graph-linked-point .first{background:#1d0f2e;box-shadow:inset 0 0 0 2px #4c2e6e}
html[data-theme=dark] .matrix .task-group .first{background:#182426;box-shadow:inset 3px 0 #44575a}
html[data-theme=dark] .matrix .extra-badge{background:#6721b5}
html[data-theme=dark] .matrix .extra-number{color:#adc2cb}
html[data-theme=dark] .matrix .project-unpublished{color:#e1938d}
html[data-theme=dark] .matrix .project-no-plan{color:#b0c2ca}
html[data-theme=dark] .planner .matrix .loadrow td.load-ok{background:#2a7f4b;color:#bcead1}
html[data-theme=dark] .matrix .loadrow .load-name-ok{color:#bcead1}
html[data-theme=dark] #ask{border:1px solid #30393b}
html[data-theme=dark] #askBody h3{color:#abbfc8}
html[data-theme=dark] #ask.danger #askOk{background:#682f2a;border-color:#733732}
html[data-theme=dark] #saveBar i{border:2px solid rgba(33,33,33,0.333);border-top-color:#212121}
html[data-theme=dark] .draft-note{color:#fae4a4}
html[data-theme=dark] #loadingPlan{background:rgba(28,33,33,0.902);color:#c9dee9}
html[data-theme=dark]{--muted:#9fb6be;--ink:#dbe8ec;--ctl-border:#3f5963;--panel-border:#30464f;--dash-muted:#9fb6be;--dash-ink:#dbe8ec;--dash-line:#30464f;--accent:#4fb99c;--focus:#6cb8dc}
html[data-theme=dark] :is(button,select,input):disabled{color:#8fa4ab;opacity:.6}
html[data-theme=dark] .planner .matrix td.day{box-shadow:none}
html[data-theme=dark]{color-scheme:dark;background:#0f171b;color:#d9e6ea}
html[data-theme=dark] body{background:#0f171b;color:#d9e6ea}
html[data-theme=dark] :is(input,select,textarea){background:#16242a;color:#d9e6ea;border-color:#34505a}
html[data-theme=dark] ::placeholder{color:#7f979f}
