/* GENERADO por tools/theme/build-dark-theme.js — no editar a mano: los ajustes van en theme.css */
/* ===== client.css ===== */
html[data-theme="dark"]{--bg:#191f30;--border:#2b3345;--line:#293042;--shadow-card:0 1px 2px rgba(20,30,90,.04),0 8px 24px rgba(20,30,90,.07);--text:#d7dce7;--text-muted:#aeb2ba}
html[data-theme="dark"] body{background:var(--bg);color:var(--text)}
html[data-theme="dark"] .topbar{background:var(--navy-900);color:#fff}
html[data-theme="dark"] .topbar nav a{color:#EAF6FC}
html[data-theme="dark"] .topbar nav a:hover,html[data-theme="dark"] .topbar nav a.active{color:#fff}
html[data-theme="dark"] .topbar__user a{color:#ffb4bd}
html[data-theme="dark"] .kpi-card{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .kpi-card .label{color:var(--text-muted)}
html[data-theme="dark"] .panel{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .panel__header{border-bottom:1px solid var(--line);background:#131a31}
html[data-theme="dark"] table.data-table thead th{background:var(--navy-800);color:#fff}
html[data-theme="dark"] table.data-table tbody td{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .btn{border:none;color:#fff}
html[data-theme="dark"] .btn-primary{background:var(--primary)}
html[data-theme="dark"] .btn-success{background:var(--success)}
html[data-theme="dark"] .empty-state{color:var(--text-muted)}
html[data-theme="dark"] .badge-success{background:#1b382c;color:color-mix(in srgb,var(--success) 42%,#fff)}
html[data-theme="dark"] .badge-danger{background:#371517;color:color-mix(in srgb,var(--danger) 42%,#fff)}
html[data-theme="dark"] .badge-muted{background:#20242e;color:var(--text-muted)}
html[data-theme="dark"] .badge-warning{background:#3b2f16;color:#f3d097}
html[data-theme="dark"] .badge-info{background:#152338;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .badge-primary{background:#1a1538;color:#8976db}
html[data-theme="dark"] .btn-secondary{background:#6c757d}
html[data-theme="dark"] .btn-danger{background:var(--danger)}
html[data-theme="dark"] .btn-warning{background:#f0b429;color:#2b2100}
html[data-theme="dark"] .stars{color:#eab466}
html[data-theme="dark"] .stars .off{color:#dfe2ea}
html[data-theme="dark"] .kb-card{background:#1b1e28;border:1px solid var(--border);color:var(--text)}
html[data-theme="dark"] .kb-card h3{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-card p{color:var(--text-muted)}
html[data-theme="dark"] .thread__msg{border:1px solid var(--border);background:#1b1e28}
html[data-theme="dark"] .thread__msg.is-client{background:#142b35}
html[data-theme="dark"] .thread__msg.is-admin{background:#183524}
html[data-theme="dark"] .thread__msg .meta{color:var(--text-muted)}
html[data-theme="dark"] .comment{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .comment:last-child{border-bottom:none}
html[data-theme="dark"] .comment .meta{color:var(--text-muted)}
html[data-theme="dark"] .hero{background:linear-gradient(135deg, var(--navy-900), var(--navy-800));color:#fff}
html[data-theme="dark"] .hero p{color:#EAF6FC}
html[data-theme="dark"] .btn-hero{background:var(--primary)}
html[data-theme="dark"] .section-title{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .product-card{background:#1b1e28;border:1px solid var(--border);color:var(--text)}
html[data-theme="dark"] .product-card__group{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .product-card__name{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .product-card__desc{color:var(--text-muted)}
html[data-theme="dark"] .product-card__link{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .site-footer{border-top:1px solid var(--border);background:#1b1e28;color:var(--text-muted)}
html[data-theme="dark"] .site-footer__links a{color:var(--text-muted)}
html[data-theme="dark"] .site-footer__links a:hover{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .site-announcement{background:var(--primary);color:#fff}
html[data-theme="dark"] .site-announcement a{color:#fff}
@media (max-width: 860px){
  html[data-theme="dark"] .hamburger{background:rgba(255,255,255,.12);color:#fff}
  html[data-theme="dark"] .topbar nav{background:var(--navy-900)}
  html[data-theme="dark"] .topbar nav a:hover{background:rgba(255,255,255,.08)}
  html[data-theme="dark"] .nav__close{color:#fff}
  html[data-theme="dark"] .nav-backdrop{background:rgba(6,10,36,.5)}
}
html[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]):not([type=color]):not([type=range]),html[data-theme="dark"] select,html[data-theme="dark"] textarea{border:1px solid #303748 !important;background-color:#141d31;color:var(--text)}
html[data-theme="dark"] input[type=file]{border:1.5px dashed #323a4e;background:#141d31}
html[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]):focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{outline:none;border-color:var(--primary) !important;background-color:#1b1e28}
html[data-theme="dark"] input:disabled,html[data-theme="dark"] select:disabled,html[data-theme="dark"] textarea:disabled{background-color:#1d2431;color:#aeb2ba}
html[data-theme="dark"] .kv{border-bottom:1px dashed #323748}
html[data-theme="dark"] .kv span{color:var(--text-muted)}
html[data-theme="dark"] .quick-action{background:none;border-bottom:1px solid #262e42;color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .quick-action:hover{background:#141c34}
html[data-theme="dark"] .pw-change summary{color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .pw-change small{color:var(--text-muted)}
html[data-theme="dark"] .cat-head__crumb{color:var(--text-muted)}
html[data-theme="dark"] .cat-head__crumb a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cat-head h1{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cat-head p{color:var(--text-muted)}
html[data-theme="dark"] .cat-cartpill{background:#1b3429;border:1px solid #2f4f41;color:#b6eed8}
html[data-theme="dark"] .cat-cartpill span{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cat-card{background:#1b1e28;border-top:4px solid var(--primary)}
html[data-theme="dark"] .cat-card__icon{background:#152237}
html[data-theme="dark"] .cat-card__title{color:#86bee2}
html[data-theme="dark"] .cat-card__desc{color:#bec4cc}
html[data-theme="dark"] .cat-card__meta{border-top:1px solid #2b3241}
html[data-theme="dark"] .cat-chip{color:#bec4cc;background:#192132}
html[data-theme="dark"] .cat-from{color:var(--text-muted)}
html[data-theme="dark"] .cat-from strong{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cat-card__btn{background:var(--primary);color:#fff}
html[data-theme="dark"] .cat-help{background:#1b1e28}
html[data-theme="dark"] .cat-help div{color:var(--text-muted)}
html[data-theme="dark"] .cat-help strong{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cat-help__btn{border:2px solid var(--primary);color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cat-help__btn:hover{background:var(--primary);color:#fff}
html[data-theme="dark"] .cat-back a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .stp::before,html[data-theme="dark"] .stp::after{background:#252a35}
html[data-theme="dark"] .stp::after{background:var(--cta)}
html[data-theme="dark"] .stp__lbl{color:#aeb2ba}
html[data-theme="dark"] .stp__dot{background:#1b1e28;border:3px solid #303541;color:#fff}
html[data-theme="dark"] .stp li.is-on .stp__lbl{color:color-mix(in srgb,var(--cta) 42%,#fff)}
html[data-theme="dark"] .stp li.is-on .stp__dot,html[data-theme="dark"] .stp li.is-done .stp__dot{background:var(--cta);border-color:var(--cta)}
html[data-theme="dark"] .stp li.is-done .stp__lbl{color:#c7ced8}
html[data-theme="dark"] .sel-title{color:#cdd4e6}
html[data-theme="dark"] .sel-sub{color:var(--text-muted)}
html[data-theme="dark"] .sel-alert{background:#371517;border:1px solid #502b30;color:#e09aa4}
html[data-theme="dark"] .sel-row{background:#1b1e28}
html[data-theme="dark"] .sel-row:hover{border-color:var(--cta)}
html[data-theme="dark"] .sel-row__name{color:#aed6ef}
html[data-theme="dark"] .sel-row__lbl{color:#aeb2ba}
html[data-theme="dark"] .sel-row__select{background:#19212f;color:#cdd4e6}
html[data-theme="dark"] .sel-row__na{color:color-mix(in srgb,var(--danger) 42%,#fff)}
html[data-theme="dark"] .sel-row__feat{border-left:1px solid #2a313f;border-right:1px solid #2a313f}
html[data-theme="dark"] .sel-row__feat .k{color:#aeb2ba}
html[data-theme="dark"] .sel-row__feat .v{color:#cdd4e6}
html[data-theme="dark"] .sel-row__feat p{color:#bec4cc}
html[data-theme="dark"] .sel-btn{background:var(--cta);color:#fff}
html[data-theme="dark"] .sel-btn:hover{background:var(--cta-dark)}
html[data-theme="dark"] .sel-btn--off{background:#2b313d}
html[data-theme="dark"] .dom-tabs{background:#1b2436}
html[data-theme="dark"] .dom-tab{color:#a7b0c3}
html[data-theme="dark"] .dom-tab:hover{color:#94c7e8}
html[data-theme="dark"] .dom-tab__ico-wrap{background:#1b1e28;color:#7fb6d2}
html[data-theme="dark"] .dom-tab.is-on,html[data-theme="dark"] #dm-reg:checked ~ .dom-tabs .dom-tab--reg,html[data-theme="dark"] #dm-tr:checked ~ .dom-tabs .dom-tab--tr{background:#1b1e28;color:#aed6ef}
html[data-theme="dark"] .dom-tab.is-on .dom-tab__ico-wrap,html[data-theme="dark"] #dm-reg:checked ~ .dom-tabs .dom-tab--reg .dom-tab__ico-wrap,html[data-theme="dark"] #dm-tr:checked ~ .dom-tabs .dom-tab--tr .dom-tab__ico-wrap{background:linear-gradient(135deg,#1C73AC,#2688C7);color:#fff}
html[data-theme="dark"] .dom-box{background:#1b1e28;border:2px solid #5FA9CE}
html[data-theme="dark"] .dom-box:focus-within{border-color:#1C73AC}
html[data-theme="dark"] .dom-box__www{color:#cdd4e6}
html[data-theme="dark"] .dom-box .dom-box__input{outline:none;background:transparent !important;color:#cdd4e6}
html[data-theme="dark"] .dom-tld{background-color:#1f273b !important;color:#bec4cc}
html[data-theme="dark"] .dom-hint{color:var(--text-muted)}
html[data-theme="dark"] .dom-prices h2{color:#c7ced8}
html[data-theme="dark"] .dom-price{background:#1b1e28}
html[data-theme="dark"] .dom-price strong{color:#aed6ef}
html[data-theme="dark"] .dom-price span{color:#cdd4e6}
html[data-theme="dark"] .dom-price small{color:var(--text-muted)}
@media (max-width:820px){
  html[data-theme="dark"] .sel-row__feat{border-top:1px solid #2a313f;border-bottom:1px solid #2a313f}
}
html[data-theme="dark"] .dom-msg--ok{color:#abedc3}
html[data-theme="dark"] .dom-msg--bad{color:#e77790}
html[data-theme="dark"] .dom-msg--wait{color:var(--text-muted)}
html[data-theme="dark"] .dom-sub{border-bottom:1px solid #2f3543;color:#c7ced8}
html[data-theme="dark"] .dom-rows__head{color:#cdd4e6}
html[data-theme="dark"] .dom-row{border-bottom:1px solid #2a313f}
html[data-theme="dark"] .dom-row__name{color:#cdd4e6}
html[data-theme="dark"] .dom-row__note{color:var(--text-muted)}
html[data-theme="dark"] .dom-row__cycle{border:1px solid #2d3649;background:#1b1e28;color:#c7ced8}
html[data-theme="dark"] .dom-note{color:var(--text-muted)}
html[data-theme="dark"] .form-section{color:#98a0b8;border-bottom:1px solid var(--line)}
html[data-theme="dark"] .hd-tabs{background:#1b2436}
html[data-theme="dark"] .hd-tab{color:#a7b0c3}
html[data-theme="dark"] .hd-tab:hover{color:#94c7e8}
html[data-theme="dark"] .hd-ico{background:#1b1e28;color:#7fb6d2}
html[data-theme="dark"] #hd-own:checked ~ .hd-tabs .hd-tab--own,html[data-theme="dark"] #hd-reg:checked ~ .hd-tabs .hd-tab--reg,html[data-theme="dark"] #hd-tr:checked ~ .hd-tabs .hd-tab--tr{background:#1b1e28;color:#aed6ef}
html[data-theme="dark"] #hd-own:checked ~ .hd-tabs .hd-tab--own .hd-ico,html[data-theme="dark"] #hd-reg:checked ~ .hd-tabs .hd-tab--reg .hd-ico,html[data-theme="dark"] #hd-tr:checked ~ .hd-tabs .hd-tab--tr .hd-ico{background:linear-gradient(135deg,#1C73AC,#2688C7);color:#fff}
html[data-theme="dark"] .hd-box{background:#1b1e28;border:2px solid #5FA9CE}
html[data-theme="dark"] .hd-box:focus-within{border-color:#1C73AC}
html[data-theme="dark"] .hd-box__www{color:#cdd4e6}
html[data-theme="dark"] .hd-box .hd-box__input{outline:none;background:transparent !important;color:#cdd4e6}
html[data-theme="dark"] .hd-tld{background-color:#1f273b !important;color:#bec4cc}
html[data-theme="dark"] .hd-hint{color:var(--text-muted)}
html[data-theme="dark"] .hd-auth{border:1px solid var(--border)}
html[data-theme="dark"] .hd-msg--ok{color:color-mix(in srgb,var(--success) 42%,#fff)}
html[data-theme="dark"] .hd-msg--bad{color:color-mix(in srgb,var(--danger) 42%,#fff)}
html[data-theme="dark"] .hd-msg--wait{color:var(--text-muted)}
html[data-theme="dark"] .hd-years select{border:1px solid var(--border)}
html[data-theme="dark"] .plans-head__eyebrow{color:color-mix(in srgb,var(--cta) 42%,#fff);background:#152138}
html[data-theme="dark"] .plans-head__title{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .plans-head__desc{color:var(--text-muted)}
html[data-theme="dark"] .plan{background:#1b1e28;border:1px solid var(--border);border-top:4px solid var(--cta)}
html[data-theme="dark"] .plan__top{background:linear-gradient(180deg,#132033 0%,#1b1e28 100%);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .plan__name{color:#aed6ef}
html[data-theme="dark"] .plan__amount{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .plan__per{color:var(--text-muted)}
html[data-theme="dark"] .plan__na{color:color-mix(in srgb,var(--danger) 42%,#fff)}
html[data-theme="dark"] .plan__cycles{background:#192336}
html[data-theme="dark"] .plan__cyc span{color:#a7b0c3}
html[data-theme="dark"] .plan__cyc:hover span{color:color-mix(in srgb,var(--cta) 42%,#fff)}
html[data-theme="dark"] .plan__cyc input:checked + span{background:#1b1e28;color:#aed6ef}
html[data-theme="dark"] .plan__cyc input:focus-visible + span{outline:2px solid var(--cta)}
html[data-theme="dark"] .plan__feat li{color:#c7ced8}
html[data-theme="dark"] .plan__feat li::before{background:#1b382c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%231a9c6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
html[data-theme="dark"] .plan__feat .k{color:#aeb2ba}
html[data-theme="dark"] .plan__feat b{color:#aed6ef}
html[data-theme="dark"] .plan__feat p{color:#bec4cc}
html[data-theme="dark"] .plan__btn{background:var(--cta);color:#fff}
html[data-theme="dark"] .plan__btn:hover{background:var(--cta-dark)}
html[data-theme="dark"] .plan__btn--off{background:#2b313d}
html[data-theme="dark"] .cfg-back a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cfg-card{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .cfg-card--hero{border-top:4px solid var(--cta);background:linear-gradient(180deg,#132033 0%,#1b1e28 90px)}
html[data-theme="dark"] .cfg-eyebrow{color:color-mix(in srgb,var(--cta) 42%,#fff);background:#152138}
html[data-theme="dark"] .cfg-title{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cfg-desc{color:#bec4cc}
html[data-theme="dark"] .cfg-feat li{color:#c7ced8}
html[data-theme="dark"] .cfg-feat li::before{background:#1b382c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%231a9c6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
html[data-theme="dark"] .cfg-feat .k{color:#aeb2ba}
html[data-theme="dark"] .cfg-feat b{color:#aed6ef}
html[data-theme="dark"] .cfg-h{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cfg-h__n{background:linear-gradient(135deg,#1C73AC,#2688C7);color:#fff}
html[data-theme="dark"] .cyc__body{border:2px solid var(--border);background:#1b1e28}
html[data-theme="dark"] .cyc:hover .cyc__body{border-color:#2f4c58}
html[data-theme="dark"] .cyc__check{border:2px solid #323b4e;background:#1b1e28}
html[data-theme="dark"] .cyc__name{color:#bec4cc}
html[data-theme="dark"] .cyc__price{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cyc input:checked + .cyc__body{border-color:var(--cta);background:#142134}
html[data-theme="dark"] .cyc input:checked + .cyc__body .cyc__check{border-color:var(--cta);background:var(--cta)}
html[data-theme="dark"] .cyc input:checked + .cyc__body .cyc__name{color:#aed6ef}
html[data-theme="dark"] .cyc input:focus-visible + .cyc__body{outline:2px solid var(--cta)}
html[data-theme="dark"] .cfg-input{border:2px solid var(--border)}
html[data-theme="dark"] .cfg-input:focus{outline:none;border-color:var(--cta)}
html[data-theme="dark"] .cfg-lbl{color:#c7ced8}
html[data-theme="dark"] .cfg-note{color:var(--text-muted)}
html[data-theme="dark"] .addon{border:2px solid var(--border)}
html[data-theme="dark"] .addon:hover{border-color:#2f4c58}
html[data-theme="dark"] .addon__box{border:2px solid #323b4e;background:#1b1e28 center/14px no-repeat}
html[data-theme="dark"] .addon input:checked ~ .addon__box{background-color:var(--cta);border-color:var(--cta)}
html[data-theme="dark"] .addon:has(input:checked){border-color:var(--cta);background:#142134}
html[data-theme="dark"] .addon__txt small{color:var(--text-muted)}
html[data-theme="dark"] .sum{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .sum__title{color:var(--text-muted)}
html[data-theme="dark"] .sum__row{border-bottom:1px solid var(--line);color:var(--text-muted)}
html[data-theme="dark"] .sum__row b{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .sum__total{color:var(--text-muted)}
html[data-theme="dark"] .sum__total strong{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .sum__off{color:color-mix(in srgb,var(--danger) 42%,#fff)}
html[data-theme="dark"] .sum__note{color:var(--text-muted)}
html[data-theme="dark"] .sf-hero{color:#fff;background:radial-gradient(circle at 85% 0%,rgba(55,171,206,.55),transparent 55%),linear-gradient(135deg,#12527A 0%,#1C73AC 55%,#2688C7 100%)}
html[data-theme="dark"] .sf-hero::after{background:rgba(255,255,255,.06)}
html[data-theme="dark"] .sf-hero__crumb{color:#aebdf0}
html[data-theme="dark"] .sf-hero h1{color:#fff}
html[data-theme="dark"] .sf-hero p{color:#c9d5fb}
html[data-theme="dark"] .sf-steps li{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#e6ecff}
html[data-theme="dark"] .sf-steps b{background:#1b1e28;color:#aed6ef}
html[data-theme="dark"] .cat-card{--acc-soft:#152138;border:1px solid var(--border)}
html[data-theme="dark"] .cat-card::before{background:var(--acc)}
html[data-theme="dark"] .cat-card::after{background:var(--acc-soft)}
html[data-theme="dark"] .cat-card--mail{--acc-soft:#1e1537}
html[data-theme="dark"] .cat-card--domain{--acc-soft:#1a3a2f}
html[data-theme="dark"] .cat-card--server{--acc-soft:#382315}
html[data-theme="dark"] .cat-card--ssl{--acc-soft:#3c3117}
html[data-theme="dark"] .cat-card--def{--acc-soft:#1b2232}
html[data-theme="dark"] .cat-card__icon{background:var(--acc-soft)}
html[data-theme="dark"] .cat-card__title{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .cat-chip{background:var(--acc-soft);color:var(--acc)}
html[data-theme="dark"] .cat-card__foot{border-top:1px solid var(--line)}
html[data-theme="dark"] .cat-card__btn{background:var(--acc)}
html[data-theme="dark"] .cat-help{background:linear-gradient(135deg,#142a36,#1b1e28);border:1px solid var(--border)}
html[data-theme="dark"] .cat-help__ico{background:#152138}
html[data-theme="dark"] .kb-hero{color:#fff;background:radial-gradient(circle at 12% 0%,rgba(55,171,206,.5),transparent 52%),linear-gradient(135deg,#12527A 0%,#1C73AC 55%,#2688C7 100%)}
html[data-theme="dark"] .kb-hero::after{background:rgba(255,255,255,.06)}
html[data-theme="dark"] .kb-hero__eyebrow{color:#cfe0ff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}
html[data-theme="dark"] .kb-hero h1{color:#fff}
html[data-theme="dark"] .kb-hero p{color:#c9d5fb}
html[data-theme="dark"] .kb-hero__badge{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}
html[data-theme="dark"] .kb-hero__count{background:rgba(255,255,255,.14);color:#e6ecff}
html[data-theme="dark"] .kb-search{background:#1b1e28;color:#aeb2ba}
html[data-theme="dark"] .kb-search input{outline:none;background:transparent !important;color:#cdd4e6}
html[data-theme="dark"] .kb-search button{background:var(--cta);color:#fff}
html[data-theme="dark"] .kb-search button:hover{background:var(--cta-dark)}
html[data-theme="dark"] .kb-h{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-h__count{background:#152138;color:color-mix(in srgb,var(--cta) 42%,#fff)}
html[data-theme="dark"] .kb-cat{background:#1b1e28;border:1px solid var(--border);color:var(--text)}
html[data-theme="dark"] .kb-cat:hover{border-color:#2f4c58}
html[data-theme="dark"] .kb-cat__ico{background:#152138}
html[data-theme="dark"] .kb-cat__name{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-cat__desc{color:var(--text-muted)}
html[data-theme="dark"] .kb-cat__go{background:#141e36;color:color-mix(in srgb,var(--cta) 42%,#fff)}
html[data-theme="dark"] .kb-cat:hover .kb-cat__go{background:var(--cta);color:#fff}
html[data-theme="dark"] .kb-pill{color:#bec4cc;background:#192132}
html[data-theme="dark"] .kb-pill--link{background:#152138;color:color-mix(in srgb,var(--cta) 42%,#fff)}
html[data-theme="dark"] .kb-pill--link:hover{background:#17243c}
html[data-theme="dark"] .kb-list{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .kb-row{color:var(--text);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .kb-row:hover{background:#131e33}
html[data-theme="dark"] .kb-row__ico{background:#141e36}
html[data-theme="dark"] .kb-row__txt b{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-row__txt small{color:var(--text-muted)}
html[data-theme="dark"] .kb-row__go{color:#9ca8c2}
html[data-theme="dark"] .kb-row:hover .kb-row__go{color:color-mix(in srgb,var(--cta) 42%,#fff)}
html[data-theme="dark"] .kb-pop{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .kb-pop li{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .kb-pop a:hover{background:#131e33}
html[data-theme="dark"] .kb-pop__n{background:linear-gradient(135deg,#1C73AC,#2688C7);color:#fff}
html[data-theme="dark"] .kb-pop__t{color:#aed6ef}
html[data-theme="dark"] .kb-pop__v{color:var(--text-muted)}
html[data-theme="dark"] .kb-empty{background:#1b1e28;border:1px dashed #2a344d;color:var(--text-muted)}
html[data-theme="dark"] .kb-empty strong{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-empty a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .kb-help{background:linear-gradient(135deg,#142a36,#1b1e28);border:1px solid var(--border)}
html[data-theme="dark"] .kb-help__ico{background:#152138}
html[data-theme="dark"] .kb-help__txt{color:var(--text-muted)}
html[data-theme="dark"] .kb-help__txt strong{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-help__btn{background:var(--cta);color:#fff}
html[data-theme="dark"] .kb-help__btn:hover{background:var(--cta-dark)}
html[data-theme="dark"] .kb-crumb{color:var(--text-muted)}
html[data-theme="dark"] .kb-crumb a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .kb-crumb b{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-flash{background:#1b362a;border:1px solid #2f4f41;color:#b6eed8}
html[data-theme="dark"] .kb-article{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .kb-article__head{background:linear-gradient(180deg,#132033 0%,#1b1e28 100%);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .kb-article__head h1{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-article__meta{color:var(--text-muted)}
html[data-theme="dark"] .kb-body{color:#ccd2df}
html[data-theme="dark"] .kb-body h2{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-body h3{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-body h4{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-body a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .kb-body img{border:1px solid var(--border)}
html[data-theme="dark"] .kb-body blockquote{border-left:4px solid var(--cta);background:#142a36;color:#b9c0da}
html[data-theme="dark"] .kb-body code{background:#1b2232;color:#df9dbb}
html[data-theme="dark"] .kb-body pre{background:#0e1c3a;color:#e3ebff}
html[data-theme="dark"] .kb-body pre code{background:none;color:inherit}
html[data-theme="dark"] .kb-body th,html[data-theme="dark"] .kb-body td{border:1px solid var(--border)}
html[data-theme="dark"] .kb-body th{background:#142a36;color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-body hr{border-top:1px solid var(--line)}
html[data-theme="dark"] .kb-card2{background:#1b1e28;border:1px solid var(--border)}
html[data-theme="dark"] .kb-card2__h{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-muted{color:var(--text-muted)}
html[data-theme="dark"] .kb-comment__av{background:linear-gradient(135deg,#1C73AC,#2688C7);color:#fff}
html[data-theme="dark"] .kb-comment__main{background:#141d33}
html[data-theme="dark"] .kb-comment__meta{color:var(--text-muted)}
html[data-theme="dark"] .kb-comment__meta strong{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .kb-form label{color:#c7ced8}
html[data-theme="dark"] .kb-form input,html[data-theme="dark"] .kb-form textarea{border:2px solid var(--border);background:#1b1e28}
html[data-theme="dark"] .kb-form input:focus,html[data-theme="dark"] .kb-form textarea:focus{outline:none;border-color:var(--cta)}
html[data-theme="dark"] .kb-form__btn{background:var(--cta);color:#fff}
html[data-theme="dark"] .kb-form__btn:hover{background:var(--cta-dark)}
html[data-theme="dark"] .cursw{background:rgba(127,140,170,.2);border:1px solid rgba(127,140,170,.28)}
html[data-theme="dark"] .cursw__opt{color:inherit !important}
html[data-theme="dark"] .cursw__opt.is-on{background:#1b1e28;color:#aed6ef !important}
html[data-theme="dark"] .portal .topbar .cursw{color:#bec4cc}
html[data-theme="dark"] .qa-card{background:#1b1e28;border:1px solid var(--border);color:var(--text)}
html[data-theme="dark"] .qa-card::before{background:linear-gradient(180deg,var(--c),var(--c2))}
html[data-theme="dark"] .qa-card:hover{border-color:var(--c)}
html[data-theme="dark"] .qa-card__ico{color:#fff;background:linear-gradient(135deg,var(--c),var(--c2))}
html[data-theme="dark"] .qa-card__txt b{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .qa-card__txt small{color:var(--text-muted)}
html[data-theme="dark"] .qa-card__go{background:#192132;color:var(--c)}
html[data-theme="dark"] .qa-card:hover .qa-card__go{background:var(--c);color:#fff}
html[data-theme="dark"] .hm-hero{color:#fff;background:radial-gradient(900px 340px at 85% -10%,rgba(55,171,206,.55),transparent 60%),
             radial-gradient(700px 300px at 5% 110%,rgba(124,77,255,.40),transparent 60%),
             linear-gradient(135deg,#12527A 0%,#176393 55%,#1C73AC 100%)}
html[data-theme="dark"] .hm-hero::after{background-image:radial-gradient(rgba(255,255,255,.22) 1px,transparent 1px)}
html[data-theme="dark"] .hm-hero__eyebrow{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#cfdcff}
html[data-theme="dark"] .hm-hero h1{color:#fff}
html[data-theme="dark"] .hm-hero p{color:#d3def9}
html[data-theme="dark"] .hm-search{background:#1b1e28}
html[data-theme="dark"] .hm-search__ico{color:#99a1b7}
html[data-theme="dark"] .hm-search input{background:transparent;color:var(--text)}
html[data-theme="dark"] .hm-search button{color:#fff;background:linear-gradient(135deg,#1C73AC,#176393)}
html[data-theme="dark"] .hm-btn--primary{background:linear-gradient(135deg,#34cfa4,#0aa37f);color:#fff}
html[data-theme="dark"] .hm-btn--ghost{color:#fff;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08)}
html[data-theme="dark"] .hm-btn--ghost:hover{background:rgba(255,255,255,.18)}
html[data-theme="dark"] .hm-btn--light{background:#1b1e28;color:#aed6ef}
html[data-theme="dark"] .hm-card{background:#1b1e28;border:1px solid var(--border);color:var(--text)}
html[data-theme="dark"] .hm-card::after{background:linear-gradient(90deg,var(--c),var(--c2))}
html[data-theme="dark"] .hm-card:hover{border-color:var(--c)}
html[data-theme="dark"] .hm-card__ico{color:#fff;background:linear-gradient(135deg,var(--c),var(--c2))}
html[data-theme="dark"] .hm-card b{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .hm-card small{color:var(--text-muted)}
html[data-theme="dark"] .hm-card__go{color:var(--c)}
html[data-theme="dark"] .hm-feat{background:rgba(27,30,40,0.7);border:1px solid var(--border)}
html[data-theme="dark"] .hm-feat__item>span{color:color-mix(in srgb,var(--primary) 42%,#fff);background:#152138}
html[data-theme="dark"] .hm-feat__item b{color:color-mix(in srgb,var(--navy-900) 30%,#fff)}
html[data-theme="dark"] .hm-feat__item small{color:var(--text-muted)}
html[data-theme="dark"] .hm-cta{color:#fff;background:linear-gradient(120deg,#12527A,#1C73AC)}
html[data-theme="dark"] .hm-cta h2{color:#fff}
html[data-theme="dark"] .hm-cta p{color:#cfdcff}
/* ===== dashboard.css ===== */
html[data-theme="dark"] .sidebar__logo{background:transparent}
html[data-theme="dark"] .topbar__logo{background:transparent}
html[data-theme="dark"] .stat-tile{color:#fff}
html[data-theme="dark"] .stat-tile::after{background:rgba(255,255,255,.10)}
html[data-theme="dark"] .stat-tile__foot{border-top:1px solid rgba(255,255,255,.22)}
html[data-theme="dark"] .stat-tile--navy{background:linear-gradient(135deg,#2688C7,#12527A)}
html[data-theme="dark"] .stat-tile--blue{background:linear-gradient(135deg,#2E9CC6,#1C73AC)}
html[data-theme="dark"] .stat-tile--amber{background:linear-gradient(135deg,#ffc94d,#ff9500)}
html[data-theme="dark"] .stat-tile--coral{background:linear-gradient(135deg,#ff8a80,#e5323c)}
html[data-theme="dark"] .stat-tile--green{background:linear-gradient(135deg,#19c48b,#08805a)}
html[data-theme="dark"] .stat-tile--magenta{background:linear-gradient(135deg,#ea55d3,#9a1c9c)}
html[data-theme="dark"] .stat-tile--pink{background:linear-gradient(135deg,#ff6ec4,#e8358f)}
html[data-theme="dark"] .stat-tile--teal{background:linear-gradient(135deg,#22d3b6,#0b9c8a)}
html[data-theme="dark"] .card{background:#1b1e28;border:1px solid #293045;border-top:3px solid var(--primary,#1C73AC)}
html[data-theme="dark"] .card--orange{border-top-color:#1C73AC}
html[data-theme="dark"] .card--blue{border-top-color:#2688C7}
html[data-theme="dark"] .card--green{border-top-color:#1a9c6b}
html[data-theme="dark"] .card--red{border-top-color:#d6455a}
html[data-theme="dark"] .card__title{color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
html[data-theme="dark"] .card__empty{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .pill-link{background:#8b94b2;color:#fff}
html[data-theme="dark"] .pill-link:hover{background:var(--navy-700,#176393)}
html[data-theme="dark"] table.tbl th{color:color-mix(in srgb,var(--brand-head,#a9c4e8) 42%,#fff);background:#1a1e2e;border-top:1px solid #292f42;border-bottom:1px solid #292f42}
html[data-theme="dark"] table.tbl td{border-bottom:1px solid #262e42}
html[data-theme="dark"] table.tbl tbody tr:nth-child(even) td{background:#151b31}
html[data-theme="dark"] table.tbl tbody tr:hover td{background:#141e36}
html[data-theme="dark"] table.tbl a{color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] table.tbl td:first-child a:not(.btn){text-decoration-color:rgba(148,199,232,0.4)}
html[data-theme="dark"] table.tbl td:first-child a:not(.btn):hover{text-decoration-color:currentColor}
html[data-theme="dark"] table.tbl tbody tr:hover{background:#141e35}
html[data-theme="dark"] table.tbl a.btn,html[data-theme="dark"] table.tbl a.btn:hover{color:#fff}
html[data-theme="dark"] table.tbl a.btn-warning,html[data-theme="dark"] table.tbl a.btn-warning:hover{color:#fdf4d5}
html[data-theme="dark"] table.tbl small{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .pill--ok{background:#0fc48a;color:#fff}
html[data-theme="dark"] .pill--warn{background:#ffb020;color:#fff}
html[data-theme="dark"] .pill--bad{background:#e5484d;color:#fff}
html[data-theme="dark"] .pill--info{background:#1C73AC;color:#fff}
html[data-theme="dark"] .pill--muted{background:#282c39;color:#bec4cc}
html[data-theme="dark"] .bars{border-bottom:1px solid #293045}
html[data-theme="dark"] .bars__bar{background:linear-gradient(180deg,#37ABCE,#1C73AC)}
html[data-theme="dark"] .bars__bar--zero{background:#1e2334}
html[data-theme="dark"] .bars__val{color:color-mix(in srgb,var(--navy-800,#94c7e8) 30%,#fff)}
html[data-theme="dark"] .bars__labels span{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .chart-note{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .job-dot{background:#0fc48a}
html[data-theme="dark"] .job-dot--bad{background:#e5484d}
html[data-theme="dark"] .job-dot--idle{background:#2f333f}
html[data-theme="dark"] .job-dot--late{background:#ffb020}
html[data-theme="dark"] .job-run{background:none;border:none;color:#94c7e8}
html[data-theme="dark"] .job-run:hover{background:#3a2a16}
html[data-theme="dark"] .code-box{background:#1C73AC;color:#F2FAFF}
html[data-theme="dark"] .job-msg{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .switch{background:none;color:#bec4cc}
html[data-theme="dark"] .switch__track{background:#2f333f}
html[data-theme="dark"] .switch__track::after{background:#1b1e28}
html[data-theme="dark"] .switch--on .switch__track{background:#0fc48a}
html[data-theme="dark"] .switch:focus-visible{outline:2px solid var(--primary,#1C73AC)}
html[data-theme="dark"] .quick-tile{background:#1b1e28;border:1px solid #293045;color:var(--text,#d7dce7)}
html[data-theme="dark"] .quick-tile__title{color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
html[data-theme="dark"] .quick-tile__desc{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .notice-row{border-bottom:1px solid #262e42}
html[data-theme="dark"] .dgreet{color:#fff;background:linear-gradient(135deg,#1C73AC 0%,#12527A 100%)}
html[data-theme="dark"] .dgreet__avatar{background:rgba(255,255,255,.16);border:2px solid rgba(39,44,58,0.55)}
html[data-theme="dark"] .dtabs{background:#192333;border:1px solid #293447}
html[data-theme="dark"] .dtabs__tab{background:#202a38;color:#b7c0d0}
html[data-theme="dark"] .dtabs__tab:hover{background:#232d3e;color:#c5d1e8}
html[data-theme="dark"] .dtabs__tab.is-active{background:#1b1e28;color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff);border-top-color:var(--tab-accent)}
html[data-theme="dark"] .dtabs__tab:focus-visible{outline:2px solid var(--primary,#1C73AC)}
html[data-theme="dark"] .gform__count{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .gform__count.is-near{color:#f1a687}
html[data-theme="dark"] .gform__hint{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .gform__preview{border:1px dashed #2c354b;background:#131c33;color:var(--text,#d7dce7)}
html[data-theme="dark"] .gform__preview.is-empty{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .gform__previewlabel{color:#98a0b8}
html[data-theme="dark"] .gform__warn{background:#392c15;border:1px solid #584c2f;color:#fadca4}
html[data-theme="dark"] .app .dtabs__tab.is-active{color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
html[data-theme="dark"] .app .dtabs__tab:focus-visible,html[data-theme="dark"] .app .dtabs__subtab:focus-visible{outline-color:var(--brand-teal)}
html[data-theme="dark"] .app .dtabs:has(.dtabs__sub){border-bottom-color:transparent}
html[data-theme="dark"] .dtabs__subtab{color:#b2b7c6;background:#202a38}
html[data-theme="dark"] .dtabs__subtab:hover{background:#232d3e;color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
html[data-theme="dark"] .dtabs__subtab.is-active{background:#1b1e28;color:color-mix(in srgb,var(--brand-purple) 42%,#fff);border-top-color:var(--brand-teal)}
html[data-theme="dark"] .page-help{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .btn-brand{background:var(--brand-purple);color:#fff}
html[data-theme="dark"] .btn-brand:hover{background:var(--brand-purple-dark)}
html[data-theme="dark"] .app table.data-table thead th{background:var(--brand-purple);color:#fff}
html[data-theme="dark"] .app .card{border-top-color:var(--brand-teal)}
html[data-theme="dark"] body.portal .dtabs__tab.is-active{color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
html[data-theme="dark"] body.portal table.data-table thead th{background:var(--brand-purple);color:#fff}
html[data-theme="dark"] body.portal table.tbl th{color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
html[data-theme="dark"] .table-search__count{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .page-search{border:1px solid var(--border,#2b3345);background:#1b1e28}
html[data-theme="dark"] .page-search:focus{outline:2px solid var(--brand-teal,#2aa6bd)}
html[data-theme="dark"] body:not(.portal) .app .btn-navy{background:var(--brand-purple)}
html[data-theme="dark"] body:not(.portal) .app .btn-primary:hover,html[data-theme="dark"] body:not(.portal) .app .btn-navy:hover{background:var(--brand-purple-dark)}
html[data-theme="dark"] body:not(.portal) .app .badge-info{background:#221639;color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
html[data-theme="dark"] body:not(.portal) .app input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]):focus,html[data-theme="dark"] body:not(.portal) .app select:focus,html[data-theme="dark"] body:not(.portal) .app textarea:focus{border-color:var(--brand-teal) !important}
html[data-theme="dark"] .cd-avatar{color:#fff;background:linear-gradient(135deg,var(--brand-blue),var(--brand-purple))}
html[data-theme="dark"] .cd-id__name{color:color-mix(in srgb,var(--navy-800,#94c7e8) 30%,#fff)}
html[data-theme="dark"] .cd-id__meta{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .cd-id__meta a{color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
html[data-theme="dark"] .info-grid dt{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .info-grid dd{color:var(--text,#d7dce7)}
html[data-theme="dark"] .info-grid a{color:color-mix(in srgb,var(--brand-purple) 42%,#fff)}
/* ===== ux.css ===== */
html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] summary:focus-visible{outline:2px solid var(--primary,#1C73AC)}
html[data-theme="dark"] .to-top{background:var(--primary,#1C73AC);color:#fff}
html[data-theme="dark"] #menu-search{color:#fff !important;background:rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238fa3e6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l4 4'/%3E%3C/svg%3E") no-repeat 11px 50% !important;border:1px solid rgba(255,255,255,.16) !important}
html[data-theme="dark"] #menu-search::placeholder{color:#E3F4FB}
html[data-theme="dark"] #menu-search:focus{background-color:rgba(255,255,255,.14) !important;border-color:#2d4b54 !important}
html[data-theme="dark"] .sidebar__nomatch{color:#E3F4FB}
html[data-theme="dark"] .sidebar__group.has-active > summary{color:#fff}
html[data-theme="dark"] .sidebar__group.has-active > summary::before{background:var(--accent,#204854)}
@media (max-width:768px){
  html[data-theme="dark"] table.is-stack tr{background:#1b1e28;border:1px solid var(--border,#2b3345)}
  html[data-theme="dark"] table.is-stack tbody tr:hover{background:#1b1e28}
  html[data-theme="dark"] table.is-stack td{border-bottom:1px dashed var(--line,#293042)}
  html[data-theme="dark"] table.is-stack td::before{color:#98a0b8}
  html[data-theme="dark"] table.is-stack td[colspan]{color:var(--text-muted,#aeb2ba)}
  html[data-theme="dark"] .panel:has(> table.is-stack){background:transparent}
  html[data-theme="dark"] .panel:has(> table.is-stack) > .panel__header{background:none}
  html[data-theme="dark"] .card table.is-stack tr{border-bottom:1px solid var(--line,#293042)}
}
html[data-theme="dark"] .topbar__search{border:1px solid var(--border,#2b3345);background:#141d33;color:#a5acba}
html[data-theme="dark"] .topbar__search:hover{background:#1b1e28;border-color:#2f4c58}
html[data-theme="dark"] kbd{border:1px solid #2d3549;background:#1b1e28;color:#abb1c3}
html[data-theme="dark"] .usermenu > summary{color:var(--text,#d7dce7)}
html[data-theme="dark"] .usermenu > summary::after{border-right:2px solid #8a94b2;border-bottom:2px solid #8a94b2}
html[data-theme="dark"] .usermenu > summary:hover,html[data-theme="dark"] .usermenu[open] > summary{background:#171f34;border-color:var(--border,#2b3345)}
html[data-theme="dark"] .usermenu__avatar{background:var(--primary,#1C73AC);color:#fff}
html[data-theme="dark"] .usermenu__list{background:#1b1e28;border:1px solid var(--border,#2b3345)}
html[data-theme="dark"] .usermenu__list a,html[data-theme="dark"] .usermenu__list button{background:none;color:var(--text,#d7dce7) !important}
html[data-theme="dark"] .usermenu__list a:hover,html[data-theme="dark"] .usermenu__list button:hover{background:#171f34}
html[data-theme="dark"] .usermenu__list form{border-top:1px solid var(--line,#293042)}
html[data-theme="dark"] .usermenu__list form button{color:color-mix(in srgb,var(--danger,#da7685) 42%,#fff) !important}
html[data-theme="dark"] .crumbs{color:#99a1b8}
html[data-theme="dark"] .crumbs a{color:#aab3cd}
html[data-theme="dark"] .crumbs a:hover{color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .crumbs i{color:#b3bcd6}
html[data-theme="dark"] .crumbs span[aria-current]{color:var(--text,#d7dce7)}
html[data-theme="dark"] .listfilter input{border:1px solid var(--border,#2b3345);background:#1b1e28 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a94b2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l4 4'/%3E%3C/svg%3E") no-repeat 12px 50%}
html[data-theme="dark"] .listfilter input:focus{border-color:#2d4b54}
html[data-theme="dark"] .listfilter__n{color:#99a1b8}
html[data-theme="dark"] .listfilter__x{background:none;color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] tr.is-linkrow:hover{background:#131d33}
html[data-theme="dark"] .gs__backdrop{background:rgba(10,20,66,.5)}
html[data-theme="dark"] .gs__box{background:#1b1e28}
html[data-theme="dark"] .gs__bar{border-bottom:1px solid var(--line,#293042)}
html[data-theme="dark"] .gs .gs__input:not(#gs-x){background:transparent !important}
html[data-theme="dark"] .gs__x{border:1px solid #2d3549;background:#141d33;color:#abb1c3}
html[data-theme="dark"] .gs__group{color:#98a0b8}
html[data-theme="dark"] .gs__item{color:var(--text,#d7dce7)}
html[data-theme="dark"] .gs__item.is-on{background:#152037}
html[data-theme="dark"] .gs__s{color:#99a1b8}
html[data-theme="dark"] .gs__empty{color:#99a1b8}
html[data-theme="dark"] .gs__foot{border-top:1px solid var(--line,#293042);background:#142b35;color:#99a1b8}
@media (max-width:960px){
  html[data-theme="dark"] .abottom{background:#1b1e28;border-top:1px solid var(--border,#2b3345)}
  html[data-theme="dark"] .abottom a,html[data-theme="dark"] .abottom button,html[data-theme="dark"] .abottom label{background:none;color:#a5acba}
  html[data-theme="dark"] .abottom .is-active{color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff);background:#141e36}
}
html[data-theme="dark"] .psearch{border:1px solid var(--border,#2b3345);background:#141d33;color:#abb1c3}
html[data-theme="dark"] .psearch:hover{background:#1b1e28;border-color:#2f4c58}
html[data-theme="dark"] .fl-pager{border-top:1px solid var(--border,#2b3345);background:#151e32}
html[data-theme="dark"] .fl-pager__info{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .fl-pg{border:1.5px solid #303748;background:#1b1e28;color:#b6bdcc}
html[data-theme="dark"] .fl-pg:hover{border-color:var(--primary,#1C73AC);color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .fl-pg.is-on{background:var(--primary,#1C73AC);border-color:var(--primary,#1C73AC);color:#fff}
html[data-theme="dark"] .fl-gap{color:#9ca4b5}
html[data-theme="dark"] .cx-pg{color:var(--text-muted)}
html[data-theme="dark"] .cx-pg button{border:1px solid var(--border);background:#1b1e28;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cx-pg button:hover:not(:disabled){background:#142a36}
html[data-theme="dark"] .cx-pg button.is-on{background:var(--primary);border-color:var(--primary);color:#fff}
html[data-theme="dark"] .sg{background:#1b1e28;border:1px solid var(--border,#323743)}
html[data-theme="dark"] .sg__item{color:#d9dde5;border-bottom:1px solid #2c313d}
html[data-theme="dark"] .sg__item.is-on{background:#152037}
html[data-theme="dark"] .sg__s{color:var(--text-muted,#abb1bd)}
html[data-theme="dark"] .sg__none,html[data-theme="dark"] .sg__more{color:var(--text-muted,#abb1bd);background:#191e2d}
html[data-theme="dark"] .btn-danger,html[data-theme="dark"] .btn-warning,html[data-theme="dark"] .btn-success,html[data-theme="dark"] .btn-secondary{border-color:transparent}
html[data-theme="dark"] .btn-danger{background:var(--btn-danger);color:#fff}
html[data-theme="dark"] .btn-warning{background:var(--btn-warning);color:#2b2100}
html[data-theme="dark"] .btn-success{background:var(--btn-success);color:#fff}
html[data-theme="dark"] .btn-secondary{background:var(--btn-secondary);color:#fff}
html[data-theme="dark"] a.btn-danger,html[data-theme="dark"] a.btn-success,html[data-theme="dark"] a.btn-secondary,html[data-theme="dark"] a.btn-danger:hover,html[data-theme="dark"] a.btn-success:hover,html[data-theme="dark"] a.btn-secondary:hover{color:#fff}
html[data-theme="dark"] a.btn-warning,html[data-theme="dark"] a.btn-warning:hover{color:#fdf4d5}
html[data-theme="dark"] table.tbl a.btn-danger,html[data-theme="dark"] table.tbl a.btn-success,html[data-theme="dark"] table.tbl a.btn-secondary{color:#fff}
html[data-theme="dark"] table.tbl a.btn-warning{color:#fdf4d5}
html[data-theme="dark"] .sidebar .sidebar__brand,html[data-theme="dark"] body.portal .sidebar .sidebar__brand{background:#1b1e28;color:#aed6ef;border-bottom:3px solid #37ABCE}
html[data-theme="dark"] .sidebar .sidebar__brand .sidebar__close,html[data-theme="dark"] body.portal .sidebar .sidebar__brand .sidebar__close{color:#aed6ef}
@media (max-width:700px){
  html[data-theme="dark"] .has-tabmenu .tabmenu__btn{border:1.5px solid #2d384c;background:#1b1e28;color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
  html[data-theme="dark"] .tabmenu__cap{color:#98a0b8}
  html[data-theme="dark"] .tabmenu__chev{border-right:2.5px solid #5b6b8c;border-bottom:2.5px solid #5b6b8c}
  html[data-theme="dark"] .tabmenu__btn[aria-expanded="true"]{border-color:var(--brand-teal,#2aa6bd)}
  html[data-theme="dark"] .tabmenu__btn:focus-visible{outline:2px solid var(--brand-teal,#2aa6bd)}
  html[data-theme="dark"] .client-tabs.has-tabmenu.is-open>a{background:rgba(27,30,40,0.75);border:1px solid #293447}
  html[data-theme="dark"] .client-tabs.has-tabmenu.is-open>a.active{background:#1b1e28;border-color:var(--brand-teal,#2aa6bd);color:color-mix(in srgb,var(--brand-purple,#a9c4e8) 42%,#fff)}
}
/* ===== popup.css ===== */
html[data-theme="dark"] .cxw{background:#1b1e28 !important;border:1px solid #9aa7c4}
html[data-theme="dark"] .cxw__head{background:linear-gradient(135deg,#123f6d 0%,#1C73AC 100%)}
html[data-theme="dark"] .cxw__title{color:#fff}
html[data-theme="dark"] .cxw__btn{background:none;color:#fff}
html[data-theme="dark"] .cxw__btn:hover{background:rgba(255,255,255,.22);color:#fff}
html[data-theme="dark"] .cxw__x:hover{background:#d6455a;color:#fff}
html[data-theme="dark"] .cxw__h--se::after{border-right:2px solid #9aa7c4;border-bottom:2px solid #9aa7c4}
html[data-theme="dark"].cxw-embed body,html[data-theme="dark"].cxw-embed .app,html[data-theme="dark"].cxw-embed .main{background:#1b1e28 !important}
html[data-theme="dark"] .cxw-toast{background:#1b1e28;border:1px solid #2e4e3f;border-left:5px solid #26a37a;color:#ceebdf}
html[data-theme="dark"] .cxw-toast.is-err{border-color:#4d292c;border-left-color:#d6455a;color:#ecaeb4}
html[data-theme="dark"] .cxw-toast__ic{background:#26a37a;color:#fff}
html[data-theme="dark"] .cxw-toast.is-err .cxw-toast__ic{background:#d6455a}
html[data-theme="dark"] .cxw-toast__x{background:none;color:#a5acba}
html[data-theme="dark"] .cxw-toast__x:hover{background:#1b2232;color:#cdd4e6}
html[data-theme="dark"] .cxw .cxw__body,html[data-theme="dark"] .cxw .cxw__pad{background:#1b1e28 !important;color:#cdd4e6}
html[data-theme="dark"] .cxw .cxw__pad form{background:transparent !important}
html[data-theme="dark"] .cxw .cxw__pad label{color:#cdd4e6}
html[data-theme="dark"] .cxw .cxw__pad input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=color]),html[data-theme="dark"] .cxw .cxw__pad select,html[data-theme="dark"] .cxw .cxw__pad textarea{color:#cdd4e6;background:#1b1e28 !important;border:1.5px solid #9aa7c4 !important}
html[data-theme="dark"] .cxw .cxw__pad input:focus,html[data-theme="dark"] .cxw .cxw__pad select:focus,html[data-theme="dark"] .cxw .cxw__pad textarea:focus{outline:none;border-color:#1C73AC !important}
html[data-theme="dark"] .cxw .cxw__pad small,html[data-theme="dark"] .cxw .cxw__pad p{color:#abb1c3}
html[data-theme="dark"] .cxw .cxw__pad input[type=color]{border:1.5px solid #9aa7c4;background:#1b1e28}
/* ===== bloques <style> de las vistas ===== */
/* client/_domain_dns.php */
html[data-theme="dark"] .dns-card{border:1px solid var(--border,#2b3345);background:#1b1e28}
html[data-theme="dark"] .dns-card__head{background:linear-gradient(135deg,#2688C7 0%,#37ABCE 100%);color:#fff}
html[data-theme="dark"] .dns-card__ico{background:rgba(255,255,255,.2)}
html[data-theme="dark"] .dns-badge{background:rgba(27,30,40,0.95);color:#aee7c2}
html[data-theme="dark"] .dns-badge--custom{color:#fad39b}
html[data-theme="dark"] .dns-card__text{color:var(--text-muted,#b4b9c3)}
html[data-theme="dark"] .dns-f__lbl{color:#cdd4e6}
html[data-theme="dark"] .dns-f__lbl em{color:#da7b7b}
html[data-theme="dark"] .dns-f__lbl small{color:#9ea5b3}
html[data-theme="dark"] .dns-f__in{border:1px solid var(--border,#303747);background:#19232d;color:#d7dce7}
html[data-theme="dark"] .dns-f__in:focus{outline:none;background:#1b1e28;border-color:#37ABCE}
html[data-theme="dark"] .dns-f__in.is-edited{background:#352a14;border-color:#e0a100}
html[data-theme="dark"] .dns-reset,html[data-theme="dark"] .dns-clear{border:1px solid #37ABCE;background:#152d36;color:#9ed0e9}
html[data-theme="dark"] .dns-reset:hover{background:#17313c}
html[data-theme="dark"] .dns-clear{border-color:var(--border,#303747);background:#1b1e28;color:#bbc1cd}
html[data-theme="dark"] .dns-clear:hover{background:#1a2030}
html[data-theme="dark"] .dns-state{color:var(--text-muted,#aeb2ba)}
/* client/cart.php */
html[data-theme="dark"] .cart-dns{border:1px dashed #2c4451;background:#142934}
html[data-theme="dark"] .cart-dns__val{color:#bbc1cd}
html[data-theme="dark"] .cart-dns__chg{color:#9ed0e9}
/* client/domain_renew.php */
html[data-theme="dark"] .rn-title small{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-panel{background:#1b1e28;border:1px solid #293045}
html[data-theme="dark"] .rn-panel h3{color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
html[data-theme="dark"] .rn-sub{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-chip--ok{background:#18382a;color:#b5f4df}
html[data-theme="dark"] .rn-chip--warn{background:#3b3017;color:#fadca4}
html[data-theme="dark"] .rn-chip--bad{background:#371517;color:#e89da2}
html[data-theme="dark"] .rn-chip--muted{background:#1e2431;color:#bec4cc}
html[data-theme="dark"] .rn-card{border:2px solid #293045;background:#1b1e28}
html[data-theme="dark"] .rn-opt:hover .rn-card{border-color:#2b3551}
html[data-theme="dark"] .rn-opt input:focus-visible + .rn-card{outline:3px solid rgba(28,115,172,.35)}
html[data-theme="dark"] .rn-opt input:checked + .rn-card{border-color:var(--primary,#1C73AC);background:#131d33}
html[data-theme="dark"] .rn-years{color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
html[data-theme="dark"] .rn-years-l{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-peryear{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-save{color:#b5f4df;background:#18382a}
html[data-theme="dark"] .rn-tick{background:var(--primary,#1C73AC);color:#fff}
html[data-theme="dark"] .rn-steps li{color:#c7ced8}
html[data-theme="dark"] .rn-steps b{background:#152138;color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .rn-steps strong{color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
html[data-theme="dark"] .rn-row{border-bottom:1px dashed #2e3446}
html[data-theme="dark"] .rn-row span{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-new strong{color:#b5f4df}
html[data-theme="dark"] .rn-grand span{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-grand strong{color:color-mix(in srgb,var(--navy-900,#aed6ef) 30%,#fff)}
html[data-theme="dark"] .rn-submit{background:var(--success,#0fc48a);color:#fff}
html[data-theme="dark"] .rn-fine{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .rn-notes summary{color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .rn-notes textarea{border:1px solid #2e3446}
/* client/invoice_detail.php */
html[data-theme="dark"] .inv-doc{background:#1b1e28;border:1px solid #2e374b}
html[data-theme="dark"] .inv-doc::before{background:var(--inv-accent,var(--primary))}
html[data-theme="dark"] .inv-doc__title{color:var(--text-muted)}
html[data-theme="dark"] .inv-doc__co{color:var(--text-muted)}
html[data-theme="dark"] .inv-doc__co strong{color:var(--text)}
html[data-theme="dark"] .inv-parties{border:1px solid #2a3349;background:#141d33}
html[data-theme="dark"] .inv-parties > div + div{border-left:1px solid #2a3349}
@media (max-width:700px){
  html[data-theme="dark"] .inv-parties > div:first-child{border-bottom:1px solid #2a3349}
  html[data-theme="dark"] .inv-parties > div:nth-child(3){border-left:1px solid #2a3349}
}
html[data-theme="dark"] .inv-parties h4{color:var(--text-muted)}
html[data-theme="dark"] .inv-tablewrap{border:1px solid #2e374b}
html[data-theme="dark"] .inv-items th{background:var(--navy-800,#1C73AC);color:#fff}
html[data-theme="dark"] .inv-items td{border-top:1px solid #283146;background:#1b1e28}
html[data-theme="dark"] .inv-items tbody tr:nth-child(even) td{background:#142b35}
html[data-theme="dark"] .inv-note{background:#141d33;border:1px solid #2a3349;border-left:4px solid var(--primary)}
html[data-theme="dark"] .inv-note strong{color:var(--text-muted)}
html[data-theme="dark"] .inv-stamp{border:4px double var(--success);color:color-mix(in srgb,var(--success) 42%,#fff)}
html[data-theme="dark"] .inv-stamp--void{border-color:var(--danger);color:color-mix(in srgb,var(--danger) 42%,#fff)}
html[data-theme="dark"] .inv-totals{border:1px solid #2e374b}
html[data-theme="dark"] .inv-totals > div{border-top:1px solid #272f46}
html[data-theme="dark"] .inv-totals .inv-total{background:#152138;background:var(--inv-accent-soft,#152138);border-top:2px solid var(--inv-accent,var(--primary))}
html[data-theme="dark"] .inv-totals .inv-fx{color:var(--text-muted)}
html[data-theme="dark"] .inv-paybox{background:#1b1e28;border:1px solid #2e374b}
html[data-theme="dark"] .inv-paybox::before{background:var(--inv-accent,var(--primary))}
html[data-theme="dark"] .inv-pay__label{color:var(--text-muted)}
html[data-theme="dark"] .inv-pay__due{color:var(--text-muted);background:#151f34;border:1px solid #283146}
html[data-theme="dark"] .inv-pay__due.is-late{color:#e49da8;background:#371517;border-color:#4d292e}
html[data-theme="dark"] .inv-pay__ok{color:color-mix(in srgb,var(--success) 42%,#fff)}
html[data-theme="dark"] .inv-pay__ok span{background:#1b382c;border:1px solid #2f5141}
html[data-theme="dark"] .inv-bank{border:1px solid #2a3349;background:#142b35}
html[data-theme="dark"] .inv-bank__body{border-top:1px solid #2a3349}
html[data-theme="dark"] .inv-bank dt{color:var(--text-muted)}
html[data-theme="dark"] .inv-bank input,html[data-theme="dark"] .inv-bank textarea{border:1px solid var(--border);background:#1b1e28}
html[data-theme="dark"] .inv-dl{border-top:1px solid #283146;background:#142b35}
html[data-theme="dark"] .inv-dl .btn-ghost{background:#1b1e28;color:var(--text);border:1px solid #2e374b}
html[data-theme="dark"] .inv-dl .btn-ghost:hover{background:#151f34}
html[data-theme="dark"] .inv-late{background:#371517;border:1px solid #4d292e;color:#e49da8}
html[data-theme="dark"] .inv-hist{background:#1b1e28;border:1px solid #2e374b}
/* client/invoice_detail_v2.php */
html[data-theme="dark"] .iv2-card{background:#1b1e28;border:1px solid #2e374b}
html[data-theme="dark"] .iv2-band{color:#fff;background:linear-gradient(120deg,var(--navy-900,#12527A) 0%,var(--navy-800,#1C73AC) 55%,var(--primary) 140%)}
html[data-theme="dark"] .iv2-co-sub{color:#c3cff5}
html[data-theme="dark"] .iv2-kicker{color:#9fb3f5}
html[data-theme="dark"] .iv2-status{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.45)}
html[data-theme="dark"] .iv2-status--paid{background:#1a9c6b;border-color:#1a9c6b}
html[data-theme="dark"] .iv2-status--overdue{background:#d6455a;border-color:#d6455a}
html[data-theme="dark"] .iv2-meta{border-bottom:1px solid #283146}
html[data-theme="dark"] .iv2-meta > div + div{border-left:1px solid #283146}
@media (max-width:760px){
  html[data-theme="dark"] .iv2-meta > div{border-top:1px solid #283146}
  html[data-theme="dark"] .iv2-meta > div:nth-child(2){border-top:1px solid #283146}
}
html[data-theme="dark"] .iv2-meta h4{color:var(--text-muted)}
html[data-theme="dark"] .iv2-meta .iv2-due--late{color:#da7685}
html[data-theme="dark"] .iv2-rows th{color:var(--text-muted);border-bottom:2px solid var(--text,#1c2333)}
html[data-theme="dark"] .iv2-rows td{border-bottom:1px dashed #2d3549}
html[data-theme="dark"] .iv2-note{color:var(--text-muted);border-left:3px solid var(--ac)}
html[data-theme="dark"] .iv2-note b{color:var(--text)}
html[data-theme="dark"] .iv2-tot > div{color:var(--text-muted)}
html[data-theme="dark"] .iv2-tot .iv2-tot__big{background:var(--navy-800,#1C73AC);color:#fff}
html[data-theme="dark"] .iv2-pay{background:var(--acs);border-top:3px solid var(--ac)}
html[data-theme="dark"] .iv2-pay__lbl{color:var(--text-muted)}
html[data-theme="dark"] .iv2-pay__due{color:var(--text-muted)}
html[data-theme="dark"] .iv2-pay__due.is-late{color:#e49da8}
html[data-theme="dark"] .iv2-pay .btn-ghost{background:#1b1e28;color:var(--text);border:1px solid #30394f}
html[data-theme="dark"] .iv2-pay .btn-ghost:hover{background:#151f34}
html[data-theme="dark"] .iv2-bank{background:#1b1e28;border:1px solid #2e374b}
html[data-theme="dark"] .iv2-bank__body{border-top:1px solid #283146}
html[data-theme="dark"] .iv2-bank dt{color:var(--text-muted)}
html[data-theme="dark"] .iv2-bank input,html[data-theme="dark"] .iv2-bank textarea{border:1px solid var(--border)}
html[data-theme="dark"] .iv2-paid{color:#adf1d8}
html[data-theme="dark"] .iv2-paid span{background:#1b1e28;border:2px solid #1a9c6b}
html[data-theme="dark"] .iv2-foot{background:#142b35;border-top:1px solid #283146}
html[data-theme="dark"] .iv2-foot a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .iv2-foot span{color:var(--text-muted)}
html[data-theme="dark"] .iv2-hist{background:#1b1e28;border:1px solid #2e374b}
/* client/invoices.php */
html[data-theme="dark"] .fl-tab{border:1.5px solid #303748;background:#1b1e28;color:#b6bdcc}
html[data-theme="dark"] .fl-tab:hover{border-color:var(--primary,#1C73AC);color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff)}
html[data-theme="dark"] .fl-tab.is-on{background:var(--primary,#1C73AC);border-color:var(--primary,#1C73AC);color:#fff}
html[data-theme="dark"] .fl-tab__n{background:#1b2232;color:#b6bdcc}
html[data-theme="dark"] .fl-tab.is-on .fl-tab__n{background:rgba(255,255,255,.25);color:#fff}
html[data-theme="dark"] .fl-tab--warn:not(.is-on) .fl-tab__n{background:#371517;color:#e2909c}
/* client/product_detail.php */
html[data-theme="dark"] .qcard{background:#1b1e28;border:1px solid var(--border,#2b3345)}
html[data-theme="dark"] .qcard__head{background:linear-gradient(135deg,#2688C7 0%,#37ABCE 100%);color:#fff}
html[data-theme="dark"] .qcard__ico{background:rgba(255,255,255,.2)}
html[data-theme="dark"] .qcard__text{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .qcard__f{color:#cdd4e6}
html[data-theme="dark"] .qcard__f input{border:1px solid var(--border,#2b3345);background:#19232d;color:#d7dce7}
html[data-theme="dark"] .qcard__f input:focus{outline:2px solid #37ABCE;background:#1b1e28;border-color:#37ABCE}
html[data-theme="dark"] .qcard__btn{background:#3CAE74;color:#fff}
html[data-theme="dark"] .qcard__btn:hover{background:#2f9a65}
html[data-theme="dark"] .qcard__fine{color:var(--text-muted,#aeb2ba)}
/* client/service_change_plan.php */
html[data-theme="dark"] .cp-pending{background:#1b1e28;border:1px solid var(--border);border-top:4px solid #123f6d}
html[data-theme="dark"] .cp-pending__ico{color:#fff;background:linear-gradient(135deg,#123f6d,#1C73AC)}
html[data-theme="dark"] .cp-pending__tag{color:#a9c4e8;background:#241a35}
html[data-theme="dark"] .cp-pending__title{color:var(--text)}
html[data-theme="dark"] .cp-pending__text{color:var(--text-muted)}
html[data-theme="dark"] .cp-pending__plan{border:1.5px solid var(--border);background:#142b35}
html[data-theme="dark"] .cp-pending__plan--new{border-color:#1C73AC;background:#142036}
html[data-theme="dark"] .cp-pending__plan span{color:var(--text-muted)}
html[data-theme="dark"] .cp-pending__plan small{color:var(--text-muted)}
html[data-theme="dark"] .cp-pending__arrow{color:#a9c4e8}
html[data-theme="dark"] .cp-steps{border-top:1px solid var(--line,#293042)}
html[data-theme="dark"] .cp-steps__dot{background:#1b2235;color:#a5acba}
html[data-theme="dark"] .cp-steps li.is-done .cp-steps__dot{background:#26a37a;color:#fff}
html[data-theme="dark"] .cp-steps li.is-now .cp-steps__dot{background:#123f6d;color:#fff}
html[data-theme="dark"] .cp-steps small{color:var(--text-muted)}
html[data-theme="dark"] .cp-back{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cp-head p{color:var(--text-muted)}
html[data-theme="dark"] .cp-current{border-left:4px solid var(--primary)}
html[data-theme="dark"] .cp-current__tag{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cp-current__dom{color:var(--text-muted)}
html[data-theme="dark"] .cp-current__kv div span{color:var(--text-muted)}
html[data-theme="dark"] .cp-tabs{background:#1b2235}
html[data-theme="dark"] .cp-tab{background:transparent;color:var(--text-muted)}
html[data-theme="dark"] .cp-tab:hover{color:var(--text)}
html[data-theme="dark"] .cp-tab.is-on{background:#1b1e28;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cp-card{background:#1b1e28;border:2px solid var(--border)}
html[data-theme="dark"] .cp-card:hover{border-color:#2b3651}
html[data-theme="dark"] .cp-card.is-sel{border-color:var(--primary)}
html[data-theme="dark"] .cp-dir--up{background:#152338;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cp-dir--down{background:#3b2f16;color:#f3d097}
html[data-theme="dark"] .cp-dir--same{background:#20242e;color:var(--text-muted)}
html[data-theme="dark"] .cp-card__price small{color:var(--text-muted)}
html[data-theme="dark"] .cp-card__eq{color:var(--text-muted)}
html[data-theme="dark"] .cp-card ul{border-top:1px solid var(--line)}
html[data-theme="dark"] .cp-card li::before{color:color-mix(in srgb,var(--success) 42%,#fff)}
html[data-theme="dark"] .cp-card__pay{background:#151f34}
html[data-theme="dark"] .cp-card__pay--up{background:#142036;color:#96b2e6}
html[data-theme="dark"] .cp-card__pay--down{background:#1b382c;color:#adf1d8}
html[data-theme="dark"] .cp-card__btn{background:#152036;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cp-card.is-sel .cp-card__btn{background:var(--primary);color:#fff}
html[data-theme="dark"] .cp-more textarea{border:1px solid var(--border)}
html[data-theme="dark"] .cp-more p{color:var(--text-muted)}
html[data-theme="dark"] .cp-bar{background:var(--navy-900,#12527A);color:#fff}
html[data-theme="dark"] .cp-bar__txt span{color:#b8c6f5}
/* client/service_detail.php */
html[data-theme="dark"] .sd-back{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .sd-hero{background:#1b1e28;border:1px solid #2e374b}
html[data-theme="dark"] .sd-hero::before{background:linear-gradient(90deg,var(--navy-800,#1C73AC),var(--primary))}
html[data-theme="dark"] .sd-ico{background:#152138;background:color-mix(in srgb,var(--primary) 12%,#1b1e28);border:1px solid #28334a}
html[data-theme="dark"] .sd-dom{color:var(--text-muted)}
html[data-theme="dark"] .sd-dom a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .sd-st::before{background:currentColor}
html[data-theme="dark"] .sd-st--ok{background:#1b382c;color:#adf1d8;border-color:#2f5141}
html[data-theme="dark"] .sd-st--warn{background:#3b2f16;color:#f3d097;border-color:#554a2e}
html[data-theme="dark"] .sd-st--bad{background:#371517;color:#e49da8;border-color:#4d292e}
html[data-theme="dark"] .sd-st--muted{background:#20242e;color:var(--text-muted);border-color:#303541}
html[data-theme="dark"] .sd-btn--main{background:var(--primary);color:#fff}
html[data-theme="dark"] .sd-btn--ghost{background:#1b1e28;color:var(--text);border-color:#2e374b}
html[data-theme="dark"] .sd-btn--ghost:hover{background:#151f34}
html[data-theme="dark"] .sd-stats{border-top:1px solid #283146;background:#142b35}
html[data-theme="dark"] .sd-stats > div + div{border-left:1px solid #283146}
@media (max-width:720px){
  html[data-theme="dark"] .sd-stats > div + div{border-top:1px solid #283146}
}
html[data-theme="dark"] .sd-stats span{color:var(--text-muted)}
html[data-theme="dark"] .sd-stats small{color:var(--text-muted)}
html[data-theme="dark"] .sd-chip{background:#152036;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .sd-chip.is-soon{background:#3b2f16;color:#f3d097}
html[data-theme="dark"] .sd-chip.is-late{background:#371517;color:#e49da8}
html[data-theme="dark"] .sd-card{background:#1b1e28;border:1px solid #2e374b}
html[data-theme="dark"] .sd-card__head{border-bottom:1px solid #283146;background:#142b35}
html[data-theme="dark"] .sd-card__head p{color:var(--text-muted)}
html[data-theme="dark"] .sd-sub{color:var(--text-muted)}
html[data-theme="dark"] .sd-row{border-bottom:1px dashed #2a3349}
html[data-theme="dark"] .sd-row__k{color:var(--text-muted)}
html[data-theme="dark"] .sd-copy{border:1px solid #2e374b;background:#1b1e28;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .sd-copy:hover{background:#142036}
html[data-theme="dark"] .sd-copy.is-done{background:#1b382c;color:#adf1d8;border-color:#2f5141}
html[data-theme="dark"] .sd-edit summary{border:1px solid #2e374b;background:#1b1e28;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .sd-edit summary:hover{background:#142036}
html[data-theme="dark"] .sd-edit[open] summary{background:#142036}
html[data-theme="dark"] .sd-edit form{border:1px solid #2a3349;background:#142b35}
html[data-theme="dark"] .sd-edit input{border:1px solid var(--border);background:#1b1e28}
html[data-theme="dark"] .sd-edit small{color:var(--text-muted)}
html[data-theme="dark"] .sd-note{background:#141d33;border:1px solid #2a3349;color:var(--text-muted)}
html[data-theme="dark"] .sd-actions a,html[data-theme="dark"] .sd-actions button{border-bottom:1px solid #272f46;background:#1b1e28;color:var(--text)}
html[data-theme="dark"] .sd-actions a:hover,html[data-theme="dark"] .sd-actions button:hover{background:#151f34;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .sd-actions .sd-act-ico{background:#152036}
html[data-theme="dark"] .sd-actions small{color:var(--text-muted)}
html[data-theme="dark"] .sd-actions .sd-danger{color:#e49da8}
html[data-theme="dark"] .sd-actions .sd-danger .sd-act-ico{background:#371517}
html[data-theme="dark"] .sd-actions .sd-danger:hover{background:#331317;color:#e49da8}
html[data-theme="dark"] .sd-help{color:var(--text-muted);background:#142b35;border-top:1px solid #283146}
html[data-theme="dark"] .sd-help a{color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cu-refresh{border:1px solid #2e374b;background:#1b1e28;color:color-mix(in srgb,var(--primary) 42%,#fff)}
html[data-theme="dark"] .cu-refresh:hover{background:#142036}
html[data-theme="dark"] .cu-tile{border:1px solid #283146;background:linear-gradient(180deg,#1b1e28,#131f33)}
html[data-theme="dark"] .cu-k{color:var(--text-muted)}
html[data-theme="dark"] .cu-of{color:var(--text-muted)}
html[data-theme="dark"] .cu-sm{color:var(--text-muted)}
html[data-theme="dark"] .cu-sm b{color:var(--text)}
html[data-theme="dark"] .cu-legend{color:var(--text-muted)}
html[data-theme="dark"] .cu-dot--use{background:var(--uw,var(--primary))}
html[data-theme="dark"] .cu-dot--now{background:#1f2937}
html[data-theme="dark"] .cu-sec{border-top:1px dashed #2a3349}
html[data-theme="dark"] .cu-sec__t{color:var(--text-muted)}
html[data-theme="dark"] .cu-dom__bar{background:#1d2535}
html[data-theme="dark"] .cu-dom__bar i{background:var(--primary)}
html[data-theme="dark"] .cu-note{background:#142235;border:1px solid #273548;color:var(--text-muted)}
html[data-theme="dark"] .cu-note b{color:var(--text)}
html[data-theme="dark"] .cu-alert--mid{background:#3b2f16;color:#f5d7a4;border-color:#554a2e}
html[data-theme="dark"] .cu-alert--hi{background:#371517;color:#e49da8;border-color:#4d292e}
html[data-theme="dark"] .cu-toast{background:#152036;color:var(--text-muted)}
html[data-theme="dark"] .cu-empty{color:var(--text-muted)}
html[data-theme="dark"] .cu-empty strong{color:var(--text)}
html[data-theme="dark"] .cu-pulse{background:var(--primary)}
/* client/support_ticket_new.php */
html[data-theme="dark"] .tk{--tk-ink:var(--text,#d7dce7);--tk-muted:var(--text-muted,#aeb2ba);--tk-line:var(--border,#2b3345)}
html[data-theme="dark"] .tk-hero__ico{color:#fff;background:linear-gradient(135deg,#123f6d 0%,#1C73AC 100%)}
html[data-theme="dark"] .tk-hero h2{color:var(--tk-ink)}
html[data-theme="dark"] .tk-hero p{color:var(--tk-muted)}
html[data-theme="dark"] .tk-alert--ok{background:#173627;border-color:#2e4e3f;color:#ceebdf}
html[data-theme="dark"] .tk-alert--err{background:#361519;border-color:#4d292c;color:#ecaeb4}
html[data-theme="dark"] .tk-card{background:#1b1e28;border:1px solid var(--tk-line)}
html[data-theme="dark"] .tk-sec{border-bottom:1px solid var(--tk-line)}
html[data-theme="dark"] .tk-sec__title{color:#a9c4e8}
html[data-theme="dark"] .tk-sec__num{background:#241a35;color:#a9c4e8}
html[data-theme="dark"] .tk-f label,html[data-theme="dark"] .tk-label{color:var(--tk-ink)}
html[data-theme="dark"] .tk-f label small{color:var(--tk-muted)}
html[data-theme="dark"] .tk-f input[type=text],html[data-theme="dark"] .tk-f input[type=email],html[data-theme="dark"] .tk-f select,html[data-theme="dark"] .tk-f textarea{color:var(--tk-ink);background:#1b1e28;border:1.5px solid #303748}
html[data-theme="dark"] .tk-f select{background:#1b1e28 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center}
html[data-theme="dark"] .tk-f input:focus,html[data-theme="dark"] .tk-f select:focus,html[data-theme="dark"] .tk-f textarea:focus{outline:none;border-color:var(--tk-primary)}
html[data-theme="dark"] .tk-f ::placeholder{color:#9ca4b5}
html[data-theme="dark"] .tk-pri span{border:1.5px solid #303748;color:#b6bdcc;background:#1b1e28}
html[data-theme="dark"] .tk-pri span::before{background:var(--d,#94a3b8)}
html[data-theme="dark"] .tk-pri label:hover span{border-color:var(--d,#94a3b8)}
html[data-theme="dark"] .tk-pri input:checked + span{border-color:var(--d);background:color-mix(in srgb,var(--d) 10%,#1b1e28);color:var(--tk-ink)}
html[data-theme="dark"] .tk-pri input:focus-visible + span{outline:2px solid var(--tk-primary)}
html[data-theme="dark"] .tk-hint{color:var(--tk-muted)}
html[data-theme="dark"] .tk-foot{background:#151e32;border-top:1px solid var(--tk-line)}
html[data-theme="dark"] .tk-btn--go{color:#fff;background:linear-gradient(135deg,#1C73AC,#123f6d)}
html[data-theme="dark"] .tk-btn--ghost{color:#b6bdcc;background:#1b1e28;border:1.5px solid #303748}
html[data-theme="dark"] .tk-btn--ghost:hover{background:#192132}
html[data-theme="dark"] .tk-tip{background:#1b1e28;border:1px solid var(--tk-line)}
html[data-theme="dark"] .tk-tip h3{color:var(--tk-ink)}
html[data-theme="dark"] .tk-tip li{color:#b6bdcc}
html[data-theme="dark"] .tk-tip li svg{color:#99e2ca}
html[data-theme="dark"] .tk-tip--soft{background:linear-gradient(180deg,#1f1435,#142036);border-color:#32284a}
html[data-theme="dark"] .tk-tip--soft p{color:#b6bdcc}
html[data-theme="dark"] .tk-tip--soft a{color:#a9c4e8}
/* layouts/_recent_logins.php */
html[data-theme="dark"] .hdr-ico>summary,html[data-theme="dark"] .hdr-ico>a.hdr-ico__btn{color:#b7c0d0}
html[data-theme="dark"] .hdr-ico>summary:hover,html[data-theme="dark"] .hdr-ico[open]>summary,html[data-theme="dark"] .hdr-ico>a.hdr-ico__btn:hover{background:#171f34;border-color:var(--border,#2b3345);color:#94c7e8}
html[data-theme="dark"] .hdr-ico svg{fill:currentColor}
html[data-theme="dark"] .hdr-ico__badge{background:#e8473f;color:#fff;border:2px solid #272c3a}
html[data-theme="dark"] .hdr-ico__box{background:#1b1e28;border:1px solid var(--border,#2b3345)}
html[data-theme="dark"] .hdr-ico__head{color:#a5acba;border-bottom:1px solid #293042}
html[data-theme="dark"] .hdr-ico__item{color:inherit;border-bottom:1px solid #282e3f}
html[data-theme="dark"] .hdr-ico__item:hover{background:#141d33}
html[data-theme="dark"] .hdr-ico__dot{background:#f2b705}
html[data-theme="dark"] .hdr-ico__dot--on{background:#22a45d}
html[data-theme="dark"] .hdr-ico__av{background:#172f3e;color:#c0d6e9}
html[data-theme="dark"] .hdr-ico__s{color:#99a1b8}
html[data-theme="dark"] .hdr-ico__tag{background:#1b3625;color:#a6eac3}
html[data-theme="dark"] .hdr-ico__tag--admin{background:#152039;color:#8ea3e0}
html[data-theme="dark"] .hdr-ico__empty{color:#99a1b8}
html[data-theme="dark"] .hdr-ico__foot{color:color-mix(in srgb,var(--primary,#94c7e8) 42%,#fff);background:#151e32}
/* layouts/embed.php */
html[data-theme="dark"],html[data-theme="dark"] body{background:#1b1e28}
/* partials/usage_widgets.php */
html[data-theme="dark"] .uw-ok{--uw-soft:#16293b}
html[data-theme="dark"] .uw-mid{--uw-soft:#3b2d17}
html[data-theme="dark"] .uw-hi{--uw-soft:#371517}
html[data-theme="dark"] .uw-none{--uw-soft:#20242e}
html[data-theme="dark"] .uw-ring__track{fill:none;stroke:#e6ebf5}
html[data-theme="dark"] .uw-ring__bar{fill:none;stroke:var(--uw)}
html[data-theme="dark"] .uw-ring__txt b{color:var(--text,#d5dce6)}
html[data-theme="dark"] .uw-ring__txt small{color:var(--text-muted,#aeb2ba)}
html[data-theme="dark"] .uw-track{background:#1d2535}
html[data-theme="dark"] .uw-track__fill{background:linear-gradient(90deg,var(--uw),var(--uw))}
html[data-theme="dark"] .uw-track__mark{background:#1f2937}
html[data-theme="dark"] .uw-track__ghost{background:repeating-linear-gradient(135deg,transparent 0 4px,rgba(31,41,55,.16) 4px 6px)}
html[data-theme="dark"] .uw-chip{background:var(--uw-soft);color:var(--uw)}
html[data-theme="dark"] .uw-chip::before{background:currentColor}
html[data-theme="dark"] .uw-spark__bar{background:#1c2e42}
html[data-theme="dark"] .uw-spark__bar.is-now{background:var(--primary,#1C73AC)}
html[data-theme="dark"] .uw-spark__bar.is-empty{background:#1e2533}
html[data-theme="dark"] .uw-spark__lbl span{color:var(--text-muted,#aeb2ba)}
/* shared/_child_ns_list.php */
html[data-theme="dark"] .cns-count{color:#bec4cc;background:#1b2232}
html[data-theme="dark"] .cns-list{border:1px solid #293847;background:#152631}
html[data-theme="dark"] .cns-row{border-bottom:1px solid #293644}
html[data-theme="dark"] .cns-row>summary:hover{background:#152a36}
html[data-theme="dark"] .cns-row[open]>summary{background:#162938}
html[data-theme="dark"] .cns-host{color:#aed6ef}
html[data-theme="dark"] .cns-ips{color:#c7ced8}
html[data-theme="dark"] .cns-edit{color:#9ed0e9}
html[data-theme="dark"] .cns-body{background:#1b1e28;border-top:1px dashed #293847}
html[data-theme="dark"] .cns-none{color:#aeb2ba}
/* shared/_row_menu.php */
html[data-theme="dark"] .svc-menu__list{background:#1b1e28;border:1px solid var(--border,#2b3345)}
html[data-theme="dark"] .svc-menu__list a{color:#cdd4e6}
html[data-theme="dark"] .svc-menu__list button{background:none;color:#cdd4e6}
html[data-theme="dark"] .svc-menu__list a:hover,html[data-theme="dark"] .svc-menu__list a:focus,html[data-theme="dark"] .svc-menu__list button:hover,html[data-theme="dark"] .svc-menu__list button:focus{background:#152a36;color:#9ed0e9;outline:none}
html[data-theme="dark"] .svc-menu__list .svc-menu__danger{color:#e2909c}
html[data-theme="dark"] .svc-menu__sep{border-top:1px solid var(--border,#293043)}
html[data-theme="dark"] .svc-menu__list button.svc-menu__off,html[data-theme="dark"] .svc-menu__list button.svc-menu__off:hover{background:none;color:#cdd4e6}
html[data-theme="dark"] .svc-menu__list a.svc-menu__danger:hover,html[data-theme="dark"] .svc-menu__list button.svc-menu__danger:hover{background:#371519;color:#e2909c}
/* shared/rich_editor.php */
html[data-theme="dark"] .re-wrap{border:1px solid var(--border);background:#1b1e28}
html[data-theme="dark"] .re-bar{background:#20232b;border-bottom:1px solid var(--border)}
html[data-theme="dark"] .re-bar .sep{background:#2b2f37}
html[data-theme="dark"] .re-btn{background:transparent;color:#e2e2e2}
html[data-theme="dark"] .re-btn:hover{background:#222833;border-color:#333945}
html[data-theme="dark"] .re-btn.on{background:#18283e;border-color:#2d3d54}
html[data-theme="dark"] .re-bar select{border:1px solid #333945;background:#1b1e28;color:#e2e2e2}
html[data-theme="dark"] .re-color:hover{background:#222833}
html[data-theme="dark"] .re-color input[type=color]{border:1px solid #373e53;background:none}
html[data-theme="dark"] .re-edit{background:#1b1e28;color:#e2e2e2;outline:none}
html[data-theme="dark"] .re-edit td,html[data-theme="dark"] .re-edit th{border:1px solid #373e53}
