/* argus.css — LUMEN ARGUS workstation · THE EYE, commercial grade (21 Jul redesign)
   Private Bank palette · tape discipline: lime/coral ONLY on data, brass on furniture.
   Same engine, new presentation: one focal point (the heartbeat), a calm command bar,
   numbered cinematic cards, gauges instead of rows, and a live ticker for THE LINK. */
:root {
  --bg-0: #0a0f1a;
  --bg-2: #0c1220;
  --panel: rgba(14, 21, 34, .78);
  --gold: #c9a96a;
  --amber: #e2cb96;
  --champagne: #d6c69a;
  --brass-lo: #8a744a;
  --green: #b7f04a;
  --red: #ff7a6b;
  --warn: #ffb054;
  --text: #d9d6cc;
  --parch: #edeae2;
  --dim: #8a93a6;
  --line: rgba(201, 169, 106, .16);
  --line2: rgba(201, 169, 106, .32);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--bg-0); color: var(--text);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  overflow-x: hidden;
  padding-bottom: 40px;   /* room for the fixed LINK ribbon */
}
/* ambient: fine grid + a slow drifting light — the room breathes */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(201,169,106,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,169,106,.028) 1px, transparent 1px);
  background-size: 42px 42px; }
body::after { content: ""; position: fixed; inset: -40%; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 42% 30% at 50% 50%, rgba(201,169,106,.05), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-6%,-4%); } to { transform: translate(6%,5%); } }
@keyframes sweep { to { left: 100%; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(183,240,74,.45); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes breathe { 50% { background: rgba(255,176,84,.08); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── COMMAND BAR — one line, three zones ─────────────── */
#cmd { position: relative; z-index: 6; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; row-gap: 8px;
  padding: 8px 22px; min-height: 54px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,26,42,.95), rgba(12,18,32,.88)); backdrop-filter: blur(10px); }
#cmd .wordmark { font-family: 'Orbitron', sans-serif; font-size: 15px; letter-spacing: 4px; color: var(--gold); white-space: nowrap; line-height: 1.2; }
#cmd .wordmark small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: 3.5px; color: var(--dim); }
.views, .mkt { display: flex; gap: 2px; border: 1px solid var(--line); padding: 2px; }
.mkt { margin-left: auto; }
.views .pill, .mkt .pill { font: inherit; font-size: 10px; letter-spacing: 2px; background: none; border: 0;
  color: var(--dim); padding: 7px 14px; cursor: pointer; transition: color .25s; text-decoration: none; }
.views .pill.active, .mkt .pill.active { color: var(--bg-0); background: linear-gradient(180deg, var(--amber), var(--gold)); font-weight: 700; }
/* legacy pill (desk menu links reuse it) */
.pill { border: 1px solid var(--line); color: var(--dim); background: transparent;
  font: inherit; padding: 4px 12px; cursor: pointer; letter-spacing: 1px; }
.views .pill, .mkt .pill { border: 0; }
/* the desk flyout — the whole site, one calm button */
.deskwrap { position: relative; }
.deskbtn { font: inherit; font-size: 10px; letter-spacing: 2px; color: var(--champagne); background: none;
  border: 1px solid var(--line); padding: 8px 14px; cursor: pointer; transition: border-color .25s; }
.deskbtn:hover { border-color: var(--line2); }
#deskMenu { display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 190px;
  background: rgba(12,18,32,.97); border: 1px solid var(--line2); backdrop-filter: blur(12px); padding: 6px; }
#deskMenu.open { display: block; }
#deskMenu a { display: block; font-size: 10px; letter-spacing: 2px; color: var(--dim); text-decoration: none;
  padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.05); transition: color .2s, background .2s; }
