.v2-board{container-type:inline-size;min-height:0!important;background:#f7ecd9!important;border:1px solid #ddcfb3!important;overflow:hidden!important}
.v2-scene{width:100%;height:100%;min-height:0;box-sizing:border-box;position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:16px 22px 12px;color:#173e42;background:linear-gradient(#fff9eeed,#fff9eee8),url('/demo/assets/grade4-first-v2/library.png') center/cover}
.v2-visual{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;position:relative;text-align:center}
.v2-caption{font-size:clamp(14px,2.6cqw,17px);line-height:1.45;text-align:center;max-width:66ch;margin:10px auto 0;padding-top:9px;border-top:1px solid #ddcfb3;min-height:2.7em}
.v2-number{display:flex;align-items:center;justify-content:center;gap:.25em;font:800 clamp(40px,10cqw,82px)/1.15 system-ui;letter-spacing:.025em;font-variant-numeric:tabular-nums}
.v2-number>span{padding:.09em .13em;border-radius:10px;border-bottom:4px solid transparent}
.v2-number.left>.v2-left,.v2-number.right>.v2-right{background:#ffebbe;border-color:#b06a29;box-shadow:0 0 0 2px #e9bf72}
.v2-number.all>span{border-color:#4f817c}.v2-number .v2-left{color:#98602c}.v2-number .v2-right{color:#155963}
.v2-record{padding:12px 26px;background:#fffaf0;border:1px solid #decbb1;border-radius:16px;box-shadow:0 5px 0 #e8dcc6;max-width:100%;box-sizing:border-box}
.v2-reading{font-size:clamp(18px,3.6cqw,26px);line-height:1.35;margin:9px 0 0}
.v2-note{font-size:clamp(16px,3cqw,21px);line-height:1.35;min-height:1.35em;margin:0;max-width:45ch}
.v2-model{display:flex;align-items:flex-end;justify-content:center;gap:16px;width:100%;min-height:0;max-height:210px}
.v2-group{display:flex;flex-direction:column;align-items:center;min-width:0;flex:1;max-width:220px;gap:7px}
.v2-objects{display:flex;align-items:flex-end;justify-content:center;gap:4px;flex-wrap:wrap;width:100%;min-height:65px;border-bottom:3px solid #b69162;padding-bottom:3px}
.v2-object{flex:0 1 42px;min-width:0;max-width:45%;position:relative}
.v2-group[data-unit="1000"] .v2-object{flex-basis:46px}.v2-unit{position:relative;width:100%;line-height:0}.v2-unit img{width:100%;height:auto;display:block}
.v2-unit-1000 img{height:100px;object-fit:contain}.v2-unit-100 img{height:53px;object-fit:contain}.v2-unit-1 img{height:41px;object-fit:contain}
.v2-unit b{position:absolute;bottom:18%;left:50%;transform:translateX(-50%);font:800 12px/1.2 system-ui;color:#352a1d;background:#fff8e8;border-radius:3px;padding:1px 3px;white-space:nowrap}
.v2-unit-1000 b{bottom:auto;top:15%;font-size:11px}.v2-unit-1 b{display:none}
.v2-ten{display:grid;grid-template-columns:repeat(2,1fr);gap:0;position:relative;padding-bottom:17px}.v2-ten img{display:block;width:100%;height:14px;object-fit:contain}.v2-ten b{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font:800 12px/1.2 system-ui;background:#fff8e8;padding:1px 4px;border-radius:3px}
.v2-group[data-unit="10"] .v2-object{flex-basis:36px}.v2-group-label{font-size:clamp(11px,2cqw,13px);line-height:1.2;text-align:center;min-height:2.4em;max-width:100%}
.v2-empty{font-size:15px;color:#7d7b70;align-self:center;padding:10px;border:1px dashed #b9ad93;border-radius:10px}
.v2-intro{background:url('/demo/assets/grade4-first-v2/library.png') center/cover}.v2-intro .v2-visual{align-items:center;justify-content:flex-start;padding-top:8px}.v2-intro-copy{background:#fff7e8df;border:1px solid #e8d7b6;border-radius:16px;padding:12px 22px;z-index:1;max-width:70%}.v2-intro-copy small{font-size:11px;letter-spacing:2px}.v2-intro-copy h2{font:700 clamp(25px,5.4cqw,42px)/1.15 Georgia,serif;margin:10px 0;color:#20555a}.v2-intro-copy p{font-size:17px;margin:10px 0 0}.v2-intro-book{position:absolute;bottom:0;height:42%;width:45%;left:28%}.v2-intro-book img{height:100%;width:100%;object-fit:contain}.v2-intro .v2-caption{background:#fff9eef5;border-radius:12px;padding:8px 12px;z-index:1}
.v2-prompt{font-size:clamp(17px,3.5cqw,23px);line-height:1.4;margin:0}.v2-spoken{font-size:clamp(22px,4.6cqw,34px);font-weight:750;line-height:1.35;max-width:25ch;margin:0}
.v2-entry-label{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:15px;width:100%}.v2-entry{width:95%;max-width:420px;box-sizing:border-box;border:2px solid #6f9690;border-radius:12px;font:700 clamp(32px,8cqw,52px)/1.4 system-ui;text-align:center;letter-spacing:5px;color:#174e53;background:#fffdf7;min-height:54px}
.v2-footer{display:block!important;width:100%!important;min-height:0!important;box-sizing:border-box!important}
.v2-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v2-read-options{grid-template-columns:1fr}
.v2-footer button:not([data-answer]):not(.phase-button),.v2-help-button{font:700 17px/1.25 system-ui;color:#174e53;border:2px solid #b4c6bc;border-radius:12px;min-width:44px;min-height:46px;padding:9px 12px;background:#fffcf5;cursor:pointer}
.v2-read-options button{min-height:45px;padding:7px 12px}.v2-footer button:hover,.v2-footer button:focus-visible,.v2-help-button:not(:disabled):hover,.v2-help-button:focus-visible,.v2-help button:focus-visible,.v2-help button:hover{outline:3px solid #e9a13c;outline-offset:1px}
.v2-footer .v2-wrong{border-color:#b95d4f;background:#ffefe9}.v2-keypad{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.v2-keypad button{padding:6px;font-size:20px}.v2-keypad [data-check]{font-size:14px;background:#205e5b;color:#fff}
.v2-help-button{width:100%}.v2-help-button:disabled{opacity:.5;cursor:default}.v2-help{position:absolute;inset:8px;background:#fff9ec;border:2px solid #8ca99e;border-radius:14px;padding:12px;z-index:5;overflow:auto;box-shadow:0 8px 24px #193f4229;color:#173e42}.v2-help[hidden]{display:none}.v2-help header{display:flex;align-items:center;justify-content:space-between;gap:8px}.v2-help header button{flex:0 0 44px;width:44px;height:44px;border:1px solid #8ca99e;border-radius:50%;background:#fff;font-size:25px;color:#173e42;cursor:pointer}.v2-help-task{font-size:14px;background:#e4eee4;padding:8px;border-radius:8px;margin:5px 0 10px}.v2-help-model{display:grid;justify-items:center;gap:7px}.v2-help .v2-number{font-size:clamp(30px,7cqw,54px)}.v2-help p{text-align:center;line-height:1.4}.v2-help-explain{font-size:15px}.v2-help-open>.v2-caption{visibility:hidden}.v2-help .v2-model{max-height:130px}.v2-help .v2-unit-1000 img{height:65px}.v2-help .v2-unit-100 img{height:38px}.v2-help .v2-unit-1 img{height:32px}.v2-help .v2-ten img{height:10px}
.v2-success{font-size:16px;background:#deecde;color:#275b3f;border-radius:12px;padding:8px 16px}.v2-summary-rule{font-size:17px;line-height:1.45;margin:0}.v2-summary-count{font-size:15px;background:#dfecdf;padding:9px 14px;border-radius:10px;margin:0}.v2-visual h2{font-size:25px;margin:0}
.v2-group[data-unit="100"] .v2-object{flex-basis:65px}.v2-unit-100 img{height:65px}.v2-support-detail{width:100%}.v2-support-detail:empty{display:none}.v2-support-detail>small{display:block;text-align:center;margin:8px}
.v2-note,.v2-prompt{display:none}.v2-caption:empty{display:none}.v2-scene:has(.v2-caption:empty){grid-template-rows:minmax(0,1fr)}.v2-scene:not(.v2-intro):has(.v2-question) .v2-caption{min-height:0}.v2-intro-copy>p{display:none}
.v2-model:has([data-unit="1000"]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;row-gap:7px}.v2-model:has([data-unit="1000"]) .v2-group{max-width:none;width:100%}.v2-group[data-unit="1000"]{grid-column:1/-1}.v2-group[data-unit="1000"] .v2-objects{flex-wrap:nowrap;max-width:300px}.v2-group[data-unit="1000"] .v2-object{flex-basis:55px;flex-shrink:1}.v2-group[data-unit="1000"] .v2-group-label{min-height:0}.v2-unit-1000 img{height:78px}.v2-help .v2-model{max-height:none}.v2-help .v2-group[data-unit="1000"] .v2-objects{min-height:0}.v2-help .v2-group-label{min-height:0}.v2-help .v2-unit-1000 img{height:54px}
@container(max-width:500px){.v2-scene{padding:12px 12px 9px}.v2-model{gap:7px}.v2-group-label{font-size:11px}.v2-object{flex-basis:34px}.v2-group[data-unit="1000"] .v2-object{flex-basis:32px}.v2-unit-1000 img{height:70px}.v2-unit-1000 b{font-size:9px;padding:1px}.v2-unit-100 img{height:40px}.v2-unit-1 img{height:30px}.v2-group[data-unit="10"] .v2-object{flex-basis:26px}.v2-ten img{height:11px}.v2-visual{gap:10px}.v2-record{padding:9px 14px}.v2-caption{font-size:14px;line-height:1.4}.v2-help-explain{font-size:14px}.v2-intro-copy{max-width:75%;padding:10px}.v2-intro-copy small{font-size:9px;letter-spacing:1px}}
@media(max-width:650px){.v2-footer button{font-size:16px;min-height:44px;padding:7px}.v2-keypad{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.v2-keypad [data-erase]{grid-column:span 2}.v2-keypad [data-check]{grid-column:span 3;font-size:16px}.grade4-read-write-shell:has(.v2-board) .teaching-area{gap:7px!important}.v2-read-options button{font-size:15px}.v2-help .v2-model{gap:4px}}
.v2-scene .v2-group[data-unit="1000"] .v2-object{flex-basis:55px}.v2-scene .v2-unit-1000 img,.v2-scene .v2-unit-100 img,.v2-scene .v2-unit-1 img{height:auto;object-position:bottom}.v2-scene .v2-group[data-unit="1000"] .v2-objects{min-height:0}.v2-help .v2-group[data-unit="1000"] .v2-object{flex-basis:38px}
.v2-group[data-unit="1"] .v2-object{flex-basis:30px;max-width:30px}.v2-help .v2-group[data-unit="1"] .v2-object{flex-basis:24px;max-width:24px}
.v2-help-open>.v2-caption{display:none}.v2-scene.v2-help-open{grid-template-rows:minmax(0,1fr)}
.v2-counting{--group-reveal:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 9px;width:min(88%,450px);padding:18px;border:3px solid transparent;border-radius:24px;position:relative;box-sizing:border-box}
.v2-counting.is-grouped{border-color:rgb(63 124 112 / var(--group-reveal));background:rgb(222 236 218 / var(--group-reveal));box-shadow:0 6px 0 rgb(171 198 174 / var(--group-reveal))}
.v2-count-book img{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 2px #493d3120)}
.v2-count-label{font:700 clamp(24px,5cqw,36px)/1.3 system-ui}
.v2-teaching-groups{display:flex;align-items:center;justify-content:center;gap:14px;width:100%}
.v2-teaching-group{width:30%;max-width:160px}
.v2-ten{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;padding:6px 3px 19px;border:1.5px solid #72998a;border-radius:9px;background:#e9f0df;box-sizing:border-box}
.v2-ten img{height:auto;width:100%}.v2-ten b{background:none;font-size:12px;bottom:2px}
.v2-group[data-unit="10"] .v2-objects{flex-direction:column;align-items:center;gap:4px}
.v2-group[data-unit="10"] .v2-object{flex:0 0 auto;width:100%;max-width:100px}
.v2-teaching-group .v2-ten{padding:10px 4px 28px;border-width:2px;border-radius:14px}.v2-teaching-group .v2-ten b{font-size:18px;bottom:4px}
.v2-help .v2-ten img{height:auto}.v2-help .v2-group[data-unit="10"] .v2-object{max-width:82px}
.v2-help .v2-group[data-unit="10"]{flex:1.6}
.v2-help .v2-model:has([data-unit="1000"]){grid-template-columns:.8fr 1.6fr .8fr}
.v2-help .v2-group[data-unit="10"] .v2-objects{flex-direction:row;flex-wrap:wrap}
.v2-help .v2-group[data-unit="10"] .v2-object{flex:0 1 calc(50% - 2px);max-width:76px}
.v2-help>p:last-child{display:none}.v2-help-task{margin:3px 0 7px;padding:6px}.v2-help .v2-support-detail>small{margin:5px}
.v2-help .v2-objects{min-height:0}.v2-help{padding:10px}.v2-help .v2-group{gap:5px}
.v2-number>span{display:inline-flex}.v2-digit{display:inline-grid;place-items:center;position:relative;min-width:.62em}
.v2-digit-current{display:block}.v2-digit-before{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.v2-changing{margin-top:16px}.v2-digit-changing{background:#ffe1a0;border-radius:7px;box-shadow:inset 0 -3px #bb7628;color:#754510}
.v2-digit-changing::after{content:attr(data-place-label);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font:700 11px/1.4 system-ui;letter-spacing:0;color:#85551d;white-space:nowrap}
.v2-group-changing .v2-objects{border-bottom-color:#bf7d2c}.v2-group-changing .v2-group-label{color:#85551d;font-weight:750}
.v2-scene .v2-group[data-unit="1000"] .v2-object{flex-basis:70px}.v2-scene .v2-group[data-unit="1000"] .v2-objects{max-width:440px}
.v2-model:has([data-unit="1000"]){grid-template-columns:1.15fr 1fr 1fr}
.v2-model:not(:has([data-unit="1000"])) .v2-group[data-unit="100"]{flex:1.25}
.v2-scene .v2-group[data-unit="100"] .v2-object{flex-basis:90px}
.v2-model:has(.v2-group:only-child){max-height:none}
.v2-visual>.v2-model{flex-shrink:0}
.v2-model>.v2-group:only-child{max-width:480px}
.v2-scene .v2-model>.v2-group[data-unit="100"]:only-child .v2-object{flex-basis:170px}
.v2-scene .v2-model>.v2-group[data-unit="1000"]:only-child .v2-object{flex-basis:110px}
.v2-visual>.v2-model>.v2-group[data-unit="1000"]:only-child .v2-object:only-child{flex-basis:170px}
.v2-unit-100 b{bottom:20%;font-size:clamp(11px,2.7cqw,17px)}.v2-unit-1000 b{top:10%;font-size:clamp(10px,2.3cqw,14px)}
.v2-help .v2-group[data-unit="1000"] .v2-object{flex-basis:44px}.v2-help .v2-group[data-unit="100"] .v2-object{flex-basis:65px}
.v2-help .v2-model>.v2-group[data-unit="1000"]:only-child .v2-object{flex-basis:60px}
.v2-help .v2-unit b{font-size:10px}.v2-help .v2-model:has([data-unit="1000"]){grid-template-columns:.8fr 1.6fr .8fr}
.lesson-shell[data-grade="4"].grade4-read-write-shell .v2-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lesson-shell[data-grade="4"].grade4-read-write-shell .v2-footer .theme4-final-choices button{min-width:0;min-height:68px;height:auto;padding:12px 10px;border:3px solid #a7d8d1;border-radius:17px;background:#fff;color:#153f51;grid-column:auto}
.lesson-shell[data-grade="4"].grade4-read-write-shell .v2-footer .theme4-final-choices button>b{font-size:clamp(15px,2.8vw,20px);white-space:normal;overflow-wrap:break-word;line-height:1.25}
.lesson-shell[data-grade="4"].grade4-read-write-shell .v2-footer .theme4-final-choices .v2-wrong{border-color:#b95d4f;background:#ffefe9}
/* The shared touch-target guard sets min-height with !important. */
.lesson-shell[data-grade="4"].grade4-read-write-shell #lesson-footer.v2-footer .theme4-final-choices button{min-height:68px!important}
.v2-city-intro{background:url('/demo/assets/generated/grade4/rw-city-observatory-v1.png') center/cover;padding:0}
@container(max-width:500px){.v2-visual>.v2-model:has(.v2-group:nth-child(2)) .v2-group[data-unit="1000"] .v2-object{flex-basis:55px}.v2-visual>.v2-model .v2-group[data-unit="10"] .v2-object{max-width:48px}.v2-visual{gap:8px}}
.v2-city-intro .v2-visual{padding:0;justify-content:flex-start;width:100%;height:100%}
.v2-city-intro h2{font:750 clamp(19px,4cqw,31px)/1.2 system-ui;margin:7% 8% 0;padding:9px 16px;background:#fff8e9ee;border-radius:12px;color:#234f50}
.v2-city-cards{position:absolute;top:37%;left:7%;width:86%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.v2-city-cards>div{background:#fff9e9f2;border:1px solid #ceae77;box-shadow:0 5px 12px #3f362221;border-radius:12px;padding:13px 5px}
.v2-city-cards small{display:block;font-size:clamp(9px,1.8cqw,13px);letter-spacing:.03em;margin-bottom:9px}.v2-city-cards strong{font:800 clamp(19px,4cqw,31px)/1.2 system-ui;white-space:nowrap}
@container(max-width:500px){.v2-counting{gap:10px 5px;padding:12px;width:95%}.v2-teaching-groups{gap:6px}.v2-teaching-group .v2-ten{padding:6px 2px 25px}.v2-group[data-unit="10"] .v2-object{max-width:76px}.v2-city-cards{left:3%;width:94%;gap:4px}.v2-city-cards>div{border-radius:8px;padding:12px 3px}}
.v2-intro-trial{padding:0!important;background:#e8d8bc!important}.v2-intro-trial .v2-visual{padding:0!important;display:block;height:100%}.g4-intro-trial{position:relative;height:100%;width:100%;overflow:hidden;isolation:isolate}.g4-intro-room,.g4-intro-closeup{position:absolute;inset:0;will-change:transform,opacity}.g4-intro-room{background:url('/demo/assets/grade4-first-v2/library.png') center bottom/cover}.g4-intro-room h2{position:absolute;top:8%;left:12%;width:76%;font:700 clamp(23px,5cqw,38px)/1.2 Georgia,serif;color:#20555a;background:#fff7e8eb;padding:14px;border-radius:12px;box-sizing:border-box}.g4-intro-volume{position:absolute;bottom:3%;width:26%;max-width:180px;filter:drop-shadow(0 5px 3px #33231240);opacity:0}.g4-intro-volume img{width:100%;display:block}.g4-intro-volume[data-volume="0"]{left:19%;z-index:3}.g4-intro-volume[data-volume="1"]{left:38%;bottom:6%;z-index:2}.g4-intro-volume[data-volume="2"]{left:56%;bottom:9%;z-index:1}.g4-intro-closeup{opacity:0;background:#e8d8bc;display:grid;place-items:center}.g4-intro-ledger{position:relative;width:100%;aspect-ratio:3/2}.g4-intro-ledger>img{width:100%;display:block}.g4-intro-record{position:absolute;left:57%;top:34%;width:32%;text-align:center;color:#174e53;opacity:0;transform:rotate(-2deg)}.g4-intro-record small{display:block;font:600 clamp(12px,2.4cqw,18px)/1.4 system-ui}.g4-intro-record strong{display:block;margin-top:8%;font:700 clamp(24px,7cqw,56px)/1.1 Georgia,serif;white-space:nowrap}.v2-thousand-transition{display:grid;justify-items:center;gap:18px}.v2-one-book{display:flex;align-items:center;gap:12px;font-size:19px}.v2-one-book img{width:85px;height:85px;object-fit:contain}
