.vist-page { --ink: var(--primary); --muted: var(--secondary); --blue: var(--accent); --teal: var(--section-accent); --prediction-rgb: 216, 85, 115; color: var(--ink); background: var(--theme); font-family: inherit; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; width: 100%; }
.vist-page *, .vist-page *::before, .vist-page *::after { box-sizing: border-box; }
.vist-page [hidden] { display: none !important; }
.vist-page a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
.vist-page a:hover { text-decoration: underline; }
.vist-page button, .vist-page select, .vist-page input { font: inherit; }
.vist-page button, .vist-page select { cursor: pointer; }
.vist-page button:focus-visible, .vist-page a:focus-visible, .vist-page select:focus-visible, .vist-page input:focus-visible, .vist-page summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.vist-page h1, .vist-page h2, .vist-page h3, .vist-page p { margin: 0; }
.vist-page h1, .vist-page h2, .vist-page h3 { letter-spacing: -.035em; line-height: 1.2; }
.vist-main { min-width: 0; }
.vist-hero { padding: 0; }
.vist-hero-copy { margin-bottom: 28px; }
.vist-kicker, .vist-overline, .vist-small-label, .vist-panel-label, .vist-panel-caption, .vist-y-label, .vist-x-label, .vist-section-index, .vist-example-footer { font-size: 10px; font-weight: 650; line-height: 1.5; letter-spacing: .07em; }
.vist-kicker, .vist-section-index { color: var(--teal); border-left: 2px solid var(--teal); padding-left: 9px; }
.vist-kicker b { color: #b7c2cc; margin: 0 5px; font-weight: 400; }
.vist-hero h1 { max-width: 930px; margin: 15px 0 12px; font-size: clamp(34px, 2.7vw, 40px); font-weight: 650; }
.vist-hero-description { max-width: 75ch; color: var(--muted); font-size: 18px; line-height: 1.55; }
.vist-authors { margin-top: 11px !important; color: var(--muted); font-size: 14px; }
.vist-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 18px; font-size: 15px; }
.vist-hero-actions a + a { border-left: 1px solid var(--border); padding-left: 24px; }
.vist-text-link, .vist-quiet-link { display: inline-flex; align-items: center; gap: 8px; }
.vist-text-link span, .vist-quiet-link span { transition: transform .2s ease; }
.vist-text-link:hover span { transform: translateY(3px); }

