/* Fuji Manager — design tokens (cold blue, unchanged values) */
:root{
  --bg:#080b10;--surface:#0e1219;--surface2:#141922;--border:#1e2736;--border2:#2a3547;
  --text:#dce6f0;--muted:#8fa8c8;--muted2:#2e3d52;
  --accent:#2563eb;--accent2:#3b82f6;
  --green:#16a34a;--green2:#4ade80;--red:#dc2626;--red2:#f87171;--yellow:#d97706;--yellow2:#fbbf24;
  --fh:'Unbounded',sans-serif;--fb:'Golos Text',sans-serif;
  --min-desktop:1024px;
  --z-nav:100;--z-drawer:1100;--z-modal:9100;--z-gate:99999;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;
  --radius-lg:18px;--radius-md:12px;--radius-sm:10px;
}
body.theme-light{--bg:#f4f6fa;--surface:#ffffff;--surface2:#edf0f7;--border:#dde2ee;--border2:#c8cedf;--text:#111827;--muted:#4b5a72;--muted2:#8a97b0;--accent:#4f46e5;--accent2:#6366f1;--green:#15803d;--green2:#16a34a;--red:#dc2626;--red2:#ef4444;--yellow:#b45309;--yellow2:#d97706}
body.theme-light nav{background:rgba(255,255,255,.98);border-bottom:1px solid #dde2ee;box-shadow:0 1px 8px rgba(0,0,0,.07)}
body.theme-light .nav-logo{color:#111827}
body.theme-light .nav-tab{color:#4b5a72}
body.theme-light .nav-tab:hover{color:#111827;background:rgba(79,70,229,.06)}
body.theme-light .nav-tab.active{color:#4f46e5;border-bottom-color:#6366f1;background:rgba(99,102,241,.08);font-weight:700}
body.theme-light .sidebar,.body.theme-light .st-sidebar{background:#fff;border-color:#dde2ee}
body.theme-light .page-title{background:linear-gradient(90deg,#4f46e5,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
body.theme-light .page-sub{color:#4b5a72}
body.theme-light .dropzone{background:#fff;border-color:#c8cedf}
body.theme-light .dropzone:hover,.theme-light .dropzone.drag{background:#f8f9ff;border-color:#6366f1}
body.theme-light .dz-title{color:#111827}
body.theme-light .dz-sub{color:#4b5a72}
body.theme-light .btn-p{background:linear-gradient(135deg,#4f46e5,#0ea5e9);color:#fff}
body.theme-light .btn-p:hover{background:linear-gradient(135deg,#4338ca,#0284c7)}
body.theme-light .btn-o{color:#111827;border-color:#c8cedf}
body.theme-light .btn-o:hover{border-color:#6366f1;color:#4f46e5}
body.theme-light .sum-stat{background:#fff;border-color:#dde2ee}
body.theme-light .sum-stat-val{background:linear-gradient(90deg,#4f46e5,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
body.theme-light .st-tile:hover{background:rgba(79,70,229,.06)}
body.theme-light .st-tile.active{background:rgba(99,102,241,.12);color:#4f46e5}
body.theme-light .sc-title{color:#111827}
body.theme-light .hint{color:#4b5a72}
body.theme-light select.sel{background:#fff;color:#111827;border-color:#c8cedf}
body.theme-light .la input{background:#fff;color:#111827;border-color:#c8cedf}
body.theme-light .la input:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
body.theme-light .lit{background:#fff;border-color:#dde2ee}
body.theme-light .lname{color:#111827}
body.theme-light .kfb{background:#fff;border-color:#dde2ee}
body.theme-light .kfn{background:linear-gradient(90deg,#4f46e5,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
body.theme-light .ktag{background:#f0f1ff;border-color:#c7d2fe;color:#4338ca}
body.theme-light .drv-card{background:#fff;border-color:#dde2ee}
body.theme-light .drv-card-name{color:#111827}
body.theme-light .drv-card-sub{color:#4b5a72}
body.theme-light .sheet-title{color:#111827}
body.theme-light th{background:#f8f9ff;color:#4b5a72}
body.theme-light td{color:#111827}
body.theme-light .netr td{background:#f0f1ff;color:#4f46e5}
body.theme-light .sum-stat-lbl{color:#4b5a72}
body.theme-light .nav-badge{background:linear-gradient(90deg,#4f46e5,#0ea5e9)}
body.theme-light .res-title{color:#16a34a}
body.theme-light .sum-tbl th{background:#f0f1ff;color:#4b5a72}
body.theme-light .drv-btn:hover{background:#f0f1ff}
body.theme-light .drv-btn.active{background:rgba(79,70,229,.1);color:#4f46e5}
body.theme-light .toast-ok{background:#f0fdf4;color:#15803d;border-color:rgba(22,163,74,.25)}
body.theme-light .toast-err{background:#fef2f2;color:#dc2626;border-color:rgba(220,38,38,.25)}
body.theme-light .toast-info{background:#fff;color:#111827;border-color:#dde2ee}
body.theme-ocean{--bg:#020d1a;--surface:#051828;--surface2:#082035;--border:#0d3050;--border2:#1a4a6e;--text:#b8ddf5;--muted:#6aaac8;--muted2:#1a3a50;--accent:#0284c7;--accent2:#38bdf8;--green:#059669;--green2:#34d399;--red:#e11d48;--red2:#fb7185;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-forest{--bg:#050f08;--surface:#091410;--surface2:#0f1d16;--border:#1a3020;--border2:#264535;--text:#c8e6d0;--muted:#6da87a;--muted2:#1a3020;--accent:#16a34a;--accent2:#4ade80;--green:#15803d;--green2:#86efac;--red:#dc2626;--red2:#f87171;--yellow:#ca8a04;--yellow2:#fde047}
body.theme-purple{--bg:#08060f;--surface:#100d1a;--surface2:#181224;--border:#2a1f40;--border2:#3d2d5a;--text:#e0d4f7;--muted:#9d7fd4;--muted2:#2a1f40;--accent:#7c3aed;--accent2:#a78bfa;--green:#16a34a;--green2:#4ade80;--red:#dc2626;--red2:#f87171;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-claude{--bg:#1a1714;--surface:#211e1b;--surface2:#2a2520;--border:#3a332c;--border2:#4a4038;--text:#e8ddd4;--muted:#9a8a7a;--muted2:#3a332c;--accent:#c96442;--accent2:#e07050;--green:#16a34a;--green2:#4ade80;--red:#dc2626;--red2:#f87171;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-claude nav{background:rgba(26,23,20,.92);border-bottom-color:var(--border)}
body.theme-claude .nav-tab.active{color:var(--accent2);background:rgba(201,100,66,.12)}
body.theme-sunset{--bg:#0f080a;--surface:#1a0e12;--surface2:#24141a;--border:#3d1f28;--border2:#5a2d3d;--text:#f5d4dc;--muted:#c47a8a;--muted2:#3d1f28;--accent:#e11d48;--accent2:#fb7185;--green:#16a34a;--green2:#4ade80;--red:#9f1239;--red2:#fda4af;--yellow:#d97706;--yellow2:#fbbf24}

/* Aurora — shifting iridescent accent (blue→teal→violet→blue) */
@property --aurora-hue {
  syntax: '<angle>';
  initial-value: 220deg;
  inherits: true;
}
@keyframes aurora-cycle {
  0%,100% { --aurora-hue: 220deg; }
  25%      { --aurora-hue: 180deg; }
  50%      { --aurora-hue: 270deg; }
  75%      { --aurora-hue: 310deg; }
}
body.theme-aurora{
  --aurora-hue:220deg;
  --bg:#050710;--surface:#080c1a;--surface2:#0e1428;
  --border:#18203e;--border2:#242e5e;
  --text:#ccd6f5;--muted:#7a88c0;--muted2:#18203e;
  --accent:hsl(var(--aurora-hue),78%,62%);
  --accent2:hsl(calc(var(--aurora-hue) + 40deg),84%,68%);
  --green:#059669;--green2:#34d399;
  --red:#e11d48;--red2:#fb7185;
  --yellow:#d97706;--yellow2:#fbbf24;
  animation:aurora-cycle 10s ease-in-out infinite;
}
/* Aurora bliks — animated light orbs over entire page */
body.theme-aurora::before,
body.theme-aurora::after{
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:5;
  will-change:transform,filter;
  mix-blend-mode:screen;
}
body.theme-aurora::before{
  background:
    radial-gradient(ellipse 55% 42% at 14% 28%,rgba(99,102,241,.20) 0%,transparent 60%),
    radial-gradient(ellipse 48% 56% at 83% 66%,rgba(6,182,212,.16) 0%,transparent 60%),
    radial-gradient(ellipse 42% 38% at 56% 88%,rgba(167,139,250,.14) 0%,transparent 60%);
  filter:blur(28px);
  animation:aurora-drift1 17s ease-in-out infinite alternate,
            aurora-hue-rot1 13s linear infinite;
}
body.theme-aurora::after{
  background:
    radial-gradient(ellipse 52% 46% at 74% 16%,rgba(139,92,246,.16) 0%,transparent 60%),
    radial-gradient(ellipse 62% 42% at 20% 76%,rgba(34,211,238,.14) 0%,transparent 60%),
    radial-gradient(ellipse 40% 52% at 92% 48%,rgba(236,72,153,.11) 0%,transparent 60%);
  filter:blur(38px);
  animation:aurora-drift2 22s ease-in-out infinite alternate,
            aurora-hue-rot2 19s linear infinite;
}
@keyframes aurora-drift1{
  0%  {transform:translate(0%,0%) scale(1);}
  30% {transform:translate(5%,7%) scale(1.09);}
  60% {transform:translate(-4%,3%) scale(.95);}
  100%{transform:translate(8%,-6%) scale(1.06);}
}
@keyframes aurora-drift2{
  0%  {transform:translate(0%,0%) scale(1.04);}
  35% {transform:translate(-6%,-5%) scale(.94);}
  65% {transform:translate(7%,6%) scale(1.11);}
  100%{transform:translate(-3%,9%) scale(.97);}
}
@keyframes aurora-hue-rot1{
  0%  {filter:blur(28px) hue-rotate(0deg);}
  100%{filter:blur(28px) hue-rotate(360deg);}
}
@keyframes aurora-hue-rot2{
  0%  {filter:blur(38px) hue-rotate(0deg);}
  100%{filter:blur(38px) hue-rotate(-360deg);}
}

/* ── NEW THEMES 2026-06-21 ── */
body.theme-silver{--bg:#18191c;--surface:#22252a;--surface2:#2c2f35;--border:#3a3d45;--border2:#4e525c;--text:#e8eaed;--muted:#8a9099;--muted2:#3a3d45;--accent:#94a3b8;--accent2:#cbd5e1;--green:#16a34a;--green2:#4ade80;--red:#dc2626;--red2:#f87171;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-synthwave{--bg:#0a0016;--surface:#130028;--surface2:#1c003c;--border:#300058;--border2:#4e0088;--text:#f0c0ff;--muted:#b060d8;--muted2:#300058;--accent:#f72585;--accent2:#b5179e;--green:#0d9488;--green2:#14b8a6;--red:#dc2626;--red2:#f87171;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-lava{--bg:#080000;--surface:#150300;--surface2:#220600;--border:#420800;--border2:#640e00;--text:#ffe8d0;--muted:#d87050;--muted2:#420800;--accent:#f97316;--accent2:#ef4444;--green:#16a34a;--green2:#4ade80;--red:#7f1d1d;--red2:#fca5a5;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-void{--bg:#030008;--surface:#0a0018;--surface2:#110028;--border:#220040;--border2:#360060;--text:#e8d8ff;--muted:#8855bb;--muted2:#220040;--accent:#8b5cf6;--accent2:#a78bfa;--green:#059669;--green2:#34d399;--red:#dc2626;--red2:#f87171;--yellow:#d97706;--yellow2:#fbbf24}
body.theme-prism{--bg:#060810;--surface:#0c1020;--surface2:#121830;--border:#1c2840;--border2:#283858;--text:#e0f0ff;--muted:#7898c0;--muted2:#1c2840;--accent:#06b6d4;--accent2:#22d3ee;--green:#059669;--green2:#34d399;--red:#e11d48;--red2:#fb7185;--yellow:#d97706;--yellow2:#fbbf24}
@keyframes prism-hue{0%{filter:hue-rotate(0deg)}100%{filter:hue-rotate(360deg)}}
body.theme-prism #siteFx{animation:prism-hue 14s linear infinite}
body.theme-matrix{--bg:#000800;--surface:#001200;--surface2:#001c00;--border:#003000;--border2:#004800;--text:#b0ffb0;--muted:#50a050;--muted2:#003000;--accent:#00c853;--accent2:#69ff47;--green:#15803d;--green2:#86efac;--red:#dc2626;--red2:#f87171;--yellow:#ca8a04;--yellow2:#fde047}
