/*
 * SiKONEX Multi Theme UI
 * Theme selector only changes presentation. Converter logic and exported data are untouched.
 */

/* Header theme control */
.header-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  min-width:0;
}
.header-actions .version{margin-left:0}
.theme-switcher{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:5px 9px 5px 10px;
  color:var(--cyber-cyan,#00f5ff);
  background:rgba(0,245,255,.065);
  border:1px solid rgba(0,245,255,.26);
  border-radius:6px;
  box-shadow:inset 0 0 15px rgba(0,245,255,.035);
  font:800 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.theme-switcher i{font-size:12px;filter:drop-shadow(0 0 6px currentColor)}
.theme-switcher-label{white-space:nowrap}
.theme-switcher::after{
  content:"⌄";
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-55%);
  pointer-events:none;
  color:currentColor;
  font-size:12px;
}
.theme-select{
  appearance:none;
  -webkit-appearance:none;
  min-width:148px;
  height:25px;
  padding:0 24px 0 7px;
  color:inherit;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius:4px;
  outline:0;
  font:800 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing:.04em;
  cursor:pointer;
}
.theme-select:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.theme-select option{color:#eaffff;background:#07111d}
.theme-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:120;
  display:flex;
  align-items:center;
  gap:9px;
  max-width:min(360px,calc(100vw - 28px));
  padding:11px 14px;
  color:var(--text);
  background:var(--cyber-panel-strong,#07111d);
  border:1px solid var(--cyber-cyan,#00f5ff);
  border-radius:7px 14px 7px 14px;
  box-shadow:0 18px 50px rgba(0,0,0,.38),0 0 22px rgba(0,245,255,.12);
  font:700 12px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}
.theme-toast.show{opacity:1;transform:translateY(0)}
.theme-toast i{color:var(--cyber-cyan,#00f5ff)}

/* Keep the theme transition pleasant without slowing table editing. */
body,.topbar,.cyber-banner,.module-btn,.card,.dropzone,.toolbar,.tabs,.tab,.summary-row,.summary-box,.site-footer .footer-box{
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,color .22s ease;
}

/* ================================================================
   MATRIX TERMINAL — black and phosphor green
   ================================================================ */
html[data-theme="matrix"]{
  color-scheme:dark;
  --navy:#010502;
  --navy2:#06140a;
  --gold:#39ff72;
  --gold2:#a2ffc0;
  --bg:#010402;
  --white:#071009;
  --text:#eaffef;
  --muted:#79a887;
  --line:rgba(57,255,114,.24);
  --danger:#ff5d74;
  --success:#39ff72;
  --warning:#dfff54;
  --pink:rgba(255,93,116,.12);
  --green:rgba(57,255,114,.13);
  --yellow:rgba(223,255,84,.12);
  --cyber-cyan:#39ff72;
  --cyber-green:#a4ff5d;
  --cyber-magenta:#dfff54;
  --cyber-panel:rgba(3,13,6,.94);
  --cyber-panel-strong:#041108;
  --cyber-shadow:0 0 0 1px rgba(57,255,114,.08),0 18px 50px rgba(0,0,0,.48),0 0 34px rgba(57,255,114,.055);
}
html[data-theme="matrix"] body{
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  background:
    radial-gradient(circle at 85% 6%,rgba(57,255,114,.11),transparent 29rem),
    radial-gradient(circle at 12% 40%,rgba(164,255,93,.045),transparent 32rem),
    linear-gradient(180deg,#010402,#020904 52%,#010402);
}
html[data-theme="matrix"] body::before{
  background-image:
    linear-gradient(rgba(57,255,114,.052) 1px,transparent 1px),
    linear-gradient(90deg,rgba(57,255,114,.052) 1px,transparent 1px);
  background-size:30px 30px;
}
html[data-theme="matrix"] body::after{opacity:.22;background:repeating-linear-gradient(to bottom,transparent 0,transparent 2px,rgba(57,255,114,.045) 3px)}
html[data-theme="matrix"] ::selection{background:rgba(57,255,114,.3);color:#001504}
html[data-theme="matrix"] .topbar{background:rgba(1,7,3,.94);border-color:rgba(57,255,114,.36);box-shadow:0 10px 36px rgba(0,0,0,.58),0 1px 0 rgba(223,255,84,.2)}
html[data-theme="matrix"] .topbar::after{background:linear-gradient(90deg,transparent,#39ff72,#dfff54,#39ff72,transparent);box-shadow:0 0 14px rgba(57,255,114,.9)}
html[data-theme="matrix"] .brand::before{content:"SYS://MATRIX_TERMINAL_LINK";color:rgba(57,255,114,.78)}
html[data-theme="matrix"] .logo-icon{border-color:rgba(57,255,114,.6);box-shadow:0 0 0 3px rgba(57,255,114,.08),0 0 26px rgba(57,255,114,.24)}
html[data-theme="matrix"] .brand-wordmark{filter:drop-shadow(0 0 10px rgba(57,255,114,.25)) grayscale(.18)}
html[data-theme="matrix"] .brand-copy p{color:#7fbd90}
html[data-theme="matrix"] .version,
html[data-theme="matrix"] .theme-switcher{color:#39ff72;background:rgba(57,255,114,.07);border-color:rgba(57,255,114,.4);box-shadow:inset 0 0 16px rgba(57,255,114,.05),0 0 18px rgba(57,255,114,.09)}
html[data-theme="matrix"] .cyber-banner{
  background:linear-gradient(120deg,rgba(57,255,114,.09),transparent 45%),linear-gradient(300deg,rgba(223,255,84,.04),transparent 42%),rgba(3,13,6,.92);
  border-color:rgba(57,255,114,.34);
}
html[data-theme="matrix"] .cyber-banner::after{content:"01001101 01000001 01010100 01010010 01001001 01011000";color:rgba(57,255,114,.15)}
html[data-theme="matrix"] .cyber-banner h1{color:#eaffef;text-shadow:2px 0 rgba(223,255,84,.32),-2px 0 rgba(57,255,114,.44)}
html[data-theme="matrix"] .cyber-pulse{background:#39ff72;box-shadow:0 0 0 5px rgba(57,255,114,.09),0 0 24px rgba(57,255,114,.9)}
html[data-theme="matrix"] .cyber-stat{background:rgba(0,0,0,.33);border-color:rgba(57,255,114,.22)}
html[data-theme="matrix"] .cyber-stat span{color:#71957b}
html[data-theme="matrix"] .cyber-stat strong,
html[data-theme="matrix"] .cyber-stat:nth-child(2) strong,
html[data-theme="matrix"] .cyber-stat:nth-child(3) strong{color:#39ff72}
html[data-theme="matrix"] .module-btn{background:linear-gradient(150deg,rgba(6,24,10,.96),rgba(2,10,4,.97));border-color:rgba(57,255,114,.22);box-shadow:0 12px 30px rgba(0,0,0,.33),inset 0 0 24px rgba(57,255,114,.02)}
html[data-theme="matrix"] .module-btn::after{background:linear-gradient(90deg,#dfff54,#39ff72);box-shadow:0 0 12px rgba(57,255,114,.75)}
html[data-theme="matrix"] .module-btn.active{border-color:rgba(57,255,114,.65);background:linear-gradient(145deg,rgba(57,255,114,.12),rgba(4,16,7,.97) 52%,rgba(223,255,84,.055));box-shadow:0 0 0 1px rgba(57,255,114,.12),0 16px 38px rgba(0,0,0,.42),0 0 28px rgba(57,255,114,.1)}
html[data-theme="matrix"] .module-icon,
html[data-theme="matrix"] .module-btn:nth-child(2) .module-icon,
html[data-theme="matrix"] .module-btn:nth-child(3) .module-icon{color:#39ff72;background:rgba(57,255,114,.06);border-color:rgba(57,255,114,.34)}
html[data-theme="matrix"] .module-btn.active .module-icon{color:#001405;background:linear-gradient(135deg,#39ff72,#caff8c)}
html[data-theme="matrix"] .card{border-color:rgba(57,255,114,.23)}
html[data-theme="matrix"] .card::before{background:#39ff72;box-shadow:0 0 12px rgba(57,255,114,.8)}
html[data-theme="matrix"] .card::after{background:#dfff54;box-shadow:0 0 12px rgba(223,255,84,.62)}
html[data-theme="matrix"] .card-head{background:linear-gradient(180deg,rgba(7,25,11,.97),rgba(3,14,6,.97));border-color:rgba(57,255,114,.18)}
html[data-theme="matrix"] .dropzone{background:linear-gradient(rgba(57,255,114,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(57,255,114,.03) 1px,transparent 1px),rgba(1,9,3,.7);border-color:rgba(57,255,114,.5)}
html[data-theme="matrix"] .dropzone::before{content:"DROP_ZONE // MATRIX LOCAL BUFFER";color:rgba(57,255,114,.39)}
html[data-theme="matrix"] .drop-icon{color:#001405;background:linear-gradient(135deg,#39ff72,#caff8c);box-shadow:0 0 22px rgba(57,255,114,.3)}
html[data-theme="matrix"] .btn-primary{color:#001405;background:linear-gradient(135deg,#22d95d,#39ff72 55%,#b7ff7c);box-shadow:0 0 24px rgba(57,255,114,.19)}
html[data-theme="matrix"] .toolbar,
html[data-theme="matrix"] .tabs{background:rgba(3,14,6,.97);border-color:rgba(57,255,114,.18)}
html[data-theme="matrix"] .badge{background:rgba(57,255,114,.055);border-color:rgba(57,255,114,.17)}
html[data-theme="matrix"] .badge::before{color:rgba(57,255,114,.55)}
html[data-theme="matrix"] .tab{background:#031007;border-color:rgba(57,255,114,.16)}
html[data-theme="matrix"] .tab.active{background:#07190c;border-color:rgba(57,255,114,.38);box-shadow:inset 0 2px #39ff72,0 -6px 18px rgba(57,255,114,.04)}
html[data-theme="matrix"] .table-wrap{background:#010703}
html[data-theme="matrix"] .data-table thead th{color:#caffd8;background:linear-gradient(180deg,#0a2912,#05170a);border-color:rgba(57,255,114,.34);box-shadow:inset 0 -1px rgba(57,255,114,.24)}
html[data-theme="matrix"] .data-table th,
html[data-theme="matrix"] .data-table td{border-color:rgba(78,145,95,.35)}
html[data-theme="matrix"] .data-table tbody tr:nth-child(even) td{background:rgba(57,255,114,.018)}
html[data-theme="matrix"] .data-table tbody tr:hover td{background:rgba(57,255,114,.058)}
html[data-theme="matrix"] .data-table input:focus{background:#07180c;outline-color:#39ff72}
html[data-theme="matrix"] .summary-row{background:#020b04;border-color:rgba(57,255,114,.16)}
html[data-theme="matrix"] .summary-box{background:rgba(57,255,114,.038);border-color:rgba(57,255,114,.18)}
html[data-theme="matrix"] .raw{color:#7cff9e;background:#010602}
html[data-theme="matrix"] .site-footer .footer-box{background:rgba(2,11,4,.88);border-color:rgba(57,255,114,.18)}
html[data-theme="matrix"] .site-footer .footer-box::before{content:"<ROOT> ";color:#dfff54}
html[data-theme="matrix"] .site-footer .footer-box::after{content:" </ROOT>";color:#dfff54}

/* ================================================================
   SYNTHWAVE NIGHT — violet, electric pink, sunset orange
   ================================================================ */
html[data-theme="synthwave"]{
  color-scheme:dark;
  --navy:#0c0620;
  --navy2:#251052;
  --gold:#ff42d0;
  --gold2:#35e7ff;
  --bg:#080318;
  --white:#160b31;
  --text:#fff2ff;
  --muted:#b7a6cf;
  --line:rgba(255,66,208,.24);
  --danger:#ff557f;
  --success:#43f6bf;
  --warning:#ffb347;
  --pink:rgba(255,66,208,.16);
  --green:rgba(67,246,191,.13);
  --yellow:rgba(255,179,71,.14);
  --cyber-cyan:#35e7ff;
  --cyber-green:#43f6bf;
  --cyber-magenta:#ff42d0;
  --cyber-panel:rgba(18,8,43,.92);
  --cyber-panel-strong:#150a31;
  --cyber-shadow:0 0 0 1px rgba(255,66,208,.09),0 18px 55px rgba(4,0,18,.5),0 0 38px rgba(101,42,255,.08);
}
html[data-theme="synthwave"] body{
  background:
    radial-gradient(circle at 50% 115%,rgba(255,116,46,.22),transparent 35rem),
    radial-gradient(circle at 90% 0%,rgba(53,231,255,.14),transparent 32rem),
    radial-gradient(circle at 10% 3%,rgba(255,66,208,.18),transparent 30rem),
    linear-gradient(180deg,#080318 0%,#12072c 53%,#09031b 100%);
}
html[data-theme="synthwave"] body::before{
  background-image:
    linear-gradient(rgba(255,66,208,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(53,231,255,.045) 1px,transparent 1px);
  background-size:42px 42px;
  transform-origin:bottom center;
}
html[data-theme="synthwave"] body::after{opacity:.11;background:repeating-linear-gradient(to bottom,transparent 0,transparent 4px,rgba(255,255,255,.065) 5px)}
html[data-theme="synthwave"] ::selection{background:rgba(255,66,208,.42);color:#fff}
html[data-theme="synthwave"] .topbar{background:rgba(10,4,28,.9);border-color:rgba(255,66,208,.32);box-shadow:0 10px 38px rgba(2,0,14,.62),0 1px 0 rgba(53,231,255,.2)}
html[data-theme="synthwave"] .topbar::after{background:linear-gradient(90deg,transparent,#ff42d0,#ff874d,#35e7ff,transparent);box-shadow:0 0 18px rgba(255,66,208,.85)}
html[data-theme="synthwave"] .brand::before{content:"SYS://NEON_GRID_CONVERTER";color:rgba(53,231,255,.74)}
html[data-theme="synthwave"] .logo-icon{border-color:rgba(255,66,208,.62);box-shadow:0 0 0 3px rgba(255,66,208,.08),0 0 28px rgba(255,66,208,.25)}
html[data-theme="synthwave"] .brand-wordmark{filter:drop-shadow(0 0 10px rgba(255,66,208,.22))}
html[data-theme="synthwave"] .brand-copy p{color:#bba6d5}
html[data-theme="synthwave"] .version,
html[data-theme="synthwave"] .theme-switcher{color:#35e7ff;background:rgba(53,231,255,.065);border-color:rgba(53,231,255,.34);box-shadow:inset 0 0 16px rgba(53,231,255,.05),0 0 20px rgba(255,66,208,.08)}
html[data-theme="synthwave"] .cyber-banner{background:linear-gradient(120deg,rgba(255,66,208,.12),transparent 46%),linear-gradient(300deg,rgba(53,231,255,.11),transparent 43%),rgba(18,8,43,.9);border-color:rgba(255,66,208,.36)}
html[data-theme="synthwave"] .cyber-banner::before{background:linear-gradient(90deg,#ff42d0,#ff42d0) left top/44px 2px no-repeat,linear-gradient(180deg,#ff42d0,#ff42d0) left top/2px 44px no-repeat,linear-gradient(90deg,#35e7ff,#35e7ff) right bottom/44px 2px no-repeat,linear-gradient(180deg,#35e7ff,#35e7ff) right bottom/2px 44px no-repeat}
html[data-theme="synthwave"] .cyber-banner::after{content:"NIGHT DRIVE // DATA GRID // XLSX";color:rgba(255,66,208,.17)}
html[data-theme="synthwave"] .cyber-banner h1{color:#fff5ff;text-shadow:2px 0 rgba(53,231,255,.45),-2px 0 rgba(255,66,208,.52),0 0 18px rgba(255,66,208,.16)}
html[data-theme="synthwave"] .cyber-pulse{background:#ff42d0;box-shadow:0 0 0 5px rgba(255,66,208,.1),0 0 24px rgba(255,66,208,.88)}
html[data-theme="synthwave"] .cyber-eyebrow{color:#43f6bf}
html[data-theme="synthwave"] .cyber-stat{background:rgba(8,2,24,.4);border-color:rgba(255,66,208,.24)}
html[data-theme="synthwave"] .cyber-stat strong{color:#35e7ff}
html[data-theme="synthwave"] .cyber-stat:nth-child(2) strong{color:#43f6bf}
html[data-theme="synthwave"] .cyber-stat:nth-child(3) strong{color:#ff73d9}
html[data-theme="synthwave"] .module-btn{background:linear-gradient(150deg,rgba(35,14,74,.96),rgba(13,5,34,.97));border-color:rgba(255,66,208,.24);box-shadow:0 12px 32px rgba(3,0,20,.4),inset 0 0 25px rgba(53,231,255,.018)}
html[data-theme="synthwave"] .module-btn::after{background:linear-gradient(90deg,#ff42d0,#ff874d,#35e7ff);box-shadow:0 0 14px rgba(255,66,208,.78)}
html[data-theme="synthwave"] .module-btn.active{border-color:rgba(255,66,208,.68);background:linear-gradient(145deg,rgba(255,66,208,.14),rgba(24,9,55,.97) 50%,rgba(53,231,255,.09));box-shadow:0 0 0 1px rgba(255,66,208,.12),0 16px 40px rgba(3,0,20,.45),0 0 30px rgba(255,66,208,.11)}
html[data-theme="synthwave"] .module-icon{color:#35e7ff;background:rgba(53,231,255,.07);border-color:rgba(53,231,255,.34)}
html[data-theme="synthwave"] .module-btn:nth-child(2) .module-icon{color:#43f6bf;border-color:rgba(67,246,191,.34);background:rgba(67,246,191,.06)}
html[data-theme="synthwave"] .module-btn:nth-child(3) .module-icon{color:#ff73d9;border-color:rgba(255,66,208,.36);background:rgba(255,66,208,.07)}
html[data-theme="synthwave"] .module-btn.active .module-icon{color:#170522;background:linear-gradient(135deg,#ff42d0,#ff9b5e 55%,#35e7ff);box-shadow:0 0 25px rgba(255,66,208,.32)}
html[data-theme="synthwave"] .card{border-color:rgba(255,66,208,.23)}
html[data-theme="synthwave"] .card::before{background:#ff42d0;box-shadow:0 0 14px rgba(255,66,208,.8)}
html[data-theme="synthwave"] .card::after{background:#35e7ff;box-shadow:0 0 14px rgba(53,231,255,.72)}
html[data-theme="synthwave"] .card-head{background:linear-gradient(180deg,rgba(37,14,78,.97),rgba(19,7,45,.97));border-color:rgba(255,66,208,.18)}
html[data-theme="synthwave"] .card-head h2::before{color:#ff42d0}
html[data-theme="synthwave"] .dropzone{background:linear-gradient(rgba(255,66,208,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(53,231,255,.028) 1px,transparent 1px),rgba(10,3,28,.72);border-color:rgba(53,231,255,.5)}
html[data-theme="synthwave"] .dropzone::before{content:"DROP_ZONE // NEON LOCAL CHANNEL";color:rgba(53,231,255,.38)}
html[data-theme="synthwave"] .drop-icon{color:#180522;background:linear-gradient(135deg,#35e7ff,#ff42d0);box-shadow:0 0 24px rgba(255,66,208,.3)}
html[data-theme="synthwave"] .btn-primary{color:#170522;background:linear-gradient(135deg,#35e7ff,#ff42d0 52%,#ff9b5e);box-shadow:0 0 26px rgba(255,66,208,.2)}
html[data-theme="synthwave"] .toolbar,
html[data-theme="synthwave"] .tabs{background:rgba(16,6,38,.97);border-color:rgba(255,66,208,.18)}
html[data-theme="synthwave"] .badge{background:rgba(255,66,208,.055);border-color:rgba(255,66,208,.17)}
html[data-theme="synthwave"] .badge::before{color:rgba(53,231,255,.58)}
html[data-theme="synthwave"] .tab{background:#12072c;border-color:rgba(255,66,208,.17)}
html[data-theme="synthwave"] .tab.active{color:#35e7ff;background:#1c0b40;border-color:rgba(53,231,255,.36);box-shadow:inset 0 2px #ff42d0,0 -6px 20px rgba(255,66,208,.05)}
html[data-theme="synthwave"] .table-wrap{background:#0a041d}
html[data-theme="synthwave"] .data-table thead th{color:#f7ddff;background:linear-gradient(180deg,#35145b,#1c0a3d);border-color:rgba(255,66,208,.34);box-shadow:inset 0 -1px rgba(53,231,255,.2)}
html[data-theme="synthwave"] .data-table th,
html[data-theme="synthwave"] .data-table td{border-color:rgba(138,83,166,.38)}
html[data-theme="synthwave"] .data-table tbody tr:nth-child(even) td{background:rgba(255,66,208,.02)}
html[data-theme="synthwave"] .data-table tbody tr:hover td{background:rgba(53,231,255,.055)}
html[data-theme="synthwave"] .data-table input:focus{background:#1b0b3c;outline-color:#35e7ff}
html[data-theme="synthwave"] .summary-row{background:#100629;border-color:rgba(255,66,208,.17)}
html[data-theme="synthwave"] .summary-box{background:rgba(255,66,208,.04);border-color:rgba(255,66,208,.18)}
html[data-theme="synthwave"] .summary-box strong{color:#35e7ff;text-shadow:0 0 15px rgba(53,231,255,.22)}
html[data-theme="synthwave"] .raw{color:#43f6bf;background:#080318}
html[data-theme="synthwave"] .site-footer .footer-box{background:rgba(14,5,34,.88);border-color:rgba(255,66,208,.19)}
html[data-theme="synthwave"] .site-footer .footer-box::before,
html[data-theme="synthwave"] .site-footer .footer-box::after{color:#35e7ff}

/* ================================================================
   LIGHT THEMES — shared reset from the dark cyber layer
   ================================================================ */
html[data-theme="executive"],
html[data-theme="arctic"]{color-scheme:light}
html[data-theme="executive"] body::after,
html[data-theme="arctic"] body::after{display:none}
html[data-theme="executive"] .brand::before,
html[data-theme="arctic"] .brand::before{display:none}
html[data-theme="executive"] .theme-select option,
html[data-theme="arctic"] .theme-select option{color:#172033;background:#fff}
html[data-theme="executive"] .cyber-banner h1,
html[data-theme="arctic"] .cyber-banner h1{text-shadow:none}
html[data-theme="executive"] .cyber-banner::after,
html[data-theme="arctic"] .cyber-banner::after{font-family:Inter,Arial,sans-serif;letter-spacing:.08em}
html[data-theme="executive"] .cyber-stat,
html[data-theme="arctic"] .cyber-stat{clip-path:none;border-radius:11px}
html[data-theme="executive"] .module-btn,
html[data-theme="arctic"] .module-btn{font-family:Inter,Arial,sans-serif}
html[data-theme="executive"] .module-btn::after,
html[data-theme="arctic"] .module-btn::after{height:3px;box-shadow:none}
html[data-theme="executive"] .card,
html[data-theme="arctic"] .card{backdrop-filter:blur(16px) saturate(125%)}
html[data-theme="executive"] .card::before,
html[data-theme="executive"] .card::after,
html[data-theme="arctic"] .card::before,
html[data-theme="arctic"] .card::after{box-shadow:none}
html[data-theme="executive"] .card-head h2,
html[data-theme="arctic"] .card-head h2{font-family:Inter,Arial,sans-serif;text-transform:none;letter-spacing:0}
html[data-theme="executive"] .card-head h2::before,
html[data-theme="arctic"] .card-head h2::before{content:""}
html[data-theme="executive"] .dropzone::before,
html[data-theme="arctic"] .dropzone::before{font-family:Inter,Arial,sans-serif;letter-spacing:.07em}
html[data-theme="executive"] .btn,
html[data-theme="arctic"] .btn{font-family:Inter,Arial,sans-serif;letter-spacing:0;border-radius:11px}
html[data-theme="executive"] .status,
html[data-theme="executive"] .note,
html[data-theme="executive"] .issue,
html[data-theme="executive"] .summary-box,
html[data-theme="arctic"] .status,
html[data-theme="arctic"] .note,
html[data-theme="arctic"] .issue,
html[data-theme="arctic"] .summary-box{font-family:Inter,Arial,sans-serif;border-radius:12px}
html[data-theme="executive"] .meta-title,
html[data-theme="executive"] .field label,
html[data-theme="executive"] .badge,
html[data-theme="executive"] .tab,
html[data-theme="arctic"] .meta-title,
html[data-theme="arctic"] .field label,
html[data-theme="arctic"] .badge,
html[data-theme="arctic"] .tab{font-family:Inter,Arial,sans-serif}
html[data-theme="executive"] .meta-title::before,
html[data-theme="executive"] .meta-title::after,
html[data-theme="arctic"] .meta-title::before,
html[data-theme="arctic"] .meta-title::after{content:""}
html[data-theme="executive"] .badge::before,
html[data-theme="arctic"] .badge::before{content:""}
html[data-theme="executive"] .table-wrap,
html[data-theme="arctic"] .table-wrap{background:transparent}
html[data-theme="executive"] .data-table,
html[data-theme="arctic"] .data-table{color:#172033;font-family:"Arial Narrow",Arial,sans-serif}
html[data-theme="executive"] .data-table input,
html[data-theme="arctic"] .data-table input{color:#172033;caret-color:currentColor}
html[data-theme="executive"] .empty,
html[data-theme="arctic"] .empty{font-family:Inter,Arial,sans-serif;background:none}
html[data-theme="executive"] .empty::before,
html[data-theme="arctic"] .empty::before{content:"Belum ada data";letter-spacing:.02em}
html[data-theme="executive"] .raw,
html[data-theme="arctic"] .raw{font-family:Consolas,ui-monospace,monospace}
html[data-theme="executive"] .site-footer .footer-box,
html[data-theme="arctic"] .site-footer .footer-box{font-family:Inter,Arial,sans-serif}
html[data-theme="executive"] .site-footer .footer-box::before,
html[data-theme="executive"] .site-footer .footer-box::after,
html[data-theme="arctic"] .site-footer .footer-box::before,
html[data-theme="arctic"] .site-footer .footer-box::after{content:""}

/* ================================================================
   EXECUTIVE NAVY GOLD — formal premium workspace
   ================================================================ */
html[data-theme="executive"]{
  --navy:#071f3f;
  --navy2:#123f70;
  --gold:#d9a62e;
  --gold2:#ffdb77;
  --bg:#eef2f7;
  --white:#ffffff;
  --text:#172033;
  --muted:#65748b;
  --line:#d6dfeb;
  --danger:#b42318;
  --success:#067647;
  --warning:#b54708;
  --pink:#fce7ef;
  --green:#e3f6e9;
  --yellow:#fff5cf;
  --cyber-cyan:#d9a62e;
  --cyber-green:#087a54;
  --cyber-magenta:#123f70;
  --cyber-panel:rgba(255,255,255,.97);
  --cyber-panel-strong:#ffffff;
  --cyber-shadow:0 18px 46px rgba(20,42,74,.1);
}
html[data-theme="executive"] body{color:#172033;background:radial-gradient(circle at 88% -5%,rgba(255,219,119,.3),transparent 31rem),linear-gradient(145deg,#edf2f8,#fbfcfe 55%,#eef4fb)}
html[data-theme="executive"] body::before{background-image:linear-gradient(rgba(7,31,63,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(7,31,63,.022) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 78%)}
html[data-theme="executive"] ::selection{background:rgba(217,166,46,.28);color:#172033}
html[data-theme="executive"] .topbar{background:linear-gradient(130deg,#071f3f,#123f70);border-color:rgba(255,219,119,.22);box-shadow:0 12px 32px rgba(8,31,61,.24)}
html[data-theme="executive"] .topbar::after{background:linear-gradient(90deg,transparent,#d9a62e,#ffdb77,#d9a62e,transparent);box-shadow:0 0 10px rgba(217,166,46,.55)}
html[data-theme="executive"] .logo-icon{border-color:rgba(255,219,119,.7);box-shadow:0 7px 22px rgba(0,0,0,.22)}
html[data-theme="executive"] .brand-wordmark{filter:drop-shadow(0 4px 12px rgba(0,0,0,.18))}
html[data-theme="executive"] .brand-copy p{color:#d9e8fb;font-family:Inter,Arial,sans-serif;text-transform:none;letter-spacing:0}
html[data-theme="executive"] .version,
html[data-theme="executive"] .theme-switcher{color:#ffdf88;background:rgba(255,255,255,.1);border-color:rgba(255,219,119,.35);box-shadow:none}
html[data-theme="executive"] .theme-select{background:rgba(0,0,0,.12);border-color:rgba(255,255,255,.16)}
html[data-theme="executive"] .cyber-banner{color:#172033;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(249,251,255,.95));border-color:#d7e0ec;border-radius:22px;box-shadow:0 18px 46px rgba(20,42,74,.09)}
html[data-theme="executive"] .cyber-banner::before{background:linear-gradient(180deg,#ffdb77,#d9a62e) left top/6px 100% no-repeat}
html[data-theme="executive"] .cyber-banner::after{content:"PRIVATE • LOCAL • RELIABLE";color:rgba(18,63,112,.13);right:24px;top:14px}
html[data-theme="executive"] .cyber-pulse{background:#087a54;box-shadow:0 0 0 5px rgba(8,122,84,.08),0 0 18px rgba(8,122,84,.35)}
html[data-theme="executive"] .cyber-eyebrow{color:#8b6500;font-family:Inter,Arial,sans-serif;letter-spacing:.08em}
html[data-theme="executive"] .cyber-banner h1{color:#071f3f}
html[data-theme="executive"] .cyber-banner p{color:#65748b}
html[data-theme="executive"] .cyber-stat{background:#f7f9fc;border-color:#dce4ee;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)}
html[data-theme="executive"] .cyber-stat span{color:#748398;font-family:Inter,Arial,sans-serif}
html[data-theme="executive"] .cyber-stat strong{color:#123f70;font-family:Inter,Arial,sans-serif}
html[data-theme="executive"] .cyber-stat:nth-child(2) strong{color:#087a54}
html[data-theme="executive"] .cyber-stat:nth-child(3) strong{color:#9a6800}
html[data-theme="executive"] .module-btn{color:#172033;background:rgba(255,255,255,.96);border-color:#d7e0ec;border-radius:17px;box-shadow:0 10px 30px rgba(20,42,74,.075)}
html[data-theme="executive"] .module-btn::after{background:linear-gradient(90deg,#d9a62e,#ffdb77)}
html[data-theme="executive"] .module-btn:hover{border-color:#aebfd3;box-shadow:0 14px 34px rgba(20,42,74,.11)}
html[data-theme="executive"] .module-btn.active{border-color:#d9a62e;background:linear-gradient(145deg,#fffdf7,#fff 55%,#fff8e4);box-shadow:0 13px 34px rgba(217,166,46,.2),inset 0 0 0 2px rgba(217,166,46,.12)}
html[data-theme="executive"] .module-icon,
html[data-theme="executive"] .module-btn:nth-child(2) .module-icon,
html[data-theme="executive"] .module-btn:nth-child(3) .module-icon{color:#fff;background:linear-gradient(145deg,#123f70,#071f3f);border-color:transparent;border-radius:15px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme="executive"] .module-btn.active .module-icon{color:#3d2a00;background:linear-gradient(145deg,#ffdb77,#d9a62e);box-shadow:none}
html[data-theme="executive"] .module-copy small{color:#65748b}
html[data-theme="executive"] .card{color:#172033;background:rgba(255,255,255,.97);border-color:#d7e0ec;border-radius:19px;box-shadow:0 16px 45px rgba(20,42,74,.09)}
html[data-theme="executive"] .card::before{background:#d9a62e;width:52px;height:3px}
html[data-theme="executive"] .card::after{background:#123f70;width:34px;height:3px}
html[data-theme="executive"] .card-head{background:linear-gradient(180deg,#fff,#f9fbfe);border-color:#d7e0ec}
html[data-theme="executive"] .card-head h2{color:#172033}
html[data-theme="executive"] .card-head p{color:#65748b}
html[data-theme="executive"] .card-body{background:transparent}
html[data-theme="executive"] .dropzone{color:#172033;background:#f8fbff;border:2px dashed #b9c8db;border-radius:15px}
html[data-theme="executive"] .dropzone::before{content:"PEMROSESAN PDF LOKAL";color:rgba(18,63,112,.42)}
html[data-theme="executive"] .dropzone:hover,
html[data-theme="executive"] .dropzone.drag{border-color:#d9a62e;background:#fffaf0;box-shadow:none}
html[data-theme="executive"] .drop-icon{color:#1f4e7a;background:#e8f0fa;border-radius:17px;box-shadow:none}
html[data-theme="executive"] .dropzone small{color:#65748b}
html[data-theme="executive"] .btn-primary{color:#3d2a00;background:linear-gradient(135deg,#d9a62e,#ffdb77);box-shadow:0 9px 20px rgba(217,166,46,.25)}
html[data-theme="executive"] .btn-success{color:#fff;background:linear-gradient(135deg,#099250,#067647);box-shadow:none}
html[data-theme="executive"] .btn-soft{color:#244b72;background:#edf3fa;border-color:transparent}
html[data-theme="executive"] .btn-danger{color:#a52a21;background:#fff0ee;border-color:transparent}
html[data-theme="executive"] .status.info{color:#175cd3;background:#edf5ff;border-color:#cfe2ff}
html[data-theme="executive"] .status.ok{color:#067647;background:#ecfdf3;border-color:#b7ebcd}
html[data-theme="executive"] .status.error{color:#b42318;background:#fff1f0;border-color:#ffd1cc}
html[data-theme="executive"] .note{color:#65748b;background:#f8fafc;border-color:#d7e0ec}
html[data-theme="executive"] .note b,
html[data-theme="executive"] .module-note,
html[data-theme="executive"] .meta-title{color:#244b72}
html[data-theme="executive"] .field label{color:#4b5e76}
html[data-theme="executive"] .field input,
html[data-theme="executive"] .field select{color:#172033;background:#fff;border-color:#cbd7e6;border-radius:9px}
html[data-theme="executive"] .field input:focus,
html[data-theme="executive"] .field select:focus{outline:3px solid rgba(217,166,46,.2);border-color:#d9a62e;box-shadow:none}
html[data-theme="executive"] .field select option{color:#172033;background:#fff}
html[data-theme="executive"] .toolbar,
html[data-theme="executive"] .tabs{background:#fbfdff;border-color:#d7e0ec}
html[data-theme="executive"] .badge{color:#52657b;background:#edf3f8;border-color:#d6dfeb;border-radius:999px}
html[data-theme="executive"] .badge.ok{color:#067647;background:#ecfdf3;border-color:#b7ebcd}
html[data-theme="executive"] .badge.warn{color:#9a6700;background:#fff8e5;border-color:#f2dda0}
html[data-theme="executive"] .badge.module{color:#123f70;background:#e8f0fa;border-color:#c9d9eb}
html[data-theme="executive"] .tab{color:#52657b;background:#eef3f8;border-color:#d7e0ec;border-radius:10px 10px 0 0}
html[data-theme="executive"] .tab.active{color:#071f3f;background:#fff;border-color:#d7e0ec;box-shadow:inset 0 3px #d9a62e}
html[data-theme="executive"] .data-table th,
html[data-theme="executive"] .data-table td{border-color:#b9c3cf}
html[data-theme="executive"] .data-table thead th{color:#111;background:linear-gradient(180deg,#e7ebf0,#d7dce2);border-color:#adb8c5;box-shadow:none}
html[data-theme="executive"] .data-table tbody tr:nth-child(even) td{background:#fbfcfe}
html[data-theme="executive"] .data-table tbody tr:hover td{background:#f2f7fc}
html[data-theme="executive"] .data-table input:focus{color:#172033;background:#fff;outline:2px solid #d9a62e;box-shadow:none}
html[data-theme="executive"] .data-table tr.bad-row td{box-shadow:inset 0 0 0 9999px rgba(255,247,237,.72)}
html[data-theme="executive"] .data-table tr.level-1 td{background:#fce7ef;color:#172033}
html[data-theme="executive"] .data-table tr.level-2 td{background:#e3f6e9;color:#172033}
html[data-theme="executive"] .data-table tr.level-3 td{background:#fff5cf;color:#172033}
html[data-theme="executive"] .empty{color:#65748b}
html[data-theme="executive"] .empty::before{color:#123f70}
html[data-theme="executive"] .summary-row{background:#f8fafc;border-color:#d7e0ec}
html[data-theme="executive"] .summary-box{color:#172033;background:#fff;border-color:#d7e0ec}
html[data-theme="executive"] .summary-box small{color:#65748b}
html[data-theme="executive"] .summary-box strong{color:#123f70;text-shadow:none}
html[data-theme="executive"] .issue{color:#9a3412;background:#fff7ed;border-color:#fed7aa}
html[data-theme="executive"] .issue.ok{color:#067647;background:#ecfdf3;border-color:#a6f4c5}
html[data-theme="executive"] .raw{color:#334155;background:#fbfdff}
html[data-theme="executive"] .site-footer{color:#5f6f85}
html[data-theme="executive"] .site-footer .footer-box{color:#5f6f85;background:rgba(255,255,255,.8);border-color:#d7e0ec;border-radius:14px;box-shadow:0 8px 24px rgba(20,42,74,.06)}
html[data-theme="executive"] .site-footer strong{color:#071f3f}

/* ================================================================
   ARCTIC GLASS — clean luminous blue glass interface
   ================================================================ */
html[data-theme="arctic"]{
  --navy:#0d4f87;
  --navy2:#2e83b9;
  --gold:#0ea5c6;
  --gold2:#67d8ec;
  --bg:#e9f6fb;
  --white:rgba(255,255,255,.78);
  --text:#123047;
  --muted:#5e7c90;
  --line:rgba(50,126,164,.2);
  --danger:#c0324c;
  --success:#087f67;
  --warning:#a76500;
  --pink:rgba(255,220,235,.72);
  --green:rgba(215,248,236,.74);
  --yellow:rgba(255,244,199,.78);
  --cyber-cyan:#0ea5c6;
  --cyber-green:#13a47e;
  --cyber-magenta:#6d5ce8;
  --cyber-panel:rgba(255,255,255,.72);
  --cyber-panel-strong:#f7fdff;
  --cyber-shadow:0 18px 50px rgba(35,91,124,.13),inset 0 1px 0 rgba(255,255,255,.86);
}
html[data-theme="arctic"] body{color:#123047;background:radial-gradient(circle at 9% 0%,rgba(255,255,255,.98),transparent 27rem),radial-gradient(circle at 92% 5%,rgba(91,211,238,.38),transparent 34rem),linear-gradient(145deg,#e8f6fb,#f7fcff 52%,#e3f2fa)}
html[data-theme="arctic"] body::before{background-image:linear-gradient(rgba(14,165,198,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(14,165,198,.025) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.5),transparent 88%)}
html[data-theme="arctic"] ::selection{background:rgba(14,165,198,.24);color:#123047}
html[data-theme="arctic"] .topbar{background:linear-gradient(125deg,rgba(7,61,105,.94),rgba(31,126,174,.9));border-color:rgba(103,216,236,.42);box-shadow:0 12px 34px rgba(15,68,102,.25);backdrop-filter:blur(18px) saturate(145%)}
html[data-theme="arctic"] .topbar::after{background:linear-gradient(90deg,transparent,#67d8ec,#fff,#6d5ce8,transparent);box-shadow:0 0 12px rgba(103,216,236,.7)}
html[data-theme="arctic"] .logo-icon{border-color:rgba(103,216,236,.82);box-shadow:0 0 0 3px rgba(255,255,255,.18),0 8px 24px rgba(4,45,72,.22)}
html[data-theme="arctic"] .brand-wordmark{filter:drop-shadow(0 4px 12px rgba(0,0,0,.18))}
html[data-theme="arctic"] .brand-copy p{color:#d9f5ff;font-family:Inter,Arial,sans-serif;text-transform:none;letter-spacing:0}
html[data-theme="arctic"] .version,
html[data-theme="arctic"] .theme-switcher{color:#effdff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
html[data-theme="arctic"] .theme-select{background:rgba(3,44,73,.16);border-color:rgba(255,255,255,.2)}
html[data-theme="arctic"] .cyber-banner{color:#123047;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(240,251,255,.69));border-color:rgba(62,145,183,.24);border-radius:24px;box-shadow:0 20px 52px rgba(35,91,124,.13),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(20px) saturate(130%)}
html[data-theme="arctic"] .cyber-banner::before{background:linear-gradient(90deg,#0ea5c6,#0ea5c6) left top/52px 3px no-repeat,linear-gradient(180deg,#0ea5c6,#0ea5c6) left top/3px 52px no-repeat,linear-gradient(90deg,#6d5ce8,#6d5ce8) right bottom/52px 3px no-repeat,linear-gradient(180deg,#6d5ce8,#6d5ce8) right bottom/3px 52px no-repeat}
html[data-theme="arctic"] .cyber-banner::after{content:"LOCAL GLASS WORKSPACE";color:rgba(14,92,133,.11);right:24px;top:14px}
html[data-theme="arctic"] .cyber-pulse{background:#13a47e;box-shadow:0 0 0 5px rgba(19,164,126,.09),0 0 18px rgba(19,164,126,.35)}
html[data-theme="arctic"] .cyber-eyebrow{color:#087f67;font-family:Inter,Arial,sans-serif;letter-spacing:.08em}
html[data-theme="arctic"] .cyber-banner h1{color:#0b4169}
html[data-theme="arctic"] .cyber-banner p{color:#5e7c90}
html[data-theme="arctic"] .cyber-stat{background:rgba(255,255,255,.68);border-color:rgba(50,126,164,.19);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
html[data-theme="arctic"] .cyber-stat span{color:#66879c;font-family:Inter,Arial,sans-serif}
html[data-theme="arctic"] .cyber-stat strong{color:#0d6d9c;font-family:Inter,Arial,sans-serif}
html[data-theme="arctic"] .cyber-stat:nth-child(2) strong{color:#087f67}
html[data-theme="arctic"] .cyber-stat:nth-child(3) strong{color:#6654d7}
html[data-theme="arctic"] .module-btn{color:#123047;background:rgba(255,255,255,.68);border-color:rgba(50,126,164,.19);border-radius:18px;box-shadow:0 14px 36px rgba(35,91,124,.1),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(18px)}
html[data-theme="arctic"] .module-btn::after{background:linear-gradient(90deg,#0ea5c6,#67d8ec,#6d5ce8)}
html[data-theme="arctic"] .module-btn:hover{border-color:rgba(14,165,198,.42);box-shadow:0 18px 42px rgba(35,91,124,.14)}
html[data-theme="arctic"] .module-btn.active{border-color:rgba(14,165,198,.54);background:linear-gradient(145deg,rgba(227,250,255,.92),rgba(255,255,255,.76) 54%,rgba(239,236,255,.72));box-shadow:0 16px 40px rgba(14,117,155,.15),inset 0 0 0 2px rgba(103,216,236,.16)}
html[data-theme="arctic"] .module-icon,
html[data-theme="arctic"] .module-btn:nth-child(2) .module-icon,
html[data-theme="arctic"] .module-btn:nth-child(3) .module-icon{color:#fff;background:linear-gradient(145deg,#2e83b9,#0d4f87);border-color:rgba(255,255,255,.35);border-radius:16px;box-shadow:0 8px 20px rgba(13,79,135,.2)}
html[data-theme="arctic"] .module-btn.active .module-icon{color:#fff;background:linear-gradient(145deg,#0ea5c6,#67d8ec 52%,#6d5ce8);box-shadow:0 8px 22px rgba(14,165,198,.22)}
html[data-theme="arctic"] .module-copy small{color:#5e7c90}
html[data-theme="arctic"] .card{color:#123047;background:rgba(255,255,255,.71);border-color:rgba(50,126,164,.2);border-radius:22px;box-shadow:0 18px 50px rgba(35,91,124,.12),inset 0 1px 0 rgba(255,255,255,.9)}
html[data-theme="arctic"] .card::before{background:#0ea5c6;width:52px;height:3px}
html[data-theme="arctic"] .card::after{background:#6d5ce8;width:38px;height:3px}
html[data-theme="arctic"] .card-head{background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(238,249,254,.58));border-color:rgba(50,126,164,.18)}
html[data-theme="arctic"] .card-head h2{color:#123047}
html[data-theme="arctic"] .card-head p{color:#5e7c90}
html[data-theme="arctic"] .card-body{background:transparent}
html[data-theme="arctic"] .dropzone{color:#123047;background:linear-gradient(rgba(14,165,198,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(14,165,198,.024) 1px,transparent 1px),rgba(244,252,255,.72);border:2px dashed rgba(14,126,164,.42);border-radius:18px}
html[data-theme="arctic"] .dropzone::before{content:"PEMROSESAN LOKAL • TANPA UPLOAD";color:rgba(13,79,135,.42)}
html[data-theme="arctic"] .dropzone:hover,
html[data-theme="arctic"] .dropzone.drag{border-color:#0ea5c6;background-color:rgba(226,249,255,.85);box-shadow:inset 0 0 28px rgba(14,165,198,.055),0 0 20px rgba(14,165,198,.08)}
html[data-theme="arctic"] .drop-icon{color:#fff;background:linear-gradient(145deg,#0ea5c6,#67d8ec);border-radius:18px;box-shadow:0 10px 24px rgba(14,165,198,.22)}
html[data-theme="arctic"] .dropzone small{color:#5e7c90}
html[data-theme="arctic"] .btn-primary{color:#fff;background:linear-gradient(135deg,#0d83ae,#0ea5c6 55%,#67d8ec);box-shadow:0 10px 24px rgba(14,165,198,.22)}
html[data-theme="arctic"] .btn-success{color:#fff;background:linear-gradient(135deg,#0b9475,#087f67);box-shadow:none}
html[data-theme="arctic"] .btn-soft{color:#0d5f8c;background:rgba(219,244,252,.82);border-color:rgba(14,165,198,.18)}
html[data-theme="arctic"] .btn-danger{color:#b52642;background:rgba(255,234,239,.84);border-color:rgba(192,50,76,.14)}
html[data-theme="arctic"] .status.info{color:#0d6590;background:rgba(224,247,255,.8);border-color:rgba(14,165,198,.24)}
html[data-theme="arctic"] .status.ok{color:#087f67;background:rgba(225,250,242,.82);border-color:rgba(19,164,126,.22)}
html[data-theme="arctic"] .status.error{color:#b52642;background:rgba(255,235,240,.84);border-color:rgba(192,50,76,.22)}
html[data-theme="arctic"] .note{color:#5e7c90;background:rgba(246,252,255,.68);border-color:rgba(50,126,164,.18)}
html[data-theme="arctic"] .note b,
html[data-theme="arctic"] .module-note,
html[data-theme="arctic"] .meta-title{color:#0d5f8c}
html[data-theme="arctic"] .field label{color:#496d83}
html[data-theme="arctic"] .field input,
html[data-theme="arctic"] .field select{color:#123047;background:rgba(255,255,255,.82);border-color:rgba(50,126,164,.24);border-radius:11px}
html[data-theme="arctic"] .field input:focus,
html[data-theme="arctic"] .field select:focus{outline:3px solid rgba(14,165,198,.16);border-color:#0ea5c6;box-shadow:none}
html[data-theme="arctic"] .field select option{color:#123047;background:#fff}
html[data-theme="arctic"] .toolbar,
html[data-theme="arctic"] .tabs{background:rgba(246,252,255,.72);border-color:rgba(50,126,164,.18)}
html[data-theme="arctic"] .badge{color:#55768a;background:rgba(231,247,252,.82);border-color:rgba(50,126,164,.18);border-radius:999px}
html[data-theme="arctic"] .badge.ok{color:#087f67;background:rgba(225,250,242,.82);border-color:rgba(19,164,126,.22)}
html[data-theme="arctic"] .badge.warn{color:#956000;background:rgba(255,247,219,.88);border-color:rgba(167,101,0,.18)}
html[data-theme="arctic"] .badge.module{color:#0d5f8c;background:rgba(218,244,252,.88);border-color:rgba(14,165,198,.24)}
html[data-theme="arctic"] .tab{color:#5b7d91;background:rgba(231,244,250,.82);border-color:rgba(50,126,164,.18);border-radius:12px 12px 0 0}
html[data-theme="arctic"] .tab.active{color:#0d5f8c;background:rgba(255,255,255,.9);border-color:rgba(14,165,198,.28);box-shadow:inset 0 3px #0ea5c6}
html[data-theme="arctic"] .data-table th,
html[data-theme="arctic"] .data-table td{border-color:rgba(114,153,174,.42)}
html[data-theme="arctic"] .data-table thead th{color:#123047;background:linear-gradient(180deg,#dff4fb,#cae8f3);border-color:rgba(80,139,166,.48);box-shadow:none}
html[data-theme="arctic"] .data-table tbody tr:nth-child(even) td{background:rgba(231,247,252,.45)}
html[data-theme="arctic"] .data-table tbody tr:hover td{background:rgba(212,242,251,.62)}
html[data-theme="arctic"] .data-table input:focus{color:#123047;background:#fff;outline:2px solid #0ea5c6;box-shadow:none}
html[data-theme="arctic"] .data-table tr.bad-row td{box-shadow:inset 0 0 0 9999px rgba(255,231,237,.68)}
html[data-theme="arctic"] .data-table tr.level-1 td{background:rgba(255,220,235,.72);color:#123047}
html[data-theme="arctic"] .data-table tr.level-2 td{background:rgba(215,248,236,.74);color:#123047}
html[data-theme="arctic"] .data-table tr.level-3 td{background:rgba(255,244,199,.78);color:#123047}
html[data-theme="arctic"] .empty{color:#68879a}
html[data-theme="arctic"] .empty::before{color:#0d79a0}
html[data-theme="arctic"] .summary-row{background:rgba(239,249,253,.72);border-color:rgba(50,126,164,.18)}
html[data-theme="arctic"] .summary-box{color:#123047;background:rgba(255,255,255,.72);border-color:rgba(50,126,164,.18)}
html[data-theme="arctic"] .summary-box small{color:#678599}
html[data-theme="arctic"] .summary-box strong{color:#0d79a0;text-shadow:none}
html[data-theme="arctic"] .issue{color:#986000;background:rgba(255,248,224,.86);border-color:rgba(167,101,0,.2)}
html[data-theme="arctic"] .issue.ok{color:#087f67;background:rgba(225,250,242,.86);border-color:rgba(19,164,126,.22)}
html[data-theme="arctic"] .raw{color:#31566d;background:rgba(247,253,255,.82)}
html[data-theme="arctic"] .site-footer{color:#5e7c90}
html[data-theme="arctic"] .site-footer .footer-box{color:#5e7c90;background:rgba(255,255,255,.65);border-color:rgba(50,126,164,.18);border-radius:16px;box-shadow:0 10px 28px rgba(35,91,124,.08),inset 0 1px 0 rgba(255,255,255,.85)}
html[data-theme="arctic"] .site-footer strong{color:#0b4169}

/* Theme specific toast */
html[data-theme="executive"] .theme-toast,
html[data-theme="arctic"] .theme-toast{color:#172033;background:rgba(255,255,255,.95);box-shadow:0 18px 50px rgba(30,72,100,.18)}

@media(max-width:1080px){
  .header-actions{gap:7px}
  .theme-switcher-label{display:none}
  .theme-select{min-width:142px}
}
@media(max-width:760px){
  .brand{flex-wrap:wrap}
  .brand-visual{flex:1 1 230px}
  .header-actions{width:100%;margin-left:0;justify-content:flex-end}
  .theme-switcher{flex:0 1 190px;justify-content:flex-start}
  .theme-select{width:100%;min-width:0}
  .theme-toast{right:14px;bottom:14px}
}
@media(max-width:480px){
  .header-actions{justify-content:stretch}
  .theme-switcher{flex:1}
  .theme-switcher-label{display:inline}
}