.vist-observation { border: 1px solid var(--border); border-radius: 4px; overflow: visible; background: #fff; }
.vist-observation-heading { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vist-overline, .vist-small-label, .vist-panel-label { color: #657181; }
.vist-overline span { color: #8c9aa8; }
.vist-observation-heading h2 { font-size: 23px; font-weight: 650; margin-top: 5px; }
.vist-observation-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); border-top: 1px solid var(--border); }
.vist-stimulus-panel, .vist-signal-panel { padding: 16px 20px 18px; min-width: 0; }
.vist-stimulus-panel { background: #f8fafc; border-right: 1px solid var(--border); }
.vist-panel-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 9px; }
.vist-video-wrap { position: relative; width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #dfe4eb; }
.vist-video-wrap video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vist-rf-overlay { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vist-video-time { position: absolute; bottom: 9px; left: 9px; color: white; background: rgba(17, 24, 32, .65); border-radius: 2px; padding: 4px 6px; font: 10px/1.1 ui-monospace, monospace; pointer-events: none; }
.vist-panel-caption { max-width: 320px; margin: 10px auto 0 !important; display: flex; align-items: center; gap: 5px; color: #687585; font-size: 8px; }
.vist-panel-caption > span:last-child { margin-left: auto; }
.vist-live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.vist-rf-control { max-width: 320px; margin: 12px auto 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 11px; }
.vist-rf-control button { border: 0; padding: 0; color: #35535c; background: transparent; font-size: inherit; text-align: left; }
.vist-rf-control button:hover { text-decoration: underline; }
.vist-rf-control button span { display: inline-block; width: 10px; height: 10px; margin-right: 4px; background: rgb(var(--prediction-rgb)); border-radius: 50%; }
.vist-rf-control button[aria-pressed="false"] span { background: #b5c0c6; }
.vist-signal-panel { display: flex; flex-direction: column; }
.vist-signal-top { display: flex; justify-content: space-between; align-items: end; margin: 12px 0 28px; }
.vist-small-label { font-size: 9px; }
.vist-select-label { display: flex; align-items: baseline; margin-top: 4px; font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.vist-cell-picker { position: relative; margin-left: 8px; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.vist-cell-trigger { display: flex; align-items: center; gap: 11px; min-width: 68px; padding: 4px 8px 4px 10px; color: var(--ink); background: #f8fafc; border: 1px solid #d9e1ea; border-radius: 4px; font-size: 17px !important; font-weight: 650 !important; line-height: 1.3; }
.vist-cell-trigger:hover, .vist-cell-trigger[aria-expanded="true"] { background: #f0f5fc; border-color: #9ebde1; }
.vist-cell-trigger svg { color: #5c6a79; transition: transform .18s ease; }
.vist-cell-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.vist-cell-dropdown { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: min(300px, calc(100vw - 64px)); max-height: min(420px, 60vh); overflow-y: auto; padding: 14px; background: #fff; border: 1px solid #dbe3eb; border-radius: 6px; box-shadow: 0 12px 35px rgba(25, 40, 58, .16); }
.vist-cell-menu-head { display: flex; justify-content: space-between; color: #7a8998; font-size: 9px; font-weight: 650; letter-spacing: .06em; }
.vist-cell-group { margin-top: 13px; }
.vist-cell-group-title { margin-bottom: 6px !important; color: var(--teal); font-size: 11px; font-weight: 650; line-height: 1.4; }
.vist-cell-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.vist-cell-options button { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; padding: 7px; background: #f8fafc; border: 1px solid transparent; border-radius: 3px; color: var(--ink); font-size: 11px; line-height: 1.3; text-align: left; }
.vist-cell-options button span:first-child { font-weight: 600; white-space: nowrap; }
.vist-cell-options button span:last-child { color: #718091; font-size: 10px; font-variant-numeric: tabular-nums; }
.vist-cell-options button:hover, .vist-cell-options button[aria-selected="true"] { border-color: #b2cce9; background: #eef5fd; }
.vist-cell-options button:focus-visible { outline-offset: -2px; }
.vist-cell-menu-note { margin-top: 12px !important; color: #788595; font-size: 10px; line-height: 1.45; }
.vist-cell-score { text-align: right; display: flex; flex-direction: column; gap: 3px; }
.vist-cell-score span { color: #687585; font-size: 9px; font-weight: 650; letter-spacing: .05em; }
.vist-cell-score strong { font-size: 18px; font-weight: 650; }
.vist-chart-wrap { width: 100%; }
.vist-y-label, .vist-x-label { color: #748190; font-size: 8px; }
.vist-y-label span { text-transform: none; letter-spacing: 0; }
.vist-trace { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.vist-chart-grid line { stroke: #e4e9ee; stroke-width: 1; }
.vist-chart-ticks text { fill: #8794a0; font: 9px ui-monospace, monospace; }
.vist-trace-target, .vist-trace-prediction { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vist-trace-target { stroke: #222d38; stroke-width: 1.35; }
.vist-trace-prediction { stroke: rgb(var(--prediction-rgb)); stroke-width: 1.35; opacity: .92; }
.vist-page .vist-trace-ghost { opacity: .14; }
.vist-playhead { stroke: var(--teal); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.vist-playhead-dot { fill: var(--teal); stroke: white; stroke-width: 2; vector-effect: non-scaling-stroke; }
.vist-x-label { display: flex; justify-content: space-between; margin-top: 5px; }
.vist-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 20px; color: var(--muted); font-size: 11px; }
.vist-legend span { display: inline-flex; align-items: center; gap: 7px; }
.vist-legend i { width: 17px; height: 2px; background: #222d38; }
.vist-legend .vist-legend-prediction { background: rgb(var(--prediction-rgb)); }
.vist-chart-note { color: #72808d; line-height: 1.5; font-size: 10px; margin-top: 10px !important; }
.vist-player-controls { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--border); }
.vist-play { width: 32px; height: 32px; flex: none; border: 1px solid #d9e7ea; border-radius: 50%; background: #edf7f7; color: var(--teal); font-size: 12px !important; font-weight: 700 !important; }
.vist-play:hover { background: #dceeee; }
.vist-range-label { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0,0,0,0); white-space: nowrap; }
.vist-player-controls input[type="range"] { flex: 1; min-width: 0; height: 4px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.vist-current-frame { font: 10px/1 ui-monospace, monospace; color: #687585; white-space: nowrap; }
.vist-example-footer { display: flex; justify-content: space-between; gap: 15px; padding: 10px 20px; color: #788594; background: #fafbfc; border-top: 1px solid var(--border); font-size: 8px; }

.vist-section-inner { width: 100%; margin: 0; }
.vist-question, .vist-results, .vist-method, .vist-provenance { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); background: #fff; }
.vist-section-index { margin-bottom: 12px !important; font-size: 11px; }
.vist-question h2, .vist-results h2, .vist-method h2, .vist-provenance h2 { font-size: clamp(28px, 2.5vw, 34px); font-weight: 650; }
.vist-question-grid > div > p, .vist-results-intro > div > p:last-child, .vist-method-intro > div > p:last-child, .vist-provenance-grid > div > p { max-width: 78ch; margin-top: 13px; color: var(--muted); line-height: 1.65; font-size: 16px; }
.vist-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; border-top: 1px solid var(--border); }
.vist-facts > div { padding-top: 16px; display: flex; flex-direction: column; gap: 3px; }
.vist-facts strong { font-size: 32px; line-height: 1.2; font-weight: 650; letter-spacing: -.04em; }
.vist-facts strong span { font-size: .5em; letter-spacing: 0; }
.vist-facts > div > span { color: #6c7a88; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.vist-comparison { margin-top: 28px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.vist-comparison-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.vist-comparison-top h3 { font-size: 20px; margin-top: 5px; font-weight: 650; }
.vist-direction-buttons { display: flex; padding: 3px; border-radius: 4px; background: #f0f3f6; }
.vist-direction-buttons button { color: #667483; background: transparent; border: 1px solid transparent; padding: 7px 9px; font-size: 11px; font-weight: 600; white-space: nowrap; border-radius: 3px; }
.vist-direction-buttons button[aria-pressed="true"] { color: var(--ink); border-color: #dfe4eb; background: white; }
.vist-direction-buttons button span { color: var(--teal); margin: 0 2px; }
.vist-comparison-body { display: grid; grid-template-columns: .7fr 1.3fr; gap: 35px; padding: 27px 22px 30px; }
.vist-comparison-copy > strong { display: block; font-weight: 650; font-size: 58px; letter-spacing: -.05em; line-height: 1; margin: 13px 0; }
.vist-comparison-copy > p:not(.vist-small-label) { color: var(--muted); font-size: 14px; line-height: 1.5; }
.vist-comparison-copy .vist-text-link { margin-top: 16px; font-size: 13px; }
.vist-bars { padding-top: 4px; }
.vist-bar-row { margin-bottom: 17px; }
.vist-bar-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 12px; color: var(--muted); }
.vist-bar-row strong { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.vist-bar-highlight > div:first-child { color: var(--teal); font-weight: 650; }
.vist-bar-track { height: 8px; background: #eff2f5; border-radius: 4px; overflow: hidden; }
.vist-bar-track i { display: block; width: var(--width); height: 100%; background: #aab9c7; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.vist-bar-highlight .vist-bar-track i { background: var(--teal); }
.vist-bar-axis { display: flex; justify-content: space-between; color: #788594; font: 10px/1 ui-monospace, monospace; }
.vist-comparison-foot { display: flex; justify-content: space-between; gap: 20px; padding: 14px 22px; background: #fafbfc; border-top: 1px solid var(--border); }
.vist-comparison-foot p { max-width: 650px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.vist-comparison-foot a { flex: none; font-size: 11px; }
.vist-noscript { margin-top: 15px !important; color: var(--muted); }
.vist-result-detail { margin-top: 29px; }
.vist-result-detail h3, .vist-method-extra h3, .vist-provenance h3 { font-size: 19px; font-weight: 650; }
.vist-result-detail > p, .vist-method-extra p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 9px; }
.vist-table-scroll { overflow-x: auto; }
.vist-result-detail table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; font-variant-numeric: tabular-nums; }
.vist-result-detail th, .vist-result-detail td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--border); }
.vist-result-detail th:first-child { text-align: left; }
.vist-result-detail thead th { color: var(--muted); font-weight: 600; background: #f8fafc; }
.vist-result-detail tbody th { font-weight: 550; }
.vist-result-detail tbody th span { color: var(--muted); font-weight: 400; }
.vist-result-detail .vist-table-note { color: #74808c; font-size: 12px; }
.vist-method-steps, .vist-method-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.vist-model-figure { margin: 25px 0 0; padding: 16px; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.vist-model-figure > a, .vist-model-figure img { display: block; width: 100%; }
.vist-model-figure img { height: auto; }
.vist-model-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.vist-method-steps > div, .vist-method-extra > div { border-top: 1px solid var(--border); padding-top: 14px; }
.vist-method-steps > div > span { color: var(--teal); font-size: 10px; font-weight: 650; letter-spacing: .06em; }
.vist-method-steps h3 { font-size: 19px; font-weight: 650; margin-top: 12px; }
.vist-method-steps p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 9px; }
.vist-method-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.vist-ablation { container: vist-ablation / inline-size; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); }
.vist-ablation-intro h2 { font-size: clamp(28px, 2.5vw, 34px); font-weight: 650; }
.vist-ablation-intro > p:last-child { max-width: 78ch; margin-top: 13px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.vist-ablation-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; gap: 24px; margin-top: 25px; }
.vist-ablation-chart { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.vist-ablation-chart-heading { padding: 16px; border-bottom: 1px solid var(--border); }
.vist-ablation-chart-heading h3 { font-size: 17px; font-weight: 650; }
.vist-ablation-chart-heading > span { display: block; margin-top: 5px; color: #788594; font-size: 9px; font-weight: 650; letter-spacing: .05em; }
.vist-ablation-rows { display: flex; flex: 1; flex-direction: column; }
.vist-ablation-row { display: grid; flex: 1 0 auto; grid-template-columns: minmax(120px, 1.15fr) minmax(65px, .85fr) 61px; align-items: center; gap: 9px; min-width: 0; padding: 11px 12px 11px 15px; text-align: left; color: var(--ink); background: #fff; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid #edf1f4; }
.vist-ablation-row:hover { background: #f5f9fb; }
.vist-ablation-row[aria-pressed="true"] { background: #eef8f9; border-left-color: var(--teal); }
.vist-ablation-row:focus-visible { outline-offset: -3px; }
.vist-ablation-row-label { font-size: 11px; line-height: 1.35; font-weight: 550; }
.vist-ablation-track { display: block; height: 7px; background: #edf1f5; border-radius: 4px; overflow: hidden; }
.vist-ablation-track i { display: block; width: var(--ablation-width); height: 100%; border-radius: 4px; background: var(--ablation-color); }
.vist-ablation-row-score { text-align: right; color: #526273; font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.vist-ablation-row[aria-pressed="true"] .vist-ablation-row-score { color: var(--ablation-color); font-weight: 700; }
.vist-ablation-axis { display: grid; grid-template-columns: minmax(120px, 1.15fr) minmax(65px, .85fr) 61px; gap: 9px; padding: 9px 12px 11px 18px; color: #8794a0; font: 9px/1 ui-monospace, monospace; }
.vist-ablation-axis > div { display: flex; justify-content: space-between; }
.vist-ablation-colorbar { padding: 11px 15px 14px; border-top: 1px solid #edf1f4; }
.vist-ablation-colorbar > div:not(.vist-ablation-color-gradient) { display: flex; justify-content: space-between; color: #718091; font: 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.vist-ablation-colorbar > div:first-child { font-size: 9px; font-weight: 650; letter-spacing: .04em; }
.vist-ablation-color-gradient { height: 6px; margin: 7px 0; border-radius: 4px; background: linear-gradient(to right, rgb(211, 77, 85), rgb(218, 163, 72), rgb(8, 127, 140)); }
.vist-ablation-inspector { position: relative; display: grid; grid-template-rows: auto minmax(min-content, 1fr) auto; min-width: 0; padding: 15px; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.vist-ablation-figure { position: relative; align-self: center; margin: 10px 0 14px; }
.vist-ablation-figure img { display: block; width: 100%; height: auto; }
.vist-ablation-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vist-ablation-overlay g[data-ablation-region] { opacity: 0; transition: opacity .25s ease; }
.vist-ablation-overlay g.is-active { opacity: 1; }
.vist-ablation-overlay rect { fill: rgba(255, 255, 255, .86); stroke: #c96372; stroke-width: 5; stroke-dasharray: 14 9; }
.vist-ablation-inspector[data-change="replace"] .vist-ablation-overlay rect { stroke: var(--teal); }
.vist-ablation-overlay text { fill: #33424f; font: 700 32px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.vist-ablation-overlay .vist-prior-trainable { fill: none; stroke: var(--teal); stroke-width: 5; stroke-dasharray: none; }
.vist-ablation-overlay .vist-prior-trainable-label { fill: var(--teal); font-size: 22px; }
.vist-ablation-overlay .vist-alignment-label-cover { fill: #fff; stroke: none; }
.vist-ablation-inspector[data-change="replace"] .vist-ablation-overlay .vist-rf-outline { fill: none; stroke: var(--teal); }
.vist-ablation-inspector[data-change="replace"] .vist-ablation-overlay .vist-stack-card { fill: #e7f7f7; stroke: var(--teal); stroke-width: 4; stroke-dasharray: none; }
.vist-ablation-overlay .vist-stack-grid { fill: none; stroke: var(--teal); stroke-width: 2; opacity: .7; }
.vist-ablation-overlay .vist-stack-label { fill: var(--teal); font-size: 30px; }
.vist-ablation-detail { padding-top: 14px; border-top: 1px solid var(--border); }
.vist-ablation-detail h3 { margin-top: 5px; font-size: 18px; font-weight: 650; }
.vist-ablation-detail > p:not(.vist-small-label) { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.vist-ablation-metric { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vist-ablation-metric > div { display: flex; flex-direction: column; }
.vist-ablation-metric span { color: #788594; font-size: 9px; font-weight: 650; letter-spacing: .05em; }
.vist-ablation-metric strong { color: var(--ablation-color, var(--teal)); font-size: 25px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.vist-ablation-delta { color: var(--muted); font: 16px/1.3 "STIX Two Math", "Cambria Math", serif; font-variant-numeric: tabular-nums; }
.vist-ablation-reading { margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--border); }
.vist-ablation-reading h3 { font-size: 17px; font-weight: 650; }
.vist-ablation-reading p { max-width: 80ch; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.vist-ablation-note { max-width: 88ch; margin-top: 18px !important; color: #718091; font-size: 12px; line-height: 1.6; }
.vist-provenance { margin-top: 48px; padding: 0 18px; background: #f8fafc; border: 1px solid var(--border); border-radius: 4px; }
.vist-provenance > summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; list-style: none; padding: 15px 0; cursor: pointer; font-size: 14px; }
.vist-provenance > summary::-webkit-details-marker { display: none; }
.vist-provenance > summary span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; }
.vist-provenance > summary strong { font-weight: 650; }
.vist-provenance > summary small { color: #72808e; font-size: 12px; }
.vist-provenance > summary::after { content: "+"; flex: none; color: var(--teal); font-size: 20px; line-height: 1; }
.vist-provenance[open] > summary::after { content: "−"; }
.vist-provenance-body { max-width: 80ch; border-top: 1px solid var(--border); padding: 3px 0 18px; }
.vist-provenance-body p { margin-top: 13px; color: var(--muted); line-height: 1.65; font-size: 13px; }
.vist-provenance-body h3 { margin-top: 20px; font-size: 15px; font-weight: 650; }
.vist-provenance-body .vist-data-credit { margin-top: 22px; font-size: 12px; }
.vist-citation { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.vist-citation-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.vist-citation-heading h2 { font-size: 24px; font-weight: 650; }
.vist-citation-heading > div > p:last-child { margin-top: 5px; color: var(--muted); font-size: 13px; }
.vist-copy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.vist-copy-actions button { border: 1px solid #c9d7e6; border-radius: 4px; padding: 8px 13px; background: #fff; color: var(--blue); font-size: 13px; font-weight: 600; }
.vist-copy-actions button:hover { border-color: var(--blue); background: #f0f5fc; }
.vist-copy-actions [role="status"] { color: var(--muted); font-size: 11px; }
.vist-bibtex { margin: 18px 0 0; padding: 18px; border: 1px solid var(--border); border-radius: 4px; background: #f8fafc; color: #35404e; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .vist-observation-heading { flex-direction: column; align-items: flex-start; }
  .vist-observation-grid { display: block; }
  .vist-stimulus-panel { border-right: 0; border-bottom: 1px solid var(--border); }
  .vist-video-wrap, .vist-panel-caption, .vist-rf-control { max-width: 370px; }
}
@media (max-width: 1100px) {
  .vist-ablation-layout { display: flex; flex-direction: column; gap: 15px; }
  .vist-ablation-chart, .vist-ablation-inspector { width: 100%; }
  .vist-ablation-inspector { order: -1; }
}
@media (max-width: 760px) {
  .vist-hero { padding-top: 0; }
  .vist-hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .vist-hero-description { font-size: 16px; }
  .vist-observation-heading { padding: 18px; }
  .vist-stimulus-panel, .vist-signal-panel { padding: 16px 18px; }
  .vist-cell-dropdown { left: -56px; width: min(300px, calc(100vw - 78px)); }
  .vist-player-controls, .vist-example-footer { padding-left: 18px; padding-right: 18px; }
  .vist-question, .vist-results, .vist-method, .vist-ablation, .vist-provenance { margin-top: 48px; }
  .vist-question h2, .vist-results h2, .vist-method h2, .vist-ablation h2, .vist-provenance h2 { font-size: 27px; }
  .vist-facts { gap: 10px; }
  .vist-facts strong { font-size: 27px; }
  .vist-facts > div > span { font-size: 9px; }
  .vist-comparison-top { flex-direction: column; align-items: flex-start; padding: 18px; }
  .vist-comparison-body { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .vist-comparison-copy > strong { font-size: 50px; }
  .vist-comparison-foot { flex-wrap: wrap; padding: 14px 18px; }
  .vist-method-steps, .vist-method-extra { grid-template-columns: 1fr; gap: 19px; }
}
@media (max-width: 400px) {
  .vist-direction-buttons button { font-size: 10px; padding: 7px; }
}
@media (max-width: 1100px) and (min-height: 700px) {
  .vist-ablation-inspector { position: sticky; top: 8px; z-index: 3; box-shadow: 0 4px 16px rgba(25, 40, 58, .08); }
}
@container vist-ablation (max-width: 800px) {
  .vist-ablation-layout { display: flex; flex-direction: column; gap: 15px; }
  .vist-ablation-chart, .vist-ablation-inspector { width: 100%; }
  .vist-ablation-inspector { order: -1; }
}
@container vist-ablation (min-width: 481px) and (max-width: 800px) {
  .vist-ablation-inspector { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 8px; align-items: start; }
  .vist-ablation-inspector > .vist-small-label { grid-column: 1 / -1; }
  .vist-ablation-figure { margin: 0; }
  .vist-ablation-detail { align-self: center; margin: 0; padding: 0; border: 0; }
}
@container vist-ablation (max-width: 360px) {
  .vist-ablation-row, .vist-ablation-axis { grid-template-columns: minmax(90px, 1.15fr) minmax(42px, .85fr) 54px; gap: 6px; }
  .vist-ablation-row-score { font-size: 10px; }
}
@media (min-height: 700px) {
  @container vist-ablation (max-width: 800px) {
    .vist-ablation-inspector { position: sticky; top: 8px; z-index: 3; box-shadow: 0 4px 16px rgba(25, 40, 58, .08); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .vist-page *, .vist-page *::before, .vist-page *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Match the site's theme without changing the original white architecture artwork. */
body.dark .vist-observation,
body.dark .vist-ablation-inspector,
body.dark .vist-ablation-row,
body.dark .vist-model-figure,
body.dark .vist-cell-dropdown,
body.dark .vist-copy-actions button { background: var(--theme); }
body.dark .vist-question,
body.dark .vist-results,
body.dark .vist-method { background: transparent; }
body.dark .vist-stimulus-panel,
body.dark .vist-example-footer,
body.dark .vist-comparison-foot,
body.dark .vist-result-detail thead th,
body.dark .vist-provenance,
body.dark .vist-bibtex,
body.dark .vist-cell-trigger,
body.dark .vist-cell-options button,
body.dark .vist-direction-buttons { background: var(--code-bg); }
body.dark .vist-direction-buttons button { color: var(--secondary); }
body.dark .vist-direction-buttons button[aria-pressed="true"] { color: var(--primary); background: #343d49; border-color: #566170; }
body.dark .vist-cell-trigger { border-color: var(--border); }
body.dark .vist-cell-trigger:hover,
body.dark .vist-cell-trigger[aria-expanded="true"],
body.dark .vist-cell-options button:hover,
body.dark .vist-cell-options button[aria-selected="true"] { background: #30404d; border-color: #6685a2; }
body.dark .vist-ablation-row { border-bottom-color: var(--border); }
body.dark .vist-ablation-row:hover { background: #202e35; }
body.dark .vist-ablation-row[aria-pressed="true"] { background: #203b40; }
body.dark .vist-ablation-track,
body.dark .vist-bar-track { background: #343d49; }
body.dark .vist-ablation-colorbar { border-color: var(--border); }
body.dark .vist-ablation-row-score,
body.dark .vist-rf-control button,
body.dark .vist-bibtex,
body.dark .vist-overline,
body.dark .vist-small-label,
body.dark .vist-panel-label,
body.dark .vist-panel-caption,
body.dark .vist-cell-score span,
body.dark .vist-chart-note,
body.dark .vist-current-frame,
body.dark .vist-result-detail .vist-table-note,
body.dark .vist-facts > div > span,
body.dark .vist-ablation-note,
body.dark .vist-provenance > summary small { color: var(--secondary); }
body.dark .vist-chart-grid line { stroke: #48515c; }
body.dark .vist-trace-target { stroke: #edf0f5; }
body.dark .vist-legend .vist-legend-target { background: #edf0f5; }
body.dark .vist-playhead-dot { stroke: var(--theme); }
body.dark .vist-play { background: #203b40; border-color: #3e6066; }
body.dark .vist-play:hover { background: #304e53; }
body.dark .vist-copy-actions button:hover { background: #30404d; }
