:root {
  color-scheme: light;
  --ink-2: #4A5367;
  --ink-3: #7A8396;
  --outline: rgba(35, 43, 61, .62);
  --hair: #D9DEE8;
  --ground: #FFFFFF;
  --ground-2: #F7F9FC;

  --grad: linear-gradient(90deg, var(--glacier-1), var(--lavender-1) 50%, var(--rose-1));
  --grad-line: linear-gradient(90deg, var(--glacier-2), var(--lavender-2) 50%, var(--rose-2));

  --board: #26282D;
  --r-card: 18px;
  --r-mid: 12px;
  --r-frame: 10px;
  --wrap: 46rem;
  --wide: 72rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16.5px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--glacier-3); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--lavender-3); }
h1, h2, h3 { color: var(--ink); line-height: 1.22; margin: 0; }
p { margin: 0 0 .8em; }
em { font-style: italic; }
sup { font-size: .68em; line-height: 0; }

.math { font-family: "Times New Roman", Times, "Nimbus Roman", "Liberation Serif", serif; font-size: 1.12em; font-style: normal; white-space: nowrap; }
.math i { font-style: italic; }
.math .rel { padding: 0 .2778em; }
.math .sep { padding-right: .1667em; }
.math sub { font-size: .7em; line-height: 0; vertical-align: -.28em; }
:focus-visible { outline: 2px solid var(--periwinkle-3); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 6px 12px; border: 1px solid var(--outline); border-radius: 999px; z-index: 10; }
.skip:focus { left: 12px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.wide { width: min(100% - 32px, var(--wide)); }
.section { padding: 56px 0 8px; }
.section-title { font-size: 1.7rem; font-weight: 650; letter-spacing: -.01em; margin-bottom: .45em; }
.lede { color: var(--ink-2); font-size: 1.04rem; max-width: 42rem; }

.pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .18em .75em; border-radius: 999px;
  font-size: .78rem; font-weight: 550; letter-spacing: .02em;
  border: 1px solid var(--outline); background: #fff; color: var(--ink-2);
}
.pill-quiet { border-color: var(--hair); background: var(--ground-2); color: var(--ink-3); }

.tag {
  display: inline-flex; align-items: center;
  padding: .16em .72em; border-radius: 999px;
  font-size: .76rem; font-weight: 600; letter-spacing: .03em; text-transform: lowercase;
  border: 1px solid currentColor; text-decoration: none; white-space: nowrap;
}
.tag-response { background: var(--t-response-1); color: var(--t-response-3); }
.tag-state { background: var(--t-state-1); color: var(--t-state-3); }
.tag-goal { background: var(--t-goal-1); color: var(--t-goal-3); }
.tag-time { background: var(--t-time-1); color: var(--t-time-3); }
.tag-quiet { background: var(--slate-1); color: var(--slate-3); }
a.tag:hover { filter: saturate(1.25); }

.btn {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 36px; padding: .35em 1em; border-radius: 999px;
  border: 1px solid var(--outline); background: #fff; color: var(--ink);
  font: 550 .9rem/1 var(--sans); cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ground-2); color: var(--ink); }