#deskMenu a:last-child { border-bottom: none; }
#deskMenu a:hover { color: var(--amber); background: rgba(201,169,106,.06); }
.clockbox { text-align: right; line-height: 1.5; }
.clockbox .c { color: var(--champagne); letter-spacing: 2px; font-size: 13px; }
.clockbox .s { color: var(--dim); font-size: 8.5px; letter-spacing: 2px; }
#clock { color: var(--champagne); letter-spacing: 1px; }
.dot, .livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; animation: ring 2.2s infinite; }

#status { position: relative; z-index: 1; padding: 5px 22px; color: var(--dim); font-size: 10px; letter-spacing: 1px; }
#status:empty { display: none; }
#status .err { color: var(--red); }

/* ── THE HEARTBEAT — the screen's single focal point ── */
#beat { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  padding: 20px 28px; border-bottom: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(201,169,106,.045), transparent 65%); }
#beat::after { content: ""; position: absolute; bottom: 0; left: -30%; width: 34%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: sweep 7s linear infinite; opacity: .7; }
.bsym { line-height: 1.3; }
.bsym .s1 { font-size: 10px; letter-spacing: 3px; color: var(--dim); }
.bsym .s2 { font-size: 17px; letter-spacing: 3px; color: var(--parch); }
.bsym .s3 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 13px; color: var(--gold); margin-top: 2px; }
.bprice { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.bignum { font-size: 42px; font-weight: 300; letter-spacing: 1px; color: var(--parch);
  font-variant-numeric: tabular-nums; transition: color .3s, text-shadow .3s; }
.bignum.tick-up { color: var(--green); text-shadow: 0 0 30px rgba(183,240,74,.35); }
.bignum.tick-dn { color: var(--red); text-shadow: 0 0 30px rgba(255,122,107,.35); }
.bdelta { font-size: 13px; letter-spacing: 1px; }
.bchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.bchip { font-size: 9px; letter-spacing: 1.6px; padding: 4px 10px; border: 1px solid var(--line); color: var(--dim); }
.bchip.on { color: var(--green); border-color: rgba(183,240,74,.35); }
.bchip.warn { color: var(--warn); border-color: rgba(255,176,84,.4); animation: breathe 2.6s ease-in-out infinite; }
.bchip.fired { color: var(--green); border-color: rgba(183,240,74,.5); }
#spark { width: 210px; height: 64px; }
@media (max-width: 900px) { #beat { grid-template-columns: 1fr; gap: 12px; } #spark { display: none; } .bignum { font-size: 34px; } }

/* ── workstation grid ────────────────────── */
#station { position: relative; z-index: 1; display: grid; gap: 14px; padding: 14px 22px 26px;
  grid-template-columns: 1fr 300px;
  grid-template-areas: "tape pulse" "tape watch" "map map" "trigger hunter"; }
@media (max-width: 1000px) { #station { grid-template-columns: 1fr; grid-template-areas: "tape" "pulse" "watch" "map" "trigger" "hunter"; } }

/* ── the card system — numbered, staggered, alive ── */
.panel { background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(8px); position: relative; padding: 12px 16px;
  opacity: 0; transform: translateY(14px); animation: enter .7s cubic-bezier(.2,.7,.3,1) forwards; }
#station .panel:nth-child(1) { animation-delay: .05s; } #station .panel:nth-child(2) { animation-delay: .14s; }
#station .panel:nth-child(3) { animation-delay: .23s; } #station .panel:nth-child(4) { animation-delay: .32s; }
#station .panel:nth-child(5) { animation-delay: .41s; } #station .panel:nth-child(6) { animation-delay: .5s; }
#heliosView .panel, #atlasView .panel { opacity: 1; transform: none; }
.panel::before, .panel::after { content: ""; position: absolute; width: 10px; height: 10px;
  border: 1px solid var(--gold); transition: width .3s, height .3s; z-index: 2; }
.panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.panel::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.panel:hover::before, .panel:hover::after { width: 22px; height: 22px; }
.panel h2 { font-size: 10.5px; letter-spacing: 3.5px; color: var(--champagne);
  display: flex; align-items: center; gap: 10px; font-weight: 400;
  margin: -12px -16px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; }
.panel h2::after { content: ""; position: absolute; bottom: -1px; left: -40%; width: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226,203,150,.8), transparent); animation: sweep 9s linear infinite; }
.panel h2 .no { font-size: 9px; color: var(--brass-lo); letter-spacing: 2px; }
.panel h2 .tag { margin-left: auto; color: var(--dim); letter-spacing: 1.6px; font-size: 8.5px; }
.panel h2 .tag ~ .tag { margin-left: 0; }
.tag.ai { color: var(--gold); }

