/* Lesson74: exact value-bearing foreground objects; no picture under a question card. */
body:has(.grade3-problems-astra-board){overflow-anchor:none}
body:has(.grade3-problems-astra-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-problems-astra-board) .section-track{min-width:0;grid-template-columns:repeat(6,minmax(0,1fr))}
body:has(.grade3-problems-astra-board) .section-segment{min-width:0;overflow-wrap:anywhere}
.teacher-classroom:has(.grade3-problems-astra-board) .teaching-area{width:min(100%,690px);min-width:0}
.teaching-board.grade3-problems-astra-board{height:auto;min-height:0;aspect-ratio:auto;padding:18px;border:1px solid #afd6cc;border-radius:24px;background:linear-gradient(145deg,#f5fbf8,#e4f3ec);overflow:visible;box-sizing:border-box}
.pr-workspace,.pr-main,.pr-alternative{display:grid;gap:12px;width:100%;min-width:0;box-sizing:border-box}
.pr-workspace [hidden],.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer[hidden]{display:none!important}
.pr-object-model{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0;isolation:isolate}
.pr-zone{min-width:0;position:relative;border-radius:12px;background:#fff9e9;border:1px solid #d7c5a0;padding:8px}
.pr-zone h3{margin:0 0 7px;text-align:center;font:800 10px/1.3 Arial,sans-serif;color:#526b50;letter-spacing:.04em}
.pr-zone-body{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:5px;min-height:38px;border-bottom:6px solid #ad7c49;padding:0 5px;box-sizing:border-box}
.pr-zone.pr-shelf[data-pr-zone="main"],.pr-pool,.pr-reserve,.pr-departed{grid-column:1/-1}
.pr-reserve{background:#e8f5f0;border:1px dashed #90beac}.pr-departed{background:#fff0dc;border:1px dashed #d0a25b}
.pr-object{display:flex;align-items:flex-end;justify-content:center;position:relative;width:34px;height:57px;transform-origin:top left;flex:0 0 auto;pointer-events:none;z-index:2}
.pr-object>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;pointer-events:none}
.pr-object.pr-bundle{width:57px;height:55px;box-sizing:border-box}
.pr-dense .pr-object:not(.pr-bundle){height:45px;width:22px}
.pr-value{position:absolute;top:-3px;right:-2px;border:1px solid #b7cec3;border-radius:5px;background:#fff;color:#306657;padding:0 3px;font:850 12px/1.1 Arial,sans-serif;z-index:3}
.pr-ten-balls{display:grid;grid-template-columns:repeat(5,1fr);gap:0;width:100%;border:1px solid #97b4ab;border-radius:6px;padding:3px;background:#f7fcf9}
.pr-ten-balls img{width:100%;height:15px;object-fit:contain}
.pr-object.pr-moving{z-index:50;filter:drop-shadow(0 4px 2px #73552744)}
.pr-zone output:empty{display:none}.pr-zone output{display:block;color:#087d6e;text-align:center;font-weight:850;font-size:16px;margin-top:3px}
.pr-zone.pr-focus{box-shadow:0 0 0 3px #e9b03b,0 0 0 7px #efc34c30}
.pr-object-model[data-object="seedling"] .pr-case .pr-object{height:39px;width:28px}
.pr-object-model[data-object="seedling"] .pr-shelf{grid-column:span 2}
.pr-object-model[data-object="seedling"] .pr-shelf .pr-object{height:44px;width:30px}
.pr-key{font-size:12px;text-align:center;color:#567468;margin:0}
.pr-equation{margin:0;text-align:center;font-size:clamp(19px,2.2vw,26px);font-weight:850;color:#174f5e;line-height:1.3;padding:5px;overflow-wrap:anywhere}
.pr-story{text-align:center;display:grid;gap:8px;color:#174f5e}.pr-story>small{font-size:12px;color:#4e796b}.pr-story h2{font-size:19px;line-height:1.35;margin:0}.pr-story p{font-size:17px;line-height:1.4;margin:0}
.pr-answers{display:grid;grid-template-columns:repeat(var(--choices),minmax(0,1fr));gap:10px;width:100%;min-width:0}
.pr-answer{min-width:0;min-height:54px;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}
.pr-word-answers .pr-answer{font-size:15px}
.pr-answer:focus-visible,.choice-hover-armed .pr-answer:hover{outline:0;border-color:#e7a928;box-shadow:0 0 0 4px #f0bd4430}
.pr-answer.pr-correct,.pr-guided{border-color:#e7a928!important;box-shadow:0 0 0 4px #f0bd4430;background:#fff9e4;transform:none!important;animation:none!important}
.pr-answer.pr-wrong{border-color:#d18462;background:#fff5ec}.pr-answer:disabled{cursor:default;opacity:.6}.pr-answer.pr-correct:disabled{opacity:1}
.pr-next,.pr-action,.pr-return{display:flex;gap:12px;align-items:center;justify-content:center;border:1px solid #00796c;background:#007f72;color:#fff;border-radius:16px;min-height:48px;max-width:100%;padding:11px 20px;font:800 15px/1.3 Arial,sans-serif;cursor:pointer;box-shadow:0 5px 13px #07584320}
.pr-next:disabled,.pr-action:disabled{opacity:.5;cursor:default}.pr-next:hover,.pr-action:hover,.pr-return:hover{background:#006c62}.pr-next:focus-visible,.pr-action:focus-visible,.pr-return:focus-visible{outline:3px solid #e6ae39;outline-offset:3px}
.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;margin-top:12px}
.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer>.pr-next,.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer>.pr-action{justify-self:center;margin:0}
.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer:has([data-pr-next]) .pr-answers{max-width:360px;justify-self:center}
.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer:has([data-pr-next]) .pr-answer{min-height:38px;padding:7px 10px;font-size:16px}
.teacher-classroom:has(.grade3-problems-astra-board) .lesson-support-dock{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.pr-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}.pr-help:disabled{opacity:.5}.pr-help:hover,.pr-help:focus-visible{outline:2px solid #e7b63c}
.pr-support{display:grid;gap:10px}.pr-support>h2{margin:0;font-size:17px;text-align:center;color:#0c7464}.pr-original{margin:0;border-top:1px solid #c0d8ce;padding-top:7px;text-align:center;font-size:13px;color:#4b7064}.pr-return{justify-self:center}
.pr-loading>*:not(.pr-load-status){display:none!important}.pr-load-status{padding:18px 8px;text-align:center;display:grid;justify-items:center;gap:12px;color:#174b5e;font-size:16px}.pr-load-status p{margin:0}
.pr-estimate{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pr-estimate h3{grid-column:1/-1;text-align:center;margin:0;font-size:17px;color:#176654}.pr-round-card{background:#fff;border:2px solid #bbd9ce;border-radius:16px;padding:18px 7px;text-align:center;display:grid;gap:12px;color:#35605b}.pr-round-card small{font-size:10px}.pr-round-card span{font-size:23px}
.pr-part-whole{text-align:center;display:grid;gap:15px;color:#255d57}.pr-part-whole>img{width:65px;height:100px;object-fit:contain;margin:auto}.pr-part-whole h3,.pr-part-whole p{margin:0}.pr-bar{display:grid;grid-template-columns:2fr 1fr;border:2px solid #65a996;border-radius:14px;overflow:hidden}.pr-bar>span{padding:26px 10px;background:#d5eee3;font-size:21px;font-weight:800}.pr-bar>span+span{background:#ffe9b4;border-left:2px solid #65a996}
.pr-money-model{text-align:center;color:#2b645b}.pr-products{display:flex;justify-content:center;gap:40px}.pr-products>div{display:grid;gap:8px}.pr-products img{width:100px;height:100px;object-fit:contain}.pr-products b{font-size:22px}.pr-money-split{display:flex;justify-content:center;gap:15px}.pr-money-split>span{border:1px solid #b2d0c5;border-radius:12px;background:#fff;padding:15px}
.pr-length-model{text-align:center;display:grid;gap:22px;color:#275e58}.pr-length-model h3,.pr-length-model p{margin:0}.pr-ribbon{display:flex;border-radius:9px;height:65px;background:#fff2d9;box-shadow:0 3px 6px #88673522}.pr-ribbon>span{flex:var(--part);background:repeating-linear-gradient(90deg,#edbfa0 0 15px,#f4d2b7 15px 30px);border-right:2px dashed #8e6950;display:flex;align-items:center;justify-content:center;font-weight:800;min-width:50px;transition:transform .65s}.pr-main[data-pr-state="1"] [data-pr-cut="1"],.pr-main[data-pr-state="2"] [data-pr-cut],.pr-alternative[data-pr-state="1"] [data-pr-cut="1"],.pr-alternative[data-pr-state="2"] [data-pr-cut]{transform:translateY(18px)}
.pr-mass-model{text-align:center;display:grid;gap:12px;color:#2c6257}.pr-bags{display:flex;justify-content:center;gap:20px}.pr-grain-bag{position:relative;width:100px;height:120px}.pr-grain-bag svg{width:100%;height:100%}.pr-grain-bag b{position:absolute;left:0;right:0;top:58%;font-size:20px;color:#624c32}.pr-package{padding:12px;background:#fff2d9;border:2px dashed #c9a066;border-radius:13px}.pr-mass-model p{margin:0}
.pr-time-model{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.pr-time-card{display:grid;gap:8px;text-align:center;padding:16px 8px;border:2px solid #b1d7ca;border-radius:16px;background:#fff;color:#37665b}.pr-time-card img{height:90px;width:55px;object-fit:contain;margin:auto}.pr-rest-mark{font-size:50px;line-height:90px;color:#a17b55}.pr-main[data-pr-state="2"] .pr-rest,.pr-alternative[data-pr-state="2"] .pr-rest{opacity:.45;text-decoration:line-through}
.pr-object-model[data-object="sticker"] .pr-zone{grid-column:1/-1}.pr-object-model[data-object="sticker"] .pr-zone-body{max-width:390px;margin:auto;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));border:0;gap:3px}.pr-object-model[data-object="sticker"] .pr-object{height:22px;width:100%;max-width:28px}.pr-object-model[data-object="sticker"] svg{width:100%;height:100%}.pr-used{background:#f3e4d1;border-style:dashed}
.pr-filled-packages{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.pr-filled-package{position:relative;width:65px;height:75px}.pr-filled-package svg{width:100%;height:100%}.pr-filled-package b{position:absolute;left:0;right:0;top:40%;font-size:15px}
.pr-builder{display:grid;gap:12px;color:#275e57;text-align:center}.pr-builder h2{margin:0;font-size:19px}.pr-builder-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pr-builder fieldset{min-width:0;border:1px solid #bdd6ca;border-radius:14px;padding:10px;background:#fff}.pr-builder legend{padding:0 5px;font-size:13px;font-weight:800}.pr-builder fieldset>div{display:flex;gap:7px;justify-content:center}.pr-builder button{min-width:44px;min-height:44px;flex:1;background:#f1f8f5;border:2px solid #b5d6c9;border-radius:10px;color:#265c53;font-size:18px;cursor:pointer}.pr-builder button[aria-pressed="true"]{border-color:#d4a13a;background:#fff4d5}.pr-builder button img{width:30px;height:42px;object-fit:contain;display:block;margin:auto}.pr-builder button:focus-visible{outline:3px solid #e4ae37;outline-offset:2px}.pr-draft-preview{margin:0;line-height:1.5;font-size:16px}
.pr-answer-form{display:grid;gap:7px;justify-content:center;text-align:center;color:#2e685a}.pr-answer-form>div{display:flex;gap:9px}.pr-answer-form input{width:100px;min-width:0;border:2px solid #98c7b9;border-radius:12px;padding:8px;text-align:center;font-size:25px;color:#245c53}.pr-answer-form button{background:#007f72;color:white;border:0;border-radius:12px;padding:12px;font-size:16px;cursor:pointer}.pr-answer-form p:empty{display:none}.pr-answer-form p{margin:0;font-size:13px}.pr-trace{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.pr-trace>span{background:#fff4d7;border:1px solid #d7b56e;border-radius:10px;padding:8px;font-size:16px;color:#2e615a}.pr-score{margin:0;font-size:14px;color:#417561;text-align:center}
@media(min-width:761px) and (max-height:800px){
 .teacher-classroom:has(.grade3-problems-astra-board){padding-top:12px;padding-bottom:15px}.teacher-classroom:has(.grade3-problems-astra-board) .lesson-avatar{height:205px}.teacher-classroom:has(.grade3-problems-astra-board) .teacher-bubble{padding:12px;min-height:70px;max-height:180px;overflow:auto;font-size:13px}.pr-main{gap:9px}.pr-object{height:45px;width:27px}.pr-object.pr-bundle{height:48px;width:49px}.pr-dense .pr-object:not(.pr-bundle){height:37px;width:19px}.pr-zone-body{gap:3px}.pr-zone{padding:6px}.pr-object-model{gap:7px}
}
@media(max-width:760px){
 .teacher-classroom:has(.grade3-problems-astra-board){padding-top:8px;padding-bottom:14px}.teacher-classroom:has(.grade3-problems-astra-board) .teacher-column{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.teacher-classroom:has(.grade3-problems-astra-board) .lesson-avatar{height:86px}.teacher-classroom:has(.grade3-problems-astra-board) .teacher-bubble{min-height:55px;max-height:100px;overflow:auto;overscroll-behavior:contain;font-size:14px;line-height:1.35}
 .teaching-board.grade3-problems-astra-board{padding:11px;border-radius:18px}.pr-main,.pr-workspace{gap:8px}.pr-object-model{gap:6px}.pr-zone{padding:5px}.pr-zone h3{font-size:8px;margin-bottom:3px}.pr-zone-body{gap:3px;min-height:24px;border-bottom-width:4px;padding:0 2px}.pr-object{height:38px;width:21px}.pr-object.pr-bundle{height:37px;width:40px;padding-bottom:9px}.pr-dense .pr-object:not(.pr-bundle){height:30px;width:16px}.pr-value{font-size:10px}.pr-ten-balls img{height:10px}.pr-key{font-size:10px}.pr-object-model[data-object="seedling"] .pr-case .pr-object{height:25px;width:16px}.pr-object-model[data-object="seedling"] .pr-shelf .pr-object{height:31px;width:20px}
 .pr-equation{font-size:20px;padding:3px}.pr-story h2{font-size:16px}.pr-story p{font-size:14px;line-height:1.35}.pr-answers{gap:6px}.pr-answer{font-size:18px;padding:8px 5px;min-height:48px;border-radius:13px}.pr-word-answers .pr-answer{font-size:12px}.pr-next,.pr-action,.pr-return{font-size:13px;min-height:45px;padding:9px 12px}.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer{margin-top:8px}.pr-help{padding:7px 4px}
 .pr-estimate{gap:7px}.pr-round-card{padding:13px 5px;gap:7px}.pr-round-card span{font-size:18px}.pr-round-card small{font-size:8px}.pr-part-whole>img{width:46px;height:72px}.pr-part-whole{gap:10px}.pr-part-whole h3{font-size:17px}.pr-bar>span{font-size:16px;padding:20px 7px}.pr-part-whole p{font-size:13px}
 .pr-products img{width:66px;height:66px}.pr-products{gap:25px}.pr-money-split{gap:8px}.pr-money-split>span{padding:10px;font-size:13px}.pr-ribbon{height:52px}.pr-ribbon>span{font-size:13px;min-width:40px}.pr-length-model{gap:18px}.pr-length-model h3{font-size:17px}.pr-length-model p{font-size:13px}.pr-grain-bag{width:75px;height:85px}.pr-grain-bag b{font-size:16px}.pr-time-model{gap:8px}.pr-time-card{padding:10px 5px;font-size:12px}.pr-time-card img{height:65px;width:42px}.pr-rest-mark{font-size:40px;line-height:65px}.pr-sticker-sheet{width:105px;padding:8px;gap:4px}.pr-sticker-sheet svg{width:29px;height:29px}.pr-events{gap:6px}.pr-events span{font-size:12px;padding:7px}
 .pr-builder-fields{gap:7px}.pr-builder fieldset{padding:7px}.pr-builder legend{font-size:11px}.pr-builder fieldset>div{gap:5px}.pr-builder button{min-width:32px;font-size:16px}.pr-draft-preview{font-size:13px}.pr-builder{gap:9px}.pr-builder h2{font-size:16px}.pr-trace>span{font-size:13px;padding:6px}.pr-original{font-size:11px}.pr-support>h2{font-size:15px}.pr-score{font-size:12px}
}
@media(min-width:761px) and (max-width:1020px){body:has(.grade3-problems-astra-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto auto auto;gap:8px 12px;padding:9px 16px}body:has(.grade3-problems-astra-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}body:has(.grade3-problems-astra-board) .section-segment span{font-size:10px;line-height:1.2}}
@media(prefers-reduced-motion:reduce){.grade3-problems-astra-board *{transition:none!important}}
/* Each wrapped row has its own physical shelf; all PNG alpha bounds end there. */
.pr-object-model:not([data-object="sticker"]) .pr-zone-body{--pr-row:58px;display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));grid-auto-rows:var(--pr-row);align-items:end;justify-items:center;gap:0 3px;border-bottom:0;padding:0 3px;background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--pr-row) - 4px),#ad7c49 calc(var(--pr-row) - 4px) var(--pr-row))}
.pr-object-model:not([data-object="sticker"]) .pr-object{height:calc(var(--pr-row) - 4px);max-width:100%;margin-bottom:4px;padding-bottom:0}
.pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:44px;grid-template-columns:repeat(auto-fit,minmax(25px,1fr))}
.pr-object-model[data-object="seedling"] .pr-case .pr-object,.pr-object-model[data-object="seedling"] .pr-shelf .pr-object{height:calc(var(--pr-row) - 4px)}
.pr-object-model[data-object="sticker"] .pr-zone-body{background:none;grid-auto-rows:auto}
.pr-main.pr-solved .pr-story>p,.pr-main.pr-solved .pr-story>small{display:none}
.pr-object-model[data-object="sticker"] .pr-used,.pr-object-model[data-object="sticker"] .pr-departed{grid-column:span 2}
.pr-object-model[data-pr-model="largeBooks"] .pr-zone-body{background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--pr-row) - 4px),#6195ad calc(var(--pr-row) - 4px) var(--pr-row))}
@media(min-width:761px) and (max-height:800px){.pr-object-model:not([data-object="sticker"]) .pr-zone-body{--pr-row:48px}}
@media(max-width:760px){.pr-object-model:not([data-object="sticker"]) .pr-zone-body{--pr-row:39px;grid-template-columns:repeat(auto-fit,minmax(36px,1fr))}.pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:30px;grid-template-columns:repeat(auto-fit,minmax(15px,1fr))}.pr-object-model[data-object="sticker"] .pr-object{height:16px}.pr-zone h3{font-size:10px}.pr-value{font-size:10px}.pr-object.pr-bundle{padding-bottom:0}}
/* Candidate lesson74: the physical work surface follows the actual objects. */
body .topic-lesson-shell[data-grade="3"] #teaching-board.grade3-problems-astra-board,body.topic-lesson-shell[data-grade="3"] #teaching-board.grade3-problems-astra-board{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;display:block!important;align-content:start!important}
body #teaching-board.grade3-problems-astra-board>.pr-workspace{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;align-content:start!important}
.pr-workspace [hidden]{display:none!important}.pr-workspace,.pr-main,.pr-alternative{gap:8px}.pr-main{align-content:start}
.pr-object-model{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px;align-items:start}.pr-zone{border:0;background:transparent;padding:4px;box-shadow:none}.pr-zone h3{font-size:12px;line-height:1.2;text-transform:none;letter-spacing:0;margin:0 0 6px}.pr-zone.pr-shelf[data-pr-zone="main"],.pr-reserve,.pr-departed{grid-column:auto}.pr-zone[data-pr-zone="main"]:only-child{grid-column:1/-1}.pr-object-model:not(:has(.pr-reserve:not([hidden]),.pr-departed:not([hidden]))) .pr-zone[data-pr-zone="main"]{grid-column:1/-1}.pr-object-model:not([data-object="sticker"]) .pr-zone-body{--pr-row:62px;position:relative;display:grid;grid-template-columns:repeat(var(--pr-cols,6),minmax(0,1fr));grid-auto-rows:var(--pr-row);align-items:end;justify-items:center;background:none!important;min-height:0;padding:0 4px 10px;border:0;gap:0 4px}
.pr-shelf-strips{position:absolute;inset:0;pointer-events:none;z-index:0}.pr-shelf-strips>img{position:absolute;left:0;width:100%;height:20px;object-fit:fill;filter:drop-shadow(0 2px 2px #553c2820)}
.pr-object-model:not([data-object="sticker"]) .pr-object{height:calc(var(--pr-row) - 9px)!important;max-width:100%;width:44px;margin-bottom:8px;padding:0;z-index:2;transform-origin:top left}.pr-object-model .pr-object.pr-bundle{width:53px}.pr-object-model.pr-dense .pr-object:not(.pr-bundle){width:32px}.pr-object>img{object-position:center bottom;filter:drop-shadow(0 2px 1px #47291420)}.pr-value{font-size:12px;top:1px;right:0;padding:0 2px}.pr-zone.pr-focus{box-shadow:0 0 0 2px #eab33f,0 0 10px #ecc15144;border-radius:12px;background:#fff9e880}.pr-zone output{margin:1px 0 0;font-size:17px}
.pr-object-model[data-object="seedling"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pr-object-model[data-object="seedling"] .pr-case,.pr-object-model[data-object="seedling"] .pr-shelf{grid-column:auto}.pr-object-model[data-object="seedling"] .pr-pool{grid-column:1/-1}.pr-object-model[data-object="seedling"] .pr-shelf{grid-column:span 2}.pr-object-model[data-object="seedling"]:has(.pr-shelf:nth-last-child(4):not([hidden])) .pr-shelf{grid-column:auto}.pr-object-model[data-object="seedling"] .pr-object{width:36px!important}.pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:50px}.pr-key{font-size:12px;line-height:1.25}.pr-equation{font-size:22px;line-height:1.25;padding:3px}.pr-story{gap:5px}.pr-story h2{font-size:18px;line-height:1.3}.pr-story p{font-size:15px;line-height:1.3}.pr-story>small{display:none}.pr-score{font-size:13px}.pr-trace{gap:4px}.pr-trace>span{font-size:14px;padding:4px 7px}
.pr-object-model[data-object="sticker"]{grid-template-columns:1fr 1fr;gap:8px}.pr-object-model[data-object="sticker"] .pr-zone{background:#fff9e8;border:1px solid #e2d1a7;border-radius:6px;box-shadow:2px 3px 0 #d4c4a326;grid-column:auto}.pr-object-model[data-object="sticker"] .pr-zone[data-pr-zone="main"]{grid-column:1/-1}.pr-object-model[data-object="sticker"] .pr-zone-body{grid-template-columns:repeat(10,minmax(0,1fr));grid-auto-rows:23px;gap:3px;padding:3px;max-width:460px}.pr-object-model[data-object="sticker"] .pr-object{height:22px;width:100%;max-width:22px}.pr-object-model[data-object="sticker"] .pr-reserve .pr-zone-body,.pr-object-model[data-object="sticker"] .pr-used .pr-zone-body,.pr-object-model[data-object="sticker"] .pr-departed .pr-zone-body{grid-template-columns:repeat(7,minmax(0,1fr))}
.pr-support{gap:7px;align-content:start}.pr-support>h2{display:none}.pr-original{font-size:12px;line-height:1.25;padding-top:5px}.pr-return{min-height:44px;padding:8px 12px;font-size:14px}.pr-help{min-height:44px;width:100%}.teacher-classroom:has(.grade3-problems-astra-board) .lesson-support-dock{grid-template-columns:1fr}.pr-answer{min-height:48px}.pr-word-answers .pr-answer{font-size:14px;line-height:1.25}.teacher-classroom:has(.grade3-problems-astra-board) .lesson-footer:has([data-pr-next]) .pr-answer{min-height:44px}.pr-next,.pr-action{min-height:44px}.pr-answer-form button{min-height:44px}.pr-answer-form input{min-height:44px;box-sizing:border-box}.pr-estimate{gap:8px}.pr-estimate>h3{display:none}.pr-round-card{padding:16px 6px;gap:8px}.pr-round-card small{font-size:12px}.pr-round-card span{font-size:24px}
/* Genuine payment separates the returned note from the seller's note. */
.pr-money-model{display:grid;gap:12px}.pr-products{gap:30px;border-bottom:8px solid transparent;border-image:url('/assets/generated/grade3/theme3/word-problems-astra/shelf-v1.png') 20 stretch}.pr-products>div{position:relative;gap:3px}.pr-products img{height:88px;width:88px}.pr-products b{font-size:18px}.pr-payment{display:flex;justify-content:center;gap:30px;min-height:90px}.pr-payment>section{display:grid;justify-items:center;align-content:center;gap:4px}.pr-payment small{font-size:12px}.pr-banknote{display:block;width:145px;transform-origin:top left}.pr-banknote svg{display:block;width:100%;height:auto;overflow:hidden;filter:drop-shadow(1px 3px 2px #273b352a)}.pr-money-split{font-size:14px;gap:12px}.pr-money-split>span{padding:4px 8px;border:0;background:none}.pr-money-split b{font-size:18px}
/* The same textured ribbon has proportional cut segments; cuts are not labels. */
.pr-length-model{gap:8px}.pr-length-model h3{font-size:18px}.pr-ribbon-stage{position:relative;padding:10px 0 4px;min-height:116px}.pr-ribbon{height:45px;position:relative;display:flex;border-radius:0;background:none;box-shadow:none;align-items:start}.pr-ribbon .pr-ribbon-segment{position:relative;flex:none!important;min-width:0!important;height:45px;padding:0;background:none;border:0;display:block;transition:none!important;transform:none;transform-origin:top left}.pr-ribbon-fabric{display:block;height:45px;background:url('/assets/generated/grade3/theme3/word-problems-astra/ribbon-v1.png') center/100% 100%;filter:drop-shadow(0 2px 2px #8a694135)}.pr-ribbon-segment[data-cut="true"] .pr-ribbon-fabric{border-right:1px dashed #805e36}.pr-ribbon-segment>b{display:block;font-size:14px;margin-top:3px;line-height:1.2}.pr-ruler{position:relative;display:flex;justify-content:space-between;border-top:2px solid #548178;margin-top:52px;padding-top:8px;font-size:12px}.pr-ruler>i{position:absolute;top:0;width:1px;height:5px;background:#548178}.pr-ruler>span{background:#edf6f0;z-index:1}
.pr-mass-model{gap:8px}.pr-bags{gap:22px}.pr-grain-bag{width:95px;height:125px;transform-origin:top left}.pr-grain-bag>img,.pr-filled-package>img{width:100%;height:100%;object-fit:contain}.pr-grain-bag>b,.pr-filled-package>b{background:#fff7dc;border:1px solid #cdb885;border-radius:6px;padding:2px 4px;left:20%;right:20%;top:65%;font-size:17px}.pr-filled-packages{gap:10px}.pr-filled-package{width:72px;height:100px;transform-origin:top left}.pr-filled-package>b{font-size:14px;left:15%;right:15%}.pr-package{padding:0;border:0;background:none;font-size:14px}.pr-mass-model [data-pr-package-count]{font-size:14px}
.pr-time-model{display:block;position:relative;height:210px;isolation:isolate}.pr-time-card{position:absolute;box-sizing:border-box;height:100px;padding:5px 3px;gap:3px;align-content:center;border-radius:10px 10px 0 0;border:0;border-bottom:8px solid #41a79a;background:#e5f4f1;transform-origin:top left}.pr-time-card img{height:45px;width:60px}.pr-time-card b{font-size:14px;line-height:1.2}.pr-time-card>span{font-size:12px}.pr-time-card.pr-rest{background:#f7ecd8;border-color:#ccaa69}.pr-rest-mark{font-size:25px;line-height:42px}.pr-time-model[data-stage="1"] .pr-rest,.pr-time-model[data-stage="2"] .pr-rest{opacity:.5;text-decoration:line-through}.pr-time-model[data-stage="2"] .pr-rest{height:85px}.pr-time-model[data-stage="2"] .pr-time-card:not(.pr-rest){border-color:#0c8576}.pr-time-track{position:absolute;bottom:-8px;height:8px;left:0;right:0;background:repeating-linear-gradient(90deg,transparent 0 calc(100% / var(--duration) - 1px),#ffffffa0 calc(100% / var(--duration) - 1px) calc(100% / var(--duration)))}
@media(max-width:760px){
 body:has(#teaching-board.grade3-problems-astra-board) .teacher-classroom{padding-bottom:0!important}
 body:has(#teaching-board.grade3-problems-astra-board) .lesson-teacher{top:0!important}
 .pr-object-model{gap:7px}.pr-object-model:not([data-object="sticker"]) .pr-zone-body{--pr-row:40px;gap:0 2px;padding:0 1px 8px}.pr-object-model:not([data-object="sticker"]) .pr-object{width:31px;height:calc(var(--pr-row) - 8px)!important}.pr-object-model.pr-dense .pr-object:not(.pr-bundle){width:27px}.pr-object-model .pr-object.pr-bundle{width:36px}.pr-value,.pr-zone h3,.pr-key{font-size:12px}.pr-zone h3{margin-bottom:4px}.pr-shelf-strips>img{height:15px}.pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:35px}.pr-object-model[data-object="seedling"] .pr-object{width:25px!important}.pr-object-model[data-object="seedling"]{gap:6px}.pr-equation{font-size:20px}.pr-story h2{font-size:16px}.pr-story p{font-size:13px}.pr-word-answers .pr-answer{font-size:12px;line-height:1.2;height:auto}.pr-estimate{gap:6px}.pr-round-card span{font-size:19px}.pr-round-card small{font-size:12px}.pr-builder legend{font-size:12px}.pr-builder button{min-width:44px}.pr-builder-fields{gap:6px}.pr-original{font-size:12px}
 .pr-products img{width:62px;height:62px}.pr-products b{font-size:15px}.pr-payment{gap:16px;min-height:65px}.pr-banknote{width:112px}.pr-money-model{gap:7px}.pr-money-split{gap:4px}.pr-money-split>span{font-size:12px}.pr-money-split b{font-size:15px}
 .pr-ribbon-segment>b{font-size:12px}.pr-length-model h3{font-size:16px}.pr-ribbon-stage{padding-top:4px;min-height:100px}.pr-ribbon,.pr-ribbon-fabric,.pr-ribbon .pr-ribbon-segment{height:34px}.pr-ruler{margin-top:50px}
 .pr-grain-bag{width:65px;height:95px}.pr-grain-bag>b{font-size:13px;left:12%;right:12%;padding:1px}.pr-filled-package{width:47px;height:73px}.pr-filled-package>b{font-size:12px;left:8%;right:8%;padding:1px}.pr-bags,.pr-filled-packages{gap:5px}.pr-package,.pr-mass-model [data-pr-package-count]{font-size:12px}.pr-time-card b{font-size:12px}.pr-time-card img{height:35px;width:45px}.pr-time-card{height:97px}.pr-time-model{height:202px}
}
@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-problems-astra-board) .lesson-header{height:70px!important;min-height:70px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-template-rows:44px 14px!important;padding:3px 9px!important;gap:3px 6px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-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-problems-astra-board) .lesson-breadcrumb strong{font-size:13px!important;line-height:1.1!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .lesson-breadcrumb span,body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .restart-lesson b,body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .skip-section,body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .lesson-time{display:none!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .back-button{grid-column:1!important;grid-row:1!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-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-problems-astra-board) .section-track{grid-column:1/-1!important;grid-row:2!important;width:100%!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .lesson-teacher{display:grid!important;grid-template-columns:70px 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-problems-astra-board) .lesson-teacher .lesson-avatar{grid-column:1!important;grid-row:1/3!important;width:70px!important;height:92px!important;margin:0!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-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-problems-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-problems-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-problems-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-problems-astra-board) .teacher-classroom{padding-top:6px!important;gap:6px!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .teaching-area{padding-top:16px!important}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers):has(.pr-next){display:grid!important;grid-template-columns:1fr 1.5fr!important;align-items:stretch!important}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-next) .pr-answers{min-width:0;width:100%}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers) .pr-next{width:100%;font-size:12px!important;line-height:1.2;min-width:0;margin:0}
}
@media(max-width:480px) and (max-height:640px){
 .teaching-board.grade3-problems-astra-board{padding:8px}.pr-workspace,.pr-main,.pr-alternative{gap:5px}.pr-zone{padding:2px}.pr-object-model{gap:5px}.pr-object-model:not([data-object="sticker"]) .pr-zone-body{--pr-row:28px;padding-bottom:6px}.pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:27px}.pr-zone h3{font-size:12px;line-height:1.1;margin-bottom:3px}.pr-shelf-strips>img{height:12px}.pr-object-model .pr-value{font-size:12px;background:#ffffffdb;top:-2px}.pr-object-model[data-object="seedling"] .pr-object{width:20px!important}.pr-key{font-size:12px;line-height:1.1}.pr-equation{font-size:17px;line-height:1.15;padding:2px}.pr-story h2{font-size:14px;line-height:1.2}.pr-story p{font-size:12px;line-height:1.2}.pr-answers{gap:4px}.pr-answer{min-height:44px;padding:4px}.pr-word-answers .pr-answer{height:auto!important;min-height:64px!important;padding:3px;font-size:12px!important;line-height:1.2!important}.pr-next,.pr-action,.pr-return{min-height:44px;font-size:12px;padding:5px 9px}.pr-original{font-size:12px;line-height:1.15}.pr-support{gap:5px}.pr-score{font-size:12px;line-height:1.2}.pr-trace>span{font-size:12px;line-height:1.2;padding:3px}.pr-round-card{padding:10px 3px;gap:7px}.pr-round-card span{font-size:16px}
 .pr-money-model{gap:4px}.pr-products img{height:45px;width:45px}.pr-products b{font-size:13px}.pr-payment{min-height:54px}.pr-banknote{width:92px}.pr-money-split b{font-size:13px}.pr-grain-bag{height:80px;width:55px}.pr-filled-package{height:65px;width:38px}.pr-ribbon-stage{min-height:85px}.pr-ribbon,.pr-ribbon .pr-ribbon-segment,.pr-ribbon-fabric{height:26px}.pr-ruler{margin-top:47px}.pr-time-model{height:166px}.pr-time-card{height:77px;padding:3px 1px}.pr-time-card img{height:27px;width:38px}.pr-time-card>span{font-size:12px}.pr-rest-mark{line-height:27px;font-size:20px}.pr-time-model[data-stage="2"] .pr-rest{height:49px}.pr-builder-fields{gap:3px}.pr-builder fieldset{padding:3px}.pr-builder legend{font-size:12px}.pr-builder button{font-size:15px;min-height:44px;padding:2px}.pr-builder h2{display:none}.pr-draft-preview{font-size:12px;line-height:1.2}
 .pr-object-model[data-object="sticker"] .pr-zone-body{grid-auto-rows:15px;gap:1px}.pr-object-model[data-object="sticker"] .pr-object{height:15px;max-width:15px}.pr-object-model[data-object="sticker"]{gap:4px}
}
body .topic-lesson-shell[data-grade="3"] #teaching-board.grade3-problems-astra-board>.pr-workspace{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;align-content:start!important}
.pr-work-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%}.pr-map-button{display:grid;align-content:center;gap:2px;min-height:58px;min-width:0;padding:6px;border:1px solid #accfc4;border-radius:12px;background:#fff;color:#225b56;font:750 13px/1.2 Arial,sans-serif;text-align:center;cursor:pointer}.pr-map-button>span{font-size:12px}.pr-map-button[data-done="true"]{background:#e8f7ec;border-color:#3b9a73}.pr-map-button:focus-visible{outline:3px solid #e5ac30;outline-offset:2px}
@media(max-width:480px){.pr-work-map{gap:4px}.pr-map-button{min-height:58px;padding:3px;font-size:12px;line-height:1.15}}
@media(max-width:480px) and (max-height:640px){.pr-work-map{gap:3px}.pr-map-button{min-height:50px;padding:3px 2px;font-size:12px;line-height:1.05}}
.pr-mass-model .pr-bags{justify-content:space-around}.pr-mass-model[data-stage="1"] .pr-bags{justify-content:center;gap:0}.pr-time-model[data-stage="1"] .pr-rest{height:85px}
@media(max-width:480px) and (max-height:640px){.pr-time-model[data-stage="1"] .pr-rest{height:49px}}
#teaching-board.grade3-problems-astra-board .pr-zone h3{font:800 12px/1.2 Arial,sans-serif!important}
.pr-main:has(.pr-trace:not([hidden]))>.pr-equation{display:none!important}
.pr-products{position:relative;border:0;border-image:none;padding-bottom:17px}.pr-products:after{content:'';position:absolute;bottom:0;left:0;right:0;height:16px;background:url('/assets/generated/grade3/theme3/word-problems-astra/shelf-v1.png') center/100% 100% no-repeat}
.pr-builder-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pr-builder-event{display:grid;gap:3px;text-align:center;color:#245f55;min-width:0}.pr-builder-event small{font-size:12px}.pr-builder-event>span{display:flex;align-items:center;justify-content:center;gap:8px;border-bottom:4px solid #b28556;padding:3px}.pr-builder-event img{width:42px;height:37px;object-fit:contain}.pr-builder-event b{font-size:22px}.pr-builder:has(.pr-builder-preview) .pr-draft-preview{display:none}
@media(max-width:480px) and (max-height:640px){
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .teaching-area{padding-top:0!important}
 .pr-builder-events{gap:5px}.pr-builder-event img{height:27px;width:32px}.pr-builder-event b{font-size:18px}.pr-builder-event>span{padding:1px;gap:4px;border-bottom-width:3px}.pr-builder button img{height:26px;width:30px}
}
.pr-object-model[data-pr-variant="missing"][data-state="1"]{grid-template-columns:1fr 1fr}.pr-object-model[data-pr-variant="missing"][data-state="2"]{grid-template-columns:19fr 13fr;gap:0}.pr-object-model[data-pr-variant="missing"][data-state="2"] .pr-zone{padding-left:0;padding-right:0}
@media(max-width:760px){
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers):has(.pr-next){display:grid!important;grid-template-columns:1fr 2fr!important;align-items:stretch!important}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-next) .pr-answers{min-width:0;width:100%}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers) .pr-next{width:100%;font-size:12px!important;line-height:1.2;min-width:0;margin:0}
 .pr-object-model[data-object="sticker"] .pr-zone-body{grid-auto-rows:20px;gap:2px}.pr-object-model[data-object="sticker"] .pr-object{height:20px;max-width:20px}
}
@media(max-width:480px) and (max-height:640px){
 .pr-object-model[data-object="sticker"]:has(.pr-reserve:not([hidden])){grid-template-columns:2fr 1fr}.pr-object-model[data-object="sticker"]:has(.pr-reserve:not([hidden])) .pr-zone[data-pr-zone="main"]{grid-column:1}.pr-object-model[data-object="sticker"]:has(.pr-reserve:not([hidden])) .pr-reserve{grid-column:2}.pr-object-model[data-object="sticker"] .pr-zone-body{grid-auto-rows:15px;gap:1px}.pr-object-model[data-object="sticker"] .pr-object{height:15px;max-width:15px}.pr-object-model[data-object="sticker"] .pr-reserve .pr-zone-body{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:480px) and (max-height:640px){
 .pr-object-model:not([data-object="sticker"]):not([data-object="seedling"]) .pr-zone-body{--pr-row:26px}
 .pr-money-model .pr-products img{width:38px;height:38px}.pr-money-model .pr-payment{min-height:45px}.pr-money-model{gap:3px}
}
/* Anchor the opaque book bottom onto the wooden top, after transparent delivery padding was removed. */
.pr-object-model[data-object="book"] .pr-object:not(.pr-bundle)>img{margin-bottom:-2px}
@media(max-width:480px) and (max-height:640px){.pr-money-model .pr-banknote{width:80px}}
.pr-map-button{overflow-wrap:anywhere}
@media(max-width:480px) and (max-height:640px){.pr-object-model[data-pr-model="largeBooks"]:has(.pr-reserve:not([hidden])){grid-template-columns:1fr 1fr}}
@media(min-width:761px){.pr-object-model[data-pr-model="builder"] .pr-zone-body{--pr-row:54px}}
@media(min-width:761px){
 .pr-object-model[data-pr-variant="missing"] .pr-zone-body{--pr-row:48px}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers):has(.pr-next){display:grid!important;grid-template-columns:1fr 2fr!important;align-items:stretch!important}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-next) .pr-answers{min-width:0;width:100%}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers) .pr-next{width:100%;line-height:1.2;min-width:0;margin:0}
}
@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-problems-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-problems-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-problems-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-problems-astra-board) .back-button{grid-column:1!important;grid-row:2!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-astra-board) .restart-lesson{grid-column:3!important;grid-row:2!important}
 body:not([data-g3-review-view="board"]):has(#teaching-board.grade3-problems-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-problems-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-problems-astra-board) .section-segment span{display:block!important;font-size:12px!important;line-height:1.05!important;overflow-wrap:anywhere}
}
@media(max-width:760px){
 .pr-object-model[data-object="sticker"]{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)}
 .pr-object-model[data-object="sticker"] .pr-zone[data-pr-zone="main"],.pr-object-model[data-object="sticker"]:has(.pr-reserve:not([hidden])) .pr-zone[data-pr-zone="main"]{grid-column:1;grid-row:1/span 3}
 .pr-object-model[data-object="sticker"] .pr-reserve,.pr-object-model[data-object="sticker"] .pr-used,.pr-object-model[data-object="sticker"] .pr-departed{grid-column:2}
 .pr-object-model[data-object="sticker"] .pr-reserve .pr-zone-body,.pr-object-model[data-object="sticker"] .pr-used .pr-zone-body,.pr-object-model[data-object="sticker"] .pr-departed .pr-zone-body{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:480px) and (max-height:640px){
 .pr-object-model[data-object="sticker"]:has(.pr-reserve:not([hidden])){grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)}
 .pr-object-model[data-object="sticker"] .pr-zone-body{grid-auto-rows:14px}.pr-object-model[data-object="sticker"] .pr-object{height:14px;max-width:14px}
 .teaching-board.grade3-problems-astra-board{padding:6px}
 .pr-money-model .pr-products img{width:34px;height:34px}
 .pr-builder .pr-builder-events{gap:3px}
}
@media(max-width:480px) and (max-height:640px){
 .teaching-board.grade3-problems-astra-board{padding:8px}
 .teaching-board.grade3-problems-astra-board:has([data-pr-model="builder"],[data-pr-physical="money"]){padding:6px}
 .pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:26px}
 body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-next):not(:has(.pr-word-answers)) .pr-answer,body:has(#teaching-board.grade3-problems-astra-board) #lesson-footer:has(.pr-answers):not(:has(.pr-word-answers)) .pr-next{height:44px!important;min-height:44px!important;max-height:44px!important}
}
@media(max-width:760px){.pr-object-model[data-object="sticker"] .pr-zone[data-pr-zone="main"]{grid-column:1!important;grid-row:1/span 3!important}}
@media(max-width:480px) and (max-height:640px){
 .pr-time-model{height:128px}.pr-time-card{height:66px}.pr-time-card img{height:20px;width:30px}.pr-time-model[data-stage="1"] .pr-rest,.pr-time-model[data-stage="2"] .pr-rest{height:40px}
}

@media(max-width:480px) and (max-height:640px){
 .pr-object-model[data-object="sticker"] .pr-reserve,.pr-object-model[data-object="sticker"] .pr-used,.pr-object-model[data-object="sticker"] .pr-departed{position:relative;padding:3px}
 .pr-object-model[data-object="sticker"] :is(.pr-reserve,.pr-used,.pr-departed) .pr-zone-body{grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:13px;padding:0;gap:1px}
 .pr-object-model[data-object="sticker"] :is(.pr-reserve,.pr-used,.pr-departed) h3{margin:0 18px 3px 0;font-size:12px}
 .pr-object-model[data-object="sticker"] :is(.pr-reserve,.pr-used,.pr-departed) [data-pr-count]{position:absolute;right:3px;top:3px;font-size:12px;line-height:14px;margin:0}
 body:has(#teaching-board.grade3-problems-astra-board) .teacher-classroom{padding-bottom:0!important}
}
@media(max-width:480px) and (max-height:640px){
 .pr-object-model[data-object="sticker"],.pr-object-model[data-object="sticker"]:has(.pr-reserve:not([hidden])){grid-template-columns:minmax(0,2fr) minmax(0,1.15fr)}
 .pr-object-model[data-object="seedling"] .pr-zone-body{--pr-row:25px}
}
/* Ten-ball baskets must fit their own value-bearing object instead of obscuring the shelf label. */
.pr-ten-balls{height:100%;box-sizing:border-box;grid-template-rows:repeat(2,minmax(0,1fr));padding:1px}
.pr-ten-balls img{height:100%;min-height:0}