.btn:disabled { opacity: .42; cursor: default; }
.btn-primary { background: var(--periwinkle-1); border-color: var(--periwinkle-3); color: var(--periwinkle-3); }
.btn-primary:hover { background: #d6dafa; color: var(--periwinkle-3); }
.btn-small { min-height: 28px; padding: .25em .8em; font-size: .8rem; }
.btn-icon { font-size: .85em; color: var(--ink-3); }
.btn.is-soon { color: var(--ink-3); border-style: dashed; cursor: default; }
.btn.is-soon:hover { background: #fff; }

.masthead {
  position: relative;
  padding: 52px 0 34px;
  text-align: center;
  background:
    radial-gradient(60rem 22rem at 18% -8%, rgba(220, 233, 247, .95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(52rem 20rem at 84% -6%, rgba(251, 227, 238, .85), rgba(255, 255, 255, 0) 70%),
    radial-gradient(40rem 18rem at 50% -10%, rgba(236, 227, 248, .8), rgba(255, 255, 255, 0) 70%);
}
.masthead::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(100% - 32px, 40rem); height: 1px;
  transform: translateX(-50%); background: var(--grad-line); opacity: .8;
}
.masthead .wrap { width: min(100% - 32px, 54rem); }
.eyebrow { margin-bottom: 18px; }
.masthead h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); font-weight: 680; letter-spacing: -.022em; margin-bottom: 18px; }
.authors { font-size: 1.02rem; margin-bottom: 2px; }
.author { white-space: nowrap; }
.affiliations { color: var(--ink-3); font-size: .9rem; }
.affiliations .aff { white-space: nowrap; }
.affiliations .aff-sep { padding: 0 .3em; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 26px; }

.btn.is-inert { cursor: default; }
.btn.is-inert:hover { background: #fff; color: var(--ink); }
.summary { font-size: 1.04rem; line-height: 1.62; color: var(--ink); max-width: 46rem; margin: 0 auto 24px; text-align: left; }
.summary p { margin: 0 0 .75em; }
.author-note { color: var(--ink-3); font-size: .84rem; margin: 2px 0 0; }
.spine { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 0; margin: 0; }
.spine .tag { font-size: .86rem; padding: .28em .95em; }
.spine-arrow { color: var(--ink-3); font-size: .95rem; }

.card {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: var(--r-card);
}
.ex-card { padding: 22px 24px 20px; box-shadow: 0 1px 0 rgba(35, 43, 61, .04), 0 12px 32px -18px rgba(79, 95, 196, .28); }
.ex-count { color: var(--ink-3); font-size: .82rem; font-variant-numeric: tabular-nums; }

.stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px;
  grid-template-areas: "fl fr" "sc sc" "cl cr";
}
.stage > .cell { display: contents; }
.stage > .cell[data-cell="physics"] > .frame { grid-area: fl; }
.stage > .cell[data-cell="model"] > .frame { grid-area: fr; }
.stage > .cell[data-cell="physics"] > figcaption { grid-area: cl; }
.stage > .cell[data-cell="model"] > figcaption { grid-area: cr; }
.stage > .scrub { grid-area: sc; }
.stage > .notice { grid-column: 1 / -1; }
.cell { margin: 0; min-width: 0; }
.frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-frame); background: var(--board);
  border: 1px solid rgba(35, 43, 61, .8);
  isolation: isolate;
}
.frame .layer { position: absolute; inset: 0; opacity: 0; transition: opacity .12s linear; }
.frame .layer.on { opacity: 1; }
.frame video, .frame img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; background: var(--board); }
.frame svg.overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; will-change: transform; }
.frame .loading { position: absolute; left: 10px; bottom: 8px; z-index: 5; font-size: .72rem; color: rgba(255, 255, 255, .75); }
.cell figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 8px; font-size: .86rem; line-height: 1.4; color: var(--ink-2); min-height: 2.9em; }
.cell-label { font-weight: 650; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.cell-source { color: var(--ink-3); font-size: .78rem; }
.cell-facts { flex-basis: 100%; }
.cell-counts { flex-basis: 100%; color: var(--ink-3); font-size: .8rem; }

.ov-release { stroke: var(--glacier-2); stroke-width: 1.3; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.ov-release-label { fill: var(--glacier-2); font: 600 19px var(--sans); letter-spacing: .02em; }

.trail { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: butt; stroke-linejoin: round; }
.tr-gen { stroke-width: 2.6; }
.tr-phys { stroke-width: 2; }
.tr-src { stroke-width: 2; }
.tr-ref { stroke-width: 1.4; }
.paths-off .overlay .trail { display: none; }
.explainer .paths-off .overlay .ov-release, .explainer .paths-off .overlay .ov-release-label { display: none; }

.controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 14px 0 12px; }
.switch {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--outline); background: var(--ground-2);
}
.switch[hidden] { display: none; }
.switch-label { font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 0 8px 0 10px; }
.switch button, .switch .opt {
  min-height: 32px; padding: .3em .95em; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--ink-2); font: 550 .88rem/1 var(--sans); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.switch .opt { display: inline-flex; align-items: center; cursor: default; }