/* module 01 — the tape */
#tape { grid-area: tape; min-height: 480px; display: flex; flex-direction: column; }
#chart { flex: 1; min-height: 340px; }
#framesRow { display: flex; gap: 0; padding-top: 0; border-top: 1px solid var(--line); margin: 10px -16px -12px; color: var(--dim); }
#framesRow span { flex: 1; text-align: center; padding: 9px 0; font-size: 10px; letter-spacing: 1.5px;
  border-right: 1px solid rgba(201,169,106,.08); }
#framesRow span:last-child { border-right: 0; }
#framesRow b { display: block; color: var(--text); font-weight: 400; font-size: 13px; margin-top: 2px; }
#framesRow .k { display: none; }
#framesRow .aligned { color: var(--gold); }

/* module 02 — the pulse: gauges, not rows */
#pulse { grid-area: pulse; }
.trendrow { display: flex; align-items: center; gap: 12px; padding: 2px 0 10px; }
.trendrow .arr { font-size: 26px; line-height: 1; }
.trendrow .tl { font-size: 9px; letter-spacing: 2px; color: var(--dim); }
.trendrow .tv { font-size: 12.5px; letter-spacing: 1px; color: var(--parch); }
.gaugewrap { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(201,169,106,.12); }
.gaugewrap:last-child { border-bottom: none; }
.glabel { font-size: 9px; letter-spacing: 2px; color: var(--dim); width: 62px; flex: none; }
.gval { margin-left: auto; font-size: 14px; color: var(--parch); font-variant-numeric: tabular-nums; text-align: right; }
.gval small { display: block; font-size: 8px; color: var(--dim); letter-spacing: 1.4px; }
.gbar { flex: 1; height: 5px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.gbar i { position: absolute; inset: 0; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
.gbar.rsi i { background: linear-gradient(90deg, var(--red), var(--champagne) 50%, var(--green)); }
.gbar.vol i { background: var(--gold); }
.gbar.atr i { background: var(--warn); }
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(201,169,106,.1); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--dim); letter-spacing: 2px; font-size: 10px; }
.kv .v { color: var(--text); }
.up { color: var(--green); } .down { color: var(--red); } .flat { color: var(--dim); }

