/* JLR dashboard themes: shared furniture and state indicators. */
html[data-theme],html[data-theme] body{background:var(--theme-page);color:var(--text)}
html[data-theme] .glass{background:linear-gradient(180deg,var(--theme-panel-hi),var(--theme-panel-lo))}
html[data-theme] .kpi,
html[data-theme] .system-node{background:var(--card)}
html[data-theme] .status-pill,
html[data-theme] .user-chip,
html[data-theme] .field-selected-detail,
html[data-theme] .fleet-member,
html[data-theme] .target-card{background:var(--theme-soft)}
html[data-theme] .app-tabs{background:linear-gradient(180deg,var(--theme-panel-hi),var(--theme-panel-lo))}
html[data-theme] .app-tab{background:var(--theme-tab);border-color:var(--line);color:var(--muted)}
html[data-theme] .app-tab.active{border-color:var(--theme-accent-line);background:linear-gradient(180deg,var(--theme-tab-hi),var(--theme-tab-lo));color:#fff;box-shadow:inset 0 1px #ffffff20,0 0 0 1px color-mix(in srgb,var(--theme-accent) 35%,transparent)}
html[data-theme] .brand-mark{background:linear-gradient(180deg,var(--theme-accent-hi),var(--theme-accent-lo))}
html[data-theme] .purple{background:linear-gradient(180deg,var(--theme-accent-hi),var(--theme-accent) 48%,var(--theme-accent-lo))}
html[data-theme] .orb.active{outline-color:var(--theme-accent-hi)}
html[data-theme] .system-node.selected{outline-color:var(--theme-accent-hi)}
html[data-theme] .fleet-member.selected{border-color:color-mix(in srgb,var(--theme-accent) 50%,var(--line));background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-soft))}
html[data-theme] .fleet-setup-controls input,
html[data-theme] .fleet-fit-select,
html[data-theme] .quick-update input,
html[data-theme] .quick-update select,
html[data-theme] .calc-grid select,
html[data-theme] .calc-grid input[type="number"],
html[data-theme] .calc-grid input[type="text"],
html[data-theme] .calc-readout,
html[data-theme] .fleet-booster-summary,
html[data-theme] .fleet-booster-fit-inline,
html[data-theme] .scan-import-row select,
html[data-theme] .scan-paste-card textarea{background-color:var(--theme-input);border-color:var(--line);color:var(--text)}
html[data-theme] .fleet-setup-controls input:focus,
html[data-theme] .fleet-fit-select:focus,
html[data-theme] .quick-update input:focus,
html[data-theme] .quick-update select:focus,
html[data-theme] .calc-grid select:focus,
html[data-theme] .calc-grid input:focus,
html[data-theme] .scan-paste-card textarea:focus{border-color:var(--theme-accent-line);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent) 25%,transparent)}
html[data-theme] .fleet-member-toggle input,
html[data-theme] .calc-grid .check-label input{accent-color:var(--theme-accent)}
html[data-theme] .sound-menu{background:var(--theme-panel-lo);border-color:color-mix(in srgb,var(--theme-accent) 45%,var(--line))}
html[data-theme] .sound-menu-option.active,
html[data-theme] .sound-menu-option:hover{background:color-mix(in srgb,var(--theme-accent) 60%,#163b78);color:#fff}
html[data-theme] .market-kpi{background:linear-gradient(180deg,color-mix(in srgb,var(--theme-accent) 9%,var(--theme-panel-hi)),var(--theme-panel-lo));border-color:color-mix(in srgb,var(--theme-accent) 28%,var(--line))}
html[data-theme] .api-kpi{background:linear-gradient(180deg,color-mix(in srgb,#2784ff 9%,var(--theme-panel-hi)),var(--theme-panel-lo))}
html[data-theme] body{position:relative;background:var(--theme-page)}
html[data-theme] body::before,html[data-theme] body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:0}
html[data-theme] .app,html[data-theme] .login-shell{position:relative;z-index:1}
html[data-theme] .glass,html[data-theme] .nav-dropdown-bar,html[data-theme] .theme-control{transition:border-radius .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease}
@keyframes jlr-serpentis-pulse{0%,100%{opacity:.55;transform:scale(.85)}50%{opacity:1;transform:scale(1.08)}}
@keyframes jlr-neon-scan{0%,100%{transform:scaleX(.25);opacity:.25}50%{transform:scaleX(1);opacity:.9}}
@media(prefers-reduced-motion:reduce){html[data-theme] body::before,html[data-theme] body::after,
  html[data-theme] .nav-dropdown-bar::after,html[data-theme] .section-title::before{animation:none!important}}
html[data-theme] .kpi,
html[data-theme] .system-node,
html[data-theme] .fleet-member,
html[data-theme] .target-card,
html[data-theme] .appraisal-summary article,
html[data-theme] .appraisal-refine-summary article,
html[data-theme] .appraisal-results,
html[data-theme] .appraisal-table-wrap,
html[data-theme] .field-selected-detail{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,filter .16s ease;}
html[data-theme] .appraisal-field input,
html[data-theme] .appraisal-field select,
html[data-theme] .appraisal-paste,
html[data-theme] .calc-grid input,
html[data-theme] .calc-grid select,
html[data-theme] .fleet-fit-select{transition:border-color .14s ease,box-shadow .14s ease,background .14s ease,border-radius .14s ease;}
@keyframes jlr-glyph-float{0%,100%{transform:translateY(1px)}50%{transform:translateY(-2px)}}
@keyframes jlr-glyph-breathe{0%,100%{transform:scale(.9);opacity:.72}50%{transform:scale(1.06);opacity:1}}
@keyframes jlr-glyph-target{to{transform:rotate(360deg)}}
@keyframes jlr-glyph-solar{0%,100%{transform:scale(.92);filter:drop-shadow(0 0 3px #ffd84a66)}50%{transform:scale(1.06);filter:drop-shadow(0 0 8px #fff2a3aa)}}
@media(prefers-reduced-motion:reduce){html[data-theme] .theme-select-icon svg,
  html[data-theme="serpentis"] body::before,
  html[data-theme="edencom"] body::after,
  html[data-theme="neon"] body::before,
  html[data-theme="solar"] body::after{animation:none!important}}
html[data-theme] .orb.active{outline-color:var(--theme-accent-hi,#ce68ff);
  box-shadow:inset 0 2px #ffffff55,inset 0 -5px 9px #0005,0 0 0 1px color-mix(in srgb,var(--theme-accent,#9d34ed) 35%,transparent);}
html[data-theme] .system-node.selected{outline-color:var(--theme-accent-hi,#ce68ff);}
html[data-theme] .field-board .system-node.drag-over{outline-color:var(--theme-accent-hi,#ce68ff);}
html[data-theme] .brand-mark{background:linear-gradient(180deg,var(--theme-accent-hi,#ce68ff),var(--theme-accent-lo,#470099));
  border:1px solid color-mix(in srgb,var(--theme-accent-hi,#ce68ff) 45%,var(--line));
  box-shadow:inset 0 1px #ffffff28,0 0 10px color-mix(in srgb,var(--theme-accent,#9d34ed) 20%,transparent);}
html[data-theme] .status-pill,
html[data-theme] .user-chip{border-color:color-mix(in srgb,var(--theme-accent,#9d34ed) 22%,var(--line));
  background:color-mix(in srgb,var(--theme-panel-lo,#101018) 92%,transparent);}
.system-node[data-status="ready"],.target-card.green{--semantic-status:var(--green)}
.system-node[data-status="picked"],.target-card.yellow{--semantic-status:var(--yellow)}
.system-node[data-status="cleared"]{--semantic-status:var(--field-reset-color,#a78bfa)}
.system-node[data-status="ice"],.ice-system-node{--semantic-status:#59d4ff}
.target-card.cherry{--semantic-status:var(--cherry)}
.target-card.priority-first{--semantic-status:#45d979}
html[data-theme] .system-node[data-status="ready"],
html[data-theme] .system-node[data-status="picked"],
html[data-theme] .system-node[data-status="cleared"],
html[data-theme] .system-node[data-status="ice"],
html[data-theme] .ice-system-node,
html[data-theme] .target-card.green,
html[data-theme] .target-card.yellow,
html[data-theme] .target-card.cherry,
html[data-theme] .target-card.priority-first{border-color:color-mix(in srgb,var(--semantic-status) 52%,var(--line));}
html[data-theme] .system-node[data-status] .sys-state{color:color-mix(in srgb,var(--semantic-status,var(--text)) 74%,var(--text));}
html[data-theme] .target-card.green,
html[data-theme] .target-card.yellow,
html[data-theme] .target-card.cherry,
html[data-theme] .target-card.priority-first{background:
    linear-gradient(90deg,color-mix(in srgb,var(--semantic-status) 10%,transparent),transparent 45%),
    var(--theme-panel-lo,var(--panel));
  box-shadow:inset 3px 0 var(--semantic-status);}
html[data-theme] .target-card .target-rank{background:var(--theme-panel-lo,var(--panel));
  border-color:color-mix(in srgb,var(--semantic-status,#66717c) 52%,var(--line));}
html[data-theme] .field-selected-detail,
html[data-theme] .board-customize,
html[data-theme] .target-ore-control{border-color:color-mix(in srgb,var(--theme-accent,#9d34ed) 20%,var(--line));
  background:var(--theme-panel-lo,var(--panel));}

/* VOID — Event horizon observatory. */
html[data-theme="void"]{
  --bg:#09090e;
  --panel:#101018;
  --card:#15151f;
  --line:#303041;
  --text:#f2f2f7;
  --muted:#9c9cae;
  --purple:#9d34ed;
  --purple2:#470099;
  --theme-page:radial-gradient(circle at 30% 0,#171122 0,#0b0b11 38%,#08080d 100%);
  --theme-panel-hi:#14141e;
  --theme-panel-lo:#101018;
  --theme-soft:#111119;
  --theme-input:#0d0d14;
  --theme-tab:#101119;
  --theme-tab-hi:#4d236a;
  --theme-tab-lo:#2b173d;
  --theme-accent-hi:#ce68ff;
  --theme-accent:#9d34ed;
  --theme-accent-lo:#470099;
  --theme-accent-line:#9f4dff;
}
html[data-theme="void"] .kpi{
  border-radius:13px;
  background:radial-gradient(circle at 100% 0,#9d34ed0c,transparent 55%),var(--card);
}
html[data-theme="void"] body{
  background:radial-gradient(circle at 84% 74%,#25143f 0 1%,#0f0b18 7%,#08070d 16%,transparent 28%),
    radial-gradient(circle at 21% -8%,#2e164815 0,transparent 34%),
    #060609;
}
html[data-theme="void"] body::before{
  background-image:radial-gradient(circle,#fff 0 1px,transparent 1.3px),
    radial-gradient(circle,#b58cff 0 1px,transparent 1.35px),
    radial-gradient(circle,#fff 0 .7px,transparent 1px);
  background-size:237px 221px,331px 289px,153px 167px;
  background-position:17px 23px,91px 41px,32px 109px;
  opacity:.15;
}
html[data-theme="void"] body::after{
  background:radial-gradient(circle at 84% 74%,transparent 0 52px,#b37bff22 53px 54px,transparent 55px 73px,#8f5fe012 74px 75px,transparent 76px 105px,#7f52cf08 106px 107px,transparent 108px),
    radial-gradient(circle at 84% 74%,#000 0 35px,#010102 48px,#000a 75px,transparent 145px);
  opacity:1;
}
html[data-theme="void"] .topbar{
  background:linear-gradient(180deg,#0a0910cc,#07070b99);
  border-bottom:1px solid #ffffff0b;
  backdrop-filter:blur(8px);
}
html[data-theme="void"] .glass{
  border-color:#ffffff12;
  border:1px solid #ffffff10;
  border-radius:24px;
  background:linear-gradient(165deg,#17131ebd,#0a0910d9 72%);
  box-shadow:inset 0 1px #ffffff0b,0 22px 46px #0007;
}
html[data-theme="void"] .kpi, html[data-theme="void"] .system-node, html[data-theme="void"] .appraisal-summary article{
  border-color:#ffffff0d;
  border-radius:18px;
  background:radial-gradient(circle at 100% 0,#a765ff0c,transparent 48%),
    #0d0c13cc;
  box-shadow:none;
}
html[data-theme="void"] .kpi:hover, html[data-theme="void"] .system-node:hover{
  transform:translateY(-2px);
  border-color:#ab75ff35;
  box-shadow:0 12px 28px #0005;
}
html[data-theme="void"] .section-title{
  min-height:32px;
  border:0;
  background:transparent;
}
html[data-theme="void"] .section-title::before{
  content:"○";
  color:#b17eff;
  font-size:10px;
  text-shadow:0 0 10px #9e62ff66;
}
html[data-theme="void"] .section-title::after{
  content:"";
  width:96px;
  height:1px;
  margin-left:auto;
  background:linear-gradient(90deg,#9f68ff55,transparent);
}
html[data-theme="void"] .nav-dropdown-bar{
  border:1px solid #ffffff0c;
  border-radius:18px;
  background:#09080ed9;
  backdrop-filter:blur(8px);
  box-shadow:0 14px 34px #0007;
}
html[data-theme="void"] .nav-menu-trigger{
  border-color:#ffffff0d;
  border-radius:14px;
  background:#0c0b12aa;
}
html[data-theme="void"] .nav-menu-panel{
  border-radius:18px;
  border-color:#ffffff12;
  background:#0a0910f5;
}
html[data-theme="void"] .orb{
  border-radius:999px;
  box-shadow:inset 0 1px #ffffff18;
}
html[data-theme="void"] .appraisal-table th{
  background:#0b0a11f2;
}
html[data-theme="void"] .appraisal-table td{
  border-bottom-color:#ffffff08;
}
html[data-theme="void"] .theme-select-icon{
  border-radius:50%;
}
html[data-theme="void"] .theme-select-icon svg{
  animation:jlr-glyph-float 5s ease-in-out infinite;
}
html[data-theme="void"] .system-node[data-status="ready"], html[data-theme="void"] .system-node[data-status="picked"], html[data-theme="void"] .system-node[data-status="cleared"], html[data-theme="void"] .system-node[data-status="ice"], html[data-theme="void"] .ice-system-node{
  background:radial-gradient(circle at 50% 115%,color-mix(in srgb,var(--semantic-status) 18%,transparent),transparent 58%),
    #0d0c13cc;
  box-shadow:inset 0 -2px var(--semantic-status),0 10px 24px #0004;
}
html[data-theme="void"] .target-card{
  border-radius:18px;
  background:#0d0c13cc;
  box-shadow:0 12px 26px #0003;
}
html[data-theme="void"] .target-rank{
  border-radius:50%;
}
html[data-theme="void"] .field-selected-detail, html[data-theme="void"] .board-customize, html[data-theme="void"] .target-ore-control{
  border-radius:16px;
  background:#0d0c13cc;
}

/* CITADEL — Armored command bridge. */
html[data-theme="citadel"]{
  --bg:#061016;
  --panel:#0b171e;
  --card:#10232d;
  --line:#294856;
  --text:#eefbff;
  --muted:#8eabb7;
  --purple:#149dc1;
  --purple2:#07506d;
  --theme-page:radial-gradient(circle at 30% 0,#123242 0,#081821 40%,#050c11 100%);
  --theme-panel-hi:#102630;
  --theme-panel-lo:#0a1820;
  --theme-soft:#0d1d25;
  --theme-input:#07131a;
  --theme-tab:#091820;
  --theme-tab-hi:#165d75;
  --theme-tab-lo:#0c3445;
  --theme-accent-hi:#64dcff;
  --theme-accent:#16a7d0;
  --theme-accent-lo:#07506d;
  --theme-accent-line:#42c9ef;
}
html[data-theme="citadel"] .nav-menu-trigger{
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
}
html[data-theme="citadel"] body{
  background:linear-gradient(90deg,#0b1b23 0 2px,transparent 2px calc(100% - 2px),#0b1b23 calc(100% - 2px)),
    radial-gradient(circle at 50% -10%,#12384a,#061017 42%,#03080c 100%);
}
html[data-theme="citadel"] body::before{
  background-image:linear-gradient(30deg,#58cfff0b 12%,transparent 12.5%,transparent 87%,#58cfff0b 87.5%,#58cfff0b),linear-gradient(150deg,#58cfff0b 12%,transparent 12.5%,transparent 87%,#58cfff0b 87.5%,#58cfff0b),linear-gradient(30deg,#58cfff08 12%,transparent 12.5%,transparent 87%,#58cfff08 87.5%,#58cfff08),linear-gradient(150deg,#58cfff08 12%,transparent 12.5%,transparent 87%,#58cfff08 87.5%,#58cfff08);
  background-position:0 0,0 0,28px 49px,28px 49px;
  background:linear-gradient(30deg,#5ad9ff0c 12%,transparent 12.5%,transparent 87%,#5ad9ff0c 87.5%),
    linear-gradient(150deg,#5ad9ff0c 12%,transparent 12.5%,transparent 87%,#5ad9ff0c 87.5%);
  background-size:72px 126px;
  opacity:.5;
}
html[data-theme="citadel"] .topbar{
  border:1px solid #244856;
  border-left:5px solid #38b8db;
  border-right:5px solid #38b8db;
  border-radius:0;
  background:linear-gradient(180deg,#132c36,#08171e);
  box-shadow:inset 0 1px #75e7ff20,0 9px 20px #0007;
}
html[data-theme="citadel"] .glass, html[data-theme="citadel"] .kpi, html[data-theme="citadel"] .system-node, html[data-theme="citadel"] .appraisal-summary article{
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
  border-radius:0;
}
html[data-theme="citadel"] .glass{
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  border-radius:0;
  background-image:linear-gradient(135deg,#58d5ff0a 0 18px,transparent 18px),linear-gradient(315deg,#58d5ff08 0 18px,transparent 18px);
  border:1px solid #2f5c6b;
  background:linear-gradient(135deg,#51d9ff0c 0 20px,transparent 20px),
    linear-gradient(315deg,#51d9ff08 0 20px,transparent 20px),
    linear-gradient(180deg,#122832,#07171e);
  box-shadow:inset 4px 0 #2fb6d73b,inset -4px 0 #0c60753a,inset 0 1px #77e5ff16;
}
html[data-theme="citadel"] .section-title{
  border-bottom:2px solid #1d6f89;
  border:1px solid #2b5666;
  border-left:5px solid #42c9ef;
  border-radius:0;
  background:linear-gradient(90deg,#17627b33,#0b2028 42%,transparent);
  padding:7px 10px;
}
html[data-theme="citadel"] .section-title::before{
  width:6px;
  height:14px;
  border-left:2px solid #4ed5fa;
  border-top:2px solid #4ed5fa;
  border-bottom:2px solid #4ed5fa;
  opacity:.75;
  content:"▰";
  color:#59dafd;
  font-size:8px;
}
html[data-theme="citadel"] .kpi{
  border-radius:2px;
  border:1px solid #315563;
  border-left:4px solid #2d9fbd;
  background:linear-gradient(180deg,#102833,#0a1b23);
}
html[data-theme="citadel"] .kpi:hover{
  transform:none;
  border-left-color:#6fe2ff;
  box-shadow:inset 5px 0 #46cae93a;
}
html[data-theme="citadel"] .nav-dropdown-bar{
  border-top:2px solid #2caed0;
  border:2px solid #274e5c;
  border-radius:0;
  background:#081820;
  box-shadow:inset 0 3px #38b8db25,inset 0 -3px #0008;
}
html[data-theme="citadel"] .nav-menu-trigger, html[data-theme="citadel"] .nav-menu-panel .app-tab{
  clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
  border-radius:0;
}
html[data-theme="citadel"] input, html[data-theme="citadel"] select, html[data-theme="citadel"] textarea{
  border-radius:2px!important;
}
html[data-theme="citadel"] .appraisal-table th{
  border-bottom:2px solid #2b6578;
  background:#0f2731;
}
html[data-theme="citadel"] .appraisal-table tbody tr:hover{
  background:#1e789414;
}
html[data-theme="citadel"] .theme-select-icon svg{
  filter:drop-shadow(0 0 4px #62dcff66);
}
html[data-theme="citadel"] .system-node[data-status="ready"], html[data-theme="citadel"] .system-node[data-status="picked"], html[data-theme="citadel"] .system-node[data-status="cleared"], html[data-theme="citadel"] .system-node[data-status="ice"], html[data-theme="citadel"] .ice-system-node{
  background:linear-gradient(180deg,#102833,#0a1b23);
  box-shadow:inset 4px 0 var(--semantic-status),inset 0 1px #77e5ff12;
}
html[data-theme="citadel"] .target-card{
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  border-radius:0;
  background:linear-gradient(180deg,#102833,#0a1b23);
}
html[data-theme="citadel"] .target-card.green, html[data-theme="citadel"] .target-card.yellow, html[data-theme="citadel"] .target-card.cherry, html[data-theme="citadel"] .target-card.priority-first{
  box-shadow:inset 5px 0 var(--semantic-status);
}
html[data-theme="citadel"] .target-rank, html[data-theme="citadel"] .field-selected-detail, html[data-theme="citadel"] .board-customize, html[data-theme="citadel"] .target-ore-control{
  border-radius:1px;
}

/* INDUSTRIAL — Bolted service bay. */
html[data-theme="industrial"]{
  --bg:#120d09;
  --panel:#1a120c;
  --card:#241a12;
  --line:#523c2b;
  --text:#fff4e8;
  --muted:#baa18a;
  --purple:#d77a1e;
  --purple2:#6f3508;
  --theme-page:radial-gradient(circle at 30% 0,#3a2411 0,#171008 40%,#0d0906 100%);
  --theme-panel-hi:#2a1d12;
  --theme-panel-lo:#17100b;
  --theme-soft:#20160f;
  --theme-input:#140d08;
  --theme-tab:#181009;
  --theme-tab-hi:#7c4513;
  --theme-tab-lo:#3f220b;
  --theme-accent-hi:#ffb85a;
  --theme-accent:#df8428;
  --theme-accent-lo:#6f3508;
  --theme-accent-line:#f2a247;
}
html[data-theme="industrial"] body::before{
  background:repeating-linear-gradient(135deg,transparent 0 42px,#f0a23a0a 42px 49px,transparent 49px 91px);
  opacity:.7;
}
html[data-theme="industrial"] .orb{
  border-radius:5px;
}
html[data-theme="industrial"] .glass{
  border-radius:3px;
  background-image:radial-gradient(circle at 8px 8px,#ffc26866 0 1px,#3b2514 1.5px 2.5px,transparent 3px),radial-gradient(circle at calc(100% - 8px) 8px,#ffc26866 0 1px,#3b2514 1.5px 2.5px,transparent 3px),linear-gradient(180deg,var(--theme-panel-hi),var(--theme-panel-lo));
  box-shadow:inset 5px 0 #8b501b42,inset -1px 0 #ffc36b12,0 7px 18px #0005;
}
html[data-theme="industrial"] .kpi,html[data-theme="industrial"] .system-node{
  border-radius:2px;
  box-shadow:inset 0 -2px #0005;
}
html[data-theme="industrial"] body{
  background:repeating-linear-gradient(135deg,#0000 0 88px,#d9881807 89px 96px,#0000 97px 184px),
    radial-gradient(circle at 50% -10%,#402611,#120c08 42%,#090604 100%);
}
html[data-theme="industrial"] body::after{
  inset:0 auto 0 0;
  width:10px;
  background:repeating-linear-gradient(180deg,#e39a2f 0 16px,#20150c 16px 32px);
  opacity:.8;
}
html[data-theme="industrial"] .topbar{
  border-bottom:1px dashed #8b5a2b66;
  padding-bottom:5px;
  border:2px solid #59402b;
  border-radius:4px;
  background:radial-gradient(circle at 9px 9px,#ffc971 0 1px,#4b2d15 2px 3px,transparent 3.5px),
    radial-gradient(circle at calc(100% - 9px) 9px,#ffc971 0 1px,#4b2d15 2px 3px,transparent 3.5px),
    linear-gradient(180deg,#2b1d12,#171009);
  box-shadow:inset 0 2px #ffffff08,inset 0 -4px #0006;
}
html[data-theme="industrial"] .glass, html[data-theme="industrial"] .kpi, html[data-theme="industrial"] .system-node{
  border:2px solid #513a27;
  border-radius:3px;
  background:radial-gradient(circle at 8px 8px,#e4a64a7a 0 1px,#5b391d 1.5px 3px,transparent 3.5px),
    radial-gradient(circle at calc(100% - 8px) 8px,#e4a64a7a 0 1px,#5b391d 1.5px 3px,transparent 3.5px),
    linear-gradient(180deg,#2a1d13,#17100b);
  box-shadow:inset 0 2px #ffffff07,inset 0 -4px #0006,4px 5px 0 #07050355;
}
html[data-theme="industrial"] .section-title strong::before{
  content:"MAINT // ";
  color:#b47c37;
  font-size:.72em;
}
html[data-theme="industrial"] .nav-dropdown-bar{
  border:2px solid #59402b;
  border-radius:3px;
  background:#171009;
}
html[data-theme="industrial"] .nav-menu-trigger{
  border-radius:2px;
  border:1px solid #60462f;
  background:linear-gradient(180deg,#2a1d13,#17100b);
  box-shadow:inset 0 2px #ffffff08,inset 0 -3px #0007;
}
html[data-theme="industrial"] .orb, html[data-theme="industrial"] .board-tool{
  border-radius:3px;
  border-width:2px;
  box-shadow:inset 0 2px #ffffff18,inset 0 -4px #0007,2px 2px 0 #0006;
  transform:translateY(0);
}
html[data-theme="industrial"] .orb:active, html[data-theme="industrial"] .board-tool:active{
  transform:translateY(2px);
  box-shadow:inset 0 1px #ffffff0d,inset 0 -2px #0006;
}
html[data-theme="industrial"] input, html[data-theme="industrial"] select, html[data-theme="industrial"] textarea{
  border-radius:2px!important;
  border-width:2px!important;
}
html[data-theme="industrial"] .appraisal-table th{
  font-family:"Share Tech Mono",monospace;
  background:repeating-linear-gradient(135deg,#332114 0 12px,#291a10 12px 24px);
}
html[data-theme="industrial"] .theme-select-icon{
  border-radius:3px;
}
html[data-theme="industrial"] .theme-select-icon svg{
  transform:rotate(-8deg);
}
html[data-theme="industrial"] .section-title{
  background-image:repeating-linear-gradient(135deg,transparent 0 12px,#e58a2510 12px 16px);
  border:2px solid #59402b;
  border-radius:2px;
  background:linear-gradient(180deg,#2d2015,#1a120c);
  box-shadow:inset 0 1px #ffffff09,inset 0 -3px #0005;
  font-family:"Share Tech Mono",monospace;
}
html[data-theme="industrial"] .section-title::after{
  content:"";
  width:58px;
  height:8px;
  margin-left:auto;
  border:1px solid #6e4b26;
  background:repeating-linear-gradient(135deg,#e4962d 0 8px,#21160d 8px 16px);
  opacity:.75;
}
html[data-theme="industrial"] .system-node[data-status="ready"], html[data-theme="industrial"] .system-node[data-status="picked"], html[data-theme="industrial"] .system-node[data-status="cleared"], html[data-theme="industrial"] .system-node[data-status="ice"], html[data-theme="industrial"] .ice-system-node{
  border:2px solid color-mix(in srgb,var(--semantic-status) 42%,#513a27);
  border-radius:2px;
  background:radial-gradient(circle at 7px 7px,#e4a64a70 0 1px,#5b391d 1.5px 3px,transparent 3.5px),
    radial-gradient(circle at calc(100% - 7px) 7px,#e4a64a70 0 1px,#5b391d 1.5px 3px,transparent 3.5px),
    linear-gradient(180deg,#2a1d13,#17100b);
  box-shadow:inset 0 -4px var(--semantic-status),inset 0 2px #ffffff07,3px 4px 0 #07050345;
}
html[data-theme="industrial"] .system-node.selected{
  outline-style:dashed;
  outline-width:2px;
  outline-offset:2px;
}
html[data-theme="industrial"] .target-card{
  border:2px solid #513a27;
  border-radius:2px;
  background:radial-gradient(circle at 8px 8px,#e4a64a70 0 1px,#5b391d 1.5px 3px,transparent 3.5px),
    linear-gradient(180deg,#2a1d13,#17100b);
  box-shadow:inset 0 2px #ffffff07,inset 0 -4px #0006,3px 4px 0 #07050345;
}
html[data-theme="industrial"] .target-card.green, html[data-theme="industrial"] .target-card.yellow, html[data-theme="industrial"] .target-card.cherry, html[data-theme="industrial"] .target-card.priority-first{
  box-shadow:inset 5px 0 var(--semantic-status),inset 0 2px #ffffff07,inset 0 -4px #0006,3px 4px 0 #07050345;
}
html[data-theme="industrial"] .target-rank{
  border-radius:2px;
  border-width:2px;
  box-shadow:inset 0 2px #ffffff09,inset 0 -3px #0006;
}
html[data-theme="industrial"] .field-selected-detail, html[data-theme="industrial"] .board-customize, html[data-theme="industrial"] .target-ore-control{
  border:2px solid #513a27;
  border-radius:2px;
  background:linear-gradient(180deg,#281b12,#17100b);
  box-shadow:inset 0 1px #ffffff08,inset 0 -3px #0005;
}
html[data-theme="industrial"] .favorite-toggle{
  border-radius:2px;
}

/* SERPENTIS — Biotech scanner. */
html[data-theme="serpentis"]{
  --bg:#07100c;
  --panel:#0b1711;
  --card:#102219;
  --line:#294c3a;
  --text:#effff7;
  --muted:#8eae9d;
  --purple:#18a66c;
  --purple2:#075232;
  --theme-page:radial-gradient(circle at 30% 0,#123b29 0,#081a12 40%,#050d09 100%);
  --theme-panel-hi:#10291d;
  --theme-panel-lo:#0a1811;
  --theme-soft:#0d2017;
  --theme-input:#07140e;
  --theme-tab:#091a12;
  --theme-tab-hi:#176d48;
  --theme-tab-lo:#0b3d28;
  --theme-accent-hi:#69efad;
  --theme-accent:#1fba7b;
  --theme-accent-lo:#075232;
  --theme-accent-line:#48d99a;
}
html[data-theme="serpentis"] .status-pill,html[data-theme="serpentis"] .eyebrow{
  text-shadow:0 0 7px #39ff9b55;
}
html[data-theme="serpentis"] .glass{
  border-radius:22px 5px 22px 5px;
  border-color:#22573e;
  box-shadow:inset 0 0 24px #0b6d3c16,0 0 16px #00783a0c;
}
html[data-theme="serpentis"] .nav-menu-trigger{
  border-radius:18px 5px 18px 5px;
}
html[data-theme="serpentis"] .kpi{
  border-radius:15px 4px 15px 4px;
}
html[data-theme="serpentis"] body{
  background:radial-gradient(ellipse at 50% 42%,#103927 0,#081b12 34%,#030b07 76%),
    #020705;
}
html[data-theme="serpentis"] body::before{
  background:repeating-linear-gradient(180deg,transparent 0 7px,#44ed9809 7px 8px),
    linear-gradient(180deg,transparent 0 45%,#59ffae18 49%,#59ffae36 50%,#59ffae18 51%,transparent 55%);
  background-size:100% 8px,100% 180%;
  opacity:.9;
}
html[data-theme="serpentis"] body::after{
  opacity:.95;
  background:radial-gradient(circle at 50% 44%,transparent 0 18%,#2aff9d10 18.4% 18.9%,transparent 19.3% 37%,#25ea8b0a 37.4% 37.8%,transparent 38.2% 61%,#1ed27a07 61.4% 61.8%,transparent 62.2%),
    radial-gradient(ellipse at center,transparent 0 55%,#001108aa 100%);
}
html[data-theme="serpentis"] .topbar, html[data-theme="serpentis"] .glass{
  border:1px solid #25573f;
  border-radius:28px 7px 28px 7px;
  background:linear-gradient(145deg,#133123dd,#07160fef);
  box-shadow:inset 0 0 28px #0f7c4618,0 0 20px #007a3a0c;
}
html[data-theme="serpentis"] .kpi, html[data-theme="serpentis"] .system-node, html[data-theme="serpentis"] .appraisal-summary article{
  border-radius:22px 5px 22px 5px;
  border-color:#285840;
  background:radial-gradient(circle at 10% 20%,#4affad0c,transparent 20%),
    #0b1e15;
}
html[data-theme="serpentis"] .kpi:hover, html[data-theme="serpentis"] .system-node:hover{
  transform:translateY(-1px) scale(1.01);
  box-shadow:0 0 22px #21d87d1c,inset 0 0 18px #35ea8d0c;
}
html[data-theme="serpentis"] .section-title{
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,#1b704a2e,transparent 70%);
}
html[data-theme="serpentis"] .section-title::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:#60fbb2;
  box-shadow:0 0 0 5px #37da8b18,0 0 13px #47f7a0;
  animation:jlr-serpentis-pulse 2s ease-in-out infinite;
}
html[data-theme="serpentis"] .nav-dropdown-bar{
  border-radius:24px 7px 24px 7px;
  border-color:#27593f;
  background:#081a11e8;
}
html[data-theme="serpentis"] .nav-menu-trigger, html[data-theme="serpentis"] .nav-menu-panel .app-tab{
  border-radius:18px 5px 18px 5px;
}
html[data-theme="serpentis"] input, html[data-theme="serpentis"] select, html[data-theme="serpentis"] textarea{
  border-radius:18px 5px 18px 5px!important;
}
html[data-theme="serpentis"] .orb{
  border-radius:999px;
}
html[data-theme="serpentis"] .appraisal-table tbody tr:hover{
  background:#37df8a0c;
}
html[data-theme="serpentis"] .theme-select-icon svg{
  animation:jlr-glyph-breathe 2.4s ease-in-out infinite;
}
html[data-theme="serpentis"] .system-node[data-status="ready"], html[data-theme="serpentis"] .system-node[data-status="picked"], html[data-theme="serpentis"] .system-node[data-status="cleared"], html[data-theme="serpentis"] .system-node[data-status="ice"], html[data-theme="serpentis"] .ice-system-node{
  background:radial-gradient(circle at 18% 18%,color-mix(in srgb,var(--semantic-status) 13%,transparent),transparent 28%),
    #0b1e15;
  box-shadow:inset 0 0 20px color-mix(in srgb,var(--semantic-status) 12%,transparent),inset 0 -2px var(--semantic-status);
}
html[data-theme="serpentis"] .target-card{
  border-radius:22px 5px 22px 5px;
  background:#0b1e15;
}
html[data-theme="serpentis"] .target-card.green, html[data-theme="serpentis"] .target-card.yellow, html[data-theme="serpentis"] .target-card.cherry, html[data-theme="serpentis"] .target-card.priority-first{
  box-shadow:inset 0 0 22px color-mix(in srgb,var(--semantic-status) 12%,transparent),inset 3px 0 var(--semantic-status);
}
html[data-theme="serpentis"] .target-rank{
  border-radius:50%;
}
html[data-theme="serpentis"] .field-selected-detail, html[data-theme="serpentis"] .board-customize, html[data-theme="serpentis"] .target-ore-control{
  border-radius:18px 5px 18px 5px;
}

/* BLOOD — Ritual cathedral. */
html[data-theme="blood"]{
  --bg:#020102;
  --panel:#080306;
  --card:#100509;
  --line:#3c101a;
  --text:#f4e8ea;
  --muted:#8f6f76;
  --purple:#870d28;
  --purple2:#260108;
  --theme-page:radial-gradient(ellipse at 50% -16%,#2c000a 0,#090205 34%,#020102 74%);
  --theme-panel-hi:#15060b;
  --theme-panel-lo:#070205;
  --theme-soft:#0d0407;
  --theme-input:#050103;
  --theme-tab:#090205;
  --theme-tab-hi:#4a0a18;
  --theme-tab-lo:#180207;
  --theme-accent-hi:#d63d5c;
  --theme-accent:#970f2e;
  --theme-accent-lo:#260108;
  --theme-accent-line:#bc2445;
}
html[data-theme="blood"] body::after{
  background:linear-gradient(135deg,transparent 0 47%,#50091816 47.3% 47.8%,transparent 48.1%),
  linear-gradient(45deg,transparent 0 47%,#50091816 47.3% 47.8%,transparent 48.1%),
  radial-gradient(ellipse at center,transparent 0 48%,#0009 100%);
  background-size:170px 170px,170px 170px,100% 100%;
  opacity:.85;
}
html[data-theme="blood"] .glass:where(section,article){
  background-image:linear-gradient(135deg,#6e0d2210,transparent 28%),linear-gradient(315deg,#6e0d220b,transparent 24%);
}
html[data-theme="blood"] .kpi{
  border-radius:0 12px 0 12px;
  border-color:#4c101e;
  background:linear-gradient(145deg,#26071355,transparent 44%),var(--card);
}
html[data-theme="blood"] .kpi span,html[data-theme="blood"] .section-title strong{
  font-family:Rajdhani,Segoe UI,sans-serif;
  letter-spacing:.14em;
}
html[data-theme="blood"] .brand-mark{
  clip-path:polygon(50% 0,100% 28%,82% 100%,18% 100%,0 28%);
  border-radius:0;
}
html[data-theme="blood"] body{
  background:linear-gradient(90deg,transparent calc(50% - 1px),#6c0b2012 calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)),
    radial-gradient(ellipse at 50% -12%,#290009,#080205 40%,#010101 84%);
}
html[data-theme="blood"] body::before{
  background:repeating-linear-gradient(118deg,transparent 0 112px,#5f071716 113px 115px,transparent 116px 228px),
    repeating-linear-gradient(62deg,transparent 0 112px,#5f07170d 113px 115px,transparent 116px 228px);
  opacity:.7;
}
html[data-theme="blood"] .topbar{
  border:1px solid #4d0e1d;
  border-top:3px solid #72142b;
  border-radius:0 18px 0 18px;
  background:linear-gradient(180deg,#15050a,#050103);
  box-shadow:0 12px 34px #000a,inset 0 1px #9c26411c;
}
html[data-theme="blood"] .glass{
  border-color:#541221;
  border:1px solid #48101d;
  border-radius:0 20px 0 20px;
  background:linear-gradient(135deg,#6f0c2010,transparent 27%),
    linear-gradient(315deg,#6f0c2009,transparent 24%),
    linear-gradient(180deg,#13050a,#050103);
  box-shadow:inset 0 0 34px #44000e30,0 14px 34px #0009;
}
html[data-theme="blood"] .kpi, html[data-theme="blood"] .system-node, html[data-theme="blood"] .appraisal-summary article{
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  border-radius:0;
  border-color:#4b1020;
  background:linear-gradient(145deg,#2c071455,transparent 48%),#0d0307;
}
html[data-theme="blood"] .section-title{
  border-bottom-color:#65172a;
  position:relative;
  border:0;
  border-bottom:1px solid #68172b;
  border-radius:0;
  background:linear-gradient(90deg,#500b1c2c,transparent 58%);
  font-family:Rajdhani,Segoe UI,sans-serif;
  letter-spacing:.14em;
}
html[data-theme="blood"] .section-title::before{
  content:"◆";
  color:#9f2441;
  font-size:9px;
}
html[data-theme="blood"] .section-title::after{
  position:absolute;
  right:8px;
  content:"◆";
  margin-left:auto;
  color:#64152a;
  font-size:8px;
}
html[data-theme="blood"] .nav-dropdown-bar{
  border-bottom:2px solid #5b1023;
  border:1px solid #4a0e1d;
  border-radius:0 16px 0 16px;
  background:#070103ef;
  box-shadow:0 15px 42px #000c;
}
html[data-theme="blood"] .nav-menu-trigger{
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  border-radius:0;
}
html[data-theme="blood"] .orb{
  border-radius:0 12px 0 12px;
  font-family:Rajdhani,Segoe UI,sans-serif;
  letter-spacing:.1em;
}
html[data-theme="blood"] input, html[data-theme="blood"] select, html[data-theme="blood"] textarea{
  border-radius:0 10px 0 10px!important;
}
html[data-theme="blood"] .appraisal-table th{
  font-family:Rajdhani,Segoe UI,sans-serif;
  letter-spacing:.14em;
  background:#14040a;
}
html[data-theme="blood"] .theme-select-icon{
  border-radius:0 9px 0 9px;
}
html[data-theme="blood"] .theme-select-icon svg{
  filter:drop-shadow(0 0 5px #9e1838);
}
html[data-theme="blood"] .system-node[data-status="ready"], html[data-theme="blood"] .system-node[data-status="picked"], html[data-theme="blood"] .system-node[data-status="cleared"], html[data-theme="blood"] .system-node[data-status="ice"], html[data-theme="blood"] .ice-system-node{
  background:linear-gradient(145deg,#2c071450,transparent 48%),#0d0307;
  box-shadow:inset 0 -3px var(--semantic-status),inset 0 0 24px #43000d24;
}
html[data-theme="blood"] .target-card{
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  border-radius:0;
  background:#0d0307;
}
html[data-theme="blood"] .target-card.green, html[data-theme="blood"] .target-card.yellow, html[data-theme="blood"] .target-card.cherry, html[data-theme="blood"] .target-card.priority-first{
  box-shadow:inset 0 -3px var(--semantic-status),inset 3px 0 color-mix(in srgb,var(--semantic-status) 45%,#54101f);
}
html[data-theme="blood"] .target-rank{
  border-radius:0 10px 0 10px;
  background:#090205;
}
html[data-theme="blood"] .field-selected-detail, html[data-theme="blood"] .board-customize, html[data-theme="blood"] .target-ore-control{
  border-radius:0 12px 0 12px;
  background:#0d0307;
}

/* ANGEL — Analog flight deck. */
html[data-theme="angel"]{
  --bg:#0d0d0b;
  --panel:#171612;
  --card:#222019;
  --line:#514a39;
  --text:#fff9e9;
  --muted:#b8ad91;
  --purple:#c68a25;
  --purple2:#67420b;
  --theme-page:radial-gradient(circle at 30% 0,#38301b 0,#17150d 40%,#0b0b08 100%);
  --theme-panel-hi:#292519;
  --theme-panel-lo:#17150f;
  --theme-soft:#201d15;
  --theme-input:#13110c;
  --theme-tab:#18160f;
  --theme-tab-hi:#73541a;
  --theme-tab-lo:#3e2d0c;
  --theme-accent-hi:#ffd46c;
  --theme-accent:#d9a13c;
  --theme-accent-lo:#67420b;
  --theme-accent-line:#efbd55;
}
html[data-theme="angel"] body::after{
  background:repeating-linear-gradient(90deg,transparent 0 139px,#f0bd4d0b 140px 141px),linear-gradient(115deg,transparent 0 64%,#d4962510 64.2% 64.7%,transparent 65%);
  opacity:.8;
}
html[data-theme="angel"] .glass{
  border:1px solid #665c42;
  border-radius:6px;
  background-image:linear-gradient(180deg,#fff8d607,transparent 24%),repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 4px);
  box-shadow:inset 0 0 0 1px #d3a64c0b,inset 0 -3px #0005,0 5px 14px #0005;
}
html[data-theme="angel"] .kpi{
  border-radius:6px;
  box-shadow:inset 0 0 0 1px #d8a94a0b;
}
html[data-theme="angel"] .orb{
  box-shadow:inset 0 1px #fff6,inset 0 -6px 12px #0007,0 2px 6px #0008;
  border-radius:6px;
}
html[data-theme="angel"] body{
  background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 5px),
    linear-gradient(145deg,#282316,#12110c 48%,#090907 100%);
}
html[data-theme="angel"] body::before{
  background:linear-gradient(90deg,transparent 0 13%,#c69a3e0b 13.1% 13.25%,transparent 13.4% 86%,#c69a3e0b 86.1% 86.25%,transparent 86.4%),
    repeating-linear-gradient(90deg,transparent 0 118px,#d6a74008 119px 120px);
  opacity:.8;
}
html[data-theme="angel"] .topbar, html[data-theme="angel"] .glass{
  border:1px solid #625942;
  border-radius:7px;
  background:linear-gradient(180deg,#ffffff05,transparent 28%),
    repeating-linear-gradient(0deg,#ffffff018 0 1px,transparent 1px 4px),
    linear-gradient(180deg,#28261d,#16150f);
  box-shadow:inset 0 1px #f8dd9a1f,inset 0 -3px #0007,0 6px 18px #0005;
}
html[data-theme="angel"] .kpi, html[data-theme="angel"] .system-node{
  border:1px solid #5d5541;
  border-radius:7px;
  background:linear-gradient(180deg,#fff2bd05,transparent 22%),
    #201e17;
  box-shadow:inset 0 0 0 1px #dbad4e08,inset 0 -2px #0004;
}
html[data-theme="angel"] .section-title{
  border-bottom-style:dashed;
  border:0;
  border-bottom:1px dashed #846b37;
  border-radius:0;
  background:transparent;
  font-family:"Share Tech Mono",monospace;
}
html[data-theme="angel"] .section-title::before{
  content:"//";
  color:#d3aa51;
  letter-spacing:-2px;
}
html[data-theme="angel"] .section-title::after{
  font-size:11px;
  letter-spacing:-2px;
  content:"CH";
  margin-left:auto;
  padding:1px 4px;
  border:1px solid #5c4d2b;
  border-radius:2px;
  color:#9c814a;
  font:700 6px "Share Tech Mono",monospace;
}
html[data-theme="angel"] .nav-dropdown-bar{
  border:1px solid #625943;
  border-radius:7px;
  background:#17160ff0;
}
html[data-theme="angel"] .nav-menu-trigger{
  border-radius:5px;
  background:linear-gradient(180deg,#28261d,#17160f);
  box-shadow:inset 0 1px #f7dfa517,inset 0 -2px #0005;
}
html[data-theme="angel"] .orb, html[data-theme="angel"] .board-tool{
  border-radius:5px;
  box-shadow:inset 0 2px #ffffff20,inset 0 -5px 9px #0008,0 2px 4px #0007;
}
html[data-theme="angel"] input, html[data-theme="angel"] select, html[data-theme="angel"] textarea{
  border-radius:4px!important;
  font-family:"Share Tech Mono",monospace;
}
html[data-theme="angel"] .appraisal-table th, html[data-theme="angel"] .appraisal-table td{
  font-family:"Share Tech Mono",monospace;
}
html[data-theme="angel"] .theme-select-icon{
  border-radius:4px;
}
html[data-theme="angel"] .theme-select-icon svg{
  transform:scale(.92);
}
html[data-theme="angel"] .system-node[data-status="ready"], html[data-theme="angel"] .system-node[data-status="picked"], html[data-theme="angel"] .system-node[data-status="cleared"], html[data-theme="angel"] .system-node[data-status="ice"], html[data-theme="angel"] .ice-system-node{
  background:linear-gradient(180deg,#fff2bd05,transparent 22%),#201e17;
  box-shadow:inset 0 -3px var(--semantic-status),inset 0 1px #f8dd9a16;
}
html[data-theme="angel"] .target-card{
  border-radius:7px;
  background:#201e17;
}
html[data-theme="angel"] .target-card.green, html[data-theme="angel"] .target-card.yellow, html[data-theme="angel"] .target-card.cherry, html[data-theme="angel"] .target-card.priority-first{
  box-shadow:inset 4px 0 var(--semantic-status),inset 0 -2px #0005;
}
html[data-theme="angel"] .target-rank{
  border-radius:50%;
  border-width:2px;
  box-shadow:inset 0 0 0 3px #17150f;
}
html[data-theme="angel"] .field-selected-detail, html[data-theme="angel"] .board-customize, html[data-theme="angel"] .target-ore-control{
  border-radius:6px;
  background:#201e17;
}

/* EDENCOM — Tactical radar. */
html[data-theme="edencom"]{
  --bg:#060b14;
  --panel:#0a1422;
  --card:#0f2033;
  --line:#29466a;
  --text:#f0f7ff;
  --muted:#8fa8c8;
  --purple:#247ce8;
  --purple2:#0b397d;
  --theme-page:radial-gradient(circle at 30% 0,#12365f 0,#081629 42%,#040912 100%);
  --theme-panel-hi:#102742;
  --theme-panel-lo:#091525;
  --theme-soft:#0c1c31;
  --theme-input:#06101d;
  --theme-tab:#081526;
  --theme-tab-hi:#1d599d;
  --theme-tab-lo:#103667;
  --theme-accent-hi:#72b9ff;
  --theme-accent:#3289ee;
  --theme-accent-lo:#0b397d;
  --theme-accent-line:#5da8ff;
}
html[data-theme="edencom"] body::before{
  background-image:linear-gradient(#3a91ff0c 1px,transparent 1px),linear-gradient(90deg,#3a91ff0c 1px,transparent 1px);
  background-size:42px 42px;
  opacity:.6;
}
html[data-theme="edencom"] .glass{
  border-radius:1px;
  border-color:#315982;
  box-shadow:inset 3px 0 #3e8dff38,inset -1px 0 #7fc4ff13,0 7px 22px #0005;
}
html[data-theme="edencom"] .kpi{
  border-radius:1px;
  box-shadow:inset 2px 0 #3289ee2b;
}
html[data-theme="edencom"] .nav-menu-trigger{
  border-radius:1px;
}
html[data-theme="edencom"] body{
  background:linear-gradient(#398dff08 1px,transparent 1px),
    linear-gradient(90deg,#398dff08 1px,transparent 1px),
    radial-gradient(circle at 82% 18%,#153d6a 0,#07172b 28%,#030812 76%);
  background-size:44px 44px,44px 44px,auto;
}
html[data-theme="edencom"] body::after{
  opacity:.9;
  background:radial-gradient(circle at 82% 18%,transparent 0 55px,#6ab9ff1c 56px 57px,transparent 58px 87px,#6ab9ff12 88px 89px,transparent 90px 122px),
    conic-gradient(from 210deg at 82% 18%,transparent 0 22deg,#65b5ff18 23deg 29deg,transparent 30deg 360deg);
}
html[data-theme="edencom"] .topbar, html[data-theme="edencom"] .glass{
  border:1px solid #315a83;
  border-radius:1px;
  background:linear-gradient(180deg,#112946e8,#071525f4);
  box-shadow:inset 3px 0 #4b9eff32,inset -1px 0 #9fd3ff0b,0 8px 24px #0006;
}
html[data-theme="edencom"] .kpi, html[data-theme="edencom"] .system-node{
  position:relative;
  border-radius:1px;
  border-color:#31567d;
  background:#0c1c31;
}
html[data-theme="edencom"] .kpi::before, html[data-theme="edencom"] .system-node::before{
  content:"";
  position:absolute;
  inset:4px auto auto 4px;
  width:8px;
  height:8px;
  border-left:1px solid #71bbff;
  border-top:1px solid #71bbff;
  opacity:.65;
  pointer-events:none;
}
html[data-theme="edencom"] .section-title{
  border:0;
  border-left:3px solid #4f9ff3;
  border-radius:0;
  background:linear-gradient(90deg,#2a7cd91c,transparent 48%);
}
html[data-theme="edencom"] .section-title::before{
  width:9px;
  height:9px;
  border:2px solid #68b6ff;
  box-shadow:inset 0 0 0 2px #0a1422;
  content:"□";
  color:#7bc0ff;
}
html[data-theme="edencom"] .nav-dropdown-bar{
  border:1px solid #31577d;
  border-radius:1px;
  background:#071526f0;
}
html[data-theme="edencom"] input, html[data-theme="edencom"] select, html[data-theme="edencom"] textarea{
  border-radius:1px!important;
}
html[data-theme="edencom"] .nav-menu-panel .app-tab.active{
  box-shadow:inset 4px 0 #69b6ff;
}
html[data-theme="edencom"] .appraisal-table th{
  background:#0c2038;
  border-bottom:2px solid #326ca8;
}
html[data-theme="edencom"] .theme-select-icon svg{
  animation:jlr-glyph-target 3s linear infinite;
}
html[data-theme="edencom"] .system-node[data-status="ready"], html[data-theme="edencom"] .system-node[data-status="picked"], html[data-theme="edencom"] .system-node[data-status="cleared"], html[data-theme="edencom"] .system-node[data-status="ice"], html[data-theme="edencom"] .ice-system-node{
  background:#0c1c31;
  box-shadow:inset 4px 0 var(--semantic-status),inset 0 1px #7fc4ff10;
}
html[data-theme="edencom"] .target-card{
  border-radius:1px;
  background:#0c1c31;
}
html[data-theme="edencom"] .target-card.green, html[data-theme="edencom"] .target-card.yellow, html[data-theme="edencom"] .target-card.cherry, html[data-theme="edencom"] .target-card.priority-first{
  box-shadow:inset 4px 0 var(--semantic-status);
}
html[data-theme="edencom"] .target-rank, html[data-theme="edencom"] .field-selected-detail, html[data-theme="edencom"] .board-customize, html[data-theme="edencom"] .target-ore-control{
  border-radius:1px;
  background:#0c1c31;
}

/* AURORA — Floating liquid glass. */
html[data-theme="aurora"]{
  --bg:#0d0713;
  --panel:#160d1d;
  --card:#21132b;
  --line:#4a315c;
  --text:#fff3ff;
  --muted:#b59bc3;
  --purple:#d13ed4;
  --purple2:#68146f;
  --theme-page:radial-gradient(circle at 26% 0,#3b164c 0,#170b22 40%,#09060f 100%);
  --theme-panel-hi:#291334;
  --theme-panel-lo:#160c1d;
  --theme-soft:#1f1129;
  --theme-input:#120918;
  --theme-tab:#170c20;
  --theme-tab-hi:#74337f;
  --theme-tab-lo:#401b4b;
  --theme-accent-hi:#ff83f2;
  --theme-accent:#d94bdc;
  --theme-accent-lo:#68146f;
  --theme-accent-line:#ef67e5;
}
html[data-theme="aurora"] body::before{
  background:linear-gradient(115deg,transparent 15%,#ff75e51e 32%,#6f7dff18 47%,#64ffe316 62%,transparent 80%);
  opacity:.8;
}
html[data-theme="aurora"] body::after{
  background:radial-gradient(circle at 18% 78%,#6ef5df17 0 8%,transparent 27%),radial-gradient(circle at 83% 32%,#ff75e51c 0 10%,transparent 31%);
  opacity:.9;
}
html[data-theme="aurora"] .glass{
  border-radius:22px;
  background:linear-gradient(145deg,#ffffff0b,color-mix(in srgb,var(--theme-panel-hi) 72%,transparent) 28%,color-mix(in srgb,var(--theme-panel-lo) 88%,transparent));
  box-shadow:inset 0 1px #ffffff24,0 14px 36px #0004;
}
html[data-theme="aurora"] .kpi{
  border-radius:18px;
  background:linear-gradient(135deg,#ff8ce80a,#6ff5de08),var(--card);
  transition:transform .18s ease,box-shadow .18s ease;
}
html[data-theme="aurora"] .kpi:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px #0004,inset 0 1px #ffffff18;
}
html[data-theme="aurora"] .orb{
  border-radius:18px;
}
html[data-theme="aurora"] .section-title strong{
  font-family:Oxanium,Segoe UI,sans-serif;
}
html[data-theme="aurora"] body{
  background:radial-gradient(circle at 13% 80%,#6ff7df1b 0,transparent 27%),
    radial-gradient(circle at 84% 19%,#ff75e521 0,transparent 33%),
    radial-gradient(circle at 48% -10%,#744cff2a 0,transparent 38%),
    #0a0610;
}
html[data-theme="aurora"] .topbar, html[data-theme="aurora"] .glass{
  border:1px solid #ffffff19;
  border-radius:28px;
  background:linear-gradient(145deg,#ffffff10,#2816329e 38%,#140b1dcc);
  box-shadow:inset 0 1px #ffffff2b,0 18px 42px #0004;
}
html[data-theme="aurora"] .kpi, html[data-theme="aurora"] .system-node, html[data-theme="aurora"] .appraisal-summary article{
  border:1px solid #ffffff14;
  border-radius:22px;
  background:linear-gradient(135deg,#ff89e60d,#6cf4df0a),
    #1b1024b8;
}
html[data-theme="aurora"] .kpi:hover, html[data-theme="aurora"] .system-node:hover{
  transform:translateY(-4px) scale(1.012);
  box-shadow:0 15px 28px #0004,inset 0 1px #ffffff28;
}
html[data-theme="aurora"] .section-title{
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,#f67de71b,#7558ff15,#6ff1db0e,transparent 86%);
  padding-inline:12px;
}
html[data-theme="aurora"] .section-title::before{
  content:"✦";
  color:#ff9dec;
  text-shadow:0 0 12px #ff77e8;
}
html[data-theme="aurora"] .nav-dropdown-bar{
  border:1px solid #ffffff17;
  border-radius:24px;
  background:#160d20bf;
  backdrop-filter:blur(8px);
}
html[data-theme="aurora"] input, html[data-theme="aurora"] select, html[data-theme="aurora"] textarea{
  border-radius:18px!important;
}
html[data-theme="aurora"] .nav-menu-panel{
  border-radius:22px;
  background:#160d20ec;
  backdrop-filter:blur(8px);
}
html[data-theme="aurora"] .appraisal-table-wrap{
  border-radius:18px;
  overflow:hidden;
}
html[data-theme="aurora"] .theme-select-icon{
  border-radius:50%;
}
html[data-theme="aurora"] .theme-select-icon svg{
  animation:jlr-glyph-float 4s ease-in-out infinite;
}
html[data-theme="aurora"] .system-node[data-status="ready"], html[data-theme="aurora"] .system-node[data-status="picked"], html[data-theme="aurora"] .system-node[data-status="cleared"], html[data-theme="aurora"] .system-node[data-status="ice"], html[data-theme="aurora"] .ice-system-node{
  background:linear-gradient(135deg,color-mix(in srgb,var(--semantic-status) 10%,transparent),transparent 46%),
    linear-gradient(135deg,#ff89e60a,#6cf4df08),
    #1b1024b8;
  box-shadow:inset 0 1px #ffffff20,inset 0 -2px color-mix(in srgb,var(--semantic-status) 62%,transparent);
}
html[data-theme="aurora"] .target-card{
  border-radius:22px;
  background:#1b1024b8;
}
html[data-theme="aurora"] .target-card.green, html[data-theme="aurora"] .target-card.yellow, html[data-theme="aurora"] .target-card.cherry, html[data-theme="aurora"] .target-card.priority-first{
  box-shadow:inset 3px 0 color-mix(in srgb,var(--semantic-status) 72%,transparent),inset 0 1px #ffffff20;
}
html[data-theme="aurora"] .target-rank{
  border-radius:50%;
}
html[data-theme="aurora"] .field-selected-detail, html[data-theme="aurora"] .board-customize, html[data-theme="aurora"] .target-ore-control{
  border-radius:18px;
  background:#1b1024b8;
}

/* NEON — Cyberpunk HUD. */
html[data-theme="neon"]{
  --bg:#04060c;
  --panel:#090d17;
  --card:#0d1421;
  --line:#26374b;
  --text:#effcff;
  --muted:#7fa7b3;
  --purple:#ec42ff;
  --purple2:#681379;
  --theme-page:repeating-linear-gradient(0deg,#20f4ff0b 0 1px,transparent 1px 34px),repeating-linear-gradient(90deg,#ec42ff0a 0 1px,transparent 1px 34px),radial-gradient(circle at 18% 0,#4b0d5c 0,#0a1630 34%,#03060c 72%);
  --theme-panel-hi:#10192a;
  --theme-panel-lo:#070c16;
  --theme-soft:#0c1320;
  --theme-input:#050a12;
  --theme-tab:#08101c;
  --theme-tab-hi:#5d1c70;
  --theme-tab-lo:#182c53;
  --theme-accent-hi:#62f8ff;
  --theme-accent:#e044ff;
  --theme-accent-lo:#5d126f;
  --theme-accent-line:#42ecff;
}
html[data-theme="neon"] body::after{
  background:linear-gradient(90deg,#e840ff0d 0 1px,transparent 1px calc(100% - 1px),#51f2ff10 calc(100% - 1px)),radial-gradient(circle at 50% 0,#ed49ff24,transparent 40%);
  opacity:.9;
}
html[data-theme="neon"] .glass{
  border-radius:2px;
  border-color:color-mix(in srgb,var(--theme-accent-line) 45%,var(--line));
  box-shadow:inset 2px 0 #eb48ff45,inset -2px 0 #42f1ff30,0 0 15px #8420a617;
}
html[data-theme="neon"] .nav-menu-trigger,html[data-theme="neon"] .system-node,html[data-theme="neon"] .kpi{
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
  border-radius:0;
}
html[data-theme="neon"] .eyebrow,html[data-theme="neon"] .brand-kicker,html[data-theme="neon"] .section-title strong{
  text-shadow:0 0 9px color-mix(in srgb,var(--theme-accent-hi) 55%,transparent);
}
html[data-theme="neon"] .nav-dropdown-bar::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  bottom:1px;
  height:1px;
  background:linear-gradient(90deg,transparent,#f149ff,#5ff7ff,transparent);
  animation:jlr-neon-scan 3.8s ease-in-out infinite;
  opacity:.75;
  pointer-events:none;
}
html[data-theme="neon"] .kpi{
  transition:box-shadow .13s ease,filter .13s ease;
}
html[data-theme="neon"] .kpi:hover{
  box-shadow:inset 2px 0 #e044ff66,inset -2px 0 #42ecff55,0 0 18px #9b28cc2e;
  filter:brightness(1.1);
}
html[data-theme="neon"] .brand-mark{
  clip-path:polygon(0 0,82% 0,100% 30%,100% 100%,18% 100%,0 70%);
  border-radius:0;
}
html[data-theme="neon"] body{
  background:linear-gradient(#42efff12 1px,transparent 1px),
    linear-gradient(90deg,#e33cff0e 1px,transparent 1px),
    radial-gradient(circle at 20% -5%,#6c0c8338,#07142a 38%,#02050b 82%);
  background-size:34px 34px,34px 34px,auto;
}
html[data-theme="neon"] body::before{
  background-image:linear-gradient(#45efff18 1px,transparent 1px),linear-gradient(90deg,#e33cff14 1px,transparent 1px);
  mask-image:linear-gradient(to bottom,#000 0,#0009 58%,transparent 100%);
  background:linear-gradient(180deg,transparent 0 48%,#5ef6ff12 49%,#5ef6ff3a 50%,#5ef6ff12 51%,transparent 52%);
  background-size:100% 220%;
  opacity:.75;
}
html[data-theme="neon"] .topbar, html[data-theme="neon"] .glass{
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
  border-radius:0;
  border:1px solid #4e2c61;
  background:linear-gradient(90deg,#e840ff0c,transparent 18%,transparent 78%,#4af2ff0b),
    linear-gradient(180deg,#101829,#060b14);
  box-shadow:inset 3px 0 #e840ff55,inset -3px 0 #4bf2ff42,0 0 22px #8f22b31c;
}
html[data-theme="neon"] .kpi, html[data-theme="neon"] .system-node, html[data-theme="neon"] .appraisal-summary article{
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  border-radius:0;
  border-color:#39465b;
  background:linear-gradient(135deg,#e640ff0b,transparent 32%,#4cf1ff08),#0a101d;
}
html[data-theme="neon"] .kpi:hover, html[data-theme="neon"] .system-node:hover{
  transform:translateX(2px);
  box-shadow:inset 3px 0 #ec47ff77,inset -3px 0 #4df3ff66,0 0 24px #b22ee431;
}
html[data-theme="neon"] .section-title{
  background-image:linear-gradient(90deg,#e044ff10,transparent 38%,#42ecff0b);
  border:0;
  clip-path:polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,0 100%);
  border-radius:0;
  background:linear-gradient(90deg,#dc42ff1d,#0c1726 48%,#42eaff10);
}
html[data-theme="neon"] .section-title::before{
  content:">_";
  color:#63f5ff;
  font-family:"Share Tech Mono",monospace;
  text-shadow:0 0 9px #63f5ff;
}
html[data-theme="neon"] .section-title::after{
  content:"SYNC";
  margin-left:auto;
  color:#ef5cff;
  font:700 6px "Share Tech Mono",monospace;
  letter-spacing:.12em;
  text-shadow:0 0 8px #ef5cff;
}
html[data-theme="neon"] .nav-dropdown-bar{
  box-shadow:0 9px 28px #0008,inset 0 -1px #42edff30;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  border-radius:0;
  border:1px solid #374457;
  background:#070c15ec;
}
html[data-theme="neon"] input, html[data-theme="neon"] select, html[data-theme="neon"] textarea{
  border-radius:0!important;
}
html[data-theme="neon"] .orb{
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}
html[data-theme="neon"] .appraisal-table th{
  color:#78f8ff;
  background:#0c1423;
  border-bottom:1px solid #d94cf066;
}
html[data-theme="neon"] .appraisal-table tbody tr:hover{
  background:linear-gradient(90deg,#e849ff0d,#48efff0d);
}
html[data-theme="neon"] .theme-select-icon{
  border-radius:1px;
}
html[data-theme="neon"] .theme-select-icon svg{
  filter:drop-shadow(2px 0 #e744ff88) drop-shadow(-2px 0 #4af3ff88);
}
html[data-theme="neon"] .system-node[data-status="ready"], html[data-theme="neon"] .system-node[data-status="picked"], html[data-theme="neon"] .system-node[data-status="cleared"], html[data-theme="neon"] .system-node[data-status="ice"], html[data-theme="neon"] .ice-system-node{
  background:linear-gradient(135deg,#e640ff0b,transparent 32%,#4cf1ff08),#0a101d;
  box-shadow:inset 2px 0 #e840ff55,inset -2px 0 #4bf2ff42,inset 0 -3px var(--semantic-status);
}
html[data-theme="neon"] .target-card{
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  border-radius:0;
  background:#0a101d;
}
html[data-theme="neon"] .target-card.green, html[data-theme="neon"] .target-card.yellow, html[data-theme="neon"] .target-card.cherry, html[data-theme="neon"] .target-card.priority-first{
  box-shadow:inset 2px 0 #e840ff55,inset -2px 0 #4bf2ff42,inset 0 -3px var(--semantic-status);
}
html[data-theme="neon"] .target-rank, html[data-theme="neon"] .field-selected-detail, html[data-theme="neon"] .board-customize, html[data-theme="neon"] .target-ore-control{
  border-radius:0;
  background:#0a101d;
}

/* GLACIER — Faceted ice observatory. */
html[data-theme="glacier"]{
  --bg:#05101a;
  --panel:#0a1825;
  --card:#102536;
  --line:#33546b;
  --text:#f4fcff;
  --muted:#9ab8c8;
  --purple:#4fbfe8;
  --purple2:#155c7a;
  --theme-page:radial-gradient(circle at 82% -8%,#8ad8ff42 0,transparent 28%),radial-gradient(circle at 18% 10%,#3858a44a 0,transparent 34%),linear-gradient(145deg,#071927 0,#081322 48%,#030912 100%);
  --theme-panel-hi:#142b3c;
  --theme-panel-lo:#081722;
  --theme-soft:#0d202e;
  --theme-input:#06131d;
  --theme-tab:#0a1a26;
  --theme-tab-hi:#287da0;
  --theme-tab-lo:#173d68;
  --theme-accent-hi:#b7f0ff;
  --theme-accent:#55c8ef;
  --theme-accent-lo:#155c7a;
  --theme-accent-line:#91e6ff;
}
html[data-theme="glacier"] body::before{
  background:linear-gradient(127deg,transparent 0 18%,#b7efff0d 18.2% 19%,transparent 19.2% 42%,#79cfff0b 42.2% 43%,transparent 43.2% 68%,#d9f8ff0d 68.2% 69%,transparent 69.2%),linear-gradient(53deg,transparent 0 27%,#7ab5ff0a 27.2% 28%,transparent 28.2% 61%,#d4f6ff0a 61.2% 62%,transparent 62.2%);
  background-size:520px 420px,430px 510px;
  opacity:.8;
}
html[data-theme="glacier"] body::after{
  background:radial-gradient(circle at 12% 12%,#dff9ff22 0 1px,transparent 2px),radial-gradient(circle at 77% 31%,#dff9ff22 0 1px,transparent 2px);
  background-size:110px 100px,145px 125px;
  opacity:.5;
}
html[data-theme="glacier"] .nav-menu-trigger,html[data-theme="glacier"] .kpi{
  border-radius:12px;
  background-image:linear-gradient(145deg,#dff7ff0b,transparent 45%);
}
html[data-theme="glacier"] .glass{
  border-radius:14px;
  background:linear-gradient(145deg,#dff7ff0d,color-mix(in srgb,var(--theme-panel-lo) 84%,transparent));
  box-shadow:inset 0 1px #ecfbff38,inset 1px 0 #a9ddff1f,0 10px 30px #00101f38;
  background-image:linear-gradient(127deg,transparent 0 32%,#e1faff0a 32.2% 32.6%,transparent 32.8%),linear-gradient(43deg,transparent 0 71%,#bdeeff0b 71.2% 71.6%,transparent 71.8%),linear-gradient(145deg,#dff7ff0d,color-mix(in srgb,var(--theme-panel-lo) 84%,transparent));
}
html[data-theme="glacier"] .section-title::after{
  content:"◇";
  margin-left:auto;
  color:#baf0ff99;
  font-size:15px;
  text-shadow:0 0 10px #8cdeff55;
}
html[data-theme="glacier"] .kpi{
  border-radius:16px 4px 16px 4px;
  border-color:#75a9c64d;
  background:linear-gradient(145deg,#e7fbff0d,transparent 40%),var(--card);
}
html[data-theme="glacier"] .kpi strong{
  text-shadow:0 1px 8px #8edfff18;
}
html[data-theme="glacier"] body{
  background:linear-gradient(127deg,transparent 0 28%,#c7f3ff09 28.2% 28.7%,transparent 28.9% 69%,#aee8ff08 69.2% 69.7%,transparent 69.9%),
    radial-gradient(circle at 85% -8%,#a8e9ff4a 0,transparent 28%),
    linear-gradient(145deg,#071d2a,#06111c 52%,#020711);
}
html[data-theme="glacier"] .topbar, html[data-theme="glacier"] .glass{
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);
  border-radius:0;
  border:1px solid #7fb8d34a;
  background:linear-gradient(127deg,transparent 0 36%,#e9fbff0b 36.3% 36.7%,transparent 37%),
    linear-gradient(145deg,#e9fbff10,#10293aab 34%,#071722dc);
  box-shadow:inset 0 1px #f2fdff55,inset 1px 0 #bdefff22,0 15px 34px #00101f55;
}
html[data-theme="glacier"] .kpi, html[data-theme="glacier"] .system-node, html[data-theme="glacier"] .appraisal-summary article{
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 12px));
  border-radius:0;
  border-color:#75a9c65e;
  background:linear-gradient(145deg,#ebfcff10,transparent 38%),
    #102536cc;
}
html[data-theme="glacier"] .kpi:hover, html[data-theme="glacier"] .system-node:hover{
  transform:translateY(-2px);
  box-shadow:inset 0 1px #fff8,0 0 24px #85dbff1e;
}
html[data-theme="glacier"] .section-title{
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%);
  border-radius:0;
  border:1px solid #6ba4c13f;
  background:linear-gradient(100deg,#c7f1ff10,#102a3a 62%,transparent);
}
html[data-theme="glacier"] .section-title::before{
  content:"◇";
  color:#d7f7ff;
  text-shadow:0 0 12px #8edfff;
}
html[data-theme="glacier"] .nav-dropdown-bar{
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  border-radius:0;
  border-color:#6fadc951;
  background:#081722e6;
  backdrop-filter:blur(8px);
}
html[data-theme="glacier"] .nav-menu-trigger{
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 9px));
  border-radius:0;
}
html[data-theme="glacier"] .orb{
  border-color:#d9f7ff80;
  box-shadow:inset 0 2px #fff9,inset 0 -5px 10px #0b476855,0 3px 10px #00101f66;
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  border-radius:0;
}
html[data-theme="glacier"] input, html[data-theme="glacier"] select, html[data-theme="glacier"] textarea{
  border-radius:2px 12px 2px 12px!important;
}
html[data-theme="glacier"] .appraisal-table th{
  background:linear-gradient(145deg,#dff8ff0c,#122d3e);
}
html[data-theme="glacier"] .theme-select-icon{
  clip-path:polygon(50% 0,100% 28%,83% 100%,17% 100%,0 28%);
  border-radius:0;
}
html[data-theme="glacier"] .theme-select-icon svg{
  filter:drop-shadow(0 0 5px #bcf3ff88);
}
html[data-theme="glacier"] .system-node[data-status="ready"], html[data-theme="glacier"] .system-node[data-status="picked"], html[data-theme="glacier"] .system-node[data-status="cleared"], html[data-theme="glacier"] .system-node[data-status="ice"], html[data-theme="glacier"] .ice-system-node{
  background:linear-gradient(145deg,color-mix(in srgb,var(--semantic-status) 9%,transparent),transparent 38%),
    #102536cc;
  box-shadow:inset 0 1px #f2fdff45,inset -3px -3px color-mix(in srgb,var(--semantic-status) 55%,transparent);
}
html[data-theme="glacier"] .target-card{
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 12px));
  border-radius:0;
  background:#102536cc;
}
html[data-theme="glacier"] .target-card.green, html[data-theme="glacier"] .target-card.yellow, html[data-theme="glacier"] .target-card.cherry, html[data-theme="glacier"] .target-card.priority-first{
  box-shadow:inset -3px -3px color-mix(in srgb,var(--semantic-status) 58%,transparent),inset 0 1px #f2fdff45;
}
html[data-theme="glacier"] .target-rank{
  clip-path:polygon(50% 0,100% 26%,84% 100%,16% 100%,0 26%);
  border-radius:0;
}
html[data-theme="glacier"] .field-selected-detail, html[data-theme="glacier"] .board-customize, html[data-theme="glacier"] .target-ore-control{
  border-radius:2px 12px 2px 12px;
  background:#102536cc;
}

/* SOLAR — Orbital solar instrumentation. */
html[data-theme="solar"]{
  --bg:#090b0f;
  --panel:#11151a;
  --card:#181e24;
  --line:#53606a;
  --text:#fffdf3;
  --muted:#b7b5a5;
  --purple:#ffd84a;
  --purple2:#846700;
  --theme-page:radial-gradient(circle at 50% -10%,#fffbd6 0 2%,#ffe969 8%,#e3a812 17%,#30343a 36%,#0b0d11 68%);
  --theme-panel-hi:#22282f;
  --theme-panel-lo:#101419;
  --theme-soft:#181d22;
  --theme-input:#0d1115;
  --theme-tab:#13181d;
  --theme-tab-hi:#8a741f;
  --theme-tab-lo:#40370f;
  --theme-accent-hi:#fffbd0;
  --theme-accent:#ffd84a;
  --theme-accent-lo:#846700;
  --theme-accent-line:#fff08a;
}
html[data-theme="solar"] body::before{
  background:radial-gradient(circle at 50% -6%,#fff 0 2.5%,#fff7b8 4%,#ffe65d 9%,#f4bf1f 16%,#f4bf1f22 27%,transparent 45%);
  opacity:1;
}
html[data-theme="solar"] .glass{
  border-radius:18px;
  border-color:#fff1a94a;
  background:linear-gradient(180deg,#fff9cf0d,var(--theme-panel-hi) 22%,var(--theme-panel-lo));
  box-shadow:inset 0 1px #fffbd66b,inset 0 -1px #806b1930,0 12px 34px #0005;
}
html[data-theme="solar"] .kpi,html[data-theme="solar"] .system-node{
  border-radius:14px;
  box-shadow:inset 0 1px #fff7c72d;
}
html[data-theme="solar"] .orb{
  border-radius:999px;
  border-color:#fffbd08f;
}
html[data-theme="solar"] .orb:hover{
  box-shadow:inset 0 2px #fff,inset 0 -5px 9px #0004,0 0 20px #ffe26470;
}
html[data-theme="solar"] .topbar{
  border-bottom:1px solid #fff1a93f;
  box-shadow:0 8px 18px -16px #ffe66a;
}
html[data-theme="solar"] .section-title strong{
  text-shadow:0 0 12px #ffd84a38;
}
html[data-theme="solar"] .status-pill{
  border-color:#fff0a970;
  box-shadow:inset 0 1px #fffbd63d,0 0 12px #ffd84a12;
}
html[data-theme="solar"] .brand-mark{
  border-radius:50%;
  box-shadow:0 0 16px #ffd84a4f;
}
html[data-theme="solar"] .nav-menu-trigger{
  border-radius:14px;
}
html[data-theme="solar"] body{
  background:radial-gradient(circle at 50% -9%,#fff 0 2%,#fff8b7 4%,#ffe45b 9%,#d99f12 16%,#2b3036 34%,#090c10 70%);
}
html[data-theme="solar"] body::after{
  mask-image:linear-gradient(to bottom,#000 0,#0007 46%,transparent 78%);
  background:conic-gradient(from 0deg at 50% 0,#0000 0 7deg,#fff7a617 7deg 10deg,#0000 10deg 25deg,#ffd34212 25deg 28deg,#0000 28deg 45deg);
  opacity:.95;
}
html[data-theme="solar"] .topbar, html[data-theme="solar"] .glass{
  border:1px solid #f6df7c3f;
  border-radius:24px;
  background:linear-gradient(180deg,#fff8c80d,#242a30e8 18%,#101419f3);
  box-shadow:inset 0 1px #fffbd873,inset 0 -1px #8b731936,0 18px 40px #0006;
}
html[data-theme="solar"] .kpi, html[data-theme="solar"] .system-node, html[data-theme="solar"] .appraisal-summary article{
  border:1px solid #d9c76d4a;
  border-radius:18px;
  background:radial-gradient(circle at 100% 0,#fff1a212,transparent 42%),
    #191f24;
  box-shadow:inset 0 1px #fff6b730;
}
html[data-theme="solar"] .kpi:hover, html[data-theme="solar"] .system-node:hover{
  transform:translateY(-2px);
  border-color:#fff0a98a;
  box-shadow:inset 0 1px #fff9cd7d,0 0 22px #ffe16b26;
}
html[data-theme="solar"] .section-title{
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,#fff8c11a,#ffd84a09 48%,transparent);
}
html[data-theme="solar"] .section-title::before{
  content:"☼";
  color:#fff3a3;
  font-size:12px;
  text-shadow:0 0 12px #ffd84a;
}
html[data-theme="solar"] .section-title::after{
  content:"";
  width:46px;
  height:8px;
  margin-left:auto;
  border-top:1px solid #fff0a977;
  border-bottom:1px solid #ffdc4e38;
  border-radius:50%;
}
html[data-theme="solar"] .nav-dropdown-bar{
  border:1px solid #e6d0713f;
  border-radius:22px;
  background:#11161be8;
}
html[data-theme="solar"] .nav-menu-trigger, html[data-theme="solar"] .nav-menu-panel .app-tab, html[data-theme="solar"] .orb{
  border-radius:999px;
}
html[data-theme="solar"] .nav-menu-panel{
  border-radius:22px;
  background:#11161bf2;
}
html[data-theme="solar"] input, html[data-theme="solar"] select, html[data-theme="solar"] textarea{
  border-radius:14px!important;
}
html[data-theme="solar"] .appraisal-table-wrap{
  border-radius:16px;
}
html[data-theme="solar"] .appraisal-table th{
  background:linear-gradient(180deg,#fff2a20c,#20272d);
  color:#f6e7a4;
}
html[data-theme="solar"] .theme-select-icon{
  border-radius:50%;
  box-shadow:0 0 14px #ffd84a42;
}
html[data-theme="solar"] .theme-select-icon svg{
  animation:jlr-glyph-solar 2.7s ease-in-out infinite;
}
html[data-theme="solar"] .system-node[data-status="ready"], html[data-theme="solar"] .system-node[data-status="picked"], html[data-theme="solar"] .system-node[data-status="cleared"], html[data-theme="solar"] .system-node[data-status="ice"], html[data-theme="solar"] .ice-system-node{
  background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--semantic-status) 10%,transparent),transparent 42%),#191f24;
  box-shadow:inset 0 1px #fff6b72b,inset 0 -3px var(--semantic-status);
}
html[data-theme="solar"] .target-card{
  border-radius:18px;
  background:#191f24;
}
html[data-theme="solar"] .target-card.green, html[data-theme="solar"] .target-card.yellow, html[data-theme="solar"] .target-card.cherry, html[data-theme="solar"] .target-card.priority-first{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--semantic-status) 36%,transparent),inset 0 -3px var(--semantic-status);
}
html[data-theme="solar"] .target-rank{
  border-radius:50%;
  box-shadow:inset 0 0 0 3px #11161b,0 0 10px color-mix(in srgb,var(--semantic-status,#ffd84a) 14%,transparent);
}
html[data-theme="solar"] .field-selected-detail, html[data-theme="solar"] .board-customize, html[data-theme="solar"] .target-ore-control{
  border-radius:14px;
  background:#191f24;
}
