/* from the handoff: css/page-1.css */
.sim-card [hidden] { display: none !important; }


.sim-sri-head .eyebrow { display: inline-block; line-height: 1.35; }


.seg .lbl-short { display: none; }
@media (max-width: 560px) {
  .sim-prompt { flex-direction: column; align-items: flex-start; gap: 6px; }
  .seg .lbl-long { display: none; }
  .seg .lbl-short { display: inline; }
}


/* from the handoff: css/page-2.css */
html.is-static *, html.is-static *::before, html.is-static *::after { transition: none !important; animation: none !important; }


.figure img { height: auto; }


.gain-bars { display: flex; flex-direction: column; gap: 8px; }
.gain-row { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 14px; align-items: center; }
.gain-bars.is-wide .gain-row { grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); }
.gain-row.is-family-break { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--neutral-200); }
.gain-label { font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; color: var(--neutral-800); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gain-label small { font-size: 12px; letter-spacing: 0; color: var(--neutral-500); }
.gain-row.is-ours .gain-label .gain-name { color: var(--accent-primary); font-weight: 600; }
.gain-row.is-ours .gain-label small { color: var(--accent-primary); }
.gain-track { position: relative; height: 22px; outline: none; }
.gain-track:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; border-radius: 4px; }
.gain-zero { position: absolute; left: 0; top: -4px; bottom: -4px; width: 1px; background: var(--neutral-400); }
.gain-bar { position: absolute; left: 0; top: 4px; height: 14px; border-radius: 0 4px 4px 0; transition: width .55s cubic-bezier(.22,.61,.36,1); }
.gain-bar.is-accent { background: var(--series-diffusion); }
.gain-bar.is-grey { background: var(--series-ar); }
.gain-val { position: absolute; top: 2px; padding: 0 6px; font-size: 12.5px; line-height: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gain-val.is-accent { color: var(--accent-primary); font-weight: 600; }
.gain-val.is-grey { color: var(--neutral-700); }
.gain-val.is-inside { color: #fff; }
.gain-track:hover .gain-bar, .gain-track:focus-visible .gain-bar { filter: brightness(1.08); }
.gain-axis { margin-top: 2px; }
.gain-ticks { position: relative; height: 16px; }
.gain-ticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: 10.5px; color: var(--neutral-400); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gain-ticks span.is-first { transform: none; }
.gain-ticks span.is-last { transform: translateX(-100%); }
@media (max-width: 560px) {
  
  .gain-row, .gain-bars.is-wide .gain-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gain-row + .gain-row { margin-top: 6px; }
  .gain-label { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .gain-axis > div:first-child { display: none; }
  .gain-val { font-size: 12.5px; padding: 0 5px; }
  .gain-ticks span { font-size: 11px; }
}


@media (max-width: 400px) {
  .chart-card .chart-controls .seg button { padding: 7px 9px; letter-spacing: 0.03em; }
}


.avg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; }
.avg-head { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--accent-primary); margin-bottom: 10px; display: flex; flex-direction: column; gap: 2px; }
.avg-head small { font-size: 12px; font-weight: 400; color: var(--neutral-500); }
.avg-row { display: grid; grid-template-columns: minmax(104px, 132px) minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--neutral-200); }
.avg-label { font-size: 14px; line-height: 1.3; color: var(--neutral-800); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.avg-label small { font-size: 12px; color: var(--neutral-500); }
.avg-track { position: relative; height: 22px; outline: none; border-left: 1px solid var(--neutral-400); }
.avg-track:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; border-radius: 4px; }
.avg-track:hover .gain-bar, .avg-track:focus-visible .gain-bar { filter: brightness(1.08); }
@media (max-width: 700px) {
  .avg-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 380px) {
  .avg-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .avg-label { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
}


.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: 13px; color: var(--neutral-700); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 16px; height: 0; border-top: 3px solid var(--series-ar); display: inline-block; }
.chart-legend i.is-ours { border-top-color: var(--series-diffusion); }
.chart-legend i.is-base { border-top-style: dashed; border-top-width: 2.5px; }
.long-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.long-panel { min-width: 0; }
.long-title { font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--neutral-800); margin-bottom: 4px; }
.long-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.long-plot .grid { stroke: #E3E3E3; stroke-width: 1; }
.long-plot .axis { stroke: var(--neutral-300); stroke-width: 1; }
.long-plot .tick { font-family: var(--font-body); font-size: 11px; fill: var(--neutral-400); font-variant-numeric: tabular-nums; }
.long-plot .axis-title { font-family: var(--font-body); font-size: 12px; letter-spacing: -0.005em; fill: var(--neutral-500); }
.long-plot .line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.long-plot .line.is-ours { stroke: var(--series-diffusion); }
.long-plot .line.is-base { stroke: var(--series-ar); stroke-width: 1.8; stroke-dasharray: 5 4; }
.long-plot .dot { stroke: var(--surface-panel); stroke-width: 1.2; }
.long-plot .dot.is-ours { fill: var(--series-diffusion); }
.long-plot .dot.is-base { fill: var(--series-ar); }
.long-plot .hit { fill: transparent; pointer-events: all; outline: none; }
.long-plot .hit:focus-visible { stroke: var(--accent-primary); stroke-width: 2; }
.long-plot .oom { outline: none; }
.long-plot .oom:focus-visible .cross { stroke: var(--accent-primary); }
.long-plot .cross { stroke: var(--neutral-800); stroke-width: 2; stroke-linecap: round; fill: none; }
.long-plot .oom-lbl { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; fill: var(--neutral-700); }
.long-plot .val { font-family: var(--font-body); font-size: 12.5px; fill: var(--neutral-700); font-variant-numeric: tabular-nums; }
.long-plot .val.is-ours { fill: var(--accent-primary); font-weight: 600; }
.long-plot svg.is-narrow .tick, .long-plot svg.is-narrow .oom-lbl { font-size: 12px; }
.long-plot svg.is-narrow .val { font-size: 13.5px; }
.long-plot svg.is-narrow .axis-title { font-size: 12.5px; }
@media (max-width: 700px) {
  .long-panels { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .long-title { font-size: 14px; }
}


.video-card video { display: block; width: 100%; background: #101010; }


.gal-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin-bottom: 16px; }
.gal-group { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 4px 4px 4px 14px; background: var(--nav-bg); border-radius: var(--radius-full); }
.gal-ds { font-size: 13.5px; letter-spacing: -0.01em; color: var(--neutral-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gal-chips { display: flex; gap: 4px; flex: none; }
.gal-chip { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--neutral-700); cursor: pointer; transition: background .2s, color .2s; }
.gal-chip:hover { background: var(--neutral-150); }
.gal-chip[aria-pressed="true"] { background: var(--accent-primary); color: #fff; }
.gal-chip:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.gal-select-wrap { display: none; }
.gal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 12px; }
.gal-cap { font-size: 15px; letter-spacing: -0.01em; color: var(--neutral-800); line-height: 1.35; }
.gal-cap strong { font-weight: 600; color: var(--neutral-900); }
.gal-cap small { display: block; font-size: 12.5px; color: var(--neutral-500); }
.gal-base { display: flex; align-items: center; gap: 10px; }
.gal-base-lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neutral-500); }
.gal-base .seg button { padding: 7px 12px; }
.gal-base-select-wrap { display: none; }
.gal-stage { position: relative; width: 100%; aspect-ratio: var(--gal-ar, 576 / 378); border-radius: 16px; overflow: hidden; background: #101010; }
.gal-layer { position: absolute; inset: 0; transition: opacity .35s ease, visibility .35s; }
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; opacity: 0; visibility: hidden; }
.gal-stage.is-future .gal-past { opacity: 0; visibility: hidden; }
.gal-stage.is-future .gal-grid { opacity: 1; visibility: visible; }
.gal-past .gal-tile { height: 100%; }
.gal-tile { position: relative; min-width: 0; min-height: 0; background: #101010; overflow: hidden; }
.gal-tile video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.gal-tag { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 4px 9px; border-radius: var(--radius-full); background: rgba(16,16,16,0.72); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.gal-tile.is-ours .gal-tag { background: var(--accent-primary); }
.gal-tag .lbl-short { display: none; }
.gal-ctl { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.gal-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--neutral-800); color: #fff; cursor: pointer; transition: background .2s; }
.gal-btn + .gal-btn { background: var(--nav-bg); color: var(--neutral-800); }
.gal-btn:hover { background: var(--accent-primary); color: #fff; }
.gal-btn:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.gal-btn svg { width: 20px; height: 20px; display: block; }
.gal-prog { flex: 1 1 auto; min-width: 0; display: flex; gap: 6px; }
.gal-part { flex: 1 1 0; min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; padding: 6px 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.gal-part-track { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--neutral-200); overflow: hidden; }
.gal-part-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--neutral-500); border-radius: 3px; }
.gal-part.is-future .gal-part-fill { background: var(--accent-primary); }
.gal-part-lbl .lbl-short { display: none; }
.gal-part-lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neutral-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-part.is-on .gal-part-lbl { color: var(--neutral-900); }
.gal-part:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 900px) {
  .gal-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-base .seg button { padding: 7px 10px; }
}
@media (max-width: 560px) {
  
  .gal-picker { display: none; }
  .gal-select-wrap { display: flex; width: 100%; margin-bottom: 12px; }
  .gal-select-wrap select, .gal-base-select-wrap select { width: 100%; }
  .gal-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .gal-base { width: 100%; }
  .gal-base .seg { display: none; }
  .gal-base-select-wrap { display: flex; flex: 1 1 auto; min-width: 0; }
  .gal-stage { border-radius: 12px; }
  .gal-grid { gap: 3px; }
  .gal-tag { left: 4px; top: 4px; max-width: calc(100% - 8px); padding: 2px 7px; font-size: 11px; }
  .gal-part-lbl { font-size: 10.5px; letter-spacing: 0.1em; }
  .gal-part-lbl .lbl-long { display: none; }
  .gal-part-lbl .lbl-short { display: inline; }
  .gal-cap-main { display: none; }
  .gal-cap.no-fig { display: none; }
  .gal-cap small { font-size: 13px; }
}
@media (max-width: 420px) {
  .gal-tag .lbl-long { display: none; }
  .gal-tag .lbl-short { display: inline; }
}


.mine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.mine-item { margin: 0; min-width: 0; }
.mine-label { font-size: 14.5px; line-height: 1.35; letter-spacing: -0.01em; color: var(--neutral-700); margin-bottom: 8px; }
.mine-label strong { font-weight: 600; color: var(--neutral-900); }
.mine-item video { height: auto; aspect-ratio: 16 / 9; border-radius: 14px; cursor: pointer; }
.mine-maps { width: 100%; height: auto; margin-top: 8px; border-radius: 10px; background: #111; }
.mine-cases { width: 100%; height: auto; margin-top: 22px; border-radius: 14px; background: #fff; }
@media (max-width: 700px) {
  .mine-grid { grid-template-columns: minmax(0, 1fr); }
}


.eq-steps { display: flex; flex-direction: column; gap: 12px; margin: var(--space-xl) 0 var(--space-2xl); }
.eq-step { background: var(--surface-panel); border-radius: 20px; padding: 20px 24px 20px; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 10px 28px; align-items: start; }
.eq-step.is-accent { box-shadow: inset 0 0 0 1px rgba(37,72,246,0.35); }
.eq-step-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 4px; }
.eq-step-head h4 { font-family: var(--font-body); font-size: 15.5px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--neutral-900); margin: 0; }
.eq-sec { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--neutral-400); }
.eq-step-body { min-width: 0; }
.math-display { overflow-x: auto; overflow-y: hidden; padding: 2px 6px; margin: 0 -6px; -webkit-overflow-scrolling: touch; } 
.eq-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2.4em; }
.eq-row > .math-display { flex: 0 1 auto; max-width: 100%; }
.math-display.eq-narrow { display: none; }
.math-display .katex-display { margin: 4px 0 8px; text-align: left; }
.math-display .katex-display > .katex { text-align: left; }
.math-display .katex { font-size: 1.14em; color: var(--neutral-900); }
.article-body .eq-note { font-size: 14.5px; line-height: 1.55; color: var(--neutral-600); opacity: 1; margin: 6px 0 0; letter-spacing: -0.01em; }
.eq-note .katex { font-size: 1.03em; color: var(--neutral-800); }
@media (max-width: 900px) {
  .eq-step { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 18px; gap: 6px; }
  .eq-step-head { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding-top: 0; }
}
@media (max-width: 560px) {
  .math-display .katex { font-size: 1em; }
  .article-body .eq-note { font-size: 15px; }
  .eq-row { column-gap: 1.6em; }
  .math-display.eq-wide { display: none; }
  .math-display.eq-narrow { display: block; }
}


