.theme-controls{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}.theme-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 10px}.theme-controls svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.theme-controls #themeToggle{width:38px;padding:6px}.theme-controls .moon{display:none}[data-theme=dark] .theme-controls .sun{display:none}[data-theme=dark] .theme-controls .moon{display:block}#themeSystem[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
:root{--chart-grid:#334155;--chart-label:#a0afbf;--chart-limit:#c4a5ff;--chart-warning:#ffc18a;--ring-empty:#263443}
:root[data-theme=light]{color-scheme:light;--bg:#f7f9fc;--panel:#fff;--line:#dce4ed;--text:#172638;--muted:#52667b;--accent:#087c96;--orange:#a54a10;--blue:#3979ca;--chart-grid:#dce4ed;--chart-label:#52667b;--chart-limit:#7145ae;--chart-warning:#a54a10;--ring-empty:#e4ebf2}
[data-theme=light] body{background:radial-gradient(ellipse at 70% 0,#e6f4fa,transparent 46%),var(--bg)}
[data-theme=light] header{background:#fff;border-color:var(--line)}[data-theme=light] h1,[data-theme=light] .ring strong{color:var(--text)}[data-theme=light] label{color:#40566c}[data-theme=light] input,[data-theme=light] select,[data-theme=light] select option,[data-theme=light] select optgroup{background:#fff;color:var(--text);border-color:#cbd8e4}[data-theme=light] input[type=range]{background:transparent}[data-theme=light] button{background:#f0f5fa;color:#294960;border-color:#d1dce8}[data-theme=light] button:hover,[data-theme=light] .repo-row a:hover{background:#e3eef8;border-color:#92afc4}[data-theme=light] button.primary,[data-theme=light] .quick button.active,[data-theme=light] #hubSearch{background:#087c96;color:#fff;border-color:#087c96}[data-theme=light] .catalog-list{scrollbar-color:#b1c3d5 #f4f7fa}[data-theme=light] .catalog-list button{background:#f5f8fb;color:#24435e;border-color:transparent}[data-theme=light] .catalog-list button:hover{background:#e4f0f7;border-color:#aec6d8}[data-theme=light] .repo-row a,[data-theme=light] #selectedRepo{color:#08728b!important}[data-theme=light] .catalog-list small,[data-theme=light] .ring small{color:var(--muted)}[data-theme=light] .result{background:linear-gradient(120deg,#edf8fc,#f2f3fc);border-color:#cedfe9}[data-theme=light] .big{color:#164c70}[data-theme=light] .big span{color:var(--muted)}[data-theme=light] .status,[data-theme=light] .good,[data-theme=light] .live{color:#08765d!important}[data-theme=light] .live:before{background:#08765d}[data-theme=light] .status.warn,[data-theme=light] .bad,[data-theme=light] .warning-note{color:var(--orange)!important}[data-theme=light] .error{color:#a62a31}[data-theme=light] .metric{background:#f6f9fc!important;border-color:var(--line)!important}[data-theme=light] .chartbox,[data-theme=light] #importPanel{background:#f8fafc;border-color:var(--line)}[data-theme=light] .utiltrack,[data-theme=light] .bar{background:#e2eaf2}[data-theme=light] .line,[data-theme=light] td,[data-theme=light] th{border-color:var(--line)}[data-theme=light] th,[data-theme=light] .info{background:#fff}[data-theme=light] details.advanced>summary{color:#314d66}[data-theme=light] .panel{box-shadow:0 3px 14px #264b7010}[data-theme=light] .ring>div{background:#fff}
@media(max-width:600px){.theme-controls button{min-height:44px}.theme-controls #themeToggle{width:44px}.brand{letter-spacing:.1em}.theme-controls{gap:4px}} 
