:root {
  color-scheme: dark;
  --bg: #07101e;
  --panel: rgba(11, 21, 37, .94);
  --panel-2: #0c192b;
  --line: rgba(133, 173, 210, .14);
  --line-strong: rgba(133, 173, 210, .24);
  --text: #e8f2fc;
  --muted: #8094ac;
  --subtle: #52667e;
  --cyan: #80d7ec;
  --blue: #63a8e5;
  --violet: #b29af4;
  --green: #73d8bd;
  --amber: #f2c37c;
  --radius: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-width: 320px; font-size: 12px; letter-spacing: .01em; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 48% 35%, rgba(25, 58, 91, .12), transparent 54%), #07101e; }
.topbar { height: 62px; flex: 0 0 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(6, 14, 26, .92); z-index: 5; }
.brand-lockup { display: flex; align-items: center; gap: 11px; min-width: 265px; }
.brand-mark { width: 29px; height: 29px; border: 1px solid rgba(125, 207, 232, .45); border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 2px; transform: rotate(-12deg); }
.brand-mark span { display: block; width: 3px; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 9px rgba(128, 215, 236, .55); }
.brand-mark span:nth-child(1) { height: 9px; opacity: .65; }.brand-mark span:nth-child(2) { height: 16px; }.brand-mark span:nth-child(3) { height: 12px; opacity: .8; }
.brand-name { font-size: 11px; letter-spacing: .19em; font-weight: 600; }.brand-name b { color: var(--cyan); font-weight: 800; }
.brand-sub { font-size: 8px; letter-spacing: .14em; color: var(--subtle); margin-top: 4px; }
.topbar-center { color: #91a7bd; font-size: 9px; letter-spacing: .16em; display: flex; align-items: center; gap: 9px; }
.live-dot, .run-state i, .footer-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(115, 216, 189, .65); display: inline-block; }
.topbar-divider { color: #43546a; }
.topbar-actions { min-width: 265px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.build-tag { color: #71869d; font-size: 8px; letter-spacing: .13em; border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; }.build-tag b { color: #a9c4da; margin-left: 4px; }
.icon-button, .modal-close { width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: #a9c4da; cursor: pointer; }
.workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 292px minmax(440px, 1fr) 284px; gap: 12px; padding: 12px; }
.panel { background: linear-gradient(155deg, rgba(14, 27, 45, .97), rgba(8, 17, 31, .97)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 38px rgba(0, 0, 0, .12); }
.control-rail { display: flex; flex-direction: column; min-height: 0; padding: 16px 14px 11px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #253e57 transparent; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.eyebrow { color: #6f89a5; font-size: 8px; letter-spacing: .17em; font-weight: 700; }
h1, h2 { margin: 5px 0 0; font-size: 17px; font-weight: 580; letter-spacing: -.035em; }
.field-chip { border: 1px solid rgba(120, 194, 222, .22); color: var(--cyan); background: rgba(89, 171, 208, .08); border-radius: 5px; padding: 5px 7px; font-size: 8px; letter-spacing: .1em; }
.control-section { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.section-title { font-size: 8px; letter-spacing: .16em; color: #a8bbcf; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.section-title > span { color: var(--cyan); font-size: 9px; }
.preset-list { display: grid; gap: 6px; margin-top: 10px; }
.preset-card { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 7px 9px; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: rgba(8, 18, 32, .72); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.preset-card:hover { border-color: rgba(128, 215, 236, .35); transform: translateY(-1px); }.preset-card.active { border-color: rgba(128, 215, 236, .5); background: linear-gradient(90deg, rgba(76, 156, 190, .13), rgba(12, 26, 44, .88)); box-shadow: inset 2px 0 0 var(--cyan); }
.preset-icon { width: 27px; height: 27px; border-radius: 7px; display: grid; place-items: center; font-size: 17px; background: rgba(112, 195, 224, .1); color: var(--cyan); }.nat-icon { color: var(--violet); background: rgba(173, 151, 240, .11); }.sun-icon { color: var(--amber); background: rgba(242, 195, 124, .1); }
.preset-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; }.preset-copy b { font-size: 10px; font-weight: 650; }.preset-copy small { color: var(--muted); font-size: 8px; }.preset-arrow { color: #60768e; font-size: 12px; }
.parameter-section { padding-bottom: 1px; }.range-control { margin-top: 12px; }.range-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }.range-heading label { font-size: 10px; color: #c4d3e1; }.range-heading output { color: var(--cyan); font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 3px; display: block; appearance: none; border-radius: 10px; background: linear-gradient(90deg, #4189b5, #7bcbdc); cursor: pointer; accent-color: var(--cyan); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; border-radius: 50%; background: #d8f7ff; border: 2px solid #4d9fc2; box-shadow: 0 0 0 3px rgba(95, 177, 211, .12); }
input[type="range"]::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; background: #d8f7ff; border: 2px solid #4d9fc2; box-shadow: 0 0 0 3px rgba(95, 177, 211, .12); }
.range-scale { display: flex; justify-content: space-between; color: #53677e; font-size: 7px; margin-top: 6px; letter-spacing: .04em; }
.transport-section { margin-top: 14px; }.speed-heading { margin-top: 10px; }.transport-buttons { display: grid; grid-template-columns: 1fr 34px 34px; gap: 6px; margin-top: 12px; }
.primary-button, .square-button, .tool-button { border: 1px solid var(--line-strong); border-radius: 7px; height: 33px; background: rgba(15, 32, 52, .9); cursor: pointer; transition: .2s; }.primary-button { display: flex; justify-content: center; align-items: center; gap: 8px; color: #d9f7fb; background: linear-gradient(100deg, rgba(45, 125, 157, .55), rgba(33, 77, 111, .7)); border-color: rgba(113, 201, 224, .36); font-weight: 650; }.primary-button:hover, .square-button:hover, .tool-button:hover { border-color: var(--cyan); background-color: rgba(48, 103, 136, .45); }.play-glyph { font-size: 12px; }.square-button { font-size: 17px; color: #b9d3e7; }
.transport-meta { display: flex; align-items: center; gap: 7px; margin-top: 11px; color: #647b93; font-size: 7px; letter-spacing: .13em; }.transport-meta b { color: #b9d9ec; font-size: 10px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }.transport-note { margin-left: auto; font-size: 7px; letter-spacing: 0; color: #53677e; }
.rail-footer { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 7px; color: #50647b; font-size: 7px; letter-spacing: .11em; }
.stage-column { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 9px; }
.stage-topline { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 2px; }.stage-title { display: flex; flex-direction: column; gap: 3px; }.stage-title b { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }.stage-top-actions { display: flex; align-items: center; gap: 12px; }.run-state { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 8px; letter-spacing: .12em; }.run-state.paused { color: var(--amber); }.run-state.paused i { background: var(--amber); box-shadow: 0 0 8px rgba(242, 195, 124, .45); }
.tool-button { height: 27px; padding: 0 8px; font-size: 13px; color: #a6c0d7; }.tool-button span { font-size: 7px; letter-spacing: .1em; margin-left: 3px; }.quality-toggle { display: flex; border: 1px solid var(--line); padding: 2px; border-radius: 6px; background: #091628; }.quality-toggle button { background: transparent; border: 0; border-radius: 4px; padding: 5px 7px; color: #61778e; font-size: 7px; letter-spacing: .1em; cursor: pointer; }.quality-toggle button.selected { background: #19324a; color: var(--cyan); }
.stage-frame { position: relative; flex: 1 1 auto; min-height: 330px; overflow: hidden; border: 1px solid rgba(108, 157, 194, .19); border-radius: 12px; background: radial-gradient(ellipse at 52% 48%, #0c2039 0%, #071426 55%, #040b16 100%); box-shadow: inset 0 0 80px rgba(0, 0, 0, .3), 0 15px 40px rgba(0, 0, 0, .15); }
.scene-host { position: absolute; inset: 0; z-index: 1; }.three-stage-canvas { display: block; width: 100%; height: 100%; outline: none; }
.stage-grid { position: absolute; inset: 0; z-index: 0; opacity: .18; background-image: linear-gradient(rgba(92, 143, 181, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 143, 181, .09) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse at center, black 0%, transparent 76%); }
.scene-vignette { pointer-events: none; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 22, .24), transparent 18%, transparent 77%, rgba(4, 10, 19, .4)); }
.scene-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; color: #7e9bb7; font-size: 7px; letter-spacing: .15em; text-shadow: 0 2px 8px #000; pointer-events: none; }.scene-label b { color: #d1e9f5; font-size: 9px; letter-spacing: .05em; margin-left: 4px; }.scene-label-top { top: 16px; left: 17px; }.label-line { width: 18px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }.scene-label-left { top: 47%; left: 17px; }.scene-label-right { top: 59%; right: 17px; }.label-dot { width: 5px; height: 5px; border-radius: 50%; }.label-dot.cyan { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }.label-dot.violet { background: var(--violet); box-shadow: 0 0 9px var(--violet); }
.scene-caption { position: absolute; z-index: 3; bottom: 17px; left: 17px; display: flex; align-items: center; gap: 8px; color: #7c99b2; font-size: 7px; letter-spacing: .13em; pointer-events: none; }.scene-caption b { color: #d8eaf4; font-size: 10px; letter-spacing: .03em; margin-left: 5px; }.caption-mark { color: var(--cyan); font-size: 13px; }.stage-bottom-tools { position: absolute; z-index: 3; bottom: 17px; right: 17px; display: flex; gap: 10px; color: #71859c; font-size: 7px; letter-spacing: .06em; pointer-events: none; }.stage-bottom-tools kbd, .shortcut-card kbd { font: inherit; color: #b9d9eb; border: 1px solid rgba(125, 172, 205, .25); background: rgba(13, 30, 49, .8); padding: 3px 4px; border-radius: 3px; margin-right: 3px; }
.context-overlay, .fallback-overlay { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: rgba(5, 12, 23, .91); }.context-overlay[hidden], .fallback-overlay[hidden] { display: none; }.context-overlay b, .fallback-overlay b { font-size: 14px; }.context-overlay p, .fallback-overlay p { max-width: 300px; color: var(--muted); line-height: 1.6; }.context-symbol { color: var(--cyan); font-size: 32px; margin-bottom: 10px; }
.cause-chain { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(11, 22, 38, .78); }.cause-step { display: flex; align-items: center; gap: 8px; }.cause-number { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 6px; background: rgba(101, 176, 207, .1); color: var(--cyan); font-size: 8px; }.cause-step div { display: flex; flex-direction: column; gap: 3px; }.cause-step b { color: #8fa8bf; font-size: 7px; letter-spacing: .14em; }.cause-step small { color: #c1d0df; font-size: 9px; }.cause-arrow { color: #50677f; font-size: 14px; }
.readout-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }.readout-card { min-width: 0; padding: 10px 11px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 25, 42, .88); }.readout-label { display: block; color: #6e859c; font-size: 7px; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.readout-card strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 580; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }.readout-card strong small { font-size: 9px; color: #8ca4ba; font-weight: 500; letter-spacing: 0; }.readout-foot { display: block; margin-top: 3px; color: #60768c; font-size: 6px; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inspector-rail { display: flex; flex-direction: column; gap: 9px; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #253e57 transparent; }.inspector-panel { padding: 15px 13px 12px; }.inspector-heading h2 { font-size: 15px; }.signal-icon { color: var(--cyan); font-size: 19px; }.temperature-display { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }.temperature-display strong { display: block; margin-top: 5px; font-size: 27px; font-weight: 550; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }.temperature-display strong span { color: #8da7bf; font-size: 12px; letter-spacing: 0; }.temperature-display small { display: block; margin-top: 2px; color: var(--cyan); font-size: 10px; }.thermo-glyph { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(125, 215, 236, .3); display: grid; place-items: center; background: radial-gradient(circle, rgba(110, 207, 230, .18), transparent 70%); }.thermo-glyph span { width: 8px; height: 8px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 9px rgba(128, 215, 236, .5); }
.diagnostic-row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(133, 173, 210, .09); color: #8297ad; font-size: 9px; }.diagnostic-row b { color: #c8d8e6; font-weight: 600; font-variant-numeric: tabular-nums; }.mini-chart-wrap { padding-top: 13px; }.chart-heading { display: flex; justify-content: space-between; color: #7f96ad; font-size: 7px; letter-spacing: .12em; }.chart-heading small { color: #52677e; font-size: 6px; }.mini-chart { width: 100%; height: 62px; margin-top: 7px; overflow: visible; }
.chemistry-meter { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 5px; }.meter-heading { display: flex; justify-content: space-between; color: #839ab1; font-size: 7px; letter-spacing: .1em; }.meter-heading b { color: var(--cyan); font-size: 9px; letter-spacing: 0; }.active-heading { margin-top: 12px; }.active-heading b { color: var(--violet); }.meter-track { height: 5px; border-radius: 6px; overflow: hidden; background: #14253a; margin-top: 6px; }.meter-track span { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #397f9d, #82d9e9); transition: width .25s; }.active-track span { background: linear-gradient(90deg, #7761bd, #c4a8f7); }.chemistry-note { color: #657b92; font-size: 8px; line-height: 1.55; margin: 9px 0 0; }
.validation-panel { padding: 13px; }.validation-title { margin-top: 11px; font-size: 11px; font-weight: 600; }.validation-tag { display: inline-block; margin-top: 6px; color: #9cb6cb; background: rgba(94, 156, 190, .1); border: 1px solid rgba(94, 156, 190, .17); border-radius: 4px; padding: 4px 5px; font-size: 6px; letter-spacing: .1em; }.validation-values { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }.validation-values > div { padding: 8px; background: rgba(4, 13, 25, .45); border: 1px solid rgba(133, 173, 210, .09); border-radius: 6px; }.validation-values small { display: block; color: #6d8299; font-size: 6px; letter-spacing: .12em; }.validation-values b { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; color: #d4e7f2; font-variant-numeric: tabular-nums; }.validation-values span { color: #71879e; font-size: 7px; }.validation-diff { display: flex; justify-content: space-between; margin-top: 10px; color: #7f94aa; font-size: 8px; }.validation-diff b { color: var(--green); font-size: 9px; }.validation-note { color: #61768d; font-size: 8px; line-height: 1.5; margin: 8px 0 0; }
.science-panel { padding: 0 13px; }.science-panel summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: #b7cadb; font-size: 8px; font-weight: 700; letter-spacing: .13em; }.science-panel summary::-webkit-details-marker { display: none; }.science-panel summary i { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; border: 1px solid rgba(128, 215, 236, .35); color: var(--cyan); font-style: normal; }.details-chevron { color: #7c94aa; font-size: 15px; transition: transform .2s; }.science-panel[open] .details-chevron { transform: rotate(180deg); }.science-content { padding: 0 0 12px; }.science-content h3 { margin: 3px 0 8px; font-size: 12px; font-weight: 600; }.science-content p { margin: 7px 0; color: #8599ae; font-size: 8px; line-height: 1.6; }.science-content p b { color: #c4d6e5; }.equation { padding: 8px; border-radius: 5px; background: rgba(72, 131, 165, .1); border: 1px solid rgba(112, 187, 216, .12); color: #c5eaf5; font: 11px Georgia, serif; text-align: center; }.science-caveat { margin-top: 10px; padding: 9px; border-left: 2px solid #b89b68; background: rgba(180, 142, 81, .07); color: #8996a3; font-size: 8px; line-height: 1.55; }.science-caveat b { color: #d2b47d; font-size: 7px; letter-spacing: .13em; }.source-note { color: #637b91 !important; font-size: 7px !important; }
.inspector-footer { padding: 2px 3px 7px; color: #52677c; font-size: 7px; line-height: 1.5; }
.app-footer { height: 24px; flex: 0 0 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-top: 1px solid var(--line); color: #536a80; font-size: 7px; letter-spacing: .1em; }.app-footer b { color: #7b96ad; margin: 0 4px; }.app-footer span:last-child { color: var(--cyan); }
.shortcut-modal[hidden] { display: none; }.shortcut-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(2, 7, 14, .75); backdrop-filter: blur(8px); }.shortcut-card { position: relative; width: min(360px, 100%); padding: 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: #0b192b; box-shadow: 0 24px 70px #0008; }.shortcut-card h2 { margin: 7px 0 17px; }.shortcut-card > div:not(.eyebrow) { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); color: #a8bbcf; font-size: 10px; }.shortcut-card kbd { min-width: 60px; text-align: center; }.modal-close { position: absolute; top: 14px; right: 14px; font-size: 18px; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 270px minmax(360px, 1fr); }.inspector-rail { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr 1fr; align-items: start; overflow: visible; }.inspector-panel { grid-row: span 2; }.inspector-footer { grid-column: 1 / -1; }.stage-frame { min-height: 410px; }
}
@media (max-width: 760px) {
  .topbar { height: 54px; flex-basis: 54px; padding: 0 12px; }.brand-lockup { min-width: 0; }.brand-mark { width: 26px; height: 26px; }.brand-sub { font-size: 7px; }.topbar-center { display: none; }.topbar-actions { min-width: 0; }.build-tag { display: none; }
  .workspace { display: flex; flex-direction: column; gap: 10px; padding: 9px; }.stage-column { order: 0; }.stage-topline { min-height: 34px; }.stage-title b { font-size: 12px; }.stage-top-actions { gap: 7px; }.run-state { font-size: 7px; }.tool-button { width: 28px; padding: 0; }.tool-button span { display: none; }.quality-toggle button { padding: 5px 6px; }
  .stage-frame { flex: none; min-height: 0; height: min(52vh, 430px); }.scene-label-left { top: 44%; }.scene-label-right { top: 57%; }.scene-label { font-size: 6px; }.stage-bottom-tools { gap: 6px; font-size: 6px; }.stage-bottom-tools span:last-child { display: none; }.scene-caption { bottom: 12px; left: 12px; }.stage-bottom-tools { bottom: 12px; right: 12px; }.cause-chain { min-height: 46px; gap: 7px; padding: 0 5px; }.cause-step { gap: 5px; }.cause-number { width: 20px; height: 20px; }.cause-step small { font-size: 7px; }.cause-arrow { font-size: 11px; }.readout-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }.readout-card { padding: 9px 10px; }.readout-card strong { font-size: 18px; }
  .control-rail { order: 1; overflow: visible; padding: 14px; }.inspector-rail { order: 2; display: flex; overflow: visible; }.inspector-panel { padding: 14px; }.inspector-footer { padding: 2px 4px 8px; }.rail-footer { margin-top: 15px; }.app-footer { padding: 0 10px; font-size: 6px; }.app-footer span:nth-child(2) { display: none; }
}
@media (max-width: 390px) {
  .stage-frame { height: 48vh; }.cause-chain { justify-content: space-around; }.cause-step small { max-width: 76px; }.cause-arrow { margin: 0 -2px; }.readout-card strong { font-size: 17px; }.scene-label-right { right: 10px; }.scene-label-left { left: 10px; }.stage-bottom-tools { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
body.embed-mode .topbar, body.embed-mode .app-footer, body.embed-mode .inspector-footer { display: none; }
body.embed-mode .workspace { padding: 0; gap: 0; grid-template-columns: 260px minmax(0, 1fr); }
body.embed-mode .inspector-rail { display: none; }
body.embed-mode .stage-frame { border-radius: 0; }
@media (max-width: 760px) { body.embed-mode .workspace { display: flex; } body.embed-mode .control-rail { display: none; } body.embed-mode .stage-frame { height: 100vh; } }
@media (max-width: 760px) {
  body.embed-mode .stage-topline, body.embed-mode .cause-chain, body.embed-mode .readout-strip { display: none; }
  body.embed-mode .stage-column { gap: 0; }
  body.embed-mode .stage-frame { height: 100vh; min-height: 100vh; }
}
