/* Generated by `manage.py build_dark_theme` — do not edit; edit dark.css for hand-made fixes. */
/* app.css */
html[data-theme="dark"]{--ink:#ced7e2;--muted:#a3acb7;--panel:#252525;--bg:#28313e;--border:#39414d}
html[data-theme="dark"] .nav-label{color:#a7b8c9}
html[data-theme="dark"] .subscription-pill{background:#1c304a;color:#76a4e5}
html[data-theme="dark"] .subscription-pill.warning{background:#4a3a1c;color:#f3bc68}
html[data-theme="dark"] .mobile-top{background:#252525}
html[data-theme="dark"] .welcome-card{box-shadow:0 18px 38px rgba(0,0,0,0.27)}
html[data-theme="dark"] .metric-card{background:#252525;box-shadow:0 8px 24px rgba(0,0,0,0.063)}
html[data-theme="dark"] .metric-icon.green{background:#273f34}
html[data-theme="dark"] .metric-icon.blue{background:#1c2f4a}
html[data-theme="dark"] .metric-icon.orange{background:#4a3a1c}
html[data-theme="dark"] .metric-icon.purple{background:#2b1c4a}
html[data-theme="dark"] .panel{background:#252525;box-shadow:0 8px 25px rgba(0,0,0,0.063)}
html[data-theme="dark"] .quick-grid i{background:#1c2f4a}
html[data-theme="dark"] .status-dot{background:#121315;color:#a4adb7}
html[data-theme="dark"] .status-dot.online{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .table td{border-bottom-color:#3a4149}
html[data-theme="dark"] .voucher-code{background:#1c2f4a;color:#77a4e4}
html[data-theme="dark"] .form-panel input,html[data-theme="dark"] .form-panel select{border:1px solid #3c4550;background:#252525}
html[data-theme="dark"] .soft-panel{background:linear-gradient(145deg,#1c324a,#252525)}
html[data-theme="dark"] .big-icon{background:#1c314a}
html[data-theme="dark"] .clean-list{color:#b1bdca}
html[data-theme="dark"] .router-symbol{background:#1c2f4a}
html[data-theme="dark"] .live-badge{background:#273f33;color:#79e1b4}
html[data-theme="dark"] .price-card{background:#252525}
html[data-theme="dark"] .topology-line{background:#262f3a}
html[data-theme="dark"] .good-state{color:#b3cec2}
html[data-theme="dark"] .support-card{background:#252525}
html[data-theme="dark"] .landing{background:radial-gradient(circle at 78% 30%,#1c384a 0,#1c334a 28%,#252525 65%)}
html[data-theme="dark"] .hero-badge,html[data-theme="dark"] .trial-badge{background:#1c304a;color:#76a4e5}
html[data-theme="dark"] .hero p{color:#a2acb9}
html[data-theme="dark"] .hero-checks{color:#aebecd}
html[data-theme="dark"] .hero-dashboard{box-shadow:0 30px 70px rgba(0,0,0,0.333)}
html[data-theme="dark"] .mini-grid div{border:1px solid #b1c1ce}
html[data-theme="dark"] .feature-strip div{background:#252525;border:1px solid #37424e}
html[data-theme="dark"] .auth-page{background:radial-gradient(circle at 20% 10%,#1c344a,#1c2d4a 45%,#252525)}
html[data-theme="dark"] .auth-card{background:#252525;box-shadow:0 25px 60px rgba(0,0,0,0.201)}
html[data-theme="dark"] .badge.text-bg-success-subtle{background:#273f34!important;color:#79e1b4!important}
html[data-theme="dark"] .sync-explainer>div{background:#252525}
html[data-theme="dark"] .sync-explainer>div>i{background:#1c304a}
html[data-theme="dark"] .router-mini-stats span{color:#a3adb8}
html[data-theme="dark"] .router-error{color:#eca56f!important}
html[data-theme="dark"] .network-flow{background:linear-gradient(135deg,#1c334a,#1c304a);border:1px solid #324154}
html[data-theme="dark"] .flow-node{border:1px solid #374452;background:#252525;box-shadow:0 7px 18px rgba(0,0,0,0.063)}
html[data-theme="dark"] .flow-line{background:#262f3b}
html[data-theme="dark"] .section-divider{color:#a3adb8}
html[data-theme="dark"] .mikrotik-chassis{border:1px solid #b7bfc7;box-shadow:inset 0 1px #ffffff18,0 18px 30px rgba(0,0,0,0.151)}
html[data-theme="dark"] .led{box-shadow:inset 0 0 3px rgba(0,0,0,0.6)}
html[data-theme="dark"] .rj45{box-shadow:inset 0 5px 12px rgba(0,0,0,0.6)}
html[data-theme="dark"] .router-port.active .port-leds i:last-child{background:#57491c}
html[data-theme="dark"] .topology-subpanel{background:#1c334a}
html[data-theme="dark"] .subpanel-title span{background:#263240;color:#a1adba}
html[data-theme="dark"] .neighbor-row{border-bottom:1px solid #3a4149}
html[data-theme="dark"] .neighbor-icon{background:#1c304a}
html[data-theme="dark"] .neighbor-connection .status-dot{color:#a4adb7}
html[data-theme="dark"] .neighbor-connection .status-dot.online{color:#79e1b4}
html[data-theme="dark"] .neighbor-connection em{color:#75a3e6}
html[data-theme="dark"] .wifi-client-row{border-bottom:1px solid #3a4149}
html[data-theme="dark"] .wifi-client-row>i{background:#281c4a}
html[data-theme="dark"] .managed-link-card{background:#1c304a}
html[data-theme="dark"] .node-chip{background:#252525;border:1px solid #3a4550}
html[data-theme="dark"] .link-wire{background:#282f36}
html[data-theme="dark"] .link-wire i{background:#1c304a}
html[data-theme="dark"] .control-kicker{background:#1c304a;color:#7aa5e1}
html[data-theme="dark"] .control-metrics>div{background:#252525}
html[data-theme="dark"] .control-metrics .metric-icon{background:#1c304a}
html[data-theme="dark"] .lb-panel{background:linear-gradient(140deg,#252525 55%,#1c314a)}
html[data-theme="dark"] .lb-method{background:#101214;color:#adb8c4}
html[data-theme="dark"] .lb-method.active{background:#273f31;color:#7ae1b3}
html[data-theme="dark"] .traffic-pulse{background:#193455}
html[data-theme="dark"] .lb-facts span{background:#29333d;border:1px solid #3b444c;color:#a3aeb8}
html[data-theme="dark"] .lb-facts b{color:#c5d1dc}
html[data-theme="dark"] .studio-options .form-check{background:#29333d}
html[data-theme="dark"] .role-zone{border:1.5px dashed #404851;background:#28333e}
html[data-theme="dark"] .role-zone.drag-over{background:#1c304a}
html[data-theme="dark"] .studio-port{background:#252525;border:1px solid #3c454e;box-shadow:0 3px 10px rgba(0,0,0,0.069)}
html[data-theme="dark"] .studio-port>i{background:#29343d;color:#adb8c4}
html[data-theme="dark"] .studio-port.running>i{background:#264033;color:#7ae1b3}
html[data-theme="dark"] .studio-port>span{background:#2c3236}
html[data-theme="dark"] .resource-table-wrap{background:#1c334a}
html[data-theme="dark"] .config-table th{background:#28333e!important}
html[data-theme="dark"] .advanced-warning{background:#4a3a1c;border:1px solid #665736}
html[data-theme="dark"] .advanced-warning>i{color:#dfb67c}
html[data-theme="dark"] .advanced-warning span{color:#c8b493}
html[data-theme="dark"] .code-editor{border-color:#babfc5}
html[data-theme="dark"] .config-section-card{background:#223344}
html[data-theme="dark"] .config-section-card:hover{background:#1c304a}
html[data-theme="dark"] .config-section-card span{background:#253341;color:#8eb0cd}
html[data-theme="dark"] .change-log>div{border-bottom:1px solid #3a4149}
html[data-theme="dark"] .change-status{color:#ca9191}
html[data-theme="dark"] .change-status.ok{color:#7fdcb2}
html[data-theme="dark"] .change-log em{color:#c79494}
html[data-theme="dark"] .inventory-tabs a{background:#252525;color:#adbcca}
html[data-theme="dark"] .inventory-tabs a:hover{background:#1c304a}
html[data-theme="dark"] .blueprint-arrow{color:#a8bacb}
html[data-theme="dark"] .topology-wans{background:#243342}
html[data-theme="dark"] .topology-wans>span{background:#252525;border:1px solid #3a4550;color:#a3aeb8}
html[data-theme="dark"] .topology-wans>span i{background:#2d3237}
html[data-theme="dark"] .path-port{background:#243342;color:#92afc9}
html[data-theme="dark"] .table-responsive:not(.no-scroll) .table thead th{background:#252525!important}
html[data-theme="dark"] .scroll-list::-webkit-scrollbar-thumb,html[data-theme="dark"] .table-responsive::-webkit-scrollbar-thumb,html[data-theme="dark"] .resource-table-wrap::-webkit-scrollbar-thumb,html[data-theme="dark"] .change-log::-webkit-scrollbar-thumb,html[data-theme="dark"] .role-port-list::-webkit-scrollbar-thumb{background:#2a3138}
html[data-theme="dark"] .sync-monitor{border-color:#344455;background:linear-gradient(180deg,#252525,#1c334a)}
html[data-theme="dark"] .sync-monitor-count{border:1px solid #384451;background:#28333e;color:#acbbca}
html[data-theme="dark"] .sync-job-row{border-bottom:1px solid #39424a}
html[data-theme="dark"] .sync-job-icon{background:#1c2e4a;color:#75a3e6}
html[data-theme="dark"] .sync-job-row.status-success .sync-job-icon{background:#264033;color:#7bdfb4}
html[data-theme="dark"] .sync-job-row.status-failed .sync-job-icon{background:#4a1c1c}
html[data-theme="dark"] .sync-job-phase{color:#a3adb7}
html[data-theme="dark"] .sync-progress{background:#2a323c}
html[data-theme="dark"] .sync-job-percent{color:#acbac7}
html[data-theme="dark"] .router-sync-pill{background:#131416}
html[data-theme="dark"] .router-sync-pill.active{background:#1c304a;color:#75a3e6}
html[data-theme="dark"] .router-sync-pill.success{background:#273f33;color:#7bdfb4}
html[data-theme="dark"] .router-sync-pill.failed{background:#4a1c1c}
html[data-theme="dark"] .sync-global-pill{background:#1c304a;color:#75a3e6}
html[data-theme="dark"] .sync-global-pill:hover{background:#1c314a;color:#74a3e7}
/* business.css */
html[data-theme="dark"] .filter-bar{background:#252525}
html[data-theme="dark"] .range-pills a,html[data-theme="dark"] .range-pills button{color:#adb8c6}
html[data-theme="dark"] .range-pills a:hover,html[data-theme="dark"] .range-pills button:hover{background:#27323f}
html[data-theme="dark"] .fin-tabs a{color:#adb8c6}
html[data-theme="dark"] .fin-tabs .count{background:#28323e;color:#adb8c6}
html[data-theme="dark"] .kpi{background:#252525}
html[data-theme="dark"] .delta.up{color:#78e3b3;background:#283e34}
html[data-theme="dark"] .delta.down{color:#e28078;background:#462420}
html[data-theme="dark"] .delta.flat{color:#a3acb7;background:#131416}
html[data-theme="dark"] .delta.inv.up{color:#e28078;background:#462420}
html[data-theme="dark"] .delta.inv.down{color:#78e3b3;background:#283e34}
html[data-theme="dark"] .kpi.neg strong{color:#d98882}
html[data-theme="dark"] .chart-panel{background:#252525}
html[data-theme="dark"] .chart-empty{background:#252525}
html[data-theme="dark"] .seg{background:#2b323b}
html[data-theme="dark"] .seg button{color:#adb8c6}
html[data-theme="dark"] .seg button.on{background:#252525;box-shadow:0 1px 3px rgba(0,0,0,0.107)}
html[data-theme="dark"] .ring{background:conic-gradient(var(--primary) calc(var(--p)*1%),#29323d 0)}
html[data-theme="dark"] .ring::before{background:#252525}
html[data-theme="dark"] .ring.done{background:conic-gradient(var(--green) 100%,#29323d 0)}
html[data-theme="dark"] .pl-table td{border-bottom:1px solid #394149}
html[data-theme="dark"] .pl-table tr.out td:last-child{color:#e28078}
html[data-theme="dark"] .pl-table tr.sub td{border-top:1.5px solid #404851}
html[data-theme="dark"] .pl-table tr.total.neg td:last-child{color:#e28078}
html[data-theme="dark"] .pl-table tr.total.pos td:last-child{color:#78e3b3}
html[data-theme="dark"] .stock-row{border-bottom:1px solid #394149}
html[data-theme="dark"] .stock-bar{background:#28323e}
html[data-theme="dark"] .agent-card{background:#252525}
html[data-theme="dark"] .agent-card .av{background:#1c2c4a}
html[data-theme="dark"] .agent-card .owe.bad strong{color:#e28078}
html[data-theme="dark"] .collect-bar{background:#28323e}
html[data-theme="dark"] .method-pill{background:#131518;color:#b1becc}
html[data-theme="dark"] .method-pill.wave{background:#1c384a;color:#6fbaeb}
html[data-theme="dark"] .method-pill.qmoney{background:#4a381c;color:#f3ba68}
html[data-theme="dark"] .method-pill.afrimoney{background:#46202d;color:#e57699}
html[data-theme="dark"] .method-pill.cash{background:#283e34;color:#78e3b3}
html[data-theme="dark"] .method-pill.auto{background:#291c4a;color:#9a88d3}
html[data-theme="dark"] .sale-modes label:has(input:checked){background:#1c2f4a}
html[data-theme="dark"] .modal-body label.form-label{color:#b1becc}
html[data-theme="dark"] .insight{background:#252525}
html[data-theme="dark"] .funnel-row .track{background:#27323f}
html[data-theme="dark"] .heat i{background:#29323d}
html[data-theme="dark"] .share-bar{background:#28323e}
html[data-theme="dark"] .form-panel input.form-check-input,html[data-theme="dark"] .form-panel input[type=radio],html[data-theme="dark"] .form-panel input[type=checkbox]{border:1px solid #484e56;background-color:#252525}
html[data-theme="dark"] .form-panel input.form-check-input:focus{border-color:#304a6f}
/* netviz.css */
html[data-theme="dark"]{--bp-line:#b6bfc8}
html[data-theme="dark"] .nv-strip>div{background:#252525}
html[data-theme="dark"] .nv-strip .nv-live b{color:#72b1e9}
html[data-theme="dark"] .nm{border:1px solid #b1bdcd;box-shadow:0 18px 40px rgba(0,0,0,0.238)}
html[data-theme="dark"] .nm-elabel text{fill:#2b343c}
html[data-theme="dark"] .nm-elabel .nm-rate{fill:#1c324a;stroke:#b2becd}
html[data-theme="dark"] .nm-node{border:1px solid #b5bfc9;box-shadow:0 8px 20px rgba(0,0,0,0.289)}
html[data-theme="dark"] .nm-node.sel{box-shadow:0 0 0 3px #7cc4ff33,0 8px 20px rgba(0,0,0,0.289)}
html[data-theme="dark"] .nm-share,html[data-theme="dark"] .nm-state{border:1px solid #b5bfc9}
html[data-theme="dark"] .nm-node.st-down .nm-state{border-color:#cab5b5}
html[data-theme="dark"] .nm-node.st-standby .nm-state{border-color:#cdc4b1}
html[data-theme="dark"] .nm-node.t-router{box-shadow:0 0 0 1px #3b73ad33,0 10px 24px rgba(0,0,0,0.351)}
html[data-theme="dark"] .nm-node.t-router.s-offline{border-color:#cab5b5}
html[data-theme="dark"] .nm-node.t-clients{border-color:#b6bfc9}
html[data-theme="dark"] .lg-wifi{background:repeating-linear-gradient(90deg,#271e4a 0 3px,transparent 3px 6px)}
html[data-theme="dark"] .lbx-pill{background:#101214;color:#b2bfcc}
html[data-theme="dark"] .lbx-pill.m-pcc,html[data-theme="dark"] .lbx-pill.m-ecmp{background:#1c314a;color:#76a4e5}
html[data-theme="dark"] .lbx-pill.m-failover{background:#4a3a1c;color:#f3c068}
html[data-theme="dark"] .lbx-pill.m-policy-routing,html[data-theme="dark"] .lbx-pill.m-bonding{background:#2a1c4a;color:#9e87d4}
html[data-theme="dark"] .lbx-pill.m-no-default-route{background:#4a1c1c;color:#d18a8a}
html[data-theme="dark"] .lbx-meter{background:#29333d}
html[data-theme="dark"] .lbx-stage{border:1px solid #b1bdcd}
html[data-theme="dark"] .lbx-isp-name{fill:#252525}
html[data-theme="dark"] .lbx-isp-sub{fill:#2d353e}
html[data-theme="dark"] .lbx-x{fill:#521f1f}
html[data-theme="dark"] .lbx-node-name{fill:#252525}
html[data-theme="dark"] .lbx-node-sub{fill:#1c304a}
html[data-theme="dark"] .lbx-empty{fill:#2b343c}
html[data-theme="dark"] .lbx-lane{background:#252525}
html[data-theme="dark"] .lbx-lane header em{color:#79e1b4}
html[data-theme="dark"] .lbx-lane.st-standby header em,html[data-theme="dark"] .lbx-lane.st-no-route header em,html[data-theme="dark"] .lbx-lane.st-held header em{color:#f3c068}
html[data-theme="dark"] .lbx-lane.st-down{border-color:#5b3535;background:#4a1c1c}
html[data-theme="dark"] .lbx-lane.st-down header em{color:#d18a8a}
html[data-theme="dark"] .lbx-share-bar{background:#2a333c}
html[data-theme="dark"] .lbx-share-bar i{background:linear-gradient(90deg,#1769e0,#1a4458)}
html[data-theme="dark"] .lbx-status{background:#4a3a1c;border:1px solid #665736;color:#d9ba82}
html[data-theme="dark"] .lbx-how summary{color:#76a4e5}
html[data-theme="dark"] .lbx-facts span{background:#29333d;border:1px solid #3b444c;color:#a3aeb8}
html[data-theme="dark"] .lbx-facts b{color:#c5d1dc}
html[data-theme="dark"] .lbx-warn{color:#f3c368}
html[data-theme="dark"] .lbx-events div{color:#98afc3;border-bottom:1px solid #3a4149}
html[data-theme="dark"] .lbx-events div.bad{color:#d18a8a}
html[data-theme="dark"] .sec-hero{background:#252525}
html[data-theme="dark"] .sec-ring .bg{stroke:#37414b}
html[data-theme="dark"] .sec-count{background:#15171a;color:#adb9c5}
html[data-theme="dark"] .sev-critical{--svbg:#462020}
html[data-theme="dark"] .sev-high{--svbg:#4a301c}
html[data-theme="dark"] .sev-medium{--svbg:#4a3e1c}
html[data-theme="dark"] .sev-low{--svbg:#1c2f4a}
html[data-theme="dark"] .sev-info{--svbg:#131416}
html[data-theme="dark"] .sec-router{background:#252525}
html[data-theme="dark"] .sec-router .rs.run{color:#75a3e6}
html[data-theme="dark"] .sec-router .rs.bad{color:#d98181}
html[data-theme="dark"] .sec-filter{background:#252525;color:#b0becc}
html[data-theme="dark"] .sec-filter.on{border-color:#b2becd}
html[data-theme="dark"] .sec-item{background:#252525}
html[data-theme="dark"] .sec-body p{color:#b6c5d3}
html[data-theme="dark"] .sec-evidence code{background:#15171a;color:#bbc8d6}
html[data-theme="dark"] .sec-empty{color:#b3cec2;background:#252525}
/* ports.css */
html[data-theme="dark"] .pi{background:#2a313c}
html[data-theme="dark"] .pi-tabs button.on{background:#2a313c;color:#ced7e2}
html[data-theme="dark"] .pi-stat{background:#252525;border:1px solid var(--border,#3b424c)}
html[data-theme="dark"] .pi-stat span{color:#a3acb7}
html[data-theme="dark"] .pi-note{color:#a3acb7}
html[data-theme="dark"] .pi-dev{background:#252525;border:1px solid #3a424b}
html[data-theme="dark"] .pi-dev i{color:#75a3e6}
html[data-theme="dark"] .pi-dev small{color:#a3acb7}
html[data-theme="dark"] .pi-dev .dot.off{background:#2d3237}
html[data-theme="dark"] .pi-dev .id{background:#2a1c4a;color:#9e87d4}
html[data-theme="dark"] .pi-sec{background:#252525;border:1px solid #3a424b}
html[data-theme="dark"] .pi-kv{border-top:1px solid #394049}
html[data-theme="dark"] .pi-kv div{border-bottom:1px solid #393f47}
html[data-theme="dark"] .pi-kv div:nth-child(odd){color:#a3acb7}
html[data-theme="dark"] .pi-kv+.pi-kv{border-top:3px solid #394149}
html[data-theme="dark"] .pi-err{background:#4a3a1c;border:1px solid #665736;color:#d9ba82}
html[data-theme="dark"] .pc-card{background:#252525;border:1px solid #3a424b}
html[data-theme="dark"] .pc-state{background:#101214;color:#afbdca}
html[data-theme="dark"] .pc-state.on{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .pc-state.off{background:#462020;color:#d98181}
html[data-theme="dark"] .pc-grid label{color:#afbdca}
html[data-theme="dark"] .pc-sub{color:#afbdca}
html[data-theme="dark"] .pc-risk{background:#4a3c1c;border:1px solid #665736;color:#d9ba82}
html[data-theme="dark"] .pc-note.good{background:#273f34;color:#7eddb4}
html[data-theme="dark"] .pc-note.bad{background:#462020;color:#dc7f7f}
html[data-theme="dark"] .pc-b{border-top:1px solid #394049}
html[data-theme="dark"] .pc-b i{color:#75a3e6}
/* traffic.css */
html[data-theme="dark"] .tr-pills{background:#252525}
html[data-theme="dark"] .tr-pills a{color:#afbdca}
html[data-theme="dark"] .tr-kpi{background:#252525}
html[data-theme="dark"] .tr-in{background:#252525;color:#bbc8d6}
html[data-theme="dark"] .tr-in.off i{color:#7ae1b5}
html[data-theme="dark"] .tr-in.updates i{color:#75a3e6}
html[data-theme="dark"] .tr-in.rate i,html[data-theme="dark"] .tr-in.trend i{color:#73c4e7}
html[data-theme="dark"] .tr-bands .p{background:#462020;color:#d98181}
html[data-theme="dark"] .tr-bands .s{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .tr-bands .o{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .tr-heat .d{color:#afbdca}
html[data-theme="dark"] .tr-heat .c{outline:1px solid #39404a}
html[data-theme="dark"] .tr-share{background:#2a333c}
html[data-theme="dark"] .tr-cat{background:#101214;color:#b0becc}
html[data-theme="dark"] .tr-empty{background:#252525}
html[data-theme="dark"] .tr-empty i{color:#75a3e6}
html[data-theme="dark"] .tr-fresh{color:#79e1b4;background:#273f34}
html[data-theme="dark"] .tr-fresh.stale{color:#f3c068;background:#4a3c1c}
html[data-theme="dark"] .tr-fresh.paused{color:#afbdca;background:#101214}
html[data-theme="dark"] .tr-fresh.err{color:#dc7f7f;background:#462020}
html[data-theme="dark"] .tr-pause{background:rgba(37,37,37,0.702)}
/* wan.css */
html[data-theme="dark"] .wan-now{background:#252525}
html[data-theme="dark"] .wan-now .pill{background:#28323e;color:#bbc9d6}
html[data-theme="dark"] .wan-banner.pending{background:#4a3b1c;border:1px solid #6a5936}
html[data-theme="dark"] .wan-banner.active{background:#273f32;border:1px solid #3d5849}
html[data-theme="dark"] .wan-banner.failed{background:#462420;border:1px solid #5e3834}
html[data-theme="dark"] .wan-banner p{color:#b1becc}
html[data-theme="dark"] .cd-ring{background:conic-gradient(#e79b00 calc(var(--p)*1%),#40341b 0)}
html[data-theme="dark"] .cd-ring::before{background:#4a3b1c}
html[data-theme="dark"] .step{background:#252525}
html[data-theme="dark"] .line-card.on{border-color:#344a67;background:#1c334a}
html[data-theme="dark"] .line-card .top input.nm:hover,html[data-theme="dark"] .line-card .top input.nm:focus{border-color:#404851;background:#252525}
html[data-theme="dark"] .line-card .ifc{color:#adb8c6;background:#2b323b}
html[data-theme="dark"] .line-card .typ{background:#1c2c4a}
html[data-theme="dark"] .line-card .dot{background:#2e3237}
html[data-theme="dark"] .line-card .fields label{color:#a3acb7}
html[data-theme="dark"] .line-card .fields input,html[data-theme="dark"] .line-card .fields select{border:1px solid #3d4650}
html[data-theme="dark"] .line-card .fields input[readonly]{background:#2a313c;color:#adb8c6}
html[data-theme="dark"] .strat{background:#252525}
html[data-theme="dark"] .strat:hover{border-color:#344a67}
html[data-theme="dark"] .strat.on{background:#1c304a}
html[data-theme="dark"] .opts{border-top:1px dashed #3d4650}
html[data-theme="dark"] .prio div{background:#252525}
html[data-theme="dark"] .prio .rank{background:#28323e;color:#b1becc}
html[data-theme="dark"] .choice label:has(input:checked){background:#1c304a}
html[data-theme="dark"] .split-row input,html[data-theme="dark"] .split-row select{border:1px solid #3d4650}
html[data-theme="dark"] .flow-svg text{fill:#243242}
html[data-theme="dark"] .flow-svg text.small{fill:#2e3741}
html[data-theme="dark"] .flow-svg text.big{fill:#252525}
html[data-theme="dark"] .flow-sum li::before{background:#193355}
html[data-theme="dark"] .change-chips span{background:#28323e;color:#bbc9d6}
html[data-theme="dark"] .health div{background:#252525}
html[data-theme="dark"] .health .ok{background:#283e34;color:#78e3b3}
html[data-theme="dark"] .health .bad{background:#462420;color:#e28078}
html[data-theme="dark"] .health .unk{background:#131416;color:#a3acb7}
/* templates/core/active_users.html */
html[data-theme="dark"] .active-search i{color:#a8aeb2}
html[data-theme="dark"] .usage-pill small{color:#a8aeb2}
html[data-theme="dark"] .session-user small{color:#a8aeb2}
html[data-theme="dark"] .session-details{background:rgba(26,28,30,0.8)}
html[data-theme="dark"] .detail-card{background:#252525}
html[data-theme="dark"] .detail-card .label{color:#a8aeb2}
html[data-theme="dark"] .traffic-card{background:#252525}
html[data-theme="dark"] .traffic-card small{color:#a8aeb2}
html[data-theme="dark"] .result-info{color:#a8aeb2}
/* templates/core/ads.html */
html[data-theme="dark"] .ad-kpi{background:#252525}
html[data-theme="dark"] .ad-card{background:#252525}
html[data-theme="dark"] .ad-thumb{background:#101214 center/cover no-repeat}
html[data-theme="dark"] .ad-state{background:#252525;color:#afbdca}
html[data-theme="dark"] .ad-chips span{background:#101214;color:#b0becc}
html[data-theme="dark"] .ad-stats{border-top:1px solid #3a4149}
html[data-theme="dark"] .ad-foot{border-top:1px solid #3a4149;background:#29363d}
html[data-theme="dark"] .ad-empty{background:#252525}
html[data-theme="dark"] .ad-empty i{color:#75a3e6}
html[data-theme="dark"] .ad-pv{background:#191c1f}
/* templates/core/alerts.html */
html[data-theme="dark"] .al-kpi{background:#252525}
html[data-theme="dark"] .al-kpi.bad strong{color:#d98181}
html[data-theme="dark"] .al-row{border-bottom:1px solid #394149}
html[data-theme="dark"] .al-row.online i.ev{color:#7ae1b5}
html[data-theme="dark"] .al-row.unread{background:linear-gradient(90deg,#4a1c1c,transparent)}
html[data-theme="dark"] .al-tabs a{color:#b0becc}
html[data-theme="dark"] .al-tabs a.on{border-color:#b2becd}
html[data-theme="dark"] .rule{background:#252525}
html[data-theme="dark"] .rule.alert .ic{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .rule.mute .ic{background:#101214;color:#a3acb7}
html[data-theme="dark"] .al-help{background:#28333e;color:#b6c5d3}
/* templates/core/base.html */
html[data-theme="dark"] .live-pill{background:#101214;color:#b0becc}
html[data-theme="dark"] .live-pill .lp-dot{background:#32373d}
html[data-theme="dark"] .live-pill.ok{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .live-pill.warn{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .live-panel{background:#252525;border:1px solid #3b424c;box-shadow:0 18px 40px rgba(0,0,0,0.32)}
html[data-theme="dark"] .lp-ev{border-bottom:1px solid #394049;color:#bbc8d6}
html[data-theme="dark"] .lp-ev.bad{color:#dc7f7f}
html[data-theme="dark"] .lp-ev.sale{color:#79e1b4}
html[data-theme="dark"] .lp-ev.fix{color:#76a4e5}
html[data-theme="dark"] .alert-bell{background:#101214;color:#b0becc}
html[data-theme="dark"] .alert-bell.has{background:#462020;color:#d98181}
html[data-theme="dark"] .ab-item{border-bottom:1px solid #394049}
html[data-theme="dark"] .ab-item.on i{color:#7ae1b5}
html[data-theme="dark"] .tt-toast{box-shadow:0 10px 30px rgba(0,0,0,0.6)}
/* templates/core/batch_detail.html */
html[data-theme="dark"] .dt-kpi{background:#252525;border:1px solid #3b424c}
html[data-theme="dark"] .dt-kpi strong{color:#ced7e2}
html[data-theme="dark"] .dt-kpi em{color:#a3adb7}
html[data-theme="dark"] .dt-bar{background:#101214}
html[data-theme="dark"] .dt-info span{color:#a3adb7}
/* templates/core/devices.html */
html[data-theme="dark"] .dv-kpi{background:#252525}
html[data-theme="dark"] .dv-kpi:hover{border-color:#414b58}
html[data-theme="dark"] .dv-kpi.on{border-color:#b2becd;box-shadow:0 0 0 1px rgba(0,0,0,0.6)}
html[data-theme="dark"] .dv-kpi.warn strong{color:#eca56f}
html[data-theme="dark"] .dv-row{border-bottom:1px solid #3a4149}
html[data-theme="dark"] .dv-ic{background:#1c2c4a;color:#75a3e6}
html[data-theme="dark"] .dv-ic.android{background:#283e31;color:#7ae1b5}
html[data-theme="dark"] .dv-ic.ios,html[data-theme="dark"] .dv-ic.ipados{background:#111113;color:#d1d1d1}
html[data-theme="dark"] .dv-ic.windows{background:#223444;color:#6fabec}
html[data-theme="dark"] .dv-tags span{background:#101214;color:#b0becc}
html[data-theme="dark"] .dv-tags .rand{background:#2a1c4a;color:#9e87d4}
html[data-theme="dark"] .dv-tags .flag{background:#462020;color:#d98181}
html[data-theme="dark"] .dv-share{background:#252525;border:1px solid #5b3535}
html[data-theme="dark"] .dv-howto{background:#28333e;color:#b6c5d3}
/* templates/core/finance.html */
html[data-theme="dark"] .sales-health{background:#4a3c1c;border:1px solid #665736;color:#d4ba87}
html[data-theme="dark"] .sales-health>i{color:#dfb67c}
html[data-theme="dark"] .sales-health b{color:#ded6c7}
/* templates/core/ip_bindings.html */
html[data-theme="dark"] .ib-chip{background:#252525;color:#b0becc}
html[data-theme="dark"] .ib-chip.on{border-color:#b2becd}
html[data-theme="dark"] .ib-chip.act b{color:#79e1b4}
html[data-theme="dark"] .ib-legend div{background:#252525;color:#afbdca}
html[data-theme="dark"] .ib-table td{border-bottom:1px solid #394149}
html[data-theme="dark"] .ib-table tr.sel td{background:#1c2f4a}
html[data-theme="dark"] .ib-mac{color:#dc7fad}
html[data-theme="dark"] .ib-track{background:#2a2f35}
html[data-theme="dark"] .ib-track::after{background:#252525;box-shadow:0 1px 3px rgba(0,0,0,0.32)}
html[data-theme="dark"] .ib-sw[aria-checked=true] .ib-lab{color:#79e1b4}
html[data-theme="dark"] .ib-type.bypassed{background-color:#273f34;color:#79e1b4}
html[data-theme="dark"] .ib-type.blocked{background-color:#462020;color:#d98181}
html[data-theme="dark"] .ib-type.regular{background-color:#101214;color:#b0becc}
html[data-theme="dark"] .ib-until{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .ib-err{color:#d98181}
html[data-theme="dark"] .ib-bulk{box-shadow:0 10px 30px rgba(0,0,0,0.533)}
html[data-theme="dark"] .ib-toast{box-shadow:0 10px 30px rgba(0,0,0,0.6)}
html[data-theme="dark"] .ib-live{color:#a3acb7}
/* templates/core/notifications.html */
html[data-theme="dark"] .nt-card{background:#252525}
html[data-theme="dark"] .nt-to span{background:#1c2c4a;color:#76a4e5}
html[data-theme="dark"] .nt-ev{border-bottom:1px solid #394149}
html[data-theme="dark"] .nt-seg{background:#2a333c}
html[data-theme="dark"] .nt-seg label{color:#afbdca}
html[data-theme="dark"] .nt-seg input:checked+label{background:#252525;color:#ced7e2;box-shadow:0 1px 3px rgba(0,0,0,0.107)}
html[data-theme="dark"] .nt-seg input[value=off]:checked+label{color:#dc7f7f}
html[data-theme="dark"] .nt-st.sent{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .nt-st.failed{background:#462020;color:#d98181}
html[data-theme="dark"] .nt-st.queued,html[data-theme="dark"] .nt-st.digest{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .nt-st.skipped{background:#101214;color:#a3acb7}
html[data-theme="dark"] .nt-save{box-shadow:0 10px 30px rgba(0,0,0,0.32)}
/* templates/core/plan_detail.html */
html[data-theme="dark"] .dt-kpi{background:#252525;border:1px solid #3b424c}
html[data-theme="dark"] .dt-kpi strong{color:#ced7e2}
html[data-theme="dark"] .dt-kpi em{color:#a3adb7}
html[data-theme="dark"] .dt-bar{background:#101214}
html[data-theme="dark"] .dt-info span{color:#a3adb7}
html[data-theme="dark"] .bt-scroll{border:1px solid #394149}
html[data-theme="dark"] .bt-scroll thead th{background:#29313d}
/* templates/core/platform/base.html */
html[data-theme="dark"] .pf-badge{background:#554319;color:#e2dccf}
html[data-theme="dark"] .kpi{background:#252525;border:1px solid #3b424c}
html[data-theme="dark"] .kpi strong{color:#ced7e2}
html[data-theme="dark"] .kpi em{color:#a3adb7}
html[data-theme="dark"] .kpi em.up{color:#79e1b4}
html[data-theme="dark"] .kpi em.down{color:#dc7f7f}
html[data-theme="dark"] .st.paid{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .st.trial{background:#1c2c4a;color:#76a4e5}
html[data-theme="dark"] .st.expired{background:#462020;color:#dc7f7f}
html[data-theme="dark"] .st.unlimited{background:#321c4a;color:#ad8bd0}
html[data-theme="dark"] .st.suspended{background:#111213;color:#c0c6cb}
html[data-theme="dark"] .st.Pending{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .st.Paid{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .st.Rejected{background:#111213;color:#c0c6cb}
/* templates/core/register.html */
html[data-theme="dark"] .rg{background:#28313e}
html[data-theme="dark"] .rg-steps li::before{color:#cfd9e2}
html[data-theme="dark"] .rg-card{background:#252525;box-shadow:0 25px 60px rgba(0,0,0,0.125)}
html[data-theme="dark"] .rg-sec legend{color:#afbdca}
html[data-theme="dark"] .rg-sec legend span{background:#1c304a}
html[data-theme="dark"] .rg-card .form-control{border-color:#3c4550}
html[data-theme="dark"] .rg-err{color:#d98181}
html[data-theme="dark"] .rg-eye{color:#a3acb7}
html[data-theme="dark"] .rg-meter{background:#2a333c}
html[data-theme="dark"] .rg-next{color:#afbdca;background:#28333e}
/* templates/core/router_link.html */
html[data-theme="dark"] .lk-dot{background:#1a4458}
html[data-theme="dark"] .lk-status{background:#252525}
html[data-theme="dark"] .lk-state{background:#101214;color:#afbdca}
html[data-theme="dark"] .lk-state.on{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .lk-state.off{background:#462020;color:#d98181}
html[data-theme="dark"] .lk-state.wait{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .lk-facts div{border-bottom:1px solid #394149}
html[data-theme="dark"] .lk-meter{background:#2a333c}
html[data-theme="dark"] .lk-advanced{background:#4a3b1c}
html[data-theme="dark"] .lk-advanced summary{color:#f3c368}
html[data-theme="dark"] .lk-sec div{background:#28333e;color:#b6c5d3}
html[data-theme="dark"] .lk-pill.done{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .lk-pill.failed,html[data-theme="dark"] .lk-pill.expired{background:#462020;color:#d98181}
html[data-theme="dark"] .lk-pill.queued,html[data-theme="dark"] .lk-pill.sent{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .lk-pill.cancelled{background:#101214;color:#a3acb7}
html[data-theme="dark"] .tn-facts div{border:1px solid #3b424c}
html[data-theme="dark"] .tn-facts span{color:#afbdca}
html[data-theme="dark"] .lk-fix-step{border:1px solid #3b424c}
html[data-theme="dark"] .lk-fix-step p{color:#afbdca}
/* templates/core/sales_daily.html */
html[data-theme="dark"] .week-bars a{color:#b0becc}
html[data-theme="dark"] .week-bars i{background:#172740}
html[data-theme="dark"] .week-bars b{color:#ced7e2}
/* templates/core/security.html */
html[data-theme="dark"] .inc-row{border-bottom:1px solid #394149}
html[data-theme="dark"] .inc-clock .bg{stroke:#592b2b}
html[data-theme="dark"] .inc-clock span{color:#dc7f7f}
html[data-theme="dark"] .inc-main small{color:#a3acb7}
html[data-theme="dark"] .inc-reason{background:#462020;color:#d98181}
html[data-theme="dark"] .inc-reason.disabled{background:#4a301c;color:#e3a278}
html[data-theme="dark"] .inc-clear{background:#273f32;color:#7eddb4}
html[data-theme="dark"] .inc-settings{border-top:1px solid #394149}
/* templates/core/single_voucher.html */
html[data-theme="dark"] .plan-pick label:has(input:checked){background:#1c2f4a}
html[data-theme="dark"] .seg-mode{background:#2b323b}
html[data-theme="dark"] .seg-mode label{color:#adb8c6}
html[data-theme="dark"] .seg-mode label:has(input:checked){background:#252525;box-shadow:0 1px 3px rgba(0,0,0,0.213)}
/* templates/core/studio/portal_list.html */
html[data-theme="dark"] .dep-panel{background:#252525}
html[data-theme="dark"] .dep-r{border:1px solid #3a424b}
html[data-theme="dark"] .dep-st{background:#101214;color:#afbdca}
html[data-theme="dark"] .dep-st.installed{background:#273f34;color:#79e1b4}
html[data-theme="dark"] .dep-st.queued{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .dep-st.failed{background:#462020;color:#d98181}
html[data-theme="dark"] .dep-st.outdated{background:#1c2c4a;color:#76a4e5}
/* templates/core/team.html */
html[data-theme="dark"] .role-card{border:1px solid #3b424c;background:#252525}
html[data-theme="dark"] .role-card small{color:#a3adb7}
html[data-theme="dark"] .role-card ul{color:#b0becc}
html[data-theme="dark"] .role-pill{background:#1c2c4a;color:#76a4e5}
html[data-theme="dark"] .role-pill.owner{background:#4a3c1c;color:#f3c068}
html[data-theme="dark"] .role-pill.off{background:#121314}
/* templates/core/verify_code.html */
html[data-theme="dark"] .otp-icon{background:#1c2c4a;color:#75a3e6}
/* templates/core/voucher_card.html */
html[data-theme="dark"] .vc-stage{background:repeating-linear-gradient(45deg,#2b323b 0 12px,#28313e 12px 24px)}
html[data-theme="dark"] .vc-stage .tv-card{box-shadow:0 18px 40px -14px rgba(0,0,0,0.6)}
html[data-theme="dark"] .msg{background:#2a313c}
/* templates/core/voucher_detail.html */
html[data-theme="dark"] .vd-state.stock{background:#283e33;color:#7ae1b4}
html[data-theme="dark"] .vd-state.sold{background:#4a3c1c;color:#f3c368}
html[data-theme="dark"] .vd-state.used{background:#223844;color:#72c3e9}
html[data-theme="dark"] .vd-state.disabled{background:#462020;color:#d68585}
html[data-theme="dark"] .vd-state.expired{background:#101213;color:#b0bcc8}
html[data-theme="dark"] .vd-grid div{border:1px solid #3b424c}
html[data-theme="dark"] .vd-grid span{color:#afbdca}
html[data-theme="dark"] .vd-tl li{border-bottom:1px solid #394149}
html[data-theme="dark"] .vd-ic.success{background:#283e33;color:#7ae1b4}
html[data-theme="dark"] .vd-ic.danger{background:#462020;color:#d68585}
html[data-theme="dark"] .vd-ic.warning{background:#4a3c1c;color:#f3c368}
html[data-theme="dark"] .vd-ic.info{background:#223844;color:#72c3e9}
html[data-theme="dark"] .vd-ic.secondary{background:#101213;color:#b0bcc8}
html[data-theme="dark"] .vd-meta{color:#afbdca}
html[data-theme="dark"] .vd-reason{background:#2a313c}
html[data-theme="dark"] .vd-state.frozen{background:#1c324a;color:#7aa8e1}
html[data-theme="dark"] .vd-state.warned{background:#423415;color:#f3b368}
html[data-theme="dark"] .vd-share{border:1px solid #665736;background:#4a3b1c}

html[data-theme="dark"] .lbx-lane.st-broken header em{color:#ff9a9e}