.people-stack { display: flex; flex-direction: column; gap: 14px; }
.people-stack .people-card { gap: 16px; }

.people-stack .people-card { position: relative; transition: border-color .2s, background-color .2s; }
.people-card .person-link { color: inherit; text-decoration: none; }
.people-card .person-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.people-card .person-link:focus-visible { outline: none; }
.people-card:has(.person-link:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.people-card .person-role a { position: relative; z-index: 1; }
.people-stack .people-card:hover { border-color: rgba(255,255,255,0.42); background-color: rgba(255,254,251,0.13); }


/* from the handoff: css/page-3.css */
#smcCover { container: smcover / inline-size; text-align: left; }
.smc-cover {
  --smc-blue: var(--accent-primary);
  --smc-navy: var(--brand-navy);
  --smc-orange: #E8772E;
  --smc-orange-ink: #B4561A;
  --smc-ink: var(--neutral-800);
  --smc-red: #C93636;
  --smc-tint: rgba(37, 72, 246, 0.08);
  --smc-otint: rgba(232, 119, 46, 0.12);
  --smc-itint: rgba(49, 49, 49, 0.065);
  --smc-ground: #EDF2E4;
  --smc-thumb: 24px;
}
.smc-cover [hidden] { display: none !important; }


.smc-cover .sim-top { margin-bottom: 12px; }
.smc-cover .seg { display: flex; width: 100%; flex-wrap: nowrap; }
.smc-cover .seg button[role="tab"] { flex: 1 1 0; min-width: 0; padding: 8px 6px; font-size: 10px; letter-spacing: 0.07em; line-height: 1.25; white-space: nowrap; text-align: center; }
.smc-cover .seg .lbl-long { display: inline; }
.smc-cover .seg .lbl-short { display: none; }
.smc-cover .seg button[data-mode="recent"][aria-selected="true"] { background: var(--smc-orange-ink); }
.smc-cover .seg button[data-mode="full"][aria-selected="true"] { background: var(--smc-ink); }
.smc-cover .lbl-short { display: none; }


.smc-cover .smc-panel { padding: 10px 12px 11px; margin-bottom: 10px; }
.smc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.smc-head .eyebrow { font-size: 10px; letter-spacing: 0.2em; line-height: 1.2; white-space: nowrap; }
.smc-head .lbl-short { display: none; }
.smc-clock { font-size: 11px; line-height: 1.2; color: var(--neutral-600); white-space: nowrap; }
.smc-clock b { font-family: var(--font-mono); font-weight: 600; color: var(--smc-ink); font-variant-numeric: tabular-nums; }


.smc-mapbox { position: relative; }
.smc-map { display: block; width: 100%; height: auto; }
.smc-ground { fill: var(--smc-ground); }
.smc-tree { fill: #C3D8AF; }
.smc-tree-lit { fill: #D3E3C2; }
.smc-pond { fill: #CDE1EC; stroke: #A9C7D9; stroke-width: 1.4; }
.smc-stream { fill: none; stroke: #BBD5E4; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.smc-route { fill: none; stroke: #DCCFB2; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

.smc-win, .smc-full { fill: none; stroke-linecap: round; stroke-linejoin: round; display: none; }
.smc-win { stroke: var(--smc-orange); stroke-opacity: 0.55; stroke-width: 11; }
.smc-full { stroke: var(--smc-ink); stroke-opacity: 0.26; stroke-width: 9; }
.is-recent .smc-win, .is-full .smc-full { display: inline; }

.smc-fvcone { fill: var(--smc-ink); fill-opacity: 0.08; stroke: var(--smc-ink); stroke-opacity: 0.45; stroke-width: 1; stroke-dasharray: 3 2; }
.smc-pin { fill: #fff; stroke: var(--smc-ink); stroke-width: 2; }

.smc-cam-cone { fill: var(--smc-ink); fill-opacity: 0.16; stroke: var(--smc-ink); stroke-opacity: 0.55; stroke-width: 1; }
.smc-cam-body { fill: var(--smc-ink); }
.smc-cam-lens { fill: #fff; }
.smc-cam-oom { fill: rgba(201, 54, 54, 0.12); stroke: var(--smc-red); stroke-width: 1.6; display: none; }
.is-full.is-done .smc-cam-oom { display: inline; transform-box: fill-box; transform-origin: center; animation: smc-ring .5s cubic-bezier(.3, .7, .3, 1.3) both; }
@keyframes smc-ring { from { transform: scale(.3); opacity: 0; } }

.is-ret .smc-pin, .is-ret .smc-fvcone { display: none; }
.is-codec.is-done .smc-cam-cone { fill: var(--smc-blue); fill-opacity: 0.16; stroke: var(--smc-blue); }
.is-recent.is-done .smc-cam-cone { fill: var(--smc-orange); fill-opacity: 0.2; stroke: var(--smc-orange-ink); }

.smc-lm { display: none; }
.is-codec .smc-lm.is-on { display: inline; }
.smc-lm-d {
  fill: var(--smc-blue); fill-opacity: var(--sc, 1); stroke: #fff; stroke-width: 1.1; transform-box: fill-box; transform-origin: center;
  transform: scale(1); transition: transform .45s cubic-bezier(.3, .7, .3, 1.3), fill-opacity .4s, fill .3s, stroke .3s;
}

.smc-lm.is-new .smc-lm-d { animation: smc-pop .42s cubic-bezier(.3, .7, .3, 1.25) var(--smc-dl, 0ms) both; }

.is-ret:not(.is-done) .smc-lm-d { transform: scale(var(--sz, 1)); }
.smc-lm.is-open .smc-lm-d { transform: scale(1.4); }
@keyframes smc-pop { from { transform: translateY(-9px) scale(.4); opacity: 0; } }
.smc-lm.is-open .smc-lm-d { fill: var(--smc-navy); stroke: var(--smc-blue); stroke-width: 1.5; }
.smc-lm.is-dim .smc-lm-d { fill-opacity: 0.28; }
.smc-links { display: none; }
.is-codec .smc-links { display: inline; }

.smc-link { fill: none; stroke: var(--smc-blue); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 4 2.5; opacity: 0; transition: opacity .3s; }
.smc-links.is-on .smc-link { opacity: 1; transition-delay: calc(var(--j, 0) * 140ms + 120ms); animation: smc-flow .9s linear infinite; }
@keyframes smc-flow { to { stroke-dashoffset: -13; } }

.smc-sweep { fill: none; stroke: var(--smc-ink); stroke-opacity: 0.75; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0.07 0.93; display: none; }
.is-full .smc-sweep.is-on { display: inline; animation: smc-sweep 1.4s linear infinite; }
@keyframes smc-sweep { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }

.is-recent[data-step="25"] .smc-win { animation: smc-read .45s ease-in-out 4 alternate; }
@keyframes smc-read { to { stroke-opacity: 0.95; } }

.smc-ml {
  font-family: var(--font-body); font-size: calc(11px * var(--mf, 1)); font-weight: 500; fill: var(--neutral-700);
  paint-order: stroke; stroke: var(--smc-ground); stroke-width: calc(3.6px * var(--mf, 1)); stroke-linejoin: round;
}
.smc-ml-cam { fill: var(--smc-ink); font-weight: 600; }
.smc-ml-win, .smc-ml-state.is-recent { fill: var(--smc-orange-ink); }
.smc-ml-full { fill: var(--smc-ink); }
.smc-ml-lm, .smc-ml-state.is-codec { fill: var(--smc-blue); }
.smc-ml-state { font-weight: 600; }
.smc-ml-state.is-oom { fill: var(--smc-red); }


.smc-strip { margin-top: 8px; }
.smc-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.smc-strip-t { font-size: 10px; letter-spacing: 0.18em; line-height: 1.2; white-space: nowrap; }
.smc-strip-s { font-size: 11px; line-height: 1.2; color: var(--neutral-600); font-variant-numeric: tabular-nums; white-space: nowrap; }
.smc-strip-s.is-oom { color: var(--smc-red); font-weight: 600; }
.smc-fvrow { height: 14px; margin-top: 5px; font-size: 10px; line-height: 14px; color: var(--neutral-700); white-space: nowrap; overflow: hidden; }
.smc-fvmark i { display: inline-block; width: 0; height: 0; margin: 0 4px 1px 3px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--smc-ink); }
.smc-fvout { font-style: normal; color: var(--smc-orange-ink); visibility: hidden; }
.is-fvout .smc-fvout { visibility: visible; }
.smc-cols { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; margin-top: 1px; }
.smc-col { display: flex; flex-direction: column-reverse; gap: 2px; padding: 2px 1px; border-radius: 3px; transition: background-color .25s; }
.smc-col i { display: block; height: 5px; border-radius: 1.5px; border: 1px solid #ECECE8; transition: background-color .25s, border-color .25s; }
.smc-col.is-now { background: var(--smc-itint); }
.is-codec .smc-col.is-now { background: var(--smc-tint); }
.is-recent .smc-col.is-now { background: var(--smc-otint); }

.is-codec .smc-col.is-on i { background: var(--smc-blue); border-color: var(--smc-blue); }
.is-codec .smc-col.is-on i.is-drop { background: var(--neutral-200); border-color: var(--neutral-200); }
.is-codec .smc-col.is-on i.is-open { background: var(--smc-navy); border-color: var(--smc-navy); outline: 1.5px solid var(--smc-blue); outline-offset: 1px; }
.smc-col.is-new i { transition-delay: var(--smc-dl, 0ms); }
.is-codec .smc-col.is-new i { animation: smc-drop .38s cubic-bezier(.3, .7, .3, 1) var(--smc-dl, 0ms) both; }
@keyframes smc-drop { from { transform: translateY(-6px); opacity: 0; } }

.is-recent .smc-col.is-on i { background: repeating-linear-gradient(135deg, var(--neutral-300) 0 1.5px, transparent 1.5px 3.5px); border-color: var(--neutral-300); }
.is-recent .smc-col.is-win i { background: var(--smc-orange); border-color: var(--smc-orange); }
.is-full .smc-col.is-on i { background: var(--smc-ink); border-color: var(--smc-ink); opacity: 0.82; }

.smc-strip-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px; }
.smc-legends { display: grid; min-width: 0; }
.smc-legend { grid-area: 1 / 1; display: flex; gap: 12px; visibility: hidden; }
.smc-legend.is-on { visibility: visible; }
.smc-lg { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; line-height: 1.2; color: var(--neutral-600); white-space: nowrap; }
.smc-lg i { flex: none; width: 9px; height: 6px; border-radius: 1.5px; box-sizing: border-box; }
.smc-lg-win i { background: var(--smc-orange); }
.smc-lg-gone i { background: repeating-linear-gradient(135deg, var(--neutral-300) 0 1.5px, transparent 1.5px 3.5px); border: 1px solid var(--neutral-300); }
.smc-lg-ink i { background: var(--smc-ink); }
.smc-lg-kept i { background: var(--smc-blue); }
.smc-lg-drop i { background: var(--neutral-200); }
.smc-lg-open i { background: var(--smc-navy); outline: 1.5px solid var(--smc-blue); outline-offset: 1px; margin: 0 2px; }

.smc-meter { flex: none; display: flex; align-items: center; gap: 7px; }
.smc-meter-track { width: 58px; height: 6px; border-radius: 3px; background: var(--series-track); overflow: hidden; }
.smc-meter-track i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--smc-blue); transition: width .35s ease; }
.is-full .smc-meter-track i { background: var(--smc-ink); }
.smc-meter-val { min-width: 17ch; font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--smc-blue); white-space: nowrap; }
.is-full .smc-meter-val { color: var(--smc-ink); }
.is-recent .smc-meter-val { font-family: var(--font-body); font-weight: 500; color: var(--neutral-600); }
.is-recent .smc-meter-track { opacity: 0.5; }


.smc-cover .smc-views { padding: 9px 12px 12px; }
.smc-slots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.smc-slot { margin: 0; min-width: 0; }
.smc-slab { display: flex; align-items: flex-end; min-height: 2.5em; margin-bottom: 4px; font-size: 10.5px; font-weight: 500; line-height: 1.25; color: var(--neutral-700); }
@container smcover (min-width: 520px) {
  .smc-slab { display: block; min-height: 0; white-space: nowrap; }
}
.is-recent .smc-slot-ret.is-ret .smc-slab { color: var(--smc-orange-ink); }
.is-full .smc-slot-ret.is-ret .smc-slab { color: var(--smc-ink); }
.is-codec .smc-slot-ret.is-ret .smc-slab { color: var(--smc-blue); }
.smc-frame { position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--surface-panel); transition: box-shadow .25s; }
.smc-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.smc-layer.is-on { opacity: 1; }

.smc-slot-ret .smc-layer { transition-duration: .5s; }
.is-done .smc-slot-gt .smc-layer.is-on { transition-delay: .3s; }
.smc-layer > svg, .smc-layer > img, .smc-layer > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.smc-slot-first.is-now .smc-frame { box-shadow: 0 0 0 1.5px var(--nav-bg), 0 0 0 3px var(--smc-ink); }
.is-codec.is-done .smc-slot-ret .smc-frame { box-shadow: 0 0 0 1.5px var(--nav-bg), 0 0 0 3px var(--smc-blue); }
.is-recent.is-done .smc-slot-ret .smc-frame { box-shadow: 0 0 0 1.5px var(--nav-bg), 0 0 0 3px var(--smc-orange); }
.smc-oom, .smc-busy, .smc-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; padding: 6px 8px; text-align: center; border-radius: 6px; }
.smc-oom { background: #FBEDEC; border: 1px dashed rgba(201, 54, 54, 0.6); color: var(--smc-red); }
.smc-oom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.smc-oom b { font-size: 12px; font-weight: 600; line-height: 1.2; }
.smc-oom span { font-size: 10px; line-height: 1.3; color: var(--neutral-600); }
.smc-busy { gap: 5px; font-size: 10.5px; line-height: 1.25; color: var(--neutral-600); }
.smc-busy small { display: block; margin-top: 2px; font-size: 10px; color: var(--neutral-500); }
.smc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--neutral-300); border-top-color: var(--smc-ink); animation: smc-spin .9s linear infinite; }
.is-codec .smc-spin { border-top-color: var(--smc-blue); }
.is-recent .smc-spin { border-top-color: var(--smc-orange); }
@keyframes smc-spin { to { transform: rotate(360deg); } }
.smc-wait { border: 1px dashed var(--neutral-300); background: var(--nav-bg); font-size: 10.5px; color: var(--neutral-500); }
.smc-badge { position: absolute; left: 5px; bottom: 5px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 5px; border-radius: 10px; background: rgba(255, 255, 255, 0.93); font-size: 10px; font-weight: 600; line-height: 1.3; opacity: 0; transition: opacity .3s; }
.smc-badge.is-on { opacity: 1; transition-delay: .45s; }
.smc-badge.is-codec { color: var(--smc-blue); }
.smc-badge.is-recent { color: var(--smc-orange-ink); }
.smc-badge svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }


.smc-cmp { display: grid; grid-template-columns: 138px repeat(3, minmax(0, 1fr)); column-gap: 4px; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--divider); }
.smc-cmp > span { padding: 4px 7px; min-width: 0; }
.smc-cmp-h { display: flex; align-items: flex-end; padding-top: 5px !important; font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.25; text-transform: uppercase; border-radius: 8px 8px 0 0; }
.smc-cmp-h.is-recent { color: var(--smc-orange-ink); }
.smc-cmp-h.is-full { color: var(--smc-ink); }
.smc-cmp-h.is-codec { color: var(--smc-blue); }
.smc-cmp-l { display: flex; flex-direction: column; justify-content: center; padding-left: 0 !important; font-size: 10.5px; line-height: 1.3; color: var(--neutral-600); }
.smc-cmp-l small { font-size: 9.5px; color: var(--neutral-400); }
.smc-cmp-c { display: flex; flex-direction: column; justify-content: center; gap: 3px; font-size: 11px; line-height: 1.3; color: var(--smc-ink); }
.smc-cmp-c.is-last { border-radius: 0 0 8px 8px; }
.smc-cmp-c.is-codec { color: var(--smc-blue); }
.smc-cmp-c.is-codec span, .smc-cmp-c.is-codec b { font-weight: 600; }
.smc-cmp-c.is-yes, .smc-cmp-c.is-no { flex-direction: row; justify-content: flex-start; align-items: center; gap: 4px; }
.smc-cmp-c.is-yes b, .smc-cmp-c.is-no b { font-weight: 600; }
.smc-cmp-c.is-no { color: var(--smc-orange-ink); }
.smc-cmp-c svg { flex: none; width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.smc-cmp-c.is-muted { color: var(--neutral-500); }
.smc-cmp-c.is-oom b { color: var(--smc-red); font-weight: 600; }
.smc-cmp-v { font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.smc-cmp-track { display: block; height: 6px; border-radius: 3px; background: var(--series-track); overflow: hidden; }
.smc-cmp-track i { display: block; height: 100%; border-radius: 3px; background: currentColor; }
.smc-cmp .is-on.is-recent { background: var(--smc-otint); }
.smc-cmp .is-on.is-full { background: var(--smc-itint); }
.smc-cmp .is-on.is-codec { background: var(--smc-tint); }


.smc-cover .sim-controls { margin-top: 12px; }
.smc-captions { display: grid; }
.smc-captions > .sim-caption { grid-area: 1 / 1; visibility: hidden; }
.smc-captions > .sim-caption.is-on { visibility: visible; }
.smc-fine { font-size: 0.95em; }


.smc-cover.smc-static *, .smc-cover.smc-static *::before, .smc-cover.smc-static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .smc-cover *, .smc-cover *::before, .smc-cover *::after { transition: none !important; animation: none !important; }
}


@media (min-width: 901px) {
  .smc-cover.sim-card { padding: 20px; }
}
@media (max-width: 900px) {
  .smc-cover { --smc-thumb: 28px; }
}


@container smcover (min-width: 640px) {
  .smc-cover .seg button[role="tab"] { font-size: 10.5px; letter-spacing: 0.1em; }
  .smc-slab, .smc-cmp-l, .smc-lg { font-size: 11px; }
  .smc-cmp { grid-template-columns: 150px repeat(3, minmax(0, 1fr)); }
  .smc-cmp-c { font-size: 11.5px; }
  .smc-col i { height: 6px; }
}


@container smcover (max-width: 519px) {
  .smc-strip-head { flex-direction: column; align-items: flex-start; gap: 3px; }
  .smc-strip-foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .smc-legend { flex-wrap: wrap; gap: 4px 12px; }
  .smc-meter-val { min-width: 0; }
}


@container smcover (max-width: 479px) {
  .smc-cover .seg .lbl-long { display: none; }
  .smc-cover .seg .lbl-short { display: inline; }
  .smc-cover .seg button[role="tab"] { padding: 7px 4px; letter-spacing: 0.06em; }
  .smc-cover .smc-panel { padding: 10px 10px 11px; }
  .smc-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "ret ret" "first gt"; gap: 8px 10px; }
  .smc-slot-first { grid-area: first; }
  .smc-slot-ret { grid-area: ret; }
  .smc-slot-gt { grid-area: gt; }
  .smc-slab { min-height: 0; font-size: 11px; }
  .smc-slot-ret .smc-slab { font-size: 11.5px; }
  .smc-lg { font-size: 11px; }
  .smc-fvout .lbl-long, .smc-head .lbl-long { display: none; }
  .smc-fvout .lbl-short, .smc-head .lbl-short { display: inline; }
  .smc-cols { gap: 1.5px; }
  .smc-col { gap: 1.5px; padding: 1.5px 0.5px; }
  .smc-col i { height: 4px; border-radius: 1px; }
  .smc-cmp { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3px; }
  .smc-cmp-corner { display: none; }
  .smc-cmp-l { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px; padding: 8px 0 2px !important; font-size: 11px; }
  .smc-cmp-h .lbl-long { display: none; }
  .smc-cmp-h .lbl-short { display: inline; }
  .smc-cmp-h { font-size: 10px; }
  .smc-cmp-l small { font-size: 10px; }
  .smc-cmp > span { padding: 4px 6px; }
  .smc-cmp-c { font-size: 11.5px; }
}