/* module 07 — THE WATCH: the filing's levels, graded live off closed bars */
#watch { grid-area: watch; }
#watch .wrow { display: grid; grid-template-columns: 13px 1fr auto; gap: 9px; align-items: center;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 10px; }
#watch .wrow:last-of-type { border-bottom: none; }
#watch .wdot { width: 7px; height: 7px; border-radius: 50%; background: #3a4356; }
#watch .wnm { letter-spacing: 1px; color: var(--text); }
#watch .wpr { color: var(--dim); font-size: 8.5px; }
#watch .wst { font-size: 8.5px; letter-spacing: 1.2px; text-align: right; color: var(--dim); }
#watch .wdot.w-armed { background: var(--warn); animation: ring 2.4s infinite; }
#watch .wst.w-armed { color: var(--warn); }
#watch .wdot.w-held { background: var(--gold); }   #watch .wst.w-held { color: var(--amber); }
#watch .wdot.w-up, #watch .wdot.w-hit { background: var(--green); }
#watch .wst.w-up, #watch .wst.w-hit { color: var(--green); }
#watch .wdot.w-dn { background: var(--red); }      #watch .wst.w-dn { color: var(--red); }
#watch .wdot.w-dorm, #watch .wdot.w-unb { background: #3a4356; }
#watch .wv { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); }
#watch .wv b { display: block; font-size: 9.5px; letter-spacing: 2px; margin-bottom: 4px; color: var(--champagne); font-weight: 400; }
#watch .wv span { font-size: 9px; color: var(--dim); line-height: 1.7; display: block; }
#watch .wv.warn { border-color: rgba(255,176,84,.4); background: rgba(255,176,84,.05); animation: breathe 3s ease-in-out infinite; }
#watch .wv.warn b { color: var(--warn); }
#watch .wv.up { border-color: rgba(183,240,74,.4); background: rgba(183,240,74,.04); } #watch .wv.up b { color: var(--green); }
#watch .wv.dn { border-color: rgba(255,122,107,.4); background: rgba(255,122,107,.04); } #watch .wv.dn b { color: var(--red); }
/* the observer's view — the plan is the seat */
#watch .wlock { padding: 14px 4px 6px; }
#watch .wlock .wlk { font-size: 10px; letter-spacing: 2.5px; color: var(--amber); margin-bottom: 10px; }
#watch .wlock p { font-size: 10px; color: var(--dim); line-height: 1.8; margin-bottom: 14px; }
#watch .wlock a { display: inline-block; font-size: 10px; letter-spacing: 2.5px; color: var(--bg-0);
  background: linear-gradient(180deg, var(--amber), var(--gold)); text-decoration: none; padding: 9px 16px; }

/* module 04 — the map: the ladder as an instrument */
#map { grid-area: map; }
#ledger { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 8px; }
.lvl { border: 1px solid var(--line); padding: 8px 12px; display: flex; gap: 9px; align-items: baseline;
  position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
.lvl:hover { border-color: var(--line2); transform: translateY(-1px); }
.lvl.retired { opacity: .35; }
.lvl .p { color: var(--parch); font-size: 13px; }
.lvl .kind { font-size: 10px; }
.lvl .rank { color: var(--gold); font-size: 9px; letter-spacing: 1px; }
.lvl .meta { margin-left: auto; color: var(--dim); font-size: 8.5px; }
.lvl.near { border-color: rgba(226,203,150,.5); }
.lvl.near::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(226,203,150,.07) 50%, transparent 70%);
  animation: shimmer 2.8s linear infinite; }
.lvl.spot-row { border-color: rgba(183,240,74,.55); background: rgba(183,240,74,.05); }
.lvl.spot-row .p { color: var(--green); text-shadow: 0 0 16px rgba(183,240,74,.4); }
.lvl.spot-row .kind { color: var(--green); }
.lvl.spot-row .meta { color: var(--green); opacity: .7; letter-spacing: 2px; }
#readLine { margin-top: 12px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 15px; color: var(--amber); }
#mapState { color: var(--gold); letter-spacing: 2px; font-size: 9px; }

/* module 05 — the trigger */
#trigger { grid-area: trigger; }
#watchRows .row, #gateRow { display: flex; gap: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; align-items: center; }
.st { letter-spacing: 1.5px; font-size: 8.5px; padding: 2px 9px; border: 1px solid var(--line); }
.st.armed { color: var(--green); border-color: rgba(183,240,74,.4); }
.st.watch { color: var(--dim); }
.st.fired { color: var(--bg-0); background: var(--gold); border-color: var(--gold); }
.st.held { color: var(--red); border-color: rgba(255,122,107,.4); }
#gateRow { border-bottom: none; padding-top: 12px; color: var(--dim); font-size: 9.5px; }
#gateRow .ok { color: var(--green); } #gateRow .bad { color: var(--red); }
#gateState { margin-left: auto; letter-spacing: 2.5px; }
#fireLine { margin-top: 8px; color: var(--gold); font-size: 10px; letter-spacing: .5px; }

