:root {
  --bg: #0a0b0d;
  --panel: #111316;
  --panel-2: #15171b;
  --line: #292d32;
  --line-soft: #202328;
  --text: #f1f3f4;
  --muted: #858c93;
  --muted-2: #5f666d;
  --amber: #ffb74d;
  --amber-soft: rgba(255, 183, 77, .12);
  --teal: #00c7ac;
  --teal-soft: rgba(0, 199, 172, .12);
  --red: #ff5470;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.topbar {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 13, .96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; width: fit-content; font-weight: 850; letter-spacing: -.01em; }
.brand b { color: var(--amber); background: var(--amber-soft); border: 1px solid rgba(255,183,77,.25); padding: 4px 7px; border-radius: 4px; font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(255,183,77,.2)); }
.desktop-nav { display: flex; height: 100%; align-items: stretch; }
.nav-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 0 18px; cursor: pointer; font-size: 14px; font-weight: 650; }
.nav-tab:hover { color: var(--text); }
.nav-tab.active { color: var(--text); border-bottom-color: var(--amber); }
.network-pill { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; font-size: 12px; }
.network-pill span, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); display: inline-block; box-shadow: 0 0 0 4px rgba(255,183,77,.09); }
.network-pill span.ready, .live-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(0,199,172,.08); }
.network-pill strong { color: #bdc2c7; font-weight: 600; }
.mobile-nav { display: none; }

main { width: min(1480px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 64px; }
.view { display: none; }
.view.active { display: block; }
.instrument-bar {
  min-height: 92px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.instrument-title { display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-width: 320px; }
.fly-avatar { width: 57px; height: 57px; border: 2px solid var(--amber); border-radius: 12px; display: grid; place-items: center; background: #070809; box-shadow: inset 0 0 22px rgba(255,183,77,.07); }
.fly-avatar img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 2px 7px rgba(0,0,0,.55)); }
.instrument-title h1 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.instrument-title h1 span { color: var(--muted); font-weight: 450; margin-left: 6px; }
.instrument-title p { color: var(--muted); margin: 5px 0 0; font: 12px/1.3 ui-monospace, monospace; }
.instrument-stats { display: grid; grid-template-columns: repeat(4, minmax(125px, 1fr)); border-left: 1px solid var(--line); }
.instrument-stats > div { padding: 20px 22px; border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; justify-content: center; }
.instrument-stats > div:first-child { border-left: 0; }
small, .field-label { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.instrument-stats strong { margin-top: 6px; font-size: 20px; font-variant-numeric: tabular-nums; }
#engineValue { color: var(--amber); }
#engineValue.ready { color: var(--teal); }

.terminal-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(370px, .78fr); gap: 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-head { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); }
.panel-head > div:first-child { display: flex; align-items: center; gap: 10px; }
.panel-index { color: var(--amber); background: var(--amber-soft); border: 1px solid rgba(255,183,77,.22); border-radius: 4px; padding: 4px 6px; font: 700 10px/1 ui-monospace, monospace; }
.panel-head h2 { margin: 0; font-size: 14px; letter-spacing: .01em; }
.micro-tabs { display: flex; height: 50px; }
.micro-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 650 10px/1 ui-monospace, monospace; padding: 0 12px; }
.micro-tabs button.active { color: var(--teal); border-bottom-color: var(--teal); }
.brain-stage { min-height: 478px; height: min(55vh, 580px); background-color: #080a0c; background-image: radial-gradient(circle at 50% 49%, rgba(255,183,77,.075), transparent 30%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; position: relative; overflow: hidden; isolation: isolate; }
#brainCanvas { width: 100%; height: 100%; display: block; opacity: .8; }
.brain-crosshair { position: absolute; pointer-events: none; background: rgba(255,255,255,.055); }
.brain-crosshair.h { height: 1px; left: 0; right: 0; top: 50%; }
.brain-crosshair.v { width: 1px; top: 0; bottom: 0; left: 50%; }
.emblem-viewport { position: absolute; inset: 48px 38px 42px; display: grid; place-items: center; perspective: 1100px; pointer-events: none; z-index: 2; }
.emblem-aura { position: absolute; width: min(68%, 460px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,183,77,.11) 0 26%, rgba(0,199,172,.055) 42%, transparent 70%); filter: blur(9px); transform: scale(1.2,.68); opacity: .9; }
.emblem-float { width: min(70%, 430px); aspect-ratio: 1; transform-style: preserve-3d; animation: emblemFloat 5.8s ease-in-out infinite; pointer-events: auto; }
.emblem-model { --rx: -4deg; --ry: -7deg; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .16s ease-out, filter .25s ease; cursor: grab; user-select: none; touch-action: none; outline: none; filter: drop-shadow(0 24px 28px rgba(0,0,0,.58)) drop-shadow(0 0 18px rgba(255,159,28,.13)); }
.emblem-model:hover, .emblem-model:focus-visible { filter: drop-shadow(0 28px 32px rgba(0,0,0,.66)) drop-shadow(0 0 24px rgba(255,159,28,.24)); }
.emblem-model.stimulated { filter: drop-shadow(0 28px 34px rgba(0,0,0,.68)) drop-shadow(0 0 34px rgba(255,159,28,.42)) drop-shadow(0 0 16px rgba(0,199,172,.24)); }
.emblem-model:focus-visible { outline: 1px solid rgba(255,183,77,.75); outline-offset: 8px; border-radius: 50%; }
.emblem-model.dragging { cursor: grabbing; transition: filter .25s ease; }
.emblem-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.emblem-layer.depth { opacity: .42; filter: brightness(.23) saturate(.7) sepia(.2); }
.depth-far { transform: translateZ(-16px) scale(.997); }
.depth-mid { transform: translateZ(-10px) scale(.999); opacity: .5 !important; }
.depth-near { transform: translateZ(-5px); opacity: .58 !important; }
.emblem-face { transform: translateZ(2px); }
.emblem-sheen { position: absolute; inset: 0; transform: translateZ(4px); background: linear-gradient(112deg, transparent 26%, rgba(255,255,255,.52) 43%, transparent 56%); background-size: 250% 100%; background-position: 130% 0; -webkit-mask: url('/flylab-logo.webp') center / contain no-repeat; mask: url('/flylab-logo.webp') center / contain no-repeat; opacity: .38; pointer-events: none; animation: emblemSheen 5.6s ease-in-out infinite; }
.emblem-hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; color: #697078; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .1em; white-space: nowrap; }
.emblem-hint i { width: 15px; height: 1px; background: var(--amber); box-shadow: 0 0 8px rgba(255,183,77,.45); }
@keyframes emblemFloat { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-7px); } }
@keyframes emblemSheen { 0%, 54% { background-position: 130% 0; opacity: 0; } 68% { opacity: .45; } 86%, 100% { background-position: -50% 0; opacity: 0; } }
.stage-label { position: absolute; color: var(--muted); font: 10px/1 ui-monospace, monospace; letter-spacing: .05em; display: flex; align-items: center; gap: 8px; }
.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; color: var(--amber); }
.motor-strip { min-height: 78px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.motor-strip > div { padding: 13px 14px; border-left: 1px solid var(--line-soft); }
.motor-strip > div:first-child { border-left: 0; }
.motor-strip span { color: var(--muted); font: 10px/1 ui-monospace, monospace; }
.motor-strip b { float: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.motor-strip i { display: block; height: 3px; margin-top: 11px; background: #272a2e; overflow: hidden; }
.motor-strip em { display: block; width: 0; height: 100%; background: var(--teal); transition: width .35s ease; }

.panel-body { padding: 17px; }
.field-label { display: block; margin: 0 0 8px; font-weight: 700; }
textarea, input, select { width: 100%; color: var(--text); background: #0b0d0f; border: 1px solid var(--line); border-radius: 4px; outline: none; }
textarea { min-height: 105px; resize: vertical; padding: 13px; line-height: 1.5; margin-bottom: 17px; }
input, select { height: 42px; padding: 0 11px; margin-top: 7px; }
textarea:focus, input:focus, select:focus { border-color: rgba(255,183,77,.6); box-shadow: 0 0 0 3px rgba(255,183,77,.07); }
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-bottom: 15px; }
.mode { height: 43px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 4px; background: #0d0f12; color: #a5abb0; cursor: pointer; text-align: left; }
.mode b { color: var(--muted-2); font: 700 10px/1 ui-monospace, monospace; }
.mode.active { color: var(--text); border-color: rgba(255,183,77,.52); background: var(--amber-soft); }
.mode.active b { color: var(--amber); }
.pons-toggle-row { min-height: 67px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 11px 0; }
.pons-toggle-row > div { display: flex; align-items: center; gap: 10px; }
.pons-toggle-row strong { display: block; font-size: 13px; }
.pons-toggle-row small { display: block; margin-top: 4px; line-height: 1.35; letter-spacing: 0; }
.pons-mini { width: 31px; height: 31px; border: 2px solid var(--amber); color: var(--amber); border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.switch { position: relative; width: 40px; height: 23px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #2b2e32; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; width: 17px; height: 17px; border-radius: 50%; background: #8b9196; position: absolute; left: 3px; top: 3px; transition: .2s; }
.switch input:checked + span { background: var(--amber); }
.switch input:checked + span::after { background: #111; transform: translateX(17px); }
.pons-fields { border: 1px solid rgba(255,183,77,.24); border-top: 0; background: rgba(255,183,77,.035); padding: 13px; }
.pons-fields label { display: block; color: #a8adb2; font-size: 12px; margin-bottom: 11px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.upload-label span { display: flex; min-height: 42px; align-items: center; color: var(--muted); border: 1px dashed #41464c; padding: 8px 11px; margin-top: 7px; }
.upload-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.warning-copy { margin: 4px 0 0; color: #c69b62; font-size: 11px; line-height: 1.45; }
.execute-button, .outline-button { border-radius: 4px; min-height: 43px; font-weight: 780; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.execute-button { width: 100%; justify-content: space-between; border: 1px solid #e7a63f; background: var(--amber); color: #15100a; padding: 0 15px; margin-top: 16px; }
.execute-button:hover { background: #ffc466; }
.execute-button:disabled { opacity: .55; cursor: wait; }
.execute-button b { font: 700 10px/1 ui-monospace, monospace; }
.execute-button.compact { width: auto; min-width: 150px; margin: 0; justify-content: center; }
.outline-button { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); padding: 0 14px; font-size: 12px; }
.outline-button:hover { border-color: #565b61; }
.console-note { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 11px 0 0; }
.status-badge { color: #b6bbc0; border: 1px solid var(--line); background: #0c0e10; border-radius: 4px; padding: 6px 8px; font: 700 10px/1 ui-monospace, monospace; }
.status-badge.loading { color: var(--amber); border-color: rgba(255,183,77,.25); }
.status-badge.ready, .status-badge.success { color: var(--teal); border-color: rgba(0,199,172,.28); background: var(--teal-soft); }
.status-badge.failed { color: var(--red); border-color: rgba(255,84,112,.3); }

.result-panel { margin-top: 14px; }
.result-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); }
.result-grid > div { min-height: 86px; padding: 15px; border-left: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.result-grid > div:first-child { border-left: 0; }
.result-grid strong { display: block; margin-top: 8px; font-size: 22px; font-variant-numeric: tabular-nums; }
.proof-cell { grid-column: span 3; border-bottom: 0 !important; border-left: 0 !important; }
.proof-cell code { display: block; color: #9da4aa; margin-top: 9px; font-size: 11px; word-break: break-all; }
.result-actions { border-bottom: 0 !important; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 8px; }
#ponsResult { color: var(--amber); font-size: 11px; text-align: center; }

.workspace-head { min-height: 128px; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 15px 4px 24px; }
.workspace-head h1 { margin: 8px 0 6px; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.04em; }
.workspace-head p { color: var(--muted); margin: 0; max-width: 720px; line-height: 1.5; font-size: 14px; }
.section-code { color: var(--amber); font: 750 11px/1 ui-monospace, monospace; letter-spacing: .11em; }
.control-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.control-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr); gap: 14px; }
.browser-chrome { height: 50px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 0 14px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #45494e; }
.address-bar { height: 29px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #0b0d0f; color: var(--muted); font: 10px/1 ui-monospace, monospace; }
.browser-chrome > span { color: var(--teal); font: 700 9px/1 ui-monospace, monospace; }
.sandbox { min-height: 565px; position: relative; overflow: hidden; background: radial-gradient(circle at 75% 36%, rgba(0,199,172,.09), transparent 22%), #f2f0ea; color: #151619; }
.sandbox-nav { height: 58px; display: flex; align-items: center; gap: 25px; padding: 0 26px; border-bottom: 1px solid #d6d3cc; color: #64635f; font-size: 12px; }
.sandbox-nav strong { color: #151619; margin-right: auto; letter-spacing: .08em; }
.sandbox-copy { position: absolute; left: 8%; top: 25%; }
.sandbox-copy small { color: #77736d; font-weight: 750; }
.sandbox-copy h2 { margin: 12px 0; font-size: clamp(34px, 5vw, 66px); line-height: .98; letter-spacing: -.055em; }
.sandbox-copy p { color: #6d6b66; max-width: 440px; line-height: 1.5; }
.target-button { position: absolute; right: 11%; bottom: 18%; min-width: 156px; height: 48px; border: 0; background: #151619; color: white; font: 750 12px/1 ui-monospace, monospace; letter-spacing: .06em; }
.target-button.hit { background: var(--teal); color: #06110f; }
.fly-cursor { width: 24px; height: 24px; position: absolute; left: 8%; top: 76%; transform: translate(-50%, -50%); z-index: 5; filter: drop-shadow(0 3px 5px rgba(0,0,0,.3)); transition: left .18s linear, top .18s linear; pointer-events: none; }
.fly-cursor::before { content: ""; position: absolute; width: 10px; height: 17px; left: 7px; top: 3px; background: #0b0c0e; border-radius: 50%; }
.fly-cursor::after { content: ""; position: absolute; width: 23px; height: 14px; left: 1px; top: 1px; border: 2px solid #0b0c0e; border-radius: 50%; transform: rotate(22deg); }
.success-pulse { display: none; position: absolute; inset: 0; place-items: center; background: rgba(0,199,172,.88); color: #04110e; font: 850 22px/1 ui-monospace, monospace; z-index: 7; }
.success-pulse.show { display: grid; animation: successFade 1.2s 1.2s forwards; }
@keyframes successFade { to { opacity: 0; visibility: hidden; } }
.telemetry-panel { min-width: 0; }
.telemetry-summary { display: grid; grid-template-columns: 1fr 1fr; }
.telemetry-summary > div { min-height: 86px; padding: 15px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.telemetry-summary > div:nth-child(even) { border-right: 0; }
.telemetry-summary strong { display: block; margin-top: 8px; font-size: 18px; }
.mapping-note { padding: 16px; border-bottom: 1px solid var(--line); }
.mapping-note b { color: var(--teal); font: 750 10px/1 ui-monospace, monospace; }
.mapping-note p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 8px 0 0; }
.control-log { margin: 0; padding: 6px 0; list-style: none; max-height: 275px; overflow: auto; }
.control-log li { padding: 10px 15px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font: 11px/1.4 ui-monospace, monospace; }
.control-log li::before { content: "› "; color: var(--amber); }

.table-panel { overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 860px; }
th { height: 42px; text-align: left; color: var(--muted); background: #0c0e10; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .08em; padding: 0 14px; border-bottom: 1px solid var(--line); }
td { height: 61px; padding: 8px 14px; border-bottom: 1px solid var(--line-soft); color: #bdc2c6; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: rgba(255,255,255,.018); }
.run-id { color: var(--amber); font: 700 11px/1 ui-monospace, monospace; }
.run-challenge { color: var(--text); max-width: 430px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-status { color: var(--teal); font: 700 10px/1 ui-monospace, monospace; }
.empty-row { height: 140px; color: var(--muted); text-align: center; cursor: default; }

footer { width: min(1480px, calc(100% - 40px)); margin: 0 auto; min-height: 72px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.toast { position: fixed; right: 20px; bottom: 20px; max-width: 380px; padding: 13px 15px; background: #1a1d20; border: 1px solid #3a3e43; color: var(--text); box-shadow: var(--shadow); font-size: 13px; transform: translateY(90px); opacity: 0; transition: .25s; z-index: 50; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-color: rgba(255,84,112,.5); }

/* Spacious FlyLab identity — smoked chrome, amber control light, teal signal. */
:root {
  --bg: #060809;
  --panel: rgba(16, 20, 22, .9);
  --panel-2: #12171a;
  --line: rgba(191, 204, 194, .16);
  --line-soft: rgba(191, 198, 201, .1);
  --text: #f4f6f6;
  --muted: #929ca1;
  --muted-2: #697278;
  --amber: #ff9f1c;
  --amber-soft: rgba(255, 159, 28, .11);
  --teal: #24d9c4;
  --teal-soft: rgba(36, 217, 196, .1);
  --shadow: 0 28px 70px rgba(0, 0, 0, .34);
}
body {
  background:
    radial-gradient(circle at 14% 12%, rgba(36,217,196,.055), transparent 25rem),
    radial-gradient(circle at 88% 20%, rgba(255,159,28,.055), transparent 29rem),
    var(--bg);
}
.topbar {
  height: 76px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom-color: rgba(198,207,210,.12);
  background: rgba(6,8,9,.86);
  backdrop-filter: blur(22px) saturate(130%);
}
.brand { gap: 13px; letter-spacing: .025em; }
.brand-logo { width: 43px; height: 43px; filter: drop-shadow(0 0 13px rgba(255,159,28,.2)) drop-shadow(0 0 7px rgba(36,217,196,.13)); }
.brand b { margin-left: 3px; padding: 6px 9px; border-radius: 999px; color: #ffb04a; background: rgba(255,159,28,.08); border-color: rgba(255,159,28,.22); }
.desktop-nav { gap: 6px; align-items: center; }
.nav-tab { min-height: 44px; padding: 0 20px; border-bottom: 0; border-radius: 999px; }
.nav-tab:hover { background: rgba(255,255,255,.035); }
.nav-tab.active { color: #fff; border-bottom-color: transparent; background: rgba(255,159,28,.1); box-shadow: inset 0 0 0 1px rgba(255,159,28,.18); }
.network-pill { padding: 11px 14px; border-radius: 999px; background: rgba(255,255,255,.025); }
main { width: min(1380px, calc(100% - 96px)); padding: 42px 0 88px; }
.instrument-bar {
  min-height: 116px;
  margin-bottom: 28px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(118deg, rgba(26,32,35,.95), rgba(11,14,16,.94));
  border-color: rgba(197,207,210,.18);
}
.instrument-title { gap: 20px; padding: 22px 26px; min-width: 380px; }
.fly-avatar { width: 72px; height: 72px; border: 1px solid rgba(255,159,28,.32); border-radius: 20px; background: radial-gradient(circle at 50% 42%, rgba(255,159,28,.14), transparent 63%), #080a0b; box-shadow: inset 0 0 30px rgba(255,255,255,.025), 0 12px 30px rgba(0,0,0,.28); }
.fly-avatar img { width: 64px; height: 64px; }
.instrument-title h1 { font-size: 24px; letter-spacing: -.01em; }
.instrument-title h1 span { color: #7d878c; margin-left: 9px; }
.instrument-title p { margin-top: 8px; font-size: 13px; }
.instrument-stats { min-width: 610px; }
.instrument-stats > div { padding: 24px 26px; }
.instrument-stats strong { margin-top: 9px; font-size: 22px; }
small, .field-label { font-size: 12px; }
.terminal-grid { grid-template-columns: minmax(0, 1.34fr) minmax(390px, .66fr); gap: 28px; }
.panel {
  border-color: rgba(194,203,207,.16);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(20,25,28,.94), rgba(12,15,17,.96));
}
.panel-head { min-height: 66px; padding: 0 22px; border-bottom-color: rgba(194,203,207,.12); }
.panel-head > div:first-child { gap: 13px; }
.panel-head h2 { font-size: 15px; }
.panel-index { padding: 6px 8px; border-radius: 7px; }
.micro-tabs { height: 65px; gap: 2px; }
.micro-tabs button { padding: 0 14px; }
.brain-stage {
  min-height: 520px;
  height: min(58vh, 620px);
  background-color: #07090a;
  background-image: radial-gradient(circle at 50% 48%, rgba(255,159,28,.085), transparent 31%), linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.emblem-viewport { inset: 58px 46px 50px; }
.emblem-float { width: min(72%, 455px); }
.emblem-hint { bottom: 2px; font-size: 10px; }
.stage-label { font-size: 11px; }
.top-left, .top-right { top: 20px; }
.top-left, .bottom-left { left: 20px; }
.top-right, .bottom-right { right: 20px; }
.bottom-left, .bottom-right { bottom: 20px; }
.motor-strip { min-height: 92px; }
.motor-strip > div { padding: 18px 20px; }
.motor-strip span { font-size: 11px; }
.motor-strip b { font-size: 13px; }
.motor-strip i { margin-top: 15px; border-radius: 999px; }
.panel-body { padding: 26px; }
.field-label { margin-bottom: 11px; }
textarea, input, select { border-radius: 11px; border-color: rgba(191,200,204,.16); background: rgba(5,7,8,.7); }
textarea { min-height: 124px; padding: 16px; margin-bottom: 24px; font-size: 15px; }
input, select { height: 48px; padding: 0 14px; margin-top: 9px; }
.mode-grid { gap: 11px; margin-bottom: 23px; }
.mode { height: 52px; gap: 11px; padding: 0 13px; border-radius: 12px; font-size: 14px; }
.pons-toggle-row { min-height: 82px; padding: 16px 0; }
.pons-toggle-row > div { gap: 13px; }
.pons-toggle-row strong { font-size: 14px; }
.pons-toggle-row small { margin-top: 6px; font-size: 12px; }
.pons-mini { width: 38px; height: 38px; border-width: 1px; }
.pons-fields { padding: 18px; border-radius: 0 0 14px 14px; }
.execute-button, .outline-button { min-height: 48px; border-radius: 12px; }
.execute-button { padding: 0 18px; margin-top: 22px; font-size: 14px; }
.console-note { margin-top: 15px; font-size: 12px; }
.result-panel { margin-top: 28px; }
.result-grid > div { min-height: 100px; padding: 21px; }
.result-grid strong { margin-top: 11px; }
.workspace-head { min-height: 160px; padding: 22px 8px 34px; }
.workspace-head h1 { margin: 11px 0 9px; }
.workspace-head p { font-size: 15px; }
.control-buttons { gap: 12px; }
.control-grid { gap: 28px; }
.browser-chrome { height: 60px; padding: 0 20px; }
.sandbox { min-height: 590px; }
.telemetry-summary > div { min-height: 104px; padding: 20px; }
.mapping-note { padding: 22px; }
.mapping-note p { font-size: 13px; }
.control-log { padding: 9px 0; }
.control-log li { padding: 13px 20px; font-size: 12px; }
.table-panel { border-radius: 20px; }
th { height: 52px; padding: 0 20px; }
td { height: 72px; padding: 10px 20px; font-size: 14px; }
footer { width: min(1380px, calc(100% - 96px)); min-height: 96px; font-size: 12px; }
.toast { right: 30px; bottom: 30px; padding: 16px 18px; border-radius: 12px; }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .mobile-nav { display: grid; grid-template-columns: repeat(3, 1fr); height: 48px; position: sticky; top: 76px; z-index: 19; background: #0a0b0d; border-bottom: 1px solid var(--line); }
  .mobile-nav .nav-tab { padding: 0; }
  .instrument-bar { flex-direction: column; }
  main { width: min(920px, calc(100% - 48px)); padding-top: 28px; }
  .instrument-stats { border-left: 0; border-top: 1px solid var(--line); }
  .terminal-grid, .control-grid { grid-template-columns: 1fr; }
  .terminal-grid, .control-grid { gap: 22px; }
  .brain-stage { height: 540px; }
  footer { width: min(920px, calc(100% - 48px)); }
}

@media (max-width: 680px) {
  .topbar { height: 64px; padding: 0 16px; }
  .mobile-nav { top: 64px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand b { display: none; }
  .network-pill { border: 0; padding: 0; }
  .network-pill strong { font-size: 11px; }
  main { width: calc(100% - 28px); padding: 20px 0 58px; }
  .instrument-bar { margin-bottom: 18px; border-radius: 16px; }
  .instrument-title { min-width: 0; padding: 17px; gap: 14px; }
  .fly-avatar { width: 60px; height: 60px; border-radius: 16px; }
  .fly-avatar img { width: 54px; height: 54px; }
  .instrument-title h1 { font-size: 20px; }
  .instrument-title p { font-size: 11px; }
  .instrument-stats { grid-template-columns: 1fr 1fr; }
  .instrument-stats { min-width: 0; }
  .instrument-stats > div { padding: 17px; border-bottom: 1px solid var(--line-soft); }
  .instrument-stats > div:nth-child(3) { border-left: 0; }
  .instrument-stats strong { font-size: 17px; }
  .panel { border-radius: 16px; }
  .panel-head { min-height: 58px; padding: 0 16px; }
  .terminal-grid, .control-grid { gap: 18px; }
  .brain-stage { min-height: 390px; height: 56vh; }
  .emblem-viewport { inset: 48px 12px 44px; }
  .emblem-float { width: min(84%, 340px); }
  .emblem-hint { display: none; }
  .panel-body { padding: 20px; }
  .motor-strip { grid-template-columns: 1fr 1fr; }
  .motor-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .motor-strip > div:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .mode-grid, .field-pair { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .proof-cell { grid-column: 1 / -1; }
  .result-actions { grid-column: 1 / -1; border-left: 0 !important; }
  .workspace-head { align-items: flex-start; flex-direction: column; padding-top: 24px; }
  .workspace-head { min-height: 0; padding: 30px 4px; }
  .control-buttons { width: 100%; }
  .control-buttons > * { flex: 1; }
  .sandbox { min-height: 510px; }
  .sandbox-nav span { display: none; }
  .sandbox-copy { left: 7%; right: 7%; top: 24%; }
  .sandbox-copy h2 { font-size: 42px; }
  .target-button { right: 8%; bottom: 15%; }
  footer { width: calc(100% - 28px); flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Editorial laboratory theme, informed by the Agent Fly reference. */
:root {
  --bg: #fbfcf9;
  --panel: #fbfcf9;
  --panel-2: #f1f4ef;
  --line: #171918;
  --line-soft: rgba(23,25,24,.2);
  --text: #111312;
  --muted: #5d625f;
  --muted-2: #7b817d;
  --amber: #f39a18;
  --amber-soft: rgba(243,154,24,.1);
  --teal: #42bd92;
  --teal-soft: rgba(66,189,146,.1);
  --red: #d83b4f;
  --shadow: none;
}
html { color-scheme: light; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
::selection { color: #fff; background: var(--teal); }
.topbar {
  height: 92px;
  padding: 0 clamp(28px, 4vw, 70px);
  color: var(--text);
  background: rgba(251,252,249,.96);
  border-bottom: 0;
  backdrop-filter: blur(16px);
}
.topbar::after { content: ""; position: absolute; left: clamp(28px,4vw,70px); right: clamp(28px,4vw,70px); bottom: 0; height: 1px; background: var(--line); }
.brand { gap: 10px; color: var(--text); font-weight: 400; }
.brand-logo { width: 44px; height: 44px; filter: none; }
.brand-word { font: italic 38px/.9 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.brand-word em { color: var(--teal); font-weight: 400; }
.brand b { margin-left: 8px; padding: 5px 8px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 0; font-size: 9px; }
.desktop-nav { gap: 8px; }
.nav-tab { min-height: 44px; padding: 0 17px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 0; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.nav-tab:hover { color: var(--text); background: var(--panel-2); }
.nav-tab.active { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: none; }
.network-pill { padding: 10px 13px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.network-pill strong { color: var(--text); }
.network-pill span, .live-dot { background: var(--amber); box-shadow: none; }
.network-pill span.ready, .live-dot { background: var(--teal); box-shadow: 0 0 0 5px rgba(66,189,146,.1); }
main { width: min(1440px, calc(100% - 108px)); margin: 0 auto; padding: 0 0 110px; }

.editorial-hero { min-height: min(820px, calc(100vh - 92px)); display: grid; grid-template-columns: 1.04fr .96fr; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 74px 70px 74px 0; }
.section-code, .hero-index { color: #41876d; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.hero-copy h1 { margin: 38px 0 0; font: 400 clamp(66px, 7vw, 112px)/.86 Georgia, "Times New Roman", serif; letter-spacing: -.075em; }
.hero-copy h1 em { color: var(--teal); font-weight: 400; }
.hero-copy p { max-width: 590px; margin: 38px 0 0; color: #343835; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; }
.hero-jump { min-height: 48px; margin-top: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 34px; color: var(--text); border: 1px solid var(--line); text-decoration: none; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.hero-jump:hover { color: #fff; background: var(--text); }
.hero-jump span { color: var(--teal); font-size: 18px; }
.hero-figure { min-width: 0; position: relative; display: grid; place-items: center; border-left: 1px solid var(--line); }
.hero-index { position: absolute; top: 32px; left: 32px; z-index: 5; }
.hero-figure .emblem-viewport { position: relative; inset: auto; width: 100%; height: 100%; min-height: 620px; padding: 75px 48px 50px; }
.hero-figure .emblem-float { width: min(82%, 560px); }
.hero-figure .emblem-aura { width: min(74%, 520px); background: radial-gradient(circle, rgba(66,189,146,.14) 0 22%, rgba(66,189,146,.06) 44%, transparent 70%); filter: blur(15px); }
.hero-figure .emblem-model { filter: drop-shadow(0 28px 22px rgba(35,79,64,.15)); }
.hero-figure .emblem-model:hover, .hero-figure .emblem-model:focus-visible { filter: drop-shadow(0 34px 27px rgba(21,27,24,.22)); }
.emblem-hint { bottom: 32px; color: #657069; }
.emblem-hint i { background: var(--teal); box-shadow: 0 0 8px rgba(66,189,146,.35); }

.instrument-bar { min-height: 138px; margin: 80px 0 54px; color: var(--text); background: transparent; border: 1px solid var(--line); border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
.instrument-title { gap: 18px; padding: 24px 28px 24px 0; min-width: 390px; }
.fly-avatar { width: 78px; height: 78px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fly-avatar img { width: 74px; height: 74px; filter: none; }
.instrument-title h1 { color: var(--text); font: 400 38px/1 Georgia, "Times New Roman", serif; letter-spacing: -.05em; }
.instrument-title h1 span { color: var(--teal); font-style: italic; font-weight: 400; }
.instrument-title p { margin-top: 10px; color: var(--muted); font-size: 12px; }
.instrument-stats { min-width: 620px; border-left: 1px solid var(--line); }
.instrument-stats > div { padding: 25px 26px; border-left: 1px solid var(--line); }
.instrument-stats > div:first-child { border-left: 0; }
.instrument-stats small { color: #41876d; }
.instrument-stats strong { color: var(--text); font: italic 400 27px/1 Georgia, "Times New Roman", serif; }
#engineValue, #engineValue.ready { color: var(--teal); }
.terminal-grid { grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr); gap: 48px; }
.panel { color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.panel-head { min-height: 68px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { color: var(--text); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.panel-index { padding: 0; color: var(--teal); background: transparent; border: 0; border-radius: 0; font-size: 11px; }
.micro-tabs { height: 67px; }
.micro-tabs button { color: var(--muted); }
.micro-tabs button.active { color: var(--teal); border-bottom-color: var(--teal); }
.brain-stage { min-height: 550px; height: min(61vh, 660px); background-color: #f3f6f2; background-image: linear-gradient(rgba(17,19,18,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(17,19,18,.055) 1px, transparent 1px); background-size: 58px 58px; }
#brainCanvas { opacity: 1; }
.brain-crosshair { background: rgba(17,19,18,.1); }
.stage-label { color: #5e6963; }
.bottom-right { color: var(--amber); }
.motor-strip { min-height: 100px; border-top: 1px solid var(--line); }
.motor-strip > div { padding: 20px; border-left-color: var(--line-soft); }
.motor-strip span { color: #537364; }
.motor-strip b { color: var(--text); }
.motor-strip i { background: #dfe5e0; }
.motor-strip em { background: var(--teal); }
.panel-body { padding: 26px; }
small, .field-label { color: #537364; }
textarea, input, select { color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 0; }
textarea { min-height: 136px; font-size: 16px; }
textarea::placeholder, input::placeholder { color: #929894; }
textarea:focus, input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(66,189,146,.12); }
.mode-grid { gap: 10px; }
.mode { height: 52px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 0; }
.mode:hover { background: var(--panel-2); }
.mode.active { color: #fff; background: var(--teal); border-color: var(--teal); }
.mode.active b { color: #fff; }
.pons-toggle-row { border-color: var(--line); }
.pons-toggle-row strong { color: var(--text); }
.pons-mini { color: var(--amber); border-color: var(--amber); border-radius: 50%; }
.switch span { background: #ccd2ce; }
.switch span::after { background: #fff; }
.switch input:checked + span { background: var(--amber); }
.pons-fields { background: #fffaf2; border-color: var(--line); border-radius: 0; }
.warning-copy { color: #9a651c; }
.upload-label span { color: var(--muted); border-color: var(--line); }
.execute-button, .outline-button { min-height: 48px; border-radius: 0; }
.execute-button { color: #fff; background: var(--text); border-color: var(--text); }
.execute-button:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.outline-button { color: var(--text); background: transparent; border-color: var(--line); }
.outline-button:hover { color: #fff; background: var(--text); border-color: var(--text); }
.console-note { color: var(--muted); }
.status-badge { color: var(--text); background: transparent; border-color: var(--line); border-radius: 0; }
.status-badge.loading { color: #9a651c; background: var(--amber-soft); border-color: var(--amber); }
.status-badge.ready, .status-badge.success { color: #247b5e; background: var(--teal-soft); border-color: var(--teal); }
.status-badge.failed { color: var(--red); border-color: var(--red); }
.result-panel { margin-top: 48px; }
.result-grid > div { border-color: var(--line-soft); }
.result-grid strong { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.proof-cell code { color: #49504c; }
#ponsResult { color: #9a651c; }

.workspace-head { min-height: 260px; padding: 70px 4px 54px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.workspace-head h1 { color: var(--text); font: 400 clamp(52px, 6vw, 90px)/.93 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.workspace-head p { color: var(--muted); font-size: 16px; }
.control-grid { gap: 48px; }
.browser-chrome { border-bottom-color: var(--line); }
.window-dots i { background: #888d8a; }
.address-bar { color: var(--muted); background: #fff; border-color: var(--line); }
.browser-chrome > span { color: var(--teal); }
.address-form { min-width: 0; height: 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--line); background: #fff; }
.address-form input { min-width: 0; height: 32px; margin: 0; padding: 0 11px; border: 0; background: transparent; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: none; }
.address-form input:focus { border: 0; box-shadow: none; }
.address-form button { height: 32px; min-width: 62px; padding: 0 10px; border: 0; border-left: 1px solid var(--line); color: #fff; background: var(--text); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; cursor: pointer; }
.address-form button:hover { background: var(--teal); }
.address-form button:disabled { opacity: .55; cursor: wait; }
.sandbox-copy h2 { max-width: 620px; overflow-wrap: anywhere; }
.sandbox { background: radial-gradient(circle at 75% 36%, rgba(66,189,146,.1), transparent 23%), #f5f4ef; }
.telemetry-summary > div, .mapping-note, .control-log li { border-color: var(--line-soft); }
.mapping-note b { color: var(--teal); }
.mapping-note p, .control-log li { color: var(--muted); }
.control-log li::before { color: var(--amber); }
.table-panel { border-radius: 0; }
th { color: #537364; background: #f1f4ef; border-bottom-color: var(--line); }
td { color: #434845; border-bottom-color: var(--line-soft); }
tbody tr:hover { background: #f3f6f2; }
.run-id { color: #9a651c; }
.run-challenge { color: var(--text); }
.run-status { color: #247b5e; }
.empty-row { color: var(--muted); }
footer { width: min(1440px, calc(100% - 108px)); min-height: 110px; color: #737b76; border-top-color: var(--line); }
.toast { color: #fff; background: var(--text); border-color: var(--text); border-radius: 0; }
.toast.error { border-color: var(--red); }

.proof-top h1 { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.proof-kicker { color: #41876d !important; }
.proof-sub, .replay-note, .hash-block p { color: var(--muted) !important; }
.replay-stage { background: #f3f6f2 !important; border-color: var(--line) !important; }
.replay-badge { color: #247b5e !important; background: rgba(251,252,249,.86) !important; border-color: var(--teal) !important; }
.hash-block code { color: #48504b !important; }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr auto; }
  .mobile-nav { top: 92px; grid-template-columns: repeat(4, 1fr); color: var(--text); background: rgba(251,252,249,.98); border-bottom-color: var(--line); }
  main { width: calc(100% - 56px); }
  .editorial-hero { min-height: 720px; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-right: 38px; }
  .hero-copy h1 { font-size: clamp(62px, 8vw, 84px); }
  .hero-figure .emblem-viewport { min-height: 560px; padding-left: 24px; padding-right: 24px; }
  .instrument-bar { margin-top: 60px; }
  .instrument-stats { min-width: 0; }
  .terminal-grid, .control-grid { gap: 40px; }
  footer { width: calc(100% - 56px); }
}

@media (max-width: 760px) {
  .topbar { height: 70px; padding: 0 18px; }
  .topbar::after { left: 18px; right: 18px; }
  .mobile-nav { top: 70px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-word { font-size: 31px; }
  .network-pill { border: 0; padding: 0; }
  main { width: calc(100% - 32px); }
  .editorial-hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { min-height: 570px; padding: 70px 0 58px; border-bottom: 1px solid var(--line); }
  .hero-copy h1 { margin-top: 30px; font-size: clamp(58px, 17vw, 78px); }
  .hero-copy p { margin-top: 30px; font-size: 18px; }
  .hero-jump { margin-top: 34px; }
  .hero-figure { min-height: 480px; border-left: 0; }
  .hero-index { top: 24px; left: 0; }
  .hero-figure .emblem-viewport { min-height: 480px; padding: 70px 0 45px; }
  .hero-figure .emblem-float { width: min(90%, 420px); }
  .instrument-bar { margin: 54px 0 34px; }
  .instrument-title { padding: 20px 0; }
  .instrument-title h1 { font-size: 32px; }
  .instrument-stats > div { padding: 18px 14px; }
  .panel-head { min-height: 60px; padding: 0 15px; }
  .terminal-grid, .control-grid { gap: 30px; }
  .brain-stage { min-height: 430px; height: 56vh; }
  .panel-body { padding: 20px; }
  .workspace-head { min-height: 0; margin-bottom: 30px; padding: 54px 0 38px; }
  .workspace-head h1 { font-size: clamp(48px, 14vw, 68px); }
  .browser-chrome { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 0 12px; }
  .browser-chrome > span { display: none; }
  .address-form button { min-width: 54px; }
  .sandbox-copy { left: 7%; right: 7%; top: 23%; }
  .sandbox-nav span:nth-of-type(n+3) { display: none; }
  footer { width: calc(100% - 32px); }
}

/* Open, line-free page framing. Controls and working panels keep their borders. */
.topbar::after { display: none; }
.editorial-hero { border-bottom: 0; }
.hero-figure { border-left: 0; }
.instrument-bar { border-top: 0; border-bottom: 0; }
.workspace-head { border-bottom: 0; }
footer { border-top: 0; }

@media (max-width: 760px) {
  .hero-copy { border-bottom: 0; }
}
