/* Lesson 73 only: real foreground PNGs, exact slots, and a separate answer row. */
body:has(.grade3-instructions-board) .feedback-launcher{position:relative;right:auto;bottom:auto;width:max-content;max-width:calc(100% - 24px);margin:8px 12px 12px auto}
body:has(.grade3-instructions-board) .section-track{min-width:0;grid-template-columns:repeat(6,minmax(0,1fr))}
body:has(.grade3-instructions-board) .section-segment{min-width:0;overflow-wrap:anywhere}
.teacher-classroom:has(.grade3-instructions-board) .teaching-area{width:min(100%,660px);min-width:0}
.teaching-board.grade3-instructions-board{height:auto;min-height:0;aspect-ratio:auto;padding:18px;border:1px solid #aed9cf;border-radius:24px;background:linear-gradient(145deg,#f4fbf7,#e4f3ee);overflow:visible;box-sizing:border-box}
.ins-workspace,.ins-main,.ins-alt-model{display:grid;gap:12px;width:100%;min-width:0;box-sizing:border-box}
.ins-workspace [hidden],.teacher-classroom:has(.grade3-instructions-board) .lesson-footer[hidden]{display:none!important}
.ins-packets{position:relative;display:grid;grid-template-columns:repeat(var(--groups),minmax(0,1fr));gap:12px;isolation:isolate;min-width:0}
.ins-zone{position:relative;min-width:0;border-radius:15px;padding:5px;transition:box-shadow .2s}
.ins-zone>small{display:block;text-align:center;font:800 10px/1.3 Arial,sans-serif;color:#446e64;letter-spacing:.03em;margin:0 0 3px}
.ins-zone-body{position:relative;min-width:0}
.ins-slots{display:grid;grid-template-columns:repeat(var(--slots),minmax(0,1fr));gap:4px;align-items:center;justify-items:center;min-width:0}
.ins-slot{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:42px;max-width:36px;min-width:0}
.ins-object{display:block;position:relative;width:100%;height:100%;object-fit:contain;transform-origin:top left;pointer-events:none;filter:drop-shadow(0 1px 1px #533a2928);z-index:2}
.ins-object.ins-moving{z-index:40;filter:drop-shadow(0 4px 3px #533a2940)}
.ins-pool{grid-column:1/-1;padding:10px 18px;background:#f4e9d1;border:2px solid #d2b995;box-shadow:inset 0 0 0 3px #fcf4e4}
.ins-pool .ins-slots{max-width:480px;margin:auto}
.ins-reserve,.ins-departed{grid-column:1/-1;border:2px dashed #ddb36f;background:#fff8e8;padding:7px 12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center;gap:8px}
.ins-reserve .ins-slots,.ins-departed .ins-slots{display:flex;justify-content:center;gap:8px}
.ins-reserve .ins-slot,.ins-departed .ins-slot{width:30px;height:34px}
.ins-pool.ins-empty .ins-zone-body,.ins-reserve.ins-empty .ins-zone-body,.ins-departed.ins-empty .ins-zone-body{display:none}
.ins-pool.ins-empty,.ins-reserve.ins-empty,.ins-departed.ins-empty{padding:4px 10px;display:block;border:1px dashed #c9d5be;background:transparent;box-shadow:none}
.ins-tray .ins-zone-body{width:100%;max-width:185px;aspect-ratio:1.55;margin:auto}
img.ins-tray{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.ins-tray .ins-slots{position:absolute;inset:21% 12% 20%;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:3px}
.ins-tray .ins-slot{max-width:33px;height:100%;max-height:38px}
.ins-count{display:block;text-align:center;color:#0c7668;font-weight:850;font-size:15px}.ins-count:empty{display:none}
.ins-secondary .ins-zone-body{display:none}.ins-secondary{align-self:center;background:#ecf5ef;border:1px dashed #b8ccbf;padding:6px}
.ins-route-guide{display:grid;gap:5px;margin:0;padding:0;list-style-position:inside;color:#38675b;font-size:14px}.ins-route-guide li{padding:6px 9px;border-radius:9px;background:#f1f8f3}.ins-route-guide [aria-current="step"]{background:#fff5d8;box-shadow:inset 3px 0 #e7ac32;color:#4b502b;font-weight:800}
.ins-packets[data-kind="independent"] .ins-tray .ins-zone-body{max-width:125px}
.ins-packets[data-kind="easy"] .ins-pool .ins-slot{height:78px;max-width:64px}.ins-packets[data-kind="easy"] .ins-reserve .ins-slot,.ins-packets[data-kind="easy"] .ins-departed .ins-slot{height:57px;width:45px;max-width:45px}
.ins-shelf .ins-zone-body{min-height:75px;border-bottom:7px solid #ac723b;background:#faf3df;border-radius:8px 8px 0 0;padding:8px}
.ins-shelf .ins-zone-body{display:flex;align-items:flex-end;padding-bottom:0}.ins-shelf .ins-slots{display:flex;gap:6px;align-items:end;justify-content:center;width:100%}.ins-shelf .ins-slot{width:14px;height:50px}.ins-shelf .ins-object{object-position:center bottom}
.ins-focused{box-shadow:0 0 0 3px #e5a72b,0 0 0 7px #f6c95530!important}
.ins-equation{margin:0;text-align:center;font-size:clamp(20px,2.3vw,27px);font-weight:850;color:#155264;line-height:1.3;padding:5px;overflow-wrap:anywhere}
.ins-question{margin:0;text-align:center;color:#174b5e;font-size:19px;line-height:1.35}
.ins-solved .ins-equation{border:2px solid #e3a62e;border-radius:14px;background:#fff9e3}
.ins-answers{display:grid;grid-template-columns:repeat(var(--answers),minmax(0,1fr));gap:10px;width:100%;min-width:0}
.ins-answer{min-width:0;min-height:56px;border:2px solid #abd4ca;border-radius:16px;background:#fff;color:#174b5e;padding:10px;font:800 21px/1.3 Arial,sans-serif;overflow-wrap:anywhere;cursor:pointer;transition:box-shadow .15s,border-color .15s}
.ins-word-answers .ins-answer{font-size:15px}
.ins-answer:focus-visible,.choice-hover-armed .ins-answer:hover{outline:0;border-color:#e7a928;box-shadow:0 0 0 4px #f0bd4430}
.ins-answer.assessment-correct,.ins-guided-answer{border-color:#e7a928!important;box-shadow:0 0 0 4px #f0bd4430;background:#fff9e4;transform:none!important;animation:none!important}
.ins-answer.ins-wrong{border-color:#d18462;background:#fff5ec}.ins-answer:disabled{cursor:default;opacity:.65}.ins-answer.assessment-correct:disabled{opacity:1}
.ins-next,.ins-action,.ins-return{display:flex;gap:12px;align-items:center;justify-content:center;border:1px solid #00796c;background:#007f72;color:#fff;border-radius:16px;min-height:50px;max-width:100%;padding:11px 20px;font:800 15px/1.3 Arial,sans-serif;cursor:pointer;box-shadow:0 5px 13px #07584320}
.ins-next:disabled,.ins-action:disabled{opacity:.5;cursor:default}.ins-next:hover,.ins-action:hover,.ins-return:hover{background:#006c62}.ins-next:focus-visible,.ins-action:focus-visible,.ins-return:focus-visible{outline:3px solid #e6ae39;outline-offset:3px}
.teacher-classroom:has(.grade3-instructions-board) .lesson-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;margin-top:12px}
.teacher-classroom:has(.grade3-instructions-board) .lesson-footer>.ins-next,.teacher-classroom:has(.grade3-instructions-board) .lesson-footer>.ins-action{justify-self:center;margin:0}
.teacher-classroom:has(.grade3-instructions-board) .lesson-footer:has([data-ins-next]) .ins-answers{grid-template-columns:minmax(0,1fr);max-width:360px;justify-self:center}
.teacher-classroom:has(.grade3-instructions-board) .lesson-footer:has([data-ins-next]) .ins-answer:not(.assessment-correct){display:none}
.teacher-classroom:has(.grade3-instructions-board) .lesson-footer:has([data-ins-next]) .ins-answer.assessment-correct{min-height:40px;padding:7px 10px;font-size:16px}
.teacher-classroom:has(.grade3-instructions-board) .lesson-support-dock{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ins-help{min-height:44px;min-width:0;border:1px solid #99c9bc;background:#fff;color:#166556;border-radius:13px;padding:8px 6px;font:800 12px/1.3 Arial,sans-serif;cursor:pointer}.ins-help:disabled{opacity:.5;cursor:default}.ins-help:hover,.ins-help:focus-visible{outline:2px solid #e7b63c;border-color:#e7b63c}
.ins-support{display:grid;gap:10px}.ins-support>h2{margin:0;font-size:17px;text-align:center;color:#0c7464}.ins-original{margin:0;border-top:1px solid #c0d8ce;padding-top:7px;text-align:center;font-size:13px;color:#4b7064}.ins-return{justify-self:center}
.ins-loading>[data-ins-packets],.ins-loading>[data-ins-place],.ins-loading>[data-ins-shopping],.ins-loading>[data-ins-order]{visibility:hidden;height:0;overflow:hidden}
.ins-load-status{padding:18px 8px;text-align:center;display:grid;justify-items:center;gap:12px;color:#174b5e;font-size:16px}.ins-load-status>p{margin:0}
.ins-place{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:420px;width:100%;margin:auto}.ins-place>section{display:grid;align-content:space-between;gap:10px;padding:18px;border:2px solid #b3d6cb;border-radius:19px;background:#fff;min-height:160px;min-width:0;text-align:center}
.ins-place h3{margin:0;font-size:15px;color:#367869}.ins-place b{font-size:38px;color:#175767}
.ins-ten-rods{display:flex;gap:7px;justify-content:center}.ins-ten-rods>span{display:grid;grid-template-rows:repeat(10,6px);gap:1px;width:12px}.ins-ten-rods i,.ins-one-cubes i{display:block;background:#e7b94b;border:1px solid #b48020;border-radius:1px}.ins-one-cubes{display:flex;justify-content:center;gap:8px}.ins-one-cubes i{width:16px;height:16px}
.ins-place[data-state="0"] .ins-ten-rods,.ins-place[data-state="0"] .ins-one-cubes,.ins-place[data-state="1"] .ins-one-cubes{visibility:hidden}
.ins-shopping{display:grid;gap:12px;max-width:470px;margin:auto;width:100%;text-align:center}.ins-bottles{display:flex;gap:15px;justify-content:center}.ins-bottles img{width:65px;height:140px;object-fit:contain}.ins-price,.ins-shop-step{border:2px solid #b3d6cb;border-radius:14px;padding:10px 16px;background:#fff;color:#245d58;font-size:17px}.ins-shop-step{display:flex;justify-content:space-around;gap:14px}.ins-shop-step span{display:grid;gap:4px}.ins-shop-step b{font-size:23px}.ins-shopping[data-state="0"] [data-ins-focus="discount"],.ins-shopping[data-state="0"] [data-ins-focus="share"]{visibility:hidden}
.ins-order{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.ins-order>section{padding:13px;border-radius:18px;border:2px solid #accfc4;background:#fff;min-width:0}.ins-order h3{margin:0 0 10px;text-align:center;font-size:16px;color:#167666}.ins-order-given{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-bottom:12px}.ins-order-given img{height:35px;width:100%;object-fit:contain}.ins-mini-route{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;color:#155d59}.ins-mini-route b{font-size:23px}.ins-mini-route span{background:#e5f4ef;padding:6px;border-radius:9px}
.ins-order-step{display:grid;grid-template-columns:auto auto auto auto;align-items:center;gap:5px;width:100%}.ins-order-step>span{background:transparent;padding:0;text-align:center}.ins-order-step>b{text-align:center}
.ins-task-given{display:grid;gap:8px;color:#174d59;text-align:center}.ins-task-given>small{font-size:12px;color:#508375}.ins-task-given p{font-size:17px;line-height:1.4;margin:0}.ins-task-given h2{font-size:18px;line-height:1.3;margin:0}
.ins-trace{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.ins-trace>span{padding:7px 9px;border:1px solid #cfaf59;border-radius:11px;background:#fff8de;display:grid;text-align:center;color:#305c53}.ins-trace small{font-size:10px}.ins-trace b{font-size:23px}.ins-score{font-size:14px;text-align:center;color:#467164;margin:0}
@media(min-width:761px) and (max-height:800px){
 .teacher-classroom:has(.grade3-instructions-board){padding-top:12px;padding-bottom:15px}
 .teacher-classroom:has(.grade3-instructions-board) .lesson-avatar{height:205px}
 .teacher-classroom:has(.grade3-instructions-board) .teacher-bubble{padding:12px;min-height:70px;max-height:180px;overflow:auto;font-size:13px}
 .ins-slot{height:33px;max-width:29px}.ins-tray .ins-zone-body{max-width:150px}.ins-packets{gap:8px}.ins-bottles img{height:100px;width:52px}
 .ins-shopping{gap:8px}.ins-place>section{min-height:130px}.ins-main{gap:9px}
}
@media(max-width:760px){
 .teacher-classroom:has(.grade3-instructions-board){padding-top:8px;padding-bottom:14px}
 .teacher-classroom:has(.grade3-instructions-board) .teacher-column{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
 .teacher-classroom:has(.grade3-instructions-board) .lesson-avatar{height:86px}
 .teacher-classroom:has(.grade3-instructions-board) .teacher-bubble{min-height:55px;max-height:100px;overflow:auto;overscroll-behavior:contain;font-size:14px;line-height:1.35}
 .teaching-board.grade3-instructions-board{padding:11px;border-radius:18px}.ins-main,.ins-workspace{gap:8px}
 .ins-packets{gap:6px}.ins-zone{padding:2px}.ins-zone>small{font-size:8px;letter-spacing:0}
 .ins-pool{padding:6px 8px}.ins-slot{height:28px;max-width:24px}.ins-slots{gap:3px}
 .ins-packets[data-kind="easy"] .ins-pool .ins-slot{height:52px;max-width:40px}.ins-packets[data-kind="easy"] .ins-reserve .ins-slot,.ins-packets[data-kind="easy"] .ins-departed .ins-slot{height:40px;width:31px;max-width:31px}
 .ins-tray .ins-zone-body{max-width:115px}.ins-tray .ins-slots{gap:1px;inset:21% 11% 20%}.ins-tray .ins-slot{max-height:26px}
 .ins-reserve,.ins-departed{padding:4px 7px;gap:5px}.ins-reserve .ins-slot,.ins-departed .ins-slot{height:26px;width:23px}
 .ins-equation{font-size:21px;padding:4px}.ins-question{font-size:16px}.ins-answer{font-size:18px;min-height:48px;padding:9px 6px;border-radius:13px}.ins-word-answers .ins-answer{font-size:12px;line-height:1.35}.ins-answers{gap:6px}
 .ins-help{padding:7px 4px}.ins-next,.ins-action,.ins-return{font-size:13px;min-height:46px;padding:10px 13px}.teacher-classroom:has(.grade3-instructions-board) .lesson-footer{margin-top:8px}
 .ins-place{gap:12px}.ins-place>section{padding:10px;min-height:135px;gap:5px}.ins-place h3{font-size:13px}.ins-place b{font-size:29px}.ins-ten-rods{gap:6px}
 .ins-bottles{gap:14px}.ins-bottles img{width:43px;height:92px}.ins-shopping{gap:7px}.ins-price,.ins-shop-step{padding:7px 12px;font-size:14px}.ins-shop-step b{font-size:19px}
 .ins-order{gap:8px}.ins-order>section{padding:9px}.ins-order-given{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.ins-order-given img{height:25px}.ins-mini-route{gap:4px}.ins-mini-route b{font-size:18px}.ins-mini-route span{font-size:12px;padding:4px}
 .ins-order-step>span{font-size:16px;font-weight:800;padding:2px 0}
 .ins-task-given p{font-size:14px;line-height:1.35}.ins-task-given h2{font-size:16px}.ins-trace{gap:4px}.ins-trace>span{padding:5px 7px}.ins-trace b{font-size:19px}.ins-score{font-size:12px}
 .ins-shelf .ins-zone-body{min-height:50px;padding:5px 5px 0}.ins-shelf .ins-slot{height:40px;width:10px}.ins-original{font-size:11px}.ins-support>h2{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.grade3-instructions-board *{transition:none!important}}
@media(min-width:761px) and (max-width:1020px){
 body:has(.grade3-instructions-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto auto auto;gap:8px 12px;padding:9px 16px}
 body:has(.grade3-instructions-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}
 body:has(.grade3-instructions-board) .section-segment{overflow-wrap:normal}
 body:has(.grade3-instructions-board) .section-segment span{font-size:10px;line-height:1.2}
}
/* Teacher-bubble updates must not shift the whole lesson through scroll anchoring. */
body:has(.grade3-instructions-board) { overflow-anchor: none; }
/* Candidate: keep the counting objects on their own physical working surfaces. */
.ins-object{width:auto;height:auto;max-width:100%;max-height:100%;flex:none}
.ins-slot{align-items:flex-end}
.ins-pool{background:linear-gradient(180deg,#f7e8cb,#ecd0a7);border:1px solid #c89c65;border-bottom:6px solid #bd8855;box-shadow:inset 0 3px 0 #fff4dd,0 4px 9px #754f2415;border-radius:18px;padding:10px 16px 5px}
.ins-pool>small:empty{display:none}
.ins-pool .ins-slots{align-items:end;gap:7px 6px}
.ins-pool .ins-slot{border-bottom:2px solid #c9a06e;padding-bottom:2px;box-sizing:border-box}
.ins-reserve,.ins-departed{border:1px solid #d7c5a6;border-bottom:4px solid #c2aa85;background:linear-gradient(#fffcf3,#f5ecd8);border-radius:25px;box-shadow:inset 0 2px 0 #fff}
.ins-zone>small{font-size:12px;line-height:1.3;letter-spacing:0;text-transform:none;font-weight:750}
.ins-packets{gap:12px}
.ins-tray .ins-zone-body{max-width:205px;aspect-ratio:1.55}
.ins-tray .ins-slots{inset:20% 13% 22%;gap:3px}
.ins-tray .ins-slot{height:100%;max-height:43px;max-width:36px;align-items:center}
.ins-secondary .ins-zone-body{display:block}
.ins-secondary{align-self:stretch;background:transparent;border:0;padding:5px;opacity:.68}
.ins-active-tray{box-shadow:0 0 0 3px #e5a72b,0 0 0 7px #f6c95530}
.ins-packets[data-kind="independent"] .ins-tray .ins-zone-body{max-width:155px}
.ins-packets[data-group-count="4"],.ins-packets[data-group-count="5"],.ins-packets[data-group-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.ins-shelf .ins-zone-body{background:linear-gradient(#fff9e9,#f2e2be);border-bottom:7px solid #a56d38;box-shadow:inset 0 -2px #d5a66b;padding-bottom:0}
.ins-shelf .ins-slot{align-items:flex-end;max-width:20px;width:20px;height:53px}
.ins-shelf .ins-object{object-position:bottom}
.ins-shopping{gap:14px;max-width:470px}
.ins-bottles{align-items:flex-end;border-bottom:10px solid #b6814e;border-radius:8px;padding:10px 20px 0;background:linear-gradient(0deg,#f1dfbf,#f1dfbf00 80%);box-shadow:0 4px 6px #70451d14}
.ins-bottles img{object-position:center bottom;filter:drop-shadow(0 3px 2px #51432225)}
.ins-price{justify-self:center;background:#fff9de;border:1px solid #d4ba71;border-radius:7px;box-shadow:0 3px 0 #dcc88d;padding:7px 20px}
.ins-shop-step[data-ins-focus="discount"]{background:#fff8ed;border:1px solid #ddbb84;border-radius:10px;box-shadow:inset 4px 0 #dfa63e}
.ins-shop-step[data-ins-focus="share"]{padding:0;border:0;background:transparent;gap:14px}
.ins-shop-step[data-ins-focus="share"]>span{flex:1;padding:10px;background:#fff;border:1px solid #afd0c6;border-radius:15px;box-shadow:0 4px 0 #d0e8df}
.ins-order>section{background:linear-gradient(#fffcf4,#fff);border:1px solid #c5d9ce;box-shadow:0 4px 0 #d6e8de}
.ins-order-given{background:linear-gradient(#faedd4,#f0d8b4);border-bottom:5px solid #c3915b;border-radius:8px;padding:6px}
.ins-order[data-state="1"]>section:first-child .ins-order-step:first-child,.ins-order[data-state="2"]>section:first-child .ins-order-step:last-child,.ins-order[data-state="3"]>section:last-child .ins-order-step:first-child,.ins-order[data-state="4"]>section:last-child .ins-order-step:last-child{background:#fff2ce;box-shadow:0 0 0 2px #e3ae3c;border-radius:8px}
.ins-mini-route{gap:12px}.ins-order-step{padding:4px;box-sizing:border-box}
.ins-place>section{background:linear-gradient(#fffdf7,#fbf1dc);border:1px solid #cfb986;border-bottom:6px solid #c59959;box-shadow:inset 0 3px 0 #fff}
.ins-ten-rods i,.ins-one-cubes i{box-shadow:inset 1px 1px 0 #ffe9a0,1px 1px 0 #a97420}
.ins-ten-rods>span{width:15px;grid-template-rows:repeat(10,7px)}
.ins-answer.assessment-correct{background:#e5f7ed;border-color:#219573!important;box-shadow:0 0 0 3px #21957320;color:#165e49}
@media(max-width:760px){
 .ins-zone>small{font-size:12px}.ins-packets{gap:7px}.ins-tray .ins-zone-body{max-width:150px}.ins-tray .ins-slots{gap:2px;inset:20% 12% 22%}.ins-tray .ins-slot{max-height:34px}
 .ins-pool{padding:7px 8px 4px}.ins-pool .ins-slots{gap:4px}.ins-reserve,.ins-departed{padding:5px 8px}.ins-secondary{padding:2px}
 .ins-packets[data-kind="independent"] .ins-tray .ins-zone-body{max-width:126px}.ins-packets[data-group-count="5"],.ins-packets[data-group-count="6"]{gap:5px}
 .ins-bottles{padding-top:3px;border-bottom-width:7px}.ins-shop-step[data-ins-focus="share"]>span{padding:7px}.ins-shopping{gap:8px}
 .ins-word-answers .ins-answer{font-size:13px}.ins-order-step{gap:2px}.ins-order-step>span{font-size:16px}.ins-mini-route{gap:8px}
 .ins-shelf .ins-slot{width:13px;height:43px}.ins-place>section{padding:9px}.ins-ten-rods>span{width:12px;grid-template-rows:repeat(10,6px)}
}
@media(max-width:480px) and (max-height:640px){
 .teaching-board.grade3-instructions-board{padding:8px}.ins-main,.ins-workspace{gap:6px}.ins-zone>small{font-size:12px;margin-bottom:1px}.ins-packets{gap:5px}
 .ins-pool .ins-slot{height:25px;max-width:22px}.ins-packets[data-kind="easy"] .ins-pool .ins-slot{height:43px;max-width:35px}.ins-packets[data-kind="easy"] .ins-reserve .ins-slot,.ins-packets[data-kind="easy"] .ins-departed .ins-slot{height:30px}
 .ins-tray .ins-zone-body{max-width:104px}.ins-tray .ins-slot{max-height:24px}.ins-packets[data-kind="independent"] .ins-tray .ins-zone-body{max-width:88px}.ins-packets[data-kind="independent"] .ins-tray .ins-slot{max-height:21px}
 .ins-shelf .ins-zone-body{min-height:38px}.ins-shelf .ins-slot{height:32px;width:10px}.ins-equation{font-size:18px;padding:2px}.ins-question{font-size:15px}.ins-task-given p{font-size:13px}.ins-task-given h2{font-size:15px}.ins-answer{min-height:44px;padding:5px}.ins-word-answers .ins-answer{font-size:12px}
 .ins-bottles img{height:65px}.ins-shopping{gap:5px}.ins-shop-step{padding:5px 8px}.ins-order-given img{height:22px}.ins-order-given{margin-bottom:6px}.ins-order h3{margin-bottom:6px}.ins-order>section{padding:6px}.ins-mini-route{gap:5px}.ins-mini-route b{font-size:17px}
}
/* Override the legacy generic workspace height: content may never stretch tray rows. */
.grade3-instructions-astra-board .ins-workspace,.grade3-instructions-astra-board .ins-main,.grade3-instructions-astra-board .ins-alt-model{height:auto!important;min-height:0!important;overflow:visible!important;align-content:center;grid-auto-rows:max-content}
.grade3-instructions-astra-board .ins-packets{align-content:center;grid-auto-rows:max-content;align-items:start}
.grade3-instructions-astra-board .ins-pool,.grade3-instructions-astra-board .ins-reserve,.grade3-instructions-astra-board .ins-departed{padding:0;border:0;background:transparent;box-shadow:none;display:block;justify-self:center;width:100%}
.grade3-instructions-astra-board .ins-pool .ins-zone-body{width:min(100%,310px);aspect-ratio:1.55;margin:auto}
.grade3-instructions-astra-board .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-departed .ins-zone-body{width:min(100%,190px);aspect-ratio:1.55;margin:auto}
.grade3-instructions-astra-board .ins-pool .ins-slots,.grade3-instructions-astra-board .ins-reserve .ins-slots,.grade3-instructions-astra-board .ins-departed .ins-slots{position:absolute;inset:19% 12% 23%;display:grid;align-items:center;justify-items:center;gap:4px}
.grade3-instructions-astra-board .ins-pool .ins-slot,.grade3-instructions-astra-board .ins-reserve .ins-slot,.grade3-instructions-astra-board .ins-departed .ins-slot{width:100%;height:100%;max-height:48px;max-width:42px;border:0;padding:0;align-items:center}
.grade3-instructions-astra-board .ins-packets[data-kind="easy"]{grid-template-columns:2fr 1fr;align-items:center}
.grade3-instructions-astra-board .ins-packets[data-kind="easy"] .ins-pool{grid-column:1}.grade3-instructions-astra-board .ins-packets[data-kind="easy"] .ins-reserve,.grade3-instructions-astra-board .ins-packets[data-kind="easy"] .ins-departed{grid-column:2;grid-row:1}
.grade3-instructions-astra-board .ins-packets[data-kind="easy"] .ins-pool .ins-slot{max-height:60px;max-width:48px}
.grade3-instructions-astra-board .ins-support,.grade3-instructions-astra-board .ins-alt-model{gap:8px}.grade3-instructions-astra-board .ins-original{font-size:12px}
.teacher-classroom:has(.grade3-instructions-astra-board) .lesson-support-dock{grid-template-columns:1fr}
@media(max-width:760px){
 .grade3-instructions-astra-board .ins-pool .ins-zone-body{width:min(100%,220px)}
 .grade3-instructions-astra-board .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-departed .ins-zone-body{width:min(100%,125px)}
 .grade3-instructions-astra-board .ins-pool .ins-slot,.grade3-instructions-astra-board .ins-reserve .ins-slot,.grade3-instructions-astra-board .ins-departed .ins-slot{max-height:35px;max-width:29px}
}
@media(max-width:480px) and (max-height:640px){
 body:has(.grade3-instructions-astra-board) .lesson-header{height:94px;min-height:94px;grid-template-rows:38px 44px;gap:0 5px;padding:6px 9px}
 body:has(.grade3-instructions-astra-board) .lesson-header h1{font-size:13px;line-height:1.2}
 body:has(.grade3-instructions-astra-board) .lesson-header .lesson-subtitle{display:none}
 .teacher-classroom:has(.grade3-instructions-astra-board){padding-top:6px;gap:6px}
 .teacher-classroom:has(.grade3-instructions-astra-board) .teacher-panel{margin-bottom:0!important}
 .teacher-classroom:has(.grade3-instructions-astra-board) .lesson-avatar{height:82px!important}
 .teacher-classroom:has(.grade3-instructions-astra-board) .teacher-bubble{height:53px!important;min-height:53px!important;max-height:53px!important;padding:6px!important;font-size:13px!important}
 .teacher-classroom:has(.grade3-instructions-astra-board) .lesson-support-dock{min-height:44px;height:44px}
 .teacher-classroom:has(.grade3-instructions-astra-board) .ins-help{height:44px;min-height:44px}
 .grade3-instructions-astra-board .ins-pool .ins-zone-body{width:min(100%,170px)}
 .grade3-instructions-astra-board .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-departed .ins-zone-body{width:min(100%,95px)}
 .grade3-instructions-astra-board .ins-pool .ins-slot,.grade3-instructions-astra-board .ins-reserve .ins-slot,.grade3-instructions-astra-board .ins-departed .ins-slot{max-height:26px;max-width:23px}
 .grade3-instructions-astra-board .ins-packets[data-kind="easy"] .ins-pool .ins-slot{max-height:36px;max-width:30px}
}
#teaching-board.grade3-instructions-astra-board{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important}
#teaching-board.grade3-instructions-astra-board .ins-workspace,#teaching-board.grade3-instructions-astra-board .ins-main,#teaching-board.grade3-instructions-astra-board .ins-alt-model{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body:has(#teaching-board.grade3-instructions-astra-board) .lesson-support-dock{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important}
@media(max-width:480px) and (max-height:640px){body:has(#teaching-board.grade3-instructions-astra-board) .lesson-support-dock{height:44px!important;min-height:44px!important}body:has(#teaching-board.grade3-instructions-astra-board) .ins-help{height:44px!important;min-height:44px!important}}
body .topic-lesson-shell[data-grade="3"] #teaching-board.grade3-instructions-astra-board{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important}
body .topic-lesson-shell[data-grade="3"] #teaching-board.grade3-instructions-astra-board>.ins-workspace{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.ins-work-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%}
.ins-map-button{display:grid;align-content:center;gap:3px;min-height:54px;min-width:0;padding:7px;border:1px solid #accfc4;border-radius:12px;background:#fff;color:#225b56;font:750 13px/1.2 Arial,sans-serif;text-align:center;cursor:pointer}
.ins-map-button small{font-size:12px;color:#647d72}.ins-map-button[data-complete="true"]{background:#e8f7ec;border-color:#3b9a73}.ins-map-button:focus-visible{outline:3px solid #e5ac30;outline-offset:2px}
@media(max-width:480px){.ins-work-map{gap:5px}.ins-map-button{min-height:49px;padding:4px;font-size:12px;gap:2px}.ins-map-button small{font-size:12px}}
@media(max-width:480px) and (max-height:640px){.ins-work-map{gap:3px}.ins-map-button{min-height:44px;padding:3px;font-size:12px;gap:1px}}
body.topic-lesson-shell[data-grade="3"] #teaching-board.grade3-instructions-astra-board{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;display:block!important}
body.topic-lesson-shell[data-grade="3"] #teaching-board.grade3-instructions-astra-board>.ins-workspace{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;align-content:start!important}
#teaching-board.grade3-instructions-astra-board .ins-support{align-content:start;grid-auto-rows:max-content}
.grade3-instructions-astra-board .ins-support .ins-shopping{grid-template-columns:1fr 1.35fr;align-items:center;gap:7px}
.grade3-instructions-astra-board .ins-support .ins-bottles{grid-column:1;grid-row:1/4;padding:0 7px;border-bottom-width:7px;gap:8px}
.grade3-instructions-astra-board .ins-support .ins-bottles img{height:100px;max-width:45%;width:auto}
.grade3-instructions-astra-board .ins-support .ins-price,.grade3-instructions-astra-board .ins-support .ins-shop-step{grid-column:2;width:100%;box-sizing:border-box;padding:6px;font-size:14px}
.grade3-instructions-astra-board .ins-support .ins-shop-step b{font-size:18px}
.grade3-instructions-astra-board .ins-support .ins-pool .ins-zone-body{max-width:190px}
.grade3-instructions-astra-board .ins-support .ins-tray .ins-zone-body{max-width:140px}
.grade3-instructions-astra-board .ins-support .ins-equation{font-size:20px}
@media(max-width:480px) and (max-height:640px){
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;grid-template-rows:53px 44px 44px!important;gap:4px!important;padding:0!important;min-height:0!important;height:149px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher .lesson-avatar{grid-column:1!important;grid-row:1/3!important;width:70px!important;height:101px!important;margin:0!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher .teacher-bubble{grid-column:2!important;grid-row:1!important;margin:0!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .narration-controls{grid-column:2!important;grid-row:2!important;margin:0!important;gap:3px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .narration-controls button{min-width:0!important;padding:4px!important;font-size:10px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-support-dock{grid-column:1/-1!important;grid-row:3!important;width:calc(50% - 3px)!important;margin:0!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .raise-hand{grid-column:1/-1!important;grid-row:3!important;width:calc(50% - 3px)!important;margin:0 0 0 auto!important;min-height:44px!important;height:44px!important}
 .grade3-instructions-astra-board .ins-support{gap:5px}.grade3-instructions-astra-board .ins-support>h2{font-size:13px}
 .grade3-instructions-astra-board .ins-support .ins-pool .ins-zone-body{max-width:125px}.grade3-instructions-astra-board .ins-support .ins-tray .ins-zone-body{max-width:90px}
 .grade3-instructions-astra-board .ins-support .ins-bottles img{height:64px}.grade3-instructions-astra-board .ins-support .ins-shopping{gap:4px}.grade3-instructions-astra-board .ins-support .ins-price,.grade3-instructions-astra-board .ins-support .ins-shop-step{font-size:12px;padding:4px}.grade3-instructions-astra-board .ins-support .ins-shop-step b{font-size:15px}
 .grade3-instructions-astra-board .ins-support .ins-equation{font-size:16px}.grade3-instructions-astra-board .ins-original{font-size:12px;padding-top:4px}.grade3-instructions-astra-board .ins-return{min-height:44px;padding:5px}
}
.grade3-instructions-astra-board .ins-support>h2{display:none}
.grade3-instructions-astra-board .ins-support .ins-packets{grid-template-columns:repeat(2,minmax(0,1fr))}
.grade3-instructions-astra-board .ins-support .ins-pool{grid-column:1;grid-row:1}
.grade3-instructions-astra-board .ins-support .ins-reserve,.grade3-instructions-astra-board .ins-support .ins-departed{grid-column:2;grid-row:1}
.grade3-instructions-astra-board .ins-support .ins-pool:only-child{grid-column:1/-1}
.grade3-instructions-astra-board .ins-support .ins-pool .ins-zone-body{width:min(100%,170px)}
.grade3-instructions-astra-board .ins-support .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-support .ins-departed .ins-zone-body{width:min(100%,120px)}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-support .ins-pool .ins-zone-body{width:min(100%,115px)}
 .grade3-instructions-astra-board .ins-support .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-support .ins-departed .ins-zone-body{width:min(100%,75px)}
 .grade3-instructions-astra-board .ins-packets:not([data-kind="easy"]) .ins-pool{grid-column:1/-1}
 .grade3-instructions-astra-board .ins-support .ins-packets .ins-pool{grid-column:1}
 .grade3-instructions-astra-board .ins-route-guide{font-size:12px;gap:3px;display:flex;flex-wrap:wrap;justify-content:center}.grade3-instructions-astra-board .ins-route-guide li{padding:3px 6px}
}
body .topic-lesson-shell[data-grade="3"] #teaching-board.grade3-instructions-astra-board{aspect-ratio:auto!important;align-content:start!important}
body .topic-lesson-shell[data-grade="3"] #teaching-board.grade3-instructions-astra-board>.ins-workspace{align-content:start!important;aspect-ratio:auto!important}
/* Dense paths use one preparation row, then physical destination trays. */
.grade3-instructions-astra-board .ins-packets:has(.ins-reserve:not([hidden])) .ins-pool{grid-column:1/3;grid-row:1}
.grade3-instructions-astra-board .ins-packets:has(.ins-reserve:not([hidden])) .ins-reserve{grid-column:3;grid-row:1}
.grade3-instructions-astra-board .ins-support .ins-packets:has(.ins-reserve:not([hidden])) .ins-pool{grid-column:1;grid-row:1}
.grade3-instructions-astra-board .ins-support .ins-packets:has(.ins-reserve:not([hidden])) .ins-reserve{grid-column:2;grid-row:1}
.grade3-instructions-astra-board .ins-packets[data-kind="easy"]:has(.ins-reserve:not([hidden])) .ins-pool{grid-column:1}.grade3-instructions-astra-board .ins-packets[data-kind="easy"]:has(.ins-reserve:not([hidden])) .ins-reserve{grid-column:2}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-group-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-group-count="4"]:has(.ins-reserve:not([hidden])) .ins-pool{grid-column:1/4}.grade3-instructions-astra-board .ins-packets[data-group-count="4"]:has(.ins-reserve:not([hidden])) .ins-reserve{grid-column:4}
 .grade3-instructions-astra-board .ins-packets[data-group-count="4"] .ins-zone>small{font-size:12px}.grade3-instructions-astra-board .ins-packets[data-group-count="4"] .ins-tray .ins-slot{max-height:20px}
 .grade3-instructions-astra-board .ins-shopping{grid-template-columns:1fr 1.35fr;gap:5px;align-items:center}
 .grade3-instructions-astra-board .ins-shopping .ins-bottles{grid-column:1;grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:0 5px}
 .grade3-instructions-astra-board .ins-shopping .ins-bottles img{width:40px;height:53px;justify-self:center}
 .grade3-instructions-astra-board .ins-shopping .ins-price,.grade3-instructions-astra-board .ins-shopping .ins-shop-step{grid-column:2;width:100%;box-sizing:border-box;font-size:12px;padding:5px}
 .grade3-instructions-astra-board .ins-shopping .ins-shop-step b{font-size:16px}.grade3-instructions-astra-board .ins-shopping .ins-shop-step[data-ins-focus="share"]{gap:4px}.grade3-instructions-astra-board .ins-shopping .ins-shop-step[data-ins-focus="share"]>span{padding:4px}
 .grade3-instructions-astra-board .ins-order-given{grid-template-columns:repeat(6,minmax(0,1fr))}.grade3-instructions-astra-board .ins-order-given img{height:20px}
 .grade3-instructions-astra-board .ins-departed .ins-zone-body{max-width:72px}
 .grade3-instructions-astra-board .ins-question{font-size:14px;line-height:1.25}
 .grade3-instructions-astra-board .ins-task-given{gap:4px}.grade3-instructions-astra-board .ins-task-given p{font-size:12px;line-height:1.2}.grade3-instructions-astra-board .ins-task-given h2{font-size:14px}
 .grade3-instructions-astra-board .ins-place>section{min-height:110px;padding:5px}.grade3-instructions-astra-board .ins-place b{font-size:25px}
}
@media(max-width:480px) and (max-height:640px){
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header{grid-template-rows:44px 44px;padding:3px 9px;height:94px;gap:0 5px}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header .lesson-heading strong{font-size:13px!important;line-height:1.15!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header .lesson-heading span{display:none!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher{grid-template-rows:44px 44px 44px!important;height:140px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher .teacher-bubble{height:44px!important;min-height:44px!important;max-height:44px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher .lesson-avatar{height:92px!important}
 .grade3-instructions-astra-board .ins-pool .ins-zone-body{width:min(100%,145px)}
 .grade3-instructions-astra-board .ins-tray .ins-zone-body{max-width:83px}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer{min-height:44px!important;margin-top:5px!important;padding-top:0!important;gap:5px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer .ins-answer{min-height:44px!important;height:44px;padding:3px}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer .ins-next,body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer .ins-action{min-height:44px!important;padding:5px 10px}
}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-group-count="5"] .ins-tray .ins-zone-body{max-width:69px}
 .grade3-instructions-astra-board .ins-task-given>small{display:none}
 #teaching-board.grade3-instructions-astra-board .ins-work-map .ins-map-button{height:46px;min-height:46px;max-height:46px;font-size:12px;line-height:1.05;gap:1px;padding:3px 2px}
 #teaching-board.grade3-instructions-astra-board .ins-work-map .ins-map-button b,#teaching-board.grade3-instructions-astra-board .ins-work-map .ins-map-button span{font-size:12px!important;line-height:1.05!important}
 .grade3-instructions-astra-board .ins-score{font-size:12px;line-height:1.15}
}
/* Independent proofs retain every physical group within one compact working area. */
.grade3-instructions-astra-board .ins-packets[data-kind="independent"]{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}
.grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-pool .ins-zone-body{max-width:170px}
.grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-departed .ins-zone-body{max-width:105px}
.grade3-instructions-astra-board .ins-packets[data-kind="independent"]:has(.ins-departed:not([hidden])) .ins-pool{grid-column:1/3;grid-row:1}
.grade3-instructions-astra-board .ins-packets[data-kind="independent"]:has(.ins-departed:not([hidden])) .ins-departed{grid-column:3;grid-row:1}
.grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-tray .ins-zone-body{max-width:83px}
.grade3-instructions-astra-board .ins-workspace:has(.ins-packets[data-kind="independent"]){gap:6px}
.grade3-instructions-astra-board .ins-workspace:has(.ins-packets[data-kind="independent"]) .ins-task-given{gap:4px}
.grade3-instructions-astra-board .ins-workspace:has(.ins-packets[data-kind="independent"]) .ins-task-given>small{display:none}
.grade3-instructions-astra-board .ins-trace>span{padding:4px 7px}
.grade3-instructions-astra-board .ins-trace small{font-size:12px}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-pool .ins-zone-body{max-width:125px}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-reserve .ins-zone-body,.grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-departed .ins-zone-body{max-width:72px}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"] .ins-tray .ins-zone-body{max-width:65px}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-trace>span{padding:2px 5px}.grade3-instructions-astra-board .ins-trace b{font-size:16px}
}
.ins-order-physical{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;gap:4px;min-height:140px}
.ins-order-tray{position:relative;aspect-ratio:1.55;min-width:0}
.ins-order-tray[data-order-zone="pool"]{grid-column:1/-1;max-width:210px;width:100%;justify-self:center}
.ins-order-tray-png{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ins-order-slots{position:absolute;inset:21% 12% 24%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;align-content:center;height:auto}
.ins-order-slots>span{display:none;min-width:0;height:13px}.ins-order-slots>span:has(>img:not([hidden])){display:flex;justify-content:center}
.ins-order-tray[data-order-zone="pool"] .ins-order-slots{grid-template-columns:repeat(6,minmax(0,1fr))}
.ins-order-tray[data-order-zone="pool"] .ins-order-slots>span{height:24px}
.ins-order-slots img{max-width:100%;height:100%;object-fit:contain;transform-origin:top left}
.ins-order-tray.ins-order-selected{filter:drop-shadow(0 0 3px #e3ae3c)}
@media(max-width:760px){.ins-order-physical{min-height:112px}.ins-order-tray[data-order-zone="pool"]{max-width:165px}.ins-order-tray[data-order-zone="pool"] .ins-order-slots>span{height:18px}.ins-order-slots>span{height:10px}}
@media(max-width:480px) and (max-height:640px){.ins-order-physical{min-height:85px}.ins-order-tray[data-order-zone="pool"] .ins-order-slots>span{height:14px}.ins-order-slots>span{height:8px}}
.grade3-instructions-astra-board .ins-packets:has(.ins-reserve:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
.grade3-instructions-astra-board .ins-packets[data-kind="interpret"]:has(.ins-reserve:not([hidden])){grid-template-columns:1.6fr 1fr}
.grade3-instructions-astra-board .ins-packets[data-kind="interpret"]:has(.ins-reserve:not([hidden])) .ins-pool{grid-column:1}
.grade3-instructions-astra-board .ins-packets[data-kind="interpret"]:has(.ins-reserve:not([hidden])) .ins-reserve{grid-column:2}
.grade3-instructions-astra-board .ins-packets[data-kind="easy"]:has(.ins-reserve:not([hidden])){grid-template-columns:2fr 1fr}
.grade3-instructions-astra-board .ins-support .ins-packets:has(.ins-reserve:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-group-count="4"]:has(.ins-reserve:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-kind="add"] .ins-pool .ins-zone-body{max-width:130px}
}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="remove"]{grid-template-columns:repeat(4,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-kind="remove"] .ins-departed{grid-column:4;grid-row:1}
 .grade3-instructions-astra-board .ins-packets[data-kind="remove"] .ins-zone>small{font-size:12px;letter-spacing:0}
 .grade3-instructions-astra-board .ins-packets[data-kind="remove"] .ins-zone{padding:2px}
 .grade3-instructions-astra-board .ins-packets[data-kind="remove"] .ins-tray .ins-slot{max-height:19px}
}
@media(max-width:480px) and (max-height:640px){
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header .lesson-breadcrumb{min-width:0;align-self:center}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header .lesson-breadcrumb strong{font-size:13px!important;line-height:1.15!important}
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header .lesson-breadcrumb span{display:none!important}
}
/* Packets use the visible tray surface; ten packets must not protrude above its rim. */
.ins-order-slots{grid-auto-rows:minmax(0,1fr);align-content:stretch}
.ins-order-slots>span,.ins-order-tray[data-order-zone="pool"] .ins-order-slots>span{height:auto;min-height:0}
.ins-order-slots img{max-height:100%;width:auto;height:auto}
@media(max-width:480px) and (max-height:640px){
 body:has(#teaching-board.grade3-instructions-astra-board) .lesson-header{height:70px!important;min-height:70px!important;grid-template-rows:44px 14px!important;padding:3px 9px!important}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer:has(.ins-answers):has(.ins-next){display:grid!important;grid-template-columns:1fr 1.5fr!important;align-items:stretch!important}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer:has(.ins-answers) .ins-next{width:100%;font-size:12px!important;line-height:1.2;min-width:0;max-width:none;margin:0}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer:has(.ins-next) .ins-answers{min-width:0;width:100%}
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer:has(.ins-next) .ins-answer{font-size:13px!important;height:auto!important;min-height:44px!important}
 .grade3-instructions-astra-board .ins-order-physical{min-height:62px}
 .grade3-instructions-astra-board .ins-order>section{padding:4px}
 .grade3-instructions-astra-board .ins-order h3{font-size:13px;line-height:1.2;margin-bottom:3px}
 .grade3-instructions-astra-board .ins-order-step{padding:1px;gap:2px}
 .grade3-instructions-astra-board .ins-order-step b,.grade3-instructions-astra-board .ins-order-step>span{font-size:13px;line-height:1.15}
 .grade3-instructions-astra-board .ins-mini-route{gap:4px}
}
.grade3-instructions-astra-board .ins-zone-body .ins-slots{grid-auto-rows:minmax(0,1fr);min-height:0}
.grade3-instructions-astra-board .ins-zone-body .ins-slot{min-height:0;overflow:visible}
.grade3-instructions-astra-board .ins-packets[data-object="book"] .ins-pool .ins-object,.grade3-instructions-astra-board .ins-packets[data-object="book"] .ins-reserve .ins-object,.grade3-instructions-astra-board .ins-packets[data-object="book"] .ins-departed .ins-object{height:100%;width:auto;max-height:100%;max-width:100%;object-fit:contain}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="5"]:has(.ins-departed:not([hidden])){grid-template-columns:repeat(5,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="5"]:has(.ins-departed:not([hidden])) .ins-departed{grid-column:5;grid-row:1}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="5"]:has(.ins-departed:not([hidden])) .ins-zone{padding:1px}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="5"]:has(.ins-departed:not([hidden])) .ins-zone>small{font-size:12px;letter-spacing:0}
 .grade3-instructions-astra-board .ins-place>section{min-height:90px;gap:4px}
 .grade3-instructions-astra-board .ins-place h3{font-size:12px}.grade3-instructions-astra-board .ins-place b{font-size:20px}
 .grade3-instructions-astra-board .ins-ten-rods>span{grid-template-rows:repeat(10,4px);width:10px}.grade3-instructions-astra-board .ins-ten-rods{gap:4px}
}
@media(max-width:760px){body:has(#teaching-board.grade3-instructions-astra-board) .teacher-classroom{padding-bottom:0!important}}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-departed:not([hidden])){grid-template-columns:repeat(5,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-departed:not([hidden])) .ins-departed{grid-column:5;grid-row:1}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-departed:not([hidden])) .ins-zone{padding:1px}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-departed:not([hidden])) .ins-zone>small{font-size:12px;letter-spacing:0}
}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-object="book"]:has(.ins-departed:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-object="book"]:has(.ins-departed:not([hidden])) .ins-departed{grid-column:4;grid-row:1}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-object="book"] .ins-shelf{padding:1px}
}
.grade3-instructions-astra-board .ins-packets[data-object="book"] .ins-departed .ins-slot{height:100%;max-height:32px}
/* Compact tablet classroom chrome; review's board-only mode remains untouched. */
@media(min-width:481px) and (max-width:760px) and (max-height:800px){
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-header{height:76px!important;min-height:76px!important;grid-template-rows:44px 18px!important;padding:4px 12px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-breadcrumb strong{font-size:14px!important;line-height:1.15!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-breadcrumb span{display:none!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;grid-template-rows:44px 44px 44px!important;gap:4px!important;padding:0!important;min-height:0!important;height:140px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher .lesson-avatar{grid-column:1!important;grid-row:1/3!important;width:80px!important;height:92px!important;margin:0!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher .teacher-bubble{grid-column:2!important;grid-row:1!important;margin:0!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:5px!important;font-size:13px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .narration-controls{grid-column:2!important;grid-row:2!important;margin:0!important;gap:4px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-support-dock{grid-column:1/-1!important;grid-row:3!important;width:calc(50% - 3px)!important;margin:0!important;height:44px!important;min-height:44px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .raise-hand{grid-column:1/-1!important;grid-row:3!important;width:calc(50% - 3px)!important;margin:0 0 0 auto!important;height:44px!important;min-height:44px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .teacher-classroom{padding-top:6px!important;gap:6px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .teaching-area{padding-top:16px!important}
}
@media(min-width:481px) and (max-width:760px) and (max-height:800px){
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-header{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:4px 9px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-breadcrumb{grid-column:2!important;grid-row:1!important;min-width:0!important;align-self:center!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .back-button{grid-column:1!important;grid-row:1!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .restart-lesson{grid-column:3!important;grid-row:1!important;min-width:44px!important;width:44px!important;padding:0!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .restart-lesson b,body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .skip-section,body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-time{display:none!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .section-track{grid-column:1/-1!important;grid-row:2!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) #lesson-footer:has(.ins-answers):has(.ins-next){display:grid!important;grid-template-columns:1fr 1.5fr!important;align-items:stretch!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) #lesson-footer:has(.ins-answers) .ins-next{width:100%;font-size:13px!important;line-height:1.2;min-width:0;max-width:none;margin:0}
}
/* Relative mobile teacher inherited the desktop sticky offset and covered the screen code. */
@media(max-width:760px){body:has(#teaching-board.grade3-instructions-astra-board) .lesson-teacher{top:0!important}}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="5"]:has([data-zone="group-3"]:not([hidden])):not(:has([data-zone="group-4"]:not([hidden]))):not(:has(.ins-departed:not([hidden]))){grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:480px) and (max-height:640px){
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-pool[hidden]):has(.ins-reserve:not([hidden])):has([data-zone="group-3"]:not([hidden])){grid-template-columns:repeat(5,minmax(0,1fr))}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-pool[hidden]):has([data-zone="group-3"]:not([hidden])) .ins-reserve{grid-column:5;grid-row:1}
 .grade3-instructions-astra-board .ins-packets[data-kind="independent"][data-group-count="4"]:has(.ins-pool[hidden]):has(.ins-reserve:not([hidden])) .ins-zone{padding:1px}
}
@media(max-width:480px) and (max-height:640px){
 body:has(#teaching-board.grade3-instructions-astra-board) #lesson-footer .ins-word-answers .ins-answer{height:auto!important;min-height:64px!important;font-size:12px!important;line-height:1.2!important;padding:4px!important}
}
/* Documented post-seal header delta: retain full section targets inside the compact header. */
@media(max-width:480px) and (max-height:640px), (min-width:481px) and (max-width:760px) and (max-height:800px){
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-header{height:80px!important;min-height:80px!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-template-rows:28px 44px!important;padding:3px 9px!important;gap:2px 6px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-breadcrumb{grid-column:1/-1!important;grid-row:1!important;text-align:center!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-breadcrumb strong{font-size:13px!important;line-height:1.05!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .back-button{grid-column:1!important;grid-row:2!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .restart-lesson{grid-column:3!important;grid-row:2!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .section-track{grid-column:2!important;grid-row:2!important;height:44px!important;min-height:44px!important;align-self:stretch!important;margin:0!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .section-segment{height:44px!important;min-height:44px!important;padding:3px!important;box-sizing:border-box!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .section-segment span{display:block!important;font-size:12px!important;line-height:1.05!important;overflow-wrap:anywhere}
}
@media(max-width:480px) and (max-height:640px), (min-width:481px) and (max-width:760px) and (max-height:800px){
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .lesson-header{height:70px!important;min-height:70px!important;grid-template-rows:18px 44px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .section-segment{min-width:112px!important;flex:0 0 112px!important}
}
@media(max-width:480px) and (max-height:640px), (min-width:481px) and (max-width:760px) and (max-height:800px){
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-instructions-astra-board) .section-track{display:flex!important;gap:6px!important;overflow-x:auto!important}
}
