/* Method explanations: scoped to rmv- to coexist with the research page styles. */
.rmv-scene { --rmv-violet:#77718d; --rmv-violet-soft:#eeecf3; border:1px solid var(--line); border-radius:16px; background:var(--white); margin:32px 0 28px; padding:28px; color:var(--ink); min-width:0; }
.rmv-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:25px; margin-bottom:25px; }
.rmv-kicker { color:var(--accent); font:600 16px/1.6 "Segoe UI",Arial,sans-serif; letter-spacing:.13em; text-transform:uppercase; margin:0 0 7px; }
.rmv-heading h3 { font:26px/1.25 Georgia,"Times New Roman",serif; letter-spacing:-.025em; margin:0; }
.rmv-replay { border:0; background:none; color:var(--accent); font-size:16px; padding:7px 0; white-space:nowrap; }
.rmv-replay span { font-size:17px; margin-left:7px; vertical-align:-1px; }
.rmv-replay:hover { text-decoration:underline; text-underline-offset:4px; }
.rmv-label { margin:0 0 15px; font:600 16px/1.6 "Segoe UI",Arial,sans-serif; letter-spacing:.03em; color:var(--muted); }
.rmv-controls { display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.rmv-controls button { padding:9px 15px; border:1px solid var(--line); background:none; color:var(--muted); font-size:16px; line-height:1.5; min-height:39px; }
.rmv-controls button[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-light); color:var(--accent); }
.rmv-controls button:hover { border-color:var(--accent); }
.rmv-readout { border-left:2px solid var(--accent); margin-top:20px; padding-left:17px; min-height:87px; }
.rmv-readout strong { display:block; font-size:16px; font-weight:600; line-height:1.5; }
.rmv-readout p { color:var(--muted); font-size:16px; line-height:1.8; margin:7px 0 0; max-width:740px; }
.rmv-note { color:var(--muted); font-size:16px; line-height:1.7; margin:18px 0 0; }
.rmv-space-layout { display:grid; grid-template-columns:195px minmax(0,1fr); gap:30px; align-items:center; }
.rmv-evidence { min-width:0; }
.rmv-evidence>div { display:flex; gap:9px; align-items:center; padding:11px 0; border-bottom:1px solid var(--line); }
.rmv-letter { flex:none; width:26px; height:26px; display:flex; justify-content:center; align-items:center; font:16px Georgia,serif; color:var(--accent); border:1px solid var(--line); }
.rmv-evidence>div p { font-size:16px; line-height:1.45; margin:0; }
.rmv-evidence>div small { display:block; color:var(--muted); font-size:16px; }
.rmv-mini-bars { display:flex; align-items:flex-end; gap:3px; height:24px; margin-left:auto; }
.rmv-mini-bars i { background:var(--accent); opacity:.5; width:4px; height:15px; }
.rmv-mini-bars i:nth-child(2) { height:22px; opacity:.8; }
.rmv-mini-bars i:nth-child(3) { height:10px; opacity:.3; }
.rmv-evidence>div:nth-of-type(2) .rmv-mini-bars i:first-child { height:22px; }
.rmv-evidence>div:nth-of-type(2) .rmv-mini-bars i:nth-child(2) { height:11px; }
.rmv-evidence-note { font-size:16px; line-height:1.7; color:var(--muted); margin:15px 0 0; }
.rmv-map-panel { min-width:0; }
.rmv-map-panel>.rmv-label { margin-bottom:9px; }
.rmv-space-svg { display:block; width:100%; color:var(--accent); overflow:visible; }
.rmv-map-background { fill:#fff; stroke:var(--line); }
.rmv-space-svg text { font:20px "Segoe UI",Arial,sans-serif; text-anchor:middle; fill:var(--accent); }
.rmv-space-svg .rmv-project-label { font-size:19px; fill:var(--muted); text-anchor:start; }
.rmv-map-model .rmv-point { fill:var(--paper); stroke:var(--accent); stroke-width:2.8; }
.rmv-map-model .rmv-halo { fill:var(--accent-light); stroke:var(--accent); stroke-width:1; opacity:0; transition:opacity .55s; }
.rmv-map-model.rmv-selected .rmv-halo { opacity:1; }
.rmv-map-model.rmv-selected .rmv-point { fill:var(--accent); }
.rmv-map-model.rmv-selected text { fill:#fff; }
.rmv-task-point { transition:transform .7s cubic-bezier(.2,.6,.2,1); }
.rmv-task-point path { fill:var(--rmv-violet); }
.rmv-task-point text { fill:var(--rmv-violet); font-size:20px; }
.rmv-match-line { stroke:var(--rmv-violet); stroke-width:2.8; stroke-dasharray:4 5; fill:none; }
.rmv-project-path { stroke:var(--line); stroke-width:1.2; fill:none; }
.rmv-is-playing .rmv-match-line { animation:rmv-draw-match 1.25s ease both; }
@keyframes rmv-draw-match { from{stroke-dashoffset:90;opacity:0}to{stroke-dashoffset:0;opacity:1} }
.rmv-scoring-flow { display:grid; grid-template-columns:1.1fr .8fr 1.15fr; border:1px solid var(--line); margin-top:22px; }
.rmv-scoring-flow>div { min-width:0; padding:17px 19px; }
.rmv-scoring-flow>div+div { border-left:1px solid var(--line); }
.rmv-scoring-flow .rmv-label { margin:0 0 8px; color:var(--accent); }
.rmv-scoring-flow strong { display:block; font:19px/1.4 Georgia,serif; }
.rmv-scoring-flow p:last-child { margin:9px 0 0; color:var(--muted); font-size:16px; line-height:1.7; }
.rmv-ranking { display:flex; flex-wrap:wrap; gap:9px; counter-reset:rmv-rank; list-style:none; padding:0; margin:0; }
.rmv-ranking li { display:flex; align-items:center; gap:5px; color:var(--accent); font:19px/1.4 Georgia,serif; counter-increment:rmv-rank; }
.rmv-ranking li::before { content:counter(rmv-rank); color:var(--muted); font:16px/1 "Segoe UI",Arial,sans-serif; }
.rmv-ranking li:first-child span { border-bottom:2px solid var(--accent); }
.rmv-is-playing .rmv-scoring-flow>div { animation:rmv-score-step .4s ease both; }
.rmv-is-playing .rmv-scoring-flow>div:nth-child(2) { animation-delay:.3s; }
.rmv-is-playing .rmv-scoring-flow>div:nth-child(3) { animation-delay:.6s; }
@keyframes rmv-score-step { from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none} }

/* DARS: build a supervision signal from multiple views of model behavior. */
.rmv-dars { --dars-coral:#a75d49; --dars-coral-soft:#f6eae5; }
.rmv-dars .rmv-heading h3 { max-width:660px; font-size:30px; }
.rmv-dars-intro { font-size:18px; line-height:1.8; color:var(--muted); margin:-8px 0 24px; max-width:800px; }
.rmv-dars-icon { display:block; width:31px; height:31px; flex:none; color:var(--accent); fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rmv-dars-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-block:23px 28px; }
.rmv-dars-steps button { padding:12px 13px; min-height:66px; text-align:left; border:1px solid var(--line); border-radius:7px; background:var(--paper); color:var(--muted); font-size:16px; line-height:1.5; }
.rmv-dars-steps button>span { display:block; color:var(--accent); font-size:16px; margin-bottom:5px; }
.rmv-dars-steps button[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-light); color:var(--accent); }
.rmv-dars-steps button:hover { border-color:var(--accent); }
.rmv-dars-flow { display:grid; grid-template-columns:minmax(0,1.15fr) 27px minmax(0,.9fr) 27px minmax(0,1.25fr); gap:12px; align-items:center; }
.rmv-dars-panel { align-self:stretch; min-width:0; padding:18px 16px; border:1px solid var(--line); border-radius:12px; background:var(--paper); transition:border-color .4s,background .4s; }
.rmv-dars-panel-heading { display:flex; align-items:center; gap:11px; min-height:49px; margin-bottom:18px; }
.rmv-dars-panel h4 { font-size:19px; line-height:1.45; color:var(--ink); margin:0; font-weight:650; }
.rmv-dars-panel-note { font-size:16px; line-height:1.7; color:var(--muted); margin-top:17px; }
.rmv-dars-request { padding:12px 0; font-size:18px; line-height:1.6; border-top:1px solid var(--line); transition:opacity .4s; }
.rmv-dars-request>span { display:block; color:var(--muted); font-size:16px; line-height:1.5; margin-bottom:5px; }
.rmv-dars-original { color:var(--ink); }
.rmv-dars-rewrite { color:var(--accent); }
.rmv-dars-model-core { padding-block:7px 9px; text-align:center; }
.rmv-dars-model-core>span { display:grid; place-items:center; width:70px; height:70px; margin:0 auto 16px; color:var(--accent); border:1px solid var(--accent); border-radius:16px; background:var(--accent-light); font:37px/1 Georgia,serif; }
.rmv-dars-model-core>strong { display:block; font-size:18px; line-height:1.5; font-weight:650; }
.rmv-dars-model-core>p { margin-top:12px; color:var(--muted); font-size:16px; line-height:1.7; }
.rmv-dars-run-signals { display:flex; gap:9px; justify-content:center; margin-top:20px; }
.rmv-dars-run-signals i { width:9px; height:9px; background:var(--accent); border-radius:50%; opacity:.25; }
.rmv-dars-connector { display:block; width:27px; height:24px; color:var(--accent); stroke:currentColor; stroke-width:1.6; fill:none; }
.rmv-dars-connector .connector-head { fill:currentColor; stroke:none; }
.rmv-dars-record-label { color:var(--muted); font-size:16px; line-height:1.6; margin-bottom:13px; }
.rmv-dars-record-grid { display:grid; gap:15px; min-width:0; }
.rmv-dars-record-row { display:grid; grid-template-columns:minmax(70px,.9fr) minmax(0,1fr); gap:7px; align-items:center; }
.rmv-dars-record-row>span { font-size:16px; color:var(--muted); line-height:1.5; }
.rmv-dars-record-row>div { display:flex; gap:6px; min-width:0; }
.rmv-dars-record { display:flex; flex:1; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:5px 3px; border:1px solid var(--line); border-radius:5px; background:var(--white); color:var(--accent); transition:opacity .4s; }
.rmv-dars-record svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rmv-dars-record i { width:14px; height:3px; background:var(--accent); opacity:.5; }
.rmv-dars-record:nth-child(2) i { width:9px; }
.rmv-dars-record:nth-child(3) i { width:17px; }
.rmv-dars-varied { color:var(--dars-coral); background:var(--dars-coral-soft); border-color:#dfc6ba; }
.rmv-dars-varied i { background:var(--dars-coral); }
.rmv-dars-record-key { display:grid; gap:9px; border-top:1px solid var(--line); padding-top:14px; margin-top:17px; }
.rmv-dars-record-key>span { display:flex; align-items:center; gap:9px; font-size:16px; line-height:1.5; color:var(--muted); }
.rmv-dars-record-key i { width:11px; height:11px; border:1px solid var(--accent); border-radius:3px; flex:none; }
.rmv-dars-record-key b { display:block; width:13px; height:3px; background:var(--accent); opacity:.6; flex:none; }
.rmv-dars-profile { margin-top:26px; border-top:1px solid var(--line); padding-top:23px; }
.rmv-dars-profile-heading { display:flex; flex-wrap:wrap; gap:9px 24px; align-items:baseline; margin-bottom:18px; }
.rmv-dars-profile-heading>span { font-size:16px; color:var(--muted); }
.rmv-dars-profile-heading>strong { font:23px/1.4 Georgia,serif; color:var(--accent); }
.rmv-dars-profile-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.rmv-dars-profile-card { display:flex; align-items:flex-start; gap:13px; min-width:0; padding:18px; border:1px solid var(--line); border-radius:9px; background:var(--paper); transition:background .4s,border-color .4s; }
.rmv-dars-profile-card h4 { font-size:18px; line-height:1.5; color:var(--ink); font-weight:650; margin:0; }
.rmv-dars-profile-card p { color:var(--muted); font-size:16px; line-height:1.7; margin-top:8px; }
.rmv-dars-supervision { display:flex; align-items:center; gap:16px; padding:19px 22px; margin-top:16px; background:var(--soft); border-left:2px solid var(--line); border-radius:0 9px 9px 0; transition:background .4s,border-color .4s; }
.rmv-dars-supervision>.rmv-dars-icon { width:35px; height:35px; }
.rmv-dars-supervision strong { display:block; color:var(--accent); font-size:19px; line-height:1.5; font-weight:650; }
.rmv-dars-supervision p { color:var(--muted); font-size:17px; line-height:1.7; margin-top:6px; }
.rmv-dars[data-rmv-dars-phase="0"] .rmv-dars-rewrite { opacity:.25; }
.rmv-dars[data-rmv-dars-phase="0"] .rmv-dars-record:not(:first-child),.rmv-dars[data-rmv-dars-phase="1"] .rmv-dars-record:not(:first-child),.rmv-dars[data-rmv-dars-phase="0"] .rmv-dars-record-row:not(:first-child) .rmv-dars-record,.rmv-dars[data-rmv-dars-phase="1"] .rmv-dars-record-row:not(:first-child) .rmv-dars-record { opacity:.15; }
.rmv-dars[data-rmv-dars-phase="0"] .rmv-dars-original,.rmv-dars[data-rmv-dars-phase="1"] .rmv-dars-requests { border-color:var(--accent); }
.rmv-dars[data-rmv-dars-phase="2"] .rmv-dars-model,.rmv-dars[data-rmv-dars-phase="2"] .rmv-dars-records { border-color:var(--accent); background:var(--white); }
.rmv-dars[data-rmv-dars-phase="3"] .rmv-dars-profile-card { border-color:var(--accent); background:var(--accent-light); }
.rmv-dars[data-rmv-dars-phase="3"] .rmv-dars-supervision { border-color:var(--accent); background:var(--accent-light); }
.rmv-dars[data-rmv-dars-phase="0"] .rmv-dars-model-core>span { background:var(--white); }
.rmv-dars.rmv-dars-playing[data-rmv-dars-phase="2"] .rmv-dars-record { animation:rmv-dars-record-arrival .4s ease both; animation-delay:calc(var(--dars-record)*.07s); }
.rmv-dars.rmv-dars-playing[data-rmv-dars-phase="2"] .rmv-dars-run-signals i { animation:rmv-dars-run .7s ease 2 both; animation-delay:calc(var(--run,0)*.15s); }
.rmv-dars-run-signals i:nth-child(2) { --run:1; }.rmv-dars-run-signals i:nth-child(3) { --run:2; }
.rmv-dars.rmv-dars-playing[data-rmv-dars-phase="3"] .rmv-dars-profile-card { animation:rmv-dars-summary .6s ease both; }
.rmv-dars.rmv-dars-playing[data-rmv-dars-phase="3"] .rmv-dars-profile-card:nth-child(2) { animation-delay:.12s; }
.rmv-dars.rmv-dars-playing[data-rmv-dars-phase="3"] .rmv-dars-profile-card:nth-child(3) { animation-delay:.24s; }
@keyframes rmv-dars-record-arrival { from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none} }
@keyframes rmv-dars-run { 0%,100%{opacity:.25}50%{opacity:1} }
@keyframes rmv-dars-summary { from{border-color:var(--line);transform:translateY(3px)}to{border-color:var(--accent);transform:none} }
@media(max-width:1050px) { .rmv-dars-flow { grid-template-columns:minmax(0,1fr); gap:16px; }.rmv-dars-flow>.rmv-dars-connector { transform:rotate(90deg); margin-inline:auto; }.rmv-dars-panel { width:100%; }.rmv-dars-requests { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:18px; }.rmv-dars-requests>.rmv-dars-panel-heading,.rmv-dars-requests>.rmv-dars-panel-note { grid-column:1/-1; }.rmv-dars-model-core { display:grid; grid-template-columns:75px minmax(0,1fr); gap:5px 20px; align-items:center; text-align:left; }.rmv-dars-model-core>span { grid-row:1/4; margin:0; }.rmv-dars-model-core>p,.rmv-dars-model-core>strong,.rmv-dars-run-signals { grid-column:2; margin:0; justify-content:flex-start; }.rmv-dars-records { display:grid; grid-template-columns:1fr 1.2fr; gap:0 25px; }.rmv-dars-records>.rmv-dars-panel-heading,.rmv-dars-records>.rmv-dars-panel-note { grid-column:1/-1; }.rmv-dars-record-grid { grid-column:2; grid-row:2/4; }.rmv-dars-record-key { border:0; padding:0; }.rmv-dars-profile-card { display:block; }.rmv-dars-profile-card h4 { margin-top:11px; } }
@media(max-width:650px) { .rmv-dars .rmv-heading { flex-wrap:wrap; gap:16px; }.rmv-dars .rmv-heading h3 { font-size:28px; }.rmv-dars-intro { margin-top:0; }.rmv-dars-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.rmv-dars-steps button { min-height:78px; padding:12px; }.rmv-dars-flow { gap:14px; }.rmv-dars-panel { padding:19px 17px; }.rmv-dars-requests { display:block; }.rmv-dars-request { padding:13px 0; }.rmv-dars-model-core { grid-template-columns:61px minmax(0,1fr); gap:6px 16px; }.rmv-dars-model-core>span { width:60px; height:60px; font-size:31px; }.rmv-dars-records { display:block; }.rmv-dars-record-grid { margin-top:16px; }.rmv-dars-record-row { grid-template-columns:83px minmax(0,1fr); gap:12px; }.rmv-dars-record-row>div { gap:9px; }.rmv-dars-record { padding:8px 4px; }.rmv-dars-record-key { padding-top:16px; border-top:1px solid var(--line); }.rmv-dars-profile-cards { grid-template-columns:minmax(0,1fr); }.rmv-dars-profile-card { display:flex; align-items:center; padding:17px; }.rmv-dars-profile-card h4 { margin:0; }.rmv-dars-supervision { padding:18px 16px; align-items:flex-start; }.rmv-dars-supervision>.rmv-dars-icon { width:29px; height:29px; margin-top:4px; } }
.rmv-route-layout { display:grid; grid-template-columns:minmax(0,1.45fr) 25px minmax(130px,.8fr) 25px minmax(0,.85fr); gap:12px; align-items:center; }
.rmv-route-inputs,.rmv-context-panel,.rmv-route-result { min-width:0; }
.rmv-request { border:1px solid var(--line); border-left:3px solid var(--rmv-violet); background:var(--paper); padding:15px 16px; margin-bottom:20px; }
.rmv-request .rmv-label { margin-bottom:6px; color:var(--rmv-violet); }
.rmv-request strong { display:block; font:19px/1.5 Georgia,serif; min-height:57px; }
.rmv-context-table { background:#fff; border-block:1px solid var(--line); }
.rmv-context-header,.rmv-context-row { display:grid; grid-template-columns:65px minmax(0,1fr); align-items:center; gap:12px; padding:12px 6px; font-size:16px; }
.rmv-context-header { color:var(--muted); font-size:16px; border-bottom:1px solid var(--line); }
.rmv-context-row+.rmv-context-row { border-top:1px solid var(--line); }
.rmv-context-row>span:first-child { color:var(--accent); font:17px Georgia,serif; padding-left:5px; }
.rmv-context-marks { display:flex; align-items:center; gap:7px; }
.rmv-context-marks i { width:8px; height:8px; background:var(--accent); opacity:.7; border-radius:1px; }
.rmv-context-marks i:nth-child(even) { opacity:.22; }
.rmv-context-row[data-rmv-profile="b"] .rmv-context-marks i:nth-child(even) { opacity:.85; }
.rmv-context-row[data-rmv-profile="b"] .rmv-context-marks i:first-child { opacity:.22; }
.rmv-context-row[data-rmv-profile="c"] .rmv-context-marks i:nth-child(3) { opacity:.22; }
.rmv-context-row[data-rmv-profile="c"] .rmv-context-marks i:last-child { opacity:.85; }
.rmv-context-row[data-rmv-profile="d"] .rmv-context-marks i:first-child { opacity:.22; }
.rmv-context-row[data-rmv-profile="d"] .rmv-context-marks i:nth-child(even) { opacity:.85; }
.rmv-context-row[data-rmv-profile="d"] .rmv-context-marks i:nth-child(3) { opacity:.35; }
.rmv-route-small { font-size:16px; line-height:1.7; color:var(--muted); margin:14px 0 0; }
.rmv-route-arrow { color:var(--accent); display:grid; place-items:center; }
.rmv-route-arrow svg { width:28px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:butt; stroke-linejoin:round; }
.rmv-route-arrow .connector-head,.rmv-query-link .connector-head { fill:currentColor; stroke:none; }
.rmv-query-link svg { width:68px; height:26px; fill:none; stroke:currentColor; stroke-width:1.6; }
.rmv-frozen-router { border:1.5px solid var(--accent); background:var(--accent-light); padding:23px 10px 17px; text-align:center; }
.rmv-frozen-router svg { width:22px; height:27px; color:var(--accent); margin-bottom:10px; }
.rmv-frozen-router svg>* { stroke:currentColor; stroke-width:2.8; fill:none; }
.rmv-frozen-router>strong { display:block; font:24px/1.15 Georgia,serif; color:var(--accent); }
.rmv-frozen-router>span { display:block; margin-top:12px; color:var(--accent); font-size:16px; }
.rmv-fixed-rule { margin:16px auto 11px; width:30px; height:1px; background:var(--accent); opacity:.4; }
.rmv-frozen-router>small { display:block; font-size:16px; color:var(--muted); line-height:1.7; }
.rmv-route-result { text-align:center; }
.rmv-selected-candidate { display:flex; flex-direction:column; align-items:center; justify-content:center; width:86px; min-height:104px; padding:9px; margin:20px auto 14px; border:1px solid var(--accent); color:var(--accent); background:var(--accent-light); }
.rmv-selected-candidate>span { font-size:16px; }
.rmv-selected-candidate>strong { font:44px/1.3 Georgia,serif; }
.rmv-pool-result { font-size:16px; line-height:1.7; color:var(--accent); margin:0; }
.rmv-illustrative-tag { display:block; color:var(--muted); font-size:16px; line-height:1.6; margin-top:12px; }
.rmv-route-controls { display:flex; flex-wrap:wrap; gap:20px 28px; padding-top:20px; margin-top:23px; border-top:1px solid var(--line); }
.rmv-control-set { min-width:0; }
.rmv-control-set>.rmv-label { margin:0; }
.rmv-control-set>.rmv-controls { margin-top:8px; }
.rmv-routefm[data-rmv-pool="changed"] .rmv-updating-row { background:var(--rmv-violet-soft); }
.rmv-routefm[data-rmv-pool="changed"] .rmv-updating-row>span:first-child { color:var(--rmv-violet); }
.rmv-routefm.rmv-is-playing .rmv-route-inputs { animation:rmv-route-step .45s ease both; }
.rmv-routefm.rmv-is-playing .rmv-route-input-arrow svg { animation:rmv-route-connection .4s ease .3s both; }
.rmv-routefm.rmv-is-playing .rmv-frozen-router { animation:rmv-router-read .65s ease .6s both; }
.rmv-routefm.rmv-is-playing .rmv-route-output-arrow svg { animation:rmv-route-connection .4s ease 1.05s both; }
.rmv-routefm.rmv-is-playing .rmv-route-result { animation:rmv-route-step .55s ease 1.4s both; }
@keyframes rmv-route-step { from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:none} }
@keyframes rmv-route-connection { from{opacity:.15;stroke-dasharray:50;stroke-dashoffset:50}to{opacity:1;stroke-dasharray:50;stroke-dashoffset:0} }
@keyframes rmv-router-read { 0%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 0 4px var(--accent-light)}100%{box-shadow:0 0 0 0 transparent} }
@media(max-width:1150px) { .rmv-space-layout { grid-template-columns:170px minmax(0,1fr); gap:20px; } .rmv-mini-bars { display:none; } .rmv-route-layout { gap:8px; grid-template-columns:minmax(0,1.3fr) 15px minmax(110px,.85fr) 15px minmax(0,.85fr); } .rmv-context-header,.rmv-context-row { grid-template-columns:48px minmax(0,1fr); gap:5px; } .rmv-context-header { font-size:16px; } .rmv-scoring-flow>div { padding-inline:13px; } }
@media(max-width:600px) {
  .rmv-scene { margin-block:24px; padding:22px 18px; }
  .rmv-heading { gap:15px; margin-bottom:22px; }
  .rmv-heading h3 { font-size:23px; }
  .rmv-kicker { font-size:16px; }
  .rmv-replay { font-size:16px; }
  .rmv-label { font-size:16px; }
  .rmv-space-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
  .rmv-evidence { display:grid; grid-template-columns:minmax(0,1fr); column-gap:12px; }
  .rmv-evidence>.rmv-label,.rmv-evidence>.rmv-evidence-note { grid-column:1/-1; }
  .rmv-evidence>div { gap:6px; border-bottom:0; padding-block:3px; }
  .rmv-evidence>div p { font-size:16px; }
  .rmv-evidence>div small { font-size:16px; }
  .rmv-letter { width:24px; height:24px; font-size:16px; }
  .rmv-evidence-note { font-size:16px; margin-top:12px; }
  .rmv-space-svg { width:100%; }
  .rmv-space-svg text { font-size:30px; }
  .rmv-space-svg .rmv-project-label { font-size:30px; }
  .rmv-task-point text { font-size:30px; }
  .rmv-scoring-flow { grid-template-columns:minmax(0,1fr); }
  .rmv-scoring-flow>div { padding:16px; }
  .rmv-scoring-flow>div+div { border-left:0; border-top:1px solid var(--line); }
  .rmv-controls { gap:7px; }
  .rmv-controls button { font-size:16px; min-height:44px; padding:9px 11px; }
  .rmv-readout { padding-left:13px; min-height:0; }
  .rmv-readout strong { font-size:16px; }
  .rmv-readout p { font-size:16px; }
  .rmv-note { font-size:16px; }
  .rmv-route-layout { grid-template-columns:minmax(0,1fr); gap:17px; }
  .rmv-request strong { min-height:0; }
  .rmv-route-arrow { transform:rotate(90deg); line-height:1; }
  .rmv-context-header,.rmv-context-row { grid-template-columns:90px minmax(0,1fr); gap:10px; padding-inline:15px; }
  .rmv-context-header { font-size:16px; }
  .rmv-context-marks { gap:13px; }
  .rmv-context-marks i { width:10px; height:10px; }
  .rmv-frozen-router { display:grid; grid-template-columns:28px minmax(0,1fr); gap:8px 15px; text-align:left; align-items:center; padding:19px; }
  .rmv-frozen-router svg { margin:0; }
  .rmv-frozen-router>strong { font-size:23px; }
  .rmv-frozen-router>strong br { display:none; }
  .rmv-frozen-router>span { grid-column:2; font-size:16px; margin:0; }
  .rmv-frozen-router>small { grid-column:2; grid-row:auto; font-size:16px; }
  .rmv-fixed-rule { display:none; }
  .rmv-route-result>.rmv-label { margin-bottom:10px; }
  .rmv-selected-candidate { margin-block:12px; }
  .rmv-pool-result { font-size:16px; }
  .rmv-pool-result br { display:none; }
}
.motion-off .rmv-scene * { animation:none!important; transition:none!important; }
@media(prefers-reduced-motion:reduce) { html:not(.motion-on) .rmv-scene * { animation:none!important; transition:none!important; } }
@media print { .rmv-controls,.rmv-replay { display:none; } .rmv-scene { break-inside:avoid; } }
