/* Сгенерировано scripts/build-dark.py. Руками не править: правки пропадут при сборке. */
html[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] .sidebar{border-right:1px solid #2a2a2a}
html[data-theme=dark]{--bg:#1c1c1c;--ink:#e9e9e9;--muted:#c0c0c0;--line:#404040;--card:#252525;--lime:#667dff;--green:#a0cfb3;--soft:#161616;--danger:#dd9892}
html[data-theme=dark] header{background:#333323d9}
html[data-theme=dark] .crumb span{color:#b9b9b9}
html[data-theme=dark] .user-chip{background:#141414}
html[data-theme=dark] .eyebrow{color:#c3c3c3!important}
html[data-theme=dark] .btn.primary{background:#3a4263;color:#ffffff;border-color:#3a4263}
html[data-theme=dark] .metrics .accent{color:#ffffff}
html[data-theme=dark] .metrics .accent>span,html[data-theme=dark] .metrics .accent small{color:#c5d2c8}
html[data-theme=dark] .bar{background:#141414}
html[data-theme=dark] .bar:hover:after{background:#3a4263;color:#ffffff}
html[data-theme=dark] .quality-ring{background:conic-gradient(var(--lime) calc(var(--value)*1%),#161616 0)}
html[data-theme=dark] .quality-ring:after{background:#252525}
html[data-theme=dark] th{background:#202020}
html[data-theme=dark] th,html[data-theme=dark] td{border-bottom:1px solid #404040}
html[data-theme=dark] tbody tr:hover{background:#212121}
html[data-theme=dark] .status{background:#243522;color:#a2cdb1}
html[data-theme=dark] .status:before{background:#4e9e66}
html[data-theme=dark] .status.paused{background:#39301e;color:#ccbea3}
html[data-theme=dark] .status.paused:before{background:#ad8b4d}
html[data-theme=dark] .copy{background:#181818}
html[data-theme=dark] table.list tbody tr:hover td.row-actions{background:#212121}
html[data-theme=dark] table.list th.actions{background:#202020}
html[data-theme=dark] table.list td.row-actions:before,html[data-theme=dark] table.list th.actions:before{background:linear-gradient(to right,transparent,#0000000d)}
html[data-theme=dark] dialog::backdrop{background:#70815699}
html[data-theme=dark] input{border:1px solid #404040;background:#212121}
html[data-theme=dark] input:focus{border-color:#5b638f;box-shadow:0 0 0 3px #d9ff6633}
html[data-theme=dark] .input-prefix{border:1px solid #404040;background:#212121}
html[data-theme=dark] .toast{background:#3a4263;color:#ffffff}
html[data-theme=dark] select{border:1px solid #404040;background:#212121;color:#e9e9e9}
html[data-theme=dark] select:focus{border-color:#5b638f;box-shadow:0 0 0 3px #d9ff6633}
html[data-theme=dark] .form-note{color:#c0c0c0}
html[data-theme=dark] .column-picker{border:1px solid #404040;background:#212121}
html[data-theme=dark] .device-options{border:1px solid #404040}
html[data-theme=dark] .country-tag{background:#1d2139}
html[data-theme=dark] .country-search{border:1px solid #404040;background:#212121}
html[data-theme=dark] .country-search:focus-within{outline:2px solid #5d68a6}
html[data-theme=dark] .country-options{background:#252525;border:1px solid #404040}
html[data-theme=dark] .country-options button{background:#252525}
html[data-theme=dark] .country-options button:hover,html[data-theme=dark] .country-options button[aria-selected=true]{background:#1d2139}
html[data-theme=dark] .modal-head .icon-button:hover{background:#161616}
html[data-theme=dark] .modal-head .icon-button:focus-visible{outline:2px solid #5b638f}
html[data-theme=dark] .flow-more{border:1px solid #404040;background:#212121}
html[data-theme=dark] .flow-more summary{color:#d8d8d8}
html[data-theme=dark] .flow-more summary:before{color:#b3b4ba}
html[data-theme=dark] .more-count{color:#959fda}
html[data-theme=dark] .split-row{border-bottom:1px solid #404040}
html[data-theme=dark] .bot-lists textarea{border:1px solid #404040;background:#212121}
html[data-theme=dark] .bot-lists textarea:focus{outline:2px solid #5b67a8}
html[data-theme=dark] .alias-row small{color:#c3c3c3}
html[data-theme=dark] .alias-chip{border:1px solid #404040;background:#181818;color:#a7acc8}
html[data-theme=dark] .alias-menu{border:1px solid #404040;background:#252525}
html[data-theme=dark] .alias-control{border:1px solid #404040;background:#252525}
html[data-theme=dark] .alias-control:focus-within{border-color:#636da3;box-shadow:0 0 0 3px #91a85b22}
html[data-theme=dark] .alias-control .alias-clear,html[data-theme=dark] .alias-control .alias-toggle{color:#bcbcbc}
html[data-theme=dark] .alias-menu [role=option]{background:#252525}
html[data-theme=dark] .alias-menu [role=option]:hover,html[data-theme=dark] .alias-menu [aria-selected=true]{background:#181818}
html[data-theme=dark] .alias-empty{color:#bcbcbc}
html[data-theme=dark] .pb-change{border-bottom:1px solid #404040}
html[data-theme=dark] .pb-added{color:#8ee1b1}
html[data-theme=dark] .pb-removed{color:#ee8981}
html[data-theme=dark] #postbackResult[data-state=success]{border:2px solid #23834b;background:#1d3927}
html[data-theme=dark] #postbackResult[data-state=success] h2{color:#8ee1b1}
html[data-theme=dark] #postbackResult[data-state=error]{border:2px solid #b42318;background:#39201d}
html[data-theme=dark] #postbackResult[data-state=error] h2{color:#ee8981}
html[data-theme=dark] #outboundDialog textarea{border:1px solid #404040;background:#212121}
html[data-theme=dark] .tag-input{border:1px solid #404040;background:#252525}
html[data-theme=dark] .tag-input:focus-within{border-color:#41433d;box-shadow:0 0 0 3px var(--focus,#16181226)}
html[data-theme=dark] .tag-chip{background:var(--brand-soft,#1d2139);color:#949cdb}
html[data-theme=dark] .tag-toggle{color:var(--muted,#c0c0c0)}
html[data-theme=dark] .tag-options{background:#252525;border:1px solid #404040;box-shadow:0 10px 26px #bfbfbf1f}
html[data-theme=dark] .tag-options button:hover,html[data-theme=dark] .tag-options button[aria-selected=true]{background:var(--brand-soft,#1d2139)}
html[data-theme=dark] .tag-options i{color:var(--muted,#c0c0c0)}
html[data-theme=dark] .integration{background:var(--soft,#1f1f1f)}
html[data-theme=dark] .integration-title{color:#c3c3c3}
html[data-theme=dark] .period-presets,html[data-theme=dark] .segmented{background:#141414}
html[data-theme=dark] .period-presets button,html[data-theme=dark] .segmented button{color:#d0d0d0}
html[data-theme=dark] .period-presets button.active,html[data-theme=dark] .segmented button.active{box-shadow:0 1px 2px #bfbfbf1f}
html[data-theme=dark] .delta.up{color:#98d7ab}
html[data-theme=dark] .metrics .accent .delta.down{color:#ffb4a8}
html[data-theme=dark] .ov-grid-line{border-top:1px dashed #404040}
html[data-theme=dark] .ov-col:hover,html[data-theme=dark] .ov-col:focus-visible{background:#1a1a1a}
html[data-theme=dark] .ov-stack b+b{box-shadow:0 1px 0 #404040b3}
html[data-theme=dark] .ov-tip{background:#3a4263;color:#ffffff}
html[data-theme=dark] .ov-tip .tip-head{color:#c6c6c6;border-bottom:1px solid #4040401f}
html[data-theme=dark] .ov-tip .tip-head b{color:#ffffff}
html[data-theme=dark] .legend-item{background:#212121}
html[data-theme=dark] .legend-item:hover{border-color:#a6aac0}
html[data-theme=dark] .legend-item b{color:#cccccc}
html[data-theme=dark] .legend-item.off i{background:#141414!important}
html[data-theme=dark] .link{color:#9ca4d3}
html[data-theme=dark] .chip{border:1px solid #bfc2d6;background:#191919}
html[data-theme=dark] .chip:hover{border-color:#747db1}
html[data-theme=dark] table.report td.zero{color:#b4b4b4}
html[data-theme=dark] table.report tr.drill:hover td.name{color:#9ca4d3}
html[data-theme=dark] table.report tfoot td{background:#1c1c1c}
html[data-theme=dark] table.compact td.name .share{background:linear-gradient(90deg,#5f6dbf,#667dff)}
html[data-theme=dark] table.compact td.money{color:#9cd3b0}
html[data-theme=dark] table.compact tbody tr:hover td{background:#1e1e1e}
html[data-theme=dark] #ovMetrics article:not(.accent)::after{background:linear-gradient(#667dff,#5f6dbf)}
html[data-theme=dark] .btn:hover{border-color:#a6aac0}
html[data-theme=dark] .btn.primary:hover{background:#000000}
html[data-theme=dark] .list-tools .search kbd{background:#161616}
html[data-theme=dark] .list-tools .count.filtered{color:#9ca4d3}
html[data-theme=dark] table.list td.money{color:#9cd3b0}
html[data-theme=dark] table.list tbody tr:hover{background:#212121}
html[data-theme=dark] .tag{background:#161616;color:#d0d0d0}
html[data-theme=dark] .tag.block{background:#39221d;color:#db9c94}
html[data-theme=dark] .tag.notfound{background:#39301e;color:#ccbea3}
html[data-theme=dark] .tag.campaign{background:#1d2a39;color:#92b6dd}
html[data-theme=dark] .ov-bars.as-lines .ov-col:hover,html[data-theme=dark] .ov-bars.as-lines .ov-col:focus-visible{background:#2f34234d}
html[data-theme=dark] .ov-bars.as-lines .ov-col:hover::after,html[data-theme=dark] .ov-bars.as-lines .ov-col:focus-visible::after{background:#141414}
html[data-theme=dark] .ov-tip .tip-row.zero b,html[data-theme=dark] .ov-tip .tip-row.zero span{color:#afafaf}
html[data-theme=dark] .metrics article:not(.accent)::after{background:var(--accent,#5f6dbf)}
html[data-theme=dark] .ov-tops .dot{background:var(--accent,#5f6dbf)}
html[data-theme=dark] table.compact td.name .share{background:var(--accent,#5f6dbf)}
html[data-theme=dark] .ov-grid-line{border-top:1px solid #404040}
html[data-theme=dark] .ov-grid-line.base{border-top:1px solid #404040}
html[data-theme=dark] .ov-grid-line span{color:#afafaf}
html[data-theme=dark] .ov-dot{box-shadow:0 0 0 1.5px #404040}
html[data-theme=dark] .legend-item:hover{background:#191919}
html[data-theme=dark] table.list tfoot td{background:#1c1c1c}
html[data-theme=dark] #clickFoot td{background:#1c1c1c}
html[data-theme=dark] .link-cell{color:#9cd3b0}
html[data-theme=dark] .link-cell:hover{color:#9ad5b0}
html[data-theme=dark] #campSub code{background:#1a1a1a}
html[data-theme=dark] textarea{border:1px solid #404040;background:#212121}
html[data-theme=dark] textarea:focus{border-color:#5b638f;box-shadow:0 0 0 3px #d9ff6633}
html[data-theme=dark] input[type=checkbox]{border:1.5px solid #404040;background:#252525 no-repeat center}
html[data-theme=dark] input[type=checkbox]:hover{border-color:#8a8ea8}
html[data-theme=dark] input[type=checkbox]:focus-visible{outline:2px solid #5b638f}
html[data-theme=dark] .table-panel::-webkit-scrollbar-thumb,html[data-theme=dark] .ov-legend::-webkit-scrollbar-thumb,html[data-theme=dark] .country-options::-webkit-scrollbar-thumb,html[data-theme=dark] .prefs-body::-webkit-scrollbar-thumb{background:#141414}
html[data-theme=dark] .table-panel::-webkit-scrollbar-thumb:hover,html[data-theme=dark] .ov-legend::-webkit-scrollbar-thumb:hover{background:#141414}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] summary:focus-visible{outline:2px solid #5b638f}
html[data-theme=dark] code{background:#1a1a1a}
html[data-theme=dark] .sel-pop{background:#252525;border:1px solid #404040;box-shadow:0 16px 38px #0f140a26}
html[data-theme=dark] .sel-pop::-webkit-scrollbar-thumb{background:#141414}
html[data-theme=dark] .sel-opt.active{background:#171717}
html[data-theme=dark] .sel-opt[aria-disabled=true]{color:#ababab}
html[data-theme=dark] #ovMetricTabs button i{background:#141414}
html[data-theme=dark] .warn-text{color:#e2b38d}
html[data-theme=dark] .geo-warn{color:#e09e8f}
html[data-theme=dark] .test-result{border:1px solid #404040;background:#212121}
html[data-theme=dark] .test-result .ok{color:#8ee1b1}
html[data-theme=dark] .test-result .bad{color:#ee8981}
html[data-theme=dark] tr.row-edit:focus-visible{outline:2px solid #5b638f}
html[data-theme=dark] .sel-search{background:var(--card,#252525)}
html[data-theme=dark] .sel-search:focus{border-bottom-color:#5b638f}
html[data-theme=dark]{--hair:#1618120f;--hair-soft:#16181208}
html[data-theme=dark] th{background:#1e1e1e}
html[data-theme=dark] tbody tr:hover{background:#1f1f1f}
html[data-theme=dark] .btn:hover{background:#191919}
html[data-theme=dark] .btn.primary:hover{background:#282828}
html[data-theme=dark] .act:hover{background:#161616}
html[data-theme=dark] .act[data-del-flow]:hover{background:#391f1d;border-color:#633936}
html[data-theme=dark]{--lime:#e3e3e3;--green:#e6e6e6;--focus:#707a5c26}
html[data-theme=dark] .quality-ring{background:conic-gradient(#3a4263 calc(var(--value)*1%),#e0e0e0 0)}
html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{border-color:#404040}
html[data-theme=dark] .metrics .accent .delta.up{color:#cccccc}
html[data-theme=dark] .signal i{background:#393939}
html[data-theme=dark] table.compact td.name .share{background:linear-gradient(90deg,#141414,#141414)}
html[data-theme=dark] #ovMetrics article:not(.accent)::after{background:linear-gradient(#2b2b2b,#141414)}
html[data-theme=dark] .column-options.sortable label:hover{background:#191919}
html[data-theme=dark]{--brand:#4f6ef0;--brand-ink:#3f51c9;--brand-deep:#3142a5;--brand-soft:#1d2139;--brand-line:#1d2239}
html[data-theme=dark] .load-bar{background:linear-gradient(90deg,var(--brand-deep),var(--brand),#8a5be6)}
html[data-theme=dark] .sec-2fa .state.on{color:#8ee1b1}
html[data-theme=dark] .sec-2fa .state.off{color:#ee8981}
html[data-theme=dark] .sec-2fa input.otp::placeholder{color:#bdbdbd}
html[data-theme=dark] .sec-2fa .qr{background:#252525;border:1px solid var(--line,#404040)}
html[data-theme=dark] .sec-2fa .codes{background:var(--soft,#1f1f1f)}
html[data-theme=dark] .modal-actions .trash-btn:hover{background:#391f1d;border-color:#633936}
html[data-theme=dark] .trash-kind{background:var(--soft,#161616)}
html[data-theme=dark] .act[data-trash-purge]:hover{background:#391f1d;border-color:#633936}
html[data-theme=dark] .signal-tag{background:#39221d;color:#db9c94}
html[data-theme=dark] .signal-tag.warn{background:#39301e;color:#ccbea3}
html[data-theme=dark] tr.signal-bad td:first-child{box-shadow:inset 3px 0 0 #a53c34}
html[data-theme=dark] .health-summary strong.bad{color:#dd9892}
html[data-theme=dark] .health-items li{box-shadow:inset 3px 0 0 #c9a227}
html[data-theme=dark] .health-items li.error{box-shadow:inset 3px 0 0 #a53c34}
html[data-theme=dark] .tag.split-winner{background:#203727;color:#a0cfb3}
html[data-theme=dark] .tag.split-leading{background:#39301e;color:#ccbea3}
html[data-theme=dark] .tag.split-early{background:#161616;color:#c0c0c0}
html[data-theme=dark] .split-panel tr.leader td{background:#293225}
html[data-theme=dark] .split-panel tr.leader.winner td{background:#1f3826}
html[data-theme=dark] .split-panel tr.leader.winner td:first-child{box-shadow:inset 3px 0 0 #2f6b45}
html[data-theme=dark] .mini-chart i{background:#3268a4}
html[data-theme=dark] .mini-chart i.with-dep{background:#419560}
html[data-theme=dark] .offer-facts dd.bad,html[data-theme=dark] .bulk-preview .bad,html[data-theme=dark] .scheme-offer .bad{color:#dd9892}
html[data-theme=dark] .offer-facts dd.warn{color:#e7ce88}
html[data-theme=dark] .scheme-offer.stop strong{color:#db9c94}
html[data-theme=dark] .scheme-bar{background:#667dff}
html[data-theme=dark] .metrics .accent{background:#2a3150}
html[data-theme=dark] .metrics .accent strong{color:#fff}
html[data-theme=dark] dialog::backdrop{background:#000000b3}
html[data-theme=dark] header{background:#1c1c1ce6}
