/* Nezerite.PW Color Themes v3.6.2 — safe style layer, no inline scripts */
html[data-nz-theme]{
 --nz-accent:#ef4770;--nz-accent-hi:#ff8aa7;--nz-accent-deep:#8d2351;
 --nz-back:#0b0811;--nz-surface:#17111d;--nz-surface-2:#211728;--nz-control:color-mix(in srgb,var(--nz-back) 80%,var(--nz-surface));
 --nz-line:#4c364e;--nz-ink:#fbf6ff;--nz-ink-muted:#b6a7bd;
 --bg:var(--nz-back);--bg-elevated:var(--nz-surface);--panel:var(--nz-surface);
 --panel-alt:var(--nz-surface-2);--panel-hover:var(--nz-surface-2);
 --sidebar:var(--nz-back);--line:var(--nz-line);--line-soft:var(--nz-line);
 --text:var(--nz-ink);--muted:var(--nz-ink-muted);
 --red:var(--nz-accent);--red-soft:var(--nz-accent-hi);--red-dark:var(--nz-accent-deep);
 color-scheme:dark;
}
html[data-nz-theme="red"]{--nz-accent:#f14c73;--nz-accent-hi:#ff9bb0;--nz-accent-deep:#9f244c;--nz-back:#0b0810;--nz-surface:#19121d;--nz-surface-2:#261725;--nz-line:#58364c}
html[data-nz-theme="purple"]{--nz-accent:#a375fa;--nz-accent-hi:#cfb2ff;--nz-accent-deep:#63339e;--nz-back:#0d0a17;--nz-surface:#181326;--nz-surface-2:#231b35;--nz-line:#56426b}
html[data-nz-theme="pink"]{--nz-accent:#f26dc1;--nz-accent-hi:#ffb0dd;--nz-accent-deep:#a53278;--nz-back:#140a15;--nz-surface:#221226;--nz-surface-2:#321a35;--nz-line:#6b3a64}
html[data-nz-theme="green"]{--nz-accent:#39d29b;--nz-accent-hi:#a2f2d2;--nz-accent-deep:#167759;--nz-back:#06130f;--nz-surface:#10231c;--nz-surface-2:#1a3026;--nz-line:#365e50}
html[data-nz-theme="yellow"]{--nz-accent:#e7bd3c;--nz-accent-hi:#ffdf7d;--nz-accent-deep:#92701d;--nz-back:#121009;--nz-surface:#241e13;--nz-surface-2:#332a19;--nz-line:#695633}
html[data-nz-theme="blue"]{--nz-accent:#588fff;--nz-accent-hi:#abc9ff;--nz-accent-deep:#28529d;--nz-back:#080f19;--nz-surface:#121c30;--nz-surface-2:#1a2840;--nz-line:#3a4f71}
html[data-nz-theme="turquoise"]{--nz-accent:#24cbbc;--nz-accent-hi:#9df5eb;--nz-accent-deep:#187d78;--nz-back:#061416;--nz-surface:#112327;--nz-surface-2:#1a3336;--nz-line:#346266}
html[data-nz-theme="sky"]{--nz-accent:#5ac2ff;--nz-accent-hi:#b1e6ff;--nz-accent-deep:#287a9c;--nz-back:#07111b;--nz-surface:#13232f;--nz-surface-2:#1a3342;--nz-line:#3c6277}
html[data-nz-theme="lime"]{--nz-accent:#abdd49;--nz-accent-hi:#ddf8a0;--nz-accent-deep:#648a24;--nz-back:#0b1207;--nz-surface:#1a2612;--nz-surface-2:#29391b;--nz-line:#4d6338}
html[data-nz-theme="orange"]{--nz-accent:#f78d4f;--nz-accent-hi:#ffd2a4;--nz-accent-deep:#a5502a;--nz-back:#150d08;--nz-surface:#281914;--nz-surface-2:#3b261a;--nz-line:#704932}
html[data-nz-theme="indigo"]{--nz-accent:#7d89f8;--nz-accent-hi:#c9ceff;--nz-accent-deep:#464fa1;--nz-back:#0b0b19;--nz-surface:#19192e;--nz-surface-2:#242342;--nz-line:#52537d}
html[data-nz-theme="amber"]{--nz-accent:#d9a94e;--nz-accent-hi:#f5da9e;--nz-accent-deep:#8e612a;--nz-back:#120e08;--nz-surface:#251c15;--nz-surface-2:#33271c;--nz-line:#72563c}
html[data-nz-theme="mint"]{--nz-accent:#6fddb6;--nz-accent-hi:#bcffe8;--nz-accent-deep:#438972;--nz-back:#091310;--nz-surface:#152821;--nz-surface-2:#20372c;--nz-line:#426c5c}
html[data-nz-theme="graphite"]{--nz-accent:#b2b9cb;--nz-accent-hi:#e4e7f2;--nz-accent-deep:#687082;--nz-back:#0f1117;--nz-surface:#1b1d26;--nz-surface-2:#292c36;--nz-line:#4c5261}
html[data-nz-theme="white"]{--nz-accent:#5065d6;--nz-accent-hi:#273ea4;--nz-accent-deep:#354ba7;--nz-back:#f5f6fb;--nz-surface:#ffffff;--nz-surface-2:#edf0f9;--nz-control:#ffffff;--nz-line:#d5d9e7;--nz-ink:#1b2234;--nz-ink-muted:#647085;--red:#5065d6;--red-soft:#5065d6;--red-dark:#354ba7;color-scheme:light}
html[data-nz-theme] body.inferno-core{background:var(--nz-back);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core:before{background:radial-gradient(ellipse at 82% 0%,color-mix(in srgb,var(--nz-accent) 9%,transparent),transparent 60%)}
html[data-nz-theme] body.inferno-core .sidebar{background:linear-gradient(180deg,var(--nz-surface),var(--nz-back));border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .nav-label{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .nav-link{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .nav-link>.ui-icon{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .nav-link:hover{color:var(--nz-ink);background:color-mix(in srgb,var(--nz-accent) 12%,var(--nz-surface));border-color:color-mix(in srgb,var(--nz-accent) 28%,transparent)}
html[data-nz-theme] body.inferno-core .nav-link.active{color:var(--nz-ink);background:linear-gradient(110deg,color-mix(in srgb,var(--nz-accent) 28%,var(--nz-surface)),var(--nz-surface-2));border-color:color-mix(in srgb,var(--nz-accent) 48%,var(--nz-line));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--nz-accent) 15%,transparent)}
html[data-nz-theme] body.inferno-core .nav-link.active:before{background:var(--nz-accent);box-shadow:0 0 12px color-mix(in srgb,var(--nz-accent) 55%,transparent)}
html[data-nz-theme] body.inferno-core .nav-link.active>.ui-icon{color:var(--nz-accent-hi);filter:none}
html[data-nz-theme] body.inferno-core .topbar{background:linear-gradient(120deg,var(--nz-surface-2),var(--nz-surface) 60%,var(--nz-surface-2));border-color:color-mix(in srgb,var(--nz-accent) 30%,var(--nz-line));box-shadow:0 10px 40px #0003}
html[data-nz-theme] body.inferno-core .topbar:before{background:linear-gradient(105deg,transparent 10%,color-mix(in srgb,var(--nz-accent) 18%,transparent) 47%,transparent 95%)}
html[data-nz-theme] body.inferno-core .topbar:after{background:linear-gradient(90deg,transparent,var(--nz-accent),transparent)}
html[data-nz-theme] body.inferno-core .topbar-title,html[data-nz-theme] body.inferno-core .account strong{color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .crumb,html[data-nz-theme] body.inferno-core .account small{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .crumb strong,html[data-nz-theme] body.inferno-core .crumb span{color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .topbar-tag,html[data-nz-theme] body.inferno-core .utc-clock,html[data-nz-theme] body.inferno-core .quick-open,html[data-nz-theme] body.inferno-core .logout{background:var(--nz-surface);border-color:var(--nz-line);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .brand-mark,html[data-nz-theme] body.inferno-core .avatar{background:linear-gradient(145deg,var(--nz-accent),var(--nz-accent-deep));border-color:var(--nz-accent-hi);color:white;box-shadow:none}
html[data-nz-theme] body.inferno-core .brand-dot,html[data-nz-theme] body.inferno-core .brand-text em{color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .side-bottom,html[data-nz-theme] body.inferno-core .page-head,html[data-nz-theme] body.inferno-core .panel,html[data-nz-theme] body.inferno-core .stat,html[data-nz-theme] body.inferno-core .monitor-card,html[data-nz-theme] body.inferno-core .perm-card{background:linear-gradient(145deg,var(--nz-surface-2),var(--nz-surface));border-color:var(--nz-line);box-shadow:0 10px 32px #0002}
html[data-nz-theme] body.inferno-core .page-head:before{background:radial-gradient(ellipse at 90% 10%,color-mix(in srgb,var(--nz-accent) 14%,transparent),transparent 65%)}
html[data-nz-theme] body.inferno-core .page-head:after{color:color-mix(in srgb,var(--nz-accent) 13%,transparent)}
html[data-nz-theme] body.inferno-core .page-head .red{background:none;-webkit-text-fill-color:var(--nz-accent);color:var(--nz-accent)}
html[data-nz-theme] body.inferno-core .page-head .muted,html[data-nz-theme] body.inferno-core .stat span,html[data-nz-theme] body.inferno-core .stat small,html[data-nz-theme] body.inferno-core .monitor-card small{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .panel-head{background:linear-gradient(95deg,color-mix(in srgb,var(--nz-accent) 15%,transparent),transparent);border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .panel-head h2,html[data-nz-theme] body.inferno-core .monitor-card strong{color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .eyebrow,html[data-nz-theme] body.inferno-core .eyebrow-mark,html[data-nz-theme] body.inferno-core .panel-head a{color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .eyebrow-mark{background:var(--nz-accent);box-shadow:none}
html[data-nz-theme] body.inferno-core .stat:before{background:radial-gradient(circle at 70% 20%,color-mix(in srgb,var(--nz-accent) 13%,transparent),transparent 72%)}
html[data-nz-theme] body.inferno-core .stat:after{color:var(--nz-accent-hi);border-color:var(--nz-line);background:var(--nz-surface-2)}
html[data-nz-theme] body.inferno-core .primary,html[data-nz-theme] body.inferno-core .hero-primary{background:linear-gradient(110deg,var(--nz-accent),var(--nz-accent-deep));border-color:var(--nz-accent);color:#fff;box-shadow:0 6px 18px color-mix(in srgb,var(--nz-accent) 17%,transparent)}
html[data-nz-theme] body.inferno-core .soft,html[data-nz-theme] body.inferno-core .quick-open,html[data-nz-theme] body.inferno-core .icon-button{background:var(--nz-surface-2);color:var(--nz-ink);border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .soft:hover,html[data-nz-theme] body.inferno-core .quick-open:hover{border-color:var(--nz-accent);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core input:not([type=checkbox]):not([type=radio]),html[data-nz-theme] body.inferno-core textarea,html[data-nz-theme] body.inferno-core select{background:var(--nz-control);border-color:var(--nz-line);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core input::placeholder{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core input:focus,html[data-nz-theme] body.inferno-core textarea:focus,html[data-nz-theme] body.inferno-core select:focus{border-color:var(--nz-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--nz-accent) 20%,transparent)}
html[data-nz-theme] body.inferno-core .inferno-hero{background:linear-gradient(115deg,var(--nz-surface-2),var(--nz-surface));border-color:var(--nz-line);box-shadow:0 14px 50px #0004}
html[data-nz-theme] body.inferno-core .hero-core{background:linear-gradient(145deg,var(--nz-accent-hi),var(--nz-accent),var(--nz-accent-deep));border-color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .hero-glow{background:radial-gradient(ellipse at 60% 45%,color-mix(in srgb,var(--nz-accent) 35%,transparent),transparent 65%)}
html[data-nz-theme] body.inferno-core .hero-copy h2 em{background:none;-webkit-text-fill-color:var(--nz-accent-hi);color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .hero-kicker,html[data-nz-theme] body.inferno-core .hero-art-caption b,html[data-nz-theme] body.inferno-core .chat-name{color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .log-preview,html[data-nz-theme] body.inferno-core .log-lines,html[data-nz-theme] body.inferno-core .terminal-head,html[data-nz-theme] body.inferno-core .control-bar{background:var(--nz-control);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .quick-dialog,html[data-nz-theme] body.inferno-core .lb-card,html[data-nz-theme] body.inferno-core .lb-stat{background:var(--nz-surface);border-color:var(--nz-line);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .audit th,html[data-nz-theme] body.inferno-core .audit td{color:var(--nz-ink);border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .audit thead{background:var(--nz-surface-2)}
html[data-nz-theme] body.inferno-core .hb-reader,html[data-nz-theme] body.inferno-core .hb-side,html[data-nz-theme] body.inferno-core .hb-wrap{border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .login-wrap{background:radial-gradient(ellipse at 70% 20%,color-mix(in srgb,var(--nz-accent) 13%,transparent),transparent 62%),var(--nz-back)}
html[data-nz-theme] body.inferno-core .login-box{background:linear-gradient(155deg,var(--nz-surface-2),var(--nz-surface));border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .login-box:before{background:linear-gradient(90deg,transparent,var(--nz-accent),transparent)}
html[data-nz-theme] body.inferno-core .login-box h1{color:var(--nz-ink)}
/* Embedded page styles (handbook, LiteBans, audit, console, profiles) use the same soft surfaces. */
html[data-nz-theme] body.inferno-core :is(.hb-doc,.hb-categories button,.lbv358-row,.lbv358-stat,.lbv358-control,.lbv358-filter,.lb-detail,.lb-card,.lb-stat,.audit2-entry,.audit-modern,.profile-card,.sp-card,.cmd-entry,.commands-entry){border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core :is(.hb-doc.selected,.hb-categories button.active,.lbv358-tabs button.active,.lbv358-status-active){border-color:var(--nz-accent);box-shadow:inset 3px 0 0 var(--nz-accent)}
/* White / light theme: explicit readable foregrounds on original crimson components. */
html[data-nz-light] body.inferno-core .sidebar,html[data-nz-light] body.inferno-core .topbar{box-shadow:0 8px 24px #66738c18}
html[data-nz-light] body.inferno-core :is(.page-head h1,.topbar-title,.account strong,.panel-head h2,.stat strong,.quick strong,.monitor-card strong,.hero-copy h2,.hero-copy>p,.hero-kicker,.hero-art-caption,.side-status strong,.lb-card-heading,.lb-card-meta,.lb-card-reason,.lb-stat strong,.hb-article-title,.hb-prose,.audit td,.audit th){color:var(--nz-ink)}
html[data-nz-light] body.inferno-core :is(.quick-open kbd,.terminal-caption,.terminal-head,.quick-dialog,.quick-dialog-head,.lbv358-row,.lbv358-stat,.lbv358-filter,.hb-side,.hb-reader,.hb-doc,.hb-categories button,.lb-card,.lb-stat,.lb-card-reason,.lb-card-meta span,.lb-dialog,.profile-card,.sp-card){background:var(--nz-surface);border-color:var(--nz-line);color:var(--nz-ink)}
html[data-nz-light] body.inferno-core .hero-secondary{color:var(--nz-ink);border-color:var(--nz-line)}
html[data-nz-light] body.inferno-core .muted,html[data-nz-light] body.inferno-core .side-status small{color:var(--nz-ink-muted)}
html[data-nz-light] body.inferno-core :is(.lb-badge,.status-pill,.badge){color:var(--nz-ink);border-color:var(--nz-line)}
html[data-nz-light] body.inferno-core .login-box,html[data-nz-light] body.inferno-core .quick-dialog{box-shadow:0 24px 50px #4b527c25}
/* Palette picker */
.nz-theme-picker{position:relative;display:flex;flex:0 0 auto;z-index:30}
.nz-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:35px;padding:7px 10px;border-radius:11px;background:var(--nz-surface-2,#241623);border:1px solid var(--nz-line,#684257);color:var(--nz-ink,#fff);font-size:11px;font-weight:750;white-space:nowrap}
.nz-theme-toggle:hover,.nz-theme-toggle:focus-visible{border-color:var(--nz-accent,#ef4770);outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--nz-accent,#ef4770) 15%,transparent)}
.nz-theme-current-dot{width:11px;height:11px;border-radius:50%;border:1px solid #0003;flex-shrink:0}
.nz-theme-popover{position:absolute;top:calc(100% + 12px);right:0;width:min(345px,calc(100vw - 22px));max-height:min(72vh,600px);overflow:auto;padding:15px;border:1px solid var(--nz-line,#684257);border-radius:17px;box-shadow:0 24px 70px #0009;background:var(--nz-surface,#201722);color:var(--nz-ink,#fff);z-index:110}
.nz-theme-popover[hidden]{display:none!important}
.nz-theme-heading{display:flex;flex-direction:column;gap:3px;margin:0 0 12px;padding:1px 2px 10px;border-bottom:1px solid var(--nz-line,#684257)}
.nz-theme-heading strong{font-size:14px;letter-spacing:.1px}
.nz-theme-heading small{color:var(--nz-ink-muted,#c4aebd);font-size:11px}
.nz-theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.nz-theme-option{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 9px;border:1px solid var(--nz-line,#684257);border-radius:11px;background:var(--nz-surface-2,#281d2b);color:var(--nz-ink,#fff);font-size:11.5px;font-weight:650;text-align:left;transition:border-color .16s,background .16s,transform .16s}
.nz-theme-option:hover,.nz-theme-option:focus-visible{border-color:var(--nz-accent,#ef4770);background:color-mix(in srgb,var(--nz-accent,#ef4770) 12%,var(--nz-surface-2,#281d2b));outline:none}
.nz-theme-option.is-active{border-color:var(--nz-accent,#ef4770);background:color-mix(in srgb,var(--nz-accent,#ef4770) 21%,var(--nz-surface,#201722));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--nz-accent,#ef4770) 24%,transparent)}
.nz-theme-swatch{width:18px;height:18px;border-radius:6px;flex:0 0 18px;border:1px solid #0002}
.nz-theme-swatch-white{border-color:#9ca3b7}
.nz-theme-tip{margin:12px 2px 0;color:var(--nz-ink-muted,#c4aebd);font-size:10.5px;line-height:1.5}
.nz-theme-on-login{position:fixed;right:16px;top:14px;z-index:120}
@media(max-width:1200px){.nz-theme-toggle-name{display:none}}
@media(max-width:800px){.nz-theme-popover{right:-6px}.nz-theme-toggle{min-width:35px;padding:7px}.nz-theme-on-login .nz-theme-toggle-name{display:inline}}

.nz-theme-swatch-red,.nz-theme-current-dot[data-nz-current="red"]{background-color:#ef4770}
.nz-theme-swatch-purple,.nz-theme-current-dot[data-nz-current="purple"]{background-color:#a077ff}
.nz-theme-swatch-pink,.nz-theme-current-dot[data-nz-current="pink"]{background-color:#f26bc2}
.nz-theme-swatch-white,.nz-theme-current-dot[data-nz-current="white"]{background-color:#f3f5ff}
.nz-theme-swatch-green,.nz-theme-current-dot[data-nz-current="green"]{background-color:#35d99c}
.nz-theme-swatch-yellow,.nz-theme-current-dot[data-nz-current="yellow"]{background-color:#f3c746}
.nz-theme-swatch-blue,.nz-theme-current-dot[data-nz-current="blue"]{background-color:#538ef8}
.nz-theme-swatch-turquoise,.nz-theme-current-dot[data-nz-current="turquoise"]{background-color:#26cebd}
.nz-theme-swatch-sky,.nz-theme-current-dot[data-nz-current="sky"]{background-color:#57c5ff}
.nz-theme-swatch-lime,.nz-theme-current-dot[data-nz-current="lime"]{background-color:#a8df45}
.nz-theme-swatch-orange,.nz-theme-current-dot[data-nz-current="orange"]{background-color:#fb9952}
.nz-theme-swatch-indigo,.nz-theme-current-dot[data-nz-current="indigo"]{background-color:#757de9}
.nz-theme-swatch-amber,.nz-theme-current-dot[data-nz-current="amber"]{background-color:#e6b95a}
.nz-theme-swatch-mint,.nz-theme-current-dot[data-nz-current="mint"]{background-color:#6bdfb9}
.nz-theme-swatch-graphite,.nz-theme-current-dot[data-nz-current="graphite"]{background-color:#b7b9c9}

/* Nezerite.PW v3.6.3 | Complete gradient + tone coverage.
   This layer deliberately comes last so all legacy crimson gradients use the selected palette. */
html[data-nz-theme]{
  --nz-accent2:var(--nz-accent-deep);
  --nz-accent2-hi:var(--nz-accent-hi);
  --nz-gradient:linear-gradient(112deg,var(--nz-accent-hi),var(--nz-accent),var(--nz-accent2));
  --nz-gradient-soft:linear-gradient(117deg,var(--nz-surface-2),var(--nz-surface));
  --nz-shine:color-mix(in srgb,var(--nz-accent) 34%,transparent);
  --nz-shine2:color-mix(in srgb,var(--nz-accent2) 36%,transparent);
  --nz-overlay:color-mix(in srgb,var(--nz-accent) 11%,transparent);
  --nz-overlay2:color-mix(in srgb,var(--nz-accent2) 11%,transparent);
  scrollbar-color:color-mix(in srgb,var(--nz-accent) 40%,var(--nz-line)) var(--nz-back);
}
html[data-nz-theme] body.inferno-core{
 background:radial-gradient(ellipse 38% 60% at 93% -5%,var(--nz-overlay),transparent 76%),var(--nz-back);
 color:var(--nz-ink);
}
html[data-nz-theme] body.inferno-core:before{background:radial-gradient(ellipse 63% 55% at 82% 0%,var(--nz-overlay),transparent 76%)}
html[data-nz-theme] body.inferno-core a{accent-color:var(--nz-accent)}
html[data-nz-theme] body.inferno-core ::selection{background:var(--nz-shine);color:var(--nz-ink)}
/* Side panel, brand, navigation + separators */
html[data-nz-theme] body.inferno-core .sidebar{
 background:linear-gradient(175deg,color-mix(in srgb,var(--nz-accent) 11%,var(--nz-surface)) 0%,var(--nz-surface) 34%,var(--nz-back) 100%);
 border-right-color:var(--nz-line);box-shadow:inset -1px 0 var(--nz-overlay);
}
html[data-nz-theme] body.inferno-core .sidebar:before{background:radial-gradient(ellipse at 0 5%,var(--nz-shine),transparent 76%)}
html[data-nz-theme] body.inferno-core .sidebar:after{background:linear-gradient(90deg,transparent,var(--nz-accent),transparent)}
html[data-nz-theme] body.inferno-core .brand-mark{
 background:linear-gradient(143deg,var(--nz-accent-hi) 0%,var(--nz-accent) 36%,var(--nz-accent2) 75%,var(--nz-accent-deep) 100%);
 border-color:var(--nz-accent-hi);box-shadow:0 7px 28px var(--nz-shine),inset 0 1px #ffffff70;
 color:white;
}
html[data-nz-theme] body.inferno-core .mark-flash{background:var(--nz-accent2-hi);box-shadow:0 0 10px var(--nz-shine2)}
html[data-nz-theme] body.inferno-core .brand-dot,html[data-nz-theme] body.inferno-core .brand-text em{color:var(--nz-accent-hi);text-shadow:0 0 16px var(--nz-shine)}
html[data-nz-theme] body.inferno-core .brand-text small{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .sidebar-divider{background:linear-gradient(90deg,transparent,var(--nz-line),transparent)}
html[data-nz-theme] body.inferno-core .nav-link.active{
 color:var(--nz-ink);
 background:linear-gradient(104deg,color-mix(in srgb,var(--nz-accent) 25%,var(--nz-surface)) 0%,color-mix(in srgb,var(--nz-accent2) 17%,var(--nz-surface)) 65%,var(--nz-surface) 100%);
 border-color:color-mix(in srgb,var(--nz-accent) 62%,var(--nz-line));
 box-shadow:inset 0 1px color-mix(in srgb,var(--nz-accent-hi) 27%,transparent),0 6px 24px var(--nz-overlay);
}
html[data-nz-theme] body.inferno-core .nav-link.active:before{
 background:linear-gradient(180deg,var(--nz-accent-hi),var(--nz-accent2));box-shadow:0 0 14px var(--nz-shine);
}
html[data-nz-theme] body.inferno-core .nav-link.active>.ui-icon{color:var(--nz-accent-hi);filter:drop-shadow(0 0 6px var(--nz-shine))}
html[data-nz-theme] body.inferno-core .nav-link:hover{background:var(--nz-overlay);border-color:var(--nz-shine);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .nav-link .nav-arrow{color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .side-bottom{background:var(--nz-gradient-soft);border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .side-server-icon{background:var(--nz-overlay);border-color:var(--nz-shine);color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .side-bottom .dot{background:var(--nz-accent2);box-shadow:0 0 14px var(--nz-shine2)}
/* Header and common controls */
html[data-nz-theme] body.inferno-core .topbar{
 background:linear-gradient(112deg,color-mix(in srgb,var(--nz-accent) 15%,var(--nz-surface)) 0%,var(--nz-surface) 37%,color-mix(in srgb,var(--nz-accent2) 18%,var(--nz-surface)) 100%);
 border-color:color-mix(in srgb,var(--nz-accent) 42%,var(--nz-line));
 box-shadow:0 1px 0 #ffffff14 inset,0 12px 45px #0003,0 0 38px var(--nz-overlay);
}
html[data-nz-theme] body.inferno-core .topbar:before{background:linear-gradient(102deg,transparent,var(--nz-overlay),transparent,var(--nz-overlay2),transparent)}
html[data-nz-theme] body.inferno-core .topbar:after{background:linear-gradient(90deg,transparent,var(--nz-accent2),var(--nz-accent),transparent)}
html[data-nz-theme] body.inferno-core .crumb span,html[data-nz-theme] body.inferno-core .crumb strong{color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .topbar-tag,html[data-nz-theme] body.inferno-core .utc-clock,html[data-nz-theme] body.inferno-core .quick-open,html[data-nz-theme] body.inferno-core .logout,html[data-nz-theme] body.inferno-core .quick-open kbd{
 color:var(--nz-ink);background:var(--nz-surface-2);border-color:var(--nz-line);
}
html[data-nz-theme] body.inferno-core .topbar-tag i{background:var(--nz-accent2-hi);box-shadow:0 0 12px var(--nz-shine2)}
html[data-nz-theme] body.inferno-core .avatar{background:var(--nz-gradient);border-color:var(--nz-accent-hi);box-shadow:0 0 18px var(--nz-shine);color:white}
html[data-nz-theme] body.inferno-core .quick-open:hover,html[data-nz-theme] body.inferno-core .logout:hover{background:var(--nz-overlay);border-color:var(--nz-accent)}
/* Large banner: update ALL its rings, grids and text, not only the hero fill */
html[data-nz-theme] body.inferno-core .inferno-hero{
 background:linear-gradient(112deg,color-mix(in srgb,var(--nz-accent) 22%,var(--nz-surface)) 0%,var(--nz-surface) 40%,color-mix(in srgb,var(--nz-accent2) 16%,var(--nz-surface)) 76%,var(--nz-surface-2) 100%);
 border-color:color-mix(in srgb,var(--nz-accent) 38%,var(--nz-line));
 box-shadow:inset 0 1px #ffffff1b,0 22px 74px #0006,0 0 50px var(--nz-overlay);
}
html[data-nz-theme] body.inferno-core .inferno-hero:before{background:linear-gradient(113deg,var(--nz-overlay),transparent 41%,transparent 59%,var(--nz-overlay2))}
html[data-nz-theme] body.inferno-core .inferno-hero:after{background:linear-gradient(90deg,transparent,var(--nz-accent-hi),transparent)}
html[data-nz-theme] body.inferno-core .hero-grid{background:linear-gradient(var(--nz-overlay) 1px,transparent 1px),linear-gradient(90deg,var(--nz-overlay2) 1px,transparent 1px);background-size:33px 33px}
html[data-nz-theme] body.inferno-core .hero-glow{background:radial-gradient(ellipse at 60% 45%,var(--nz-shine2),transparent 67%)}
html[data-nz-theme] body.inferno-core .hero-kicker,html[data-nz-theme] body.inferno-core .hero-foot,html[data-nz-theme] body.inferno-core .hero-art-caption,html[data-nz-theme] body.inferno-core .hero-art-caption b,html[data-nz-theme] body.inferno-core .hero-serial{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .hero-kicker-line,html[data-nz-theme] body.inferno-core .eyebrow-mark{background:var(--nz-gradient);box-shadow:0 0 14px var(--nz-shine)}
html[data-nz-theme] body.inferno-core .hero-copy h2{color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core .hero-copy h2 em{background:linear-gradient(95deg,var(--nz-accent-hi),var(--nz-accent2-hi),var(--nz-accent));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .hero-copy>p{color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .hero-foot-dot{background:var(--nz-accent2);box-shadow:0 0 12px var(--nz-shine2)}
html[data-nz-theme] body.inferno-core .hero-art:before{border-color:var(--nz-shine);box-shadow:0 0 0 38px var(--nz-overlay),0 0 0 76px var(--nz-overlay2)}
html[data-nz-theme] body.inferno-core .hero-orbit{border-color:var(--nz-shine2)}
html[data-nz-theme] body.inferno-core .orbit-outer{box-shadow:0 0 30px var(--nz-overlay2),inset 0 0 35px var(--nz-overlay)}
html[data-nz-theme] body.inferno-core .orbit-inner{background:conic-gradient(from 20deg,transparent 0 58%,var(--nz-overlay2) 82%,transparent 100%)}
html[data-nz-theme] body.inferno-core .hero-core{
 background:linear-gradient(145deg,var(--nz-accent-hi),var(--nz-accent) 35%,var(--nz-accent2) 69%,var(--nz-accent-deep));
 border-color:var(--nz-accent-hi);box-shadow:0 0 0 11px var(--nz-overlay),0 0 75px var(--nz-shine2),0 19px 40px #0b030d,inset 0 2px #ffffff99;
}
html[data-nz-theme] body.inferno-core .hero-core span{color:#fff;text-shadow:0 3px 15px #0005}
/* Card sets and stats: keep semantic ONLINE/OFFLINE green/red statuses intact. */
html[data-nz-theme] body.inferno-core :is(.stat,.stat:nth-child(2),.stat:nth-child(3),.panel,.perm-card,.monitor-card,.page-head,.side-bottom){
 background:var(--nz-gradient-soft);border-color:var(--nz-line);box-shadow:0 12px 32px #0003,inset 0 1px #ffffff09;
}
html[data-nz-theme] body.inferno-core .stat:before{background:radial-gradient(circle at 75% 15%,var(--nz-overlay),transparent 71%)}
html[data-nz-theme] body.inferno-core :is(.stat:after,.stat:nth-child(2):after,.stat:nth-child(3):after){background:var(--nz-surface-2);border-color:var(--nz-line);color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core :is(.stat:hover,.monitor-card:hover,.panel:hover){border-color:var(--nz-accent);box-shadow:0 14px 35px #0004,0 0 22px var(--nz-overlay)}
html[data-nz-theme] body.inferno-core .panel-head{background:linear-gradient(100deg,var(--nz-overlay),transparent 73%);border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .page-head:before{background:radial-gradient(circle at 92% -25%,var(--nz-shine2),transparent 30%),repeating-linear-gradient(135deg,transparent 0 11px,#ffffff05 11px 12px)}
html[data-nz-theme] body.inferno-core .page-head:after{color:var(--nz-shine)}
html[data-nz-theme] body.inferno-core .page-head h1 .red{background:var(--nz-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:var(--nz-accent)}
html[data-nz-theme] body.inferno-core .pill{background:var(--nz-surface-2);border-color:var(--nz-line);color:var(--nz-ink-muted)}
html[data-nz-theme] body.inferno-core .pill .dot{background:var(--nz-accent);box-shadow:0 0 12px var(--nz-shine)}
/* Buttons, focus rings, links */
html[data-nz-theme] body.inferno-core :is(.primary,.hero-primary,.simple-console-send){
 background:var(--nz-gradient);border-color:var(--nz-accent-hi);color:#fff;
 box-shadow:0 9px 24px var(--nz-shine),inset 0 1px #ffffff40;
}
html[data-nz-theme] body.inferno-core :is(.primary,.hero-primary):hover{box-shadow:0 12px 30px var(--nz-shine2);filter:brightness(1.06)}
html[data-nz-theme] body.inferno-core :is(.soft,.icon-button,.hero-secondary,.logout,.quick-open){
 background:linear-gradient(125deg,var(--nz-surface-2),var(--nz-surface));color:var(--nz-ink);border-color:var(--nz-line);
}
html[data-nz-theme] body.inferno-core :is(.soft,.icon-button,.hero-secondary,.logout,.quick-open):hover{
 background:linear-gradient(115deg,var(--nz-overlay),var(--nz-overlay2));border-color:var(--nz-accent);color:var(--nz-ink);
}
html[data-nz-theme] body.inferno-core :is(.quick>a,.panel-head a,.monitor-card a,.eyebrow,.hero-kicker,.chat-name){color:var(--nz-accent-hi)}
html[data-nz-theme] body.inferno-core .quick>a:hover{background:linear-gradient(90deg,var(--nz-overlay),transparent)}
html[data-nz-theme] body.inferno-core .quick strong{color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core :is(.stack-form input,.stack-form select,.login-form input,.inline-input,.inline-select,.control-bar,.terminal-head,.terminal-caption,.log-lines,.log-preview){
 background:var(--nz-control);color:var(--nz-ink);border-color:var(--nz-line);
}
html[data-nz-theme] body.inferno-core :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:var(--nz-accent)!important;box-shadow:0 0 0 3px var(--nz-overlay)!important}
/* Console, moderation, logs, guides, profile and newer modules */
html[data-nz-theme] body.inferno-core :is(.simple-console,.simple-console-header,.simple-console-form,.simple-console-foot,.quick-dialog,.terminal-head,.audit thead,.control-bar,.lbv358-row,.lbv358-stat,.lbv358-filter,.lbv358-tabs,.lbv359-row,.lbv360-row,.lb-card,.lb-stat,.lb-card-reason,.lb-card-meta span,.lb-detail,.lb-dialog,.audit2-entry,.audit-modern,.audit2-card,.profile-card,.sp-card,.staff-profile-card,.cmd-entry,.commands-entry,.command-log,.hb-reader,.hb-side,.hb-doc){
 background:var(--nz-gradient-soft);border-color:var(--nz-line);color:var(--nz-ink);
}
html[data-nz-theme] body.inferno-core :is(.simple-console-mark,.simple-console-step,.simple-console-send,.hb-new,.hb-categories button.active,.lbv358-tabs button.active,.lbv358-type.is-active,.lbv358-tab.is-active,.audit2-tab.is-active){
 background:var(--nz-gradient);border-color:var(--nz-accent-hi);color:#fff;
}
html[data-nz-theme] body.inferno-core :is(.lbv358-row:hover,.lbv359-row:hover,.lbv360-row:hover,.hb-doc:hover,.hb-categories button:hover,.audit2-entry:hover){border-color:var(--nz-accent);background:var(--nz-overlay)}
html[data-nz-theme] body.inferno-core :is(.hb-rule-card,.hb-prose blockquote,.hb-reader-body,.hb-side-top,.hb-reader-head,.hb-reader-foot,.hb-category,.hb-doc-title,.lbv358-reason,.lbv358-reason-text,.lbv358-meta,.lbv360-reason,.lb-card-reason,.lb-card-meta span,.lb-dialog-reason,.lb-meta-card,.audit2-detail,.profile-activity,.profile-stat){border-color:var(--nz-line);color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core :is(.simple-console-header,.terminal-head,.hb-reader-head,.hb-side-top){background:linear-gradient(105deg,var(--nz-overlay),var(--nz-surface));border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core .simple-console-mark{box-shadow:0 0 22px var(--nz-shine)}
html[data-nz-theme] body.inferno-core .simple-console:before{background:var(--nz-gradient)}
html[data-nz-theme] body.inferno-core :is(.simple-console-field label,.simple-console-heading h2,.simple-console-status,.quick-dialog-head,.quick-list a,.hb-article-title,.hb-prose,.lb-card-heading,.lb-card-reason,.lb-card-meta,.lbv358-reason,.audit td,.audit th){color:var(--nz-ink)}
html[data-nz-theme] body.inferno-core :is(.audit thead,.lbv358-toolbar,.lbv358-filters,.hb-categories,.hb-doc-meta){border-color:var(--nz-line)}
html[data-nz-theme] body.inferno-core :is(.hb-doc.selected,.hb-categories button.active,.lbv358-tabs button.active){box-shadow:inset 3px 0 0 var(--nz-accent)}
/* Login backdrop and decorations */
html[data-nz-theme] body.inferno-core .login-wrap{
 background:radial-gradient(ellipse 60% 70% at 78% 22%,var(--nz-shine),transparent 72%),radial-gradient(ellipse 50% 60% at 0 100%,var(--nz-overlay2),transparent 78%),var(--nz-back)
}
html[data-nz-theme] body.inferno-core .login-wrap:after{border-color:var(--nz-shine);box-shadow:0 0 0 70px var(--nz-overlay),0 0 0 150px var(--nz-overlay2)}
html[data-nz-theme] body.inferno-core .login-box{background:var(--nz-gradient-soft);border-color:var(--nz-line);box-shadow:0 30px 90px #0005,0 0 66px var(--nz-overlay)}
html[data-nz-theme] body.inferno-core .login-box:before{background:linear-gradient(90deg,transparent,var(--nz-accent),var(--nz-accent2),transparent)}
/* White theme overrides for legibility on all generic components */
html[data-nz-light="true"] body.inferno-core :is(.panel,.stat,.monitor-card,.perm-card,.page-head,.simple-console,.lbv358-row,.lb-card,.lb-stat,.lb-card-reason,.lbv358-stat,.lbv358-control,.hb-reader,.hb-side,.hb-doc,.quick-dialog,.audit2-entry,.profile-card,.sp-card){
 color:var(--nz-ink);box-shadow:0 5px 22px #52688f18;
}
html[data-nz-light="true"] body.inferno-core :is(.sidebar,.topbar,.inferno-hero,.panel,.stat,.monitor-card,.perm-card,.lb-card,.hb-reader,.hb-side,.hb-doc,.quick-dialog){color:var(--nz-ink)}
html[data-nz-light="true"] body.inferno-core :is(.hero-copy h2,.hero-copy>p,.topbar-title,.brand-text strong,.account strong,.stat strong,.stat span,.panel-head h2,.monitor-card strong,.nav-link.active,.quick strong,.lb-card-heading,.lb-card-reason,.hb-prose,.hb-article-title){color:var(--nz-ink)}
html[data-nz-light="true"] body.inferno-core .hero-copy h2 em{-webkit-text-fill-color:transparent}
html[data-nz-light="true"] body.inferno-core :is(.nav-link,.nav-link>.ui-icon,.nav-label,.brand-text small,.monitor-card small,.stat small,.topbar-tag,.utc-clock){color:var(--nz-ink-muted)}
/* Refreshed picker with 24 named themes and unlimited custom dual-color gradients. */
.nz-theme-picker{z-index:45}
.nz-theme-popover-v363{width:min(418px,calc(100vw - 22px));padding:0;max-height:min(82vh,740px);overflow:hidden;background:var(--nz-surface)}
.nz-theme-popover-v363>.nz-theme-heading{margin:0;padding:17px 17px 12px;background:linear-gradient(107deg,var(--nz-overlay),var(--nz-surface));border-color:var(--nz-line)}
.nz-theme-scroll{max-height:min(66vh,610px);overflow:auto;padding:12px 15px}
.nz-theme-category{margin:4px 1px 10px;color:var(--nz-ink-muted);text-transform:uppercase;font-size:10px;letter-spacing:1.5px;font-weight:800}
.nz-theme-category:not(:first-child){margin-top:17px}
.nz-theme-grid-v363{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.nz-theme-grid-v363 .nz-theme-option{min-width:0;flex-direction:column;align-items:stretch;justify-content:center;gap:7px;padding:8px;min-height:62px;font-size:10.5px;letter-spacing:0}
.nz-theme-grid-v363 .nz-theme-swatch{width:100%;height:19px;border-radius:7px;flex:0 0 auto;box-shadow:inset 0 1px #ffffff43}
.nz-theme-option.is-active{border-color:var(--nz-accent);box-shadow:0 0 0 1px var(--nz-accent),0 0 18px var(--nz-overlay)}
.nz-theme-custom{display:grid;gap:11px;padding:14px;border:1px solid var(--nz-line);border-radius:14px;background:var(--nz-surface-2)}
.nz-theme-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nz-theme-color-field{display:grid;gap:6px;color:var(--nz-ink-muted);font-size:11px}
.nz-theme-color-input{appearance:none;-webkit-appearance:none;height:39px;width:100%;padding:3px!important;border:1px solid var(--nz-line)!important;border-radius:9px!important;background:var(--nz-surface)!important;cursor:pointer}
.nz-theme-color-input::-webkit-color-swatch-wrapper{padding:0}.nz-theme-color-input::-webkit-color-swatch{border:0;border-radius:5px}
.nz-theme-color-field[hidden]{display:none}
.nz-theme-modes{display:flex;flex-wrap:wrap;gap:8px}
.nz-theme-mode{display:flex;align-items:center;gap:7px;color:var(--nz-ink);font-size:11px}
.nz-theme-mode input{accent-color:var(--nz-accent)}
.nz-theme-slider-label{display:flex;justify-content:space-between;gap:10px;color:var(--nz-ink-muted);font-size:11px}
.nz-theme-slider{width:100%;height:14px;accent-color:var(--nz-accent);cursor:pointer}
.nz-theme-reset{padding:9px 12px;border-radius:9px;border:1px solid var(--nz-line);background:var(--nz-surface);color:var(--nz-ink);font-size:11px;cursor:pointer}
.nz-theme-reset:hover{border-color:var(--nz-accent)}
.nz-theme-popover-v363>.nz-theme-tip{margin:0;padding:9px 15px 13px;border-top:1px solid var(--nz-line);background:var(--nz-surface)}
.nz-theme-current-dot{width:13px;height:13px;border:1px solid color-mix(in srgb,var(--nz-accent) 60%,var(--nz-line));box-shadow:0 0 8px var(--nz-shine)}
@media(max-width:780px){.nz-theme-popover-v363{width:min(365px,calc(100vw - 22px));right:-6px}.nz-theme-grid-v363{grid-template-columns:repeat(3,minmax(0,1fr))}.nz-theme-popover-v363 .nz-theme-scroll{max-height:min(64vh,560px)}}
/* White theme contrast fixes for original dark-only widgets */
html[data-nz-light="true"] body.inferno-core :is(.nav-link,.nav-link>.ui-icon,.nav-label,.monitor-card small,.quick small,.hero-foot,.hero-art-caption,.stat span,.side-status small,.crumb,.account small){color:#4f607a}
html[data-nz-light="true"] body.inferno-core :is(.monitor-metrics,.terminal-head,.terminal-caption,.lbv358-row,.lbv360-row,.hb-prose,.quick-dialog-head){color:#22324b}
html[data-nz-light="true"] body.inferno-core .status-pill.is-online{background:#d9f7e9;color:#136247;border-color:#75c1a4}
html[data-nz-light="true"] body.inferno-core .status-pill.is-offline{background:#fce5e9;color:#a52547;border-color:#e6a0b1}
html[data-nz-light="true"] body.inferno-core .inferno-hero{box-shadow:0 14px 35px #65799c1a,inset 0 1px #ffffff8c}
html[data-nz-theme="custom"] .nz-theme-custom{outline:1px solid var(--nz-accent);box-shadow:0 0 0 2px var(--nz-overlay)}