/* module 06 — the hunter */
#hunter { grid-area: hunter; }
#huntRows .row, #huntCounts { display: flex; gap: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; align-items: baseline; }
#huntCounts { border-bottom: none; color: var(--dim); padding-top: 10px; font-size: 9.5px; }
#huntCounts b { font-weight: 400; }
#huntCounts .aligned { margin-left: auto; color: var(--gold); }

/* ── THE LINK — a live ticker ribbon, fixed to the desk ── */
#linkbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8; display: flex; align-items: center;
  border-top: 1px solid var(--line); background: rgba(10,15,26,.94); backdrop-filter: blur(10px);
  height: 34px; overflow: hidden; }
#linkbar .lb { flex: none; padding: 0 16px; font-size: 9px; letter-spacing: 2.5px; color: var(--gold);
  border-right: 1px solid var(--line); line-height: 34px; white-space: nowrap; }
#linkwrap { overflow: hidden; flex: 1; }
#linkTick { white-space: nowrap; display: inline-block; padding-left: 100%;
  animation: marquee 44s linear infinite; font-size: 10px; color: var(--dim); line-height: 34px; letter-spacing: 1px; }
#linkTick b { color: var(--champagne); font-weight: 400; }
#linkTick .n { color: var(--gold); }
#linkTick .u { color: var(--green); } #linkTick .d { color: var(--red); } #linkTick .w { color: var(--warn); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ── THE OBSERVER'S GLASS — everything below the heartbeat locks; the desk
      stays LIVE underneath the blur (moving numbers sell the seat) ── */
body.observer #station, body.observer #heliosView, body.observer #atlasView, body.observer #argusView,
body.observer #pageView {
  filter: blur(8px) saturate(.75); pointer-events: none; user-select: none; }

/* ── THE INSTRUMENT FRAME — the desk's other rooms, docked as tabs ── */
#pageView { position: relative; z-index: 1; padding: 10px 22px 0; }
#pageFrame { display: block; width: 100%; border: 1px solid var(--line); background: var(--bg-0);
  height: calc(100vh - 96px); min-height: 560px; }
body.observer #linkTick { filter: blur(5px); }
#obsLock { display: none; position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center;
  pointer-events: none; }
body.observer #obsLock { display: flex; }
.oplate { pointer-events: auto; max-width: 430px; margin: 40px 18px 0; padding: 30px 32px; text-align: center;
  background: rgba(10,15,26,.95); border: 1px solid var(--line2); backdrop-filter: blur(6px);
  box-shadow: 0 20px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(201,169,106,.08);
  animation: enter .8s cubic-bezier(.2,.7,.3,1) both .3s; position: relative; }
.oplate::before, .oplate::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); }
.oplate::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.oplate::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.oplate .ot { font-size: 10px; letter-spacing: 4px; color: var(--gold); margin-bottom: 12px; }
.oplate .oh { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 21px; color: var(--parch); margin-bottom: 12px; }
.oplate p { font-size: 10.5px; color: var(--dim); line-height: 1.9; margin-bottom: 20px; }
.oplate .octa { display: inline-block; font-size: 11px; letter-spacing: 3px; color: var(--bg-0); font-weight: 700;
  background: linear-gradient(180deg, var(--amber), var(--gold)); text-decoration: none; padding: 12px 26px; }
.oplate .ores { display: block; margin-top: 14px; font-size: 9px; letter-spacing: 1.5px; color: var(--dim); text-decoration: none; }
.oplate .ores:hover { color: var(--amber); }

