/* Optional simulator themes. data-sim-theme=field leaves the original untouched. */
.sim-theme-cycle {
  position: fixed;
  z-index: 60;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  min-width: 190px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #68816a;
  background: #08110a;
  color: #dcebd7;
  box-shadow: 4px 4px 0 #0008;
  font: 700 11px/1 ui-monospace, monospace;
  letter-spacing: .05em;
  text-align: left;
  touch-action: manipulation;
}
.sim-theme-cycle:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

html[data-sim-theme="lcd"] {
  --bg: #849064; --well: #8e9970; --panel: #9da77f; --panel2: #a7b18a;
  --line: #56614a; --line2: #35422e; --ink: #1b271a; --hi: #071408;
  --dim: #1e251b; --sel: #263a23; --selink: #eaf5d0; color-scheme: light;
}
html[data-sim-theme="lcd"] body { background: #849064; color: #1b271a; }
html[data-sim-theme="lcd"] .mast,
html[data-sim-theme="lcd"] .toolbar,
html[data-sim-theme="lcd"] .rail,
html[data-sim-theme="lcd"] .workspace { background: #8e9970; border-color: #56614a; }
html[data-sim-theme="lcd"] .panel,
html[data-sim-theme="lcd"] .field,
html[data-sim-theme="lcd"] .notice,
html[data-sim-theme="lcd"] .honesty,
html[data-sim-theme="lcd"] .network { background: #9da77f; border-color: #56614a; color: #1b271a; }
html[data-sim-theme="lcd"] .panel-head,
html[data-sim-theme="lcd"] .rail .stack > * { background: #a7b18a; border-color: #56614a; }
html[data-sim-theme="lcd"] button,
html[data-sim-theme="lcd"] input,
html[data-sim-theme="lcd"] select { background: #b8c494; border-color: #35422e; color: #102010; }
html[data-sim-theme="lcd"] .sim-theme-cycle { background: #b8c494; color: #102010; border-color: #35422e; box-shadow: 4px 4px 0 #27301b55; }

html[data-sim-theme="aero"] { color-scheme: light; }
html[data-sim-theme="aero"] body {
  background:
    radial-gradient(circle at 18% 8%, #ffffffd9 0 7%, transparent 28%),
    radial-gradient(circle at 82% 4%, #b7efffcc 0 9%, transparent 35%),
    linear-gradient(145deg, #74b9e6 0%, #d9f4ff 42%, #70a9d2 72%, #335f93 100%);
  background-attachment: fixed;
  color: #102538;
  font-family: "Segoe UI", Candara, sans-serif;
}
html[data-sim-theme="aero"] .mast,
html[data-sim-theme="aero"] .toolbar,
html[data-sim-theme="aero"] .rail,
html[data-sim-theme="aero"] .workspace {
  border-color: #5f819db8;
  background: linear-gradient(#ffffffb8, #d7eaf5b8 48%, #b7d1e1c7 49%, #edf8ffb8);
  box-shadow: inset 0 1px #fff, 0 5px 18px #16354f38;
}
html[data-sim-theme="aero"] .panel,
html[data-sim-theme="aero"] .field,
html[data-sim-theme="aero"] .notice,
html[data-sim-theme="aero"] .honesty,
html[data-sim-theme="aero"] .network {
  border: 1px solid #7194ad;
  border-radius: 8px;
  background: linear-gradient(135deg, #f9fdffe8, #d9eaf4e8);
  color: #102538;
  box-shadow: inset 0 1px #fff, 0 7px 22px #1e456630;
}
html[data-sim-theme="aero"] .panel-head {
  border-radius: 7px 7px 0 0;
  border-color: #7194ad;
  background: linear-gradient(#fafdff, #b9d8ea 48%, #8db9d3 49%, #d5edf8);
  color: #183b53;
  text-shadow: 0 1px #fff;
}
html[data-sim-theme="aero"] .rail .stack > * { border-radius: 5px; border-color: #7798af; background: linear-gradient(#fafdff, #d5e7f1); }
html[data-sim-theme="aero"] .rail .stack > *.on { background: linear-gradient(#fff8c9, #f3c65e 50%, #e9a72e 51%, #fff1a8); }
html[data-sim-theme="aero"] button,
html[data-sim-theme="aero"] input,
html[data-sim-theme="aero"] select {
  border: 1px solid #607e95;
  border-radius: 4px;
  background: linear-gradient(#fff, #eaf2f7 47%, #c4d7e3 52%, #f8fcff);
  color: #173247;
  box-shadow: inset 0 1px #fff, 0 1px 2px #23435c38;
  font-family: inherit;
}
html[data-sim-theme="aero"] button:hover { border-color: #2b89bc; box-shadow: inset 0 0 0 2px #83d8ff, 0 0 7px #4ec5ff80; }
html[data-sim-theme="aero"] .sim-theme-cycle { background: linear-gradient(#fafdff, #a9cee3 48%, #70a7c7 49%, #d6edf8); color: #102538; border-color: #527a98; border-radius: 7px; }

html[data-sim-theme="xp"] { color-scheme: light; }
html[data-sim-theme="xp"] body {
  background: linear-gradient(#64a9f2 0 45%, #8ccd5a 46% 100%);
  background-attachment: fixed;
  color: #111;
  font-family: Tahoma, "Trebuchet MS", sans-serif;
}
html[data-sim-theme="xp"] .mast,
html[data-sim-theme="xp"] .toolbar {
  border-color: #003cbd;
  background: linear-gradient(#65a8ff 0%, #0c59d8 18%, #0646bf 82%, #003399 100%);
  color: #fff;
  text-shadow: 1px 1px #003184;
}
html[data-sim-theme="xp"] .rail,
html[data-sim-theme="xp"] .workspace { background: #ece9d8; border-color: #0831d9; color: #111; }
html[data-sim-theme="xp"] .panel,
html[data-sim-theme="xp"] .field,
html[data-sim-theme="xp"] .notice,
html[data-sim-theme="xp"] .honesty,
html[data-sim-theme="xp"] .network { border: 2px solid #0a54d6; border-radius: 8px 8px 3px 3px; background: #ece9d8; color: #111; box-shadow: 3px 4px 0 #00339955; }
html[data-sim-theme="xp"] .panel-head { border-radius: 6px 6px 0 0; border-color: #003cbd; background: linear-gradient(90deg, #0a50d0, #3b8bf5 70%, #0b4bc3); color: #fff; font-weight: 700; text-shadow: 1px 1px #002a91; }
html[data-sim-theme="xp"] .rail .stack > * { border: 1px solid #7f9db9; border-radius: 4px; background: #fff; }
html[data-sim-theme="xp"] .rail .stack > *.on { border-color: #2f7d17; background: linear-gradient(#9be579, #3b9e25 50%, #2b8619); color: #fff; }
html[data-sim-theme="xp"] button,
html[data-sim-theme="xp"] input,
html[data-sim-theme="xp"] select { border: 1px solid #7f9db9; border-radius: 3px; background: linear-gradient(#fff, #f4f2e9 55%, #d6d2c2); color: #111; box-shadow: inset 1px 1px #fff, inset -1px -1px #aca899; font-family: inherit; }
html[data-sim-theme="xp"] button:hover { box-shadow: inset 0 0 0 2px #f2a733; }
html[data-sim-theme="xp"] .sim-theme-cycle { border-color: #003cbd; border-radius: 7px; background: linear-gradient(#65a8ff, #0c59d8 30%, #003399); color: #fff; text-shadow: 1px 1px #003184; }

html[data-sim-theme="hotdog"] { color-scheme: light; }
html[data-sim-theme="hotdog"] body { background: #f00; color: #000; font-family: "MS Sans Serif", Tahoma, sans-serif; }
html[data-sim-theme="hotdog"] .mast,
html[data-sim-theme="hotdog"] .toolbar,
html[data-sim-theme="hotdog"] .rail,
html[data-sim-theme="hotdog"] .workspace { border: 2px solid #000; background: #ff0; color: #000; }
html[data-sim-theme="hotdog"] .panel,
html[data-sim-theme="hotdog"] .field,
html[data-sim-theme="hotdog"] .notice,
html[data-sim-theme="hotdog"] .honesty,
html[data-sim-theme="hotdog"] .network { border: 2px solid #000; background: #ff0; color: #000; box-shadow: 3px 3px 0 #000; }
html[data-sim-theme="hotdog"] .panel-head { border-color: #000; background: #f00; color: #ff0; font-weight: 900; }
html[data-sim-theme="hotdog"] .rail .stack > * { border: 2px solid #000; background: #fff; color: #000; }
html[data-sim-theme="hotdog"] .rail .stack > *.on { background: #000; color: #ff0; }
html[data-sim-theme="hotdog"] button,
html[data-sim-theme="hotdog"] input,
html[data-sim-theme="hotdog"] select { border: 2px solid #000; border-radius: 0; background: #fff; color: #000; box-shadow: inset 2px 2px #fff, inset -2px -2px #800; font-family: inherit; }
html[data-sim-theme="hotdog"] button:hover { background: #000; color: #ff0; }
html[data-sim-theme="hotdog"] .sim-theme-cycle { background: #f00; color: #ff0; border: 3px solid #000; box-shadow: 4px 4px 0 #000; }

@supports (backdrop-filter: blur(1px)) {
  html[data-sim-theme="aero"] .mast,
  html[data-sim-theme="aero"] .toolbar,
  html[data-sim-theme="aero"] .rail,
  html[data-sim-theme="aero"] .workspace,
  html[data-sim-theme="aero"] .panel { backdrop-filter: blur(16px) saturate(145%); }
}
@supports (background: color-mix(in srgb, white, black)) {
  html[data-sim-theme="aero"] .panel { background: color-mix(in srgb, #edf8ff 84%, transparent); }
}
@media (max-width: 540px) { .sim-theme-cycle { left: 10px; right: 10px; bottom: max(8px, env(safe-area-inset-bottom)); width: auto; } }
@media (prefers-reduced-transparency: reduce) { html[data-sim-theme="aero"] .panel { background: #e5f2fa; backdrop-filter: none; } }
@media (forced-colors: active) { .sim-theme-cycle, html[data-sim-theme] .panel, html[data-sim-theme] button { forced-color-adjust: auto; box-shadow: none; } }

.sim-theme-webgl,.sim-theme-canvas{display:none;position:fixed;inset:0;width:100%;height:100%;pointer-events:none}
.sim-theme-webgl{z-index:0;background:radial-gradient(circle at 75% 34%,#073d7080,transparent 38%),linear-gradient(145deg,#010815,#03142b 55%,#010a19)}
.sim-theme-canvas{z-index:1}
html[data-sim-theme="d3"] :is(.sim-theme-webgl,.sim-theme-canvas){display:block}
html[data-sim-theme="d3"] body{background:#020c1d;color:#c9e3f2;font-family:Inter,"Segoe UI",system-ui,sans-serif}
html[data-sim-theme="d3"] .shell{position:relative;z-index:2;background:transparent}
html[data-sim-theme="d3"] .mast,html[data-sim-theme="d3"] .toolbar,html[data-sim-theme="d3"] .rail,html[data-sim-theme="d3"] .workspace{background:#091829e8;border-color:#27435f;color:#c6d7e5;box-shadow:0 12px 38px #0006}
html[data-sim-theme="d3"] .panel,html[data-sim-theme="d3"] .field,html[data-sim-theme="d3"] .notice,html[data-sim-theme="d3"] .honesty,html[data-sim-theme="d3"] .network{background:#0d1d30dc;border:1px solid #2c4a65;border-radius:6px;color:#c6d7e5;box-shadow:0 10px 28px #0005,inset 0 1px #ffffff0d}
html[data-sim-theme="d3"] .panel-head{background:linear-gradient(90deg,#102b47e8,#102238e8);border-color:#2c4a65;color:#dcecff;border-radius:5px 5px 0 0}
html[data-sim-theme="d3"] .panel-head:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#59d7ff;box-shadow:16px 0 #8df7bd,32px 0 #ffcf5c;margin-right:42px}
html[data-sim-theme="d3"] .rail .stack>*{background:#0e2237e8;border-color:#31536f;color:#d7e7f3;border-radius:4px}
html[data-sim-theme="d3"] .rail .stack>*.on{background:#143754;border-color:#59d7ff;color:#fff}
html[data-sim-theme="d3"] button,html[data-sim-theme="d3"] input,html[data-sim-theme="d3"] select{background:#0e2237e8;border:1px solid #31536f;color:#d7e7f3;border-radius:4px;box-shadow:none;font-family:inherit}
html[data-sim-theme="d3"] button:hover{border-color:#59d7ff;color:#fff;box-shadow:inset 0 0 0 1px #59d7ff55}
html[data-sim-theme="d3"] button.good,html[data-sim-theme="d3"] button.on,html[data-sim-theme="d3"] .day.on{background:#59d7ff;color:#05111d;border-color:#9ae8ff}
html[data-sim-theme="d3"] .metric,html[data-sim-theme="d3"] .facts b,html[data-sim-theme="d3"] .rail-facts b{font-variant-numeric:tabular-nums;color:#8df7bd}
html[data-sim-theme="d3"] .sim-theme-cycle{background:#0e2237;border-color:#59d7ff;color:#dff7ff;box-shadow:4px 4px 0 #02070d}
@supports(backdrop-filter:blur(1px)){html[data-sim-theme="d3"] .mast,html[data-sim-theme="d3"] .toolbar,html[data-sim-theme="d3"] .rail,html[data-sim-theme="d3"] .workspace,html[data-sim-theme="d3"] .panel{backdrop-filter:blur(12px) saturate(130%)}}
@media(prefers-reduced-transparency:reduce){html[data-sim-theme="d3"] .mast,html[data-sim-theme="d3"] .toolbar,html[data-sim-theme="d3"] .rail,html[data-sim-theme="d3"] .workspace,html[data-sim-theme="d3"] .panel{background:#0d1d30;backdrop-filter:none}}

/* Fifteen full simulator display profiles matching the production cycle. */
html[data-sim-theme="mission"]{--bg:#262824;--well:#d8d1bc;--panel:#eee8d7;--panel2:#313531;--line:#777567;--line2:#292b28;--ink:#20231f;--hi:#10120f;--dim:#666659;--sel:#e76f2e;--selink:#fff8e8;color-scheme:light;--tf:"Arial Narrow","Roboto Condensed",sans-serif;--tb:linear-gradient(90deg,#292b27 0 18%,#3c3e36 18% 18.5%,#292b27 18.5%);--ta:#e76f2e;--tr:2px}
html[data-sim-theme="shuttle"]{--bg:#020406;--well:#05090b;--panel:#080d10;--panel2:#0d161a;--line:#31535e;--line2:#65cad0;--ink:#d8ece8;--hi:#fff;--dim:#83a29f;--sel:#5cd4e5;--selink:#001014;color-scheme:dark;--tf:Eurostile,"Microgramma D Extended",monospace;--tb:linear-gradient(#020406,#061014);--ta:#5cd4e5;--tr:0}
html[data-sim-theme="braun"]{--bg:#c9c2ad;--well:#e4ddc8;--panel:#eee7d4;--panel2:#d5ceba;--line:#888274;--line2:#3d403a;--ink:#292b27;--hi:#11120f;--dim:#6f6d62;--sel:#ed5b27;--selink:#fff;color-scheme:light;--tf:Futura,"Century Gothic",Avenir,sans-serif;--tb:radial-gradient(circle,#4b493f20 1px,transparent 1px),#c9c2ad;--ta:#ed5b27;--tr:3px}
html[data-sim-theme="trinitron"]{--bg:#101315;--well:#181c1f;--panel:#1d2225;--panel2:#090d0f;--line:#3b4449;--line2:#64757d;--ink:#d5e1df;--hi:#f7fffd;--dim:#7f9290;--sel:#e33b35;--selink:#fff;color-scheme:dark;--tf:"DIN Condensed","Arial Narrow",sans-serif;--tb:radial-gradient(ellipse at 50% 20%,#273034,#0b0e10 64%);--ta:#e33b35;--tr:5px}
html[data-sim-theme="platinum"]{--bg:#777;--well:#ddd;--panel:#eee;--panel2:#ccc;--line:#888;--line2:#111;--ink:#111;--hi:#000;--dim:#555;--sel:#111;--selink:#fff;color-scheme:light;--tf:Chicago,Geneva,"Lucida Grande",sans-serif;--tb:repeating-conic-gradient(#888 0 25%,#777 0 50%) 0/4px 4px;--ta:#111;--tr:1px}
html[data-sim-theme="next"]{--bg:#363636;--well:#555;--panel:#bababa;--panel2:#222;--line:#111;--line2:#e8e8e8;--ink:#111;--hi:#000;--dim:#4b4b4b;--sel:#111;--selink:#fff;color-scheme:light;--tf:"Helvetica Neue",Helvetica,sans-serif;--tb:linear-gradient(135deg,#444,#242424);--ta:#fff;--tr:0}
html[data-sim-theme="irix"]{--bg:#6f6a75;--well:#c2bec7;--panel:#dad8dc;--panel2:#4a4552;--line:#595460;--line2:#e8e3ed;--ink:#17151a;--hi:#08070a;--dim:#5a5560;--sel:#3f9f99;--selink:#fff;color-scheme:light;--tf:"Nimbus Sans",Helvetica,sans-serif;--tb:linear-gradient(135deg,#494353,#847e89);--ta:#7ff2dd;--tr:7px}
html[data-sim-theme="lcars"]{--bg:#050505;--well:#080808;--panel:#101014;--panel2:#18161d;--line:#b78ad8;--line2:#f29a62;--ink:#f6e8d3;--hi:#fff;--dim:#b7a9c1;--sel:#ef9b63;--selink:#1b0d08;color-scheme:dark;--tf:BankGothic,"Arial Narrow",sans-serif;--tb:#050505;--ta:#ef9b63;--tr:26px}
html[data-sim-theme="eink"]{--bg:#e9e5d7;--well:#f7f4e9;--panel:#fbf9f0;--panel2:#dedacd;--line:#77746b;--line2:#171816;--ink:#171816;--hi:#000;--dim:#5e5d57;--sel:#b82520;--selink:#fff;color-scheme:light;--tf:Charter,Georgia,serif;--tb:#e9e5d7;--ta:#b82520;--tr:0}
html[data-sim-theme="topo"]{--bg:#d8d1b5;--well:#eee8cf;--panel:#f4efd9;--panel2:#d5dcc5;--line:#76806b;--line2:#405943;--ink:#253126;--hi:#132016;--dim:#667062;--sel:#d26332;--selink:#fffaf0;color-scheme:light;--tf:"Roboto Slab",Rockwell,serif;--tb:repeating-radial-gradient(ellipse at 70% 30%,transparent 0 22px,#496b4f24 23px 24px,transparent 25px 38px),#d8d1b5;--ta:#d26332;--tr:2px}
html[data-sim-theme="scope"]{--bg:#00110d;--well:#001a13;--panel:#00231a;--panel2:#001710;--line:#176b52;--line2:#39e59f;--ink:#a9fbd3;--hi:#e0ffef;--dim:#57a986;--sel:#48ffab;--selink:#00140d;color-scheme:dark;--tf:"OCR A Std","Courier New",monospace;--tb:linear-gradient(#35ff9c16 1px,transparent 1px),linear-gradient(90deg,#35ff9c16 1px,transparent 1px),#00110d;--ta:#50ffaf;--tr:1px}
html[data-sim-theme="cdu"]{--bg:#171816;--well:#252720;--panel:#303229;--panel2:#11130f;--line:#65695b;--line2:#a8ad91;--ink:#e0e2c8;--hi:#fffde4;--dim:#9a9e88;--sel:#d59b37;--selink:#171006;color-scheme:dark;--tf:"Lucida Console",Monaco,monospace;--tb:linear-gradient(120deg,#111,#292b25);--ta:#d59b37;--tr:5px}
html[data-sim-theme="scada"]{--bg:#aeb4b5;--well:#d4d8d8;--panel:#e7e9e7;--panel2:#bcc4c5;--line:#657074;--line2:#26353a;--ink:#172125;--hi:#080d0f;--dim:#566267;--sel:#137ab0;--selink:#fff;color-scheme:light;--tf:"DIN 2014","Arial Narrow",sans-serif;--tb:linear-gradient(90deg,#90999b 1px,transparent 1px),linear-gradient(#90999b 1px,transparent 1px),#aeb4b5;--ta:#137ab0;--tr:2px}
html[data-sim-theme="retro"]{--bg:#08051c;--well:#111039;--panel:#151348;--panel2:#22195a;--line:#4e4da0;--line2:#56e2df;--ink:#d8dcff;--hi:#fff;--dim:#8d91c3;--sel:#ff4da6;--selink:#fff;color-scheme:dark;--tf:Orbitron,"Bank Gothic",sans-serif;--tb:linear-gradient(135deg,transparent 0 74%,#ff4da61d 74% 75%,transparent 75%),linear-gradient(45deg,#55f4df0c 25%,transparent 25%),#08051c;--ta:#ff4da6;--tr:10px}
html[data-sim-theme="solarpunk"]{--bg:#d8d2ad;--well:#f0e9c8;--panel:#fff8dc;--panel2:#c9d8aa;--line:#71805d;--line2:#365b45;--ink:#26382b;--hi:#122619;--dim:#62705f;--sel:#e39935;--selink:#241400;color-scheme:light;--tf:Avenir,"Gill Sans",sans-serif;--tb:radial-gradient(circle at 12% 18%,#ffffff80 0 4%,transparent 18%),linear-gradient(135deg,#d8d2ad,#a8c79b);--ta:#e39935;--tr:14px}

html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) body{font-family:var(--tf);background:var(--tb);background-attachment:fixed;color:var(--ink)}
html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) :is(.mast,.toolbar,.rail,.workspace){background:var(--well);border-color:var(--line2);color:var(--ink)}
html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) :is(.panel,.field,.notice,.honesty,.network,.node){background:var(--panel);border-color:var(--line);color:var(--ink);border-radius:var(--tr)}
html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) .panel-head{background:var(--panel2);border-top:4px solid var(--ta);border-color:var(--ta);color:var(--hi)}
html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) :is(button,input,select){font-family:inherit;background:var(--panel2);border:1px solid var(--line2);color:var(--ink);border-radius:var(--tr)}
html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) :is(.node.on,.day.on,.btn.primary){background:var(--sel);color:var(--selink);border-color:var(--sel)}
html:is([data-sim-theme="mission"],[data-sim-theme="shuttle"],[data-sim-theme="braun"],[data-sim-theme="trinitron"],[data-sim-theme="platinum"],[data-sim-theme="next"],[data-sim-theme="irix"],[data-sim-theme="lcars"],[data-sim-theme="eink"],[data-sim-theme="topo"],[data-sim-theme="scope"],[data-sim-theme="cdu"],[data-sim-theme="scada"],[data-sim-theme="retro"],[data-sim-theme="solarpunk"]) .sim-theme-cycle{background:var(--panel2);border:2px solid var(--ta);color:var(--ink);border-radius:var(--tr);box-shadow:4px 4px 0 #0006}
html[data-sim-theme="mission"] .mast{border-top:8px solid #e76f2e}html[data-sim-theme="shuttle"] :is(.panel,.rail){box-shadow:inset 0 0 0 3px #020608}html[data-sim-theme="braun"] .mark{border-radius:50%;background:#ed5b27;color:#fff}html[data-sim-theme="trinitron"] .mast{border-bottom:6px solid #e33b35}html[data-sim-theme="platinum"] :is(.mast,.panel,.node){box-shadow:inset 1px 1px #fff,inset -1px -1px #777,3px 3px #222}html[data-sim-theme="platinum"] .panel-head{background:repeating-linear-gradient(#fff 0 1px,#999 1px 2px);color:#000;border:0}html[data-sim-theme="next"] :is(.mast,.panel,.node){border:2px solid #111;box-shadow:inset 2px 2px #eee,inset -2px -2px #444,5px 5px #111}html[data-sim-theme="irix"] .panel-head{background:linear-gradient(90deg,#45404d,#706878);color:#fff}html[data-sim-theme="lcars"] .rail{border-right:18px solid #b78ad8;border-radius:0 34px 34px 0}html[data-sim-theme="lcars"] .panel-head{border:0;border-left:18px solid #b78ad8;border-radius:24px 0 0 24px}html[data-sim-theme="eink"] :is(.mast,.panel,.node){box-shadow:none;border:2px solid #171816}html[data-sim-theme="topo"] .mast{border-bottom:6px double #405943}html[data-sim-theme="scope"] .shell{background:linear-gradient(#35ff9c13 1px,transparent 1px),linear-gradient(90deg,#35ff9c13 1px,transparent 1px);background-size:24px 24px}html[data-sim-theme="cdu"] :is(.btn,.day){border:2px outset #696d5e}html[data-sim-theme="scada"] .panel-head{background:#26353a;color:#fff;border-top:6px solid #137ab0}html[data-sim-theme="retro"] .panel{border:1px solid #56e2df;box-shadow:5px 5px 0 #ff4da62b}html[data-sim-theme="solarpunk"] .panel-head{border-top:0;border-left:10px solid #e39935;background:linear-gradient(90deg,#c9d8aa,#fff8dc)}

html[data-sim-theme="splitflap"]{--bg:#171612;--well:#23221d;--panel:#11110f;--panel2:#e8b927;--line:#48463d;--line2:#e8b927;--ink:#f0ead8;--hi:#fff9e6;--dim:#a49c83;--sel:#e8b927;--selink:#16140a;color-scheme:dark;--nf:"Arial Narrow","DIN Condensed",sans-serif;--nb:#171612;--na:#e8b927}
html[data-sim-theme="blueprint"]{--bg:#084c89;--well:#0d5a99;--panel:#0a5593;--panel2:#073f76;--line:#a9d7ed;--line2:#e6f7ff;--ink:#eefaff;--hi:#fff;--dim:#b8dce9;--sel:#fff;--selink:#084c89;color-scheme:dark;--nf:"Courier New",monospace;--nb:linear-gradient(#ffffff14 1px,transparent 1px),linear-gradient(90deg,#ffffff14 1px,transparent 1px),#084c89;--na:#fff}
html[data-sim-theme="illuminated"]{--bg:#5a3527;--well:#d8c391;--panel:#f1dfad;--panel2:#8c2633;--line:#7b5e35;--line2:#4f281f;--ink:#3c251a;--hi:#20120d;--dim:#785f42;--sel:#1d5e50;--selink:#fff4c8;color-scheme:light;--nf:Palatino,"Book Antiqua",serif;--nb:radial-gradient(circle at 30% 20%,#fff5c930,transparent 30%),#d8c391;--na:#8c2633}
html[data-sim-theme="thermal"]{--bg:#08000e;--well:#16001e;--panel:#21002d;--panel2:#44004f;--line:#ad176d;--line2:#ff7a21;--ink:#fff2d5;--hi:#fff;--dim:#e789b1;--sel:#fff45e;--selink:#300020;color-scheme:dark;--nf:Impact,"Arial Black",sans-serif;--nb:radial-gradient(circle at 75% 20%,#fff45e24,#ff4b1718 18%,#7f006026 34%,transparent 50%),#08000e;--na:#fff45e}
html[data-sim-theme="tokyo"]{--bg:#ececeb;--well:#fff;--panel:#fff;--panel2:#141414;--line:#b9b9b5;--line2:#171717;--ink:#171717;--hi:#000;--dim:#666;--sel:#00a66b;--selink:#fff;color-scheme:light;--nf:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;--nb:#ececeb;--na:#00a66b}
html[data-sim-theme="synth"]{--bg:#171717;--well:#b8b3a5;--panel:#d3cdbd;--panel2:#272727;--line:#555147;--line2:#171717;--ink:#171717;--hi:#000;--dim:#635f55;--sel:#e35328;--selink:#fff;color-scheme:light;--nf:"Arial Narrow",sans-serif;--nb:repeating-linear-gradient(90deg,#aaa596 0 183px,#403d37 184px 188px);--na:#e35328}
html[data-sim-theme="punchcard"]{--bg:#2c5984;--well:#d8c89f;--panel:#f0dfb6;--panel2:#d5c18d;--line:#917b52;--line2:#213c58;--ink:#243342;--hi:#0e2539;--dim:#756b55;--sel:#315f91;--selink:#fff;color-scheme:light;--nf:"Courier Prime","Courier New",monospace;--nb:radial-gradient(ellipse,#2c5984 0 2px,transparent 3px) 0 0/18px 10px,#d8c89f;--na:#315f91}
html[data-sim-theme="broadcast"]{--bg:#111;--well:#171717;--panel:#f3f1e8;--panel2:#ffd400;--line:#111;--line2:#111;--ink:#111;--hi:#000;--dim:#4c4c49;--sel:#ffd400;--selink:#111;color-scheme:light;--nf:"Arial Black",Impact,sans-serif;--nb:repeating-linear-gradient(135deg,#111 0 14px,#ffd400 14px 28px);--na:#ffd400}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) body{font-family:var(--nf);background:var(--nb);color:var(--ink)}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) :is(.mast,.toolbar,.rail,.workspace){background:var(--well);border-color:var(--line2);color:var(--ink)}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) :is(.panel,.field,.notice,.honesty,.network,.node){background:var(--panel);border-color:var(--line);color:var(--ink)}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) .panel-head{background:var(--panel2);border-color:var(--na);color:var(--ink)}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) :is(button,input,select){font-family:inherit;background:var(--panel2);border:1px solid var(--line2);color:var(--ink)}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) :is(.node.on,.day.on,.btn.primary){background:var(--sel);color:var(--selink)}
html:is([data-sim-theme="splitflap"],[data-sim-theme="blueprint"],[data-sim-theme="illuminated"],[data-sim-theme="thermal"],[data-sim-theme="tokyo"],[data-sim-theme="synth"],[data-sim-theme="punchcard"],[data-sim-theme="broadcast"]) .sim-theme-cycle{background:var(--panel2);border:2px solid var(--na);color:var(--ink)}
html[data-sim-theme="splitflap"] :is(.node,.panel){background:linear-gradient(#161612 0 48%,#3b392f 49% 51%,#11110f 52%);box-shadow:0 3px #000}html[data-sim-theme="blueprint"] :is(.panel,.node){border:1px dashed #e6f7ff}html[data-sim-theme="illuminated"] .panel{border:6px double #7b5e35}html[data-sim-theme="thermal"] .panel{border-image:linear-gradient(90deg,#6d00a8,#ff285a,#ffad24,#fff45e) 1}html[data-sim-theme="tokyo"] .mast{border-top:10px solid #00a66b}html[data-sim-theme="tokyo"] .rail{border-right:12px solid #007cc3}html[data-sim-theme="synth"] .panel{box-shadow:inset 0 0 0 3px #e2dccb,4px 5px #0007}html[data-sim-theme="punchcard"] .panel{border-left:16px dotted #2c5984}html[data-sim-theme="broadcast"] :is(.mast,.panel,.node){border:4px solid #111;box-shadow:7px 7px #000}
