.ro-astra{container-type:inline-size!important;background:#e6f5ef!important;overflow:hidden!important}.ro-scene{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px;box-sizing:border-box;overflow:hidden;color:#114859}.ro-scene *{box-sizing:border-box}.ro-route{position:relative;width:100%;aspect-ratio:4/3;flex:none;max-height:76%;border-radius:18px;overflow:hidden;container-type:inline-size}.ro-background{width:100%;height:100%;object-fit:fill;display:block}.ro-road{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.ro-road text{font-size:43px;font-weight:850;fill:#fff;paint-order:stroke;stroke:#62462e;stroke-width:5px;stroke-linejoin:round}.ro-road-scale{stroke:#fff8d5;stroke-width:5;fill:none}.ro-mid path{stroke:#ffe298;stroke-width:5;stroke-dasharray:8 8}.ro-distance{fill:none;stroke:#ffd054;stroke-width:10;stroke-linecap:round}.ro-station{position:absolute;top:43%;width:20%;min-height:44px;padding:5px 2px;border:3px solid #fff4d6;border-radius:12px;background:#087777;color:white;display:flex;flex-direction:column;align-items:center;box-shadow:0 3px 7px #17332b4a;font:inherit;line-height:1.05}.ro-station b{font-size:clamp(19px,5cqw,30px)}.ro-station small{font-size:clamp(11px,2.7cqw,15px)}.ro-left{left:2%}.ro-right{right:2%}.ro-vehicle{position:absolute;bottom:27%;width:23%;transform:translateX(-50%);touch-action:none;z-index:3;outline:none;user-select:none}.ro-vehicle img{display:block;width:100%;height:auto;filter:drop-shadow(0 4px 3px #38281740)}.ro-vehicle b{position:absolute;bottom:89%;left:50%;transform:translateX(-50%);padding:4px 8px;color:#164858;background:#fff8e6;border:2px solid #eab354;border-radius:10px;font-size:clamp(19px,5cqw,28px);box-shadow:0 3px 7px #4e37184a}.ro-vehicle[role=button]{cursor:grab}.ro-origin{position:absolute;top:77%;transform:translateX(-50%);font-weight:800;color:white;border-bottom:2px solid #ffdb80;opacity:0}.ro-result{height:42px;flex:none;display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(22px,5cqw,32px);font-weight:800}.ro-result i{font-style:normal;color:#d77730}.ro-result b{border-radius:12px;padding:3px 12px;background:#fff2bf;color:#116653}.ro-tapes{width:94%;max-height:22%;flex:1;min-height:0;overflow:visible}.ro-tapes text{font-size:32px;font-weight:800;fill:#174e58}.ro-tapes rect{fill:#ffd78a;stroke:#d99b3d;stroke-width:2;transform-origin:180px center}.ro-tapes [data-ro-tape=right] rect{fill:#aee1da;stroke:#408d89}.ro-tape-origin{stroke:#34727a;stroke-width:4}.ro-equal .ro-tapes rect{fill:#bee5df}.ro-scene button:hover:not(:disabled),.ro-scene button:focus-visible,.ro-vehicle:focus-visible,.ro-focus{outline:3px solid #ffad33;outline-offset:2px}.ro-wrong{filter:drop-shadow(0 0 7px #e67b57)}.ro-arrived .ro-vehicle{filter:drop-shadow(0 0 8px #ffe399)}.ro-bookend{text-align:center}.ro-bookend h2{font-size:clamp(18px,4.8cqw,26px);margin:0 0 5px}.ro-bookend p{font-size:clamp(14px,3.3cqw,18px);margin:0}.ro-bookends .ro-route{max-height:83%}.ro-task-label{display:flex;width:100%;align-items:center;justify-content:center;gap:12px;flex:none}.ro-task-label>img{width:72px;height:70px;object-fit:contain}.ro-task-label b{font-size:28px}.ro-task-label span{display:flex;flex-direction:column}.ro-task-label small{font-size:12px}.ro-task-label strong{font-size:clamp(16px,4cqw,24px);background:#fff3ce;padding:8px;border-radius:12px}.ro-numberline{width:100%;flex:1;min-height:0;max-height:70%;overflow:visible}.ro-numberline text{font-size:44px;fill:#174e58;font-weight:800}.ro-scale{stroke:#307c83;stroke-width:5;fill:none}.ro-scale text{stroke:none}.ro-line-mid{stroke:#dc9b3f;stroke-width:4;stroke-dasharray:8 8;opacity:0}.ro-line-mid text{stroke:none;font-size:32px}.ro-line-marker{fill:#fff1c9;stroke:#daab52;stroke-width:3}.ro-line-marker text{stroke:none;font-size:48px}.ro-line-landing{fill:#128675;stroke:#128675;stroke-width:12;stroke-linecap:round}.ro-help-host:empty{display:none}.ro-help-host{width:100%;min-height:0;flex:none}.ro-help-open .ro-route{max-height:55%}.ro-help-open .ro-numberline{max-height:40%}.ro-strip{width:100%;background:#fafffc;border:1px solid #b9dad5;border-radius:16px;padding:3px 8px}.ro-strip svg{display:block;width:100%;max-height:115px}.ro-strip text{font-size:36px;fill:#18515a;font-weight:800}.ro-strip rect{stroke:#fff;stroke-width:3}.ro-strip path{stroke:#d2832c;stroke-width:5}.ro-strip p{text-align:center;font-size:clamp(12px,2.8cqw,15px);margin:0 0 4px}.lesson-shell:has(.ro-astra) #lesson-support-dock button{min-height:48px}.lesson-shell:has(.ro-astra) #lesson-support-dock button:disabled{opacity:.85}.lesson-shell:has(.ro-astra) #lesson-support-dock button small{display:block;font-size:11px}.lesson-shell:has(.ro-astra) #lesson-footer button{min-height:44px}.lesson-shell:has(.ro-astra) #lesson-footer [data-ro-next-step]{width:100%;display:flex;justify-content:space-between;align-items:center}.ro-scene .ro-route:has(.ro-vehicle[aria-disabled=true]){pointer-events:none}
@media(max-width:600px){.ro-scene{padding:8px;gap:6px}.ro-station{border-width:2px}.ro-help-open .ro-route{max-height:57%}.ro-task-label{gap:7px}.ro-task-label>img{width:58px;height:58px}.ro-task-label b{font-size:23px}.ro-strip svg{max-height:92px}.ro-result{height:36px}}
@media(prefers-reduced-motion:reduce){.ro-scene *{transition:none!important;animation:none!important}}

/* Square art retains its proportions at every board size. */
.ro-route{aspect-ratio:1;max-height:none!important}.ro-background{object-fit:contain}.ro-vehicle{bottom:31%;width:28%}.ro-station{top:43%}.ro-origin{top:79%;color:#234f55;background:#fff4d5;border-radius:5px;padding:1px 4px}.ro-focus{outline:none;filter:drop-shadow(0 0 6px #ffc453)}.ro-tapes{flex:none;height:70px;max-height:none}.ro-tapes text{font-size:40px}.ro-tapes:has([data-ro-tape="left"][style*="opacity: 0"]):has([data-ro-tape="right"][style*="opacity: 0"]) .ro-tape-origin{opacity:0}.ro-astra[data-ro-phase="1"] .ro-tapes{display:none}.lesson-shell:has(.ro-astra) #lesson-support-dock button:disabled{width:100%;border:1px solid #c8ddda;border-radius:14px;background:#f6fbf9;color:#536e72;font:inherit;padding:8px;text-align:center}.ro-vehicle.ro-focus{outline:none}.ro-vehicle img{filter:drop-shadow(0 4px 3px #38281740)}
@media(min-width:900px){.ro-astra{height:min(calc(100dvh - 215px),640px)!important;max-height:none!important}}
@media(max-width:600px){.ro-tapes{height:62px}.ro-vehicle{width:30%}}

.ro-astra>.ro-scene{height:100%!important;max-height:none!important;aspect-ratio:auto!important}.ro-route{border:1px solid #e1d5b7;box-shadow:0 6px 16px #4977661c}.ro-station{top:39%;background:linear-gradient(#168880,#086562);border-color:#fff2ca;border-radius:10px 10px 16px 16px;box-shadow:0 4px 0 #0c5553,0 7px 9px #19362845}.ro-station b{font-size:clamp(20px,6cqw,32px)}.ro-road-scale{stroke:#fff7d8;stroke-width:7}.ro-road text{font-size:46px}.ro-distance{stroke-width:13}.ro-numberline{filter:drop-shadow(0 8px 8px #376d5918)}

.ro-wagon{position:relative;transform-origin:50% 85%;filter:drop-shadow(0 3px 2px #4f34184a)}.ro-wagon img{filter:none}.ro-wheel{position:absolute;top:58.2%;width:21.4%;aspect-ratio:1;border-radius:50%;background-image:url('/assets/generated/grade3/theme1/rounding-book-wagon-astra-v1.png');background-size:467.29% auto;pointer-events:none}.ro-wheel-back{left:10.5%;background-position:13.4% 85.6%}.ro-wheel-front{left:61.6%;background-position:78.4% 85.6%}.ro-vehicle{bottom:30.8%}.ro-vehicle b{bottom:100%;z-index:2}.ro-arrived .ro-station{transition:box-shadow .2s}.ro-road{filter:drop-shadow(0 2px 1px #725e3930)}

.ro-station{top:25%}.ro-vehicle[data-travel]:not([data-travel="0"])>b{opacity:0}
.topic-lesson-shell[data-grade="3"] #teaching-board.ro-astra > .ro-scene:only-child{height:100%!important;max-height:none!important;aspect-ratio:auto!important}

[data-ro-distance="right"] .ro-distance{stroke:#92e1d1}.ro-tapes [data-ro-tape="right"] rect{fill:#b9e5dc}.ro-vehicle> b{white-space:nowrap}

/* Every unit stays numbered; labels, measure tracks and the vehicle occupy separate rows. */
.ro-road-scale text{font-size:34px;stroke-width:3px;fill:#163e47;stroke:#fff8e3}.ro-road-scale path{stroke-width:5}.ro-numberline .ro-scale text{font-size:36px}.ro-vehicle{width:22%;min-width:66px;bottom:31.2%}.ro-vehicle>b{font-size:clamp(18px,4.8cqw,25px);padding:3px 7px;bottom:105%}.ro-origin{top:86%;font-size:clamp(12px,3.8cqw,17px)}.ro-strip svg{max-height:90px}.ro-station{width:18%}.ro-left{left:2%}.ro-right{right:2%}
@media(max-width:600px){.ro-vehicle{width:22%;min-width:66px}.ro-strip svg{max-height:85px}}
.ro-road-scale text{font-size:38px}.ro-numberline .ro-scale text{font-size:38px}@media(max-width:600px){.topic-lesson-shell[data-grade="3"] #teaching-board.ro-astra{height:min(440px,calc(100dvh - 405px))!important;min-height:260px!important;max-height:none!important}}

body[data-g3-review-view="board"] .topic-lesson-shell[data-grade="3"] #teaching-board.ro-astra{height:min(calc(100dvh - 112px),620px)!important;min-height:260px!important;max-height:none!important}
.ro-help-open .ro-route{width:100%!important;height:76px!important;aspect-ratio:auto;background:none;border:0;box-shadow:none;display:flex;justify-content:space-between;align-items:center;padding:10px 20px;overflow:visible}.ro-help-open .ro-route>.ro-background,.ro-help-open .ro-route>.ro-road,.ro-help-open .ro-route>.ro-vehicle,.ro-help-open .ro-route>.ro-origin{display:none}.ro-help-open .ro-route .ro-station{position:static;width:88px;min-height:52px}.ro-help-open .ro-strip{padding:14px 8px}.ro-help-open .ro-strip svg{max-height:none}.ro-help-open .ro-strip text{font-size:44px}.ro-help-open .ro-help-host{flex:none}.ro-help-open .ro-result:empty{display:none}

/* Spoken teaching: mark the existing number rather than duplicate its label. */
.ro-road-scale .ro-start-number{fill:#fff0b1;stroke:#d68b25;stroke-width:3}.ro-road-scale [data-ro-tick]:has(.ro-start-number) text{fill:#073d46;stroke:none}.ro-route[data-exact-start="true"] .ro-vehicle>b,.ro-route[data-exact-start="true"] .ro-origin{display:none}.ro-road-scale [data-ro-tick].ro-speaking text,.ro-scale [data-ro-tick].ro-speaking text{fill:#bc510b;stroke:#fff6d4;stroke-width:4;paint-order:stroke}.ro-speaking{filter:drop-shadow(0 0 5px #ffb538)}.ro-road-scale [data-ro-tick].ro-speaking .ro-start-number{fill:#ffcf67;stroke:#bd660d}.ro-voice-ink{pointer-events:none}.ro-boundary-ink{fill:none;stroke:#e89723;stroke-width:12;stroke-linecap:round}.ro-interval-ink{fill:none;stroke:#dc8d20;stroke-width:9;stroke-linecap:round}.ro-measure-ink{fill:none;stroke:#d39838;stroke-width:8;stroke-linecap:round}.ro-numberline .ro-measure-value{font-size:38px;fill:#98591b}.ro-strip .ro-speaking{fill:#bb5a0b}.lesson-footer.ro-speaking{outline:2px solid #edb456;outline-offset:2px}