.switch button:hover { color: var(--ink); background: #fff; }
.switch button[aria-checked="true"] { background: #fff; color: var(--ink); border-color: var(--outline); box-shadow: 0 1px 2px rgba(35, 43, 61, .12); }
[data-tag="response"] .switch button[aria-checked="true"] { background: var(--t-response-1); border-color: var(--t-response-3); color: var(--t-response-3); }
[data-tag="state"] .switch button[aria-checked="true"] { background: var(--t-state-1); border-color: var(--t-state-3); color: var(--t-state-3); }
[data-tag="goal"] .switch button[aria-checked="true"] { background: var(--t-goal-1); border-color: var(--t-goal-3); color: var(--t-goal-3); }
[data-tag="time"] .switch button[aria-checked="true"] { background: var(--t-time-1); border-color: var(--t-time-3); color: var(--t-time-3); }
.explainer .switch button[aria-checked="true"] { background: var(--periwinkle-1); border-color: var(--periwinkle-3); color: var(--periwinkle-3); }
.switch.is-static { opacity: .75; }

.model-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: .22em .75em .22em .55em;
  border-radius: 999px; border: 1px solid var(--hair); background: #fff; color: var(--ink-2);
  font: 550 .8rem/1 var(--sans); cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.chip:hover { border-color: var(--slate-2); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--outline); color: var(--ink); background: var(--chip-tint, var(--slate-1)); }
.mk { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--mk, var(--slate-3)); border: 1.6px solid var(--mk, var(--slate-3)); }
.mk.is-closed { background: #fff; }
.chip-sep { width: 1px; align-self: stretch; background: var(--hair); margin: 2px 2px; }

.scrub { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; }
.scrub-play {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1px solid var(--outline); background: #fff; color: var(--ink); cursor: pointer;
}
.scrub-play:hover { background: var(--ground-2); }
.scrub-play svg { width: 12px; height: 12px; }
.scrub-bar { position: relative; flex: 1 1 auto; min-width: 80px; height: 30px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.scrub-track { position: relative; display: block; width: 100%; height: 4px; border-radius: 999px; background: var(--hair); overflow: hidden; }
.scrub-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--periwinkle-3); }
[data-tag="response"] .scrub-fill { background: var(--t-response-3); }
[data-tag="state"] .scrub-fill { background: var(--t-state-3); }
[data-tag="goal"] .scrub-fill { background: var(--t-goal-3); }
[data-tag="time"] .scrub-fill { background: var(--t-time-3); }
[data-tag="robust"] .scrub-fill { background: var(--slate-3); }
.scrub-knob {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 1px 2px rgba(35, 43, 61, .2); pointer-events: none;
}
.scrub-bar:hover .scrub-knob, .scrub-bar.dragging .scrub-knob { transform: scale(1.15); }
.scrub-bar:focus-visible { outline-offset: 0; }
.scrub-time { flex: none; min-width: 3.6em; font-size: .78rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.scrub-opts { flex: none; display: inline-flex; gap: 6px; }
.tbtn {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: .2em .75em; border-radius: 999px;
  border: 1px solid var(--hair); background: #fff; color: var(--ink-2); font: 550 .78rem/1 var(--sans); cursor: pointer;
}
.tbtn:hover { border-color: var(--slate-2); color: var(--ink); }
.tbtn[aria-pressed="true"] { background: var(--slate-1); border-color: var(--slate-2); color: var(--ink); }
.tbtn svg { width: 12px; height: 12px; }

.ex-steps { display: grid; margin-top: 10px; }
.ex-step { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .18s ease; max-width: 52rem; }
.ex-step.on { visibility: visible; opacity: 1; }
.ex-step h3 { font-size: 1.25rem; font-weight: 650; margin-bottom: .35em; }
.ex-step p { color: var(--ink-2); margin: 0; }
.ex-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--hair); }
.ex-progress { display: flex; align-items: center; gap: 12px; }

@media (min-width: 761px) { .ex-controls .switch[hidden] { display: inline-flex; visibility: hidden; } }
.dots { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1px solid var(--outline); background: #fff; cursor: pointer; }
.dots button[aria-current="step"] { background: var(--grad-line); border-color: var(--periwinkle-3); transform: scale(1.18); }
.dots li { display: flex; align-items: center; min-height: 28px; }

.findings .wrap.wide { margin-top: 18px; }
.question { margin: 0 0 30px; scroll-margin-top: 20px; }
.question-head {
  border: 1px dashed var(--outline); border-radius: var(--r-card); padding: 18px 22px 10px; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--ground-2), #fff);
}
.question-head h3 { font-size: 1.3rem; font-weight: 650; margin: 10px 0 8px; }
.question-head p { color: var(--ink-2); max-width: 54rem; }
.panel { margin-bottom: 18px; scroll-margin-top: 20px; }
.panel.card { padding: 20px 22px 16px; }
[data-tag="response"] .panel.card { border-top: 3px solid var(--t-response-2); }
[data-tag="state"] .panel.card { border-top: 3px solid var(--t-state-2); }
[data-tag="goal"] .panel.card { border-top: 3px solid var(--t-goal-2); }
[data-tag="time"] .panel.card { border-top: 3px solid var(--t-time-2); }
.panel-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.panel-head h3 { font-size: 1.28rem; font-weight: 650; }