/* ── HELIOS — the interpreter, docked ── */
#helios { display: flex; flex-direction: column; }
#hLog { max-height: 300px; overflow-y: auto; padding: 4px 0 10px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 13px; border: 1px solid var(--line); font-size: 12px; line-height: 1.8; white-space: pre-wrap; }
.msg.u { align-self: flex-end; background: rgba(201,169,106,.1); color: var(--text); }
.msg.h { align-self: flex-start; background: rgba(255,255,255,.03); color: var(--text); }
.msg.h::before { content: "◉ HELIOS"; display: block; font-size: 9px; letter-spacing: 3px; color: var(--gold); margin-bottom: 6px; }
.msg.err { border-color: rgba(255,122,107,.4); color: #ffb0a6; }
#typing { align-self: flex-start; display: none; padding: 8px 0; font-size: 10px; color: var(--dim); letter-spacing: 2px; }
#typing.on { display: block; }
#typing i { animation: pulse 1s infinite; font-style: normal; }
#typing i:nth-child(2){animation-delay:.2s} #typing i:nth-child(3){animation-delay:.4s}
#chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
#chips button { font: inherit; font-size: 10px; letter-spacing: 1px; color: var(--dim); background: none; border: 1px solid var(--line); padding: 5px 11px; cursor: pointer; }
#chips button:hover { color: var(--amber); border-color: rgba(201,169,106,.5); }
#hIn { display: flex; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
#hQ { flex: 1; background: rgba(201,169,106,.05); border: 1px solid var(--line); color: var(--text); font: inherit; padding: 9px 12px; outline: none; }
#hQ:focus { border-color: rgba(201,169,106,.4); }
#hSend { font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 2px; color: var(--bg-0); background: var(--gold); border: none; padding: 0 18px; cursor: pointer; }
#hSend:disabled { opacity: .45; cursor: wait; }
#hFoot { padding-top: 8px; font-size: 9px; color: var(--dim); letter-spacing: .5px; }

/* ── HELIOS view — terminal + interpreter ── */
#heliosView { display: grid; gap: 12px; padding: 12px 18px; grid-template-columns: 7fr 3fr; align-items: stretch; position: relative; z-index: 1; }
#heliosView #helios { display: flex; flex-direction: column; min-height: calc(100vh - 120px); }
#heliosView #hLog { max-height: none; flex: 1; }
@media (max-width: 980px) {
  #heliosView { grid-template-columns: 1fr; }
  #heliosView #helios { min-height: 50vh; }
  #heliosView #hLog { max-height: 300px; }
}

/* ── THE FULL TAPE — fullscreen chart + HELIOS docked right, 70/30 ── */
#fsBtn{cursor:pointer;background:none;border:1px solid rgba(201,169,106,.35);color:#c9a96a;
  font-size:.62rem;padding:2px 8px;letter-spacing:.1em;font-family:'JetBrains Mono',monospace}
#fsBtn:hover{background:rgba(201,169,106,.1);color:#e2cb96}
#tape.fs{position:fixed;inset:0;z-index:300;margin:0;border-radius:0;background:#0a0f1a;
  padding:14px 18px;min-height:100vh;opacity:1;transform:none;animation:none;
  display:grid;grid-template-columns:7fr 3fr;grid-template-rows:auto 1fr auto;gap:0 16px}
#tape.fs h2{grid-column:1/-1;grid-row:1}
#tape.fs #chart{grid-column:1;grid-row:2;min-height:0}
#tape.fs #framesRow{grid-column:1;grid-row:3;margin:10px 0 0}
#tape.fs #helios{grid-column:2;grid-row:2/4;display:flex;flex-direction:column;min-height:0;
  border-left:1px solid var(--line);padding:0 0 0 16px;overflow:hidden}
#tape.fs #helios #hLog{flex:1;max-height:none;overflow-y:auto}
@media (max-width:900px){
  #tape.fs{grid-template-columns:1fr;grid-template-rows:auto 1fr auto minmax(200px,34vh);overflow-y:auto}
  #tape.fs #chart{grid-column:1;grid-row:2}
  #tape.fs #framesRow{grid-column:1;grid-row:3}
  #tape.fs #helios{grid-column:1;grid-row:4;border-left:none;border-top:1px solid var(--line);padding:10px 0 0}
}
body.tape-fs{overflow:hidden}
