/* GENERATED by scripts/build_dark_css.py from the light styles — do not edit by hand. */
@media screen {
html[data-theme="dark"] {
  --surface: #171D29; --paper: #0F141D; --line: #2C3547; --line-soft: #232B3A;
  --ink: #E6EAF2; --ink-2: #AEB8CA; --ink-3: #8D98AC;
  --cobalt: #7DA7FF; --cobalt-dark: #A9C4FF; --cobalt-soft: #1D2D52;
  --green-soft: #12352A; --red-soft: #3D1C1C; --amber-soft: #3A2C12; --red: #F0776C; --green: #3CC494; --amber: #F0B45A;
}
html[data-theme="dark"] .brand img { background: #171D28; }
html[data-theme="dark"] .nav .grp { color: #8E97A6; }
html[data-theme="dark"] .nav a.item.active { background: #1670C4; }
html[data-theme="dark"] .nav a.top.active { background: #1670C4; }
html[data-theme="dark"] .btn:hover { border-color: #474E58; }
html[data-theme="dark"] .btn-primary { background: #1670C4; }
html[data-theme="dark"] .btn-danger { border-color: #593A37; }
html[data-theme="dark"] input[type=text], html[data-theme="dark"] input[type=email], html[data-theme="dark"] input[type=password], html[data-theme="dark"] input[type=number], html[data-theme="dark"] input[type=date], html[data-theme="dark"] input[type=search], html[data-theme="dark"] input[type=time], html[data-theme="dark"] input[type=month], html[data-theme="dark"] input:not([type]), html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: #171D28; }
html[data-theme="dark"] table.t thead th { background: #1A212D; }
html[data-theme="dark"] table.t tbody tr:hover { background: #171F2E; }
html[data-theme="dark"] table.t tfoot td { background: #1A212D; }
html[data-theme="dark"] table.t tr.heading td { background: #1D242F; }
html[data-theme="dark"] .badge-gray { color: #A6AAB0; }
html[data-theme="dark"] .badge-amber { color: #DFCA9F; }
html[data-theme="dark"] .flash-success { border-color: #3F5B4D; color: #BFDED1; }
html[data-theme="dark"] .flash-error { border-color: #5B3733; color: #D6ACA9; }
html[data-theme="dark"] .flash-warning { border-color: #6B5B35; color: #E7D7B7; }
html[data-theme="dark"] .flash-info { border-color: #314059; color: #ADBCD8; }
html[data-theme="dark"] .kpi:hover { background: #171F2E; }
html[data-theme="dark"] .progress > span { background: #1670C4; }
html[data-theme="dark"] table.lines th { background: #1A212D; }
html[data-theme="dark"] table.lines td.ro { background: #1C202A; }
html[data-theme="dark"] .lookup .menu { background: #171D28; }
html[data-theme="dark"] .lookup .menu div.acc-head { background: #21252C; }
html[data-theme="dark"] .lookup .menu div.acc-head:hover { background: #21252C; }
html[data-theme="dark"] .mlookup { background: #171D28; }
html[data-theme="dark"] .mlookup .menu { background: #171D28; }
html[data-theme="dark"] .auth .form { background: #171D28; }
html[data-theme="dark"] .grid-wrap { background: #171D28; }
html[data-theme="dark"] table.sheet th { background: #1D2531; }
html[data-theme="dark"] table.sheet th.grp-cost { background: #26332A; }
html[data-theme="dark"] table.sheet th.grp-price { background: #1C2537; }
html[data-theme="dark"] table.sheet td.ro .cell { background: #191F2B; }
html[data-theme="dark"] table.sheet td [contenteditable=true]:focus { background: #332E1A; }
html[data-theme="dark"] table.sheet tr.heading td { background: #1D242F; }
html[data-theme="dark"] table.sheet td.rowno { background: #1A212D; }
html[data-theme="dark"] .sumbar { background: #171D28; }
html[data-theme="dark"] .stages li { background: #171D28; }
html[data-theme="dark"] .stages li.now { background: #1670C4; }
html[data-theme="dark"] .tile { background: #171D28; }
html[data-theme="dark"] .print-page { background: #171D28; }
html[data-theme="dark"] .sync { background: #1D2531; }
html[data-theme="dark"] .sync.busy { color: #E3D3AB; }
html[data-theme="dark"] .wb { background: #171D28; }
html[data-theme="dark"] .sg-toolbar { background: #1A212D; }
html[data-theme="dark"] .sg-toolbar button:hover, html[data-theme="dark"] .sg-toolbar select:hover { background: #171D28; }
html[data-theme="dark"] .sg-toolbar .clr:hover { background: #171D28; }
html[data-theme="dark"] .sg-toolbar .clr span { border: 1px solid #666666; }
html[data-theme="dark"] .sg-toolbar .clr.txt { color: #DC9595; }
html[data-theme="dark"] .sg-formula input:focus { background: #332E1A; }
html[data-theme="dark"] .sg-scroll { background: #171D28; }
html[data-theme="dark"] .sg-corner { background: #171D28; }
html[data-theme="dark"] .sg-tophead { background: #171D28; }
html[data-theme="dark"] .sg-left { background: #171D28; }
html[data-theme="dark"] .sg-side { background: #171D28; border-inline-start: 1px solid #424850; }
html[data-theme="dark"] .sg-side h3 { border-bottom: 1px solid #373C45; }
html[data-theme="dark"] .sg-side table.bu th, html[data-theme="dark"] .sg-side table.bu td { border-bottom: 1px solid #333940; }
html[data-theme="dark"] .sg-side .err { color: #D19D99; }
html[data-theme="dark"] .sg-side .sug { border: 1px solid #373C45; }
html[data-theme="dark"] .sg-side .bar { background: #22272F; }
html[data-theme="dark"] .sg-resbar { background: #372F1C; border: 1px solid #8A763C; }
html[data-theme="dark"] .sg-resbar code { background: #171D28; }
html[data-theme="dark"] .sg-side .cmt { border: 1px solid #373C45; background: #191F2B; }
html[data-theme="dark"] .sg-side .cmt .when { color: #A2A7AF; }
html[data-theme="dark"] .sg-side td, html[data-theme="dark"] .sg-side th { border-bottom: 1px solid #333940; }
html[data-theme="dark"] .sg-side .diff-old { color: #D19D99; }
html[data-theme="dark"] .sg-side .diff-new { color: #B4E3CF; }
html[data-theme="dark"] .sg-dvmsg { background: #34321A; }
html[data-theme="dark"] .sg-notetip { background: #37301C; }
html[data-theme="dark"] .sg-all { background: #22272F; border-inline-end: 1px solid #424850; border-bottom: 1px solid #424850; }
html[data-theme="dark"] .sh, html[data-theme="dark"] .rh { background: #22272F; color: #B7BBC2; }
html[data-theme="dark"] .sh { border-inline-end: 1px solid #424850; border-bottom: 1px solid #424850; }
html[data-theme="dark"] .rh { border-inline-end: 1px solid #424850; border-bottom: 1px solid #3A4048; }
html[data-theme="dark"] .sh.on, html[data-theme="dark"] .rh.on { background: #202C40; }
html[data-theme="dark"] .sc { border-inline-end: 1px solid #373C45; border-bottom: 1px solid #373C45; color: #E4E4E4; }
html[data-theme="dark"] .sc.mg { background-color: #171D28; }
html[data-theme="dark"] .sg-editor { background: #171D28; }
html[data-theme="dark"] .sg-tabs { background: #1F242D; }
html[data-theme="dark"] .sg-tabs .tab { background: #242A32; }
html[data-theme="dark"] .sg-tabs .tab.on { background: #171D28; }
html[data-theme="dark"] .sg-status { background: #171D28; }
html[data-theme="dark"] .sg-menu { background: #171D28; }
html[data-theme="dark"] .fbtn { background: #171D28; border: 1px solid #585E65; color: #C1C7CF; }
html[data-theme="dark"] .fbtn.on { background: #1670C4; }
html[data-theme="dark"] .sg-fill { background: #1670C4; border: 1.5px solid #333333; }
html[data-theme="dark"] .sg-find { background: #332E1A; }
html[data-theme="dark"] .sg-find button { background: #171D28; }
html[data-theme="dark"] .sg-ac { background: #171D28; }
html[data-theme="dark"] .sg-fpop { background: #171D28; }
html[data-theme="dark"] .sg-fpop .fp-acts button, html[data-theme="dark"] .sg-fpop .fp-foot button { background: #171D28; }
html[data-theme="dark"] .sg-fpop .fp-foot button.btn-primary { background: #1670C4; }
html[data-theme="dark"] .sg-menu .kids { background: #171D28; }
html[data-theme="dark"] .map-sheet { background: #171D28; }
html[data-theme="dark"] .sec-tabs { background: var(--paper, #171D28); }
html[data-theme="dark"] .sec-tabs a:hover { background: #1D2531; }
html[data-theme="dark"] .sec-tabs a.on { background: #1670C4; }
html[data-theme="dark"] .sec-card { background: var(--paper, #171D28); }
html[data-theme="dark"] .sec-ico { background: #1D2531; }
html[data-theme="dark"] .sec-card.report .sec-ico { background: #1F3328; color: #AAD3BB; }
html[data-theme="dark"] .sec-card.tool .sec-ico { background: #322D22; color: #D3C7AA; }
html[data-theme="dark"] .rep-item:hover { background: #19202E; }
html[data-theme="dark"] .rep-ico { background: #1F3328; color: #AAD3BB; }
html[data-theme="dark"] .side .brand img { background: #171D28; }
html[data-theme="dark"] .side .nav a:hover, html[data-theme="dark"] .side .nav a.active { background: #1670C4; }
html[data-theme="dark"] .avatar { background: var(--surface); }
html[data-theme="dark"] .tb-btn { background: #171D28; }
html[data-theme="dark"] .user-menu { background: #171D28; }
html[data-theme="dark"] .mod-pills { background: #171D28; }
html[data-theme="dark"] .workflow-strip a:hover, html[data-theme="dark"] .workflow-strip a.on { background: #1670C4; }
html[data-theme="dark"] .doc-tabs { border-bottom: 1px solid #373E48; }
html[data-theme="dark"] .doc-tabs em { background: #1F2730; }
html[data-theme="dark"] .btn { border-color: #363D47; color: #AFB3BC; }
html[data-theme="dark"] table.t thead th { background: #1C202A; color: #959AA2; }
html[data-theme="dark"] table.t td { color: #B0B4BB; }
html[data-theme="dark"] .kpi { background: #171D28; }
html[data-theme="dark"] .menu-btn { background: #171D28; }
html[data-theme="dark"] .screen-head h2 span, html[data-theme="dark"] .record-title h2 span, html[data-theme="dark"] .doc-sheet-head h2 span { background: #1A2333; }
html[data-theme="dark"] .record-title h2 em { color: #B0B4BB; }
html[data-theme="dark"] .search { background: #171D28; }
html[data-theme="dark"] .summary-chips > * { background: #171D28; }
html[data-theme="dark"] .summary-chips a.on { background: #1A2333; }
html[data-theme="dark"] .summary-chips .st-pending b, html[data-theme="dark"] .summary-chips .st-draft b { color: #D4BA99; }
html[data-theme="dark"] .summary-chips .st-posted b { color: #ABDFCF; }
html[data-theme="dark"] .doc-toolbar { background: #171D28; }
html[data-theme="dark"] table.list-t tbody tr:hover { background: #161F2C; }
html[data-theme="dark"] .cell-subtitle { color: #9398A0; }
html[data-theme="dark"] .row-acts a { border: 1px solid #363E48; color: #AFB3BC !important; background: #171D28; }
html[data-theme="dark"] .badge-green { color: #ABDFCF; background: #1C362C; }
html[data-theme="dark"] .badge-amber { color: #D4BA99; background: #382D1C; }
html[data-theme="dark"] .doc-sheet { background: #1A212D; border: 1px solid #373D46; }
html[data-theme="dark"] .doc-sheet-head { background: #171D28; }
html[data-theme="dark"] .doc-close { background: #20262E; }
html[data-theme="dark"] .doc-close:hover { background: #252C35; }
html[data-theme="dark"] .doc-form-grid .field > span:first-child { color: #AFB4BD; }
html[data-theme="dark"] .doc-form-grid input, html[data-theme="dark"] .doc-form-grid select, html[data-theme="dark"] .doc-form-grid textarea { background: #171D28; border-color: #373E48; }
html[data-theme="dark"] .btn-add { border-color: #25395A; background: #18222F; }
html[data-theme="dark"] .items-table { background: #171D28; border: 1px solid #373D46; }
html[data-theme="dark"] .items-table table.lines th { background: #1C202A; color: #959AA2; }
html[data-theme="dark"] .items-table table.lines td { border-bottom-color: #333940; }
html[data-theme="dark"] .items-table table.lines input, html[data-theme="dark"] .items-table table.lines select { border-color: #373E48; }
html[data-theme="dark"] .totals-card { background: #171D28; border: 1px solid #373D46; }
html[data-theme="dark"] .totals-card .k, html[data-theme="dark"] .totals-card .v { border-bottom: 1px solid #333940; }
html[data-theme="dark"] .totals-card .k { color: #B0B4BB; }
html[data-theme="dark"] .totals-card .grand { background: #1A2333; }
html[data-theme="dark"] .doc-sheet-foot { background: #171D28; }
html[data-theme="dark"] .btn-outline { background: #171D28; }
html[data-theme="dark"] .record-head { background: #171D28; }
html[data-theme="dark"] .record-title .back { background: #20262E; }
html[data-theme="dark"] .record-title .back:hover { background: #252C35; }
html[data-theme="dark"] .info-panel .dl > div { border-bottom-color: #333940; }
html[data-theme="dark"] .info-panel .dl dt { color: #959AA2; }
html[data-theme="dark"] .stat { background: #171D28; }
html[data-theme="dark"] .stat-icon.c1 { background: #1A2333; color: #7DA6F2; }
html[data-theme="dark"] .stat-icon.c2 { background: #1C362C; color: #ABDFCF; }
html[data-theme="dark"] .stat-icon.c3 { background: #1F1932; color: #9F8AE5; }
html[data-theme="dark"] .stat-icon.c4 { background: #382D1C; color: #D4BA99; }
html[data-theme="dark"] .stat-txt em { color: #959AA2; }
html[data-theme="dark"] .btn-danger { color: #E08F8F; border-color: #573030; background: #171D28; }
html[data-theme="dark"] .btn-amber { background: #382D1C; border-color: #665433; color: #D4BA99; }
html[data-theme="dark"] .top-search { background: #1B212E; }
html[data-theme="dark"] .top-search:focus-within { background: #171D28; }
html[data-theme="dark"] .menu-pop .menu-list { background: #171D28; }
html[data-theme="dark"] .menu-pop .menu-list a:hover { background: #18202F; }
html[data-theme="dark"] .drop { border: 2px dashed #25395A; background: #17202E; }
html[data-theme="dark"] .drop-ico { background: #1A2333; }
html[data-theme="dark"] .check-line { color: #AFB3BC; }
html[data-theme="dark"] .col-chips span { background: #1B212E; color: #AFB3BC; }
html[data-theme="dark"] .col-chips span.req { border-color: #25395A; }
html[data-theme="dark"] .tpl-chip { background: #171D28; }
html[data-theme="dark"] .tpl-chip.on { border-color: #25395A; background: #18222F; }
html[data-theme="dark"] .tpl-chip button:hover { background: #1F2730; }
html[data-theme="dark"] .designer-form .field > span { color: #AFB4BD; }
html[data-theme="dark"] .pick-grid label { color: #AFB3BC; }
html[data-theme="dark"] .col-order li { border-bottom: 1px solid #333940; background: #171D28; }
html[data-theme="dark"] .col-order button { background: #171D28; color: #AFB3BC; }
html[data-theme="dark"] .designer-foot { background: #171D28; }
html[data-theme="dark"] .designer-preview { background: #232932; }
html[data-theme="dark"] .pv-head { background: #171D28; }
html[data-theme="dark"] .designer-preview iframe { background: #232932; }
html[data-theme="dark"] .suggest-pop { background: #171D28; }
html[data-theme="dark"] .sx-group + .sx-group { border-top: 1px solid #333940; }
html[data-theme="dark"] .sx-item:hover, html[data-theme="dark"] .sx-item.on { background: #18202F; }
html[data-theme="dark"] .sx-item span { color: #B0B4BB; }
html[data-theme="dark"] .sx-all { border-top: 1px solid #333940; }
html[data-theme="dark"] .row-acts button { border: 1px solid #363E48; color: #AFB3BC; background: #171D28; }
html[data-theme="dark"] .row-acts button.ok { color: #ABDFCF; border-color: #39584B; }
html[data-theme="dark"] .row-acts button.ok:hover { background: #1C362C; }
html[data-theme="dark"] .row-acts button.del:hover { border-color: #573030; background: #2F1717; }
html[data-theme="dark"] .row-acts button.conv { border-color: #25395A; background: #18222F; }
html[data-theme="dark"] .conv-links a { background: #192231; }
html[data-theme="dark"] .approval-banner { background: #18222F; border: 1px solid #25395A; }
html[data-theme="dark"] .approval-banner span { color: #B9BFCA; }
html[data-theme="dark"] .approval-banner.ok { background: #1A3329; border-color: #39584B; }
html[data-theme="dark"] .approval-banner.ok span { color: #ABDFCF; }
html[data-theme="dark"] .approval-banner.wait { background: #322919; border-color: #665433; }
html[data-theme="dark"] td.product-cell .line-desc { color: #B0B4BB; background: #161E2C; }
html[data-theme="dark"] .request-lower { background: #1B232B; border-top: 1px solid #343B45; }
html[data-theme="dark"] .request-lower .notes-box > span { color: #BEC4CE; }
html[data-theme="dark"] .upload-box { border-color: #424C59; background: #171D28; }
html[data-theme="dark"] .upload-box:hover { background: #172F28; }
html[data-theme="dark"] .upload-box .drop-ico { background: #1B362F; color: #A4D9CB; }
html[data-theme="dark"] .upload-box b { color: #A9DBCF; }
html[data-theme="dark"] .side .brand .product-logo img { background: #171D28; }
html[data-theme="dark"] .side .company-chip img { background: #171D28; }
html[data-theme="dark"] .eta-ready { border-color: #665433; background: #322919; }
html[data-theme="dark"] .eta-ready.ok { border-color: #39584B; background: #1A3329; }
html[data-theme="dark"] .pp-head h2 .pp-status.stopped { color: #E1CBA5; }
html[data-theme="dark"] .pill.warn { color: #E1CBA5; }
html[data-theme="dark"] .pp-costs th small { color: var(--ink-3, #999DA6); }
html[data-theme="dark"] .pp-costs td .due { color: #DFCA9F; }
html[data-theme="dark"] .pp-in { background: #171D28; }
html[data-theme="dark"] .pp-save { background: #1670C4; }
html[data-theme="dark"] .pp-st.pending { color: #E1CBA5; }
html[data-theme="dark"] .seg button { background: #171D28; }
html[data-theme="dark"] .pp-drawer { background: #171D28; }
html[data-theme="dark"] .dvbtn { background: #171D28; border: 1px solid #585E65; color: #C1C7CF; }
html[data-theme="dark"] .wb.show-f .sc.fx { color: #A9BBD3; }
html[data-theme="dark"] .sg-dlg-box { background: #171D28; }
html[data-theme="dark"] .sg-dvpop { background: #171D28; }
html[data-theme="dark"] .grp { background: #171D28; color: #C1C7CF; }
html[data-theme="dark"] .sg-chart { background: #171D28; border: 1px solid #494F57; }
html[data-theme="dark"] .sg-chart .ch-head { background: #1F242C; }
html[data-theme="dark"] .sg-chart svg text { fill: #B7BBC2; }
html[data-theme="dark"] .sg-chart .ch-rs { background: var(--surface); }
html[data-theme="dark"] .sg-img:hover { outline-color: #585E65; }
html[data-theme="dark"] td input.warn { background: #352D1B; }
html[data-theme="dark"] .tfilter { border: 1px solid var(--line, #383F48); background: #171D28; }
html[data-theme="dark"] .tfilter:focus-within { border-color: #4C5665; }
html[data-theme="dark"] .tfilter small { color: #A9AFB7; }
html[data-theme="dark"] .lib-search { background: var(--surface, #171D28); }
html[data-theme="dark"] .lib-icons .pp-icon { background: var(--surface, #171D28); }
html[data-theme="dark"] .lib-tree a.active { background: #1A2333; }
html[data-theme="dark"] .lib-menu { background: var(--surface, #171D28); }
html[data-theme="dark"] .lib-menu button.danger { color: var(--red, #DC887F); }
html[data-theme="dark"] .lib-code { background: #1F3829; color: #AFD6C0; }
html[data-theme="dark"] .lib-code.B { background: #3A311D; color: #E3D0AB; }
html[data-theme="dark"] .lib-note { background: #1A2333; }
html[data-theme="dark"] .pl-icons .pp-icon { background: var(--surface, #171D28); }
html[data-theme="dark"] .pl-curve .pl-earned { stroke: #ABD5C1; }
html[data-theme="dark"] .pl-curve .pl-earned-pt { fill: #ABD5C1; }
html[data-theme="dark"] .pl-curve .pl-earned-pt.draft { stroke: #ABD5C1; }
html[data-theme="dark"] .pl-curve .pl-dd { stroke: #DBBE92; }
html[data-theme="dark"] .pl-curve .lg.planned { background: #1670C4; }
html[data-theme="dark"] .pl-st.approved { background: #1F3829; color: #AFD6C0; }
html[data-theme="dark"] .pl-st.submitted, html[data-theme="dark"] .pl-st.pm_reviewed { background: #1A2333; }
html[data-theme="dark"] .pl-st.returned { background: #341D1A; color: #D2A4A0; }
html[data-theme="dark"] .pl-late { color: #CF9C99; }
html[data-theme="dark"] .pl-idx.ok { color: #AFD6C0; }
html[data-theme="dark"] .pl-idx.bad { color: #CF9C99; }
html[data-theme="dark"] .pl-acts thead th { background: var(--surface, #171D28); }
html[data-theme="dark"] .pl-acts tr.pl-crit td:nth-child(2), html[data-theme="dark"] .pl-acts tr.pl-crit td:nth-child(3) { color: #CF9C99; }
html[data-theme="dark"] .pl-sug { background: #1A2333; }
html[data-theme="dark"] .pl-sug.conf { background: #341D1A; color: #D2A4A0; }
html[data-theme="dark"] .pl-slip { color: #CF9C99; }
html[data-theme="dark"] .pl-map input.pl-code.unknown { background: #352E1B; }
html[data-theme="dark"] .pl-map tr.pl-item.warn td { background: #3A311D; }
html[data-theme="dark"] .lib-shared { background: #1F3829; color: #AFD6C0; }
html[data-theme="dark"] .lib-shared.in { background: #1A2333; }
html[data-theme="dark"] .crm-col { background: var(--panel-2, #1D222D); }
html[data-theme="dark"] .crm-card { background: var(--panel, #171D28); border: 1px solid var(--line, #373C45); }
html[data-theme="dark"] .crm-won header b { color: var(--ok, #AFD7BB); }
html[data-theme="dark"] .crm-lost header b { color: var(--bad, #D19D99); }
html[data-theme="dark"] .crm-due-overdue { color: var(--red, #D19D99); }
html[data-theme="dark"] .nb-menu { background: #171D28; }
html[data-theme="dark"] .nb-head { background: #171D28; }
html[data-theme="dark"] .nb-it:hover { background: #171F2E; }
html[data-theme="dark"] .nb-push { color: var(--accent, #7E9AE7); }
html[data-theme="dark"] .tb-back { background: var(--card, #171D28); color: var(--ink, #CBD5E4); }
html[data-theme="dark"] .tb-back:hover { background: var(--line-soft, #25282D); }
html[data-theme="dark"] .lm-t th { background: #1A232F; }
html[data-theme="dark"] .lm-t td:first-child { background: #191F2B; }
html[data-theme="dark"] .lm-t tr.hdr td { background: #1A2434; }
html[data-theme="dark"] .lm-err { color: var(--red, #D19D99); }
html[data-theme="dark"] .sb-catf>summary { border: 1px solid var(--line,#3F4750); background: #171D28; }
html[data-theme="dark"] .sb-catf-menu { background: #171D28; border: 1px solid var(--line,#3F4750); }
html[data-theme="dark"] .sb-catf-menu label:hover { background: #1D262F; }
html[data-theme="dark"] .ssel-btn { background: #171D28; }
html[data-theme="dark"] .ssel-menu { background: #171D28; }
html[data-theme="dark"] .ss-bar { background: #171D28; }
html[data-theme="dark"] table.ss thead th { background: #1C222C; }
html[data-theme="dark"] table.ss tfoot th { background: #1C222C; }
html[data-theme="dark"] table.ss .ss-stick { background: #171D28; }
html[data-theme="dark"] table.ss thead .ss-stick, html[data-theme="dark"] table.ss tfoot .ss-stick { background: #1C222C; }
html[data-theme="dark"] table.ss .ss-ded { color: #D8B1A4; }
html[data-theme="dark"] .ss-temp { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .sd-basic td { background: #1C222C; }
html[data-theme="dark"] input.auto-no { background: #1E232D; }
html[data-theme="dark"] .tpl-img img { background: #171D28; }
html[data-theme="dark"] .stock-zero { color: var(--muted, #9398A0); }
html[data-theme="dark"] #chart-tree tr.ct-detail td { background: #161E2C; }
html[data-theme="dark"] #chart-tree tr.ct-off td { color: var(--muted, #9398A0); }
html[data-theme="dark"] .avatar { background: #1670C4; }
html[data-theme="dark"] .sec-tabs a, html[data-theme="dark"] .mod-pills a { background: #252B36; color: #BEC3CD; }
html[data-theme="dark"] .sec-tabs a:hover, html[data-theme="dark"] .mod-pills a:hover { background: #2C323E; }
html[data-theme="dark"] body .tabs a:hover, html[data-theme="dark"] body .doc-tabs a:hover, html[data-theme="dark"] body .sd-tabs a:hover, html[data-theme="dark"] body .mn-tabs a:hover, html[data-theme="dark"] body .tk-tabs a:hover { border-color: #484F5A; }
html[data-theme="dark"] body .tabs a.active, html[data-theme="dark"] body .tabs a.on, html[data-theme="dark"] body .doc-tabs a.on, html[data-theme="dark"] body .sd-tabs a.on, html[data-theme="dark"] body .mn-tabs a.on, html[data-theme="dark"] body .tk-tabs a.on { border-color: #304266; }
html[data-theme="dark"] body .doc-tabs a.on em { background: #171D28; }
html[data-theme="dark"] .sec-wait { color: #E5D4B2; }
html[data-theme="dark"] .list-wrap table.t thead th { background: #1C222C; }
html[data-theme="dark"] .list-wrap table.t tfoot td { background: #1C222C; }
html[data-theme="dark"] .doc-strip-flag { background: #361E1B; color: #D0A5A2; }
html[data-theme="dark"] .dl > .dl-sec { background: #1C222C; }
html[data-theme="dark"] .sec-tabs a, html[data-theme="dark"] .mod-pills a { background: #202C39; color: #B9C3D1; }
html[data-theme="dark"] .sec-tabs a:hover, html[data-theme="dark"] .mod-pills a:hover { background: #253342; }
html[data-theme="dark"] body .tabs a.active, html[data-theme="dark"] body .tabs a.on, html[data-theme="dark"] body .doc-tabs a.on, html[data-theme="dark"] body .sd-tabs a.on, html[data-theme="dark"] body .mn-tabs a.on, html[data-theme="dark"] body .tk-tabs a.on { border-color: #365466; }
html[data-theme="dark"] .mn-nav a.on { background: #1670C4; }
html[data-theme="dark"] .mn-preview { background: #423B21; color: #DDC2B3; border: 1px solid #8A7736; }
html[data-theme="dark"] .mn-preview a { color: #DDC2B3; }
html[data-theme="dark"] .mn-card b { color: var(--k,#CBD5E4); }
html[data-theme="dark"] .mn-chips .on { background: #1670C4; }
html[data-theme="dark"] .mn-wait { background: #1F1A34; color: #B7A6D3; }
html[data-theme="dark"] .mn-yes { color: #AFD9BF; }
html[data-theme="dark"] .mn-st { background: #1D262F; color: #C1C7CF; }
html[data-theme="dark"] .mn-st.blue { background: #1D293A; color: #9BA7CF; }
html[data-theme="dark"] .mn-st.amber { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .mn-st.green { background: #1D3A27; color: #BBDCC7; }
html[data-theme="dark"] .mn-st.red { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .mn-st.violet { background: #1F1A34; color: #AC97CD; }
html[data-theme="dark"] .mn-st.gray { background: #1D262F; color: #B6BCC3; }
html[data-theme="dark"] .mn-pager nav .on { background: #1670C4; }
html[data-theme="dark"] .mn-sec>.mn-box-h h3::before { background: #1670C4; }
html[data-theme="dark"] .s-unreceived { background: #4C5562; }
html[data-theme="dark"] .mn-fab { background: #1670C4; }
html[data-theme="dark"] .mn-rc.late_receipt { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .mn-rc.uncommitted { background: #371C1C; color: #CF9696; }
html[data-theme="dark"] .mn-chk-n { color: var(--cobalt, #82A4ED); }
html[data-theme="dark"] .mn-checks { border: 1px solid var(--line, #3F4750); }
html[data-theme="dark"] .mn-chk-list label:hover { background: #1D262F; }
html[data-theme="dark"] .mn-chk-list label:has(input:checked) { background: #192231; }
html[data-theme="dark"] .mn-stage { border: 1px dashed var(--line, #3F4750); }
html[data-theme="dark"] .mn-stage-list li.turn { background: #332E1A; }
html[data-theme="dark"] .mn-mgr { border: 1px solid var(--line, #3F4750); }
html[data-theme="dark"] .mn-verdicts span { border: 1px solid var(--line, #3F4750); }
html[data-theme="dark"] .mn-verdicts input:checked + span { background: #203422; color: #BBDCC7; }
html[data-theme="dark"] .mn-note { color: var(--ink-2, #B6BCC3); }
html[data-theme="dark"] .mn-mgr-box { background: #1B232B; border: 1px solid var(--line, #353D47); }
html[data-theme="dark"] .nt-rule { border: 1px solid #383F48; }
html[data-theme="dark"] .nt-pre { background: #1C222C; }
html[data-theme="dark"] .pill.ok { background: #213628; color: #B8D8C4; }
html[data-theme="dark"] .pill.bad { background: #361D1B; color: #D19D99; }
html[data-theme="dark"] .rf-count { color: var(--ink-3, #999DA6); }
html[data-theme="dark"] .rf-t tr[data-special] td.rf-l { color: var(--ink-2, #B0B4BB); }
html[data-theme="dark"] .zmap-layers { border: 1px solid var(--line, #383F48); }
html[data-theme="dark"] .zmap-layers button { background: #171D28; }
html[data-theme="dark"] .zmap-results { background: #171D28; border: 1px solid var(--line, #383F48); }
html[data-theme="dark"] .zmap-results button:hover, html[data-theme="dark"] .zmap-results button:focus-visible { background: #1A2533; }
html[data-theme="dark"] .zmap-results small { color: #A9AFB7; }
html[data-theme="dark"] .zmap-canvas { border: 1px solid var(--line, #383F48); }
html[data-theme="dark"] .zmap-msg { color: #B8D8C4; }
html[data-theme="dark"] .zmap-msg.err { color: #D19D99; }
html[data-theme="dark"] .zmap-stats div { border: 1px solid var(--line, #383F48); }
html[data-theme="dark"] .zmap-stats span { color: #A9AFB7; }
html[data-theme="dark"] .zmap-hint { background: #352C1B; border: 1px solid #675632; }
html[data-theme="dark"] .zpick-list { border: 1px solid var(--line, #383F48); }
html[data-theme="dark"] .zpick-list label { border-bottom: 1px solid #323841; }
html[data-theme="dark"] .zpick-list label small { color: #A9AFB7; }
html[data-theme="dark"] .ac-chip.t-permission { background: #1670C4; }
html[data-theme="dark"] .k-weekly { background: #211B35; color: #A19DD2 !important; }
html[data-theme="dark"] .k-holiday { background: #372232; color: #CDA8C1 !important; }
html[data-theme="dark"] .k-leave, html[data-theme="dark"] .k-mission { background: #231D37; color: #A19DD2 !important; }
html[data-theme="dark"] .k-missing { background: #3B2C1E; }
html[data-theme="dark"] .m-late { color: #DFCA9F; }
html[data-theme="dark"] .c-late { color: #DFCA9F; }
html[data-theme="dark"] .r-permission { background: #1670C4; }
html[data-theme="dark"] .badge.tb-late { color: #DFCA9F; }
html[data-theme="dark"] .dv-img { background: var(--hover,#20252C); }
html[data-theme="dark"] .dv-t td { border: 1px solid var(--line,#3F4348); }
html[data-theme="dark"] .dv-sheet h3 { background: var(--card,#171D28); }
html[data-theme="dark"] .dv-more { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .fu-row.st-done { background: #1A2F23; }
html[data-theme="dark"] .fu-chase { color: #CDA8C1; }
html[data-theme="dark"] .fu-who.owner { background: #372232; color: #CDA8C1; }
html[data-theme="dark"] .tl-dot { background: var(--card, #171D28); }
html[data-theme="dark"] .tl-dot.due.late { background: #371C1C; }
html[data-theme="dark"] .tl-key.due.late { background: #371C1C; }
html[data-theme="dark"] .ap-seg { background: #171D28; }
html[data-theme="dark"] .ap-chips button { background: #171D28; }
html[data-theme="dark"] .ap-group>summary .n { background: var(--line-soft,#25282D); }
html[data-theme="dark"] .ap-sub { color: var(--ink-3,#9398A0); }
html[data-theme="dark"] .ap-mod { background: #1D293A; color: #9BA7CF; }
html[data-theme="dark"] .ap-old { color: #CF9696; }
html[data-theme="dark"] .rp-t tfoot th { background: #1A212D; }
html[data-theme="dark"] .bp-minus { color: var(--red, #D19D99); }
html[data-theme="dark"] .bp-tag.is-pen { background: #331A1A; color: #D19D99; }
html[data-theme="dark"] .bp-st.st-pending { color: #E0C5A2; }
html[data-theme="dark"] .st-warn .pc-body { border-color: #7D6A3D; }
html[data-theme="dark"] .st-warn .pc-pill { color: #E3D2AB; }
html[data-theme="dark"] .notice { background: #352C1B; color: #E3CDAB; }
html[data-theme="dark"] .ey-t tfoot th { background: #1A212D; }
html[data-theme="dark"] .lb-t tfoot th { background: #1A212D; }
html[data-theme="dark"] .py-tag.wait { color: #E3D2AB; }
html[data-theme="dark"] .pr-status.s-pending, html[data-theme="dark"] .pr-status.s-approved { color: #E3D2AB; }
html[data-theme="dark"] .pr-alert { border: 1px solid #7D6A3D; }
html[data-theme="dark"] .pr-tag.warn { color: #E3D2AB; }
html[data-theme="dark"] .ps-diff { color: #E3D2AB; }
html[data-theme="dark"] .lv-pend td, html[data-theme="dark"] .lv-pend th { background: #322A19; }
html[data-theme="dark"] .lv-minus { color: #D19D99; }
html[data-theme="dark"] .g { background: #2E3E5C; }
html[data-theme="dark"] .gt-k.base { background: #303843; }
html[data-theme="dark"] .gt-head { background: #1B232B; }
html[data-theme="dark"] .gt-corner, html[data-theme="dark"] .gt-name { background: #171D28; }
html[data-theme="dark"] .gt-corner { background: #1B232B; }
html[data-theme="dark"] .gt-row { border-bottom: 1px solid #2E3842; }
html[data-theme="dark"] .gt-row.w .gt-name { background: #1D262F; }
html[data-theme="dark"] .gt-row.w { background: #1B232B; }
html[data-theme="dark"] .gt-row.sel .gt-name { background: #423B21; }
html[data-theme="dark"] .gt-row.pred .gt-name { background: #1D293A; }
html[data-theme="dark"] .gt-row.succ .gt-name { background: #1D3A27; }
html[data-theme="dark"] .gt-name b { color: #B6BCC3; }
html[data-theme="dark"] .gt-m { color: #C1C7CF; }
html[data-theme="dark"] .gt-bl { background: #303843; }
html[data-theme="dark"] .pc-side a.pc-link.on { background: #171D28; }
html[data-theme="dark"] .pc-side a.pc-link b.n { background: #7C683F; color: #EEE4CC; }
html[data-theme="dark"] .pc-tile.hot { background: #352D1B; }
html[data-theme="dark"] .scx { border-top: 1px solid var(--line, #383F48); }
html[data-theme="dark"] .scx-tok { border: 1px dashed #4C5665; background: #1A2230; color: #B6C3D4; }
html[data-theme="dark"] .scx-tok:hover, html[data-theme="dark"] .scx-tok:focus-visible { background: #1D2839; }
html[data-theme="dark"] .scx-card { border: 1px solid var(--line, #383F48); background: #171D28; }
html[data-theme="dark"] .scx-no { color: #B6C3D4; }
html[data-theme="dark"] .scx-row button { color: #A9AFB7; }
html[data-theme="dark"] .scx-row button:hover { color: #EDEDED; }
html[data-theme="dark"] .scx-msg { color: #B8D8C4; }
html[data-theme="dark"] .sb-card { border: 1px solid var(--line,#3B3F43); }
html[data-theme="dark"] .sb-card.approved { border-color: #486451; background: #1B2F23; }
html[data-theme="dark"] .sb-card.resubmit, html[data-theme="dark"] .sb-card.review { background: #312918; }
html[data-theme="dark"] .sb-card.none, html[data-theme="dark"] .sb-card.draft { background: #1D2228; }
html[data-theme="dark"] .sb-review { color: #DBBBA8; background: #423B21; }
html[data-theme="dark"] .sb-badge { background: #25282D; color: #B9BDC2; }
html[data-theme="dark"] .sb-badge.approved { background: #203727; color: #B8D8C2; }
html[data-theme="dark"] .sb-badge.review { background: #1B2636; color: #B2C4D5; }
html[data-theme="dark"] .sb-badge.resubmit { background: #3B311E; color: #E3D0AB; }
html[data-theme="dark"] .sb-badge.rejected { background: #351B1B; color: #D2A3A3; }
html[data-theme="dark"] .sb-badge.none { background: #23252A; color: #A9ABB0; }
html[data-theme="dark"] .sb-late { color: #D19D99; }
html[data-theme="dark"] .sb-item { background: #22262C; }
html[data-theme="dark"] .sb-badge.sent { background: #191F31; color: #A19EC8; }
html[data-theme="dark"] .sb-sumc { border: 1px solid var(--line,#3B3F43); background: var(--card,#171D28); }
html[data-theme="dark"] .sb-sumc span.small { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .sb-sumc.bad { border-color: #653B3B; background: #2E1717; }
html[data-theme="dark"] .sb-per { background: #1D2228; }
html[data-theme="dark"] .sb-per.bad { background: #2F1818; }
html[data-theme="dark"] .sb-badge.inbox { background: #3B311E; color: #E3D0AB; }
html[data-theme="dark"] .sb-badge.replied { background: #203727; color: #B8D8C2; }
html[data-theme="dark"] .sb-fbtn.has { color: #B2C4D5; }
html[data-theme="dark"] tr.sb-files>td { background: #1A212D; }
html[data-theme="dark"] .sb-fbar { border-top: 1px solid var(--line,#3B3F43); }
html[data-theme="dark"] tr.pp-hl td { background: #433C22 !important; }
html[data-theme="dark"] .sb-items tr.sb-overdue td { background: #2F1818; }
html[data-theme="dark"] .sb-items tr.sb-missing td:nth-child(5), html[data-theme="dark"] .sb-items tr.sb-missing td:nth-child(6) { color: #D19D99; }
html[data-theme="dark"] .sb-pick { border: 1px solid var(--line,#3B3F43); }
html[data-theme="dark"] .sb-pick label:hover { background: #1B242E; }
html[data-theme="dark"] .sb-dlg .tw-drop { border: 1px dashed var(--line,#494B4F); }
html[data-theme="dark"] .pp-icon { border: 1px solid var(--line,#3F4246); background: var(--card,#171D28); }
html[data-theme="dark"] .pp-icon .n { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .pp-icon.active svg { color: var(--cobalt,#B2C4D5); }
html[data-theme="dark"] .pp-hidden summary { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .st-sum.bad { color: #D19D99; }
html[data-theme="dark"] .tw-del { color: #D19D99; }
html[data-theme="dark"] .sp-card { border: 1px solid #383F48; }
html[data-theme="dark"] .sl-chips button, html[data-theme="dark"] .sl-chips label { background: var(--card,#171D28); }
html[data-theme="dark"] .sl-card { background: var(--card,#171D28); }
html[data-theme="dark"] .sl-st { background: #25282D; color: #C2C7CD; }
html[data-theme="dark"] .sl-st.open { background: #1D293A; color: #9BA7CF; }
html[data-theme="dark"] .sl-st.replied { background: #1D3A27; color: #BBDCC7; }
html[data-theme="dark"] .sl-st.overdue { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .sl-st.delay { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .sl-over.overdue { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .sl-over.delay { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .sl-flag { color: #DBBBA8; background: #423B21; }
html[data-theme="dark"] .sl-soft .miss { color: #CF9696; }
html[data-theme="dark"] .pf-bar { background: var(--line-soft,#25282D); }
html[data-theme="dark"] .pf-lv { background: var(--line-soft,#25282D); }
html[data-theme="dark"] .pf-lv.excellent { background: #1D3A27; color: #BBDCC7; }
html[data-theme="dark"] .pf-lv.very_good { background: #1D293A; color: #9BA7CF; }
html[data-theme="dark"] .pf-lv.good { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .pf-lv.watch { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .pf-trend span { background: #2C4158; }
html[data-theme="dark"] .pf-badge { background: #444122; color: #DCC6AD; }
html[data-theme="dark"] .tk-menu { background: #171D28; }
html[data-theme="dark"] .tk-menu a:hover { background: var(--cobalt-soft,#191F31); color: var(--cobalt,#7E9AE7); }
html[data-theme="dark"] .tk-find-btn { background: #171D28; }
html[data-theme="dark"] .tk-find-btn kbd { background: var(--line-soft,#23252A); }
html[data-theme="dark"] .tk-chips button { background: #171D28; }
html[data-theme="dark"] .tk-focus-list li { border-top: 1px solid var(--line-soft,#36393F); }
html[data-theme="dark"] .tk-focus-main>a { color: var(--ink,#CBD5E4); }
html[data-theme="dark"] .tk-more { background: #171D28; }
html[data-theme="dark"] .tk-tag.red { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .tk-tag.amber { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .tk-tag.blue { background: #1D293A; color: #9BA7CF; }
html[data-theme="dark"] .tk-tag.green { background: #1D3A27; color: #BBDCC7; }
html[data-theme="dark"] .tk-sub { color: var(--ink-3,#9398A0); }
html[data-theme="dark"] .tk-rep { color: #8D87E8; }
html[data-theme="dark"] .tk-kpis a { background: #171D28; }
html[data-theme="dark"] .tk-title>a { color: var(--ink,#CBD5E4); }
html[data-theme="dark"] .tk-plus { background: var(--line-soft,#25282D); }
html[data-theme="dark"] .tk-st { background: #1D262F; color: #C1C7CF; }
html[data-theme="dark"] .tk-st.blue { background: #1D293A; color: #9BA7CF; }
html[data-theme="dark"] .tk-st.amber { background: #423B21; color: #DBBBA8; }
html[data-theme="dark"] .tk-st.red { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .tk-st.green { background: #1D3A27; color: #BBDCC7; }
html[data-theme="dark"] .tk-stars { color: #F3C77C; }
html[data-theme="dark"] .tk-rpop { background: #171D28; }
html[data-theme="dark"] .tk-rpop>a, html[data-theme="dark"] .tk-rpop>form>button, html[data-theme="dark"] .tk-rpop details>summary { color: var(--ink,#CBD5E4); }
html[data-theme="dark"] .tk-rpop>a:hover, html[data-theme="dark"] .tk-rpop>form>button:hover, html[data-theme="dark"] .tk-rpop details>summary:hover { background: var(--cobalt-soft,#191F31); }
html[data-theme="dark"] .tk-find-box { background: #171D28; }
html[data-theme="dark"] .tk-find-res a { border-bottom: 1px solid var(--line-soft,#35393D); }
html[data-theme="dark"] .tk-find-res a:hover, html[data-theme="dark"] .tk-find-res a.on { background: var(--cobalt-soft,#191F31); }
html[data-theme="dark"] .tk-find-hint { color: var(--ink-3,#9398A0); }
html[data-theme="dark"] .tk-recent button { background: #171D28; }
html[data-theme="dark"] .tk-kinds a { background: #171D28; }
html[data-theme="dark"] .tk-kinds a span { background: var(--line-soft,#25282D); }
html[data-theme="dark"] .tk-kinds a.on { background: #192331; color: #7E9AE7; }
html[data-theme="dark"] .tk-note { background: var(--line-soft,#25282D); }
html[data-theme="dark"] .tk-note.ok { background: #1D3A27; color: #BBDCC7; }
html[data-theme="dark"] .tk-note.bad { background: #371C1C; color: #D3A4A4; }
html[data-theme="dark"] .tk-att a { background: #171D28; }
html[data-theme="dark"] .tk-att .warn b { color: #DFCA9F; }
html[data-theme="dark"] .tk-tabs a { background: #171D28; }
html[data-theme="dark"] .tk-tabs a.on { background: #1670C4; }
html[data-theme="dark"] .tk-col { background: #1A2230; }
html[data-theme="dark"] .tk-card { background: #171D28; }
html[data-theme="dark"] .tk-pop { background: #171D28; }
html[data-theme="dark"] .tk-tl li.comment { background: #161E2C; }
html[data-theme="dark"] .tk-stars input:checked~label, html[data-theme="dark"] .tk-stars label:hover, html[data-theme="dark"] .tk-stars label:hover~label { color: #F7CD6B; }
html[data-theme="dark"] .tk-quickadd { background: #171D28; }
html[data-theme="dark"] .tk-mention { background: #171D28; }
html[data-theme="dark"] .tk-chip { background: #171D28; }
html[data-theme="dark"] .tk-chip.on { background: #192231; }
html[data-theme="dark"] .tk-sure { background: #301A18 !important; color: #D19D99 !important; }
html[data-theme="dark"] .tk-quick button { background: #171D28; }
html[data-theme="dark"] .tk-quick button:hover { color: var(--blue,#82A4ED); }
html[data-theme="dark"] .tk-bulk .btn { background: #171D28; color: #CBD5E4; border-color: #333333; }
@media (max-width:700px) { html[data-theme="dark"] .tk-main { background: #171D28; } }
html[data-theme="dark"] .tw-icon { border: 1px solid var(--line,#3F4246); background: var(--card,#171D28); }
html[data-theme="dark"] .tw-icon small { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-icon .tw-n { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-icon.active svg { color: var(--primary,#B2C4D5); }
html[data-theme="dark"] .tw-drop { border: 1px dashed var(--line,#494B4F); }
html[data-theme="dark"] .tw-drop span { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-drop .tw-fname { color: var(--text,#E4E4E4); }
html[data-theme="dark"] .tw-drop:hover { background: var(--hover,#1B242E); }
html[data-theme="dark"] .tw-files li { border-top: 1px solid var(--line,#373A3F); }
html[data-theme="dark"] .tw-fn small { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-qi { border-top: 1px solid var(--line,#373A3F); }
html[data-theme="dark"] .tw-qnew { border-top: 1px solid var(--line,#373A3F); }
html[data-theme="dark"] .tw-qhelp { border-top: 1px solid var(--line,#373A3F); color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-banner.open { background: #233329; color: #BFD9C8; }
html[data-theme="dark"] .tw-banner.closed { background: #372F1C; color: #E5D4B2; }
html[data-theme="dark"] .tw-disc { border: 1px solid var(--line,#3B3F43); }
html[data-theme="dark"] .tw-qrow { border-top: 1px solid var(--line,#373B3E); }
html[data-theme="dark"] .tw-qrow .sn { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-qrow textarea:not([readonly]):hover { border-color: var(--line,#3C4046); }
html[data-theme="dark"] .tw-qrow textarea:focus { background: var(--card,#171D28); }
html[data-theme="dark"] .tw-qrow .meta { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-qrow .rep textarea { background: #19242E; }
html[data-theme="dark"] .tw-qadd textarea { border: 1px dashed var(--line,#494B4F); }
html[data-theme="dark"] .tw-steps li { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-steps li:not(:last-child)::after { background: var(--line,#2C3036); }
html[data-theme="dark"] .tw-steps li span { border: 2px solid var(--line,#43474D); }
html[data-theme="dark"] .tw-steps li.now { color: var(--text,#E4E4E4); }
html[data-theme="dark"] .tw-steps li.now span { color: var(--primary,#B2C4D5); }
html[data-theme="dark"] .tw-steps li.done { color: #B8D8C2; }
html[data-theme="dark"] .tw-more summary { color: var(--primary,#B2C4D5); }
html[data-theme="dark"] .tw-sub { border-top: 1px solid var(--line,#373A3F); }
html[data-theme="dark"] .tw-qi small { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-qi.active { background: var(--hover,#1C2632); }
html[data-theme="dark"] .tw-qs.draft { background: #25282D; color: #B9BDC2; }
html[data-theme="dark"] .tw-qs.sent { background: #3B331E; color: #E3D0AB; }
html[data-theme="dark"] .tw-qs.replied { background: #203727; color: #B8D8C2; }
html[data-theme="dark"] .tw-grid textarea:focus, html[data-theme="dark"] .tw-grid input:focus, html[data-theme="dark"] .tw-grid select:focus { background: var(--card,#171D28); }
html[data-theme="dark"] .tw-grid .tw-sec td { background: var(--hover,#20252C); }
html[data-theme="dark"] .tw-sn { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] .tw-qtools { border-top: 1px solid var(--line,#373A3F); }
html[data-theme="dark"] .tw-checks li { border-bottom: 1px solid var(--line,#373A3F); }
html[data-theme="dark"] .tw-checks .ok span { color: #B8D8C2; }
html[data-theme="dark"] .tw-checks .no span { color: #D19D99; }
html[data-theme="dark"] .tw-stage.lost { background: #351B1B; color: #D2A3A3; }
html[data-theme="dark"] .tw-stage.contract { background: #203727; color: #B8D8C2; }
html[data-theme="dark"] .du-status { color: var(--muted,#A9ABB0); }
html[data-theme="dark"] [style*="background:#E4F4EC"] { background: #21372C !important; }
html[data-theme="dark"] [style*="background:#F4F6F9"] { background: #1F242C !important; }
html[data-theme="dark"] [style*="background:#e8edf5"] { background: #202834 !important; }
html[data-theme="dark"] [style*="background:#fff7e6"] { background: #352C1B !important; }
html[data-theme="dark"] [style*="border-color:#F2C94C"] { border-color: #8A763C !important; }
html[data-theme="dark"] [style*="border-color:#f3d9a4"] { border-color: #675632 !important; }
html[data-theme="dark"] [style*="color:#1B7F45"] { color: #AFD6C0 !important; }
html[data-theme="dark"] [style*="color:#A97300"] { color: #DFCA9F !important; }
html[data-theme="dark"] [style*="color:#B42318"] { color: #D19D99 !important; }

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .btn-primary, html[data-theme="dark"] .avatar { background: #1670C4; border-color: #1670C4; color: #fff; }
html[data-theme="dark"] .btn-primary:hover { background: #2A82D6; }
html[data-theme="dark"] .sec-tabs a, html[data-theme="dark"] .mod-pills a { background: #222B3C; color: #C3CCDD; }
html[data-theme="dark"] .sec-tabs a:hover, html[data-theme="dark"] .mod-pills a:hover { background: #2C3750; color: #fff; }
html[data-theme="dark"] .sec-tabs a.on, html[data-theme="dark"] .mod-pills a.on { background: var(--navy); color: #fff; }
html[data-theme="dark"] .sec-tabs, html[data-theme="dark"] .mod-pills { border-bottom-color: #3A4763; }
html[data-theme="dark"] .dens button[aria-pressed="true"] { background: #1670C4; color: #fff; }
html[data-theme="dark"] .brand img, html[data-theme="dark"] .side .brand img, html[data-theme="dark"] .company-logo, html[data-theme="dark"] img.logo { background: #fff !important; }
html[data-theme="dark"] .sec-tabs, html[data-theme="dark"] .mod-pills { background: none; }
html[data-theme="dark"] .theme-btn .ico { fill: currentColor; }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: #121823; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] ::placeholder { color: #77839A; }
html[data-theme="dark"] dialog { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .topbar, html[data-theme="dark"] .panel, html[data-theme="dark"] .sec-card, html[data-theme="dark"] .doc-sheet { box-shadow: none; }
}