.panel-head.has-aside { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 18px; }
.panel-title { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.panel-aside { margin: 2px 0 0; max-width: 21rem; text-align: right; color: var(--ink-3); font-size: .84rem; line-height: 1.45; }
.panel-text p, p.panel-text { color: var(--ink-2); max-width: 52rem; }
.panel-note { margin: 6px 0 0; color: var(--ink-3); font-size: .84rem; }

.findings-note { margin: 0 0 10px; font-size: .86rem; font-style: italic; color: var(--ink-3); text-align: left; max-width: none; }
#robust { margin-top: 10px; }

.prompt-box { border: 1px solid var(--hair); border-radius: var(--r-mid); padding: 10px 14px; margin: 0 0 14px; background: var(--ground-2); }
.prompt-label { margin: 0 0 4px; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prompt-text { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.prompt-text mark { background: var(--t-goal-1); color: var(--t-goal-3); border-radius: 4px; padding: 0 2px; box-shadow: inset 0 -1px 0 var(--t-goal-2); }

.timeline { margin: 4px 0 8px; }
.timeline svg { width: 100%; height: auto; overflow: visible; }
.tl-axis { stroke: var(--ink-3); stroke-width: 1; }
.tl-tick { stroke: var(--ink-3); stroke-width: 1; }
.tl-text { fill: var(--ink-3); font: 500 11px var(--sans); }
.tl-label { fill: var(--ink-2); font: 600 11px var(--sans); }
.tl-head { stroke: var(--ink); stroke-width: 1.5; opacity: .75; }
.tl-row { stroke: var(--hair); stroke-width: 1; stroke-dasharray: 2 4; }
.tl-phys { fill: var(--ink); }
.tl-phys-other { fill: #fff; stroke: var(--ink-3); stroke-width: 1.2; }
.tl-mark { fill: var(--ink-3); font: 500 11px var(--sans); }
.tl-mark.on { fill: var(--ink); font-weight: 650; }

.closing {
  margin: 34px auto 0; max-width: 50rem; padding: 18px 24px; border-radius: var(--r-card);
  border: 1px solid var(--outline); background: var(--grad); color: var(--ink); font-size: 1.08rem; line-height: 1.6;
}

.filters { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 8px 0 12px; }
.filter-group { display: flex; flex-direction: column; align-items: center; gap: 7px; max-width: 100%; }
.filter-title { margin: 0; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.filter-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 100%; }
.g-count { color: var(--ink-3); font-size: .85rem; margin: 6px 0 12px; text-align: center; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 16px; }
.g-card { border: 1px solid var(--hair); border-radius: 14px; padding: 8px 8px 10px; background: #fff; }
.g-card .frame { border-radius: 9px; }
.g-meta { display: grid; gap: 4px; margin-top: 8px; font-size: .82rem; color: var(--ink-2); padding: 0 2px; }
.g-meta .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.g-model { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink); }
.g-scene { color: var(--ink-3); font-size: .76rem; font-variant-numeric: tabular-nums; }
.mini-switch { display: inline-flex; border: 1px solid var(--hair); border-radius: 999px; padding: 2px; background: var(--ground-2); }
.mini-switch.on-frame { position: absolute; top: 7px; right: 7px; z-index: 6; background: rgba(255, 255, 255, .88); border-color: rgba(35, 43, 61, .35); backdrop-filter: blur(2px); }
.mini-switch button { border: 0; background: transparent; border-radius: 999px; padding: .2em .6em; font: 550 .72rem/1.2 var(--sans); color: var(--ink-3); cursor: pointer; min-height: 24px; }
.mini-switch button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--outline); }
.mini-switch button:disabled { cursor: default; opacity: .5; }
.g-more { display: flex; justify-content: center; margin-top: 18px; }
.g-more[hidden] { display: none; }

.bibtex { position: relative; padding: 14px 16px; background: var(--ground-2); }
.bibtex pre { margin: 0; overflow-x: auto; font: 400 .82rem/1.55 var(--mono); color: var(--ink); }
.bibtex .btn-small { position: absolute; top: 10px; right: 10px; }
main { padding-bottom: 72px; }

.noscript { text-align: center; color: var(--ink-3); }
.notice { border: 1px dashed var(--coral-3); color: var(--coral-3); border-radius: 12px; padding: 10px 14px; font-size: .88rem; margin: 10px 0; background: var(--coral-1); }

.authors.anonymous { color: var(--ink-3); font-size: .92rem; letter-spacing: .02em; margin-bottom: 20px; }

.mk-svg { width: 12px; height: 12px; flex: none; overflow: visible; }
.chip .mk-svg, .cell-label .mk-svg, .g-model .mk-svg { margin-right: 1px; }

.switch button:disabled, .switch button[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.switch button:disabled:hover { background: transparent; color: var(--ink-2); }
.switch button[data-note]::after { content: attr(data-note); margin-left: .45em; font-size: .76em; font-weight: 500; color: var(--ink-3); }
.switch-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.switch-small button { min-height: 28px; font-size: .8rem; padding: .25em .75em; }
.switch-small .switch-label { font-size: .68rem; }

.ov-ghost { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ov-ghost-label { font: 700 17px var(--sans); paint-order: stroke; stroke: rgba(20, 22, 28, .75); stroke-width: 4px; }
.ov-contact { fill: rgba(255, 255, 255, .92); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ov-contact-num { font: 700 19px var(--sans); text-anchor: middle; dominant-baseline: central; }
.ov-deflector-num { font: 700 21px var(--sans); fill: #fff; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: rgba(20, 22, 28, .8); stroke-width: 4px; }
.ov-layer { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.ov-layer.source { stroke: var(--peach-2); stroke-dasharray: 9 5; }
.ov-layer.physics { stroke: #fff; stroke-dasharray: 6 5; }
.ov-layer.own { stroke: var(--orchid-2); stroke-dasharray: 2 5; stroke-width: 2.6; }
.paths-off .overlay .ov-ghost, .paths-off .overlay .ov-ghost-label, .paths-off .overlay .ov-layer { display: none; }

.chart { margin: 8px 0 6px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.ch-frame { fill: none; stroke: var(--ink-2); stroke-width: .9; }
.ch-tick { stroke: var(--ink-2); stroke-width: .9; }
.ch-zero { stroke: var(--hair); stroke-width: 1; }
.ch-text { fill: var(--ink-3); font: 500 11px var(--sans); }
.ch-label { fill: var(--ink-2); font: 600 11px var(--sans); }
.ch-phys { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 5 4; }
.ch-model { fill: none; stroke-width: 2; stroke-linejoin: round; }
.ch-model.null { stroke-dasharray: 2 4; stroke-width: 2; }
.ch-edit { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; }
.ch-head { stroke: var(--ink); stroke-width: 1.4; opacity: .7; }
.ch-dim { opacity: .28; }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 8px; padding: 0; font-size: .82rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 28px; height: 12px; border-radius: 3px; background: var(--board); position: relative; }
.lg::after { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; }
.lg-source::after { border-top: 2px dashed var(--peach-2); }
.lg-physics::after { border-top: 2px dashed #fff; }
.lg-own::after { border-top: 2.6px dotted var(--orchid-2); }
.lg-regen::after { border-top: 2.6px solid var(--orchid-2); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding-top: 44px; }
  .masthead { padding: 40px 0 28px; }

  .stage { grid-template-columns: minmax(0, 1fr); row-gap: 10px; grid-template-areas: "fl" "fr" "sc" "cl" "cr"; }
  .scrub { flex-wrap: wrap; margin-top: 2px; }
  .scrub-opts { flex-basis: 100%; }
  .ex-card, .panel.card { padding: 16px 14px 14px; border-radius: 14px; }

  .ex-card { display: flex; flex-direction: column; }
  .ex-card > .ex-steps { order: 1; margin: 0 0 12px; }
  .ex-card > .stage { order: 2; }
  .ex-card > .controls { order: 3; }
  .ex-card > .ex-nav { order: 4; }
  .panel-head.has-aside { flex-direction: column; gap: 6px; }
  .panel-aside { text-align: left; max-width: none; }
  .controls { flex-direction: column; align-items: stretch; }
  .controls > *, .switch-group > * { min-width: 0; max-width: 100%; }
  .model-picker { width: 100%; }
  .switch { border-radius: 16px; justify-content: flex-start; }
  .switch-label { flex-basis: 100%; padding: 4px 8px 2px; }
  .switch button { font-size: .84rem; padding-inline: .8em; }

  .model-picker {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .model-picker::-webkit-scrollbar { display: none; }
  .model-picker .chip { flex: none; }
  .cell figcaption { min-height: 0; margin-top: 0; }
  .ex-nav .btn { padding-inline: .8em; }
}
@media (max-width: 420px) {
  .dots { gap: 5px; }
  .links { gap: 6px; }
  .links .btn { padding-inline: .7em; min-height: 32px; font-size: .84rem; }
  .spine { gap: 4px; flex-wrap: nowrap; }
  .spine .tag { font-size: .76rem; padding: .22em .62em; }
  .spine-arrow { font-size: .8rem; }
  .summary { font-size: 1.04rem; }
}