@media (min-width: 1440px) {
  #smcCover { width: 560px; margin-left: auto; }
}
@media (min-width: 1440px) and (min-height: 1032px) {
  #smcCover { zoom: 1.178571; }
}


#smcCover { min-height: 868px; }
.article-shell#top #smcCover { min-height: 920px; }
@media (max-width: 1060px) { #smcCover { min-height: 944px; } .article-shell#top #smcCover { min-height: 950px; } }
@media (max-width: 900px)  { #smcCover { min-height: 940px; } .article-shell#top #smcCover { min-height: 950px; } }
@media (max-width: 719px)  { #smcCover { min-height: 892px; } .article-shell#top #smcCover { min-height: 913px; } }
@media (max-width: 599px)  { #smcCover { min-height: 936px; } .article-shell#top #smcCover { min-height: 945px; } }
@media (max-width: 559px)  { #smcCover { min-height: 1288px; } .article-shell#top #smcCover { min-height: 1297px; } }
@media (max-width: 499px)  { #smcCover { min-height: 1294px; } .article-shell#top #smcCover { min-height: 1303px; } }
@media (max-width: 399px)  { #smcCover { min-height: 1263px; } .article-shell#top #smcCover { min-height: 1290px; } }
@media (max-width: 359px)  { #smcCover { min-height: 1255px; } .article-shell#top #smcCover { min-height: 1281px; } }


/* from the handoff: css/page-4.css */
.smc-anim { position: relative; --sa-blue: var(--series-diffusion); --sa-gray: var(--series-ar); --sa-amber: #B8770E; --sa-amber-soft: #F3E3C2; --sa-navy: var(--accent-deep); background: var(--surface-panel); border-radius: 28px; padding: 22px 24px 20px; margin: var(--space-lg) 0 0; container-type: inline-size; }
.sa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sa-tabs { flex-wrap: nowrap; min-width: 0; }
.sa-tabs button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sa-num { flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--neutral-200); color: var(--neutral-800); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 600; letter-spacing: 0; }
.sa-tabs button[aria-selected="true"] .sa-num { background: #fff; color: var(--accent-primary); }

@container (max-width: 700px) {
  .sa-tabs button:not([aria-selected="true"]) .sa-lbl { display: none; }
  .sa-tabs button { gap: 6px; }
}
@container (max-width: 330px) {
  .sa-tabs .sa-lbl { display: none; }
}
@container (max-width: 290px) {
  .sa-head { gap: 8px; }
  .sa-tabs button, .sa-tabs button[role="tab"] { padding: 7px 6px; }
  .sa-play { width: 36px; height: 36px; }
}
.sa-play { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--neutral-900); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sa-play:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.sa-play svg { width: 18px; height: 18px; fill: currentColor; display: none; }
.sa-play .i-replay { fill: none; }
.sa-play[data-mode="play"] .i-play, .sa-play[data-mode="pause"] .i-pause, .sa-play[data-mode="replay"] .i-replay { display: block; }
.smc-anim.is-static .sa-play, .smc-anim.is-static .sa-progress { display: none; }
.sa-stage { background: var(--nav-bg); border-radius: 20px; padding: 12px 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); }
.sa-svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.smc-anim.is-narrow .sa-svg { max-width: 460px; }
.sa-progress { height: 3px; background: var(--neutral-200); border-radius: 2px; margin: 14px 0 12px; overflow: hidden; }
.sa-progress i { display: block; height: 100%; width: 0; background: var(--accent-primary); }
.smc-anim.is-static .sa-caption { margin-top: 14px; }

.article-body .sa-caption, .sa-caption { font-size: 15.5px; line-height: 1.5; letter-spacing: -0.01em; color: var(--neutral-700); margin: 0; opacity: 1; }
.sa-caption strong { color: var(--neutral-900); font-weight: 500; }
.sa-caption i { font-family: KaTeX_Math, 'Times New Roman', serif; font-size: 1.08em; line-height: 1; }


.sa-svg text { font-family: var(--font-body); }
.sa-t { font-size: calc(13px * var(--sa-f, 1)); fill: var(--neutral-700); }
.sa-small { font-size: calc(11.5px * var(--sa-f, 1)); fill: var(--neutral-500); }
.sa-lab { fill: var(--neutral-600); }
.sa-svg .sa-lab.is-on { fill: var(--sa-blue); }
.sa-bt { fill: var(--neutral-800); font-weight: 500; }
.sa-bs { fill: var(--neutral-600); }
.sa-strong { font-weight: 600; fill: var(--neutral-800); }
.sa-svg .sa-blue { fill: var(--sa-blue); }
.sa-svg .sa-white { fill: #fff; }
.sa-svg .sa-mute { fill: var(--neutral-400); }
.sa-nt { text-transform: none; }
.sa-tnum { font-variant-numeric: tabular-nums; fill: var(--neutral-600); }
.sa-cnt { font-size: calc(22px * var(--sa-f, 1)); font-weight: 600; fill: var(--sa-blue); font-variant-numeric: tabular-nums; }
.sa-load { fill: var(--neutral-500); transition: fill .15s; }
.sa-load.is-on { fill: var(--sa-blue); font-weight: 500; }
.sa-mi { font-family: KaTeX_Math, 'Times New Roman', serif; font-style: italic; font-size: 1.1em; }
.sa-mn { font-family: KaTeX_Main, 'Times New Roman', serif; font-style: normal; font-size: 1.1em; }
.sa-sub { font-size: 0.78em; }
.sa-hd.is-mute, .sa-svg text.is-mute { fill: var(--neutral-400); }


.sa-box rect, .sa-box path { stroke-width: 1.2; transition: fill .15s, stroke .15s, fill-opacity .15s, stroke-opacity .15s; }
.sa-codec rect, .sa-codec path { fill: var(--sa-blue); fill-opacity: 0.05; stroke: var(--sa-blue); stroke-opacity: 0.55; }
.sa-codec.is-on rect, .sa-codec.is-on path { fill-opacity: 0.13; stroke-opacity: 1; stroke-width: 2; }
.sa-gen rect { fill: var(--neutral-150); stroke: var(--neutral-300); }
.sa-gen.is-on rect { fill: var(--neutral-200); stroke: var(--sa-gray); stroke-width: 1.8; }
.sa-qbox rect { fill: var(--sa-navy); }
.sa-arr { fill: none; stroke: var(--neutral-400); stroke-width: 1.3; }
.sa-arr.is-on { stroke: var(--sa-blue); stroke-width: 1.8; }
.sa-arr-mute { stroke: var(--neutral-300); }
.sa-head-off { fill: var(--neutral-400); }
.sa-head-on { fill: var(--sa-blue); }
.sa-brace { fill: none; stroke: var(--neutral-400); stroke-width: 1.1; }
.sa-ring { fill: none; stroke: var(--sa-blue); stroke-width: 2; }
.sa-chunkbox { fill: none; stroke: var(--sa-blue); stroke-opacity: 0.6; stroke-width: 1.2; stroke-dasharray: 5 4; transition: stroke-opacity .15s; }
.sa-chunkbox.is-on { stroke-opacity: 1; stroke-width: 1.8; }


.sa-slotbg { fill: var(--surface-card); stroke: var(--neutral-200); stroke-width: 1.2; transition: fill .15s, stroke .15s; }
.sa-slotbg.is-future { fill: none; stroke: var(--neutral-300); stroke-dasharray: 4 3; }
.sa-slotbg.is-cur { fill: var(--sa-blue); fill-opacity: 0.04; stroke: var(--sa-blue); stroke-dasharray: 4 3; }
.sa-stem { stroke: var(--neutral-300); stroke-width: 1; }
.sa-tile .sa-tbox { fill: var(--sa-blue); fill-opacity: 0.16; stroke: var(--sa-blue); stroke-opacity: 0.85; stroke-width: 1.1; transition: fill .2s, fill-opacity .2s, stroke .2s; }
.sa-tile .sa-tgrid { fill: none; stroke: var(--sa-blue); stroke-opacity: 0.35; stroke-width: 0.8; }
.sa-tile.is-open .sa-tbox { fill-opacity: 1; stroke-opacity: 1; }
.sa-tile.is-open .sa-tgrid { stroke: #fff; stroke-opacity: 0.6; }
.sa-tile.is-closed .sa-tbox { fill: var(--neutral-150); fill-opacity: 1; stroke: var(--neutral-300); stroke-opacity: 1; }
.sa-tile.is-closed .sa-tgrid { stroke: var(--neutral-300); stroke-opacity: 0.8; }
.sa-tile.is-drop .sa-tbox { fill: none; stroke: var(--neutral-400); stroke-opacity: 1; stroke-dasharray: 3 2.5; }
.sa-tile.is-drop .sa-tgrid { stroke-opacity: 0; }
.sa-tile.is-reg .sa-tbox { fill: var(--sa-amber-soft); fill-opacity: 0.55; stroke: var(--neutral-400); stroke-opacity: 1; }
.sa-tile.is-reg .sa-tgrid { stroke: var(--neutral-400); stroke-opacity: 0.6; }
.sa-tile.is-ghost .sa-tbox { fill: none; stroke: var(--neutral-300); stroke-opacity: 1; stroke-dasharray: 2.5 2.5; }
.sa-tile.is-ghost .sa-tgrid { stroke-opacity: 0; }
.sa-tile.is-loading .sa-tbox { stroke-width: 1.8; stroke-opacity: 1; }
.sa-lm { fill: var(--sa-amber-soft); stroke: var(--sa-amber); stroke-width: 1.1; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.sa-lm.is-on { fill: var(--sa-amber); }
.sa-lm.is-dim { fill: var(--neutral-150); stroke: var(--neutral-300); }
.sa-lmring { fill: none; stroke: var(--sa-amber); stroke-width: 1.6; }
.sa-leader { fill: none; stroke: var(--sa-amber); stroke-width: 1.2; stroke-dasharray: 3 3; }
.sa-lmcardbg { fill: var(--surface-card); stroke: var(--sa-amber); stroke-opacity: 0.55; stroke-width: 1.2; }
.sa-sumbar { fill: var(--sa-amber); }


.sa-bartrack { fill: var(--neutral-150); }
.sa-bartrack.is-dim { fill: var(--neutral-100); }
.sa-bar { fill: var(--neutral-400); transition: fill .2s; }
.sa-bar.is-top { fill: var(--sa-blue); }
.sa-link { stroke: var(--neutral-300); stroke-width: 1; }
.sa-link.is-on { stroke: var(--sa-blue); stroke-width: 1.4; }


.sa-axis { fill: none; stroke: var(--neutral-500); stroke-width: 1.1; }
.sa-req { stroke: var(--neutral-800); stroke-width: 1.3; stroke-dasharray: 5 4; }
.sa-req.is-on { stroke-width: 1.8; }
.sa-curve { stroke: var(--sa-blue); stroke-width: 1.8; }
.sa-guide { stroke: var(--neutral-300); stroke-width: 1; stroke-dasharray: 2 3; }
.sa-pt { fill: var(--sa-blue); stroke: var(--nav-bg); stroke-width: 1.5; transition: fill .2s; }
.sa-pt.is-low { fill: var(--neutral-400); }
.sa-scan { fill: none; stroke: var(--neutral-500); stroke-width: 1.6; }
.sa-scan.is-ok { stroke: var(--sa-blue); }
.sa-sel { fill: none; stroke: var(--sa-blue); stroke-width: 2.2; }


.sa-thumbline { fill: none; stroke: rgba(0,0,0,0.16); stroke-width: 1; }
.sa-thumbbg { fill: #DCE3D6; }
.sa-thumb.is-gen .sa-thumbline { stroke: var(--sa-blue); stroke-width: 1.6; }

.sa-dial { fill: none; stroke: var(--neutral-300); stroke-width: 1; }
.sa-north { stroke: var(--neutral-400); stroke-width: 1.2; }
.sa-fov { fill: var(--sa-blue); fill-opacity: 0.22; stroke: var(--sa-blue); stroke-width: 1; stroke-linejoin: round; }
.sa-camdot { fill: var(--neutral-800); }
.sa-cam.is-inv .sa-dial { stroke: rgba(255,255,255,0.45); }
.sa-cam.is-inv .sa-north { stroke: rgba(255,255,255,0.7); }
.sa-cam.is-inv .sa-fov { fill: #fff; fill-opacity: 0.35; stroke: #fff; }
.sa-cam.is-inv .sa-camdot { fill: #fff; }

.sa-featbg { fill: var(--nav-bg); stroke: var(--neutral-200); }
.sa-cell { fill: var(--sa-blue); }


@media (prefers-reduced-motion: reduce) {
  .smc-anim *, .smc-anim *::before, .smc-anim *::after { transition: none !important; }
}
@media (max-width: 700px) {
  .smc-anim { padding: 16px 12px 16px; border-radius: 22px; }
  .sa-stage { padding: 10px 6px; border-radius: 16px; }
  .sa-tabs button { padding: 7px 9px; gap: 6px; letter-spacing: 0.06em; }
  .sa-num { width: 17px; height: 17px; font-size: 10.5px; }
  .article-body .sa-caption, .sa-caption { font-size: 15px; }
}


/* ---- site additions ---- */
/* Rules added for this site after the port. tools/port-article.py keeps everything from the marker above
   when it regenerates this file from a new handoff. */
/* The simulator fills the article column, as on the other articles: the authors' page sat it beside the
   title at a fixed 560px (their rule above, from 1440px), which here left the column half empty. */
.article-column #smcCover { width: 100%; max-width: none; margin: 0; }
/* The three captions under the simulator sit inside .smc-captions, so the shared rule for a caption
   right under #heroDemo does not reach them: the same type here. */
#heroDemo .smc-captions .sim-caption { margin: var(--space-sm) 0 0; padding: 0; font-family: var(--font-body); font-size: calc(16px * var(--tscale)); line-height: 1.5; color: var(--text-muted); }
#heroDemo .smc-captions .sim-caption strong { color: var(--neutral-600); font-weight: 500; }
