/* Generated by scripts/build_dark_theme.py from style.css, crm.css — do not edit by hand. */
/* style.css */
html[data-theme=dark]{color:#e1eff1;background:#0f1b1d;--line:#385250;--muted:#abb8b7}
html[data-theme=dark] header{background:#182a2d;border-bottom:1px solid var(--line)}
html[data-theme=dark] .brand{color:#d8e6e8}
html[data-theme=dark] .wallet-logo-shell{background:#182a2d}
html[data-theme=dark] .mark{color:var(--accent)}
html[data-theme=dark] .muted,html[data-theme=dark] .fine{color:var(--muted)}
html[data-theme=dark] .eyebrow{color:var(--accent)}
html[data-theme=dark] .panel{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .badge,html[data-theme=dark] .chip{background:#19352f;color:#b7e9e3}
html[data-theme=dark] .wallet{background:radial-gradient(ellipse at top right,#3b6766,transparent 65%),#293538;color:#fff}
html[data-theme=dark] .wallet .eyebrow{color:#a3cccb}
html[data-theme=dark] .wallet small{color:#9cb8b6}
html[data-theme=dark] .wallet .chip{background:#ffffff17;color:#bddbd4}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{border:1px solid #395956;background:#1e2524;color:#d7e8ea}
html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{outline:3px solid #208d7c26;border-color:var(--accent)}
html[data-theme=dark] button{border:0;background:var(--accent);color:#fff}
html[data-theme=dark] .secondary{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .quiet{background:transparent;color:#b4c6c2}
html[data-theme=dark] .preview{border:2px solid #328983;background:#1a2b27}
html[data-theme=dark] #clientInvite{border:1px solid var(--line);background:#1d2625}
html[data-theme=dark] .qr{background:#182a2d}
html[data-theme=dark] .bonus-result{background:#1a302c;color:#cde4e1}
html[data-theme=dark] .accrual{border-bottom:1px solid var(--line)}
html[data-theme=dark] .accrual:last-child{border-bottom:0}
html[data-theme=dark] .accrual small{color:var(--muted)}
html[data-theme=dark] th{color:var(--muted)}
html[data-theme=dark] td,html[data-theme=dark] th{border-bottom:1px solid var(--line)}
html[data-theme=dark] td small{color:var(--muted)}
html[data-theme=dark] pre{color:#bfd6d1}
html[data-theme=dark] summary{color:var(--muted)}
html[data-theme=dark] .notice,html[data-theme=dark] #notice{background:#473a02;border:1px solid #856b0e}
html[data-theme=dark] footer{color:var(--muted)}
html[data-theme=dark] a{color:#b3e9e8}
html[data-theme=dark] .card-page header{background:transparent;border:0}
html[data-theme=dark] .success{color:#b0e6d9}
html[data-theme=dark] .consent-box{background:#1e2928;border:1px solid var(--line)}
html[data-theme=dark] .candidate{border-bottom:1px solid var(--line)}
html[data-theme=dark] .candidate:last-child{border-bottom:0}
html[data-theme=dark] .candidate small{color:var(--muted)}
html[data-theme=dark] .manual summary{color:var(--muted)}
html[data-theme=dark] .join-consent summary{color:var(--muted)}
html[data-theme=dark] .join-wallet{background:var(--accent);color:#fff}
html[data-theme=dark] .kassa-qr{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .kassa-done{background:#19352f;color:#c7efea}
html[data-theme=dark] #notice.bad{background:#381f1d;color:#e7b1ac}
html[data-theme=dark] .my-body{background:#1c2527}
html[data-theme=dark] .my-card{background:#293538;color:#fff}
html[data-theme=dark] .my-level b{color:#6cc5c2}
html[data-theme=dark] .my-balance b{color:#6cc5c2}
html[data-theme=dark] .my-balance span{color:#6cc5c2}
html[data-theme=dark] .my-qr{background:#182a2d;color:#e1eff1}
html[data-theme=dark] .my-event,html[data-theme=dark] .my-hint{color:#b9c7c5}
html[data-theme=dark] .tabs{background:#1c332f}
html[data-theme=dark] .tabs button{background:transparent;color:#c1e7e4}
html[data-theme=dark] .tabs button.on{background:#182a2d;color:#e1eff1}
html[data-theme=dark] .tile{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .tile small{color:var(--muted)}
html[data-theme=dark] .tile span{color:var(--muted)}
html[data-theme=dark] .tile.warn{border-color:#856b0e;background:#2d2919}
html[data-theme=dark] .wallet .wallet-logo-shell{background:transparent}
html[data-theme=dark] .candidate.current{background:#1b2d2b}
html[data-theme=dark] .audience{background:#1e2928;border:1px solid var(--line)}
html[data-theme=dark] .tablink{color:#c1e7e4}
html[data-theme=dark] #cashRows small{color:var(--muted)}
html[data-theme=dark] .compare tr.bad td{background:#34201c}
html[data-theme=dark] .issue{border:1px solid var(--line);border-left:5px solid #2d696d}
html[data-theme=dark] .issue.warning{border-left-color:#e0b23c;background:#2c2a18}
html[data-theme=dark] .issue.error{border-left-color:#d8573f;background:#2e211d}
html[data-theme=dark] .issue.critical{border-left-color:#b3261e;background:#391d1c}
html[data-theme=dark] .issue.info{background:#1d2827}
html[data-theme=dark] #closeBox{border-top:1px solid var(--line)}
html[data-theme=dark] #notice.bad{background:#401e18;border-color:#8e3e2f}
html[data-theme=dark] table.compare tr.part td{color:var(--muted,#a9b4b4);border-bottom:0}
html[data-theme=dark] .issue .where{background:rgba(255,255,255,.65)}
html[data-theme=dark] .learn-bar{border:0;background:#1e3533}
html[data-theme=dark] .learn-bar::-webkit-progress-bar{background:#1e3533}
html[data-theme=dark] .learn-bar::-webkit-progress-value{background:var(--accent)}
html[data-theme=dark] .learn-bar::-moz-progress-bar{background:var(--accent)}
html[data-theme=dark] .module-card{background:#182a2d;color:inherit;border:1px solid var(--line)}
html[data-theme=dark] .module-card.done{background:#1a2d29;border-color:#247062}
html[data-theme=dark] .lesson h3.lesson-top{color:var(--muted)}
html[data-theme=dark] .lesson h4{color:var(--accent)}
html[data-theme=dark] .lesson th,html[data-theme=dark] .lesson td{border-bottom:1px solid var(--line)}
html[data-theme=dark] .lesson th{color:var(--muted)}
html[data-theme=dark] .quote{border-left:4px solid var(--accent);background:#1a2d29}
html[data-theme=dark] .question{border:0}
html[data-theme=dark] .question label:hover{background:#0f1b1d}
html[data-theme=dark] .question .q-ok{background:#153a2f}
html[data-theme=dark] .question .q-bad{background:#371e1e}
html[data-theme=dark] .task{border:1px solid var(--line);border-left:5px solid #3b5e5c}
html[data-theme=dark] .state-box-done{border-left-color:#2e9c7c}
html[data-theme=dark] .state-box-pending{border-left-color:#d9a514}
html[data-theme=dark] .state-box-returned{border-left-color:#cf4b3f}
html[data-theme=dark] .state-done{color:#aee7d6}
html[data-theme=dark] .state-pending{color:#e6d6aa}
html[data-theme=dark] .state-returned{color:#da8881}
html[data-theme=dark] .button-link{background:var(--accent);color:#fff}
html[data-theme=dark] .question.selfcheck{border:1px solid var(--line);border-left:5px solid var(--accent);background:#1d2626}
html[data-theme=dark] .question.selfcheck.solved{border-left-color:#2e9c7c;background:#1a2d29}
html[data-theme=dark] .sections a{color:#c1e7e4}
html[data-theme=dark] .sections a:hover{background:#1c2f2b}
html[data-theme=dark] .sections a.on{background:var(--accent);color:#fff}
html[data-theme=dark] .who small{color:var(--muted)}
html[data-theme=dark] a.module-card:hover{border-color:var(--accent)}
html[data-theme=dark] .chip-button{background:#182a2d;color:#e1eff1;border:1px solid var(--line)}
html[data-theme=dark] .chip-button:hover{border-color:var(--accent)}
html[data-theme=dark] .chip-button.warning.on{background:#2c2a18;border-color:#e0b23c}
html[data-theme=dark] .chip-button.error.on{background:#2e211d;border-color:#d8573f}
html[data-theme=dark] .chip-button.critical.on{background:#391d1c;border-color:#b3261e}
html[data-theme=dark] .chip-button::after{color:var(--muted)}
html[data-theme=dark] .report-text{background:#1d2827;border:1px solid var(--line)}
html[data-theme=dark] button.tile{color:inherit}
html[data-theme=dark] button.tile:hover{border-color:var(--accent)}
html[data-theme=dark] .dash-col span{color:var(--muted)}
html[data-theme=dark] .dash-bar-wrap{background:#1d2b29}
html[data-theme=dark] .dash-bar{background:#046456}
html[data-theme=dark] .dash-col.today .dash-bar{background:var(--accent)}
html[data-theme=dark] .dash-col.today span{color:#e1eff1}
html[data-theme=dark] .dash-todo{background:#2c2a18;color:#e1eff1;border:1px solid #736518}
html[data-theme=dark] .dash-todo:hover{border-color:#e0b23c}
html[data-theme=dark] .fin-in{color:#b0e8cd}
html[data-theme=dark] .fin-muted td{color:var(--muted)}
html[data-theme=dark] #finOps small{color:var(--muted)}
html[data-theme=dark] .fin-muted-cell{color:var(--muted)}
html[data-theme=dark] #supPanel td small{color:var(--muted)}
html[data-theme=dark] #trainAnswers{border-top:1px solid var(--line)}
html[data-theme=dark] .answers-module{border:1px solid var(--line)}
html[data-theme=dark] .answer{border-left:4px solid #325a54}
html[data-theme=dark] .answer.guessed{border-left-color:#d8573f}
html[data-theme=dark] .answer-try.bad{color:#dd988b}
html[data-theme=dark] .answer-try.ok{color:#b7e9e3}
html[data-theme=dark] #recheckBox{border:1px dashed var(--line)}
html[data-theme=dark] .task-row{border-top:1px solid var(--line)}
html[data-theme=dark] .task-row:first-child{border-top:0}
html[data-theme=dark] .task-row.done .task-main strong{color:var(--muted)}
html[data-theme=dark] .kan-col{background:#1f2e2c}
html[data-theme=dark] .kan-col h3{color:var(--muted)}
html[data-theme=dark] .kan-col.done{background:#19352d}
html[data-theme=dark] .kan-card{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .kan-card.late{border-left:4px solid #d9a441}
html[data-theme=dark] .kan-col.done .kan-card strong{color:var(--muted)}
html[data-theme=dark] .kan-who{color:#c1e7e4;background:#1c332f}
html[data-theme=dark] .task-chip{background:#0f1b1d;border:1px solid var(--line)}
html[data-theme=dark] .task-chip.ok{background:#19352d;border-color:#247062}
html[data-theme=dark] .team-card{border:1px solid var(--line);background:#182a2d}
html[data-theme=dark] .team-card.off{background:#202729}
html[data-theme=dark] .team-card.off .team-head strong{color:var(--muted)}
html[data-theme=dark] .team-facts dt{color:var(--muted)}
html[data-theme=dark] .team-note{border-left:4px solid var(--accent);background:#1a2d29}
html[data-theme=dark] .team-form{border-top:1px solid var(--line)}
html[data-theme=dark] .fold-btn{color:var(--muted);background:none;border:1px solid var(--line)}
html[data-theme=dark] .fold-btn:hover{color:var(--accent);border-color:var(--accent)}
html[data-theme=dark] .urgent-panel{border:2px solid #c0392b}
html[data-theme=dark] .module-card.urgent{border-color:#c0392b}
html[data-theme=dark] .urgent-badge{background:#c0392b;color:#fff}
html[data-theme=dark] .team-form fieldset{border:1px solid var(--line)}
html[data-theme=dark] .sched th,html[data-theme=dark] .sched td{border:0}
html[data-theme=dark] .sched th.we{color:#dfa990}
html[data-theme=dark] .sched th.now{color:var(--accent)}
html[data-theme=dark] .sched th.empty{background:#3b211d}
html[data-theme=dark] .sched td.who{background:#182a2d}
html[data-theme=dark] .sched td.who small{color:var(--muted)}
html[data-theme=dark] .sched .cell{background:#202d2d;color:#90a3a0}
html[data-theme=dark] .sched .cell.w{background:var(--accent);color:#fff}
html[data-theme=dark] .sched .cell.now{outline:2px solid #172d31}
html[data-theme=dark] .sched-form{border:1px solid var(--line)}
html[data-theme=dark] .sched-save{background:#2d2919;border:1px solid #856b0e}
html[data-theme=dark] .mp-chip{background:#19352f}
html[data-theme=dark] .mp-chip small{color:var(--muted)}
html[data-theme=dark] .mp-chip b{color:#e1eff1}
html[data-theme=dark] .mp-day small{color:var(--muted)}
html[data-theme=dark] .mp-day.we small{color:#dfa990}
html[data-theme=dark] .mp-day i{background:#213432}
html[data-theme=dark] .mp-day.on i{background:var(--accent)}
html[data-theme=dark] .mp-day.none i{background:repeating-linear-gradient(45deg,#e3eae8 0 4px,#f6f8f7 4px 8px)}
html[data-theme=dark] .mp-day b{color:#e1eff1}
html[data-theme=dark] .mp-day.off b{color:var(--muted)}
html[data-theme=dark] .mp-day.week::before{border-left:1px dashed var(--line)}
html[data-theme=dark] .mp-day.today small{color:var(--accent)}
html[data-theme=dark] .mp-day.today b{background:#172d31;color:#fff}
html[data-theme=dark] .mp-key{background:#213432}
html[data-theme=dark] .mp-key.on{background:var(--accent)}
html[data-theme=dark] .prof-btn{background:none;color:#e1eff1;border:1px solid transparent}
html[data-theme=dark] .prof-btn:hover,html[data-theme=dark] .prof-btn[aria-expanded=true]{background:#1d2c2a;border-color:var(--line)}
html[data-theme=dark] .prof-ava{background:var(--accent);color:#fff}
html[data-theme=dark] .prof-btn.has-mode .prof-ava::after{background:#3bb273;border:2px solid #384245}
html[data-theme=dark] .prof-role{color:var(--muted)}
html[data-theme=dark] .prof-menu{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .prof-menu>small{color:var(--muted)}
html[data-theme=dark] .prof-mode{background:#1a302b;color:#b7e9e3}
html[data-theme=dark] .prof-mode::before{color:#81d5a9}
html[data-theme=dark] .prof-link{color:#e1eff1}
html[data-theme=dark] .prof-link:hover{background:#1c2f2b}
html[data-theme=dark] .prof-out{background:none;color:#e1a497}
html[data-theme=dark] .prof-out:hover{background:#35231e}
html[data-theme=dark] .prof-btn[data-mode=demo] .prof-ava::after,html[data-theme=dark] .prof-mode[data-mode=demo]::before{background:#e0a630;color:#d3b069}
html[data-theme=dark] .prof-btn[data-mode=read] .prof-ava::after,html[data-theme=dark] .prof-mode[data-mode=read]::before{background:#294a4a;color:#9aa7a6}
html[data-theme=dark] .prof-mode[data-mode=demo]{background:#3a300e;color:#ead8b7}
html[data-theme=dark] .prof-mode[data-mode=read]{background:#202a2c;color:#b4c6c2}
html[data-theme=dark] .owner-lock{color:var(--muted)}
html[data-theme=dark] .pay-plain{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .my-box{background:#243033;color:#e6efed}
html[data-theme=dark] .my-box h2{color:#fff}
html[data-theme=dark] .my-muted{color:#b9c7c5}
html[data-theme=dark] .my-shop a{color:#6cc5c2}
html[data-theme=dark] .my-btn{background:#2f8f8c;color:#fff}
html[data-theme=dark] .my-btn-quiet{background:#2c3a3d;color:#d7e6e4}
html[data-theme=dark] .my-open{color:#6cc5c2}
html[data-theme=dark] .my-open.closed{color:#e0a96d}
html[data-theme=dark] .my-tabs{background:#1c2527}
html[data-theme=dark] .my-tabs button{background:#243033;color:#b9c7c5}
html[data-theme=dark] .my-tabs button.on{background:#2f8f8c;color:#fff}
html[data-theme=dark] .my-badge{background:#9e4400;color:#e7edee}
html[data-theme=dark] .my-ready{background:#2f8f8c;color:#fff}
html[data-theme=dark] .my-tier{color:#d7e6e4}
html[data-theme=dark] .my-tier small{color:#b9c7c5}
html[data-theme=dark] .my-bar{background:#2c3a3d}
html[data-theme=dark] .my-bar i{background:linear-gradient(90deg,#2f8f8c,#5fc0bd)}
html[data-theme=dark] .my-order-no{color:#fff}
html[data-theme=dark] .my-order-day{color:#b9c7c5}
html[data-theme=dark] .my-chip{background:#34464a;color:#d7e6e4}
html[data-theme=dark] .my-chip.ready{background:#5fc0bd;color:#e5eff0}
html[data-theme=dark] .my-chip.done{background:#2c3a3d;color:#9fb2af}
html[data-theme=dark] .my-step{color:#94a6a3}
html[data-theme=dark] .my-step i{background:#34464a}
html[data-theme=dark] .my-step:not(:first-child)::before{background:#34464a}
html[data-theme=dark] .my-step.done i,html[data-theme=dark] .my-step.now i{background:#5fc0bd}
html[data-theme=dark] .my-step.done:not(:first-child)::before,html[data-theme=dark] .my-step.now:not(:first-child)::before{background:#5fc0bd}
html[data-theme=dark] .my-step.now{color:#fff}
html[data-theme=dark] .my-step.done{color:#b9c7c5}
html[data-theme=dark] .my-order-say{color:#d7e6e4}
html[data-theme=dark] .my-items{border-top:1px solid #34464a}
html[data-theme=dark] .my-items summary{color:#d7e6e4}
html[data-theme=dark] .my-item{border-bottom:1px solid #2c3a3d}
html[data-theme=dark] .my-item:last-child{border-bottom:0}
html[data-theme=dark] .my-item-name{color:#fff}
html[data-theme=dark] .my-item-sub{color:#9fb2af}
html[data-theme=dark] .my-item-status{color:#e0a96d}
html[data-theme=dark] .my-item-stock .my-item-status{color:#6cc5c2}
html[data-theme=dark] .my-item-done .my-item-status{color:#9fb2af}
html[data-theme=dark] .my-item-off .my-item-name,html[data-theme=dark] .my-item-off .my-item-sum{color:#94a6a3}
html[data-theme=dark] .my-item-off .my-item-status{color:#94a6a3}
html[data-theme=dark] .my-order-total{border-top:1px solid #34464a}
html[data-theme=dark] .my-order-total b{color:#fff}
html[data-theme=dark] .my-order-paid{color:#9fb2af}
html[data-theme=dark] .my-order-paid.due{color:#e0a96d}
html[data-theme=dark] .my-order-bonus{color:#d7e6e4;background:#2c3a3d}
html[data-theme=dark] .my-order-hint{color:#9fb2af}
html[data-theme=dark] .my-stars button{background:#2c3a3d;color:#b1bfbd}
html[data-theme=dark] .my-stars button.on{color:#f1c55b;background:#33423f}
html[data-theme=dark] .my-input{background:#1c2527;border:1px solid #34464a;color:#e6efed}
html[data-theme=dark] .my-input::placeholder{color:#94a6a3}
html[data-theme=dark] button.my-btn{border:0}
html[data-theme=dark] .my-car+.my-car{border-top:1px solid #34464a}
html[data-theme=dark] .my-car-name{color:#fff}
html[data-theme=dark] .my-car-sub{color:#b9c7c5}
html[data-theme=dark] .my-car-vin{color:#d7e6e4}
html[data-theme=dark] .my-link{color:#6cc5c2;background:#1c2527}
html[data-theme=dark] .my-order-undo{color:#e0a96d}
html[data-theme=dark] .my-chip.off{background:#3b3434;color:#d9a9a2}
html[data-theme=dark] .my-history-head{color:#b9c7c5}
html[data-theme=dark] .kan-card .task-sent.bad{color:#d69380}
html[data-theme=dark] .my-item-client{color:#9fe0b4}
html[data-theme=dark] .my-order-client{background:#203a2c;border:1px solid #2f6b4a}
html[data-theme=dark] .my-oc-top{color:#d7f0df}
html[data-theme=dark] .my-oc-top b{color:#fff}
html[data-theme=dark] .my-oc-sub{color:#9fe0b4}
html[data-theme=dark] .rcpt{border:1px solid rgba(127,127,127,.35);background:rgba(127,127,127,.07)}
html[data-theme=dark] .rcpt-cell{background:rgba(127,127,127,.1)}
html[data-theme=dark] .rcpt-cell.rcpt-adv{background:rgba(255,200,40,.92);color:rgba(0,0,0,.88)}
html[data-theme=dark] .fix-auto{border:1px dashed rgba(127,127,127,.5)}
/* crm.css */
html[data-theme=dark] .side{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .side-search kbd{color:var(--muted);border:1px solid var(--line)}
html[data-theme=dark] .nav-found{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .nav-found button{background:none;color:#e1eff1}
html[data-theme=dark] .nav-found button small{color:var(--muted)}
html[data-theme=dark] .nav-found button.on,html[data-theme=dark] .nav-found button:hover{background:#1c2f2b}
html[data-theme=dark] .nav-found p{color:var(--muted)}
html[data-theme=dark] .side .tabs{background:none}
html[data-theme=dark] .nav-group p{color:var(--muted)}
html[data-theme=dark] .side .tabs button{background:none;color:#c1e7e4}
html[data-theme=dark] .side .tabs button:hover{background:#1c2f2b}
html[data-theme=dark] .side .tabs button.on{background:var(--accent);color:#fff}
html[data-theme=dark] .side .tabs a{color:#c1e7e4}
html[data-theme=dark] .side .tabs a:hover{background:#1c2f2b}
html[data-theme=dark] .side .tabs a.on{background:var(--accent);color:#fff}
html[data-theme=dark] .nav-group.mine{border-top:1px solid var(--line)}
html[data-theme=dark] .subnav button{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .subnav button.on{background:#172d31;color:#fff}
html[data-theme=dark] .subnav button.all{background:none;color:var(--muted);border:1px dashed var(--line)}
html[data-theme=dark] .subnav button.all.on{color:#e1eff1;border-color:#172d31}
@media(max-width:900px){html[data-theme=dark] .side-toggle{background:none;color:#e1eff1}}
html[data-theme=dark] .side .tabs button[data-count]:not([data-count=""])::after,html[data-theme=dark] .side .tabs a[data-count]:not([data-count=""])::after{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .side .tabs button.has-high::after,html[data-theme=dark] .side .tabs a.has-high::after{background:#c8452f;color:#fff}
html[data-theme=dark] .side .tabs button.on[data-count]::after,html[data-theme=dark] .side .tabs a.on[data-count]::after{background:#ffffff33;color:#fff}
html[data-theme=dark] .ib-pill{background:#182a2d;color:#e1eff1;border:1px solid var(--line)}
html[data-theme=dark] .ib-pill:hover{border-color:#326c65}
html[data-theme=dark] .ib-pill.on{background:#207f80;color:#fff;border-color:#207f80}
html[data-theme=dark] .ib-pill .ib-count{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .ib-pill.on .ib-count{background:#ffffff26;color:#fff}
html[data-theme=dark] .ib-dot{background:#19564e}
html[data-theme=dark] .lvl-high>.ib-dot,html[data-theme=dark] .ib-pill.lvl-high .ib-dot{background:#c8452f}
html[data-theme=dark] .lvl-mid>.ib-dot,html[data-theme=dark] .ib-pill.lvl-mid .ib-dot{background:#e0a630}
html[data-theme=dark] .lvl-low>.ib-dot,html[data-theme=dark] .ib-pill.lvl-low .ib-dot{background:#0b5f53}
html[data-theme=dark] .ib-pill.mine .ib-dot{background:#207f80}
html[data-theme=dark] .ib-count{background:#1f2e2c;color:#ccdbdd}
html[data-theme=dark] .ib-sec{color:#e1eff1}
html[data-theme=dark] .ib-sec small{color:#abb8b7}
html[data-theme=dark] .ib-sec.lvl-high{color:#de928d}
html[data-theme=dark] .ib-sec.calm{color:#abb8b7}
html[data-theme=dark] .ib-sec.calm>.ib-dot{background:#2e9c7c}
html[data-theme=dark] .ib-group{background:#182a2d;border:1px solid var(--line);border-left:4px solid var(--line)}
html[data-theme=dark] .ib-group.lvl-high{border-left-color:#c8452f}
html[data-theme=dark] .ib-group.lvl-mid{border-left-color:#e0a630}
html[data-theme=dark] .ib-group.lvl-low{border-left-color:#2a7068}
html[data-theme=dark] .ib-ghead{background:none;color:#e1eff1}
html[data-theme=dark] .ib-ghead:hover{background:#1d2a27}
html[data-theme=dark] .ib-ghead:disabled{background:none}
html[data-theme=dark] .ib-group.open .ib-ghead{border-bottom:1px solid var(--line)}
html[data-theme=dark] .ib-chev{color:#aae6e6}
html[data-theme=dark] .ib-do{color:#c1e7e4}
html[data-theme=dark] .ib-do::before{color:#aae6e6}
html[data-theme=dark] .ib-peek{color:#abb8b7}
html[data-theme=dark] .ib-row{border-top:1px solid #394a4a}
html[data-theme=dark] .ib-rows>.ib-row:first-child{border-top:0}
html[data-theme=dark] .ib-group.single .ib-row{border:0}
html[data-theme=dark] .ib-ktitle{color:#e1eff1}
html[data-theme=dark] .ib-sep{color:#9bb8b2}
html[data-theme=dark] .ib-label{color:#e1eff1}
html[data-theme=dark] button.ib-label.link{background:none;color:#e1eff1}
html[data-theme=dark] button.ib-label.link::after{color:#aae6e6}
html[data-theme=dark] button.ib-label.link:hover{color:#aae6e6}
html[data-theme=dark] .ib-badge{background:#1f2e2c;color:#ccdbdd}
html[data-theme=dark] .ib-row.lvl-high .ib-badge{background:#381f1d;color:#de928d}
html[data-theme=dark] .ib-row.lvl-mid .ib-badge{background:#463704;color:#ead8b7}
html[data-theme=dark] .ib-who{background:#19352f;color:#b7e9e3}
html[data-theme=dark] .ib-who.me{background:#207f80;color:#fff}
html[data-theme=dark] .ib-line{color:#ccdbdd}
html[data-theme=dark] .ib-again{color:#e5caa7}
html[data-theme=dark] .ib-sub{background:#1e2928;border-top:1px solid #394a4a}
html[data-theme=dark] .ib-rows>.ib-sub:first-child{border-top:0}
html[data-theme=dark] .inbox-empty{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .inbox-done summary{color:#c1e7e4}
html[data-theme=dark] .inbox-done .ib-rows{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .crm-row{background:#182a2d;color:#e1eff1;border:1px solid var(--line)}
html[data-theme=dark] .crm-row:hover{border-color:var(--accent)}
html[data-theme=dark] .crm-row small{color:var(--muted)}
html[data-theme=dark] .crm-tag{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .crm-tag.task{background:#473406;color:#ead8b7}
html[data-theme=dark] .crm-tag.add{border:1px dashed #346b64;background:none}
html[data-theme=dark] .crm-tag-x{background:none;color:#c1e7e4}
html[data-theme=dark] .crm-card-head{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .crm-orders td small{color:#dfa590}
html[data-theme=dark] .crm-orders .st-ok{color:#b0e6d9}
html[data-theme=dark] .crm-orders .st-off{color:var(--muted)}
html[data-theme=dark] .crm-orders .st-work{color:#ead8b7}
html[data-theme=dark] .crm-item{border:1px solid var(--line)}
html[data-theme=dark] .crm-item small{color:var(--muted)}
html[data-theme=dark] .crm-item.late{border-color:#7d4231;background:#2b221e}
html[data-theme=dark] .crm-item.done strong{color:var(--muted)}
html[data-theme=dark] .crm-add summary,html[data-theme=dark] .crm-done summary{color:#c1e7e4}
html[data-theme=dark] .crm-note{border-left:3px solid var(--line)}
html[data-theme=dark] .crm-note small{color:var(--muted)}
html[data-theme=dark] .crm-order-row:hover td{background:#1d2a27}
html[data-theme=dark] .crm-order-row:focus-visible{outline:2px solid var(--accent)}
html[data-theme=dark] .crm-lines>td{background:#1d2a27}
html[data-theme=dark] .crm-lines td{border-bottom:1px solid #374f4d}
html[data-theme=dark] .crm-lines td small{color:var(--muted)}
html[data-theme=dark] .crm-line-st{color:#c1e7e4}
html[data-theme=dark] .crm-phone-list a{color:#e1eff1}
html[data-theme=dark] .crm-quick button{background:#1c2f2b;color:#c1e7e4}
html[data-theme=dark] .crm-quick button.on{background:#245c57;color:#fff}
html[data-theme=dark] .crm-quick.ideas button{background:none;border:1px dashed #346b64}
html[data-theme=dark] .fn-stat{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .fn-stat span{color:var(--muted)}
html[data-theme=dark] .fn-col{background:#1f2e2c}
html[data-theme=dark] .fn-col.order{background:#272e26}
html[data-theme=dark] .fn-col.drop{outline:2px dashed var(--accent);background:#193732}
html[data-theme=dark] .fn-col header{background:none;border:0}
html[data-theme=dark] .fn-col header small{color:var(--muted)}
html[data-theme=dark] .fn-count{background:#182a2d;color:#c1e7e4}
html[data-theme=dark] .fn-col header .fn-sum{color:var(--muted)}
html[data-theme=dark] .fn-empty{color:var(--muted)}
html[data-theme=dark] .fn-card{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .fn-card:hover{border-color:var(--accent)}
html[data-theme=dark] .fn-card:focus-visible{outline:2px solid var(--accent)}
html[data-theme=dark] .fn-card.late{border-left:4px solid #e0a630}
html[data-theme=dark] .fn-card.bad{border-left:4px solid #c8452f}
html[data-theme=dark] .fn-card small{color:var(--muted)}
html[data-theme=dark] .fn-card .fn-car{color:#c1e7e4}
html[data-theme=dark] .fn-src,html[data-theme=dark] .fn-top .fn-sum{color:var(--muted)}
html[data-theme=dark] .fn-top .fn-sum{color:#e1eff1}
html[data-theme=dark] .fn-flag{background:#1f2e2c;color:#c1e7e4}
html[data-theme=dark] .fn-flag.warn{background:#473406;color:#ead8b7}
html[data-theme=dark] .fn-flag.bad{background:#462118;color:#e1a497}
html[data-theme=dark] .fn-closed summary{color:#c1e7e4}
html[data-theme=dark] .fn-modal{background:#10262a66}
html[data-theme=dark] .fn-sheet{background:#1f2828}
html[data-theme=dark] .fn-contact a{color:#e1eff1}
html[data-theme=dark] .fn-stages button{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .fn-stages button.on{background:#245c57;color:#fff}
html[data-theme=dark] .fn-result.won{color:#b0e6d9}
html[data-theme=dark] .fn-result.lost{color:#e1a497}
html[data-theme=dark] .fn-form{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .fn-close{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .fn-close.win{border-color:#2b6859}
html[data-theme=dark] .fn-reasons button{background:#2c2825;color:#e2b6ab}
html[data-theme=dark] .ib-pill.free .ib-dot{background:#7c8f8c}
html[data-theme=dark] .fo-card.lvl-high{border-left:4px solid #c8452f}
html[data-theme=dark] .fo-card.lvl-mid{border-left:4px solid #e0a630}
html[data-theme=dark] .fo-phone{color:#ccdbdd}
html[data-theme=dark] .fo-phone a{color:#e1eff1}
html[data-theme=dark] button.fo-show{color:#b3e9e8}
html[data-theme=dark] .fo-pay{background:#1f2e2c;color:#ccdbdd}
html[data-theme=dark] .fo-pay.ok{background:#173d2e;color:#b7ead8}
html[data-theme=dark] .fo-pay.part{background:#473406;color:#ead8b7}
html[data-theme=dark] .fo-todo{background:#1f2c2a;color:#ccdbdd}
html[data-theme=dark] .fo-todo.lvl-high{background:#462118;color:#e1a497}
html[data-theme=dark] .fo-todo.lvl-mid{background:#473406;color:#edddc0}
html[data-theme=dark] .fo-todo.lvl-low{background:#1c332f;color:#c1e7e4}
html[data-theme=dark] .fo-todo.lvl-ok{background:none;color:#abb8b7}
html[data-theme=dark] .fo-items{border-top:1px solid #394a4a}
html[data-theme=dark] .fo-item::before{background:#19564e}
html[data-theme=dark] .fo-item.bad::before{background:#c8452f}
html[data-theme=dark] .fo-item.warn::before{background:#e0a630}
html[data-theme=dark] .fo-item.ok::before{background:#2e9c7c}
html[data-theme=dark] .fo-card .fo-item small,html[data-theme=dark] .fo-item small{color:#abb8b7}
html[data-theme=dark] .fo-st{color:#ccdbdd}
html[data-theme=dark] .fo-item.bad .fo-st{color:#e1a497}
html[data-theme=dark] .fo-item.warn .fo-st{color:#ead8b7}
html[data-theme=dark] .fo-item.ok .fo-st{color:#b7ead8}
html[data-theme=dark] .fo-card .fo-more{color:#abb8b7}
html[data-theme=dark] .fo-card button.fo-more{color:#b3e9e8}
html[data-theme=dark] button.fo-lead{background:#1d2c2a;color:#c1e7e4}
html[data-theme=dark] .fo-lead-k{color:#aae6e6}
html[data-theme=dark] .fo-now{background:#1f2e2c;color:#ccdbdd}
html[data-theme=dark] .fo-now.lvl-high{background:#462118;color:#e1a497}
html[data-theme=dark] .fo-now.lvl-mid{background:#473406;color:#edddc0}
html[data-theme=dark] .ch-list{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .ch-item{background:none;color:#e1eff1;border-top:1px solid var(--line)}
html[data-theme=dark] .ch-item:hover{background:#1e2b28}
html[data-theme=dark] .ch-item.on{background:#1c332f}
html[data-theme=dark] .ch-top small{color:var(--muted)}
html[data-theme=dark] .ch-last{color:#bbc9cb}
html[data-theme=dark] .ch-item.unread .ch-last{color:#e1eff1}
html[data-theme=dark] .ch-badge{background:#c8452f;color:#fff}
html[data-theme=dark] .ch-meta{color:var(--muted)}
html[data-theme=dark] .ch-chan.tg{color:#7db7d9}
html[data-theme=dark] .ch-chan.max{color:#8b6ad3}
html[data-theme=dark] .ch-thread{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .ch-head{border-bottom:1px solid var(--line)}
html[data-theme=dark] .ch-head small{color:var(--muted)}
html[data-theme=dark] .ch-messages{background:#1f2828}
html[data-theme=dark] .ch-msg{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .ch-msg.out{background:#173d32;border-color:#2e6354}
html[data-theme=dark] .ch-msg.auto{background:#272e26;color:#b3bfc0}
html[data-theme=dark] .ch-msg.failed{border-color:#7d4231;background:#2f211d}
html[data-theme=dark] .ch-msg small{color:var(--muted)}
html[data-theme=dark] .ch-photo{background:#1f2e2c}
html[data-theme=dark] .ch-nophoto{color:var(--muted)}
html[data-theme=dark] .ch-form{border-top:1px solid var(--line)}
html[data-theme=dark] .ch-source.ok strong{color:#b0e6d9}
html[data-theme=dark] .ch-source.off{color:var(--muted)}
html[data-theme=dark] .ch-file{color:#c1e7e4}
html[data-theme=dark] .ch-video{background:#000}
html[data-theme=dark] .ch-day{background:#213230;color:#bbc9cb}
html[data-theme=dark] .ch-unread-line{color:#db9183}
html[data-theme=dark] .ch-unread-line::before,html[data-theme=dark] .ch-unread-line::after{background:#7b2812}
html[data-theme=dark] .ch-fail{color:#df9d90}
html[data-theme=dark] .chv{background:rgba(10,16,18,.92)}
html[data-theme=dark] .chv-img{background:rgba(255,255,255,.04)}
html[data-theme=dark] .chv button{background:rgba(255,255,255,.14);color:#fff;border:0}
html[data-theme=dark] .chv button:hover{background:rgba(255,255,255,.26)}
html[data-theme=dark] .chv-bar{color:rgba(255,255,255,.85)}
html[data-theme=dark] .chv-save{color:#fff}
html[data-theme=dark] .ch-replying{border-left:3px solid var(--accent);background:#1d2c2a}
html[data-theme=dark] .ch-replying small{color:#c1e7e4}
html[data-theme=dark] .ch-replying span{color:#bbc9cb}
html[data-theme=dark] .ch-attach-item{border:1px solid var(--line);background:#182a2d}
html[data-theme=dark] .ch-attach-item img{background:#1f2e2c}
html[data-theme=dark] .ch-attach-icon{background:#1f2e2c}
html[data-theme=dark] .ch-attach-item small{color:var(--muted)}
html[data-theme=dark] .ch-quote{border:0;border-left:3px solid var(--accent);background:rgba(128,128,128,.13);color:inherit}
html[data-theme=dark] .ch-quote:hover{background:rgba(128,128,128,.2)}
html[data-theme=dark] .ch-quote small{color:inherit}
html[data-theme=dark] .ch-quote span{color:inherit}
html[data-theme=dark] .ch-msg.out .ch-file{color:inherit}
html[data-theme=dark] .ch-ticks.read{color:#7db7d9}
html[data-theme=dark] .ch-state.read{color:#7db7d9}
html[data-theme=dark] .ch-meta .ch-seen.read{color:#7db7d9}
html[data-theme=dark] .ch-tool{border:1px solid var(--line);background:#182a2d;color:#c1e7e4}
html[data-theme=dark] .ch-tool:hover{background:#1b302c}
html[data-theme=dark] .ch-tool.danger:hover{background:#34201c;border-color:#7d4231}
html[data-theme=dark] .ch-form.recording .ch-mic{background:#462118;color:#db9183}
html[data-theme=dark] .ch-rec{background:#2f211d;border:1px solid #654238}
html[data-theme=dark] .ch-rec-dot{background:#d0402a}
html[data-theme=dark] .ch-editing{border-left-color:#e0a630}
html[data-theme=dark] .ch-ava{color:#fff;background:#5b8a83}
html[data-theme=dark] #chThread.ch-drop .ch-body{outline:2px dashed var(--accent)}
html[data-theme=dark] #chThread.ch-drop .ch-body::after{background:#182a2d;color:#c1e7e4}
html[data-theme=dark] .crm-vin-out{color:#c1e7e4}
html[data-theme=dark] .crm-car-grid label{color:var(--muted)}
html[data-theme=dark] .desk-tile{background:#182a2d;color:#e1eff1;border:1px solid var(--line);border-left:5px solid #2a7068}
html[data-theme=dark] .desk-tile:hover{border-color:var(--accent)}
html[data-theme=dark] .desk-tile.warn{border-left-color:#e0a630;background:#29291a}
html[data-theme=dark] .desk-tile.calm{border-left-color:var(--line)}
html[data-theme=dark] .desk-tile small{color:var(--muted)}
html[data-theme=dark] .desk-tile span{color:var(--muted)}
html[data-theme=dark] .st-track{background:#1f2e2c}
html[data-theme=dark] .st-fill{background:var(--accent)}
html[data-theme=dark] .st-note{color:var(--muted)}
html[data-theme=dark] .st-colbar{background:#19453c}
html[data-theme=dark] .st-colm{background:var(--accent)}
html[data-theme=dark] .st-col small{color:var(--muted)}
html[data-theme=dark] .seg-form label{color:var(--muted)}
html[data-theme=dark] .seg-bulk{background:#1d2a27;border:1px solid var(--line)}
html[data-theme=dark] .seg-auto summary{color:#c1e7e4}
html[data-theme=dark] .nav-found-group{color:var(--muted)}
html[data-theme=dark] .fab-menu{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .fab-menu button{background:none;color:#e1eff1}
html[data-theme=dark] .fab-menu button:hover{background:#1c2f2b}
html[data-theme=dark] .ch-edit{background:none!important;color:var(--muted)!important;border:none!important}
html[data-theme=dark] .theme-btn{background:none;border:1px solid var(--line);color:#c1e7e4}
html[data-theme=dark] .theme-btn:hover{background:#1c2f2b}
html[data-theme=dark] .chan.telegram{color:#86bddc}
html[data-theme=dark] .chan.max{color:#7e62d1}
html[data-theme=dark] .crm-talk-head small{color:var(--muted)}
html[data-theme=dark] .crm-talk-msgs{border:1px solid var(--line)}
html[data-theme=dark] .ch-link{border-bottom:1px solid var(--line);background:#1f2828}
html[data-theme=dark] .prof-menu button.prof-link{background:none}
html[data-theme=dark] .prof-menu button.prof-link:hover{background:#1c2f2b}
html[data-theme=dark] .pw-modal{background:#10262a66}
html[data-theme=dark] .pw-sheet{background:#182a2d}
html[data-theme=dark] .pw-msg.bad{color:#dd978a}
html[data-theme=dark] .pw-msg.ok{color:#b0e6d9}
html[data-theme=dark] .rs-art small{color:var(--muted)}
html[data-theme=dark] .rs-limits small{color:var(--muted)}
html[data-theme=dark] .rs-low{color:#d88577}
html[data-theme=dark] .rs-bad td{color:#d88577}
html[data-theme=dark] .rs-done small{color:var(--muted)}
html[data-theme=dark] .rs-hidden summary{color:var(--muted)}
html[data-theme=dark] .rfm-card{background:#182a2d;color:#e1eff1;border:1px solid #39504f}
html[data-theme=dark] .rfm-card:hover{border-color:#2b6f69}
html[data-theme=dark] .rfm-card.on{border-color:#245c57}
html[data-theme=dark] .rfm-card .rfm-share{color:#c1e7e4}
html[data-theme=dark] .rfm-card small{color:var(--muted)}
html[data-theme=dark] .rfm-card.rfm-cant_lose .rfm-name,html[data-theme=dark] .rfm-card.rfm-at_risk .rfm-name{color:#d88577}
html[data-theme=dark] .rfm-l1{background:#1a2f2d}
html[data-theme=dark] .rfm-l2{background:#14413a}
html[data-theme=dark] .rfm-l3{background:#0f594d}
html[data-theme=dark] .rfm-l4{background:#006958}
html[data-theme=dark] .rfm-note-btn{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .rfm-note-btn:hover,html[data-theme=dark] .rfm-note-btn.on{border-color:var(--accent)}
html[data-theme=dark] .rfm-note-btn.has{background:#1c332f}
html[data-theme=dark] .rfm-item.no-write .crm-row{border-color:#6e4238;background:#2a2320}
html[data-theme=dark] .crm-tag.no-write{background:#481f16;color:#e1a296}
html[data-theme=dark] .rfm-card .rfm-card-quiet{color:#e1a296}
html[data-theme=dark] .crm-row small.rfm-comment{color:#e1eff1}
html[data-theme=dark] .rfm-comment-by{color:var(--muted)}
html[data-theme=dark] .rfm-note-edit{background:#1d2a27;border:1px solid var(--line)}
html[data-theme=dark] .rfm-hide-count{color:var(--muted)}
html[data-theme=dark] .tile.bz-warn{border-color:#856b0e;background:#2d2919}
html[data-theme=dark] .tile.bz-bad{border-color:#8e3e2f;background:#2e211d}
html[data-theme=dark] .bz-note{background:#1e2928}
html[data-theme=dark] .bz-note b{background:#203a36;color:#e1eff1}
html[data-theme=dark] .bz-note.bz-good b{background:#144b37;color:#c7efea}
html[data-theme=dark] .bz-note.bz-warn b{background:#664a00;color:#efe3c9}
html[data-theme=dark] .bz-note.bz-bad b{background:#662112;color:#e7b1ac}
html[data-theme=dark] .bz-tip{background:#172d31;color:#fff;border:1px solid #ffffff33}
html[data-theme=dark] .bz-legend{color:var(--muted)}
html[data-theme=dark] .bz-sw-sold{background:#19453c}
html[data-theme=dark] .bz-sw-margin{background:var(--accent)}
html[data-theme=dark] .bz-seg{color:#fff}
html[data-theme=dark] .bz-goods{background:#2a78d6}
html[data-theme=dark] .bz-costs{background:#eb6834}
html[data-theme=dark] .bz-profit{background:#1baf7a}
html[data-theme=dark] .bz-ret{background:#2a78d6}
html[data-theme=dark] .bz-new{background:#eb6834}
html[data-theme=dark] .bz-sw-ret{background:#2a78d6}
html[data-theme=dark] .bz-sw-new{background:#eb6834}
html[data-theme=dark] .safe-rows tr.safe-diff td{background:#382e11}
html[data-theme=dark] .abcp-link{color:#b3e9e8}
html[data-theme=dark] .abcp-link:hover{background:#1c332f}
html[data-theme=dark] .ss-col.on{outline:2px solid var(--accent)}
html[data-theme=dark] .ss-mark{color:var(--text)}
html[data-theme=dark] .ss-col small{color:var(--muted)}
html[data-theme=dark] .ss-ev{background:var(--muted)}
html[data-theme=dark] .ss-legend{color:var(--muted)}
html[data-theme=dark] .bz-svc-card{background:#182a2d;border:1px solid var(--line)}
html[data-theme=dark] .bz-svc-head small{color:var(--muted)}
html[data-theme=dark] .bz-svc-row span{color:var(--muted)}
html[data-theme=dark] .bz-svc-inc{background:#1a3a29}
html[data-theme=dark] .bz-svc-inc .bz-svc-row span,html[data-theme=dark] .bz-svc-inc .bz-svc-row b,html[data-theme=dark] .bz-svc-inc small{color:#b7eaca}
html[data-theme=dark] .bz-svc-sum{border-top:1px solid var(--line)}
html[data-theme=dark] .bz-svc-sum span{color:inherit}
html[data-theme=dark] .bz-svc-own{border-top:1px dashed var(--line)}
html[data-theme=dark] .bz-svc-own>small{color:var(--muted)}
/* by hand: native controls, the logo, the page */
html[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] body{background:#0f1b1d;color:#e3ecea}
html[data-theme=dark] .brand-logo{content:url(/static/assets/brand-logo-dark.png)}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#7f9592}
html[data-theme=dark] a{color:#7fd0c4}
html[data-theme=dark] .side .tabs a.on,html[data-theme=dark] .side .tabs button.on,html[data-theme=dark] .sections a.on{color:#fff}
html[data-theme=dark] .fn-modal{background:#000a}
