.ax-theme-toggle { width:40px; height:40px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--ax-border); border-radius:10px; background:var(--ax-surface); color:var(--ax-gold-bright); cursor:pointer; font-size:15px; transition:background .18s; }
.ax-theme-toggle:hover { background:var(--ax-surface-3); }
.adm-body>.ax-theme-toggle { position:fixed; right:20px; bottom:20px; z-index:90; box-shadow:0 4px 16px #0002; }
html[data-theme=light] {
  color-scheme:light;
  --ax-bg:#f4f6f8; --ax-bg-2:#edf1f5; --ax-surface:#fff; --ax-surface-2:#edf1f5; --ax-surface-3:#e2e8ef;
  --ax-border:rgba(47,65,86,.15); --ax-border-gold:rgba(154,108,35,.3);
  --ax-text:#1c2939; --ax-text-2:#3c4b5c; --ax-muted:#596879; --ax-dim:#66768a;
  --ax-gold:#a57120; --ax-gold-bright:#8d5d19; --ax-gold-light:#d1a059;
  --ax-emerald:#177957; --ax-cyan:#2b6795; --ax-danger:#bb3645;
  --ax-shadow:0 8px 24px rgba(37,54,77,.06);
}
html[data-theme=light] body { background:var(--ax-bg); color:var(--ax-text); }
[data-theme=light] h1,[data-theme=light] h2,[data-theme=light] h3,[data-theme=light] h4,[data-theme=light] h5,[data-theme=light] h6 { color:var(--ax-text); }
[data-theme=light] [style*="color:#fff"],[data-theme=light] [style*="color: #fff"],[data-theme=light] [style*="color:#f8fafc"] { color:var(--ax-text)!important; }
[data-theme=light] .ax-header,[data-theme=light] .ax-topbar { background:rgba(255,255,255,.96); }
[data-theme=light] .ax-ticker-bar,[data-theme=light] .adm-topbar { background:#edf1f5; }
[data-theme=light] .ax-tick-up { color:var(--ax-emerald); }
[data-theme=light] .ax-lang-pills { background:#e2e8ef; border-color:var(--ax-border); }
[data-theme=light] .ax-lang-pills a.active { background:#e4b768; color:#322513; }
[data-theme=light] .ax-brand-mark { color:#302713; }
[data-theme=light] .ax-brand-title { color:#202e40; }
[data-theme=light] .ax-nav-link,[data-theme=light] .ax-nav-link:hover { color:var(--ax-text-2); }
[data-theme=light] .ax-nav-link.active { color:var(--ax-gold-bright); }
[data-theme=light] .ax-btn-outline { color:var(--ax-text-2); border-color:#bcc7d4; background:transparent; }
[data-theme=light] .ax-btn-outline:hover { background:#e8edf3; }
[data-theme=light] .ax-btn-gold { color:#302713; }
[data-theme=light] .ax-btn-ghost { color:var(--ax-text-2); }
[data-theme=light] .ax-hero-showcase { background:linear-gradient(125deg,#e9eef2,#fff); border-color:#d5dfe8; }
[data-theme=light] .ax-auth-card,[data-theme=light] .ax-card,[data-theme=light] .ax-plant-card,[data-theme=light] .ax-sim-card,[data-theme=light] .adm-card,[data-theme=light] .adm-kpi { background:#fff; border-color:var(--ax-border); box-shadow:var(--ax-shadow); }
[data-theme=light] .ax-plant-card.is-flagship { background:#fffcf5; border-color:#cdb17c; }
[data-theme=light] .ax-plant-name { color:var(--ax-text)!important; }
[data-theme=light] .ax-pm-val,[data-theme=light] .ax-plant-price { color:var(--ax-text); }
[data-theme=light] .ax-auth-tabs { background:#edf1f5; }
[data-theme=light] .ax-auth-tab { color:var(--ax-muted); }
[data-theme=light] .ax-auth-tab.active { background:#fff; color:var(--ax-text); box-shadow:0 2px 7px #1729380d; }
[data-theme=light] .ax-input,[data-theme=light] .ax-select,[data-theme=light] .ax-textarea,[data-theme=light] .adm-input,[data-theme=light] .adm-select,[data-theme=light] .adm-textarea { background:#f8fafc; color:var(--ax-text); border-color:#bec9d6; }
[data-theme=light] .ax-label,[data-theme=light] .adm-label { color:#3f5063; }
[data-theme=light] .ax-input::placeholder,[data-theme=light] .adm-input::placeholder { color:#748295; }
[data-theme=light] .ax-stats-grid { background:#fff; }
[data-theme=light] .ax-stat-card { background:#fff; border-color:var(--ax-border); }
[data-theme=light] .ax-stat-val { color:var(--ax-text); }
[data-theme=light] .ax-pm-box,[data-theme=light] .ax-sim-res-box { background:#f3f6f9; border-color:var(--ax-border); }
[data-theme=light] .ax-pm-val.emerald { color:#177957; }
[data-theme=light] .ax-pm-val.cyan { color:#2b6795; }
[data-theme=light] .ax-plant-rate-pill { color:#177957; background:#eaf6f0; border-color:#c8e6d8; }
[data-theme=light] .ax-plant-lvl { background:#edf1f5; color:#49596d; }
[data-theme=light] .ax-plant-metrics { background:transparent; border-color:var(--ax-border); }
[data-theme=light] .ax-plant-foot { background:#fafbfd; }
[data-theme=light] .ax-sim-lvl-btn { background:#edf1f5; color:#596879; border-color:var(--ax-border); }
[data-theme=light] .ax-sim-lvl-btn.active { background:#e6b963; color:#302713; }
[data-theme=light] #roiSimulator [style*="background:rgba(5,8,15"] { background:#f0f4f7!important; }
[data-theme=light] .ax-footer { background:#eaf0f4; }
[data-theme=light] .ax-footer h4 { color:var(--ax-text); }
[data-theme=light] .ax-sidebar,[data-theme=light] .adm-sidebar { background:#fff; }
[data-theme=light] .ax-sb-bal-card,[data-theme=light] .ax-sb-bal-card.invest,[data-theme=light] .ax-sb-bal-card.profit { background:#f0f4f7; }
[data-theme=light] .ax-sb-bal-val { color:var(--ax-text); }
[data-theme=light] .ax-sb-link,[data-theme=light] .adm-nav-link { color:var(--ax-text-2); }
[data-theme=light] .ax-sb-link.active,[data-theme=light] .adm-nav-link.active { color:var(--ax-gold-bright); background:#faf0dd; }
[data-theme=light] .ax-burger,[data-theme=light] .adm-burger { background:#edf1f5; color:var(--ax-text); border-color:var(--ax-border); }
[data-theme=light] .ax-scada-deck { background:linear-gradient(120deg,#fffaf0,#fff); }
[data-theme=light] .ax-counter-uzs,[data-theme=light] .adm-kpi-val { color:var(--ax-text); }
[data-theme=light] .ax-oil-tank-badge,[data-theme=light] .ax-oil-tank-badge [style] { color:#fff!important; }
[data-theme=light] .ax-counter-bbl { background:#fff4dc; color:#8d5d19; border-color:#dec99d; }
[data-theme=light] .ax-mobile-dock { background:rgba(255,255,255,.97); border-color:#d5dee8; }
[data-theme=light] .ax-dock-item { color:#617184; }
[data-theme=light] .ax-dock-item.active { color:#8d5d19; background:#fcf0d7; }
[data-theme=light] .ax-alert-ok { background:#eaf6f0; color:#176b4e; border-color:#bbdfcf; }
[data-theme=light] .ax-alert-err { background:#fff0f1; color:#a02d3b; border-color:#efc6cc; }
[data-theme=light] .ax-alert-warn { background:#fff6e5; color:#886022; border-color:#e8d8b7; }
[data-theme=light] .ax-badge-gold { background:#fcf2df; color:#855a1d; border-color:#e6d4ad; }
[data-theme=light] .ax-badge-emerald { background:#eaf6f0; color:#177957; border-color:#c8e6d8; }
[data-theme=light] .ax-badge-cyan { background:#eaf2fa; color:#2b6795; border-color:#c5d9eb; }
[data-theme=light] .ax-badge-danger { background:#fff0f1; color:#a02d3b; border-color:#efc6cc; }
[data-theme=light] .ax-bank-card { background:linear-gradient(120deg,#ecddbb,#fdf9f0); color:#3e3322; }
[data-theme=light] .ax-bank-num { color:#735117; }
[data-theme=light] .ax-table th,[data-theme=light] .adm-table th { color:#4e5e72; background:#f0f4f7; }
[data-theme=light] .ax-table td,[data-theme=light] .adm-table td { color:var(--ax-text-2); border-color:var(--ax-border); }
[data-theme=light] .ax-table tbody tr:hover,[data-theme=light] .adm-table tbody tr:hover { background:#f6f8fb; }
[data-theme=light] .adm-nav-group { color:#64758a; }
[data-theme=light] .adm-btn { border-color:var(--ax-border); }
[data-theme=light] .swal-modal { background:#fff!important; border-color:#ced8e3!important; }
[data-theme=light] .swal-title { color:#1c2939!important; }
[data-theme=light] .swal-text { color:#3c4b5c!important; }
@media(max-width:960px) { [data-theme=light] .ax-nav-links { background:#fff; } }
@media(max-width:420px) { .ax-theme-toggle { width:36px; height:38px; } }
