/* styles.css */
:root {
  color-scheme: light;
  --ink: #18332f;
  --muted: #65756f;
  --mist: #f2f6f4;
  --paper: #ffffff;
  --teal: #087f74;
  --teal-dark: #075c55;
  --teal-soft: #dff2ee;
  --coral: #ee765f;
  --yellow: #f5c655;
  --purple: #7659c7;
  --line: #dce6e1;
  --shadow: 0 22px 60px rgba(27, 57, 50, 0.12);
  font-family: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}

/* 58 · süre tahmini PNG'leri doğal en-boy oranı yüzünden pano dışına taşamaz. */
.grade3-duration-estimate-shell .g3de-asset > img {
  width: 100%;
  height: inherit !important;
  max-height: inherit;
  object-fit: contain;
}

/* 3. sınıf · İstatistiksel Araştırma Sorusu */
.g3rq-lab{position:relative;width:100%;height:min(64vh,650px);min-height:520px;overflow:hidden;border-radius:30px;background:#dff6f2;isolation:isolate}
.g3rq-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.g3rq-veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(234,252,248,.94),rgba(234,252,248,.72) 48%,rgba(234,252,248,.88));z-index:1}
.g3rq-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:28px}
.g3rq-workspace h1,.g3rq-workspace h2,.g3rq-workspace p{margin:0;color:#123b4b;text-align:center}
.g3rq-workspace h1{font-size:clamp(25px,3vw,42px);max-width:790px;line-height:1.12}
.g3rq-workspace h2{font-size:clamp(21px,2.3vw,31px);line-height:1.18}
.g3rq-hero,.g3rq-machine,.g3rq-vary,.g3rq-question-card,.g3rq-category,.g3rq-count,.g3rq-repair,.g3rq-type-choice,.g3rq-purpose,.g3rq-checklist,.g3rq-build,.g3rq-independent,.g3rq-method,.g3rq-reflection,.g3rq-final,.g3rq-done,.g3rq-type-done{width:min(94%,900px);display:grid;gap:22px;justify-items:center;padding:28px;border:2px solid rgba(19,137,125,.24);border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 18px 50px rgba(16,83,78,.14)}
.g3rq-one-many{display:flex;align-items:center;justify-content:center;gap:22px;width:100%}
.g3rq-one-many>section{min-width:220px;min-height:155px;display:grid;place-items:center;gap:6px;padding:18px;border-radius:22px;background:#e5f8f4}
.g3rq-one-many b{font-size:44px}.g3rq-one-many small{font-weight:900;color:#087f73}.g3rq-one-many i{font-style:normal;color:#52646c}
.g3rq-one-many>em{font-style:normal;font-size:34px;color:#f36f53}
.g3rq-answer-bubbles{display:flex;justify-content:center;gap:12px;min-height:62px}
.g3rq-answer-bubbles span{display:grid;place-items:center;min-width:56px;height:56px;padding:0 12px;border-radius:18px;background:#fff;border:3px solid #54bcae;color:#123b4b;font-size:27px;font-weight:1000;opacity:0;transform:translateY(20px) scale(.7);transition:.42s cubic-bezier(.2,.8,.2,1)}
.g3rq-answer-bubbles span.is-visible{opacity:1;transform:none;transition-delay:calc(var(--i)*60ms)}
.g3rq-machine>div,.g3rq-build-slots{display:flex;align-items:stretch;justify-content:center;gap:12px;width:100%}
.g3rq-machine section,.g3rq-build-slots section{flex:1;min-height:104px;display:grid;place-items:center;padding:14px;border-radius:20px;background:#e8f8f5;border:3px solid #7bcbbf;text-align:center;transition:.35s}
.g3rq-machine section:nth-of-type(2),.g3rq-build-slots section:nth-of-type(2){background:#fff3d0;border-color:#f0bf42}
.g3rq-machine section:nth-of-type(3),.g3rq-build-slots section:nth-of-type(3){background:#ffebe6;border-color:#ef886e}
.g3rq-machine small,.g3rq-build-slots small{font-weight:1000;color:#087f73}.g3rq-machine b,.g3rq-build-slots b{font-size:21px;color:#123b4b}
.g3rq-machine>div>i,.g3rq-build-slots+i,.g3rq-build-slots>i{align-self:center;font-style:normal;font-size:28px;color:#f36f53;font-weight:1000}
.g3rq-machine>p{padding:15px 22px;border-radius:17px;background:#133f3b;color:#fff;font-size:23px;font-weight:900}
.g3rq-machine[data-step="1"] section:first-of-type,.g3rq-machine[data-step="2"] section:nth-of-type(2),.g3rq-machine[data-step="3"] section:nth-of-type(3),.show-g3rq-guides .g3rq-machine section,.show-g3rq-guides .g3rq-checklist button{outline:5px solid rgba(255,175,18,.58);outline-offset:4px}
.g3rq-vary,.g3rq-count{min-height:350px;align-content:center}.g3rq-vary .g3rq-answer-bubbles span,.g3rq-count .g3rq-answer-bubbles span{width:88px;height:88px;font-size:39px;border-radius:50%}
.g3rq-question-card>div,.g3rq-type-choice>div{display:flex;align-items:center;gap:18px;font-size:42px}.g3rq-question-card i{font-size:16px;font-style:normal;color:#507179}.g3rq-question-card em,.g3rq-type-choice em{font-size:20px;font-style:normal;color:#f36f53}
.g3rq-category>div{display:flex;gap:18px}.g3rq-category>div b{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:#e8f8f5;font-size:52px;border:3px solid #73c9bc}
.g3rq-machine.compact{width:100%;padding:0;border:0;box-shadow:none;background:transparent}.g3rq-machine .missing{border-style:dashed;animation:g3rqPulse 1.35s infinite}
.g3rq-type-done{font-size:30px}.g3rq-type-done>b{font-size:70px}.g3rq-purpose>div{font-size:76px}.g3rq-purpose.done p{font-size:25px;font-weight:900}.g3rq-purpose.done strong,.g3rq-done>strong{font-size:56px;color:#0c9b82}
.g3rq-checklist{grid-template-columns:repeat(2,minmax(0,1fr));align-content:center}
.g3rq-checklist>.board-kicker{grid-column:1/-1}.g3rq-checklist button,.g3rq-checklist section{min-height:105px;border:3px solid #83cbc1;border-radius:20px;background:#fff;display:flex;align-items:center;gap:14px;padding:17px;text-align:left;color:#123b4b;font-size:20px;font-weight:900}
.g3rq-checklist button b,.g3rq-checklist section b{display:grid;place-items:center;min-width:48px;height:48px;border-radius:50%;background:#dff6f2;color:#078779;font-size:22px}
.g3rq-checklist button:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(15,133,119,.18)}
.g3rq-checklist button.is-checked,.g3rq-checklist.complete section{border-color:#08a085;background:#effff9}.g3rq-checklist button.is-checked b{background:#08a085;color:#fff}
.g3rq-live-prompt{display:flex;justify-content:center;width:100%;padding:14px 20px;border-radius:18px;background:#e8f8f5;color:#0b766d}
.g3rq-build-slots section{opacity:.64}.g3rq-build-slots section.active{opacity:1;outline:5px solid rgba(255,175,18,.55)}.g3rq-build-slots section.filled{opacity:1;background:#edfff8;border-color:#0a9d86}
.g3rq-independent>div{font-size:65px}.g3rq-done{font-size:22px}.g3rq-done>span{color:#087f73;font-weight:1000}.g3rq-done>div,.g3rq-method>div,.g3rq-final>div{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3rq-done i,.g3rq-method i,.g3rq-final i{font-style:normal;color:#ef6e52;font-size:24px}
.g3rq-method b,.g3rq-final b{padding:12px 16px;border-radius:16px;background:#dff6f2;color:#087f73}.g3rq-reflection>div{font-size:36px;color:#087f73}.g3rq-final>span{font-weight:1000;color:#f36f53;letter-spacing:.08em}.g3rq-final{background:linear-gradient(135deg,#fff,#e7fff8,#fff1d1)}
.g3rq-alternative{position:absolute;inset:18px;z-index:10;display:grid;place-items:center;align-content:center;gap:14px;padding:28px;border-radius:26px;background:rgba(14,67,63,.97);color:#fff;text-align:center}.g3rq-alternative>strong{font-size:clamp(17px,2vw,23px);font-weight:1000;color:#ffd66e}.g3rq-alternative p{max-width:720px;color:#fff;font-size:19px;line-height:1.4}.g3rq-alternative button{padding:13px 21px;border:0;border-radius:16px;background:#fff;color:#087f73;font-weight:1000;cursor:pointer}.g3rq-alternative-visual{display:flex;align-items:center;justify-content:center;gap:12px}.g3rq-alternative-visual>i{font-style:normal;font-weight:900;color:#fff}.g3rq-alternative-visual .g3rq-visual{width:76px;height:76px;background:#fff}.g3rq-alternative-visual .g3rq-visual svg{width:60px;height:60px}.g3rq-alt-checks{display:grid;grid-template-columns:repeat(2,auto);gap:6px}.g3rq-alt-checks b{padding:7px 10px;border-radius:12px;background:#fff;color:#087f73;font-size:13px}
.g3rq-visual{display:grid;place-items:center;width:92px;height:92px;border-radius:24px;background:#e8f8f5;border:3px solid #74c9bd;box-shadow:0 8px 18px rgba(16,93,83,.12)}
.g3rq-visual svg{display:block;width:76px;height:76px;overflow:visible}.g3rq-visual svg>*{fill:#dff6f2;stroke:#087f73;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.g3rq-visual.cake{background:#fff1d8;border-color:#f1bc55}.g3rq-visual.cake svg>*{fill:#ffd070;stroke:#bf6b2d}.g3rq-visual.bus{background:#e8f3ff;border-color:#70aad8}.g3rq-visual.bus svg>*{fill:#ffd05b;stroke:#17668a}.g3rq-visual.books{background:#fff0e9;border-color:#ee987c}.g3rq-visual.books svg>*{fill:#ff8868;stroke:#7b4863}.g3rq-visual.library{width:118px;height:98px;background:#fff1d9;border-color:#edb94b}.g3rq-visual.library svg>*{fill:#f9c657;stroke:#7b5b35}.g3rq-visual.search svg>*{fill:none;stroke:#0a8c80;stroke-width:8}.g3rq-visual.backpack{background:#f0e9ff;border-color:#9d7cda}.g3rq-visual.backpack svg>*{fill:#9470d4;stroke:#553d88}.g3rq-visual.palette{background:#fff1e9;border-color:#eea079}.g3rq-visual.palette svg>*{fill:#f5bd62;stroke:#8a5d36}
.g3rq-concept-stage{display:grid;grid-template-columns:minmax(160px,.72fr) auto minmax(300px,1.35fr);align-items:center;gap:15px;width:100%}.g3rq-concept-stage>section{height:205px;display:grid;place-items:center;align-content:center;gap:7px;padding:12px;border-radius:22px;background:#e9f8f5;border:3px solid #8acfc4;transition:.35s}.g3rq-concept-stage>section.many{background:#fff3d8;border-color:#f0c15c;overflow:hidden}.g3rq-concept-stage>em{font-style:normal;font-size:34px;color:#ef7155;font-weight:1000}.g3rq-concept-stage small{color:#4d6e76;font-weight:850}.g3rq-concept-stage b{color:#087f73;font-size:19px}.g3rq-hero[data-step="1"] .g3rq-concept-stage .single,.g3rq-hero[data-step="2"] .g3rq-concept-stage .many{outline:6px solid rgba(255,176,22,.62);outline-offset:3px;transform:translateY(-3px)}.g3rq-hero[data-step="3"] h1{padding:8px 15px;border-radius:15px;background:#fff0be;box-shadow:0 0 0 5px rgba(255,186,35,.25)}
.g3rq-children-visual{position:relative;width:min(680px,100%);aspect-ratio:3/2;overflow:hidden;border-radius:24px;border:3px solid #8bcfc5;background:#f0fbf8;box-shadow:0 12px 26px rgba(15,92,82,.16)}.g3rq-children-visual img{display:block;width:100%;height:100%;object-fit:cover}.g3rq-children-visual.compact{width:300px;border:0;border-radius:16px;box-shadow:none}.g3rq-child-labels{position:absolute;left:2%;right:2%;bottom:4%;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.g3rq-child-labels span{padding:7px 5px;border-radius:999px;background:rgba(255,255,255,.95);border:3px solid #0e9889;color:#0c5e59;text-align:center;font-size:14px;font-weight:1000;opacity:0;transform:translateY(16px) scale(.85);transition:.38s cubic-bezier(.2,.8,.2,1)}.g3rq-child-labels span.is-visible{opacity:1;transform:none;box-shadow:0 0 0 5px rgba(255,188,33,.34)}
.g3rq-compare-visual,.g3rq-data-types{display:flex;align-items:center;justify-content:center;gap:20px}.g3rq-compare-visual>section,.g3rq-data-types>section{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 10px;min-width:230px;padding:12px 18px;border-radius:22px;background:#edf9f6;border:3px solid #82cbbf}.g3rq-compare-visual .g3rq-visual,.g3rq-data-types .g3rq-visual{grid-row:1/3}.g3rq-compare-visual b,.g3rq-data-types b{font-size:20px;color:#123b4b}.g3rq-compare-visual small{font-size:14px;color:#51737a;font-weight:850}.g3rq-compare-visual>em,.g3rq-data-types>em{font-style:normal;font-size:18px;color:#ed6f51;font-weight:1000}
.g3rq-category-cards{display:flex;gap:18px}.g3rq-category .g3rq-category-cards>section{display:grid;place-items:center;gap:8px;width:135px;padding:14px;border-radius:22px;background:#f2fbf9;border:3px solid #86cdc2;opacity:.55;transform:scale(.92);transition:.35s}.g3rq-category .g3rq-category-cards b{display:block;width:auto;height:auto;border:0;background:transparent;border-radius:0;font-size:18px;color:#123b4b}.g3rq-category-cards i{position:relative;display:block;width:64px;height:58px}.g3rq-category-cards .apple i{border-radius:48% 48% 52% 52%;background:#ef6657}.g3rq-category-cards .apple i:before{content:"";position:absolute;left:34px;top:-10px;width:18px;height:11px;border-radius:100% 0;background:#58a85a;transform:rotate(-24deg)}.g3rq-category-cards .banana i{width:70px;height:48px;border:14px solid #f3cb3d;border-top-color:transparent;border-left-color:transparent;border-radius:50%;transform:rotate(19deg)}.g3rq-category-cards .berry i{width:58px;height:55px;border-radius:48% 48% 55% 55%;background:#ec4e5c}.g3rq-category-cards .berry i:before{content:"";position:absolute;left:12px;top:-9px;width:34px;height:18px;background:#4da858;clip-path:polygon(50% 0,65% 45%,100% 15%,77% 61%,100% 86%,58% 72%,50% 100%,40% 72%,0 86%,23% 61%,0 15%,35% 45%)}.g3rq-category[data-step="1"] .g3rq-category-cards section,.g3rq-category[data-step="2"] .g3rq-category-cards section{opacity:1;transform:none}.g3rq-category[data-step="2"] .g3rq-category-cards section{box-shadow:0 0 0 5px rgba(255,187,32,.32)}.g3rq-category[data-step="3"] h2{padding:8px 14px;border-radius:15px;background:#fff1be}
.g3rq-count-model{display:flex;align-items:center;justify-content:center;gap:24px}.g3rq-type-done{grid-template-columns:auto auto;align-items:center}.g3rq-type-done h2{grid-column:1/-1}.g3rq-purpose>.g3rq-visual{font-size:initial}.g3rq-purpose.done{grid-template-columns:auto auto 1fr auto;align-items:center}.g3rq-purpose.done p{font-size:21px}.g3rq-purpose.done .g3rq-visual{width:92px;height:84px}
.g3rq-independent-visual,.g3rq-reflection-visual{display:flex!important;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3rq-independent-visual .g3rq-visual,.g3rq-reflection-visual .g3rq-visual{width:82px;height:82px}.g3rq-independent-visual .g3rq-visual svg,.g3rq-reflection-visual .g3rq-visual svg{width:66px;height:66px}.g3rq-reflection-visual>i{font-style:normal;font-size:15px;font-weight:900;color:#42656d}
@keyframes g3rqPulse{50%{box-shadow:0 0 0 9px rgba(247,174,30,.18)}}

@media(max-width:760px){
  .g3rq-lab{height:auto;min-height:400px;border-radius:22px}.g3rq-workspace{padding:10px}.g3rq-bg{object-position:center}.g3rq-veil{background:rgba(237,252,249,.88)}
  .g3rq-hero,.g3rq-machine,.g3rq-vary,.g3rq-question-card,.g3rq-category,.g3rq-count,.g3rq-repair,.g3rq-type-choice,.g3rq-purpose,.g3rq-checklist,.g3rq-build,.g3rq-independent,.g3rq-method,.g3rq-reflection,.g3rq-final,.g3rq-done,.g3rq-type-done{width:100%;padding:15px;gap:13px;border-radius:20px}
  .g3rq-workspace h1{font-size:24px}.g3rq-workspace h2{font-size:20px}
  .g3rq-one-many{gap:6px;max-width:100%;overflow:hidden}.g3rq-one-many>section{min-width:0;flex:1;min-height:105px;padding:6px;overflow:hidden}.g3rq-one-many b{max-width:100%;font-size:24px;white-space:normal;overflow-wrap:anywhere;text-align:center}.g3rq-one-many>em{font-size:20px}
  .g3rq-one-many>section:nth-of-type(2)>b{font-size:18px}.g3rq-one-many .g3rq-answer-bubbles{width:100%;gap:2px}.g3rq-one-many .g3rq-answer-bubbles span{min-width:27px;width:27px;height:27px;padding:0;font-size:15px;border-width:2px;border-radius:9px}
  .g3rq-answer-bubbles{gap:5px}.g3rq-answer-bubbles span{min-width:42px;height:42px;padding:0 7px;font-size:21px;border-radius:13px}
  .g3rq-machine>div,.g3rq-build-slots{gap:5px}.g3rq-machine section,.g3rq-build-slots section{min-height:78px;padding:7px}.g3rq-machine b,.g3rq-build-slots b{font-size:14px}.g3rq-machine>div>i,.g3rq-build-slots>i{font-size:18px}.g3rq-machine>p{font-size:16px;padding:10px}
  .g3rq-vary,.g3rq-count{min-height:270px}.g3rq-vary .g3rq-answer-bubbles span,.g3rq-count .g3rq-answer-bubbles span{width:58px;height:58px;font-size:27px}
  .g3rq-category>div b{width:68px;height:68px;font-size:36px}.g3rq-question-card>div,.g3rq-type-choice>div{font-size:30px}.g3rq-purpose>div{font-size:52px}
  .g3rq-checklist{grid-template-columns:1fr}.g3rq-checklist>.board-kicker{grid-column:auto}.g3rq-checklist button,.g3rq-checklist section{min-height:64px;padding:9px;font-size:16px}.g3rq-checklist button b,.g3rq-checklist section b{min-width:37px;height:37px;font-size:17px}
  .g3rq-independent>div{font-size:46px}.g3rq-method>div,.g3rq-final>div{gap:5px}.g3rq-method b,.g3rq-final b{font-size:13px;padding:8px}.g3rq-alternative{inset:8px;padding:12px;gap:8px;overflow:auto}.g3rq-alternative p{font-size:14px}.g3rq-alternative-visual{gap:6px}.g3rq-alternative-visual .g3rq-visual{width:54px;height:54px}.g3rq-alternative-visual .g3rq-visual svg{width:42px;height:42px}.g3rq-alternative>strong{font-size:14px}
  .g3rq-visual{width:62px;height:62px;border-radius:17px}.g3rq-visual svg{width:50px;height:50px}.g3rq-concept-stage{grid-template-columns:1fr auto 1.65fr;gap:5px}.g3rq-concept-stage>section{height:135px;padding:6px}.g3rq-concept-stage>em{font-size:20px}.g3rq-concept-stage small{font-size:10px;text-align:center}.g3rq-concept-stage b{font-size:12px}.g3rq-children-visual.compact{width:100%;height:82px;aspect-ratio:auto}.g3rq-children-visual.compact img{object-fit:cover}.g3rq-vary .g3rq-children-visual{width:min(430px,100%);border-radius:16px}.g3rq-child-labels{gap:2px}.g3rq-child-labels span{padding:4px 1px;border-width:2px;font-size:9px}.g3rq-compare-visual,.g3rq-data-types{gap:5px;width:100%}.g3rq-compare-visual>section,.g3rq-data-types>section{min-width:0;flex:1;padding:7px;gap:2px 5px}.g3rq-compare-visual b,.g3rq-data-types b{font-size:13px}.g3rq-compare-visual small{font-size:10px}.g3rq-compare-visual>em,.g3rq-data-types>em{font-size:11px}.g3rq-category-cards{gap:6px}.g3rq-category .g3rq-category-cards>section{width:85px;padding:8px}.g3rq-category-cards i{transform:scale(.72)}.g3rq-category .g3rq-category-cards b{font-size:13px}.g3rq-count-model{gap:8px}.g3rq-purpose.done{grid-template-columns:auto 1fr}.g3rq-purpose.done p{grid-column:1/-1;font-size:15px}.g3rq-purpose.done strong{font-size:38px}.g3rq-independent-visual .g3rq-visual,.g3rq-reflection-visual .g3rq-visual{width:58px;height:58px}.g3rq-independent-visual .g3rq-visual svg,.g3rq-reflection-visual .g3rq-visual svg{width:46px;height:46px}.g3rq-reflection-visual>i{font-size:10px}
}

/* 3. sınıf · Çevre Uzunluğunu Tahmin Etme */
.grade3-perimeter-estimate-board{overflow:visible}.g3per-studio{position:relative;width:100%;height:min(58vh,540px);min-height:388px;border:1px solid #a9d8d1;border-radius:28px;overflow:hidden;background:#e8f7f4}.g3per-studio-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22;filter:saturate(.8)}.g3per-workspace{position:absolute;inset:18px;display:flex;align-items:center;justify-content:center}.g3per-workspace>div:not(.g3per-live-prompt){width:min(100%,650px);max-height:100%;box-sizing:border-box}.g3per-book-svg,.g3per-circle-svg{display:block;width:min(430px,92%);height:auto;margin:auto;touch-action:none;overflow:visible}.g3per-book-cover{fill:#16a79c;stroke:#0a6f69;stroke-width:8}.g3per-book-area{fill:#bcebe4;transition:opacity .45s}.g3per-boundary-base,.g3per-circle-base{fill:none;stroke:#fff;stroke-width:17;opacity:.85}.g3per-boundary-progress,.g3per-circle-progress{fill:none;stroke:#ff7a59;stroke-width:12;stroke-linecap:round;stroke-dasharray:var(--route) 1;transition:stroke-dasharray .08s linear}.g3per-start-dot{fill:#ffd25f;stroke:#e45e42;stroke-width:6}.g3per-book-svg text{fill:#11495c;font:800 14px system-ui}.g3per-edge-target{fill:transparent;stroke:transparent}.g3per-can-top{fill:#dbe7e9;stroke:#65848c;stroke-width:8}.g3per-can-ring{fill:none;stroke:#95aeb4;stroke-width:8}.g3per-circle-progress{transform:rotate(-90deg);transform-origin:215px 142px}.g3per-circle-base{stroke:#fff}.g3per-rope-end{fill:none;stroke:#ff7a38;stroke-width:13;stroke-linecap:round}.g3per-studio h1,.g3per-studio h2{color:#123f50;text-align:center;margin:8px auto;line-height:1.2}.g3per-studio h2{font-size:clamp(20px,2.25vw,30px)}.g3per-studio .board-kicker{display:block;color:#087a70;text-align:center;font-weight:900;letter-spacing:.08em;margin-bottom:6px}.g3per-intro,.g3per-trace-task,.g3per-unroll,.g3per-estimate-book,.g3per-estimate-circle,.g3per-circle-task,.g3per-triangle-model,.g3per-triangle-task,.g3per-independent{position:relative;background:rgba(255,255,255,.91);border-radius:26px;padding:12px 18px;box-shadow:0 18px 34px rgba(18,63,80,.12)}.g3per-intro>div,.g3per-guided-complete,.g3per-final>div{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.g3per-intro>div b,.g3per-guided-complete b,.g3per-final>div b{padding:10px 14px;border-radius:14px;background:#d9f4ef;color:#087a70}.grade3-perimeter-estimate-board.fade-area .g3per-book-area{opacity:.08}.grade3-perimeter-estimate-board.trace-boundary .g3per-boundary-progress{animation:g3per-trace 2.8s ease forwards}@keyframes g3per-trace{from{stroke-dasharray:0 1}to{stroke-dasharray:1 1}}.g3per-live-prompt{width:min(430px,90%);min-height:54px;padding:14px 18px;border-radius:18px;background:#079688;color:#fff;text-align:center;box-sizing:border-box;margin:auto;font-size:18px}.g3per-unroll{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.g3per-unroll>.board-kicker,.g3per-unroll>h2{grid-column:1/-1}.g3per-strips{display:flex;align-items:center;justify-content:center;gap:4px;min-height:90px}.g3per-strips i{display:block;height:18px;border-radius:9px;background:#ff7a59;transform:translateY(-38px);opacity:0}.g3per-strips i:nth-child(odd){width:86px;background:#0fa79a}.g3per-strips i:nth-child(even){width:58px}.grade3-perimeter-estimate-board.unrolled .g3per-strips i{animation:g3per-unroll .55s ease forwards}.grade3-perimeter-estimate-board.unrolled .g3per-strips i:nth-child(2){animation-delay:.18s}.grade3-perimeter-estimate-board.unrolled .g3per-strips i:nth-child(3){animation-delay:.36s}.grade3-perimeter-estimate-board.unrolled .g3per-strips i:nth-child(4){animation-delay:.54s}@keyframes g3per-unroll{to{opacity:1;transform:none}}.g3per-tool-task{background:rgba(255,255,255,.94);border-radius:24px;padding:14px 20px;text-align:center}.g3per-tool-task>div{width:240px;height:150px;margin:auto;border:8px solid #0fa79a;background:#d7f2ed;border-radius:18px;position:relative}.g3per-tool-task.book>div{border-radius:16px}.g3per-tool-task.book>div:after{content:"";position:absolute;inset:22px;border:4px solid #56bcb2;border-radius:8px}.g3per-tool-task.circle>div{width:160px;height:160px;border-radius:50%;border-color:#8aa3a8;background:#dce7e8}.g3per-tool-task.garden>div{width:310px;height:130px;border:10px solid #c67b45;background:repeating-linear-gradient(90deg,#79b85d 0 28px,#68a74e 28px 56px)}.g3per-tools-complete{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}.g3per-tools-complete>b{display:flex;flex-direction:column;align-items:center;justify-content:center;width:140px;height:140px;border-radius:28px;background:#fff;color:#0b8178;font-size:48px;box-shadow:0 12px 25px #0a6f6920}.g3per-tools-complete small{font-size:12px;margin-top:6px}.g3per-estimate-stamp{position:absolute;right:24px;top:48px;display:flex;flex-direction:column;align-items:center;background:#fff3c8;border:4px solid #f1b942;border-radius:18px;padding:8px 15px;color:#8b5a00}.g3per-estimate-stamp b{font-size:32px}.g3per-estimate-stamp span{font-size:12px;font-weight:800}.g3per-clip-book{position:relative;width:min(430px,94%);margin:auto}.g3per-clip-book>.g3per-book-svg{width:100%}.g3per-clip{position:absolute;width:48px;height:22px;border:0;background:transparent;padding:0;opacity:.2}.g3per-clip i{display:block;width:42px;height:14px;border:5px solid #8b45d7;border-radius:12px}.g3per-clip.placed{opacity:1}.g3per-clip.next{opacity:1;filter:drop-shadow(0 0 8px #ffc928);animation:g3per-pulse 1s infinite}.g3per-clip:nth-of-type(1){left:22%;top:17%}.g3per-clip:nth-of-type(2){left:43%;top:17%}.g3per-clip:nth-of-type(3){left:64%;top:17%}.g3per-clip:nth-of-type(4){right:12%;top:38%;transform:rotate(90deg)}.g3per-clip:nth-of-type(5){right:12%;top:61%;transform:rotate(90deg)}.g3per-clip:nth-of-type(6){left:64%;bottom:14%;transform:rotate(180deg)}.g3per-clip:nth-of-type(7){left:43%;bottom:14%;transform:rotate(180deg)}.g3per-clip:nth-of-type(8){left:22%;bottom:14%;transform:rotate(180deg)}.g3per-clip:nth-of-type(9){left:12%;top:61%;transform:rotate(-90deg)}.g3per-clip:nth-of-type(10){left:12%;top:38%;transform:rotate(-90deg)}.g3per-clip-book>strong{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;font-size:40px;color:#087a70}.g3per-clip-book>strong small{font-size:13px}.g3per-number-line{position:relative;width:min(520px,90%);height:100px;margin:46px auto 20px;border-bottom:8px solid #0c8178}.g3per-number-line:before{content:"";position:absolute;inset:auto 0 -8px 0;background:repeating-linear-gradient(90deg,transparent 0 8%,#0c8178 8% 8.6%);height:20px}.g3per-number-line i{position:absolute;left:calc((var(--at) - 5) * 10%);bottom:16px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;font-style:normal}.g3per-number-line i b{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#ff7a59;color:#fff;font-size:24px}.g3per-number-line i+ i b{background:#079688}.g3per-number-line small{font-weight:800;color:#123f50}.g3per-rope-reference{width:110px;height:14px;margin:-8px auto 4px;border-radius:10px;background:#ff7638;box-shadow:inset 0 0 0 3px #cc4c1a}.g3per-rope-compare{background:#fff;border-radius:26px;padding:18px;text-align:center}.g3per-rope-compare>i{font-style:normal;font-size:32px;color:#f06b4f}.g3per-round-rope{display:inline-block;width:145px;height:145px;border:14px solid #ff7638;border-radius:50%;vertical-align:middle}.g3per-straight-rope{display:inline-flex;width:310px;gap:3px;vertical-align:middle}.g3per-straight-rope b{height:14px;flex:1;background:#ff7638;border-radius:9px}.g3per-triangle-model svg,.g3per-triangle-task svg{display:block;width:min(430px,90%);height:230px;margin:auto;overflow:visible}.g3per-triangle-model polygon,.g3per-triangle-task polygon{fill:#d7f3ed;stroke:#a7d7cf;stroke-width:16}.g3per-triangle-model line,.g3per-triangle-task line{stroke:#0d887d;stroke-width:12;stroke-linecap:round;cursor:pointer}.g3per-triangle-model line.speaking,.g3per-triangle-task line.next{stroke:#ff7a59;filter:drop-shadow(0 0 8px #ffc928)}.g3per-triangle-task line.measured{stroke:#ff7a59}.g3per-triangle-model text,.g3per-triangle-task text{font:900 18px system-ui;fill:#123f50}.g3per-triangle-model>div,.g3per-triangle-task>div{display:flex;justify-content:center;align-items:center;gap:8px}.g3per-triangle-model>div b,.g3per-triangle-task>div b,.g3per-triangle-model>div strong,.g3per-triangle-task>div strong{padding:8px 12px;border-radius:12px;background:#e4f6f2;color:#087a70}.g3per-guided,.g3per-repair{background:#fff;border-radius:26px;padding:16px 20px;text-align:center}.g3per-guided>div{min-height:100px;display:grid;place-items:center;border-radius:20px;background:#e7f7f3;font:900 34px system-ui;color:#087a70}.g3per-guided-complete{background:#fff;border-radius:25px;padding:40px 18px}.g3per-repair>div{height:120px;position:relative;background:#e7f7f3;border-radius:20px}.g3per-repair i{position:absolute;width:46px;height:16px;border:5px solid #8b45d7;border-radius:12px;top:48px;left:calc(9% + var(--n,0)*11%)}.g3per-repair i:nth-child(1){--n:0}.g3per-repair i:nth-child(2){--n:1}.g3per-repair i:nth-child(3){--n:2}.g3per-repair i:nth-child(4){--n:3}.g3per-repair i:nth-child(5){--n:4}.g3per-repair i:nth-child(6){--n:5}.g3per-repair i:nth-child(7){--n:6}.g3per-repair i:nth-child(8){--n:7}.g3per-repair.gap i:nth-child(5){left:60%}.g3per-repair.overlap i:nth-child(5){left:48%;top:52px}.g3per-repair.skip>div:after{content:"ALT KENAR EKSİK";position:absolute;bottom:8px;left:50%;transform:translateX(-50%);color:#e65f45;font-weight:900}.g3per-repair-complete{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.g3per-repair-complete b{padding:28px 20px;border-radius:22px;background:#fff;color:#087a70}.g3per-final{text-align:center;background:#fff;border-radius:28px;padding:42px 28px}.g3per-final>span{color:#f06b4f;font-weight:950;letter-spacing:.08em}.g3per-final h1{max-width:590px}.g3per-final-compare{display:flex;align-items:center;justify-content:center;gap:18px;margin:28px auto}.g3per-final-compare b{display:flex;flex-direction:column;width:110px;height:110px;border-radius:25px;align-items:center;justify-content:center;background:#e0f5f1;color:#087a70;font-size:42px}.g3per-final-compare small{font-size:12px}.g3per-alternative{position:absolute;inset:8px;z-index:8;display:grid;grid-template-columns:1fr 1.25fr;gap:12px;align-items:center;padding:18px;border-radius:24px;background:#fff9e7;border:4px solid #f2c95c;box-shadow:0 18px 40px #123f5040}.g3per-alternative .board-kicker{grid-column:1/-1}.g3per-alternative p{font-weight:800;color:#123f50}.g3per-alternative button{grid-column:1/-1;justify-self:center;border:0;border-radius:15px;padding:12px 18px;background:#087f76;color:#fff;font-weight:900}.g3per-clay{position:relative;height:130px}.g3per-clay>i{position:absolute;left:8%;right:8%;top:35px;height:18px;border-radius:12px;background:#ff744f;transform:rotate(-5deg)}.g3per-clay.curved>i{height:90px;border:14px solid #ff744f;background:transparent;border-radius:50%}.g3per-clay b{position:relative;display:inline-block;width:42px;height:42px;margin:75px 2px 0;border-radius:9px;background:#0fa79a}.show-g3per-guides .g3per-boundary-base,.show-g3per-guides .g3per-circle-base{filter:drop-shadow(0 0 9px #ffc928);stroke:#fff9b7}@keyframes g3per-pulse{50%{filter:drop-shadow(0 0 14px #ff9e00);transform:scale(1.08)}}

@media(max-width:700px){.g3per-studio{height:394px;min-height:394px;border-radius:20px}.g3per-workspace{inset:8px}.g3per-workspace>div:not(.g3per-live-prompt){padding:8px 10px}.g3per-studio h2{font-size:17px}.g3per-studio .board-kicker{font-size:11px}.g3per-book-svg,.g3per-circle-svg{width:min(300px,88%)}.g3per-intro>div b,.g3per-guided-complete b,.g3per-final>div b{font-size:11px;padding:7px 9px}.g3per-unroll{grid-template-columns:1fr}.g3per-unroll>.board-kicker,.g3per-unroll>h2{grid-column:auto}.g3per-unroll>.g3per-book-svg{width:190px}.g3per-strips{min-height:42px}.g3per-tools-complete>b{width:92px;height:92px;font-size:32px}.g3per-tool-task>div{width:190px;height:105px}.g3per-tool-task.circle>div{width:115px;height:115px}.g3per-tool-task.garden>div{width:230px;height:92px}.g3per-estimate-stamp{right:8px;top:32px;padding:4px 8px}.g3per-estimate-stamp b{font-size:24px}.g3per-clip-book{width:300px}.g3per-clip{transform:scale(.76)}.g3per-clip:nth-of-type(4),.g3per-clip:nth-of-type(5){transform:rotate(90deg) scale(.76)}.g3per-clip:nth-of-type(6),.g3per-clip:nth-of-type(7),.g3per-clip:nth-of-type(8){transform:rotate(180deg) scale(.76)}.g3per-clip:nth-of-type(9),.g3per-clip:nth-of-type(10){transform:rotate(-90deg) scale(.76)}.g3per-number-line{height:72px;margin-top:34px}.g3per-number-line i b{width:38px;height:38px;font-size:18px}.g3per-round-rope{width:90px;height:90px;border-width:10px}.g3per-straight-rope{width:190px}.g3per-triangle-model svg,.g3per-triangle-task svg{height:205px;width:300px}.g3per-triangle-model>div b,.g3per-triangle-task>div b,.g3per-triangle-model>div strong,.g3per-triangle-task>div strong{font-size:12px;padding:6px 8px}.g3per-guided>div{min-height:68px;font-size:24px}.g3per-repair>div{height:90px}.g3per-repair i{width:34px;height:12px;top:35px}.g3per-final{padding:28px 14px}.g3per-final h1{font-size:24px}.g3per-final-compare{margin:14px auto}.g3per-final-compare b{width:82px;height:82px;font-size:30px}.g3per-alternative{grid-template-columns:1fr;padding:10px;overflow:auto}.g3per-clay{height:82px}.g3per-clay>i{top:16px}.g3per-clay b{margin-top:45px;width:30px;height:30px}.g3per-live-prompt{min-height:50px;font-size:15px;padding:12px}.grade3-perimeter-estimate-shell .lesson-stage{padding-bottom:8px}}

/* Etkileşim hedefi yerinden oynamaz; yalnız ışıkla tıklanabilir olduğunu gösterir. */
@keyframes g3per-pulse{50%{filter:drop-shadow(0 0 14px #ff9e00)}}
.g3per-circle-progress{transform:none}

/* 79. ders: anlatım-görsel eşleme ve gerçek ölçme geometrisi */
.g3per-unroll{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8px;overflow:hidden}
.g3per-unroll>.g3per-book-svg{width:min(250px,100%);min-width:0}
.g3per-strips{flex-wrap:nowrap;align-content:center}
.g3per-strips i{position:relative;opacity:.28;transform:translateY(-18px);display:flex;align-items:flex-end;justify-content:center;width:auto!important;min-width:28px;flex:1}
.g3per-strips i small{position:absolute;top:26px;color:#123f50;font:900 10px system-ui;letter-spacing:.06em}
.grade3-perimeter-estimate-board.unrolled .g3per-strips i{opacity:1}
.g3per-tools-complete>b{font-size:inherit}
.g3per-tool-icon{display:block;width:112px;height:82px;overflow:visible}
.g3per-tool-icon path,.g3per-tool-icon rect,.g3per-tool-icon circle{vector-effect:non-scaling-stroke}
.g3per-tool-clip{fill:none;stroke:#7445bb;stroke-width:17;stroke-linecap:round;stroke-linejoin:round}
.g3per-tool-rope{fill:none;stroke:#ff743f;stroke-width:16;stroke-linecap:round}
.g3per-tool-icon.rope circle{fill:#ffd365;stroke:#c9502c;stroke-width:5}
.g3per-tool-tape{fill:#f7c94f;stroke:#9a6900;stroke-width:7}
.g3per-tool-icon.tape circle{fill:#fff3b8;stroke:#9a6900;stroke-width:7}
.g3per-tool-ribbon{fill:#fff8c8;stroke:#9a6900;stroke-width:5}
.g3per-tool-ticks{fill:none;stroke:#9a6900;stroke-width:4}

.g3per-clip{width:21.1%;height:7%;opacity:.18}
.g3per-clip i{width:100%;height:100%;box-sizing:border-box;border-width:4px}
.g3per-clip:nth-of-type(1){left:14.7%;top:49.5%;transform:rotate(-90deg)}
.g3per-clip:nth-of-type(2){left:14.7%;top:25.5%;transform:rotate(-90deg)}
.g3per-clip:nth-of-type(3){left:19%;top:16.5%;transform:none}
.g3per-clip:nth-of-type(4){left:39.6%;top:16.5%;transform:none}
.g3per-clip:nth-of-type(5){left:60.2%;top:16.5%;transform:none}
.g3per-clip:nth-of-type(6){right:14.7%;top:25.5%;transform:rotate(90deg)}
.g3per-clip:nth-of-type(7){right:14.7%;top:49.5%;transform:rotate(90deg)}
.g3per-clip:nth-of-type(8){left:60.2%;bottom:12.8%;transform:rotate(180deg)}
.g3per-clip:nth-of-type(9){left:39.6%;bottom:12.8%;transform:rotate(180deg)}
.g3per-clip:nth-of-type(10){left:19%;bottom:12.8%;transform:rotate(180deg)}
.g3per-clip-svg{display:block;width:min(430px,100%);height:auto;margin:auto;overflow:visible;touch-action:none}
.g3per-clip-cover{fill:#13a79b;stroke:#08766f;stroke-width:8}
.g3per-clip-area{fill:#bcebe4}
.g3per-svg-clip{opacity:.16;cursor:default;outline:none}
.g3per-svg-clip rect:first-child{fill:#fff;stroke:#7a47bf;stroke-width:5}
.g3per-svg-clip .inner{fill:none;stroke:#7a47bf;stroke-width:3}
.g3per-svg-clip.placed{opacity:1}
.g3per-svg-clip.next{opacity:1;cursor:pointer;filter:drop-shadow(0 0 9px #ffc928);animation:g3perSvgClipPulse 1s ease-in-out infinite}
.g3per-clip-svg .start-label{font:900 13px system-ui;fill:#123f50}
.g3per-clip-svg .count{font:950 46px system-ui;fill:#087a70;text-anchor:middle}
.g3per-clip-svg .count-label{font:900 14px system-ui;fill:#087a70;text-anchor:middle}
@keyframes g3perSvgClipPulse{50%{filter:drop-shadow(0 0 16px #ff9e00)}}

.g3per-ruler{opacity:.18;transition:opacity .28s ease,filter .28s ease;pointer-events:none}
.g3per-ruler.visible{opacity:1;filter:drop-shadow(0 0 7px #ffc928)}
.g3per-ruler rect{fill:#ffe995;stroke:#9b7410;stroke-width:3}
.g3per-ruler path{fill:none;stroke:#7c5b08;stroke-width:2}
.g3per-ruler text{font:900 12px system-ui!important;fill:#664900!important}
.grade3-perimeter-estimate-board.show-all-rulers .g3per-ruler{opacity:1}
.g3per-triangle-task polygon,.g3per-triangle-task text{pointer-events:none}
.g3per-triangle-task line[role="button"]{pointer-events:stroke;stroke-width:22;outline:none;touch-action:manipulation}
.g3per-triangle-task line[data-g3per-side="2"]{transform:rotate(.25deg);transform-origin:center;transform-box:fill-box}
.g3per-triangle-task line[role="button"]:focus{stroke:#ff7a59;filter:drop-shadow(0 0 9px #ffc928)}

.g3per-guided>div{min-height:112px}
.g3per-guided>div>svg{display:block;width:min(500px,100%);height:112px;margin:auto}
.g3per-guided svg path,.g3per-guided svg rect,.g3per-guided svg circle{vector-effect:non-scaling-stroke}
.g3per-guide-eye path,.g3per-guide-measure rect{fill:#dff5f1;stroke:#0b877e;stroke-width:6}
.g3per-guide-eye circle{fill:#0b877e}
.g3per-guide-arrow,.g3per-guide-line,.g3per-guide-tick{fill:none;stroke:#ff744f;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.g3per-guide-measure path{fill:none;stroke:#8b6500;stroke-width:4}
.g3per-guide-compare circle,.g3per-guide-seven,.g3per-guide-eight{fill:#fff;stroke:#0b877e;stroke-width:6}
.g3per-guide-object{fill:#dce8ea;stroke:#77969d;stroke-width:7}
.g3per-guide-rope,.g3per-guide-straight{fill:none;stroke:#ff743f;stroke-width:12;stroke-linecap:round}
.g3per-guided svg text{font:900 22px system-ui;fill:#123f50;text-anchor:middle}

.g3per-repair>div{height:172px;display:grid;place-items:center}
.g3per-repair-svg{display:block;width:min(360px,96%);height:166px}
.g3per-repair-book{fill:#dff5f1;stroke:#0b877e;stroke-width:7}
.g3per-repair-unit{fill:#fff;stroke:#784ac1;stroke-width:6}
.g3per-repair-start{fill:#ffd25f;stroke:#e45e42;stroke-width:5}
.g3per-repair-svg.gap .unit-4{transform:translateX(18px)}
.g3per-repair-svg.overlap .unit-4{transform:translateX(-38px)}
.g3per-repair-svg.skip .unit-8,.g3per-repair-svg.skip .unit-9{opacity:.08;stroke-dasharray:8 7}
.g3per-alt-ruler{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.g3per-alt-ruler>.g3per-book-svg{width:190px}
.g3per-alt-ruler>div{display:flex;align-items:center;gap:3px;flex-wrap:wrap}
.g3per-alt-ruler>div b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffd25f;color:#654900}
.g3per-alt-ruler>div i{width:34px;height:18px;border-radius:3px;background:#ffe995;border:2px solid #9b7410}
.g3per-alt-ruler>div span{width:100%;font-weight:900;color:#123f50}

@media(max-width:700px){
  .g3per-unroll{grid-template-columns:1fr;row-gap:2px}
  .g3per-unroll>.g3per-book-svg{width:190px;min-width:0}
  .g3per-strips{min-height:56px}
  .g3per-tool-icon{width:76px;height:55px}
  .g3per-tools-complete>b{height:104px}
  .g3per-guided>div{min-height:82px}
  .g3per-guided>div>svg{height:80px}
  .g3per-repair>div{height:116px}
  .g3per-repair-svg{height:112px}
  .g3per-alt-ruler{grid-template-columns:1fr}
  .g3per-alt-ruler>.g3per-book-svg{width:140px}
}

/* 3. sınıf · Bölümü Tahmin Etme ve Zihinden Bölme */
.grade3-mental-division-estimate-board{overflow:hidden;background:#dff4f0}
.g3mde-station{position:relative;width:100%;height:100%;min-height:520px;overflow:hidden;border-radius:28px;background:#f3d9a8;isolation:isolate}
.g3mde-station>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.82) brightness(.78)}
.g3mde-workspace{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:28px}
.g3mde-workspace>div,.g3mde-workspace>aside{width:min(100%,720px);max-height:100%;overflow:hidden;border:2px solid rgba(177,224,215,.92);border-radius:24px;background:rgba(245,255,253,.94);box-shadow:0 16px 36px rgba(20,72,65,.18);padding:22px;color:#123f52;text-align:center}
.g3mde-workspace .board-kicker{display:block;margin-bottom:12px;color:#087e70;font-weight:900;letter-spacing:.09em;font-size:.78rem}
.g3mde-workspace h1,.g3mde-workspace h2,.g3mde-workspace p{margin:10px auto 0}
.g3mde-workspace h1{font-size:clamp(1.1rem,2vw,1.65rem)}
.g3mde-workspace h2{font-size:clamp(1rem,1.7vw,1.35rem)}
.g3mde-intro>div,.g3mde-final>div{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.g3mde-intro section,.g3mde-final section{display:grid;place-items:center;gap:7px;min-height:104px;padding:12px;border-radius:18px;background:#fff;border:2px solid #b8ded7}
.g3mde-intro section i,.g3mde-final section i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#d9f3ee;color:#0b8a7c;font-style:normal;font-size:1.35rem;font-weight:900}
.g3mde-intro section b,.g3mde-final section b{font-size:.78rem}
.g3mde-bin-model{display:grid;grid-template-columns:repeat(var(--bins),1fr) .78fr;gap:9px;align-items:end;margin:12px 0}
.g3mde-bin-model section,.g3mde-bin-model aside{min-width:0;min-height:115px;padding:8px;border-radius:14px 14px 20px 20px;border:3px solid #9fcfc5;background:linear-gradient(#f8fffe 30%,#d2eee8);opacity:.44;transform:translateY(5px);transition:.35s ease}
.g3mde-bin-model section.active{opacity:1;transform:none;border-color:#0f9988;box-shadow:0 8px 18px rgba(15,153,136,.18)}
.g3mde-bin-model section>div,.g3mde-bin-model aside>div{display:flex;flex-wrap:wrap;align-content:end;justify-content:center;gap:3px;min-height:58px;margin:4px 0}
.g3mde-bin-model section i,.g3mde-bin-model aside i{display:block;width:10px;height:15px;border-radius:3px;background:#f28b62;box-shadow:inset 0 0 0 2px #fff7}
.g3mde-bin-model section i.just-arrived{animation:g3mde-book-land .52s calc(var(--bin)*.09s) cubic-bezier(.2,.85,.25,1.15) both}
.g3mde-bin-model small{display:block;font-size:.6rem;font-weight:900;color:#39736d}
.g3mde-bin-model b{font-size:1.2rem;color:#087e70}
.g3mde-bin-model .remainder{border-color:#e5b08b;background:#fff1df;opacity:.65}
.g3mde-bin-model .remainder.has-remainder{opacity:1;border-color:#ec754f;animation:g3mde-pop .55s ease both}
.g3mde-stock{display:inline-grid;place-items:center;min-width:100px;padding:9px 18px;border-radius:16px;background:#154e58;color:#fff}
.g3mde-stock small{font-size:.62rem}.g3mde-stock b{font-size:1.55rem}
.g3mde-distribute>strong,.g3mde-subtract>strong,.g3mde-divide-ten>strong{display:block;color:#087e70}
.g3mde-distribute-button{display:flex!important;align-items:center;justify-content:space-between;gap:14px}
.g3mde-equation>div:last-child,.g3mde-components>div{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}
.g3mde-equation>div:last-child section,.g3mde-components section{display:grid;gap:4px;min-width:110px;padding:12px;border:2px solid #add8d0;border-radius:16px;background:#fff;opacity:0;visibility:hidden;transition:.3s ease}
.g3mde-equation>div:last-child b,.g3mde-components b{font-size:1.8rem;color:#087e70}
.g3mde-equation>div:last-child>i{opacity:0;visibility:hidden}.g3mde-equation[data-step="total"]>div:last-child section:nth-child(1),.g3mde-equation[data-step="divisor"]>div:last-child section:nth-child(1),.g3mde-equation[data-step="divisor"]>div:last-child section:nth-child(3),.g3mde-equation[data-step="quotient"]>div:last-child section,.g3mde-components[data-step="dividend"] section:nth-child(1),.g3mde-components[data-step="divisor"] section:nth-child(1),.g3mde-components[data-step="divisor"] section:nth-child(3),.g3mde-components[data-step="quotient"] section{opacity:1;visibility:visible}.g3mde-equation[data-step="divisor"]>div:last-child>i:nth-child(2),.g3mde-equation[data-step="quotient"]>div:last-child>i{opacity:1;visibility:visible}.g3mde-equation[data-step="total"]>div:last-child section:nth-child(1),.g3mde-equation[data-step="divisor"]>div:last-child section:nth-child(3),.g3mde-equation[data-step="quotient"]>div:last-child section:nth-child(5),.g3mde-components[data-step="dividend"] section:nth-child(1),.g3mde-components[data-step="divisor"] section:nth-child(3),.g3mde-components[data-step="quotient"] section:nth-child(5){border-color:#f5a623;box-shadow:0 0 0 6px #ffd88155}
.g3mde-remainder[data-step="equal"] .g3mde-bin-model section,.g3mde-remainder[data-step="remainder"] .g3mde-bin-model .remainder{box-shadow:0 0 0 7px #ffbd5955}
.g3mde-remainder>div:last-of-type{display:grid;gap:4px;padding:9px;border-radius:14px;background:#fff;opacity:0;visibility:hidden;transition:.3s ease}.g3mde-remainder[data-step="remainder"]>div:last-of-type{opacity:1;visibility:visible}
.g3mde-remainder>div:last-of-type b{font-size:1.35rem}.g3mde-remainder>div:last-of-type small{font-weight:900;color:#087e70}
.g3mde-subtract>div{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;margin:18px 0}
.g3mde-subtract section{display:flex;align-items:center;gap:3px;opacity:0;visibility:hidden;transition:.25s ease}.g3mde-subtract section b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:2px solid #9ecfc5}.g3mde-subtract section i{font-style:normal;color:#ec6d4a;font-weight:900}
.g3mde-subtract>strong{opacity:0;visibility:hidden}.g3mde-subtract[data-step="walk"] section{animation:g3mde-reveal .25s calc(var(--i)*.13s) both}.g3mde-subtract[data-step="done"] section,.g3mde-subtract[data-step="done"]>strong{opacity:1;visibility:visible}.g3mde-subtract[data-step="done"] section:last-child b{background:#0a8f7e;color:#fff}
.g3mde-divide-ten .bundles{display:flex;justify-content:center;gap:7px;margin:8px 0}.g3mde-divide-ten .bundles section{display:grid;place-items:center;width:54px;height:72px;border:3px solid #f08b60;border-radius:12px;background:#fff7e9;transition:.35s ease}.g3mde-divide-ten .bundles b{font-size:.95rem}.g3mde-divide-ten .bundles i{display:grid;grid-template-columns:repeat(5,4px);gap:2px}.g3mde-divide-ten .bundles span{width:4px;height:6px;border-radius:2px;background:#0f9988}.g3mde-divide-ten .ten-targets{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;margin:14px auto;max-width:520px}.g3mde-divide-ten .ten-targets i{height:34px;border:2px dashed #8bc9bf;border-radius:9px;background:#fff}.g3mde-divide-ten>strong{opacity:0;visibility:hidden}.g3mde-divide-ten[data-step="open"] .bundles section{animation:g3mde-open .5s calc(var(--i)*.1s) both}.g3mde-divide-ten[data-step="share"] .ten-targets i,.g3mde-divide-ten[data-step="result"] .ten-targets i{background:radial-gradient(circle,#f28b62 0 26%,#fff 28%)}.g3mde-divide-ten[data-step="result"]>strong{font-size:1.4rem;color:#fff;background:#0b8f7e;border-radius:14px;padding:8px;opacity:1;visibility:visible}
.g3mde-eighty>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.g3mde-eighty i{display:grid;place-items:center;width:48px;height:62px;border-radius:11px;border:3px solid #ec8a61;background:#fff7e8;font-style:normal}.g3mde-eighty i b{color:#087e70}
.g3mde-near-line{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:18px auto 8px!important;max-width:520px}.g3mde-near-line i{position:relative;height:12px;border-radius:99px;background:linear-gradient(90deg,#7acbbe,#f4ad63);font-style:normal}.g3mde-near-line span{position:absolute;left:60%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;border:4px solid #f18c62;font-weight:900}.g3mde-near>div:last-of-type{display:flex;justify-content:space-between;max-width:520px;margin:auto;color:#39736d;font-weight:800}
.g3mde-compare>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.g3mde-compare section{display:grid;gap:8px;padding:18px;border-radius:18px;background:#fff;border:3px solid #b5dcd5;opacity:0;visibility:hidden;transform:scale(.96);transition:.35s ease}.g3mde-compare section b{font-size:1.5rem}.g3mde-compare .estimate{color:#087e70}.g3mde-compare .exact{color:#d65e3c}.g3mde-compare[data-step="estimate"] .estimate,.g3mde-compare[data-step="exact"] section,.g3mde-compare[data-step="compare"] section{opacity:1;visibility:visible;transform:none}.g3mde-compare[data-step="compare"] .estimate{box-shadow:0 8px 0 #f2a627}
.g3mde-guided-stock{display:grid;grid-template-columns:repeat(9,10px);justify-content:center;gap:4px;margin:10px auto!important;padding:10px;border-radius:18px;background:#fff}.g3mde-guided-stock i{width:10px;height:14px;border-radius:3px;background:#f28b62;box-shadow:inset 0 0 0 2px #fff7}.g3mde-guided-empty-bins{display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px auto!important}.g3mde-guided-empty-bins section{display:grid;gap:5px;min-height:64px;padding:7px;border:2px dashed #79bfb4;border-radius:13px;background:#f8fffe}.g3mde-guided-empty-bins small{font-size:.58rem;font-weight:900}.g3mde-guided-empty-bins span{display:block;height:25px;border-radius:8px;background:repeating-linear-gradient(90deg,#dff3ef 0 7px,#fff 7px 11px)}
.g3mde-sixty-three>div{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center}.g3mde-sixty-three section{display:grid;padding:15px;border:3px solid #b6ded7;border-radius:18px;background:#fff}.g3mde-sixty-three section b{font-size:1.6rem}.g3mde-sixty-three>div>i{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#f49367;color:#fff;font-style:normal}
.g3mde-independent-model{margin:8px auto;min-height:96px;padding:10px;border-radius:18px;background:#effaf7;border:2px solid #9bcfc6}.g3mde-independent-model.tens>div{display:flex;justify-content:center;gap:6px}.g3mde-independent-model.tens i{display:grid;grid-template-columns:repeat(5,3px);gap:2px;padding:7px;border:2px solid #ed8a5e;border-radius:8px;background:#fff7e8}.g3mde-independent-model.tens span{width:3px;height:28px;border-radius:2px;background:#0d9888}.g3mde-independent-model.tens b{display:block;margin-top:6px;color:#087e70}.g3mde-independent-model.near{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;max-width:430px}.g3mde-independent-model.near>i{position:relative;height:12px;border-radius:99px;background:linear-gradient(90deg,#67bdaf,#f0a45e)}.g3mde-independent-model.near span{position:absolute;left:66.7%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;border:3px solid #f08c62;font-style:normal;font-weight:900}.g3mde-independent-model.remainder{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.g3mde-independent-model.remainder>div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.g3mde-independent-model.remainder section{display:flex;justify-content:center;gap:2px;padding:4px;border:2px solid #8dc8bf;border-radius:8px;background:#fff}.g3mde-independent-model.remainder section i,.g3mde-independent-model.remainder aside i{width:6px;height:10px;border-radius:2px;background:#f28b62}.g3mde-independent-model.remainder aside{display:grid;place-items:center;gap:3px;padding:9px;border:2px dashed #ee865f;border-radius:10px;background:#fff4e8}.g3mde-independent-model.remainder aside small{font-size:.52rem;font-weight:900}
.g3mde-practice-complete>div{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.g3mde-practice-complete b{padding:10px 14px;border-radius:14px;background:#dff3ef;color:#087e70}
.g3mde-alternative{background:#fffaf0!important;border-color:#f0bd71!important}.g3mde-pizza-model{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}.g3mde-pizza-model section{display:grid;grid-template-columns:repeat(2,32px);justify-content:center;gap:4px;padding:12px;border-radius:50%;background:#fff;border:3px solid #e9a85c}.g3mde-pizza-model section i{width:32px;height:28px;border-radius:50% 10% 50% 10%;background:#f6b24b;border:2px solid #d77b30}.g3mde-pizza-model>b{position:absolute;opacity:0}.g3mde-jump-model,.g3mde-eight-steps{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.g3mde-jump-model i,.g3mde-eight-steps i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:2px solid #83c3b8;font-style:normal;font-weight:900}.g3mde-hundred-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.g3mde-hundred-strip i{height:32px;border-radius:8px;border:2px solid #a6d4cc;background:#fff}.g3mde-hundred-strip i.filled{background:repeating-linear-gradient(90deg,#0f9988 0 4px,#dff3ef 4px 7px)}.g3mde-distance-model{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.g3mde-distance-model>i{height:12px;border-radius:99px;background:linear-gradient(90deg,#69bcae,#f2a65e);position:relative}.g3mde-distance-model span{position:absolute;left:60%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:3px solid #f08b62;font-style:normal;font-weight:900}.g3mde-halves-model{display:flex;align-items:center;justify-content:center;gap:8px}.g3mde-halves-model section{display:flex;gap:4px}.g3mde-halves-model section>*{display:grid;place-items:center;min-width:34px;height:38px;border-radius:9px;background:#dff3ef;color:#087e70}.g3mde-support-target{visibility:visible!important;opacity:1!important;transition:none!important;animation:g3mde-guide 1.15s ease-in-out infinite alternate!important}
.show-g3mde-guides .g3mde-stock,.show-g3mde-guides .g3mde-bin-model section,.show-g3mde-guides .g3mde-near-line{animation:g3mde-guide 1.15s ease-in-out infinite alternate}
@keyframes g3mde-pop{0%{transform:scale(.8)}70%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes g3mde-book-land{0%{opacity:0;transform:translateY(-46px) scale(.72)}65%{opacity:1;transform:translateY(4px) scale(1.06)}100%{opacity:1;transform:none}}
@keyframes g3mde-reveal{to{opacity:1;visibility:visible}}
@keyframes g3mde-open{50%{transform:translateY(-7px) rotate(-3deg);background:#fff}100%{transform:translateY(3px);opacity:.5}}
@keyframes g3mde-guide{to{box-shadow:0 0 0 8px #f7b73366}}

@media(min-width:721px) and (max-height:800px){
  .lesson-shell:has(.grade3-mental-division-estimate-board) .teaching-board{height:calc(100vh - 227px)!important;min-height:calc(100vh - 227px)!important}
  .lesson-shell:has(.grade3-mental-division-estimate-board) .g3mde-station{height:100%;min-height:0}
}

@media(max-width:720px){
  .lesson-shell:has(.grade3-mental-division-estimate-board) .teacher-transcript{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .lesson-shell:has(.grade3-mental-division-estimate-board) .lesson-board{height:370px!important;min-height:370px!important}
  .g3mde-station{min-height:370px;border-radius:20px}.g3mde-station>img{object-fit:cover}.g3mde-workspace{padding:9px}.g3mde-workspace>div,.g3mde-workspace>aside{padding:11px;border-radius:17px}
  .g3mde-workspace .board-kicker{font-size:.6rem;margin-bottom:6px}.g3mde-workspace h1{font-size:1rem}.g3mde-workspace h2{font-size:.93rem;margin-top:6px}.g3mde-workspace p{font-size:.75rem}
  .g3mde-intro>div,.g3mde-final>div{grid-template-columns:repeat(2,1fr);gap:6px}.g3mde-intro section,.g3mde-final section{min-height:66px;padding:5px}.g3mde-intro section i,.g3mde-final section i{width:30px;height:30px;font-size:1rem}.g3mde-intro section b,.g3mde-final section b{font-size:.58rem}
  .g3mde-bin-model{gap:4px;margin:6px 0}.g3mde-bin-model section,.g3mde-bin-model aside{min-height:72px;padding:3px;border-width:2px}.g3mde-bin-model section>div,.g3mde-bin-model aside>div{min-height:33px;gap:1px;margin:2px}.g3mde-bin-model section i,.g3mde-bin-model aside i{width:5px;height:8px}.g3mde-bin-model small{font-size:.45rem}.g3mde-bin-model b{font-size:.8rem}.g3mde-stock{padding:5px 12px}.g3mde-stock b{font-size:1.15rem}
  .g3mde-equation>div:last-child,.g3mde-components>div{gap:4px}.g3mde-equation>div:last-child section,.g3mde-components section{min-width:0;padding:6px}.g3mde-equation>div:last-child b,.g3mde-components b{font-size:1.2rem}.g3mde-equation small,.g3mde-components small{font-size:.5rem}
  .g3mde-subtract>div{gap:1px;margin:8px 0}.g3mde-subtract section b{width:27px;height:27px;font-size:.68rem}.g3mde-subtract section i{font-size:.55rem}
  .g3mde-divide-ten .bundles{gap:3px}.g3mde-divide-ten .bundles section{width:37px;height:50px;border-width:2px}.g3mde-divide-ten .bundles i{grid-template-columns:repeat(5,3px)}.g3mde-divide-ten .bundles span{width:3px;height:4px}.g3mde-divide-ten .ten-targets{gap:2px;margin:7px}.g3mde-divide-ten .ten-targets i{height:22px}
  .g3mde-eighty i{width:34px;height:44px}.g3mde-near-line span{width:38px;height:38px}.g3mde-compare>div{gap:6px}.g3mde-compare section{padding:9px}.g3mde-compare section b{font-size:1rem}.g3mde-guided-stock{grid-template-columns:repeat(12,6px);gap:2px;margin:5px auto!important;padding:6px}.g3mde-guided-stock i{width:6px;height:8px}.g3mde-guided-empty-bins{gap:4px!important;margin:4px auto!important}.g3mde-guided-empty-bins section{min-height:45px;padding:3px}.g3mde-sixty-three section{padding:7px}.g3mde-sixty-three>div>i{width:46px;height:46px}.g3mde-independent-model{min-height:70px;padding:6px;margin:4px auto}.g3mde-independent-model.tens i{padding:4px}.g3mde-independent-model.tens span{height:18px}.g3mde-independent-model.remainder>div{grid-template-columns:repeat(3,1fr)}
  .g3mde-pizza-model section{grid-template-columns:repeat(2,22px);padding:7px}.g3mde-pizza-model section i{width:22px;height:19px}.g3mde-alternative p{margin-top:5px}
  .g3mde-distribute-button span{font-size:.72rem;white-space:nowrap;line-height:1}
}

/* 3. sınıf · Santimetre, metre ve kilometre */
.grade3-length-units-board{overflow:hidden}.g3lu-lab{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:24px;background:#dff4ef}.g3lu-lab>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.78) brightness(1.05);opacity:.32}.g3lu-workspace{position:relative;z-index:1;width:100%;height:100%;display:grid;place-items:center;padding:clamp(12px,2vw,26px);box-sizing:border-box}.g3lu-workspace>div{width:min(100%,900px);max-height:100%;box-sizing:border-box}.g3lu-workspace h1,.g3lu-workspace h2,.g3lu-workspace p{margin:0;text-align:center}.g3lu-workspace h1{font-size:clamp(23px,3vw,39px);line-height:1.14;color:#083f4d}.g3lu-workspace h2{font-size:clamp(18px,2.3vw,29px);line-height:1.2;color:#073c4b}.g3lu-workspace button{font:inherit}.g3lu-intro,.g3lu-unit-rule,.g3lu-ruler-line,.g3lu-align,.g3lu-measure-task,.g3lu-measure-finish,.g3lu-meter-build,.g3lu-fold-meter,.g3lu-relation,.g3lu-relation-finish,.g3lu-tool,.g3lu-tool-finish,.g3lu-unit,.g3lu-unit-finish,.g3lu-road,.g3lu-repair,.g3lu-repair-finish,.g3lu-tiles-repair,.g3lu-scale-repair,.g3lu-scale-finish,.g3lu-independent,.g3lu-independent-finish,.g3lu-final{display:grid;gap:clamp(10px,1.7vh,20px);align-content:center;justify-items:center;background:rgba(247,255,253,.94);border:2px solid #8bcfc2;border-radius:24px;padding:clamp(14px,2vw,28px);box-shadow:0 16px 34px rgba(4,72,73,.12)}
.g3lu-span-demo{position:relative;width:min(680px,100%);height:190px;border-radius:20px;background:#fff2ce;border:2px solid #e8b65e;overflow:hidden}.g3lu-span-demo .pencil{position:absolute;left:12%;right:12%;top:34px;height:17px;border-radius:20px;background:linear-gradient(90deg,#ef6d58 0 7%,#f6bd3f 7% 92%,#303b47 92%);box-shadow:0 6px 8px #8d632333}.g3lu-span-demo section{position:absolute;left:8%;right:8%;display:flex;align-items:center;justify-content:center;gap:8px;opacity:.14;transform:translateY(10px);transition:.45s}.g3lu-span-demo section i{font-style:normal;font-size:34px}.g3lu-span-demo section b{margin-left:12px;color:#075c59}.g3lu-span-demo .small-hand{top:68px}.g3lu-span-demo .large-hand{top:124px}.g3lu-intro.show-small .small-hand,.g3lu-intro.show-large .large-hand{opacity:1;transform:none}.g3lu-intro.show-standard .g3lu-span-demo{box-shadow:0 0 0 6px #f5a62355}
.g3lu-unit-rule{min-width:0;max-width:100%}.g3lu-unit-rule>button{box-sizing:border-box;min-width:0;max-width:100%;width:min(660px,100%);min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,130px);align-items:center;gap:12px;border:2px solid #86c9bf;border-radius:18px;background:white;padding:10px 16px;cursor:pointer}.g3lu-unit-rule>button:hover,.g3lu-unit-rule>button:focus-visible{outline:none;border-color:#f5a623;box-shadow:0 0 0 5px #f5a62333}.g3lu-unit-rule>button span{min-width:0;display:flex;justify-content:center}.g3lu-unit-rule>button span i,.g3lu-tiles-repair>div i{box-sizing:border-box;min-width:0;max-width:54px;flex:1 1 0;width:54px;height:36px;background:#4fc2b1;border:2px solid #087d73}.g3lu-unit-rule>button.gap span{gap:12px}.g3lu-unit-rule>button.overlap span i+ i{margin-left:-14px}.g3lu-unit-rule>button.correct span i+ i{border-left:0}.g3lu-unit-rule>button.done{background:#edfff9}.g3lu-unit-rule>button b{min-width:0;color:#0b5260}
.g3lu-ruler{position:relative;width:min(720px,92%);height:118px;padding:24px 18px 6px;box-sizing:border-box}.g3lu-ruler-track{position:relative;height:72px;display:grid;grid-template-columns:repeat(11,1fr);border-bottom:8px solid #f5c954;background:#fff3b9;border-radius:10px 10px 4px 4px}.g3lu-ruler-track>i{position:relative;border-left:2px solid #184d59}.g3lu-ruler-track>i:last-child{border-right:2px solid #184d59}.g3lu-ruler-track>i:before{content:"";display:block;height:28px;border-bottom:2px solid #184d59}.g3lu-ruler-track>i.start{background:#ffb24a55;box-shadow:inset 0 0 0 3px #f28c28}.g3lu-ruler-track b{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);font-style:normal;color:#083f4d;font-size:15px}.g3lu-measured-object{position:absolute;z-index:3;left:calc(18px + (100% - 36px)/10*var(--from));top:4px;width:calc((100% - 36px)/10*var(--span));height:27px;border-radius:20px;background:linear-gradient(90deg,#ee6e58,#f5bd39 8% 92%,#273d46 92%);box-shadow:0 5px 8px #13404f33}.g3lu-ruler-line .g3lu-line-copy{width:min(680px,87%);display:grid;grid-template-columns:repeat(11,1fr);opacity:.1;transform:translateY(-18px);transition:.7s}.g3lu-ruler-line.transform-line .g3lu-line-copy{opacity:1;transform:none}.g3lu-line-copy i{position:relative;height:35px;border-top:3px solid #0a887d;font-style:normal}.g3lu-line-copy i:before{content:"";position:absolute;top:-7px;left:50%;width:12px;height:12px;border-radius:50%;background:#0a887d}.g3lu-line-copy b{position:absolute;top:8px;left:50%;transform:translateX(-50%);color:#0a615d}
.g3lu-drag-zone{position:relative;width:min(760px,100%);height:260px;background:#e8fbf5;border-radius:20px;overflow:hidden}.g3lu-drag-zone .g3lu-ruler{position:absolute;left:5%;right:5%;bottom:8px;width:90%}.g3lu-zero-target{position:absolute;left:9%;top:22px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;border:4px dashed #f28c28;color:#0b5b58;font-size:28px;font-weight:900;animation:g3lu-target-pulse 1.2s infinite}.g3lu-drag-pencil{position:absolute;z-index:5;left:36%;top:76px;width:48%;height:44px;border:0;background:transparent;touch-action:none;cursor:grab}.g3lu-drag-pencil i{display:block;height:20px;border-radius:20px;background:linear-gradient(90deg,#ee6e58 0 7%,#f5bd39 7% 92%,#273d46 92%);box-shadow:0 7px 10px #1235}.g3lu-drag-pencil.aligned{left:9%;transform:none!important}.g3lu-drag-pencil:focus-visible{outline:4px solid #f5a623;border-radius:12px}@keyframes g3lu-target-pulse{50%{box-shadow:0 0 0 12px #f5a62322}}
.g3lu-meter-build>div{width:min(820px,100%);display:grid;grid-template-columns:repeat(10,1fr);gap:2px}.g3lu-meter-build button{height:96px;border:2px solid #0d8b80;background:#fff6d5;display:grid;place-items:center;cursor:pointer}.g3lu-meter-build button:disabled{opacity:.45}.g3lu-meter-build button.done{background:#3fbaa9;color:white;transform:translateY(-5px)}.g3lu-meter-build button i{width:80%;height:34px;background:#f1c34d;border-radius:8px}.g3lu-meter-build button b{font-size:14px}.g3lu-fold-strip{width:min(760px,96%);height:110px;display:grid;grid-template-columns:repeat(4,1fr);perspective:700px}.g3lu-fold-strip i{position:relative;background:#f8d36c;border:2px solid #9f7215;display:grid;place-items:center;font-style:normal;transition:.7s;transform-origin:left}.g3lu-fold-strip b{position:absolute;bottom:4px;left:-7px;color:#0b555a}.g3lu-fold-strip small{font-size:20px;font-weight:900;color:#085951}.g3lu-fold-meter.step-1 .g3lu-fold-strip i:nth-child(n+3){transform:rotateY(-160deg)}.g3lu-fold-meter.step-2 .g3lu-fold-strip i{background:#7ad0c3}.g3lu-meter-packs{min-width:min(620px,90%);min-height:120px;display:grid;place-items:center;padding:20px;border:3px dashed #0d8b80;border-radius:20px;background:repeating-linear-gradient(90deg,#e7fff9 0 98px,#0d8b8033 98px 100px);font-size:clamp(25px,4vw,45px);font-weight:900;color:#075a56}
.g3lu-tool>i,.g3lu-unit>i{width:120px;height:120px;border-radius:26px;display:grid;place-items:center;background:#fff3ca;border:3px solid #e8b34b;font-style:normal;font-size:65px;color:#075b58}.g3lu-tool-finish>div,.g3lu-unit-finish>div,.g3lu-final>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.g3lu-tool-finish b,.g3lu-unit-finish b,.g3lu-final>div>b{min-width:120px;padding:18px;border-radius:18px;background:white;border:2px solid #61bcb1;color:#075b58;text-align:center}.g3lu-unit-finish small,.g3lu-final small{display:block;font-size:13px;margin-top:5px}.g3lu-road-map{position:relative;width:min(760px,96%);height:190px;border-radius:80px 18px 18px 80px;background:linear-gradient(180deg,#a8dd88 0 30%,#576571 30% 75%,#9cd07c 75%);overflow:hidden}.g3lu-road-map:before{content:"";position:absolute;top:48%;left:8%;right:8%;height:8px;background:repeating-linear-gradient(90deg,#f8e8a1 0 36px,transparent 36px 58px)}.g3lu-road-map .traveler{position:absolute;z-index:2;top:72px;left:calc(6% + var(--road,0)*20%);width:44px;height:44px;border-radius:50% 50% 12px 12px;background:#ef765e;transition:.7s}.g3lu-road.step-1 .traveler{left:25%}.g3lu-road.step-2 .traveler{left:45%}.g3lu-road.step-3 .traveler{left:65%}.g3lu-road.step-4 .traveler{left:84%}.g3lu-road-map span,.g3lu-road-map b{position:absolute;top:14px;padding:8px 16px;border-radius:14px;background:white;color:#075b58}.g3lu-road-map span{left:18px}.g3lu-road-map b{right:18px;font-size:28px}.g3lu-road p{max-width:680px;color:#49636b}
.g3lu-broken-claim{padding:15px 22px;border-radius:16px;background:#fff1e9;border:2px solid #ef8768;color:#813820;font-size:clamp(18px,2.2vw,28px);font-weight:900}.g3lu-broken-claim i{display:inline-grid;place-items:center;width:30px;height:30px;margin-left:10px;border-radius:50%;background:#ef6e52;color:white}.g3lu-tiles-repair>div{display:flex;width:min(650px,90%);justify-content:center}.g3lu-tiles-repair>div.gap{gap:18px}.g3lu-tiles-repair>div.overlap i+i{margin-left:-16px}.g3lu-repair-finish>div,.g3lu-scale-finish>div,.g3lu-independent-finish>div{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3lu-repair-finish b,.g3lu-scale-finish b,.g3lu-independent-finish b{padding:14px 18px;border-radius:15px;background:#fff;border:2px solid #63bfb3;color:#075b58}.g3lu-independent>div{width:min(700px,100%);display:grid;place-items:center;min-height:120px;font-size:clamp(25px,4vw,44px);font-weight:900;color:#075b58}.g3lu-final{background:linear-gradient(145deg,#e8fff8,#fff2c9);gap:22px}.g3lu-final>span{padding:9px 16px;border-radius:999px;background:#087f75;color:white;font-weight:900}.g3lu-final p{font-size:clamp(15px,2vw,22px);font-weight:800;color:#7b570e}.g3lu-alternative{position:absolute;z-index:9;left:4%;right:4%;bottom:4%;padding:14px;border-radius:18px;background:#fffdf3;border:3px solid #f3ae38;box-shadow:0 14px 30px #173b4b33;text-align:center}.g3lu-alt-steps,.g3lu-alt-meter,.g3lu-alt-units{display:flex;justify-content:center;align-items:center;gap:7px}.g3lu-alt-steps i,.g3lu-alt-meter i{width:48px;height:40px;border:2px solid #087f75;background:#8ddacd}.g3lu-alt-steps b{font-style:normal}.g3lu-alt-units b{padding:8px 16px;border-radius:12px;background:#e5faf5;color:#075b58}.g3lu-alt-units small{display:block}.show-g3lu-guides .g3lu-ruler-track,.show-g3lu-guides .g3lu-road-map,.show-g3lu-guides .g3lu-meter-packs{box-shadow:0 0 0 7px #f5a62355}
.g3lu-fold-stage{width:min(760px,100%);display:grid;gap:12px;justify-items:center}.g3lu-fold-meter .g3lu-fold-strip{position:relative;width:min(720px,100%);height:104px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));perspective:900px;filter:drop-shadow(0 12px 12px #214b5330)}.g3lu-fold-meter .g3lu-fold-strip .segment{position:relative;display:grid;place-items:center;min-width:0;background:linear-gradient(180deg,#ffe58e,#f5c95b);border:0;border-top:3px solid #9f7215;border-bottom:3px solid #9f7215;font-style:normal;transform-origin:left center;backface-visibility:hidden}.g3lu-fold-meter .g3lu-fold-strip .s1{border-left:3px solid #9f7215;border-radius:14px 0 0 14px}.g3lu-fold-meter .g3lu-fold-strip .s4{border-right:3px solid #9f7215;border-radius:0 14px 14px 0}.g3lu-fold-meter.step-0 .g3lu-fold-strip .segment{border-right:0;border-left:0}.g3lu-fold-meter.step-0 .g3lu-fold-strip .s1{border-left:3px solid #9f7215}.g3lu-fold-meter.step-0 .g3lu-fold-strip .s4{border-right:3px solid #9f7215}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s2{border-right:4px solid #087f75}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s1,.g3lu-fold-meter.step-1 .g3lu-fold-strip .s2{background:linear-gradient(180deg,#ffe58e,#f5c95b)}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s3,.g3lu-fold-meter.step-1 .g3lu-fold-strip .s4{background:linear-gradient(180deg,#9fe1d6,#61c5b5)}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s2 span{display:none}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s3{z-index:2}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s4{z-index:1}.g3lu-fold-meter.step-1 .g3lu-fold-strip .s3:after{content:"50 cm";position:absolute;z-index:4;left:0;width:200%;text-align:center;color:#075b58;font-size:clamp(18px,2.3vw,28px);font-weight:950}.g3lu-fold-meter.step-1 .g3lu-fold-strip .segment{animation:g3lu-half-unfold .75s ease-out both}.g3lu-fold-meter.step-2 .g3lu-fold-strip .segment{border-right:2px solid #087f75;background:linear-gradient(180deg,#a9e8dd,#66c9ba);animation:g3lu-quarter-open .65s ease-out both}.g3lu-fold-meter.step-2 .g3lu-fold-strip .s4{border-right:3px solid #9f7215}.g3lu-fold-meter .g3lu-fold-strip span{position:relative;z-index:2;color:#075b58;font-size:clamp(15px,2vw,24px);font-weight:950}.g3lu-fold-result{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:6px 16px;border-radius:16px;background:#fff;color:#075b58}.g3lu-fold-result strong{padding:7px 12px;border-radius:12px;background:#fff0bd;color:#8a5a00;font-size:clamp(18px,2vw,26px)}@keyframes g3lu-half-unfold{0%{transform:rotateY(-75deg) scaleX(.75);opacity:.35}100%{transform:none;opacity:1}}@keyframes g3lu-quarter-open{0%{transform:rotateY(-55deg);opacity:.4}100%{transform:none;opacity:1}}
.g3lu-meter-packs{width:min(760px,100%);min-width:0;min-height:138px;display:grid;place-items:center;padding:16px;border:3px dashed #0d8b80;border-radius:20px;background:#effcf8}.g3lu-meter-pack-row{width:100%;display:flex;align-items:flex-end;justify-content:center;gap:8px;min-width:0}.g3lu-meter-pack-row i{position:relative;flex:1 1 120px;max-width:150px;height:76px;display:grid;place-items:center;border:3px solid #087f75;border-radius:12px;background:linear-gradient(180deg,#ffe79a,#f6c84f);font-style:normal;color:#075b58;box-shadow:inset 0 -12px #eab33955}.g3lu-meter-pack-row i:before{content:"";position:absolute;left:25%;right:25%;top:0;bottom:0;border-left:1px dashed #8b671c;border-right:1px dashed #8b671c}.g3lu-meter-pack-row i.quarter{flex-basis:38px;max-width:52px;background:#9ce0d5}.g3lu-meter-pack-row i.half{flex-basis:70px;max-width:82px;background:#9ce0d5}.g3lu-meter-pack-row b,.g3lu-meter-pack-row small{position:relative;z-index:1}.g3lu-meter-pack-row b{font-size:clamp(16px,2vw,24px)}.g3lu-meter-pack-row small{font-size:12px;font-weight:900}
.g3lu-object-visual{width:min(270px,72%);height:150px;margin:0;display:grid;place-items:center;border-radius:22px;background:linear-gradient(145deg,#effcf8,#fff4cf);border:2px solid #8bcfc2;overflow:hidden;box-sizing:border-box}.g3lu-object-visual img{display:block;width:100%;height:100%;object-fit:contain;padding:10px;box-sizing:border-box}.g3lu-object-visual.object-0 img,.g3lu-object-visual.unit-0 img,.g3lu-object-visual.scale-0 img{padding:28px 12px}.g3lu-object-visual.unit-1{width:min(310px,82%)}.g3lu-object-visual.unit-2,.g3lu-object-visual.scale-1,.g3lu-object-visual.independent-road{width:min(520px,94%);height:155px}.g3lu-object-visual.independent-door{width:min(170px,55%);height:190px}.g3lu-scale-evidence{width:min(720px,100%);display:grid;grid-template-columns:minmax(160px,.7fr) minmax(260px,1.3fr);gap:14px;align-items:center}.g3lu-scale-evidence .g3lu-object-visual{width:100%;height:145px}.g3lu-fraction-strip{position:relative;width:min(520px,92%);height:92px;display:grid;border:3px solid #9f7215;border-radius:14px;overflow:hidden;background:#f8d36c}.g3lu-fraction-strip.half{grid-template-columns:repeat(2,1fr)}.g3lu-fraction-strip.quarter{grid-template-columns:repeat(4,1fr)}.g3lu-fraction-strip i{border-right:3px solid #087f75}.g3lu-fraction-strip i:last-of-type{border-right:0}.g3lu-fraction-strip b{position:absolute;inset:0;display:grid;place-items:center;color:#075b58;font-size:24px;text-shadow:0 1px #fff}
@media(max-width:720px){.grade3-length-units-shell .topic-main{min-height:0}.g3lu-workspace{padding:8px}.g3lu-workspace>div{border-radius:16px;padding:10px;gap:8px}.g3lu-workspace h1{font-size:20px}.g3lu-workspace h2{font-size:17px}.g3lu-span-demo{height:150px}.g3lu-span-demo .small-hand{top:58px}.g3lu-span-demo .large-hand{top:103px}.g3lu-span-demo section i{font-size:25px}.g3lu-unit-rule>button{grid-template-columns:minmax(0,1fr) minmax(90px,105px);min-height:58px;padding:6px}.g3lu-unit-rule>button span i,.g3lu-tiles-repair>div i{width:36px;height:28px}.g3lu-ruler{height:90px;padding:16px 5px 3px;width:100%}.g3lu-ruler-track{height:61px}.g3lu-ruler-track b{font-size:11px}.g3lu-measured-object{left:calc(5px + (100% - 10px)/10*var(--from));width:calc((100% - 10px)/10*var(--span));top:0}.g3lu-drag-zone{height:190px}.g3lu-drag-pencil{top:55px}.g3lu-meter-build>div{grid-template-columns:repeat(5,1fr)}.g3lu-meter-build button{height:54px}.g3lu-meter-build button i{height:18px}.g3lu-fold-strip{height:75px}.g3lu-road-map{height:135px}.g3lu-road-map .traveler{top:54px}.g3lu-tool>i,.g3lu-unit>i{width:78px;height:78px;font-size:44px}.g3lu-alternative{left:2%;right:2%;bottom:2%;font-size:12px}.g3lu-alt-steps i,.g3lu-alt-meter i{width:26px;height:24px}.g3lu-final p{font-size:13px}}
@media(max-height:760px) and (min-width:721px){.grade3-length-units-shell .teacher-classroom{padding:8px 0 14px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade3-length-units-shell .lesson-avatar{height:190px}.grade3-length-units-shell .teacher-bubble{min-height:86px;max-height:138px;overflow:auto;margin-top:7px;padding:11px;font-size:11px;line-height:1.35}.grade3-length-units-shell .narration-controls{margin-top:5px}.grade3-length-units-shell .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.grade3-length-units-shell .raise-hand{min-height:50px;padding:5px 10px}.grade3-length-units-shell .teaching-area{width:min(100%,calc(100vh - 205px))}.grade3-length-units-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade3-length-units-shell .g3lu-lab,.grade3-length-units-shell .g3lu-workspace{min-height:420px}.grade3-length-units-shell .g3lu-workspace{padding:12px 15px}.grade3-length-units-shell .g3lu-workspace>div{padding:12px;gap:7px}.grade3-length-units-shell .g3lu-span-demo{height:150px}.grade3-length-units-shell .g3lu-span-demo .small-hand{top:58px}.grade3-length-units-shell .g3lu-span-demo .large-hand{top:104px}.grade3-length-units-shell .g3lu-unit-rule>button{min-height:56px}.grade3-length-units-shell .g3lu-road-map{height:145px}.grade3-length-units-shell .g3lu-final{max-height:390px;overflow:auto}.grade3-length-units-shell .g3lu-final h1{font-size:25px}.grade3-length-units-shell .g3lu-final p{font-size:14px}.grade3-length-units-shell .lesson-footer{min-height:56px;padding-top:5px}}
@media(max-width:720px){.g3lu-fold-stage{gap:7px}.g3lu-fold-meter .g3lu-fold-strip{height:66px}.g3lu-fold-result{min-height:38px;padding:4px 8px;gap:6px;font-size:13px}.g3lu-fold-result strong{font-size:15px;padding:5px 8px}.g3lu-meter-packs{min-height:92px;padding:8px}.g3lu-meter-pack-row{gap:3px}.g3lu-meter-pack-row i{min-width:0;flex-basis:54px;height:58px;border-width:2px}.g3lu-meter-pack-row i.quarter{flex-basis:25px;max-width:34px}.g3lu-meter-pack-row i.half{flex-basis:38px;max-width:48px}.g3lu-meter-pack-row b{font-size:13px}.g3lu-meter-pack-row small{font-size:9px}.g3lu-object-visual{height:104px;width:min(210px,72%)}.g3lu-object-visual.unit-1{width:min(220px,78%)}.g3lu-object-visual.unit-2,.g3lu-object-visual.scale-1,.g3lu-object-visual.independent-road{width:min(300px,96%);height:102px}.g3lu-object-visual.independent-door{width:min(112px,44%);height:126px}.g3lu-scale-evidence{grid-template-columns:1fr;gap:5px}.g3lu-scale-evidence .g3lu-object-visual{height:86px;width:min(260px,88%);justify-self:center}.g3lu-scale-evidence .g3lu-broken-claim{font-size:15px;padding:8px 10px}.g3lu-fraction-strip{height:60px}.g3lu-independent>div{min-height:78px}.g3lu-independent .g3lu-ruler{height:82px}}

/* Grade 2 · Theme 3 · Addition/subtraction inverse relationship */
.grade2-inverse-board .board-square {
  width: min(650px, 100%);
  height: min(650px, calc(100dvh - 300px));
  min-height: 540px;
  overflow: hidden;
  background: linear-gradient(155deg, #effbf8 0%, #e3f6f1 100%);
  border: 1px solid #abd9d2;
}
.inverse-hero,
.inverse-family-model,
.inverse-missing-model,
.inverse-subtraction-model,
.inverse-practice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px;
}
.inverse-workshop-scene {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 2px solid rgba(15, 143, 129, .26);
  box-shadow: 0 16px 34px rgba(14, 83, 76, .14);
  isolation: isolate;
}
.inverse-workshop-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inverse-tray-slot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  transition: filter .2s ease, transform .2s ease;
}
.inverse-tray-slot.whole { left: 33%; top: 21%; width: 34%; height: 24%; }
.inverse-tray-slot.left { left: 7.5%; top: 66%; width: 29%; height: 24%; }
.inverse-tray-slot.right { right: 7.5%; top: 66%; width: 29%; height: 24%; }
.inverse-tray-slot.spoken-focus {
  filter: drop-shadow(0 0 13px rgba(255, 159, 38, .95));
  transform: scale(1.04);
}
.inverse-number-tag {
  position: absolute;
  right: 2px;
  top: -8px;
  min-width: 54px;
  padding: 4px 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .95);
  border: 2px solid #168f81;
  color: #0b4d49;
  text-align: center;
  box-shadow: 0 5px 12px rgba(5, 74, 68, .16);
}
.inverse-tray-slot.left .inverse-number-tag { border-color: #e46655; }
.inverse-tray-slot.right .inverse-number-tag { border-color: #e49a20; }
.inverse-number-tag small { display: block; font-size: 8px; letter-spacing: .08em; }
.inverse-number-tag b { font-size: 20px; line-height: 1; }
.inverse-number-tag.unknown {
  color: #bf541c;
  border-color: #ff9f26;
  animation: inverse-question-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes inverse-question-pulse { to { box-shadow: 0 0 0 6px rgba(255, 159, 38, .23), 0 6px 16px rgba(148, 78, 8, .2); } }
.inverse-quantity {
  width: 80%;
  min-height: 56%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  transform-origin: center;
}
.inverse-tens,
.inverse-units { display: flex; flex-wrap: wrap-reverse; align-items: flex-end; justify-content: center; gap: 3px; }
.inverse-tens i {
  display: block;
  width: 8px;
  height: 38px;
  border-radius: 5px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.42) 0 3px, transparent 3px 6px), #18a596;
  border: 1px solid rgba(6, 83, 75, .4);
}
.inverse-units { max-width: 44px; }
.inverse-units i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18a596;
  border: 1px solid rgba(6, 83, 75, .4);
}
.inverse-quantity.coral i { background-color: #eb735e; }
.inverse-quantity.amber i { background-color: #f0a92f; }
.inverse-junction {
  position: absolute;
  z-index: 3;
  left: 47.5%;
  top: 56.5%;
  width: 5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 209, 74, .58);
  box-shadow: 0 0 18px 8px rgba(255, 209, 74, .45);
}
.inverse-hero-copy { text-align: center; max-width: 570px; }
.inverse-hero-copy h1,
.inverse-practice h1 { margin: 0; color: #123f4b; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.12; }
.inverse-hero-copy p { margin: 5px 0 0; color: #326467; font-weight: 700; }
.inverse-family-equations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  width: 100%;
}
.inverse-family-equations span,
.inverse-known-family span {
  padding: 10px 7px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid #afd8d2;
  color: #123f4b;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
}
.inverse-family-equations span.spoken-focus { border-color: #ff9f26; box-shadow: 0 0 0 4px rgba(255,159,38,.2); }
.inverse-known-family {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 100%;
}
.inverse-known-family span { font-size: 15px; padding: 7px 4px; }
.inverse-known-family .unknown { color: #c55b24; border-style: dashed; }
.inverse-practice .inverse-workshop-scene { width: min(100%, 500px); }
.inverse-practice h1 { max-width: 580px; text-align: center; font-size: clamp(18px, 2vw, 25px); }
.inverse-main-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 13px;
  border-radius: 16px;
  color: #123f4b;
  background: rgba(255,255,255,.96);
  border: 2px solid #afd8d2;
  font-size: 25px;
}
.inverse-main-equation strong { color: #c85b20; padding: 1px 11px; border: 2px dashed #ff9f26; border-radius: 10px; }
.inverse-main-equation.compact { font-size: 28px; }
.inverse-model-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.inverse-model-steps > span {
  flex: 1;
  padding: 10px;
  border-radius: 15px;
  background: #fff;
  border: 2px solid #afd8d2;
  text-align: center;
  color: #123f4b;
}
.inverse-model-steps b { display: block; font-size: 23px; }
.inverse-model-steps small { color: #4d7778; font-weight: 800; }
.inverse-model-steps > i { align-self: center; color: #ed764c; font-size: 24px; }
.inverse-dual-model { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; min-height: 0; }
.inverse-dual-model section { min-width: 0; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.65); border: 2px solid #b9ddd7; }
.inverse-dual-model .inverse-workshop-scene { width: 100%; border-radius: 16px; }
.inverse-dual-model section.spoken-focus { border-color: #ff9f26; box-shadow: 0 0 0 4px rgba(255,159,38,.2); }
.inverse-model-card { margin-top: 6px; text-align: center; color: #123f4b; }
.inverse-model-card > b { display: block; font-size: 20px; }
.inverse-model-card span { display: block; color: #087e71; font-weight: 900; }
.inverse-model-card small { font-weight: 800; color: #547678; }
.inverse-section-complete,
.inverse-finish { display: grid; place-items: center; text-align: center; padding: 28px; }
.inverse-section-complete h1 { max-width: 530px; color: #123f4b; }
.inverse-complete-mark { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; color: #fff; background: #0a9182; font-size: 58px; box-shadow: 0 18px 32px rgba(8,119,107,.25); }
.inverse-finish { grid-template-columns: 1fr; align-content: center; overflow: hidden; }
.inverse-finish > img { width: min(100%, 520px); border-radius: 24px; object-fit: cover; aspect-ratio: 16/9; }
.inverse-finish > div { margin-top: -48px; z-index: 2; width: min(92%, 540px); padding: 20px; border-radius: 22px; background: rgba(255,255,255,.94); border: 2px solid #afd8d2; color: #123f4b; }
.inverse-finish h1 { margin: 5px 0; font-size: 27px; }
.inverse-finish-rules { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.inverse-finish-rules b { padding: 8px 12px; border-radius: 999px; background: #e4f7f3; color: #087e71; }
.grade2-inverse-footer .final-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inverse-support-family,
.inverse-support-equation,
.inverse-support-motion { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; }
.inverse-support-family span { padding: 7px 10px; border-radius: 12px; background: #fff; border: 2px solid #b8ddd7; text-align: center; }
.inverse-support-family small { display: block; font-size: 8px; }
.inverse-support-family b,
.inverse-support-equation b,
.inverse-support-equation strong { font-size: 24px; }
.inverse-support-family .whole { border-color: #ff9f26; }
.inverse-support-equation strong { color: #c65b24; }
.inverse-support-motion span { padding: 9px 13px; border-radius: 12px; background: #fff; border: 2px solid #b8ddd7; font-weight: 900; }
.inverse-support-motion i { color: #ed764c; font-size: 25px; }

@media (max-width: 760px) {
  .grade2-inverse-board .board-square { width: 100%; height: auto; min-height: 0; max-height: none; padding: 10px; gap: 7px; }
  .inverse-workshop-scene { border-radius: 16px; }
  .inverse-number-tag { min-width: 38px; padding: 2px 4px; top: -3px; }
  .inverse-number-tag small { font-size: 6px; }
  .inverse-number-tag b { font-size: 15px; }
  .inverse-tens i { width: 5px; height: 24px; }
  .inverse-units i { width: 7px; height: 7px; }
  .inverse-family-equations,
  .inverse-known-family { grid-template-columns: repeat(2, 1fr); }
  .inverse-family-equations span { font-size: 15px; padding: 6px 4px; }
  .inverse-dual-model { gap: 6px; }
  .inverse-dual-model section { padding: 4px; border-radius: 12px; }
  .inverse-model-card > b { font-size: 14px; }
  .inverse-model-card span { font-size: 12px; }
  .inverse-model-card small { font-size: 9px; }
  .inverse-model-steps b { font-size: 17px; }
  .inverse-model-steps small { font-size: 10px; }
  .inverse-practice h1 { font-size: 17px; }
  .inverse-main-equation { font-size: 18px; padding: 5px 9px; }
  .inverse-main-equation.compact { font-size: 20px; }
  .inverse-hero-copy h1 { font-size: 20px; }
  .inverse-hero-copy p { font-size: 12px; }
  .inverse-finish > div { margin-top: -32px; padding: 12px; }
  .inverse-finish > img { width: 82%; max-height: 154px; }
  .inverse-finish h1 { font-size: 19px; }
  .inverse-finish p { margin: 5px 0; font-size: 12px; line-height: 1.25; }
  .inverse-finish-rules b { padding: 6px 9px; font-size: 11px; }
  .grade2-inverse-footer .final-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Grade 2 · Theme 3 · Operation result estimation */
.grade2-operation-estimate-board {
  --operation-ink: #123f52;
  --operation-teal: #0b907f;
  --operation-coral: #f27658;
  --operation-gold: #f5b93f;
  background: linear-gradient(145deg, #effaf7 0%, #e4f4f1 100%);
}

.grade2-operation-estimate-board .board-square {
  min-height: 100%;
  padding: clamp(14px, 2vw, 26px);
  overflow: hidden;
  border-color: #b7ddd7;
  background: linear-gradient(145deg, #f8fffd, #e9f8f5);
}

.operation-estimate-hero,
.operation-estimate-finish {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: white;
}

.operation-estimate-hero > img,
.operation-estimate-finish > img,
.operation-compare-scene > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.operation-estimate-hero::after,
.operation-estimate-finish::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 52, 62, .84), rgba(7, 52, 62, .15) 64%, rgba(7, 52, 62, .08));
}

.operation-estimate-hero-copy,
.operation-estimate-finish > div {
  width: min(58%, 520px);
  padding: clamp(16px, 2.8vw, 32px);
  border-radius: 24px;
  background: rgba(8, 63, 69, .78);
  box-shadow: 0 18px 42px rgba(7, 51, 59, .24);
  backdrop-filter: blur(8px);
}

.operation-estimate-hero-copy > span,
.operation-estimate-finish > div > span,
.operation-estimate-section-complete > span {
  color: #ffe39a;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .11em;
}

.operation-estimate-hero-copy h1,
.operation-estimate-finish h1 {
  margin: 8px 0;
  font-size: clamp(25px, 3.2vw, 43px);
  line-height: 1.02;
}

.operation-estimate-hero-copy p,
.operation-estimate-finish p {
  margin: 0;
  font-weight: 750;
  line-height: 1.42;
}

.operation-hero-results {
  position: absolute;
  right: clamp(18px, 3vw, 40px);
  top: clamp(18px, 3vw, 36px);
  display: grid;
  gap: 10px;
}

.operation-hero-results span {
  display: grid;
  min-width: 135px;
  padding: 10px 16px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 18px;
  color: #123f52;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(9, 56, 64, .2);
}

.operation-hero-results small { color: #24766d; font-weight: 900; }
.operation-hero-results b { font-size: 26px; }

.operation-estimate-model,
.operation-estimate-task,
.operation-estimate-compare-task,
.operation-estimate-use,
.operation-estimate-section-complete {
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(8px, 1.4vh, 14px);
  color: var(--operation-ink);
  text-align: center;
}

.operation-estimate-model h1,
.operation-estimate-task h1,
.operation-estimate-compare-task h1,
.operation-estimate-use h1,
.operation-estimate-section-complete h1 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 34px);
  line-height: 1.1;
}

.operation-estimate-model p,
.operation-estimate-task p,
.operation-estimate-compare-task p,
.operation-estimate-use p {
  margin: 0;
  color: #41656d;
  font-weight: 750;
}

.operation-round-pair {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 760px);
  padding: 16px 16px 70px;
  border: 2px solid #b7ddd7;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 32px rgba(15, 88, 89, .12);
}

.operation-round-lane {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(22px, 1fr) 52px minmax(22px, 1fr) 58px;
  align-items: center;
  min-height: 100px;
}

.round-track {
  grid-column: 2 / 5;
  grid-row: 1;
  height: 7px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #a9d8d1 0 12px, transparent 12px 20px);
}

.round-gate {
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 7px;
  border: 2px solid #aad5ce;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 79, 81, .1);
}
.round-gate.low { grid-column: 1; grid-row: 1; }
.round-gate.high { grid-column: 5; grid-row: 1; }
.round-gate small { color: #5f7b80; font-size: 8px; font-weight: 950; }
.round-gate b { font-size: 23px; }
.round-gate.nearest { border-color: var(--operation-gold); box-shadow: 0 0 0 6px rgba(245,185,63,.16); }

.round-number-card {
  z-index: 3;
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  border: 3px solid white;
  border-radius: 17px;
  color: white;
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(12, 72, 75, .22);
  transform-origin: center;
}
.operation-round-lane.teal .round-number-card { background: var(--operation-teal); }
.operation-round-lane.coral .round-number-card { background: var(--operation-coral); }
.operation-round-sign { color: #e96b50; font-size: 34px; }

.operation-rounded-equation {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 18px;
  border-radius: 16px;
  background: #e5f6f2;
  transform: translateX(-50%);
  white-space: nowrap;
}
.operation-rounded-equation span,
.operation-rounded-equation strong { font-size: 25px; }
.operation-rounded-equation i,
.operation-rounded-equation em { color: #ef7658; font-size: 23px; font-style: normal; font-weight: 1000; }
.operation-rounded-equation strong { color: #087e70; }

.operation-result-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.operation-result-row {
  display: grid;
  min-width: 190px;
  padding: 9px 16px;
  border-radius: 16px;
  color: #174a59;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,80,82,.09);
}
.operation-result-row small { color: #658087; font-size: 9px; font-weight: 900; }
.operation-result-row b { font-size: 19px; }

.grade2-operation-estimate-footer .theme4-final-choice-grid,
.grade2-operation-estimate-footer .theme4-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grade2-operation-estimate-footer [data-grade2-operation-use-answer] { min-height: 64px; }

.operation-estimate-section-complete > div {
  padding: 14px 24px;
  border-radius: 18px;
  color: #fff;
  background: #0d8d7d;
  box-shadow: 0 12px 28px rgba(13,141,125,.2);
}
.operation-estimate-section-complete > div > b { font-size: clamp(24px, 3.6vw, 42px); }

.operation-compare-cycle {
  display: grid;
  gap: 10px;
  width: min(100%, 720px);
}
.operation-compare-scene {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 2px solid #b7ddd7;
  border-radius: 22px;
}
.operation-compare-cards {
  position: absolute;
  inset: auto 50% 18px auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  transform: translateX(50%);
  box-shadow: 0 10px 26px rgba(13,70,75,.2);
}
.operation-compare-cards span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: white; background: #0d8f7f; font-size: 24px; font-weight: 1000; }
.operation-compare-cards span:last-child { background: #f17758; }
.operation-compare-cards i { color: #ef7658; font-size: 27px; font-style: normal; font-weight: 1000; }
.operation-compare-steps { display: flex; align-items: center; justify-content: center; gap: 9px; }
.operation-compare-steps > span { display: grid; min-width: 108px; padding: 8px 12px; border: 2px solid #c5dfdc; border-radius: 15px; background: white; }
.operation-compare-steps > span.active { border-color: var(--operation-gold); box-shadow: 0 0 0 5px rgba(245,185,63,.18); }
.operation-compare-steps > span.done { border-color: #22a694; background: #e7faf6; }
.operation-compare-steps small { color: #608087; font-size: 9px; font-weight: 950; }
.operation-compare-steps b { font-size: 24px; }
.operation-compare-steps > i { color: #ef7658; font-style: normal; font-weight: 1000; }

.operation-use-picture {
  position: relative;
  width: min(100%, 560px);
  height: 230px;
  overflow: hidden;
  border: 2px solid #b7ddd7;
  border-radius: 24px;
  background: linear-gradient(#c9f2ef 0 58%, #f7d5a2 58% 100%);
  box-shadow: inset 0 -12px 0 rgba(164,102,42,.08), 0 14px 30px rgba(15,85,85,.12);
}
.use-scene-desk { position: absolute; left: 8%; right: 8%; bottom: 18px; height: 62px; border-radius: 17px; background: #b96f36; box-shadow: inset 0 10px rgba(255,255,255,.18); }
.use-scene-object,
.use-scene-object.second { position: absolute; z-index: 2; }
.operation-use-picture.chairs .use-scene-object { left: 25%; bottom: 62px; width: 70px; height: 80px; border: 12px solid #ef7658; border-top: 0; border-radius: 0 0 8px 8px; }
.operation-use-picture.chairs .use-scene-object::before { content:""; position:absolute; left:-12px; top:-52px; width:70px; height:52px; border-radius:12px 12px 4px 4px; background:#ef7658; }
.operation-use-picture.chairs .use-scene-object.second { left: 58%; transform: scale(.9); filter: hue-rotate(135deg); }
.operation-use-picture.checkout .use-scene-object { left: 21%; bottom: 77px; width: 125px; height: 64px; border-radius: 10px; background: repeating-linear-gradient(90deg,#fff 0 9px,#173f50 9px 12px); box-shadow: 0 7px 0 #e0a13b; }
.operation-use-picture.checkout .use-scene-object.second { right: 18%; bottom: 67px; width: 105px; height: 82px; border-radius: 12px 12px 30px 30px; background: #0d8f7f; box-shadow: inset 0 14px #48c8b6; }
.operation-use-picture.snacks .use-scene-object { left: 20%; bottom: 66px; width: 90px; height: 104px; clip-path: polygon(14% 0,86% 0,100% 100%,0 100%); background: #f2b73e; box-shadow: inset 0 0 0 8px rgba(255,255,255,.3); }
.operation-use-picture.snacks .use-scene-object.second { left: 58%; filter: hue-rotate(120deg); transform: scale(.9); }
.operation-use-picture.tickets .use-scene-object { left: 18%; bottom: 74px; width: 140px; height: 72px; border-radius: 12px; background: repeating-linear-gradient(90deg,#ef7658 0 28px,#fff3df 28px 34px); box-shadow: 0 8px 0 rgba(107,51,35,.18); }
.operation-use-picture.tickets .use-scene-object.second { right: 17%; bottom: 58px; width: 115px; height: 105px; border-radius: 12px; background: #0b7f73; box-shadow: inset 0 13px #42c0ae; }
.operation-use-summary { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.operation-use-summary span { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; color: #174a59; background: rgba(255,255,255,.9); font-weight: 900; }
.operation-use-summary b { color: #ef7658; font-size: 24px; }

.operation-estimate-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 76px;
}
.operation-estimate-support > span { display: grid; min-width: 72px; padding: 7px; border: 2px solid #afd8d2; border-radius: 14px; background: white; }
.operation-estimate-support small { color: #668087; font-size: 8px; font-weight: 900; }
.operation-estimate-support b { color: #0c8778; font-size: 21px; }
.operation-estimate-support i { color: #ef7658; font-style: normal; font-weight: 1000; }
.operation-estimate-support strong { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: #ef7658; }

@media (max-width: 760px) {
  .grade2-operation-estimate-board .board-square { padding: 10px; }
  .operation-estimate-hero-copy,
  .operation-estimate-finish > div { width: 100%; padding: 14px; }
  .operation-estimate-hero::after,
  .operation-estimate-finish::after { background: linear-gradient(0deg, rgba(7,52,62,.9), rgba(7,52,62,.08) 75%); }
  .operation-hero-results { top: 10px; right: 10px; grid-template-columns: repeat(2, 1fr); }
  .operation-hero-results span { min-width: 90px; padding: 7px 10px; }
  .operation-hero-results b { font-size: 20px; }
  .operation-round-pair { grid-template-columns: 1fr; gap: 3px; padding: 8px 8px 58px; }
  .operation-round-sign { height: 22px; font-size: 24px; line-height: 22px; }
  .operation-round-lane { grid-template-columns: 62px minmax(28px,1fr) 50px minmax(28px,1fr) 62px; min-height: 76px; }
  .round-gate { min-height: 58px; padding: 4px; }
  .round-gate b { font-size: 19px; }
  .round-number-card { width: 46px; font-size: 20px; }
  .operation-rounded-equation { bottom: 7px; min-height: 42px; padding: 4px 12px; }
  .operation-rounded-equation span,
  .operation-rounded-equation strong { font-size: 21px; }
  .operation-result-strip { gap: 7px; width: 100%; }
  .operation-result-row { min-width: 0; flex: 1; padding: 7px 9px; }
  .operation-result-row b { font-size: 15px; }
  .operation-compare-scene { min-height: 160px; }
  .operation-compare-steps { gap: 4px; }
  .operation-compare-steps > span { min-width: 72px; padding: 6px; }
  .operation-compare-steps b { font-size: 19px; }
  .operation-use-picture { height: 175px; }
  .operation-estimate-model > p,
  .operation-estimate-task > p,
  .operation-estimate-compare-task > p { display: none; }
  .grade2-operation-estimate-footer .theme4-final-choice-grid,
  .grade2-operation-estimate-footer .theme4-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 2. sınıf · Tema 2 · Örüntü */
.grade2-pattern-board{--pattern-teal:#087f75;--pattern-orange:#ed8147;--pattern-ink:#123f4b}
.grade2-pattern-board .board-square{box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;background:linear-gradient(145deg,#f2fffc,#deefe9);color:var(--pattern-ink)}
.pre-reader .grade2-pattern-board .board-kicker,.pre-reader .grade2-pattern-board .board-square h1{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
.grade2-pattern-hero{position:relative;display:grid;align-items:end;padding:16px;isolation:isolate}.grade2-pattern-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.grade2-pattern-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,48,48,.88),rgba(5,48,48,.28) 60%,transparent);z-index:-1}.pattern-hero-copy{align-self:start;width:min(430px,64%);padding:20px;color:#fff}.pattern-hero-copy span,.grade2-pattern-complete>span,.grade2-pattern-finish>span{font-size:.72rem;font-weight:950;letter-spacing:.13em}.pattern-hero-copy h1{margin:7px 0;font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.05}.pattern-hero-copy p{margin:0;font-weight:750;line-height:1.4}.pattern-hero-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:min(620px,90%);margin:0 auto 8px}.pattern-hero-groups section{display:flex;align-items:center;justify-content:center;gap:3px;min-height:88px;padding:8px;border:3px solid rgba(255,255,255,.78);border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 12px 25px rgba(3,53,48,.18);position:relative}.pattern-hero-groups section>b{position:absolute;top:-13px;left:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ef8249;color:#fff}.pattern-hero-groups section>small{position:absolute;right:8px;bottom:3px;font-weight:900}.pattern-hero-groups img{width:34px;height:34px;object-fit:contain}.pattern-hero-groups section.spoken-highlight{border-color:#ffbe3d;transform:translateY(-7px);box-shadow:0 0 0 6px rgba(255,190,61,.28)}
.grade2-pattern-model,.grade2-pattern-task,.grade2-pattern-create,.grade2-pattern-complete,.grade2-pattern-finish{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px 18px;text-align:center}.grade2-pattern-model h1,.grade2-pattern-task h1,.grade2-pattern-create h1,.grade2-pattern-complete h1,.grade2-pattern-finish h1{margin:0;font-size:clamp(1.25rem,2.6vw,1.9rem);line-height:1.08}.grade2-pattern-model>p,.grade2-pattern-task>p,.grade2-pattern-create>p,.grade2-pattern-complete>p,.grade2-pattern-finish>p{margin:0;max-width:680px;font-weight:750;color:#45676c}
.grade2-pattern-number-rail{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;padding-top:34px}.pattern-rule-badge{position:absolute;top:0;left:50%;transform:translateX(-50%);padding:5px 16px;border-radius:13px;background:#087f75;color:#fff;font-weight:950;box-shadow:0 7px 16px rgba(6,100,92,.2)}.grade2-pattern-number-rail.decrease .pattern-rule-badge{background:#ed8147}.pattern-number-card{display:flex;align-items:center;gap:3px}.pattern-number-card>b{display:grid;place-items:center;width:62px;height:62px;border:3px solid #a8d9d2;border-radius:18px;background:#fff;font-size:1.55rem;box-shadow:0 8px 17px rgba(14,73,67,.1)}.pattern-number-card>i{font-size:.72rem;font-style:normal;font-weight:950;color:#e96f41}.pattern-number-card.is-blank>b{border-style:dashed;border-color:#eb824b;background:#fff3df;color:#bd5a34}.pattern-number-card.spoken-highlight>b{border-color:#ffad2e;box-shadow:0 0 0 7px rgba(255,173,46,.23);transform:translateY(-4px)}
.pattern-model-objects{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;width:100%}.pattern-model-objects section{position:relative;display:flex;align-content:center;justify-content:center;flex-wrap:wrap;gap:1px;min-height:86px;padding:6px 5px 20px;border-radius:16px;background:#fff}.pattern-model-objects img{width:20px;height:20px;object-fit:contain}.pattern-model-objects b{position:absolute;bottom:2px;color:#087f75}.pattern-model-objects section.spoken-highlight{background:#fff4d4;box-shadow:0 0 0 4px #f4bd45}
.grade2-pattern-task{justify-content:flex-start;padding-top:9px}.grade2-pattern-task-visual{display:grid;place-items:center;width:100%;min-height:270px;max-height:285px;overflow:hidden;border-radius:22px;background:rgba(255,255,255,.65)}.grade2-pattern-counts{display:grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:7px;width:96%;height:250px}.pattern-count-platform{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;height:100%;padding:5px;border-bottom:11px solid #9b6335;border-radius:0 0 14px 14px;background:linear-gradient(transparent 52%,rgba(242,220,174,.55))}.pattern-count-platform>div{display:flex;align-content:flex-end;justify-content:center;flex-wrap:wrap;gap:1px;width:100%;max-height:184px;overflow:hidden}.pattern-count-platform img{width:27px;height:27px;object-fit:contain}.pattern-count-platform>b{display:grid;place-items:center;min-width:34px;height:28px;border-radius:10px;background:#087f75;color:#fff}.pattern-count-platform>small{font-weight:900}.pattern-count-platform.is-blank{border:3px dashed #ed8147;border-bottom:11px solid #9b6335;background:#fff3dd}.pattern-count-platform.is-blank>div{opacity:.3;filter:grayscale(1)}.pattern-count-platform.spoken-highlight{background:#fff2bd;transform:translateY(-5px)}
.grade2-pattern-repeat{display:grid;gap:14px;width:96%}.pattern-unit{display:flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;margin:auto;padding:8px 15px;border:3px dashed #ec844a;border-radius:17px;background:#fff4dd}.pattern-unit small{font-size:.63rem;font-weight:950}.pattern-unit img,.pattern-sequence img{width:48px;height:48px;object-fit:contain}.pattern-sequence{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.pattern-sequence>span{display:grid;place-items:center;min-height:82px;border:2px solid #acd9d3;border-radius:16px;background:#fff}.pattern-sequence>span.is-blank{font-size:2rem;font-weight:950;color:#d8663f;border-style:dashed;border-color:#ed8147;background:#fff4de}.pattern-sequence>span.spoken-highlight,.pattern-unit.spoken-highlight{box-shadow:0 0 0 6px rgba(255,178,45,.25);transform:translateY(-4px)}.pattern-option-visual{display:block}.pattern-option-visual img{width:48px;height:48px;object-fit:contain}.grade2-pattern-footer.answers-locked button{pointer-events:none;opacity:.5;filter:grayscale(.35)}
.pattern-build-unit{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 16px;border:3px dashed #eb8047;border-radius:18px;background:#fff4dc}.pattern-build-unit small{font-weight:950}.pattern-build-unit img,.pattern-build-slots img,.pattern-built-celebration img{width:52px;height:52px;object-fit:contain}.pattern-build-slots{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;width:100%;max-width:680px}.pattern-build-slots>span{display:grid;place-items:center;min-height:88px;border:3px dashed #8dcac2;border-radius:17px;background:#fff;color:#79aaa6;font-size:1.25rem;font-weight:900}.pattern-build-slots>span.filled{border-style:solid;border-color:#0d998c;animation:patternPlace .35s cubic-bezier(.2,.8,.3,1)}@keyframes patternPlace{from{transform:scale(.55);opacity:.2}to{transform:scale(1);opacity:1}}.pattern-build-controls{display:grid;grid-template-columns:1fr 1fr .7fr;gap:8px;width:100%}.pattern-build-controls button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:66px;border:2px solid #acd9d3;border-radius:18px;background:#fff;color:#123f4b}.pattern-build-controls button:hover,.pattern-build-controls button:focus-visible{border-color:#f0a52d;box-shadow:0 0 0 5px rgba(240,165,45,.2);transform:translateY(-2px)}.pattern-build-controls img{width:42px;height:42px;object-fit:contain}.pattern-built-celebration{display:flex;gap:7px;padding:15px;border-radius:20px;background:#fff}.pattern-finish-machine{display:flex;align-items:center;gap:7px;font-size:2.2rem}.pattern-finish-machine span{padding:7px 12px;border-radius:12px;background:#087f75;color:#fff;font-size:1rem;font-weight:950}
.grade2-pattern-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 92px;height:458px;gap:6px;overflow:hidden}.grade2-pattern-board.remediation-mode>:not(.teacher-remediation-panel){height:100%;min-height:0}.grade2-pattern-board.remediation-mode .teacher-remediation-panel{width:100%;min-height:86px;max-height:92px;margin:0;padding:5px 8px;overflow:hidden}
@media(max-width:760px){.grade2-pattern-hero{padding:7px}.pattern-hero-copy{width:90%;padding:11px}.pattern-hero-copy h1{font-size:1.35rem}.pattern-hero-copy p{font-size:.7rem}.pattern-hero-groups{gap:3px;width:98%;margin-bottom:3px}.pattern-hero-groups section{min-height:68px;padding:4px}.pattern-hero-groups img{width:22px;height:22px}.grade2-pattern-model,.grade2-pattern-task,.grade2-pattern-create,.grade2-pattern-complete,.grade2-pattern-finish{gap:4px;padding:7px}.grade2-pattern-model h1,.grade2-pattern-task h1,.grade2-pattern-create h1,.grade2-pattern-complete h1,.grade2-pattern-finish h1{font-size:1.05rem}.grade2-pattern-model>p,.grade2-pattern-task>p,.grade2-pattern-create>p,.grade2-pattern-complete>p,.grade2-pattern-finish>p{font-size:.67rem}.grade2-pattern-number-rail{gap:1px;padding-top:27px}.pattern-rule-badge{padding:3px 10px;font-size:.75rem}.pattern-number-card>b{width:42px;height:45px;border-radius:12px;font-size:1.12rem}.pattern-number-card>i{font-size:.55rem}.pattern-model-objects{gap:2px}.pattern-model-objects section{min-height:70px;padding:3px 2px 15px}.pattern-model-objects img{width:14px;height:14px}.grade2-pattern-task-visual{min-height:218px;max-height:225px}.grade2-pattern-counts{gap:2px;height:210px}.pattern-count-platform{padding:2px}.pattern-count-platform img{width:19px;height:19px}.pattern-count-platform>div{max-height:150px}.pattern-unit{padding:4px 8px}.pattern-unit small{font-size:.5rem}.pattern-unit img,.pattern-sequence img{width:34px;height:34px}.pattern-sequence{gap:3px}.pattern-sequence>span{min-height:58px}.pattern-build-unit{padding:4px 8px}.pattern-build-unit img,.pattern-build-slots img{width:36px;height:36px}.pattern-build-slots{gap:3px}.pattern-build-slots>span{min-height:58px}.pattern-build-controls{gap:4px}.pattern-build-controls button{min-height:55px;font-size:.72rem}.pattern-build-controls img{width:31px;height:31px}.grade2-pattern-board.remediation-mode{height:370px;grid-template-rows:minmax(0,1fr) 80px}.grade2-pattern-board.remediation-mode .teacher-remediation-panel{min-height:76px;max-height:80px;padding:3px 5px}.grade2-pattern-board.remediation-mode .grade2-pattern-task-visual{min-height:130px}.grade2-pattern-board.remediation-mode .grade2-pattern-task>p{display:none}}

.grade2-pattern-footer .theme4-final-choices button{min-height:58px;height:58px;padding:3px 10px}.grade2-pattern-footer .pattern-option-visual img{width:27px;height:27px}.grade2-pattern-footer .theme4-final-choices button>b{font-size:.72rem}.grade2-pattern-footer .pattern-build-controls button{min-height:56px}
.grade2-pattern-board.remediation-mode{grid-template-rows:minmax(0,1fr) 112px}.grade2-pattern-board.remediation-mode .teacher-remediation-panel{min-height:108px;max-height:112px}
.grade2-pattern-board.remediation-mode>:not(.teacher-remediation-panel){height:auto!important;min-height:0;overflow:hidden}
@media(max-width:760px){.grade2-pattern-board.remediation-mode{grid-template-rows:minmax(0,1fr) 108px}.grade2-pattern-board.remediation-mode .teacher-remediation-panel{min-height:104px;max-height:108px}.grade2-pattern-board.remediation-mode .teacher-remediation-panel p{font-size:.62rem;line-height:1.1}.grade2-pattern-board.remediation-mode .grade2-rhythmic-support{transform:scale(.8);margin:-5px 0}}

/* 2. sınıf · 1. Tema Değerlendirme */
.grade2-theme1-board {
  --formal-coral: #ef6b55;
  --formal-teal: #16998d;
  --formal-yellow: #f5c94c;
  --formal-blue: #4a91d1;
  --formal-ink: #123f56;
  overflow: hidden;
  background: linear-gradient(145deg, #effbf8, #eef8ff);
}
.grade2-theme1-board .board-square {
  width: 100%;
  min-height: 100%;
  padding: clamp(20px, 3vw, 38px);
  border-radius: 28px;
  background: linear-gradient(145deg, #fbfffe, #eaf8f5);
}
.grade2-theme1-hero {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 0 !important;
}
.grade2-theme1-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grade2-theme1-hero::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(8,66,72,.9));
}
.grade2-theme1-hero > div {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 30px 28px;
  padding: 18px 22px;
  border-radius: 22px;
  color: #fff;
  background: rgba(9,91,91,.9);
}
.grade2-theme1-hero span,
.grade2-theme1-section-complete > span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
}
.grade2-theme1-hero h1,
.grade2-theme1-question h1,
.grade2-theme1-section-complete h1,
.grade2-theme1-finish h1 {
  margin: 8px 0;
  color: #123f51;
  font-size: clamp(24px, 3.3vw, 42px);
  line-height: 1.08;
}
.grade2-theme1-hero h1 { color: #fff; }
.grade2-theme1-hero p { margin: 0; color: #e9fffc; font-size: 17px; line-height: 1.45; }
.grade2-theme1-question {
  display: grid;
  grid-template-rows: auto minmax(190px, 1fr) auto auto;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}
.grade2-theme1-task-visual {
  display: grid;
  place-items: center;
  width: min(100%, 650px);
  min-height: 190px;
  overflow: hidden;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
}
.grade2-theme1-question h1 { max-width: 760px; }
.grade2-theme1-question > p { margin: 0; color: #63808a; font-size: 16px; }
.grade2-theme1-solid-pair,
.grade2-theme1-review-icons,
.grade2-theme1-circle-disk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 70px);
}
.grade2-theme1-solid-pair .grade2-solid-sprite,
.grade2-theme1-review-icons .grade2-solid-sprite { width: 150px; height: 150px; }
.grade2-theme1-circle-disk i,
.grade2-theme1-circle-disk b {
  width: 120px;
  height: 120px;
  border: 8px solid #178f82;
  border-radius: 50%;
}
.grade2-theme1-circle-disk b { background: #ffd75e; }
.grade2-theme1-answer-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  width: 100%;
  gap: 12px;
}
.grade2-theme1-answer-row button {
  min-width: 0;
  min-height: 68px;
  padding: 12px 14px;
  border: 3px solid #b8dcd8;
  border-radius: 20px;
  color: #113f52;
  background: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.grade2-theme1-answer-row button:hover,
.grade2-theme1-answer-row button:focus-visible {
  border-color: #efad1d;
  box-shadow: 0 0 0 5px rgba(239,173,29,.16);
  transform: translateY(-3px);
}
.grade2-theme1-rocket {
  position: relative;
  width: 250px;
  height: 250px;
}
.grade2-theme1-rocket i { position: absolute; display: block; }
.grade2-theme1-rocket .rocket-body {
  left: 76px;
  top: 72px;
  width: 98px;
  height: 135px;
  border: 4px solid #194c67;
  background: #4598d5;
}
.grade2-theme1-rocket .rocket-nose {
  left: 76px;
  top: 6px;
  width: 0;
  height: 0;
  border-left: 49px solid transparent;
  border-right: 49px solid transparent;
  border-bottom: 66px solid #f16b55;
  filter: drop-shadow(0 -3px #194c67);
}
.grade2-theme1-rocket .rocket-window {
  left: 103px;
  top: 108px;
  width: 46px;
  height: 46px;
  border: 4px solid #194c67;
  border-radius: 50%;
  background: #ffd45b;
}
.grade2-theme1-rocket .rocket-fin {
  top: 150px;
  width: 0;
  height: 0;
  border-top: 57px solid transparent;
  border-bottom: 0 solid transparent;
}
.grade2-theme1-rocket .rocket-fin.left { left: 25px; border-right: 51px solid #54b86b; }
.grade2-theme1-rocket .rocket-fin.right { right: 25px; border-left: 51px solid #54b86b; }
.grade2-theme1-spheres { align-items: center; gap: 54px; }
.grade2-theme1-spheres > span { display: grid; place-items: center; }
.grade2-theme1-spheres .theme1-sphere-small { transform: scale(.72); }
.grade2-theme1-spheres .theme1-sphere-large { transform: scale(1.18); }
.theme1-spoken-rotate { animation: theme1-spoken-rotate .9s cubic-bezier(.2,.8,.2,1); }
.theme1-spoken-move { animation: theme1-spoken-move .9s cubic-bezier(.2,.8,.2,1); }
.theme1-sphere-large.theme1-spoken-grow { animation: theme1-spoken-grow .95s cubic-bezier(.2,.8,.2,1); }
@keyframes theme1-spoken-rotate {
  from { opacity: .25; transform: rotate(-100deg) scale(.72); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes theme1-spoken-move {
  from { opacity: .25; transform: translateX(-110px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes theme1-spoken-grow {
  from { opacity: .35; transform: scale(.58); }
  to { opacity: 1; transform: scale(1.18); }
}
.grade2-theme1-section-complete,
.grade2-theme1-finish {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}
.grade2-theme1-section-complete p,
.grade2-theme1-finish p { max-width: 720px; margin: 0; color: #617f88; font-size: 17px; line-height: 1.5; }
.grade2-theme1-review-icons { min-height: 190px; }
.grade2-theme1-review-icons .formal-shape { transform: scale(.72); }
.grade2-theme1-review-icons .liquid-vessel { transform: scale(.8); margin: -12px; }
.grade2-theme1-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #fff7e5;
}
.grade2-theme1-support span { padding: 10px; border-radius: 14px; color: #155769; background: #fff; font-weight: 900; }
.grade2-theme1-support small { display: block; margin-top: 4px; color: #6c8088; font-size: 11px; }

@media (max-width: 760px) {
  .grade2-theme1-board .board-square { padding: 18px; }
  .grade2-theme1-hero > div { margin: 0 16px 16px; padding: 14px; }
  .grade2-theme1-question { grid-template-rows: auto minmax(150px,1fr) auto auto; }
  .grade2-theme1-task-visual { min-height: 150px; padding: 8px; }
  .grade2-theme1-solid-pair .grade2-solid-sprite { width: 110px; height: 110px; }
  .grade2-theme1-answer-row { gap: 8px; }
  .grade2-theme1-answer-row button { min-height: 58px; padding: 9px; font-size: 15px; }
  .grade2-theme1-rocket { transform: scale(.72); margin: -36px; }
  .grade2-theme1-circle-disk i,
  .grade2-theme1-circle-disk b { width: 84px; height: 84px; border-width: 6px; }
}

/* 2. sınıf · Tema 2 · Sayıları Çözümleme */
.grade2-decomposition-board .board-square { box-sizing: border-box; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: linear-gradient(145deg,#edf9f6,#dff1ec); }
.grade2-decomposition-board.remediation-mode { display:grid; grid-template-rows:minmax(0,1fr) auto; align-items:stretch; justify-items:center; gap:8px; height:458px; }
.grade2-decomposition-board.remediation-mode > :not(.teacher-remediation-panel) { min-height:0; max-height:100%; }
.grade2-decomposition-board.remediation-mode .teacher-remediation-panel { min-height:80px; max-height:84px; padding:5px 9px; }
.grade2-decomposition-board.remediation-mode .teacher-remediation-panel header { margin-bottom:3px; }
.grade2-decomposition-board.remediation-mode .grade2-decomposition-task { min-height:170px; max-height:170px; }
.grade2-decomposition-board.remediation-mode .grade2-place-support span,
.grade2-decomposition-board.remediation-mode .grade2-expanded-support span,
.grade2-decomposition-board.remediation-mode .grade2-expanded-support strong,
.grade2-decomposition-board.remediation-mode .mini-rod { padding:4px 8px; }
.grade2-decomposition-board.remediation-mode .grade2-place-support span { font-size:.7rem; }
.pre-reader .grade2-decomposition-board .board-kicker,
.pre-reader .grade2-decomposition-board .board-square h1 { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; white-space: normal !important; }
.grade2-decomposition-hero { position: relative; display: grid; align-items: end; padding: 20px; }
.grade2-decomposition-hero > img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; border-radius: 26px; }
.grade2-decomposition-hero::after { content:""; position:absolute; inset:12px; border-radius:26px; background:linear-gradient(90deg,rgba(4,58,54,.86),rgba(4,58,54,.05)); }
.decomposition-hero-copy { position:relative; z-index:2; width:min(470px,72%); padding:20px; color:#fff; }
.decomposition-hero-copy span,.grade2-decomposition-complete > span,.grade2-decomposition-finish > span { font-size:.76rem; font-weight:900; letter-spacing:.12em; }
.decomposition-hero-copy h1 { margin:7px 0; font-size:clamp(1.4rem,3vw,2.2rem); line-height:1.08; }
.decomposition-hero-copy p { margin:0; font-weight:700; line-height:1.4; }
.decomposition-hero-objects { position:absolute; z-index:3; right:24px; top:30px; width:230px; max-height:270px; overflow:hidden; }
.decomposition-hero-objects .grade2-number-object-group { grid-template-columns:repeat(5,24px); min-width:140px; padding:5px; gap:3px; }

.grade2-decomposition-model,.grade2-decomposition-question,.grade2-decomposition-complete,.grade2-decomposition-finish { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px; text-align:center; }
.grade2-decomposition-model { gap:5px; padding:8px; }
.grade2-base-ten-model { display:grid; grid-template-columns:minmax(120px,1fr) minmax(90px,.55fr); gap:12px; align-items:center; width:min(650px,100%); padding:14px; border-radius:24px; background:rgba(255,255,255,.86); }
.base-ten-rods,.base-ten-ones { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px; min-height:170px; padding:8px; border-radius:18px; background:#dff5f0; }
.base-ten-ones { background:#fff0d4; align-content:center; }
.grade2-base-ten-rod { display:grid; grid-template-rows:repeat(10,1fr); width:28px; height:158px; overflow:hidden; border:3px solid #0a5e73; border-radius:8px; background:#318fd0; box-shadow:0 7px 12px rgba(16,65,74,.13); }
.grade2-base-ten-rod i { border-bottom:1px solid rgba(255,255,255,.85); }
.grade2-base-one { width:28px; height:28px; border:3px solid #a64d34; border-radius:8px; background:#f57959; box-shadow:0 5px 8px rgba(120,60,40,.15); }
.empty-place { font-style:normal; font-weight:900; color:#728e8b; }
.base-ten-equation { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.base-ten-equation span,.base-ten-equation strong { padding:8px 12px; border-radius:12px; background:#fff; color:#075e58; font-weight:900; }
.base-ten-equation b,.base-ten-equation i { color:#e6784e; font-style:normal; }

.grade2-place-house { display:grid; grid-template-columns:1fr 1fr; width:min(360px,100%); overflow:hidden; border:4px solid #0b8f83; border-radius:26px 26px 18px 18px; background:#fff; box-shadow:0 12px 24px rgba(11,100,90,.13); }
.place-roof { grid-column:1/-1; display:grid; place-items:center; height:48px; color:#fff; background:#087d73; }
.place-roof b { font-size:1.55rem; }
.place-room { display:grid; place-items:center; gap:4px; padding:10px; background:#e0f5f0; }
.place-room.ones { background:#fff0d4; border-left:3px solid #fff; }
.place-room small { font-size:.65rem; font-weight:900; color:#41646a; }
.place-room strong { font-size:2rem; color:#075e58; }
.place-room span { font-size:.78rem; font-weight:800; }
.decomposition-place-link .grade2-place-house { transform:scale(.76); transform-origin:center; margin:-12px 0; }
.grade2-decomposition-model p { margin:0; font-weight:800; color:#41646a; }

.grade2-decomposition-question { justify-content:flex-start; gap:5px; padding:8px 12px; }
.grade2-decomposition-question h1 { margin:0; font-size:clamp(1.12rem,2vw,1.55rem); color:#073d47; }
.grade2-decomposition-question p { margin:0; font-size:.82rem; font-weight:700; color:#41646a; }
.grade2-decomposition-task { display:grid; place-items:center; width:100%; min-height:300px; max-height:320px; overflow:hidden; padding:8px; border-radius:24px; background:rgba(255,255,255,.72); }
.grade2-decomposition-task .grade2-base-ten-model { transform:scale(.92); }
.grade2-decomposition-objects { display:grid; gap:5px; width:100%; }
.grade2-decomposition-objects .grade2-number-object-group { grid-template-columns:repeat(5,20px); min-width:122px; min-height:48px; padding:4px; gap:2px; }
.grade2-decomposition-objects > div { display:flex; justify-content:center; gap:8px; }
.grade2-decomposition-objects > div b,.grade2-decomposition-objects > div span { padding:6px 10px; border-radius:10px; background:#fff; color:#075e58; }

.grade2-swap-visual { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:9px; width:100%; }
.grade2-swap-visual .grade2-place-house { width:220px; }
.grade2-swap-visual > i { font-size:2rem; color:#e6784e; font-style:normal; }
.grade2-swap-visual > p { grid-column:1/-1; display:flex; justify-content:center; gap:10px; margin:0; }
.grade2-swap-visual > p b,.grade2-swap-visual > p strong { padding:7px 10px; border-radius:10px; background:#fff; color:#075e58; }
.grade2-expanded-visual { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; }
.grade2-expanded-visual > span { display:grid; gap:4px; min-width:90px; padding:14px; border-radius:18px; background:#fff; }
.grade2-expanded-visual > span b { font-size:2rem; color:#075e58; }
.grade2-expanded-visual > span small { font-size:.62rem; font-weight:900; }
.grade2-expanded-visual > i,.grade2-expanded-visual > strong { color:#e6784e; font-size:1.6rem; font-style:normal; }
.grade2-expanded-visual .grade2-place-house { width:230px; }
.grade2-clue-visual { display:flex; align-items:center; gap:20px; }
.grade2-clue-visual > span { display:grid; place-items:center; width:90px; height:90px; border-radius:50%; color:#fff; background:#087d73; font-size:3.5rem; font-weight:900; }

.grade2-decomposition-complete h1,.grade2-decomposition-finish h1 { margin:0; color:#073d47; }
.grade2-decomposition-complete p,.grade2-decomposition-finish p { max-width:610px; margin:0; font-weight:700; color:#41646a; }
.grade2-decomposition-complete .grade2-base-ten-model { transform:scale(.82); margin:-16px 0; }
.grade2-decomposition-finish .grade2-swap-visual { transform:scale(.74); margin:-25px 0; }
.grade2-place-support,.grade2-expanded-support,.grade2-model-support { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.grade2-place-support span,.grade2-expanded-support span,.grade2-expanded-support strong,.mini-rod { padding:9px 12px; border-radius:12px; background:#e0f5f0; color:#075e58; }
.grade2-place-support span { display:grid; gap:3px; }
.grade2-model-support b { width:16px; height:16px; border-radius:4px; background:#f57959; }

@media(max-width:760px){
  .grade2-decomposition-board .board-square{overflow:auto;}
  .grade2-decomposition-board.remediation-mode{height:377px;gap:4px;}
  .grade2-decomposition-board.remediation-mode .teacher-remediation-panel{min-height:66px;max-height:68px;padding:3px 5px;}
  .grade2-decomposition-board.remediation-mode .teacher-remediation-panel.active{transform:translateY(-14px);}
  .grade2-decomposition-board.remediation-mode .teacher-remediation-panel header{margin-bottom:0;}
  .grade2-decomposition-board.remediation-mode .grade2-place-support span{font-size:.62rem;padding:2px 5px;}
  .grade2-decomposition-board.remediation-mode .grade2-decomposition-task{min-height:142px;max-height:142px;}
  .grade2-decomposition-hero{padding:8px;}
  .decomposition-hero-copy{width:100%;padding:14px;}
  .decomposition-hero-copy h1{font-size:1.25rem;}
  .decomposition-hero-objects{right:12px;top:18px;width:145px;max-height:130px;}
  .grade2-decomposition-question{padding:6px;gap:3px;}
  .grade2-decomposition-question h1{font-size:1rem;line-height:1.1;}
  .grade2-decomposition-question p{font-size:.7rem;}
  .grade2-decomposition-task{min-height:220px;max-height:224px;padding:4px;}
  .grade2-base-ten-model{padding:6px;gap:5px;}
  .base-ten-rods,.base-ten-ones{min-height:112px;padding:4px;gap:3px;}
  .grade2-base-ten-rod{width:18px;height:105px;border-width:2px;}
  .grade2-base-one{width:19px;height:19px;border-width:2px;}
  .base-ten-equation span,.base-ten-equation strong{padding:4px 7px;font-size:.78rem;}
  .grade2-place-house{width:250px;}
  .place-roof{height:34px;}.place-room{padding:5px}.place-room strong{font-size:1.35rem}.place-room span{font-size:.64rem}
  .grade2-swap-visual{gap:3px}.grade2-swap-visual .grade2-place-house{width:145px}.grade2-swap-visual .place-room span{display:none}.grade2-swap-visual > i{font-size:1.2rem}.grade2-swap-visual > p{font-size:.68rem;gap:3px}
  .grade2-expanded-visual{gap:3px;flex-wrap:wrap}.grade2-expanded-visual > span{min-width:62px;padding:7px}.grade2-expanded-visual > span b{font-size:1.25rem}.grade2-expanded-visual .grade2-place-house{width:150px}.grade2-expanded-visual .place-room span{display:none}
  .grade2-clue-visual{gap:8px}.grade2-clue-visual > span{width:58px;height:58px;font-size:2rem}
  .grade2-decomposition-model{gap:3px;padding:6px}.grade2-decomposition-model .grade2-base-ten-model{transform:scale(.82);margin:-18px 0}.decomposition-place-link .grade2-place-house{transform:scale(.62);margin:-24px 0}.grade2-decomposition-model p{font-size:.7rem}
  .grade2-decomposition-finish{gap:4px;padding:7px}.grade2-decomposition-finish .grade2-swap-visual{transform:scale(.55);margin:-50px 0}.grade2-decomposition-finish h1{font-size:1.1rem}.grade2-decomposition-finish p{font-size:.74rem}
}

/* 2. sınıf · Tema 2 · Nesne Sayısını Tahmin */
.grade2-estimate-board{--estimate-teal:#0b8d81;--estimate-orange:#ef8351;--estimate-ink:#123f4e}
.grade2-estimate-board .board-square{height:100%;min-height:0;overflow:hidden;background:linear-gradient(145deg,#f5fffd,#e4f6f1)}
.pre-reader .grade2-estimate-board .board-kicker,.pre-reader .grade2-estimate-board .board-square h1{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
.grade2-estimate-hero{position:relative;display:flex;align-items:flex-end;padding:20px}
.grade2-estimate-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.grade2-estimate-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,50,53,.9),rgba(5,50,53,.48) 48%,rgba(5,50,53,.08))}
.estimate-hero-copy{position:absolute;z-index:3;left:24px;top:24px;width:min(48%,420px);color:#fff}
.estimate-hero-copy span,.grade2-estimate-finish>span,.grade2-estimate-complete>span{font-size:12px;font-weight:900;letter-spacing:.12em}
.estimate-hero-copy h1{margin:8px 0;font-size:clamp(25px,3vw,39px);line-height:1.06}.estimate-hero-copy p{margin:0;font-weight:700;line-height:1.45}
.estimate-hero-cloud{position:relative;z-index:2;width:50%;margin:0 0 8px auto;padding:10px;border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 15px 32px rgba(6,54,57,.24)}
.grade2-estimate-objects{position:relative;width:min(100%,650px);height:220px;border:2px solid #a7d9d2;border-radius:24px;background:rgba(255,255,255,.9);overflow:hidden}
.grade2-estimate-objects img{position:absolute;width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(17,78,68,.15));transition:.35s}
.grade2-estimate-objects.scattered img{left:calc(var(--scatter-x) * 1%);top:calc(var(--scatter-y) * 1%);transform:translate(-50%,-50%) rotate(calc((var(--estimate-index) - 10) * 3deg))}
.grade2-estimate-objects.organized{display:grid;grid-template-columns:repeat(10,1fr);place-items:center;gap:2px;padding:12px}.grade2-estimate-objects.organized img{position:static;width:32px;height:32px;transform:none}
.estimate-hide-cloth{position:absolute;inset:0;display:grid;place-content:center;gap:4px;text-align:center;color:#fff;background:linear-gradient(145deg,#087a71,#0f9990);transform:translateY(105%);transition:.55s cubic-bezier(.2,.75,.25,1);z-index:5}
.estimate-hide-cloth span{font-size:22px;font-weight:950;letter-spacing:.08em}.estimate-hide-cloth b{font-size:12px}.objects-hidden img{opacity:0;transform:scale(.3)!important}.objects-hidden .estimate-hide-cloth{transform:translateY(0)}
.grade2-estimate-cycle,.grade2-estimate-method,.grade2-estimate-model,.grade2-estimate-compare-model,.grade2-estimate-complete,.grade2-estimate-finish{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 24px;color:var(--estimate-ink);text-align:center}
.grade2-estimate-cycle h1,.grade2-estimate-method h1,.grade2-estimate-model h1,.grade2-estimate-compare-model h1,.grade2-estimate-complete h1,.grade2-estimate-finish h1{margin:0;font-size:clamp(21px,2.7vw,32px);line-height:1.1}.grade2-estimate-cycle>p,.grade2-estimate-method>p,.grade2-estimate-compare-model>p,.grade2-estimate-complete>p,.grade2-estimate-finish>p{margin:0;max-width:680px;font-weight:700;color:#466871}
.grade2-estimate-stage{display:grid;place-items:center;width:100%;min-height:250px}
.grade2-estimate-cycle.observe .grade2-estimate-objects{animation:estimateGlance 3.2s linear both}@keyframes estimateGlance{0%,82%{filter:none}100%{filter:blur(2px)}}
.grade2-estimate-look-timer{position:relative;display:grid;grid-template-columns:50px 1fr;align-items:center;column-gap:10px;width:min(100%,390px);min-height:52px;margin:auto;padding:4px 12px;border-radius:18px;background:#fff3cd;color:#7b4a10}.grade2-estimate-look-timer i{grid-row:1/3;display:block;width:40px;height:40px;border:5px solid #f5d995;border-top-color:#ed7f45;border-radius:50%;animation:estimateTimer 3.2s linear forwards}.grade2-estimate-look-timer b{text-align:left}.grade2-estimate-look-timer span{text-align:left;font-size:11px;font-weight:800}@keyframes estimateTimer{to{transform:rotate(360deg)}}
.grade2-estimate-compare{display:grid;grid-template-columns:110px 36px 110px;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border:2px solid #aedbd5;border-radius:20px;background:#fff}.grade2-estimate-compare>div{display:grid;place-items:center;min-height:72px;border-radius:15px;background:#e4f6f2}.grade2-estimate-compare small{font-size:10px;font-weight:900}.grade2-estimate-compare b{font-size:28px;color:#0a786f}.grade2-estimate-compare>i{font-style:normal;color:#ee7c48;font-size:22px}.grade2-estimate-compare>strong{grid-column:1/-1;padding:5px;border-radius:11px;background:#fff1c8;color:#a95121}.grade2-estimate-compare>div.spoken-highlight{box-shadow:0 0 0 6px rgba(246,165,50,.22);transform:scale(1.05)}
.estimate-model-pair{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;gap:8px;width:100%}.estimate-model-pair>section{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px;border:2px solid #aedbd5;border-radius:22px;background:#fff}.estimate-model-pair>section.spoken-highlight{border-color:#ef8351;box-shadow:0 0 0 6px rgba(239,131,81,.18)}.estimate-model-pair .grade2-estimate-objects{height:150px}.estimate-model-pair>i{font-size:34px;font-style:normal;color:#ef8351}.estimate-model-pair small{font-weight:900}.estimate-model-pair>section>b{color:#087b72}.estimate-model-result{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:center}.estimate-model-result span{padding:7px 12px;border-radius:12px;background:#087f76;color:#fff;font-weight:900}.estimate-model-result span.spoken-highlight{background:#ef8351;transform:scale(1.08)}.estimate-model-result i{font-style:normal;font-weight:850;color:#536c71}
.estimate-compare-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.estimate-compare-examples .grade2-estimate-compare{grid-template-columns:66px 24px 66px;padding:8px}.estimate-compare-examples .grade2-estimate-compare>div{min-height:58px}.estimate-compare-examples .grade2-estimate-compare b{font-size:22px}.estimate-compare-examples .grade2-estimate-compare.spoken-highlight{border-color:#ef8351;transform:translateY(-4px)}
.grade2-estimate-groups{display:flex;align-items:stretch;justify-content:center;gap:7px;flex-wrap:wrap;width:100%}.grade2-estimate-groups section{display:grid;grid-template-columns:repeat(5,28px);place-items:center;align-content:center;gap:3px;min-height:136px;padding:8px;border:2px dashed #79c7bd;border-radius:18px;background:#fff}.grade2-estimate-groups section small{grid-column:1/-1;font-weight:900;color:#477078}.grade2-estimate-groups img{width:28px;height:28px;object-fit:contain}.grade2-estimate-groups section.spoken-highlight{background:#fff4d7;border-color:#ef8351;transform:translateY(-4px)}
.grade2-estimate-ten-reference{display:grid;grid-template-columns:repeat(5,20px);gap:4px;place-content:center;padding:12px 20px;border-radius:18px;background:#e5f7f3}.grade2-estimate-ten-reference i{display:block;width:20px;height:20px;border-radius:50%;background:#0a8d82}.grade2-estimate-ten-reference b{grid-column:1/-1;margin-top:3px}.grade2-estimate-support{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px;border-radius:18px;background:#e7f7f3}.grade2-estimate-support span{font-size:9px;font-weight:900}.grade2-estimate-support b{font-size:24px;color:#087a71}.grade2-estimate-support i{font-style:normal;color:#ef8351}
.grade2-estimate-footer.answers-locked button[data-grade2-estimate-answer],.grade2-estimate-footer.answers-locked button[data-grade2-estimate-method]{pointer-events:none;opacity:.5;filter:grayscale(.35)}
.grade2-estimate-complete>.grade2-estimate-compare{margin-bottom:8px}.grade2-estimate-finish>.grade2-estimate-ten-reference{margin-bottom:8px}
.grade2-estimate-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 92px;height:458px;gap:6px;overflow:hidden}.grade2-estimate-board.remediation-mode>:not(.teacher-remediation-panel){height:100%;min-height:0}.grade2-estimate-board.remediation-mode .teacher-remediation-panel{width:100%;min-height:86px;max-height:92px;margin:0;padding:5px 8px;overflow:hidden}
@media(max-width:760px){
  .grade2-estimate-hero{padding:8px}.estimate-hero-copy{left:14px;top:12px;width:80%}.estimate-hero-copy h1{font-size:22px}.estimate-hero-copy p{font-size:11px;line-height:1.3}.estimate-hero-cloud{width:66%;margin:0 0 2px auto;padding:5px}.estimate-hero-cloud .grade2-estimate-objects{height:128px}
  .grade2-estimate-cycle,.grade2-estimate-method,.grade2-estimate-model,.grade2-estimate-compare-model,.grade2-estimate-complete,.grade2-estimate-finish{gap:4px;padding:7px}.grade2-estimate-cycle h1,.grade2-estimate-method h1,.grade2-estimate-model h1,.grade2-estimate-compare-model h1,.grade2-estimate-complete h1,.grade2-estimate-finish h1{font-size:18px}.grade2-estimate-cycle>p,.grade2-estimate-method>p,.grade2-estimate-compare-model>p,.grade2-estimate-complete>p,.grade2-estimate-finish>p{font-size:10px}
  .grade2-estimate-stage{min-height:208px}.grade2-estimate-objects{height:190px}.grade2-estimate-objects img{width:30px;height:30px}.grade2-estimate-objects.organized{grid-template-columns:repeat(10,1fr);padding:6px}.grade2-estimate-objects.organized img{width:24px;height:24px}.estimate-hide-cloth span{font-size:18px}
  .estimate-model-pair{grid-template-columns:1fr 24px 1fr;gap:3px}.estimate-model-pair>section{padding:4px}.estimate-model-pair .grade2-estimate-objects{height:126px}.estimate-model-pair>i{font-size:22px}.estimate-model-pair small{font-size:8px}.estimate-model-result{gap:4px}.estimate-model-result span{padding:5px 7px;font-size:10px}.estimate-model-result i{font-size:9px}
  .estimate-compare-examples{grid-template-columns:1fr;gap:3px}.estimate-compare-examples .grade2-estimate-compare{width:100%;grid-template-columns:58px 20px 58px;padding:3px}.estimate-compare-examples .grade2-estimate-compare>div{min-height:38px}.estimate-compare-examples .grade2-estimate-compare b{font-size:17px}.estimate-compare-examples .grade2-estimate-compare>strong{grid-column:4;padding:4px;font-size:9px}.estimate-compare-examples .grade2-estimate-compare{grid-template-columns:58px 20px 58px 1fr}
  .grade2-estimate-groups{gap:3px}.grade2-estimate-groups section{grid-template-columns:repeat(5,20px);gap:1px;min-height:92px;padding:4px}.grade2-estimate-groups img{width:20px;height:20px}.grade2-estimate-groups section small{font-size:8px}
  .grade2-estimate-method .grade2-estimate-stage{min-height:180px}.grade2-estimate-method .grade2-estimate-objects{height:170px}
  .grade2-estimate-board.remediation-mode{height:370px;grid-template-rows:minmax(0,1fr) 82px;gap:4px}.grade2-estimate-board.remediation-mode .teacher-remediation-panel{min-height:78px;max-height:82px;padding:3px 5px}.grade2-estimate-board.remediation-mode .grade2-estimate-stage{min-height:115px}.grade2-estimate-board.remediation-mode .grade2-estimate-objects{height:112px}.grade2-estimate-board.remediation-mode .grade2-estimate-cycle>p,.grade2-estimate-board.remediation-mode .grade2-estimate-method>p{display:none}.grade2-estimate-board.remediation-mode .grade2-estimate-ten-reference{gap:2px;padding:2px;grid-template-columns:repeat(5,12px)}.grade2-estimate-board.remediation-mode .grade2-estimate-ten-reference i{width:12px;height:12px}.grade2-estimate-board.remediation-mode .grade2-estimate-ten-reference b{margin:0;font-size:9px}
}

/* 2. sınıf · Tema 2 · Sayı Doğrusu */
.grade2-number-line-board .board-square{box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;background:linear-gradient(145deg,#eaf8f5,#dcefea);}
.pre-reader .grade2-number-line-board .board-kicker,
.pre-reader .grade2-number-line-board .board-square h1{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;}
.grade2-number-line-hero{position:relative;display:grid;align-items:end;padding:16px;isolation:isolate;}
.grade2-number-line-hero>img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);object-fit:cover;border-radius:25px;z-index:-2;}
.grade2-number-line-hero:after{content:"";position:absolute;inset:10px;border-radius:25px;background:linear-gradient(90deg,rgba(2,45,55,.86),rgba(2,45,55,.05) 70%);z-index:-1;}
.number-line-hero-copy{align-self:start;width:min(410px,76%);padding:22px;color:#fff;}
.number-line-hero-copy span,.grade2-number-line-complete>span,.grade2-number-line-finish>span{font-size:.7rem;font-weight:950;letter-spacing:.13em;}
.number-line-hero-copy h1{margin:7px 0;font-size:clamp(1.45rem,3vw,2.2rem);line-height:1.05;}
.number-line-hero-copy p{margin:0;font-weight:750;line-height:1.4;}
.grade2-number-line-hero>.grade2-number-line{margin:0 auto 20px;width:88%;background:rgba(255,255,255,.92);}
.grade2-number-line{position:relative;box-sizing:border-box;width:min(680px,96%);height:142px;padding:28px 24px 18px;border-radius:24px;background:#fff;box-shadow:0 12px 28px rgba(8,77,74,.12);}
.number-line-rail{position:absolute;left:6%;right:6%;top:68px;height:5px;border-radius:9px;background:#0a526c;}
.number-line-rail:before,.number-line-rail:after{content:"";position:absolute;top:-7px;border:9px solid transparent;}
.number-line-rail:before{left:-17px;border-right-color:#0a526c;}.number-line-rail:after{right:-17px;border-left-color:#0a526c;}
.number-line-stops{position:absolute;left:6%;right:6%;top:48px;height:64px;}
.number-line-stops span{position:absolute;left:calc(var(--stop) * 100% / var(--line-count));transform:translateX(-50%);display:grid;place-items:center;min-width:30px;height:42px;color:#173f56;font-weight:900;}
.number-line-stops span:before{content:"";position:absolute;top:17px;width:3px;height:25px;border-radius:3px;background:#0a526c;z-index:-1;}
.number-line-stops span b{margin-top:46px;font-size:.72rem;}
.number-line-stops span.is-marked b{margin-top:-2px;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;color:#fff;background:#f28a45;box-shadow:0 0 0 5px rgba(242,138,69,.18);}
.number-line-stops span.is-blank b{color:#e66f46;background:#fff1df;border:2px dashed #e66f46;border-radius:10px;padding:4px 8px;}
.number-line-explorer{position:absolute;left:calc(6% + var(--marker) * 88% / var(--line-count));top:10px;transform:translateX(-50%);display:grid;place-items:center;color:#075e58;transition:left .8s cubic-bezier(.22,.75,.25,1);z-index:3;}
.number-line-explorer i{font-style:normal;font-size:1.7rem;filter:drop-shadow(0 5px 5px rgba(7,65,70,.22));}.number-line-explorer b{font-size:.62rem;background:#fff;border-radius:9px;padding:2px 6px;}
.number-line-hops{position:absolute;left:6%;right:6%;top:23px;height:35px;}
.number-line-hops i{position:absolute;left:calc(var(--hop) * 100% / var(--line-count));width:calc(100% / var(--line-count));height:24px;border:3px solid #ef8b46;border-bottom:0;border-radius:50% 50% 0 0;animation:number-line-hop 1.9s ease-in-out infinite;animation-delay:calc(var(--hop) * .11s);}
@keyframes number-line-hop{0%,70%,100%{opacity:.36;transform:translateY(3px)}35%{opacity:1;transform:translateY(-2px)}}
.grade2-number-line-model,.grade2-number-line-question,.grade2-number-line-complete,.grade2-number-line-finish{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px;text-align:center;}
.grade2-number-line-model p,.grade2-number-line-question p,.grade2-number-line-complete p,.grade2-number-line-finish p{margin:0;max-width:650px;font-weight:750;color:#43656a;}
.number-line-rule{display:flex;align-items:center;gap:7px;padding:7px 12px;border-radius:14px;background:#fff;}.number-line-rule span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:#fff;background:#0c8d7f;font-weight:900}.number-line-rule i{font-size:.7rem;font-style:normal;font-weight:850;color:#46666a}.number-line-rule b{color:#eb7a4c;}
.grade2-number-line-question{justify-content:flex-start;gap:5px;padding:8px 12px;}
.grade2-number-line-question h1{margin:0;font-size:clamp(1.08rem,2vw,1.5rem);line-height:1.13;color:#073d47;}
.grade2-number-line-question>p{font-size:.79rem;}
.grade2-number-line-task{display:grid;place-items:center;width:100%;min-height:300px;max-height:310px;overflow:hidden;border-radius:24px;background:rgba(255,255,255,.72);}
.grade2-number-line-task .grade2-number-line{width:94%;}
.grade2-number-line-complete h1,.grade2-number-line-finish h1{margin:0;color:#073d47;}.grade2-number-line-complete .grade2-number-line,.grade2-number-line-finish .grade2-number-line{transform:scale(.86);margin:-12px 0;}
.grade2-line-support,.grade2-skip-support{display:flex;align-items:center;justify-content:center;gap:7px;}.grade2-line-support span,.grade2-skip-support b{padding:5px 8px;border-radius:10px;background:#e0f5ef;color:#075e58;font-weight:900}.grade2-line-support i,.grade2-skip-support i{color:#e77848;font-style:normal;font-weight:900;}
.grade2-number-line-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:stretch;justify-items:center;gap:8px;height:458px;}
.grade2-number-line-board.remediation-mode>:not(.teacher-remediation-panel){min-height:0;max-height:100%;}.grade2-number-line-board.remediation-mode .teacher-remediation-panel{min-height:80px;max-height:84px;padding:5px 9px;}.grade2-number-line-board.remediation-mode .grade2-number-line-task{min-height:180px;max-height:180px;}

@media(max-width:760px){
  .grade2-number-line-hero{padding:7px}.number-line-hero-copy{width:100%;padding:12px}.number-line-hero-copy h1{font-size:1.2rem}.number-line-hero-copy p{font-size:.72rem}.grade2-number-line-hero>.grade2-number-line{margin-bottom:8px;width:94%;}
  .grade2-number-line{height:105px;padding:18px 10px 8px;border-radius:17px}.number-line-rail{top:48px}.number-line-stops{top:28px}.number-line-stops span{min-width:22px}.number-line-stops span b{margin-top:42px;font-size:.54rem}.number-line-stops span.is-marked b{width:26px;height:26px;font-size:.6rem}.number-line-explorer{top:1px}.number-line-explorer i{font-size:1.25rem}.number-line-hops{top:10px;height:26px}.number-line-hops i{height:17px;border-width:2px}
  .grade2-number-line-model{padding:5px;gap:4px}.grade2-number-line-model p{font-size:.7rem}.number-line-rule{padding:4px 7px}.number-line-rule span{width:25px;height:25px}.grade2-number-line-question{padding:5px;gap:3px}.grade2-number-line-question h1{font-size:.96rem}.grade2-number-line-question>p{font-size:.68rem}.grade2-number-line-task{min-height:218px;max-height:222px;padding:2px}.grade2-number-line-task .grade2-number-line{width:97%;}
  .grade2-number-line-complete,.grade2-number-line-finish{padding:6px;gap:4px}.grade2-number-line-complete h1,.grade2-number-line-finish h1{font-size:1.05rem}.grade2-number-line-complete p,.grade2-number-line-finish p{font-size:.7rem}.grade2-number-line-complete .grade2-number-line,.grade2-number-line-finish .grade2-number-line{transform:scale(.78);margin:-15px 0}
  .grade2-number-line-board.remediation-mode{height:377px;gap:4px}.grade2-number-line-board.remediation-mode .teacher-remediation-panel{min-height:66px;max-height:68px;padding:3px 5px}.grade2-number-line-board.remediation-mode .teacher-remediation-panel.active{transform:translateY(-14px)}.grade2-number-line-board.remediation-mode .grade2-number-line-task{min-height:145px;max-height:145px}
}

/* 2. sınıf · Tema 2 · Ritmik Sayma */
.grade2-rhythmic-board{--rhythm-teal:#0e8f83;--rhythm-orange:#f18752;--rhythm-ink:#123f4f}
.grade2-rhythmic-board .board-square{min-height:100%;overflow:hidden}
.pre-reader .grade2-rhythmic-board .board-kicker,
.pre-reader .grade2-rhythmic-board .board-square h1{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
.grade2-rhythmic-hero{position:relative;display:flex;align-items:flex-end;padding:24px;background:#dff3ef}
.grade2-rhythmic-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.grade2-rhythmic-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,44,51,.88) 0%,rgba(4,44,51,.62) 42%,rgba(4,44,51,.08) 72%)}
.rhythmic-hero-copy{position:absolute;z-index:2;left:26px;top:26px;width:min(46%,390px);color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.25)}
.rhythmic-hero-copy span,.grade2-rhythmic-finish>span,.grade2-rhythmic-complete>span{font-weight:900;letter-spacing:.12em;font-size:12px}
.rhythmic-hero-copy h1{font-size:clamp(25px,3vw,40px);line-height:1.04;margin:9px 0}
.rhythmic-hero-copy p{font-weight:700;line-height:1.45;margin:0}
.grade2-rhythmic-hero>.grade2-rhythmic-track{position:relative;z-index:3;width:95%;margin:0 auto 4px;background:rgba(255,255,255,.94);box-shadow:0 14px 32px rgba(7,62,67,.24)}
.grade2-rhythmic-track{position:relative;width:min(100%,760px);height:148px;margin:10px auto;padding:18px 28px 42px;border:2px solid #a8d8d2;border-radius:24px;background:linear-gradient(180deg,#fff,#eefaf7);overflow:hidden;--rhythm-duration:7s}
.rhythmic-rail{position:absolute;left:7%;right:7%;top:74px;height:6px;border-radius:99px;background:#78bfb6;box-shadow:0 3px 0 rgba(16,89,92,.15)}
.rhythmic-stops{position:absolute;left:7%;right:7%;top:59px;height:38px}
.rhythmic-stops>span{position:absolute;left:calc((100% / var(--rhythm-stops)) * var(--stop));transform:translateX(-50%);display:grid;place-items:center;width:39px;height:39px;border:3px solid #0e8f83;border-radius:50%;background:#fff;color:#123f4f;font-size:16px;font-weight:900;z-index:3;transition:.2s}
.rhythmic-stops>span.is-blank{border-color:#ef8c55;background:#fff4dd;color:#c45527}
.rhythmic-stops>span.spoken-highlight{transform:translateX(-50%) scale(1.2);background:#ffec9c;box-shadow:0 0 0 7px rgba(255,187,55,.22)}
.rhythmic-arcs{position:absolute;left:7%;right:7%;top:20px;display:grid;grid-template-columns:repeat(var(--rhythm-stops),1fr);height:54px}
.rhythmic-arcs i{display:block;border:3px solid #f18752;border-bottom:0;border-radius:50% 50% 0 0;transform:scaleX(.86)}
.rhythmic-jumper{position:absolute;z-index:4;left:4.7%;top:17px;width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 5px 4px rgba(11,68,73,.22));transform:translateX(-50%)}
.grade2-rhythmic-track.reverse .rhythmic-jumper{left:auto;right:1.5%;transform:translateX(50%) scaleX(-1)}
.grade2-rhythmic-track.rhythm-speaking.forward .rhythmic-jumper{animation:grade2RhythmForward var(--rhythm-duration) linear both}
.grade2-rhythmic-track.rhythm-speaking.reverse .rhythmic-jumper{animation:grade2RhythmBackward var(--rhythm-duration) linear both}
.rhythmic-direction{position:absolute;left:28px;right:28px;bottom:8px;display:flex;align-items:center;justify-content:center;gap:10px;color:#0d746e;font-weight:800;font-size:12px}
.rhythmic-direction b{padding:3px 9px;border-radius:999px;background:#daf1ed}
.rhythmic-direction i{font-size:22px;color:#ef7d47;font-style:normal}
@keyframes grade2RhythmForward{from{left:4.7%}to{left:95.3%}}
@keyframes grade2RhythmBackward{from{right:1.5%}to{right:92.2%}}
.grade2-rhythmic-model,.grade2-rhythmic-question,.grade2-rhythmic-complete,.grade2-rhythmic-finish{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:20px 30px;background:radial-gradient(circle at top,#fafffe,#e6f7f4);color:var(--rhythm-ink)}
.grade2-rhythmic-model h1,.grade2-rhythmic-question h1{margin:4px 0 2px;text-align:center;font-size:clamp(21px,2.4vw,30px)}
.grade2-rhythmic-model>.grade2-rhythmic-track{height:126px;margin:4px auto;padding-top:8px}
.grade2-rhythmic-model>.grade2-rhythmic-track .rhythmic-rail{top:61px}
.grade2-rhythmic-model>.grade2-rhythmic-track .rhythmic-stops{top:46px}
.grade2-rhythmic-model>.grade2-rhythmic-track .rhythmic-arcs{top:8px}
.grade2-rhythmic-model>.grade2-rhythmic-track .rhythmic-jumper{top:5px}
.rhythmic-model-rule{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.rhythmic-model-rule span{padding:8px 14px;border-radius:12px;background:#fff;border:2px solid #b7ddd8;font-weight:900;color:#0c766d}
.grade2-rhythmic-task{width:100%;display:grid;place-items:center;min-height:220px}
.grade2-rhythmic-question>p{margin:4px 0 0;text-align:center;color:#50717b;font-weight:700}
.grade2-rhythmic-chart{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;width:min(100%,510px);padding:10px;border:2px solid #a8d8d2;border-radius:20px;background:#fff}
.grade2-rhythmic-chart span{display:grid;place-items:center;aspect-ratio:1;border-radius:7px;background:#edf5f4;color:#46616b;font-size:10px;font-weight:800}
.grade2-rhythmic-chart span.on-path{background:#c8eee7;color:#076e65;box-shadow:inset 0 0 0 2px #42b4a6}
.grade2-rhythmic-chart span.is-blank{background:#fff0c9;color:#c95e29;box-shadow:inset 0 0 0 3px #f1a35f}
.grade2-rhythmic-chart span.spoken-highlight{transform:scale(1.22);background:#ffd768;z-index:2}
.grade2-rhythmic-groups{display:flex;align-items:stretch;justify-content:center;gap:8px;flex-wrap:wrap;width:100%}
.grade2-rhythmic-groups>div{display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-width:92px;min-height:142px;padding:8px;border:2px solid #a8d8d2;border-radius:18px;background:#fff;transition:.2s}
.grade2-rhythmic-groups>div.spoken-highlight{transform:translateY(-7px);border-color:#f18752;box-shadow:0 10px 18px rgba(240,126,71,.24)}
.grade2-rhythmic-groups small{font-weight:800;color:#54737c}
.grade2-rhythmic-groups>div>span{display:grid;grid-template-columns:repeat(2,34px);place-items:center;min-height:70px}
.grade2-rhythmic-groups img{width:34px;height:34px;object-fit:contain}
.grade2-rhythmic-groups b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0e8f83;color:#fff}
.grade2-rhythmic-footer.answers-locked button[data-grade2-rhythmic-answer]{pointer-events:none;opacity:.48;filter:grayscale(.35)}
.grade2-rhythmic-footer:not(.answers-locked) button[data-grade2-rhythmic-answer]{animation:grade2RhythmReady .5s ease both}
@keyframes grade2RhythmReady{0%{transform:translateY(4px);box-shadow:none}100%{transform:translateY(0);box-shadow:0 0 0 3px rgba(240,151,45,.16)}}
.grade2-rhythmic-support{display:flex;align-items:center;justify-content:center;gap:7px;padding:14px;border-radius:18px;background:#e9f8f5}
.grade2-rhythmic-support b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;border:2px solid #68bdb3;color:#0c6e68}
.grade2-rhythmic-support i{font-style:normal;font-weight:900;color:#e96f3f}
.grade2-rhythmic-complete>.grade2-rhythmic-track{max-width:620px}
.grade2-rhythmic-finish>.grade2-rhythmic-groups{margin:8px auto 15px}
.grade2-rhythmic-finish h1,.grade2-rhythmic-complete h1{margin:7px 0;text-align:center;font-size:clamp(23px,3vw,34px)}
.grade2-rhythmic-finish p,.grade2-rhythmic-complete p{max-width:690px;margin:0 auto 10px;text-align:center;font-weight:700;line-height:1.45}
.grade2-rhythmic-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 92px;align-items:stretch;justify-items:center;gap:6px;height:458px;overflow:hidden}
.grade2-rhythmic-board.remediation-mode>:not(.teacher-remediation-panel){min-height:0;height:100%;max-height:100%}
.grade2-rhythmic-board.remediation-mode .teacher-remediation-panel{width:100%;min-height:86px;max-height:92px;margin:0;padding:6px 10px;overflow:hidden}
@media(max-width:760px){
  .grade2-rhythmic-hero{padding:12px;align-items:flex-end}
  .rhythmic-hero-copy{left:16px;top:14px;width:78%}
  .rhythmic-hero-copy h1{font-size:23px}
  .rhythmic-hero-copy p{font-size:12px;line-height:1.32}
  .grade2-rhythmic-hero>.grade2-rhythmic-track{height:128px;margin-bottom:0}
  .grade2-rhythmic-model,.grade2-rhythmic-question,.grade2-rhythmic-complete,.grade2-rhythmic-finish{padding:10px}
  .grade2-rhythmic-model{justify-content:flex-start;overflow:auto!important}
  .grade2-rhythmic-model h1{font-size:18px}
  .grade2-rhythmic-track{height:130px;padding-inline:12px}
  .rhythmic-stops,.rhythmic-arcs{left:9%;right:9%}
  .rhythmic-stops>span{width:32px;height:32px;font-size:13px}
  .rhythmic-jumper{width:52px;height:52px}
  .rhythmic-direction{left:10px;right:10px;font-size:10px}
  .grade2-rhythmic-task{min-height:180px}
  .grade2-rhythmic-question h1{font-size:18px}
  .grade2-rhythmic-question>p{font-size:11px}
  .grade2-rhythmic-chart{width:min(100%,360px);gap:2px;padding:6px}
  .grade2-rhythmic-chart span{font-size:8px;border-radius:4px}
  .grade2-rhythmic-groups{gap:4px}
  .grade2-rhythmic-groups>div{min-width:62px;min-height:106px;padding:4px;border-radius:12px}
  .grade2-rhythmic-groups>div>span{grid-template-columns:repeat(2,25px);min-height:54px}
  .grade2-rhythmic-groups img{width:25px;height:25px}
  .grade2-rhythmic-groups b{width:26px;height:26px;font-size:11px}
  .grade2-rhythmic-groups small{font-size:8px}
  .grade2-rhythmic-board.remediation-mode{height:370px;grid-template-rows:minmax(0,1fr) 82px;gap:4px}
  .grade2-rhythmic-board.remediation-mode .teacher-remediation-panel{min-height:78px;max-height:82px;padding:4px 7px}
  .grade2-rhythmic-board.remediation-mode .teacher-remediation-panel .grade2-rhythmic-support{gap:4px;padding:2px 4px}
  .grade2-rhythmic-board.remediation-mode .teacher-remediation-panel .grade2-rhythmic-support b{width:30px;height:30px;font-size:12px}
  .grade2-rhythmic-board.remediation-mode .teacher-remediation-panel .grade2-rhythmic-support i{font-size:11px}
  .grade2-rhythmic-board.remediation-mode .grade2-rhythmic-question{padding:4px}
  .grade2-rhythmic-board.remediation-mode .grade2-rhythmic-task{min-height:120px}
  .grade2-rhythmic-board.remediation-mode .grade2-rhythmic-track{height:116px;margin:0}
  .grade2-rhythmic-board.remediation-mode .grade2-rhythmic-question>p{display:none}
}

@media (max-width: 520px) {
  .grade2-theme1-hero p { font-size: 13px; }
  .grade2-theme1-answer-row { grid-template-columns: 1fr; }
  .grade2-theme1-answer-row button { min-height: 50px; }
  .grade2-theme1-question h1 { font-size: 22px; }
  .grade2-theme1-question > p { font-size: 13px; }
  .grade2-theme1-task-visual .formal-pair-visual,
  .grade2-theme1-task-visual .liquid-transfer-visual { transform: scale(.72); margin: -28px; }
  .grade2-theme1-review-icons { gap: 4px; transform: scale(.72); margin: -30px; }
}

/* 2. sınıf · Sıvı Ölçme */
.grade2-liquid-board {
  overflow: hidden;
  background: linear-gradient(145deg, #effbf9, #e8f8f7);
}

.grade2-liquid-board .board-square {
  width: 100%;
  min-height: 100%;
  padding: clamp(20px, 3vw, 38px);
  border-radius: 28px;
  background: linear-gradient(145deg, #f8fffe, #e9f8f5);
}

.liquid-hero {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 0 !important;
}

.liquid-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liquid-hero::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(transparent, rgba(7, 62, 70, 0.88));
}

.liquid-hero > div {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 32px 30px;
  padding: 20px 24px;
  border-radius: 22px;
  color: white;
  background: rgba(11, 92, 95, 0.9);
  backdrop-filter: blur(8px);
}

.liquid-hero h1,
.liquid-question h1,
.liquid-predict-lab h1,
.liquid-finish h1 {
  margin: 8px 0;
  color: #103f52;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.08;
}

.liquid-hero h1 { color: white; }
.liquid-hero p { margin: 0; color: #eafffb; font-size: 17px; line-height: 1.45; }

.liquid-vessel {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  min-width: 92px;
  min-height: 150px;
}

.liquid-vessel-shell {
  position: relative;
  width: 82px;
  height: 104px;
  overflow: hidden;
  border: 4px solid #1c5968;
  border-top-width: 3px;
  border-radius: 10px 10px 22px 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 8px 0 rgba(255,255,255,.45), 0 12px 20px rgba(18,74,83,.14);
}

.liquid-fill {
  position: absolute;
  inset: auto 0 0;
  height: var(--liquid-level);
  background: linear-gradient(#67d6ee, #219fc6);
  transition: height 1.15s cubic-bezier(.2,.8,.2,1);
}

.liquid-fill::before {
  content: "";
  position: absolute;
  inset: -4px 0 auto;
  height: 8px;
  border-radius: 50%;
  background: #a9eff7;
}

.liquid-shine {
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 16px;
  width: 7px;
  border-radius: 8px;
  background: rgba(255,255,255,.65);
}

.liquid-vessel > b {
  margin-top: 8px;
  color: #19566a;
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.liquid-vessel.cup .liquid-vessel-shell,
.liquid-vessel.measure-cup .liquid-vessel-shell {
  width: 66px;
  height: 78px;
  border-radius: 8px 8px 18px 18px;
}

.liquid-vessel.pitcher .liquid-vessel-shell {
  width: 105px;
  height: 126px;
  border-radius: 16px 10px 25px 25px;
}

.liquid-vessel.pitcher .liquid-vessel-shell::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 25px;
  width: 38px;
  height: 54px;
  border: 7px solid #1c5968;
  border-left: 0;
  border-radius: 0 25px 25px 0;
}

.liquid-vessel.bucket .liquid-vessel-shell {
  width: 126px;
  height: 104px;
  clip-path: polygon(7% 0, 93% 0, 84% 100%, 16% 100%);
  border-radius: 8px 8px 20px 20px;
}

.liquid-vessel.tall .liquid-vessel-shell { width: 66px; height: 158px; }
.liquid-vessel.wide .liquid-vessel-shell { width: 146px; height: 86px; }
.liquid-vessel.bottle .liquid-vessel-shell { width: 60px; height: 132px; border-radius: 9px 9px 20px 20px; }
.liquid-vessel.pot .liquid-vessel-shell { width: 154px; height: 92px; border-radius: 12px 12px 26px 26px; }
.liquid-vessel.bowl .liquid-vessel-shell { width: 126px; height: 58px; border-radius: 8px 8px 60px 60px; }
.liquid-vessel.ladle .liquid-vessel-shell { width: 70px; height: 44px; border-radius: 50%; }
.liquid-vessel.ladle::before {
  content: "";
  position: absolute;
  width: 82px;
  height: 8px;
  right: 59px;
  bottom: 55px;
  border-radius: 8px;
  background: #1c5968;
  transform: rotate(-28deg);
  transform-origin: right center;
}

.liquid-flow-demo,
.liquid-unit-demo,
.liquid-student-fill,
.liquid-predict-lab,
.liquid-outcome-demo,
.liquid-level-demo,
.liquid-finish,
.liquid-section-complete {
  display: grid;
  align-content: center;
  gap: 22px;
  text-align: center;
}

.liquid-flow-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.liquid-flow-pair > div {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  min-height: 245px;
  padding: 18px;
  border: 2px solid #b9ded8;
  border-radius: 24px;
  background: white;
}

.liquid-flow-pair > div > i,
.liquid-transfer-arrow,
.liquid-daily-scene > span {
  align-self: center;
  color: #f06b54;
  font-size: 32px;
  font-style: normal;
  font-weight: 900;
}

.liquid-flow-pair > div:not(.is-poured) .liquid-vessel:last-child .liquid-fill { height: 0 !important; }
.liquid-flow-pair > div.is-poured .liquid-vessel.tall { --liquid-level: 82% !important; }
.liquid-flow-pair > div.is-poured .liquid-vessel.wide { --liquid-level: 44% !important; }
.liquid-flow-pair > div.is-poured { border-color: #20a897; box-shadow: 0 0 0 6px rgba(255,177,43,.18); }

.liquid-conclusion,
.liquid-rule-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.liquid-conclusion > *,
.liquid-rule-card > * {
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  color: #175c68;
  box-shadow: 0 6px 16px rgba(17,78,84,.1);
}

.liquid-conclusion strong,
.liquid-rule-card strong { background: #dff5ed; color: #08796b; }

.liquid-unit-demo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.liquid-unit-demo > .board-kicker,
.liquid-unit-demo > p { grid-column: 1 / -1; }
.liquid-unit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 3px solid #c6dfdc;
  border-radius: 24px;
  background: white;
  opacity: .46;
  transition: opacity .5s ease, border-color .5s ease, transform .5s ease;
}
.liquid-unit-row.active { opacity: 1; border-color: #ffb32c; transform: translateY(-5px); }
.liquid-unit-row > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.liquid-unit-row > div span,
.liquid-count-dots span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e5f5f2;
  color: #19566a;
  font-weight: 900;
}
.liquid-unit-row strong { grid-column: 1 / -1; color: #08796b; }

.liquid-two-targets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.liquid-two-targets > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border: 3px solid #bdded9;
  border-radius: 24px;
  background: white;
  opacity: .55;
}
.liquid-two-targets > div.active { opacity: 1; border-color: #ffb32c; box-shadow: 0 0 0 7px rgba(255,179,44,.15); }
.liquid-two-targets > div.done { opacity: 1; border-color: #46b978; }
.liquid-count-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.liquid-count-dots span.filled { color: white; background: #159889; box-shadow: 0 0 0 4px #d7f4ee; }

.liquid-pour-button,
.liquid-design-pick {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-self: center;
  min-width: 260px;
  padding: 10px 20px;
  border: 3px solid #159889;
  border-radius: 22px;
  background: white;
  color: #124b5e;
  box-shadow: 0 10px 22px rgba(17,78,84,.13);
}
.liquid-pour-button:hover { transform: translateY(-3px); box-shadow: 0 0 0 6px rgba(255,179,44,.2); }
.liquid-pour-button .liquid-vessel { min-height: 105px; transform: scale(.72); margin: -20px; }

.liquid-predict-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.liquid-predict-main > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(80px, 1fr)); gap: 8px 16px; }
.liquid-predict-main small { color: #52747d; font-weight: 800; }
.liquid-predict-main b,
.liquid-predict-main strong,
.liquid-number-compare b,
.liquid-number-compare strong {
  display: grid;
  place-items: center;
  min-width: 82px;
  min-height: 82px;
  border-radius: 20px;
  background: white;
  color: #0c6671;
  font-size: 38px;
  box-shadow: 0 8px 18px rgba(17,78,84,.12);
}
.liquid-number-compare { display: flex; align-items: center; justify-content: center; gap: 22px; }
.liquid-number-compare span { color: #f06b54; font-size: 30px; font-weight: 900; }

.liquid-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.liquid-outcome-grid > div {
  min-width: 0;
  padding: 14px 8px;
  border: 3px solid #c5dedb;
  border-radius: 24px;
  background: white;
  opacity: .42;
  transition: opacity .4s ease, border-color .4s ease, transform .4s ease;
}
.liquid-outcome-grid > div.active { opacity: 1; border-color: #ffb32c; transform: translateY(-6px); }
.liquid-transfer-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; justify-items: center; gap: 4px; }
.liquid-transfer-visual > strong { grid-column: 1 / -1; padding: 8px 14px; border-radius: 999px; color: #0d786c; background: #ddf6ee; }
.liquid-outcome-grid .liquid-transfer-visual {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: 100%;
  overflow: hidden;
}
.liquid-outcome-grid .liquid-transfer-visual .liquid-vessel {
  transform: scale(.62);
  margin: -28px;
}
.liquid-outcome-grid .liquid-transfer-visual > strong {
  position: relative;
  z-index: 2;
  padding: 6px 10px;
  font-size: 13px;
}
.liquid-target-wrap { position: relative; }
.liquid-outcome-grid > div:not(.active) .liquid-target-wrap .liquid-fill { height: 0 !important; }
.liquid-spill {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 118px;
  height: 22px;
  border-radius: 50%;
  background: rgba(44,180,218,.5);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .5s ease 1s;
}
.liquid-outcome-grid > div.active .liquid-spill,
.liquid-question .liquid-spill { opacity: 1; }

.liquid-question {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.liquid-question .liquid-transfer-visual,
.liquid-question .liquid-daily-scene,
.liquid-question .liquid-mini-tools { width: min(100%, 560px); }
.liquid-question .liquid-transfer-visual { padding: 14px; border-radius: 22px; background: white; }
.liquid-question h1 { max-width: 780px; }
.liquid-question p { margin: 0; color: #476c75; font-size: 16px; }

.liquid-answer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.liquid-answer-row button {
  min-height: 70px;
  padding: 12px 16px;
  border: 3px solid #acd8d2;
  border-radius: 20px;
  background: white;
  color: #153f52;
  font-size: 18px;
  font-weight: 900;
}
.liquid-answer-row button:hover,
.liquid-answer-row button:focus-visible { border-color: #ffad24; box-shadow: 0 0 0 6px rgba(255,173,36,.18); transform: translateY(-3px); }

.liquid-daily-scene,
.liquid-mini-tools,
.liquid-level-stage,
.liquid-section-complete > div,
.liquid-finish > div {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 24px;
}
.liquid-mini-tools .liquid-vessel { transform: scale(.84); margin: -10px; }

.liquid-level-stage { min-height: 265px; }
.liquid-level-stage > div { display: grid; place-items: end center; min-width: 150px; }
.liquid-level-stage [data-level-vessel]:not(.active) .liquid-fill { height: 0 !important; }
.liquid-level-stage [data-level-vessel].active .liquid-vessel.tall { --liquid-level: 82% !important; }
.liquid-level-stage [data-level-vessel].active .liquid-vessel.wide { --liquid-level: 44% !important; }
.liquid-same-cup { opacity: .35; transform: scale(.75); }

.liquid-section-complete > div,
.liquid-finish > div { min-height: 170px; }
.liquid-section-complete > span { color: #08796b; font-weight: 900; letter-spacing: .12em; }
.liquid-section-complete h1,
.liquid-finish h1 { margin: 0; }
.liquid-section-complete p,
.liquid-finish p { max-width: 720px; margin: 0 auto; color: #476c75; font-size: 17px; line-height: 1.5; }
.liquid-finish > b { color: #0c7168; }

.liquid-support-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: #fffaf0;
}
.liquid-support-card span,
.liquid-support-card strong { padding: 12px; border-radius: 14px; color: #155769; background: white; }
.liquid-support-card small { display: block; margin-top: 4px; color: #63808a; }

@media (max-width: 760px) {
  .grade2-liquid-board .board-square { padding: 18px; }
  .liquid-hero > div { margin: 0 16px 16px; }
  .liquid-flow-pair,
  .liquid-two-targets { gap: 10px; }
  .liquid-flow-pair > div { min-height: 210px; padding: 10px; gap: 6px; }
  .liquid-unit-demo { gap: 10px; }
  .liquid-unit-row { grid-template-columns: 1fr; justify-items: center; padding: 10px; }
  .liquid-outcome-grid { gap: 8px; }
  .liquid-transfer-visual .liquid-vessel { transform: scale(.78); margin: -12px; }
  .liquid-level-stage { gap: 8px; }
  .liquid-level-stage > div { min-width: 100px; }
}

@media (max-width: 520px) {
  .liquid-hero img { object-position: 42% center; }
  .liquid-hero > div { padding: 14px; }
  .liquid-hero p { font-size: 13px; }
  .liquid-flow-demo,
  .liquid-unit-demo,
  .liquid-student-fill,
  .liquid-predict-lab,
  .liquid-outcome-demo,
  .liquid-level-demo { gap: 10px; }
  .liquid-flow-pair,
  .liquid-two-targets { grid-template-columns: 1fr; }
  .liquid-flow-pair > div { min-height: 175px; }
  .liquid-flow-pair .liquid-vessel { transform: scale(.72); margin: -18px; }
  .liquid-unit-demo { grid-template-columns: 1fr; }
  .liquid-unit-demo > .board-kicker,
  .liquid-unit-demo > p { grid-column: auto; }
  .liquid-unit-row { grid-template-columns: auto 1fr; }
  .liquid-two-targets .liquid-vessel { transform: scale(.72); margin: -18px; }
  .liquid-count-dots span,
  .liquid-unit-row > div span { width: 30px; height: 30px; font-size: 12px; }
  .liquid-predict-main { gap: 10px; }
  .liquid-predict-main .liquid-vessel { transform: scale(.78); margin: -12px; }
  .liquid-predict-main b,
  .liquid-predict-main strong { min-width: 58px; min-height: 58px; font-size: 26px; }
  .liquid-outcome-grid { grid-template-columns: 1fr; }
  .liquid-outcome-grid > div { padding: 6px; }
  .liquid-outcome-grid .liquid-transfer-visual .liquid-vessel { transform: scale(.62); margin: -28px; }
  .liquid-answer-row { grid-template-columns: 1fr; gap: 8px; }
  .liquid-answer-row button { min-height: 54px; font-size: 15px; }
  .liquid-daily-scene,
  .liquid-mini-tools { gap: 6px; }
  .liquid-daily-scene .liquid-vessel,
  .liquid-mini-tools .liquid-vessel { transform: scale(.68); margin: -22px; }
  .liquid-level-stage { min-height: 205px; }
  .liquid-level-stage .liquid-vessel { transform: scale(.7); margin: -18px; }
  .liquid-level-stage > div { min-width: 72px; }
  .liquid-question h1,
  .liquid-predict-lab h1 { font-size: 22px; }
}

/* 2. sınıf · Biçimsel Özellikler */
.grade2-formal-board {
  --formal-coral: #ef6b55;
  --formal-teal: #16998d;
  --formal-yellow: #f5c94c;
  --formal-blue: #4a91d1;
  --formal-ink: #123f56;
}

.grade2-formal-board .board-square {
  width: min(100%, 940px);
  min-height: 540px;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
}

.formal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.75fr);
  align-items: center;
  gap: 24px;
  background: linear-gradient(145deg, #e6f8f5, #fff8df);
}

.formal-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  box-shadow: 0 18px 35px rgba(23, 82, 78, 0.2);
}

.formal-hero > div {
  display: grid;
  gap: 14px;
}

.formal-hero span,
.formal-section-complete > span {
  color: var(--formal-teal);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.formal-hero h1,
.formal-question h1,
.formal-student-lab h1,
.formal-designer h1,
.formal-finish h1 {
  color: var(--formal-ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  margin: 0;
}

.formal-hero p,
.formal-question p,
.formal-student-lab p,
.formal-solid-teach p,
.formal-change-story p,
.formal-designer p,
.formal-finish p {
  color: #355f6b;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.45;
  margin: 0;
}

.formal-shape {
  --formal-scale: 1;
  --formal-rotate: 0deg;
  --formal-x: 0px;
  --formal-y: 0px;
  position: relative;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  transform: translate(var(--formal-x), var(--formal-y)) rotate(var(--formal-rotate)) scale(var(--formal-scale));
  transform-origin: center;
  transition: transform 0.85s cubic-bezier(0.2, 0.85, 0.25, 1.2), filter 0.4s ease;
  flex: 0 0 auto;
}

.formal-shape > span {
  display: block;
  width: 86px;
  height: 86px;
  background: var(--formal-coral);
  border: 4px solid var(--formal-ink);
  box-shadow: 0 12px 22px rgba(25, 74, 83, 0.18);
}

.formal-shape.rectangle > span {
  width: 112px;
  height: 68px;
  background: #56b56d;
}

.formal-shape.triangle > span {
  width: 0;
  height: 0;
  border: 0;
  border-left: 51px solid transparent;
  border-right: 51px solid transparent;
  border-bottom: 90px solid var(--formal-yellow);
  background: transparent;
  filter: drop-shadow(0 5px 0 var(--formal-ink)) drop-shadow(0 11px 12px rgba(25, 74, 83, 0.16));
  box-shadow: none;
}

.formal-shape.disk > span {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--formal-blue);
}

.formal-shape > b {
  position: absolute;
  inset: auto auto -18px 50%;
  transform: translateX(-50%);
  color: var(--formal-ink);
  font-size: 13px;
  white-space: nowrap;
}

.formal-shape.is-small {
  --formal-scale: 0.72;
}

.formal-shape.is-large {
  --formal-scale: 1.34;
}

.formal-shape.is-rotated {
  --formal-rotate: 43deg;
}

.formal-shape.is-shifted,
.formal-shape.is-right {
  --formal-x: 88px;
}

.formal-shape.is-left {
  --formal-x: -54px;
}

.formal-shape.is-ghost {
  opacity: 0.28;
  filter: grayscale(0.8);
}

.formal-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ff9f1c;
  z-index: 2;
  pointer-events: none;
}

.formal-shape.square .c1,
.formal-shape.rectangle .c1 { left: 14px; top: 14px; }
.formal-shape.square .c2,
.formal-shape.rectangle .c2 { right: 14px; top: 14px; }
.formal-shape.square .c3,
.formal-shape.rectangle .c3 { right: 14px; bottom: 14px; }
.formal-shape.square .c4,
.formal-shape.rectangle .c4 { left: 14px; bottom: 14px; }
.formal-shape.rectangle .c1,
.formal-shape.rectangle .c2 { top: 26px; }
.formal-shape.rectangle .c3,
.formal-shape.rectangle .c4 { bottom: 26px; }
.formal-shape.triangle .c1 { left: 56px; top: 15px; }
.formal-shape.triangle .c2 { left: 19px; bottom: 17px; }
.formal-shape.triangle .c3 { right: 19px; bottom: 17px; }

.formal-teacher-demo,
.formal-student-lab,
.formal-solid-teach,
.formal-solid-practice,
.formal-change-story,
.formal-question,
.formal-designer,
.formal-section-complete,
.formal-finish {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  background: linear-gradient(150deg, #ecfaf8, #fff);
  text-align: center;
}

.formal-demo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  min-height: 270px;
  padding: 28px 270px 28px 70px;
  border-radius: 28px;
  background: #fff;
  border: 3px solid #c0e4df;
  box-shadow: inset 0 -30px 0 #eef9f7;
}

.formal-origin {
  position: absolute;
  left: calc(50% - 185px);
  width: 92px;
  height: 92px;
  border: 3px dashed #9fc9c3;
}

.formal-identity-card {
  display: grid;
  gap: 5px;
  min-width: 210px;
  padding: 18px 22px;
  border: 3px solid var(--formal-teal);
  border-radius: 20px;
  background: #f8fffd;
  color: var(--formal-ink);
  box-shadow: 0 11px 24px rgba(20, 115, 103, 0.12);
}

.formal-demo-stage > .formal-identity-card {
  position: absolute;
  right: 28px;
}

.formal-identity-card small {
  color: var(--formal-teal);
  font-weight: 900;
}

.formal-identity-card b { font-size: 26px; }
.formal-identity-card span { font-weight: 800; }

.formal-demo-timeline,
.formal-change-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.formal-demo-timeline span,
.formal-change-chips span,
.formal-change-chips b {
  padding: 9px 14px;
  border-radius: 999px;
  background: #e9f1f0;
  color: #6f888d;
  font-weight: 900;
  transition: 0.3s ease;
}

.formal-demo-timeline span.active,
.formal-change-chips span.active {
  background: #fff1c4;
  color: #8a5c00;
  box-shadow: 0 0 0 4px rgba(245, 201, 76, 0.25);
}

.formal-control-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.formal-control-row button,
.formal-inline-answers button,
.formal-answer-row button,
.formal-design-pick {
  min-height: 58px;
  padding: 12px 20px;
  border: 3px solid #a9d9d2;
  border-radius: 18px;
  background: #fff;
  color: var(--formal-ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.formal-control-row button:hover,
.formal-control-row button:focus-visible,
.formal-inline-answers button:hover,
.formal-inline-answers button:focus-visible,
.formal-answer-row button:hover,
.formal-answer-row button:focus-visible,
.formal-design-pick:hover,
.formal-design-pick:focus-visible {
  transform: translateY(-3px);
  border-color: #f4a625;
  box-shadow: 0 0 0 5px rgba(244, 166, 37, 0.2), 0 9px 20px rgba(25, 74, 83, 0.12);
}

.formal-control-row button:disabled {
  background: #ddf4ef;
  color: #14796e;
  border-color: #64beaf;
  cursor: default;
}

.formal-control-row button > span { font-size: 24px; margin-right: 8px; }

.formal-question {
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
}

.formal-before-after {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(100%, 650px);
}

.formal-before-after > div {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  border: 3px solid #c3e5df;
}

.formal-before-after small,
.formal-scene-pair small {
  color: var(--formal-teal);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.formal-before-after > i {
  color: #f28b55;
  font-size: 34px;
  font-style: normal;
  font-weight: 900;
}

.formal-answer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
}

.formal-answer-row:has(button:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.formal-answer-row button { width: 100%; }

.formal-solid-layout {
  display: grid;
  grid-template-columns: minmax(310px, 1.25fr) minmax(240px, 0.75fr);
  align-items: center;
  gap: 24px;
  width: min(100%, 790px);
}

.formal-three-viewer {
  width: 100%;
  height: 330px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 42%, #fff, #dff4f0);
  border: 3px solid #b8e1db;
  overflow: hidden;
  touch-action: none;
}

.formal-three-viewer canvas { width: 100%; height: 100%; display: block; }

.formal-solid-facts {
  display: grid;
  gap: 10px;
}

.formal-solid-facts > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #e7f1ef;
  color: #667e83;
  font-weight: 900;
  transition: 0.3s ease;
}

.formal-solid-facts > span b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--formal-ink);
  font-size: 22px;
}

.formal-solid-facts > span.active {
  background: #fff1be;
  color: #805800;
  box-shadow: 0 0 0 4px rgba(245, 201, 76, 0.22);
}

.formal-control-row.vertical {
  display: grid;
  grid-template-columns: 1fr;
}

.formal-inline-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.formal-scene-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: min(100%, 720px);
}

.formal-scene-pair > div {
  display: grid;
  place-items: center;
  min-height: 250px;
  border-radius: 24px;
  background: #fff;
  border: 3px solid #c3e4de;
  overflow: hidden;
}

.formal-scene-pair .formal-shape.is-large {
  --formal-scale: 1.08;
}

.formal-scene-pair .formal-shape.is-right,
.formal-scene-pair .formal-shape.is-shifted {
  --formal-x: 18px;
}

.formal-change-chips b {
  background: #dff5ed;
  color: #126f64;
}

.formal-designer {
  grid-template-columns: minmax(330px, 1.2fr) minmax(250px, 0.8fr);
  grid-template-areas:
    "kicker kicker"
    "canvas copy";
  text-align: left;
}

.formal-designer > .board-kicker { grid-area: kicker; }
.formal-designer > .formal-design-canvas { grid-area: canvas; }
.formal-designer > div:last-child { grid-area: copy; }

.formal-design-canvas {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 380px;
  padding: 30px;
  border-radius: 28px;
  border: 3px solid #aadbd4;
  background: linear-gradient(#dff6ff 0 58%, #cbe6a5 58% 100%);
  overflow: hidden;
}

.formal-design-canvas > p {
  align-self: center;
  max-width: 260px;
  text-align: center;
}

.formal-house-part {
  position: absolute;
  display: grid;
  place-items: center;
}

.formal-house-part .formal-shape {
  --formal-x: 0px;
  --formal-y: 0px;
  --formal-rotate: 0deg;
}

.formal-house-part.part-rectangle {
  left: 50%;
  bottom: 34px;
  width: 210px;
  height: 126px;
  transform: translateX(-50%);
}

.formal-house-part.part-rectangle .formal-shape { --formal-scale: 1.48; }

.formal-house-part.part-triangle {
  left: 50%;
  bottom: 157px;
  width: 210px;
  height: 100px;
  transform: translateX(-50%);
  z-index: 2;
}

.formal-house-part.part-triangle .formal-shape { --formal-scale: 1.32; }

.formal-house-part.part-square {
  left: 50%;
  bottom: 126px;
  width: 74px;
  height: 74px;
  transform: translateX(-50%);
  z-index: 3;
}

.formal-house-part.part-square .formal-shape { --formal-scale: 0.58; }

.formal-house-part.part-disk {
  top: 18px;
  right: 18px;
  width: 90px;
  height: 90px;
}

.formal-house-part.part-disk .formal-shape { --formal-scale: 0.72; }

.formal-design-pick {
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 18px;
}

.formal-design-pick .formal-shape { margin: 4px auto 18px; }
.formal-design-pick .formal-shape.is-large { --formal-scale: 0.9; }
.formal-design-pick .formal-shape.is-shifted,
.formal-design-pick .formal-shape.is-right { --formal-x: 16px; }

.formal-section-complete > div,
.formal-finish > div,
.formal-cube-static {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 170px;
}

.formal-cube-static .grade2-solid-sprite,
.formal-cube-static img {
  width: 145px;
  height: 145px;
  object-fit: contain;
}

.formal-cube-static > :last-child { transform: scale(1.28) rotate(18deg); }

.formal-finish > b {
  padding: 10px 16px;
  border-radius: 999px;
  background: #dff4ee;
  color: #176f66;
}

.formal-support-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.formal-support-card span,
.formal-support-card strong {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 14px;
  background: #eaf7f4;
}

.formal-support-card small { font-size: 10px; }
.formal-support-card i { font-style: normal; color: #d87426; font-weight: 900; }
.formal-support-card b { grid-column: 3; color: #168378; }

@media (max-width: 760px) {
  .grade2-formal-board .board-square {
    min-height: 0;
    padding: 14px;
    gap: 12px;
  }
  .formal-hero,
  .formal-designer,
  .formal-solid-layout {
    grid-template-columns: 1fr;
  }
  .formal-designer {
    grid-template-areas:
      "kicker"
      "canvas"
      "copy";
  }
  .formal-hero img {
    height: 230px;
  }
  .formal-hero > div {
    gap: 8px;
  }
  .formal-hero h1,
  .formal-question h1,
  .formal-student-lab h1,
  .formal-designer h1,
  .formal-finish h1 {
    font-size: 20px;
  }
  .formal-hero p,
  .formal-question p,
  .formal-student-lab p,
  .formal-solid-teach p,
  .formal-designer p,
  .formal-finish p {
    font-size: 12px;
  }
  .formal-demo-stage {
    min-height: 235px;
    padding: 18px 12px 96px;
  }
  .formal-demo-stage > .formal-identity-card {
    left: 14px;
    right: 14px;
    bottom: 10px;
  }
  .formal-identity-card {
    min-width: 0;
    padding: 9px 12px;
  }
  .formal-identity-card b { font-size: 18px; }
  .formal-shape.is-shifted,
  .formal-shape.is-right { --formal-x: 42px; }
  .formal-shape.is-left { --formal-x: -30px; }
  .formal-before-after {
    grid-template-columns: 1fr auto 1fr;
    gap: 5px;
  }
  .formal-before-after > div {
    min-width: 0;
    min-height: 150px;
    padding: 4px;
  }
  .formal-answer-row {
    gap: 6px;
  }
  .formal-answer-row button,
  .formal-control-row button,
  .formal-inline-answers button {
    min-height: 46px;
    padding: 7px 8px;
    font-size: 11px;
  }
  .formal-three-viewer {
    height: 235px;
  }
  .formal-solid-facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .formal-solid-facts > span {
    justify-content: center;
    padding: 6px;
    font-size: 10px;
  }
  .formal-solid-facts > span b {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .formal-solid-facts .formal-identity-card {
    grid-column: 1 / -1;
  }
  .formal-scene-pair > div {
    min-height: 180px;
  }
  .formal-design-canvas {
    height: 260px;
  }
  .formal-designer {
    text-align: center;
  }
  .formal-design-pick {
    min-height: 120px;
  }
  .formal-cube-static .grade2-solid-sprite,
  .formal-cube-static img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 430px) {
  .formal-hero img { height: 180px; }
  .formal-hero span { font-size: 10px; }
  .formal-shape {
    width: 96px;
    height: 96px;
  }
  .formal-shape > span {
    width: 66px;
    height: 66px;
  }
  .formal-shape.rectangle > span {
    width: 84px;
    height: 52px;
  }
  .formal-shape.triangle > span {
    border-left-width: 39px;
    border-right-width: 39px;
    border-bottom-width: 69px;
  }
  .formal-shape.disk > span {
    width: 68px;
    height: 68px;
  }
  .formal-corner { width: 8px; height: 8px; border-width: 2px; }
  .formal-shape.square .c1,
  .formal-shape.rectangle .c1 { left: 11px; top: 11px; }
  .formal-shape.square .c2,
  .formal-shape.rectangle .c2 { right: 11px; top: 11px; }
  .formal-shape.square .c3,
  .formal-shape.rectangle .c3 { right: 11px; bottom: 11px; }
  .formal-shape.square .c4,
  .formal-shape.rectangle .c4 { left: 11px; bottom: 11px; }
  .formal-shape.rectangle .c1,
  .formal-shape.rectangle .c2 { top: 19px; }
  .formal-shape.rectangle .c3,
  .formal-shape.rectangle .c4 { bottom: 19px; }
  .formal-shape.triangle .c1 { left: 43px; top: 12px; }
  .formal-shape.triangle .c2 { left: 14px; bottom: 13px; }
  .formal-shape.triangle .c3 { right: 14px; bottom: 13px; }
  .formal-demo-stage { min-height: 205px; }
  .formal-demo-timeline span,
  .formal-change-chips span,
  .formal-change-chips b {
    padding: 6px 8px;
    font-size: 9px;
  }
  .formal-answer-row {
    grid-template-columns: 1fr;
  }
  .formal-answer-row:has(button:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
  }
  .formal-before-after > div { min-height: 120px; }
  .formal-three-viewer { height: 200px; }
  .formal-scene-pair { gap: 6px; }
  .formal-scene-pair > div { min-height: 145px; }
  .formal-design-canvas { height: 220px; }
  .formal-section-complete > div,
  .formal-finish > div,
  .formal-cube-static { min-height: 110px; gap: 8px; }
}

/* Tema 4 · Birbirine eşit iki sayının farkı */
.equal-difference-discover-board,
.equal-difference-zero-board,
.equal-difference-concrete-board,
.equal-difference-rule-board,
.equal-difference-vertical-board,
.equal-difference-distinguish-board,
.equal-difference-problem-board,
.equal-difference-check-board,
.equal-difference-finish-board {
  min-height: min(650px, 68vh);
  padding: clamp(18px, 2.4vw, 34px);
  overflow: hidden;
  background: linear-gradient(145deg, #f2fbf8 0%, #e8f7f3 100%);
  border: 1px solid #bddfd7;
}

.planet-workshop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 22px;
  margin-top: 28px;
}
.planet-shelf {
  min-height: 325px;
  padding: 25px 22px 18px;
  border: 12px solid #b77b45;
  border-bottom-width: 22px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(#f5d8aa, #dba46c);
  box-shadow:
    inset 0 0 0 3px #8b572f,
    0 16px 32px #164c4130;
}
.planet-shelf > span,
.planet-cart > span {
  display: block;
  color: #17485a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}
.planet-shelf > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  gap: 22px 12px;
  margin-top: 32px;
}
.model-planet {
  position: relative;
  width: clamp(62px, 6vw, 86px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(
    --planet,
    radial-gradient(circle at 32% 28%, #fff48a 0 8%, #f08e29 36%, #a53c24 100%)
  );
  box-shadow:
    inset -10px -12px 18px #102f4a40,
    0 10px 0 -5px #684225,
    0 12px 20px #173d3d35;
  cursor: pointer;
  transition:
    transform 0.48s cubic-bezier(0.2, 0.8, 0.25, 1),
    opacity 0.48s;
}
.model-planet::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 72%;
  height: 12px;
  translate: -50% 0;
  border-radius: 50%;
  background: #423c36;
  z-index: -1;
}
.model-planet.planet-2 {
  --planet: radial-gradient(
    circle at 30% 25%,
    #fff 0 6%,
    #65bde7 35%,
    #2565a9 70%,
    #173b74
  );
}
.model-planet.planet-3 {
  --planet: radial-gradient(
    circle at 35% 30%,
    #efffa9 0 7%,
    #68c16b 30%,
    #2777af 62%,
    #173b74
  );
}
.model-planet.planet-4 {
  --planet: radial-gradient(
    circle at 30% 25%,
    #ffd6ab 0 7%,
    #e65d36 42%,
    #9c2e2c
  );
}
.model-planet.planet-5 {
  --planet: repeating-linear-gradient(
    12deg,
    #f39c32 0 11px,
    #ffe18a 12px 18px,
    #d8652a 19px 27px
  );
}
.model-planet.planet-6 {
  --planet: radial-gradient(
    circle at 35% 25%,
    #c4efff 0 7%,
    #3b86df 38%,
    #203c9f 80%
  );
}
.model-planet.leaving {
  transform: translate(430px, 205px) scale(0.45) rotate(24deg);
  opacity: 0;
  pointer-events: none;
}
.model-planet.removed {
  visibility: hidden;
}
.planet-cart {
  align-self: end;
  min-height: 190px;
  padding: 16px;
  border: 7px solid #6d7e86;
  border-top: 16px solid #425760;
  border-radius: 12px;
  background: linear-gradient(#a9c4c5, #78999b);
  box-shadow: 0 12px 28px #173d3d35;
}
.planet-cart > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.cart-planet {
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ee7c31;
  box-shadow: inset -6px -6px 8px #51304a66;
}
.cart-planet.planet-2,
.cart-planet.planet-6 {
  background: #3b86df;
}
.cart-planet.planet-3 {
  background: #49a985;
}
.cart-planet.planet-4 {
  background: #da5634;
}
.cart-planet.planet-5 {
  background: #f2b849;
}
.equal-difference-live-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 20px auto 0;
}
.equal-difference-live-count span {
  min-width: 106px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 18px #174e4730;
}
.equal-difference-live-count small {
  display: block;
  color: #52746f;
  font-size: 10px;
  font-weight: 900;
}
.equal-difference-live-count b,
.equal-difference-live-count strong {
  display: block;
  color: #153e52;
  font-size: 30px;
}
.equal-difference-live-count > i {
  color: #ef7153;
  font-size: 27px;
  font-style: normal;
}
.equal-difference-concept-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 230px));
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.equal-difference-concept-choices button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 18px;
  border: 2px solid #b9dcd4;
  border-radius: 18px;
  background: #fff;
  color: #17485a;
  text-align: left;
}
.equal-difference-concept-choices i {
  width: 44px;
  color: #ef7153;
  font-size: 30px;
  font-style: normal;
  text-align: center;
}
.equal-difference-concept-choices span,
.equal-difference-concept-choices small {
  display: block;
}
.equal-difference-concept-choices small {
  margin-top: 2px;
  color: #65817d;
}

.equal-difference-zero-board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 70px);
}
.equal-difference-zero-board .board-kicker {
  position: absolute;
  left: 30px;
  top: 28px;
}
.empty-frame {
  display: grid;
  place-items: center;
  width: min(330px, 44%);
  aspect-ratio: 1.25;
  border: 4px dashed #6ebead;
  border-radius: 28px;
  background: #fff;
}
.empty-frame > span {
  color: #8fcfc2;
  font-size: 90px;
  line-height: 1;
}
.empty-frame strong {
  color: #17485a;
  font-size: 15px;
}
.empty-frame small {
  color: #63807c;
}
.meaning-arrow {
  color: #ef7153;
  font-size: 48px;
  font-style: normal;
}
.zero-symbol {
  display: grid;
  place-items: center;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: #1b8c78;
  font-size: 110px;
  font-weight: 900;
  box-shadow: 0 18px 40px #174e4730;
}
.zero-symbol small {
  display: block;
  margin-top: -20px;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.equal-difference-answer-choices {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.equal-difference-answer-choices button {
  min-width: 118px;
  min-height: 72px;
  padding: 8px 16px;
  border: 2px solid #b9dcd4;
  border-radius: 18px;
  background: #fff;
  color: #17485a;
}
.equal-difference-answer-choices b {
  display: block;
  font-size: 32px;
}
.equal-difference-answer-choices small {
  display: block;
  color: #68847f;
  font-weight: 800;
}

.equal-difference-concrete-board {
  text-align: center;
}
.equal-difference-object-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 13px;
  min-height: 205px;
  margin: 48px auto 14px;
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  box-shadow: inset 0 -10px 0 #d4eee8;
}
.equal-difference-object {
  position: relative;
  width: clamp(62px, 7vw, 92px);
  height: 110px;
  padding: 6px;
  border: 0;
  background: transparent;
  transition:
    transform 0.34s,
    opacity 0.34s;
}
.equal-difference-object img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.equal-difference-object i {
  position: absolute;
  inset: 48% 5% auto;
  height: 5px;
  rotate: -34deg;
  border-radius: 4px;
  background: #ff6655;
  color: transparent;
  opacity: 0;
}
.equal-difference-object.leaving {
  transform: translateY(95px) scale(0.55);
  opacity: 0;
}
.equal-difference-object.removed {
  display: none;
}
.empty-group-indicator {
  display: none;
  place-items: center;
  min-height: 160px;
  margin: 24px auto;
  border: 4px dashed #6ebead;
  border-radius: 24px;
  background: #fff;
}
.empty-group-indicator.visible {
  display: grid;
}
.empty-group-indicator span {
  color: #7bc6b6;
  font-size: 76px;
  line-height: 1;
}
.empty-group-indicator small {
  color: #52746f;
  font-weight: 900;
}
.equal-difference-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  color: #173f53;
}
.equal-difference-equation b,
.equal-difference-equation strong {
  display: grid;
  place-items: center;
  min-width: 82px;
  min-height: 82px;
  border: 3px solid #9bcfc4;
  border-radius: 18px;
  background: #fff;
  font-size: clamp(30px, 3vw, 45px);
}
.equal-difference-equation strong {
  color: #168c76;
  background: #e8f8f3;
}
.equal-difference-equation i {
  color: #ef7153;
  font-size: 38px;
  font-style: normal;
  font-weight: 900;
}

.equal-difference-rule-board {
  text-align: center;
}
.equal-difference-example-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 55px auto 34px;
}
.equal-difference-example-strip .equal-difference-equation {
  gap: 7px;
  padding: 18px 8px;
  border-radius: 20px;
  background: #fff;
}
.equal-difference-example-strip .equal-difference-equation b,
.equal-difference-example-strip .equal-difference-equation strong {
  min-width: 54px;
  min-height: 58px;
  font-size: 26px;
}
.equal-difference-example-strip .equal-difference-equation i {
  font-size: 24px;
}
.equal-difference-rule-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.equal-difference-rule-choices button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 112px;
  padding: 18px;
  border: 3px solid #b9dcd4;
  border-radius: 22px;
  background: #fff;
  color: #17485a;
  font-weight: 900;
}
.equal-difference-rule-choices i {
  color: #ef7153;
  font-size: 28px;
  font-style: normal;
}
.equal-difference-rule-choices strong {
  color: #168c76;
  font-size: 36px;
}

.equal-difference-vertical-board > .equal-difference-equation {
  margin: 48px auto 35px;
}
.equal-difference-vertical-options {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.equal-difference-vertical-options > button {
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 18px 35px;
  border: 3px solid #b9dcd4;
  border-radius: 22px;
  background: #fff;
  color: #17485a;
}
.equal-difference-vertical-options span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  font-size: 34px;
  line-height: 1.2;
  text-align: right;
}
.equal-difference-vertical-options span i {
  color: #ef7153;
  font-style: normal;
  text-align: left;
}
.equal-difference-vertical-options em {
  height: 4px;
  margin: 4px 0;
  border-radius: 3px;
  background: #168c76;
}

.equal-difference-operation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.equal-difference-operation-grid button {
  display: grid;
  grid-template-columns: auto 30px auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 150px;
  border: 3px solid #b9dcd4;
  border-radius: 22px;
  background: #fff;
  color: #17485a;
}
.equal-difference-operation-grid b {
  font-size: 34px;
}
.equal-difference-operation-grid i {
  color: #ef7153;
  font-size: 28px;
  font-style: normal;
}
.equal-difference-operation-grid small {
  grid-column: 1 / -1;
  color: #66827d;
  font-weight: 900;
}

.leaf-story {
  display: grid;
  grid-template-columns: 1fr 80px 220px;
  align-items: center;
  gap: 16px;
  margin: 42px auto 30px;
}
.leaf-basket {
  position: relative;
  min-height: 340px;
  padding: 20px;
  border-radius: 28px;
  background: #f8e8c7;
  border: 8px solid #bc7b43;
}
.leaf-basket > strong,
.leaf-album > strong {
  display: block;
  color: #17485a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
}
.leaf-basket > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  place-items: center;
  gap: 8px;
  margin-top: 24px;
}
.leaf-basket img {
  width: clamp(42px, 5vw, 72px);
  transition:
    transform 1.1s cubic-bezier(0.3, 0.7, 0.2, 1),
    opacity 1.1s;
  transition-delay: calc(var(--leaf-index) * 70ms);
}
.leaf-arrow {
  color: #ef7153;
  font-size: 46px;
  font-style: normal;
  text-align: center;
}
.leaf-album {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 4px solid #4a95d9;
  border-radius: 24px;
  background: #fff;
}
.leaf-album span {
  font-size: 100px;
}
.equal-difference-problem-board.moving .leaf-basket img {
  transform: translate(480px, 30px) scale(0.35) rotate(25deg);
  opacity: 0;
}
.equal-difference-problem-board.moved .leaf-basket img {
  visibility: hidden;
}
.equal-difference-problem-board > .equal-difference-equation {
  margin-top: 15px;
}

.equal-difference-check-board {
  text-align: center;
}
.equal-difference-check-count {
  position: absolute;
  right: 30px;
  top: 26px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #168c76;
  color: #fff;
  font-weight: 900;
}
.check-object-sample {
  display: grid;
  grid-template-columns: 110px auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-content: center;
  gap: 0 16px;
  margin: 50px auto 25px;
}
.check-object-sample img {
  grid-row: 1 / 3;
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.check-object-sample span {
  color: #17485a;
  font-size: 36px;
  font-weight: 900;
}
.check-object-sample small {
  color: #ef7153;
  font-weight: 900;
}
.equal-difference-check-board .equal-difference-answer-choices {
  margin-top: 28px;
}
.equal-difference-complete-mark {
  display: grid;
  place-items: center;
  margin: 130px auto 0;
}
.equal-difference-complete-mark span {
  display: grid;
  place-items: center;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #168c76;
  color: #fff;
  font-size: 70px;
}
.equal-difference-complete-mark strong {
  margin-top: 22px;
  color: #17485a;
  font-size: 30px;
}
.equal-difference-complete-mark small {
  color: #66827d;
  font-weight: 800;
}

.equal-difference-finish-board {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  text-align: center;
}
.finish-empty-group {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #168c76;
  font-size: 78px;
  font-weight: 900;
}
.finish-empty-group i {
  color: #ef7153;
  font-size: 42px;
  font-style: normal;
}
.equal-difference-finish-board h1 {
  max-width: 620px;
  margin: 0;
  color: #17485a;
  font-size: clamp(30px, 4vw, 54px);
}
.equal-difference-first-hint .empty-frame,
.equal-difference-first-hint .empty-group-indicator,
.equal-difference-first-hint .planet-shelf {
  outline: 6px solid #ffce65;
  outline-offset: 5px;
}
.equal-difference-second-method::after {
  content: "Önce başlangıç grubunu düşün. Sonra grubun tamamını ayır. Çerçevede görünen nesne yoksa kalan sayı 0'dır.";
  display: block;
  margin: 16px auto 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff3c9;
  color: #735319;
  font-weight: 800;
  text-align: center;
}
.equal-difference-wrong .hint-target {
  animation: equalDifferenceHint 1s ease-in-out infinite alternate;
}
@keyframes equalDifferenceHint {
  to {
    box-shadow: 0 0 0 7px #ffce65;
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .equal-difference-discover-board,
  .equal-difference-zero-board,
  .equal-difference-concrete-board,
  .equal-difference-rule-board,
  .equal-difference-vertical-board,
  .equal-difference-distinguish-board,
  .equal-difference-problem-board,
  .equal-difference-check-board,
  .equal-difference-finish-board {
    min-height: 540px;
    padding: 18px;
  }
  .planet-workshop {
    grid-template-columns: 1fr 120px;
    gap: 10px;
  }
  .planet-shelf {
    min-height: 270px;
    padding: 14px;
    border-width: 8px;
    border-bottom-width: 16px;
  }
  .planet-shelf > div {
    gap: 12px 6px;
    margin-top: 25px;
  }
  .model-planet {
    width: 55px;
  }
  .model-planet.leaving {
    transform: translate(280px, 170px) scale(0.4);
  }
  .planet-cart {
    min-height: 150px;
    padding: 9px;
  }
  .cart-planet {
    width: 28px;
  }
  .equal-difference-live-count {
    gap: 7px;
  }
  .equal-difference-live-count span {
    min-width: 74px;
    padding: 7px;
  }
  .equal-difference-live-count b,
  .equal-difference-live-count strong {
    font-size: 24px;
  }
  .equal-difference-example-strip {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }
  .equal-difference-example-strip .equal-difference-equation {
    padding: 7px;
  }
  .equal-difference-rule-choices {
    grid-template-columns: 1fr;
  }
  .equal-difference-rule-choices button {
    min-height: 76px;
  }
  .equal-difference-operation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 30px;
  }
  .equal-difference-operation-grid button {
    min-height: 105px;
  }
  .leaf-story {
    grid-template-columns: 1fr 40px 120px;
  }
  .leaf-basket {
    min-height: 270px;
    padding: 10px;
  }
  .leaf-album {
    min-height: 190px;
  }
  .leaf-album span {
    font-size: 68px;
  }
  .equal-difference-problem-board.moving .leaf-basket img {
    transform: translate(300px, 20px) scale(0.3);
  }
}

@media (max-width: 620px) {
  .equal-difference-zero-board {
    flex-direction: column;
    gap: 12px;
    padding-top: 58px;
  }
  .empty-frame {
    width: 75%;
    aspect-ratio: 2;
  }
  .empty-frame > span {
    font-size: 56px;
  }
  .meaning-arrow {
    rotate: 90deg;
    font-size: 30px;
  }
  .zero-symbol {
    width: 120px;
    font-size: 72px;
  }
  .equal-difference-concept-choices {
    grid-template-columns: 1fr;
  }
  .equal-difference-answer-choices button {
    min-width: 88px;
  }
  .equal-difference-equation {
    gap: 6px;
  }
  .equal-difference-equation b,
  .equal-difference-equation strong {
    min-width: 58px;
    min-height: 62px;
    font-size: 27px;
  }
  .equal-difference-vertical-options {
    gap: 9px;
  }
  .equal-difference-vertical-options > button {
    min-width: 125px;
    padding: 12px 18px;
  }
  .leaf-story {
    grid-template-columns: 1fr;
  }
  .leaf-arrow {
    rotate: 90deg;
  }
  .leaf-album {
    min-height: 130px;
  }
  .equal-difference-problem-board.moving .leaf-basket img {
    transform: translateY(320px) scale(0.25);
  }
}

/* Tema 4 · Toplama İşlemi */
.addition-discover-board,
.addition-combine-board,
.addition-represent-board,
.addition-vertical-board,
.addition-paint-board,
.addition-swap-board,
.addition-stations-board,
.addition-code-board,
.addition-problem-board,
.addition-check-board,
.addition-finish-board {
  position: relative;
  overflow: hidden;
  width: min(100%, 720px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(150deg, #fffdf7, #eefaf6);
  border: 1px solid #dce9e4;
  padding: clamp(16px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}
.addition-scene-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.74);
}
.addition-concrete-card {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 0.72fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 55px rgba(16, 55, 45, 0.2);
}
.addition-increase-story-card {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(16, 55, 45, 0.25);
}
.addition-increase-story-card .board-kicker {
  color: #0a7764;
  text-align: center;
}
.addition-observe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.72fr);
  align-items: center;
  gap: 14px;
}
.addition-observe-group,
.addition-newcomer-card {
  min-height: 166px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  gap: 4px;
  padding: 12px;
  border: 3px solid #9fd5c4;
  border-radius: 22px;
  background: #effcf6;
}
.addition-newcomer-card {
  border-style: dashed;
  border-color: #f2b452;
  background: #fff7e5;
}
.addition-observe-group small,
.addition-newcomer-card small,
.addition-model-step small,
.addition-arriving-step small,
.addition-concrete-labels small,
.addition-verbal-total small {
  color: #58726b;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.addition-observe-group > div {
  display: flex;
  justify-content: center;
}
.addition-observe-group > b,
.addition-newcomer-card > b,
.addition-model-step > b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #123c58;
  color: white;
  font-size: 22px;
}
.addition-story-arrow {
  color: #0a9273;
  font-size: clamp(30px, 5vw, 48px);
}
.addition-observe-question {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 13px;
  color: #123c58;
}
.addition-observe-question span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #123c58;
  color: white;
  font-size: 34px;
  font-weight: 950;
}
.addition-observe-question i {
  color: #0a9273;
  font-size: 56px;
  font-style: normal;
  font-weight: 950;
}
.addition-increase-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
}
.addition-model-step {
  min-height: 280px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  gap: 10px;
  padding: 20px;
  border: 3px solid #a9d6ca;
  border-radius: 28px;
  background: white;
  box-shadow: 0 12px 26px rgba(28, 69, 58, 0.09);
}
.addition-model-step > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.addition-model-step.after {
  border-color: #63bea3;
  background: #edfff7;
  animation: addition-after-glow 1.4s ease 0.45s both;
}
.addition-arriving-step {
  display: grid;
  place-items: center;
  gap: 6px;
  min-width: 120px;
  text-align: center;
}
.addition-arriving-step > i {
  color: #0a9273;
  font-size: 48px;
  font-style: normal;
}
.addition-model-newcomer {
  animation: addition-model-arrive 1.25s ease 0.25s both;
}
.addition-increase-verdict {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 22px;
  background: #fff4c6;
  border: 3px solid #efbd42;
}
.addition-increase-verdict span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: white;
  color: #123c58;
  font-size: 28px;
  font-weight: 950;
}
.addition-increase-verdict i {
  color: #0a9273;
  font-size: 38px;
  font-style: normal;
}
.addition-increase-verdict strong {
  color: #087966;
  font-size: clamp(22px, 4vw, 34px);
  letter-spacing: 0.08em;
}
@keyframes addition-model-arrive {
  from {
    opacity: 0.2;
    transform: translateX(-36px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes addition-after-glow {
  50% {
    box-shadow:
      0 0 0 12px rgba(56, 190, 144, 0.18),
      0 14px 30px rgba(28, 69, 58, 0.12);
  }
}
.addition-student-increase-result {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-radius: 22px;
  background: rgba(255, 249, 218, 0.98);
  border: 3px solid #f0bd43;
  box-shadow: 0 10px 28px rgba(58, 45, 11, 0.2);
}
.addition-student-increase-result span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5f746e;
  font-weight: 900;
}
.addition-student-increase-result small {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.addition-student-increase-result b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: white;
  border: 2px solid #b7d8d0;
  color: #123c58;
  font-size: 31px;
  line-height: 1;
}
.addition-student-increase-result .after b {
  background: #0a9273;
  border-color: #0a9273;
  color: white;
  box-shadow: 0 0 0 6px rgba(10, 146, 115, 0.13);
}
.addition-student-increase-result i {
  color: #0a9273;
  font-size: 30px;
  font-style: normal;
}
.addition-student-increase-result strong {
  color: #087966;
  font-size: 22px;
}
.addition-drop-group,
.addition-incoming-tray {
  min-height: 142px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 3px dashed #a9d9c9;
  border-radius: 20px;
  padding: 12px;
  background: #f3fff9;
  transition: 0.2s ease;
}
.addition-drop-group.drag-over {
  border-color: #0a9273;
  transform: scale(1.02);
  box-shadow: 0 0 0 8px rgba(10, 146, 115, 0.12);
}
.addition-incoming-tray {
  border-color: #f6bb62;
  background: #fff8ea;
}
.addition-move-arrow {
  color: #0a9273;
  font-size: clamp(26px, 5vw, 44px);
  animation: addition-arrow-left 1.2s ease-in-out infinite;
}
@keyframes addition-arrow {
  50% {
    transform: translateX(7px);
  }
}
@keyframes addition-arrow-left {
  50% {
    transform: translateX(-7px);
  }
}
.addition-token {
  position: relative;
  width: clamp(42px, 8vw, 68px);
  height: clamp(46px, 9vw, 76px);
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 2px;
  border-radius: 16px;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
}
button.addition-token {
  cursor: pointer;
  touch-action: manipulation;
}
button.addition-token:hover,
button.addition-token:focus-visible {
  transform: translateY(-5px) scale(1.06);
  outline: 4px solid #ffca52;
  outline-offset: 2px;
}
.addition-token.dragging {
  opacity: 0.5;
  transform: scale(0.9);
}
.addition-token img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px rgba(31, 53, 46, 0.16));
}
.addition-token i {
  position: absolute;
  right: -2px;
  top: -3px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a9273;
  color: white;
  font: 800 13px/1 system-ui;
  opacity: 0;
}
.addition-token.counted {
  filter: saturate(0.75);
  transform: scale(0.93);
}
.addition-token.counted i {
  opacity: 1;
}
.addition-group-count {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #123c58;
  color: white;
  font-weight: 900;
  font-size: 22px;
}
.addition-fide-group {
  position: relative;
  padding-right: 66px;
}
.addition-fide-group .addition-group-count {
  position: absolute;
  z-index: 4;
  right: 10px;
  top: 10px;
  width: 48px;
  height: 48px;
  border: 3px solid white;
  box-shadow: 0 6px 15px rgba(18, 60, 88, 0.28);
  font-size: 26px;
}
.addition-done-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a9273;
  color: white;
  font-size: 36px;
  font-weight: 900;
}
.addition-model-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: clamp(28px, 5vw, 48px);
}
.addition-model-title span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: white;
  border: 3px solid #abc8e9;
  border-radius: 20px;
  font-weight: 900;
}
.addition-model-title b,
.addition-big-plus {
  color: #0a9273;
  font-weight: 900;
  font-style: normal;
  font-size: clamp(38px, 7vw, 70px);
}
.addition-concrete-labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(100%, 520px);
  margin: 0 auto;
}
.addition-concrete-labels span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: white;
  border: 2px solid #c9ddd7;
}
.addition-concrete-labels b {
  color: #123c58;
  font-size: 32px;
}
.addition-concrete-labels > i {
  color: #6b7f79;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}
.addition-join-arrow {
  color: #0a9273;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 950;
  animation: addition-arrow 1.2s ease-in-out infinite;
}
.addition-verbal-total {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 3px solid #72c5ae;
  border-radius: 22px;
  background: white;
}
.addition-verbal-total strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #0a9273;
  color: white;
  font-size: 32px;
}
.addition-verbal-total span {
  color: #385e55;
  font-weight: 850;
}
.addition-two-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.addition-group {
  min-height: 150px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: center;
  justify-content: center;
  padding: 14px;
  border-radius: 24px;
  border: 3px solid transparent;
}
.addition-group.group-a {
  background: #fff3df;
  border-color: #f5bd68;
}
.addition-group.group-b {
  background: #e9f8ff;
  border-color: #80c8e8;
}
.addition-equation-reveal,
.addition-horizontal-equation,
.addition-swap-equation,
.addition-problem-equation,
.addition-symbol-problem,
.addition-color-problem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 2vw, 18px);
  min-height: 76px;
  padding: 12px 18px;
  background: white;
  border: 2px solid #d8e7e2;
  border-radius: 22px;
  font-size: clamp(29px, 5vw, 50px);
  font-weight: 900;
}
.addition-equation-reveal {
  opacity: 0.15;
  transform: translateY(8px);
  transition: 0.35s ease;
}
.addition-equation-reveal.visible {
  opacity: 1;
  transform: none;
}
.addition-equation-reveal i,
.addition-horizontal-equation i,
.addition-swap-equation i,
.addition-problem-equation i,
.addition-symbol-problem i,
.addition-color-problem i {
  color: #0a9273;
  font-style: normal;
}
.addition-equation-reveal strong,
.addition-horizontal-equation strong,
.addition-swap-equation strong,
.addition-problem-equation strong,
.addition-symbol-problem strong,
.addition-color-problem strong {
  color: #e36845;
}
.addition-symbol-bridge {
  display: grid;
  justify-items: center;
  gap: 4px;
}
.addition-symbol-bridge > span {
  color: #54736b;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.addition-symbol-bridge > i {
  color: #f1a53c;
  font-size: 28px;
}
.addition-symbol-bridge > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  background: white;
  border-radius: 20px;
  font-size: clamp(28px, 4.6vw, 48px);
  box-shadow: 0 8px 25px rgba(27, 67, 57, 0.09);
}
.addition-symbol-bridge em {
  color: #0a9273;
  font-style: normal;
  font-weight: 900;
}
.addition-symbol-bridge strong {
  color: #e36845;
}
.addition-symbol-meanings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 540px);
  margin: 0 auto;
}
.addition-symbol-meanings span {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 19px;
  background: white;
  border: 2px solid #c7ddd6;
}
.addition-symbol-meanings b {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #0a9273;
  color: white;
  font-size: 34px;
}
.addition-symbol-meanings small {
  color: #48665e;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}
.addition-number-choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.addition-number-choices button {
  position: relative;
  width: clamp(72px, 12vw, 104px);
  height: clamp(68px, 11vw, 96px);
  border-radius: 22px;
  border: 3px solid #b9d6cf;
  background: white;
  color: #123c58;
  font: 900 clamp(29px, 5vw, 48px) / 1 system-ui;
  cursor: pointer;
  box-shadow: 0 7px 0 #d8e6e1;
}
.addition-number-choices button:hover,
.addition-number-choices button:focus-visible {
  border-color: #ffb13b;
  transform: translateY(-3px);
  outline: 0;
}
.addition-number-choices button.guided-glow,
.addition-vertical-card.guided-glow,
[data-addition-station].guided-glow,
.addition-paint-card.guided-glow,
[data-addition-color].guided-glow,
[data-addition-change].guided-glow {
  animation: addition-guided 1s ease-in-out infinite;
}
@keyframes addition-guided {
  50% {
    box-shadow:
      0 0 0 10px rgba(255, 177, 59, 0.25),
      0 8px 20px rgba(78, 59, 20, 0.18);
    transform: translateY(-4px);
  }
}
.addition-method-visual {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(92%, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 18px;
  background: #fff5cf;
  border: 2px solid #f0b43c;
  color: #6d4a00;
  box-shadow: 0 12px 30px rgba(83, 58, 9, 0.18);
  font-weight: 850;
}
.count-on-dots {
  display: flex;
  gap: 5px;
}
.count-on-dots i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #0a9273;
}
.count-on-arrow {
  font-size: 25px;
}
.addition-same-arrow {
  text-align: center;
  color: #efaa37;
  font-size: 36px;
}
.addition-vertical-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, 500px);
  margin: 0 auto;
}
.addition-vertical-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: 116px;
  justify-content: center;
  align-content: center;
  gap: 2px;
  border: 3px solid #bfd6d0;
  border-radius: 24px;
  background: white;
  color: #123c58;
  font: 900 clamp(34px, 6vw, 58px) / 1 system-ui;
  cursor: pointer;
}
.addition-vertical-number {
  width: 116px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
}
.addition-vertical-number i {
  color: #0a9273;
  font-style: normal;
  text-align: center;
}
.addition-vertical-number b {
  min-width: 0;
  padding-right: 12px;
  color: #123c58;
  text-align: right;
  font: inherit;
}
.addition-vertical-number.result b {
  color: #e36845;
}
.addition-vertical-line {
  width: 116px;
  height: 5px;
  border-radius: 3px;
  background: #f1af39;
}
.addition-target-number {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #123c58;
  color: white;
  font: 900 48px/1 system-ui;
  box-shadow: 0 0 0 10px #dceff0;
}
.addition-paint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.addition-paint-card {
  position: relative;
  min-height: 205px;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 6px;
  padding: 13px;
  border-radius: 22px;
  border: 3px solid #d4dfdc;
  background: white;
  cursor: pointer;
}
.addition-paint-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.74);
  transition: 0.25s ease;
}
.addition-paint-card span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 900;
}
.addition-paint-card span i {
  color: #0a9273;
  font-style: normal;
}
.addition-paint-card > b {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a9273;
  color: white;
}
.addition-paint-card.painted img {
  filter: none;
  animation: addition-pop 0.35s ease;
}
@keyframes addition-pop {
  50% {
    transform: scale(1.09) rotate(-2deg);
  }
}
.addition-swap-button {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #0a9273;
  background: white;
  color: #0a6f59;
  font: 850 17px/1.2 system-ui;
  cursor: pointer;
}
.addition-swap-button span {
  font-size: 34px;
}
.addition-change-choices,
.addition-same-result {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.addition-change-choices button {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 3px solid #c9ddd7;
  background: white;
  cursor: pointer;
}
.addition-change-choices span {
  font-size: 38px;
  color: #0a9273;
}
.addition-change-choices b {
  font-size: 16px;
}
.addition-same-result b {
  padding: 13px 18px;
  border-radius: 18px;
  background: white;
  border: 2px solid #9bd2c3;
  color: #174c3f;
  font-size: 24px;
}
.addition-station-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.addition-station-track button {
  position: relative;
  min-height: 140px;
  padding: 8px;
  border-radius: 22px;
  border: 3px solid #bcd9d1;
  background: white;
  cursor: pointer;
}
.addition-station-track img {
  width: 74%;
  height: 86px;
  object-fit: contain;
}
.addition-station-track strong {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #123c58;
  color: white;
  font-size: 21px;
}
.addition-mission-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 530px);
  margin: 0 auto;
  padding: 20px;
  border-radius: 26px;
  background: #fff5e5;
  border: 3px solid #f4bd6b;
}
.addition-mission-card > img {
  width: 100px;
  height: 110px;
  object-fit: contain;
}
.addition-mission-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
}
.addition-mission-card i {
  color: #0a9273;
  font-style: normal;
}
.addition-mission-card strong {
  color: #e36845;
}
.addition-mission-card > span,
.addition-check-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: #123c58;
  color: white;
  font-weight: 900;
}
.addition-route-complete {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}
.addition-route-complete > span {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a9273;
  color: white;
  font-size: 54px;
}
.addition-route-complete > strong {
  font-size: clamp(24px, 4vw, 38px);
  color: #123c58;
}
.addition-route-complete small {
  color: #5b756e;
  font-weight: 800;
}
.addition-symbol-key,
.addition-color-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.addition-symbol-key span {
  min-height: 140px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: white;
  border: 2px solid #c9ddd7;
}
.addition-symbol-key img {
  width: 100%;
  height: 110px;
  object-fit: contain;
}
.addition-symbol-key b,
.addition-color-key b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #123c58;
  color: white;
  font-size: 21px;
}
.addition-symbol-problem img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}
.addition-color-key {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.addition-color-key button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
}
.addition-color-key i,
.addition-color-choices i {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.07);
}
.addition-color-key .blue i,
.addition-color-choices .blue i {
  background: #3f97d7;
}
.addition-color-key .orange i,
.addition-color-choices .orange i {
  background: #f59f3e;
}
.addition-color-key .purple i,
.addition-color-choices .purple i {
  background: #8962cf;
}
.addition-color-key .green i,
.addition-color-choices .green i {
  background: #4eb76d;
}
.addition-color-choices {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.addition-color-choices button {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 3px solid #d5e1de;
  background: white;
  cursor: pointer;
}
.addition-color-choices button.selected {
  border-color: #0a9273;
}
.addition-scene-corner {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
  opacity: 0.9;
}
.addition-camera-club {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.44fr);
  gap: 14px;
  padding-top: 70px;
}
.addition-camera-club .addition-token {
  width: clamp(35px, 6vw, 55px);
  height: clamp(35px, 6vw, 55px);
}
.addition-check-badge {
  position: absolute;
  right: 18px;
  top: 18px;
}
.addition-check-board .addition-group {
  min-height: 175px;
}
.addition-check-board .addition-token {
  width: clamp(34px, 6vw, 52px);
  height: clamp(38px, 6.5vw, 58px);
}
.addition-finish-board {
  text-align: center;
  background: radial-gradient(circle at 50% 25%, #fff9d9, #e8faf4 60%, #dceff8);
}
.addition-finish-objects {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.addition-finish-objects > span {
  color: #0a9273;
  font-size: 56px;
  font-weight: 900;
}
.addition-finish-board h1 {
  margin: 0;
  color: #123c58;
  font-size: clamp(30px, 5vw, 50px);
}
.addition-finish-equation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  font-size: clamp(32px, 5vw, 52px);
}
.addition-finish-equation i {
  color: #0a9273;
  font-style: normal;
}
.addition-finish-equation strong {
  color: #e36845;
}

@media (max-width: 760px), (max-height: 760px) {
  .addition-discover-board,
  .addition-combine-board,
  .addition-represent-board,
  .addition-vertical-board,
  .addition-paint-board,
  .addition-swap-board,
  .addition-stations-board,
  .addition-code-board,
  .addition-problem-board,
  .addition-check-board,
  .addition-finish-board {
    border-radius: 20px;
    padding: 12px;
    gap: 9px;
  }
  .addition-concrete-card {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 6px;
  }
  .addition-increase-story-card {
    padding: 10px;
  }
  .addition-observe-row {
    gap: 5px;
  }
  .addition-observe-group,
  .addition-newcomer-card {
    min-height: 112px;
    padding: 5px;
  }
  .addition-observe-question {
    margin-top: 5px;
  }
  .addition-observe-question span {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .addition-observe-question i {
    font-size: 38px;
  }
  .addition-increase-model {
    grid-template-columns: 1fr auto 1fr;
  }
  .addition-model-step {
    min-height: 185px;
    padding: 8px;
    gap: 4px;
  }
  .addition-arriving-step {
    min-width: 74px;
  }
  .addition-arriving-step > i {
    font-size: 34px;
  }
  .addition-increase-verdict {
    padding: 6px 10px;
  }
  .addition-increase-verdict span {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .addition-student-increase-result {
    top: 6px;
    gap: 6px;
    padding: 5px 8px;
  }
  .addition-student-increase-result span {
    gap: 3px;
  }
  .addition-student-increase-result small {
    font-size: 8px;
  }
  .addition-student-increase-result b {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 23px;
  }
  .addition-student-increase-result strong {
    font-size: 14px;
  }
  .addition-move-arrow {
    transform: rotate(90deg);
    line-height: 0.7;
  }
  .addition-drop-group,
  .addition-incoming-tray {
    min-height: 76px;
    padding: 6px;
    gap: 3px;
  }
  .addition-fide-group {
    padding-right: 52px;
  }
  .addition-fide-group .addition-group-count {
    right: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .addition-token {
    width: 38px;
    height: 43px;
  }
  .addition-group {
    min-height: 96px;
    padding: 7px;
    gap: 3px;
  }
  .addition-concrete-labels {
    gap: 5px;
  }
  .addition-concrete-labels span {
    padding: 5px;
    gap: 4px;
  }
  .addition-concrete-labels b {
    font-size: 24px;
  }
  .addition-verbal-total {
    padding: 6px 10px;
  }
  .addition-verbal-total strong {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }
  .addition-symbol-meanings {
    gap: 5px;
  }
  .addition-symbol-meanings span {
    grid-template-columns: 38px 1fr;
    padding: 5px;
  }
  .addition-symbol-meanings b {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }
  .addition-symbol-meanings small {
    font-size: 10px;
  }
  .addition-two-groups {
    gap: 5px;
  }
  .addition-vertical-card {
    min-height: 160px;
  }
  .addition-paint-card {
    min-height: 130px;
    padding: 7px;
  }
  .addition-paint-card img {
    height: 80px;
  }
  .addition-station-track {
    gap: 4px;
  }
  .addition-station-track button {
    min-height: 92px;
    padding: 3px;
  }
  .addition-station-track img {
    height: 58px;
  }
  .addition-station-track strong {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }
  .addition-mission-card {
    grid-template-columns: 70px 1fr auto;
    padding: 10px;
    gap: 8px;
  }
  .addition-mission-card > img {
    width: 66px;
    height: 70px;
  }
  .addition-symbol-key span {
    min-height: 88px;
    padding: 5px;
  }
  .addition-symbol-key img {
    height: 72px;
  }
  .addition-symbol-problem img {
    width: 58px;
    height: 58px;
  }
  .addition-camera-club {
    padding-top: 30px;
  }
  .addition-scene-corner {
    width: 74px;
    height: 74px;
  }
  .addition-method-visual {
    bottom: 6px;
    font-size: 12px;
    padding: 7px;
  }
  .count-on-dots i {
    width: 10px;
    height: 10px;
  }
}

* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  min-height: 100%;
  background: var(--mist);
}
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--mist);
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid rgba(8, 127, 116, 0.25);
  outline-offset: 3px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: min(480px, calc(100% - 32px));
  padding: 13px 18px;
  border-radius: 14px;
  background: #173f3a;
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: 0.2s ease;
  font-weight: 700;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.campus-shell,
.report-shell {
  min-height: 100vh;
}
.campus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px 15px 15px 5px;
  background: var(--teal);
  color: white;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 9px 20px rgba(8, 127, 116, 0.22);
}
.brand strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.brand small {
  color: var(--muted);
  font-weight: 650;
}
.student-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.student-name {
  font-weight: 750;
  color: #46605a;
}
.quiet-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  cursor: pointer;
  font-weight: 750;
}

.campus-layout {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}
.grade-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 25px 14px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}
.rail-title {
  margin-bottom: 5px;
  color: #87958f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.grade-button {
  display: grid;
  place-items: center;
  width: 66px;
  height: 59px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
  cursor: pointer;
  transition: 0.18s ease;
}
.grade-button strong {
  font-size: 21px;
  line-height: 1;
}
.grade-button span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}
.grade-button:hover {
  background: white;
}
.grade-button.selected {
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 24px rgba(8, 127, 116, 0.22);
}
.grade-button.selected span {
  color: #d9f5ef;
}

.home-content {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 70px;
}
.teacher-welcome {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(300px, 1fr) minmax(260px, 340px);
  align-items: center;
  min-height: 318px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(120deg, #0a655d, #0c8175);
  color: white;
  box-shadow: var(--shadow);
}
.teacher-welcome::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -110px;
  bottom: -230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.home-avatar {
  position: relative;
  align-self: end;
  height: 300px;
  z-index: 1;
}
.home-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 22px rgba(4, 39, 35, 0.24));
  transform-origin: bottom center;
}
.avatar-halo {
  position: absolute;
  width: 185px;
  height: 185px;
  left: 50%;
  top: 54px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.teacher-frame.frame-talking {
  opacity: 0;
}
.teacher-presence.speaking .teacher-frame.frame-closed {
  animation: closedFrame 0.42s steps(1, end) infinite;
}
.teacher-presence.speaking .teacher-frame.frame-talking {
  animation: talkingFrame 0.42s steps(1, end) infinite;
}
.welcome-copy {
  position: relative;
  z-index: 2;
  padding: 34px 30px 34px 8px;
}
.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: #8cd5ca;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.welcome-copy h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}
.welcome-copy p {
  max-width: 610px;
  margin: 17px 0 21px;
  color: #dcefeb;
  font-size: 16px;
  line-height: 1.55;
}
.primary-action,
.phase-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding: 0 10px 0 19px;
  border: 0;
  border-radius: 15px;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(4, 40, 35, 0.14);
}
.primary-action span,
.phase-button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--teal);
  color: white;
}
.primary-action:disabled {
  cursor: default;
  opacity: 0.78;
  box-shadow: none;
}
.primary-action:disabled span {
  background: rgba(17, 139, 126, 0.72);
}
.today-preview {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px 22px 0;
}
.preview-square {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: #e9f3f0;
  box-shadow: 0 12px 28px rgba(1, 38, 33, 0.23);
}
.preview-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.grade3-preview-number {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 5px;
  padding: 16px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.95), transparent 32%),
    linear-gradient(145deg, #d8f1ec, #a8d8cf);
}
.today-preview .grade3-preview-number span {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: .72;
  border-radius: 14px;
  background: white;
  color: #075e54;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(5, 79, 69, .14);
}
.today-preview > div:last-child {
  display: grid;
  margin-top: 10px;
}
.today-preview span,
.today-preview small {
  color: #cce8e3;
  font-size: 11px;
}
.today-preview strong {
  margin: 2px 0;
}

.curriculum {
  margin-top: 36px;
}
.curriculum-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.curriculum-heading .section-kicker,
.report-heading .section-kicker {
  color: var(--teal);
}
.curriculum-heading h2 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.8px;
}
.year-progress {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e4f3ef;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}
.theme-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 34px rgba(31, 61, 53, 0.07);
}
.theme-row + .theme-row {
  border-top: 1px solid var(--line);
}
.theme-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 180px 24px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 14px 20px;
  border: 0;
  background: white;
  text-align: left;
  cursor: pointer;
}
.theme-index {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: #e8f4f1;
  color: var(--teal);
  font-weight: 900;
}
.theme-name {
  display: grid;
  gap: 4px;
}
.theme-name strong {
  font-size: 17px;
}
.theme-name small {
  color: var(--muted);
}
.theme-progress {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  gap: 10px;
}
.theme-progress i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eeea;
}
.theme-progress i::after {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}
.theme-progress small {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.chevron {
  font-size: 22px;
  transition: transform 0.2s ease;
}
.theme-row.expanded .chevron {
  transform: rotate(180deg);
}
.lesson-list {
  display: none;
  padding: 0 20px 16px 78px;
  background: #fbfdfc;
}
.theme-row.expanded .lesson-list {
  display: block;
}
.lesson-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 10px 4px;
  border-top: 1px solid #edf2ef;
}
.lesson-status-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #e4f3ef;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}
.lesson-row.soon .lesson-status-icon,
.lesson-row.rebuilding .lesson-status-icon {
  background: #f1f3f2;
  color: #a1aaa6;
}
.lesson-row.rebuilding .lesson-copy{opacity:.68}
.lesson-row.rebuilding .soon-label{max-width:145px;text-align:right;color:#7c8984}
.lesson-copy {
  display: grid;
  gap: 3px;
}
.lesson-copy small {
  color: var(--muted);
}
.lesson-start {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px 0 15px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font-weight: 800;
}
.lesson-start span {
  color: #c8e8e2;
  font-size: 11px;
}
.soon-label {
  color: #98a39f;
  font-size: 12px;
  font-weight: 800;
}
.empty-curriculum {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 220px;
  margin-top: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}
.empty-number {
  display: grid;
  place-items: center;
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border-radius: 25px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 42px;
  font-weight: 900;
}
.empty-curriculum h2 {
  margin: 0 0 8px;
}
.empty-curriculum p {
  margin: 0;
  color: var(--muted);
}

.lesson-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 24px 24px, rgba(8, 127, 116, 0.075) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, #e6f1ec 0%, #f4eddf 48%, #dfeeea 100%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}
.lesson-header {
  display: grid;
  grid-template-columns: 48px minmax(200px, auto) minmax(360px, 1fr) auto 46px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.topic-lesson-shell .lesson-header {
  grid-template-columns: 48px minmax(180px, auto) minmax(
      320px,
      1fr
    ) auto auto 46px;
}
.back-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  cursor: pointer;
  font-size: 21px;
}
.lesson-breadcrumb {
  display: grid;
  gap: 3px;
}
.lesson-breadcrumb strong {
  font-size: 17px;
}
.lesson-breadcrumb span {
  color: var(--muted);
  font-size: 11px;
}
.section-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(52px, 1fr));
  gap: 6px;
  width: min(660px, 100%);
  justify-self: center;
}
.section-segment {
  display: grid;
  gap: 5px;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: #8b9995;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
}
.section-segment i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #dce6e2;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.section-segment.passed {
  color: var(--teal-dark);
}
.section-segment.passed i {
  background: #80cabb;
}
.section-segment.current {
  color: var(--teal-dark);
}
.section-segment.current i {
  background: var(--teal);
  transform: scaleY(1.35);
}
.section-segment:disabled {
  cursor: default;
  opacity: 0.58;
}
.skip-section {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cddbd6;
  border-radius: 11px;
  background: white;
  color: #536862;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.skip-section:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-soft);
}
.restart-lesson {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #cddbd6;
  border-radius: 11px;
  background: white;
  color: #536862;
  cursor: pointer;
  white-space: nowrap;
}
.restart-lesson span {
  color: var(--teal);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.restart-lesson b {
  font-size: 11px;
  font-weight: 850;
}
.restart-lesson:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-soft);
}
.lesson-restart-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 25px;
  background: white;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(22, 59, 52, 0.28);
}
.lesson-restart-dialog::backdrop {
  background: rgba(19, 50, 45, 0.48);
  backdrop-filter: blur(3px);
}
.lesson-restart-dialog form {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 28px;
  text-align: center;
}
.restart-dialog-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 34px;
  font-weight: 900;
}
.lesson-restart-dialog h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}
.lesson-restart-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.lesson-restart-dialog form > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 5px;
}
.lesson-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.teacher-classroom {
  display: grid;
  grid-template-columns: 300px minmax(0, 760px);
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 36px;
}
@media (min-width: 721px) {
  .topic-lesson-shell .teaching-area {
    width: min(100%, clamp(640px, calc(100vh - 140px), 760px));
    justify-self: center;
  }
}
.lesson-teacher {
  align-self: start;
  position: sticky;
  top: 18px;
}
.lesson-avatar {
  position: relative;
  height: 310px;
  overflow: hidden;
  border-radius: 28px 28px 12px 12px;
  background: linear-gradient(180deg, #dff1ed, #cde6e0);
}
.lesson-avatar::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -70px;
  height: 145px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}
.lesson-avatar img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: bottom center;
}
.lesson-avatar .avatar-halo {
  width: 210px;
  height: 210px;
  top: 35px;
}
.teacher-state {
  position: absolute;
  z-index: 5;
  left: 16px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(9, 88, 80, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 800;
}
.teacher-bubble {
  position: relative;
  min-height: 128px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 28px rgba(32, 62, 54, 0.08);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
}
.teacher-bubble::before {
  content: "";
  position: absolute;
  left: 42px;
  top: -10px;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: white;
  transform: rotate(45deg);
}
.teacher-bubble[data-tone="hint"] {
  background: #fff9e8;
  border-color: #eddba4;
}
.teacher-bubble[data-tone="method"] {
  background: #f2edff;
  border-color: #d9ccf4;
}
.teacher-bubble[data-tone="success"] {
  background: #eaf7ee;
  border-color: #bddfc7;
}
.teacher-bubble mark {
  padding: 0 3px 2px;
  border-radius: 4px;
  background: linear-gradient(transparent 48%, rgba(245, 198, 85, 0.72) 48%);
  color: inherit;
  font-weight: 900;
}
.teacher-visual-cues {
  display: none;
}
.narration-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 8px;
}
.narration-controls button {
  min-height: 34px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #526761;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}
.narration-controls button:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.raise-hand {
  position: relative;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 18px;
  background: #173f3a;
  color: white;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 25px rgba(15, 57, 51, 0.18);
}
.raise-hand[disabled] {
  cursor: wait;
}
.hand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 23px;
}
.hand-copy {
  display: grid;
  gap: 3px;
}
.hand-copy strong {
  font-size: 15px;
}
.hand-copy small {
  color: #cce5e0;
  font-size: 10px;
}
.sound-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 28px;
}
.sound-bars i {
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: #8dd7cc;
}
.raise-hand.listening {
  background: #d85f4c;
}
.raise-hand.connecting {
  background: #2d6e67;
}
.raise-hand.listening .sound-bars i {
  animation: soundBar 0.5s ease-in-out infinite alternate;
}
.raise-hand.listening .sound-bars i:nth-child(2) {
  animation-delay: 0.16s;
}
.raise-hand.listening .sound-bars i:nth-child(3) {
  animation-delay: 0.3s;
}
.raise-hand.responding {
  background: var(--purple);
}
.talk-help {
  margin: 8px 5px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.teaching-area {
  min-width: 0;
  box-sizing: border-box;
}
.lesson-screen-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 31px;
  padding: 0 4px 9px;
}
.lesson-screen-meta .lesson-step-label {
  min-width: 0;
  margin: 0;
}
.screen-number {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 82px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid #b8d9d2;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 5px 14px rgba(31, 62, 54, 0.08);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.8px;
}
.lesson-step-label {
  margin: 0 0 9px 4px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.teaching-board {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #d8e3de;
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 48px rgba(31, 62, 54, 0.1);
  transition: box-shadow 0.2s ease;
}
.teaching-board.conversation-focus {
  box-shadow:
    0 0 0 6px rgba(238, 118, 95, 0.2),
    0 18px 48px rgba(31, 62, 54, 0.1);
}
.board-square {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 25px;
  background: #edf4f1;
}
.scene-board > img:first-child,
.intro-board > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(10, 52, 47, 0.75));
}
.intro-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  color: white;
}
.intro-overlay span {
  color: #bfe6df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.intro-overlay h1 {
  margin: 8px 0 5px;
  font-size: clamp(35px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
}
.intro-overlay p {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
}
.intro-visual-cues {
  position: absolute;
  z-index: 3;
  right: 24px;
  top: 24px;
  display: grid;
  gap: 8px;
}
.intro-visual-cues span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(15, 72, 64, 0.78);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  opacity: 0;
  animation: cueIn 0.45s ease forwards;
}
.intro-visual-cues span:nth-child(2) {
  animation-delay: 2.4s;
}
.intro-visual-cues span:nth-child(3) {
  animation-delay: 4.8s;
}
.table-focus {
  position: absolute;
  left: 72%;
  top: 54%;
  width: 25%;
  height: 38%;
  border: 5px solid var(--yellow);
  border-radius: 28px;
  box-shadow: 0 0 0 999px rgba(9, 43, 38, 0.28);
  animation: focusPulse 1.2s ease-in-out infinite alternate;
}
.teacher-pointer {
  position: absolute;
  left: 83%;
  top: 48%;
  color: var(--yellow);
  font-size: 58px;
  line-height: 1;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.24));
  animation: pointerMove 0.8s ease-in-out infinite alternate;
}
.table-callout {
  position: absolute;
  z-index: 4;
  left: 77%;
  top: 50%;
  padding: 7px 10px;
  border-radius: 8px;
  background: #143f39;
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
}
.object-marker {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  background: rgba(20, 63, 57, 0.78);
  color: white;
  font-size: 8px;
  font-weight: 900;
  box-shadow: 0 0 0 0 rgba(245, 198, 85, 0.6);
  animation: markerPulse 1s ease-in-out infinite alternate;
}
.marker-book {
  left: 83%;
  top: 59%;
}
.marker-ball {
  left: 84%;
  top: 75%;
  animation-delay: 0.7s;
}
.attention-ring {
  position: absolute;
  z-index: 7;
  display: block;
  border: 6px solid var(--yellow);
  border-radius: 48%;
  background: rgba(245, 198, 85, 0.08);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.82),
    0 0 28px 12px rgba(245, 198, 85, 0.58);
  transition:
    left 1.15s ease,
    top 1.15s ease,
    width 1.15s ease,
    height 1.15s ease,
    border-radius 1.15s ease;
  animation: attentionGlow 1.35s ease-in-out infinite alternate;
  pointer-events: none;
}
.attention-ring.at-table {
  left: 72%;
  top: 54%;
  width: 25%;
  height: 38%;
  border-radius: 26%;
}
.attention-ring.at-book {
  left: 81%;
  top: 61%;
  width: 14%;
  height: 8%;
  border-radius: 50%;
}
.attention-ring.at-ball {
  left: 84%;
  top: 73%;
  width: 13%;
  height: 15%;
  border-radius: 50%;
}
.attention-ring.resting {
  opacity: 0.72;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.68),
    0 0 20px 7px rgba(245, 198, 85, 0.35);
}
.table-zoom {
  position: absolute;
  z-index: 8;
  left: 3%;
  top: 3%;
  width: 30%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 5px solid white;
  border-radius: 50%;
  background: #dcebe7;
  box-shadow:
    0 14px 32px rgba(7, 39, 35, 0.3),
    0 0 0 7px rgba(245, 198, 85, 0.82);
  animation: zoomIn 0.55s ease both;
}
.table-zoom img {
  position: absolute;
  width: 330%;
  height: 330%;
  max-width: none;
  left: -225%;
  top: -174%;
  object-fit: contain;
}
.table-zoom span {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(20, 63, 57, 0.88);
  color: white;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.7px;
}
.surface-line {
  position: absolute;
  z-index: 5;
  left: 75%;
  top: 64%;
  width: 20%;
  border-top: 5px solid var(--yellow);
  opacity: 1;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.25));
}
.surface-line b {
  position: absolute;
  right: 0;
  bottom: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #143f39;
  color: white;
  font-size: 10px;
  letter-spacing: 0.7px;
}
.practice-board .surface-line {
  opacity: 0;
}
.practice-board .surface-line.visible {
  opacity: 1;
}
.model-cup {
  position: absolute;
  z-index: 5;
  left: 48%;
  top: 62%;
  width: 13%;
  height: 13%;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.22));
  animation: cupModel 3.2s ease-in-out infinite;
}
.motion-path {
  position: absolute;
  z-index: 4;
  left: 53%;
  top: 42%;
  width: 4px;
  height: 25%;
  border-radius: 999px;
  background: repeating-linear-gradient(
    to bottom,
    var(--yellow) 0 9px,
    transparent 9px 16px
  );
}
.motion-path::before {
  content: "▲";
  position: absolute;
  left: 50%;
  top: -17px;
  transform: translateX(-50%);
  color: var(--yellow);
}
.location-zone {
  position: absolute;
  z-index: 3;
  left: 73%;
  width: 24%;
  border: 3px dashed rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  background: rgba(8, 127, 116, 0.1);
  cursor: pointer;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: 0.2s ease;
}
.location-zone span {
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(12, 65, 58, 0.64);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
}
.zone-top {
  top: 49%;
  height: 15%;
}
.zone-under {
  top: 70%;
  height: 21%;
}
.location-zone.drag-over,
.location-zone.soft-focus {
  background: rgba(245, 198, 85, 0.42);
  transform: scale(1.025);
}
.location-zone.method-focus {
  animation: methodFocus 1s ease-in-out infinite alternate;
}
.location-zone.correct {
  border-color: #7bd596;
  background: rgba(90, 166, 111, 0.35);
}
.object-dock {
  position: absolute;
  z-index: 6;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  gap: 3px;
  width: 126px;
  min-height: 126px;
  padding: 8px;
  border: 0;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(20, 49, 43, 0.22);
}
.object-dock small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.6px;
}
.object-dock img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  touch-action: none;
  user-select: none;
  filter: drop-shadow(0 8px 8px rgba(25, 47, 41, 0.18));
}
.object-dock.selected {
  box-shadow:
    0 0 0 6px var(--yellow),
    0 12px 28px rgba(20, 49, 43, 0.22);
}
.object-dock[aria-disabled="true"] {
  cursor: wait;
}
.object-dock.hidden {
  visibility: hidden;
}
.move-object.dragging {
  position: relative;
  z-index: 20;
}
.placed-answer {
  position: absolute;
  z-index: 7;
  width: 82px;
  height: 82px;
  left: calc(50% - 41px);
  top: calc(50% - 41px);
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgba(0, 0, 0, 0.2));
  animation: answerPop 0.35s ease;
}
.method-visual {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 18px;
  display: none;
  grid-template-rows: auto 100px auto;
  place-items: center;
  width: 104px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(32, 24, 54, 0.9);
  color: white;
}
.method-visual.visible {
  display: grid;
  animation: answerPop 0.35s ease;
}
.method-visual span {
  font-size: 10px;
  font-weight: 900;
}
.method-visual i {
  width: 5px;
  height: 86px;
  border-radius: 99px;
  background: linear-gradient(var(--yellow) 0 46%, white 46% 54%, #91d9cf 54%);
  animation: bodyGuide 1s ease-in-out infinite alternate;
}
.method-visual i::before,
.method-visual i::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}
.method-visual i::before {
  border-bottom: 10px solid var(--yellow);
}
.method-visual i::after {
  margin-top: 76px;
  border-top: 10px solid #91d9cf;
}
.lesson-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 74px;
  padding-top: 12px;
}
.phase-button {
  min-width: 190px;
  background: var(--teal);
  color: white;
}
.phase-button span {
  background: rgba(255, 255, 255, 0.15);
}
.phase-button.secondary {
  background: white;
  color: var(--teal-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}
.phase-button.secondary span {
  background: var(--teal);
}
.observation-prompt,
.lesson-note,
.student-prompt {
  flex: 1 1 350px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.lesson-note strong {
  color: var(--ink);
}
.student-prompt {
  display: grid;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}
.student-prompt span {
  margin-bottom: 3px;
  color: var(--teal);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.gesture-help {
  flex: 1 0 100%;
  margin: -7px 0 0;
  color: #87958f;
  font-size: 11px;
}
.finish-board {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 34%, #f8fff9, #dff1eb);
}
.finish-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 40px;
  box-shadow: 0 13px 28px rgba(8, 127, 116, 0.22);
}
.finish-board > span {
  margin-top: 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.finish-board h1 {
  margin: 8px 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -1.7px;
}
.finish-board p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.finish-example {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}
.finish-example img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.finish-example i {
  width: 90px;
  border-top: 4px solid var(--yellow);
}

.auto-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.auto-cue i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(8, 127, 116, 0.12);
  animation: focusPulse 0.8s ease-in-out infinite alternate;
}
.overview-board,
.grid-board,
.walk-board {
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 54px);
  background: linear-gradient(145deg, #f7fbf9, #e4f2ed);
}
.overview-board > div,
.grid-board > div,
.walk-board > div {
  width: min(100%, 610px);
}
.board-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.overview-board h1,
.grid-board h1,
.walk-board h1 {
  margin: 8px 0 22px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1.2px;
}
.concept-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.concept-overview > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 2px 11px;
  padding: 14px;
  border: 1px solid #dbe8e3;
  border-radius: 17px;
  background: white;
  opacity: 0;
  animation: conceptIn 0.45s ease forwards;
  animation-delay: var(--delay);
}
.concept-overview span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 21px;
  font-weight: 900;
}
.concept-overview strong {
  align-self: end;
}
.concept-overview small {
  align-self: start;
  color: var(--muted);
}

.route-map-board > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.route-map-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 39, 0.07);
  pointer-events: none;
}
.route-start,
.route-end {
  position: absolute;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 8px;
  color: white;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.7px;
}
.route-start {
  left: 10%;
  top: 20%;
  background: var(--coral);
}
.route-end {
  right: 6%;
  top: 42%;
  background: var(--teal);
}
.route-segment {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 2px 0 rgba(91, 66, 9, 0.2);
  transform-origin: left top;
}
.route-segment::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--yellow);
}
.segment-a {
  left: 16.6%;
  top: 25%;
  width: 6px;
  height: 9%;
  transform: scaleY(0);
  transition: transform 2.4s ease;
}
.segment-b {
  left: 16.6%;
  top: 33.5%;
  width: 52%;
  height: 6px;
  transform: scaleX(0);
  transition: transform 3.2s ease;
}
.segment-c {
  left: 68.2%;
  top: 33.5%;
  width: 6px;
  height: 35%;
  transform: scaleY(0);
  transition: transform 2.8s ease;
}
.segment-d {
  left: 68.2%;
  top: 68%;
  width: 16%;
  height: 6px;
  transform: scaleX(0);
  transition: transform 2.4s ease;
}
.segment-e {
  left: 83.7%;
  top: 52%;
  width: 6px;
  height: 16.5%;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 2.4s ease;
}
.route-segment.spoken {
  transform: scale(1);
}
.route-segment.speaking-now {
  background: #fff2a8;
  box-shadow:
    0 0 0 5px rgba(245, 198, 85, 0.32),
    0 0 22px rgba(245, 198, 85, 0.8);
  animation: routeNarrationPulse 0.9s ease-in-out infinite alternate;
}
@keyframes routeNarrationPulse {
  to {
    filter: brightness(1.15);
  }
}

.route-node {
  position: absolute;
  z-index: 8;
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 3px solid white;
  border-radius: 50%;
  background: var(--teal-dark);
  color: white;
  box-shadow: 0 4px 12px rgba(9, 55, 48, 0.25);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.route-map-board.student-turn .route-node {
  display: grid;
  animation: answerPop 0.3s ease both;
}
.route-node:hover,
.route-node:focus-visible {
  transform: translate(-50%, -50%) scale(1.13);
  outline: 4px solid rgba(245, 198, 85, 0.45);
}
.route-node.visited {
  background: var(--yellow);
  color: #4f3d0e;
}
.route-node.wrong-node {
  background: var(--coral);
  animation: routeNodeShake 0.36s ease;
}
.route-node:disabled {
  cursor: default;
  opacity: 0.76;
}
.route-node.route-yellow {
  background: #f0c33f;
  color: #493800;
}
.route-node.route-orange {
  background: #ed8b3e;
}
.route-node.route-blue {
  background: #438fd1;
}
.route-node.route-purple {
  background: #875fc2;
}
.route-node.route-pink {
  background: #eb6f9e;
}
.route-node.route-green {
  background: #2d9a69;
}
.route-node.next-route-cue {
  display: grid !important;
  opacity: 1 !important;
  animation: routeColorCue 0.8s infinite alternate !important;
}
.node-0 {
  left: 16.6%;
  top: 25%;
}
.node-1 {
  left: 16.6%;
  top: 33.5%;
}
.node-2 {
  left: 68.2%;
  top: 33.5%;
}
.node-3 {
  left: 68.2%;
  top: 68%;
}
.node-4 {
  left: 83.7%;
  top: 68%;
}
.node-5 {
  left: 83.7%;
  top: 52%;
}

.student-route-segment {
  position: absolute;
  z-index: 7;
  display: block;
  border-radius: 999px;
  background: var(--teal);
  box-shadow:
    0 0 0 3px white,
    0 5px 13px rgba(8, 127, 116, 0.3);
  opacity: 0;
  transition:
    transform 0.42s ease,
    opacity 0.18s ease;
}
.student-a {
  left: 16.25%;
  top: 25%;
  width: 6px;
  height: 9%;
  transform: scaleY(0);
  transform-origin: center top;
}
.student-b {
  left: 16.6%;
  top: 33.15%;
  width: 52%;
  height: 6px;
  transform: scaleX(0);
  transform-origin: left center;
}
.student-c {
  left: 67.85%;
  top: 33.5%;
  width: 6px;
  height: 35%;
  transform: scaleY(0);
  transform-origin: center top;
}
.student-d {
  left: 68.2%;
  top: 67.65%;
  width: 16%;
  height: 6px;
  transform: scaleX(0);
  transform-origin: left center;
}
.student-e {
  left: 83.35%;
  top: 52%;
  width: 6px;
  height: 16.5%;
  transform: scaleY(0);
  transform-origin: center bottom;
}
.student-route-segment.drawn {
  opacity: 1;
  transform: scale(1);
}
.route-map-board.student-turn .route-segment {
  opacity: 0.16;
  filter: saturate(0.3);
}

.right-angle-wrap {
  display: grid;
  gap: 16px;
  width: min(100%, 500px);
  margin: 0 auto;
}
.guided-command {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 9px 24px rgba(23, 63, 56, 0.1);
}
.guided-command > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--teal);
  color: white;
  font-size: 35px;
  font-weight: 900;
  animation: commandArrow 1.1s ease-in-out infinite alternate;
}
.guided-command div {
  display: grid;
  gap: 4px;
}
.guided-command small {
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}
.guided-command strong {
  color: var(--ink);
  font-size: 18px;
}
.guided-command i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5eeea;
}
.guided-command i b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transition: width 0.45s ease;
}
.right-angle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  aspect-ratio: 6/5;
  border-top: 2px solid #6bb5ae;
  border-left: 2px solid #6bb5ae;
  background: white;
}
.right-angle-grid button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  border-right: 2px solid #6bb5ae;
  border-bottom: 2px solid #6bb5ae;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 22px;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.right-angle-grid button:not(:disabled):hover,
.right-angle-grid button:not(:disabled):focus-visible {
  position: relative;
  z-index: 2;
  outline: none;
  box-shadow: inset 0 0 0 5px rgba(245, 198, 85, 0.7);
  transform: scale(0.94);
}
.right-angle-grid button:disabled {
  cursor: default;
}
.right-angle-grid button.route-start-cell {
  box-shadow: inset 0 0 0 4px var(--teal);
}
.right-angle-grid button.student-painted {
  background: var(--coral);
  color: white;
  animation: answerPop 0.38s ease;
}
.right-angle-grid button.wrong-cell {
  background: #fff0ec;
  box-shadow: inset 0 0 0 5px var(--coral);
  animation: shake 0.28s ease;
}
.route-commands {
  display: grid;
  gap: 9px;
}
.route-commands span {
  padding: 11px 10px;
  border-radius: 11px;
  background: white;
  color: var(--teal-dark);
  box-shadow: 0 6px 15px rgba(27, 57, 50, 0.07);
  font-size: 12px;
  font-weight: 850;
}
.route-commands small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.route-commands button {
  min-height: 42px;
  padding: 9px 10px;
  border: 2px solid #cfe2dc;
  border-radius: 12px;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  transition: 0.18s ease;
}
.route-commands button:hover,
.route-commands button:focus-visible {
  border-color: var(--teal);
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 7px 15px rgba(8, 127, 116, 0.13);
}
.route-commands button.wrong-command {
  border-color: var(--coral);
  background: #fff0ec;
  animation: shake 0.28s ease;
}
.practice-board.input-locked {
  cursor: wait;
}
.practice-board.input-locked .object-dock,
.practice-board.input-locked .location-zone {
  opacity: 0.7;
}

.number-walk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.number-walk-grid button {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #dbe6e1;
  border-radius: 13px;
  background: white;
  cursor: pointer;
  font-weight: 850;
  transition: 0.2s ease;
}
.number-walk-grid button:nth-child(4n + 1) {
  background: #eef8f5;
}
.number-walk-grid button:nth-child(4n + 2) {
  background: #f2effc;
}
.number-walk-grid button:nth-child(4n + 3) {
  background: #fff7dd;
}
.number-walk-grid button:nth-child(4n) {
  background: #fff0ec;
}
.number-walk-grid button.walked {
  box-shadow: inset 0 0 0 4px var(--teal);
  transform: scale(0.94);
}
.number-walk-grid button.current::after {
  content: "●";
  position: absolute;
  left: 50%;
  bottom: 48%;
  transform: translateX(-50%);
  color: var(--coral);
  font-size: 26px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.2));
  animation: pointerMove 0.8s ease-in-out infinite alternate;
}
.number-walk-grid button.correct {
  background: #dff4e6;
  box-shadow: inset 0 0 0 4px #52a36a;
}
.number-walk-grid button.try-again {
  animation: shake 0.28s ease;
}
.walk-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.walk-steps span {
  padding: 7px 10px;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.walk-steps span.active {
  background: var(--yellow);
  color: #49380c;
  box-shadow: 0 0 0 4px rgba(245, 198, 85, 0.22);
}
.number-walk.awaiting-answer .walk-steps span:last-child {
  background: var(--teal);
  color: white;
}

.surface-board::after {
  content: "";
  position: absolute;
  left: 72%;
  top: 51%;
  width: 26%;
  height: 42%;
  border-radius: 20px;
  box-shadow: 0 0 0 999px rgba(7, 39, 35, 0.3);
  pointer-events: none;
}
.surface-board .surface-line,
.surface-board .direction-arrow {
  z-index: 6;
}
.surface-board .surface-line {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.surface-board .direction-arrow {
  opacity: 0;
}
.direction-arrow {
  position: absolute;
  left: 83%;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 54px;
  line-height: 0.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  animation: directionBounce 0.8s ease-in-out infinite alternate;
}
.direction-arrow b {
  margin-top: 6px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #143f39;
  color: white;
  font-size: 9px;
  letter-spacing: 0.7px;
}
.arrow-up {
  top: 49%;
}
.arrow-down {
  top: 66%;
  animation-direction: alternate-reverse;
}

.dictionary-board,
.positioning-board,
.matching-board,
.movement-board,
.assessment-board,
.self-board {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 42px);
  background: linear-gradient(145deg, #f7fbf9, #e4f2ed);
}
.dictionary-board > div,
.positioning-board > div,
.matching-board > div,
.movement-board > div,
.assessment-board > div,
.self-board > div {
  width: min(100%, 690px);
}
.dictionary-board h1,
.positioning-board h1,
.matching-board h1,
.movement-board h1,
.assessment-board h1,
.self-board h1 {
  margin: 6px 0 16px;
  font-size: clamp(25px, 4vw, 38px);
}
.location-dictionary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.dictionary-stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 3px solid #cfe5de;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 44%, #fff 0 24%, #edf8f4 25% 100%);
}
.dictionary-boundary {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  border: 8px solid #74b9aa;
  border-radius: 28px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.3s;
}
.dictionary-landmark,
.dictionary-mover {
  position: absolute;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 48px;
  line-height: 1;
  transform: translate(-50%, -50%);
}
.dictionary-landmark {
  left: 50%;
  top: 50%;
  color: #ef715e;
  background: #fff2ef;
  box-shadow: 0 0 0 9px rgba(239, 113, 94, 0.14);
}
.dictionary-mover {
  left: 28%;
  top: 50%;
  z-index: 2;
  color: #087f70;
  background: #dcf4ed;
  box-shadow: 0 0 0 9px rgba(8, 127, 112, 0.14);
}
.dictionary-motion-arrow {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  height: 4px;
  border-radius: 99px;
  background: var(--yellow);
  transform: translateY(-50%);
}
.dictionary-motion-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--yellow);
  border-right: 4px solid var(--yellow);
  transform: rotate(45deg);
}
.dictionary-active-words {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.dictionary-active-words b {
  min-width: 105px;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  color: var(--teal);
  text-align: center;
  box-shadow: 0 6px 18px rgba(22, 64, 56, 0.12);
}
.dictionary-stage[data-demo="top-under"] .dictionary-motion-arrow {
  left: 50%;
  right: auto;
  top: 23%;
  bottom: 23%;
  width: 4px;
  height: auto;
}
.dictionary-stage[data-demo="top-under"] .dictionary-motion-arrow::after {
  right: -7px;
  top: -2px;
  transform: rotate(-45deg);
}
.dictionary-stage[data-demo="inside-outside"] .dictionary-boundary {
  opacity: 1;
}
.dictionary-stage.question-pose .dictionary-mover {
  left: 20%;
}
.dictionary-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dictionary-choices[hidden] {
  display: none;
}
.dictionary-choices button {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 3px solid #cfe5de;
  border-radius: 20px;
  background: white;
  color: var(--teal);
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(22, 64, 56, 0.09);
}
.dictionary-choices button span {
  font-size: 28px;
}
.dictionary-choices button strong {
  font-size: 11px;
  letter-spacing: 0.8px;
}
.dictionary-choices button.dictionary-wrong {
  border-color: var(--coral);
  animation: shake 0.28s ease;
}
.dictionary-choices button.dictionary-correct {
  border-color: #52a36a;
  background: #e7f8eb;
}
@keyframes dictionaryHorizontal {
  0%,
  8% {
    left: 28%;
  }
  42% {
    left: 72%;
  }
  58% {
    left: 72%;
  }
  92%,
  100% {
    left: 28%;
  }
}
@keyframes dictionaryRightLeft {
  0%,
  8% {
    left: 50%;
  }
  40% {
    left: 76%;
  }
  58% {
    left: 76%;
  }
  92%,
  100% {
    left: 24%;
  }
}
@keyframes dictionaryVertical {
  0%,
  8% {
    left: 50%;
    top: 50%;
  }
  40% {
    left: 50%;
    top: 25%;
  }
  58% {
    left: 50%;
    top: 25%;
  }
  92%,
  100% {
    left: 50%;
    top: 75%;
  }
}
@keyframes dictionaryDepth {
  0%,
  8% {
    left: 36%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 3;
  }
  45% {
    left: 50%;
    transform: translate(-50%, -50%) scale(0.72);
    z-index: 0;
  }
  100% {
    left: 58%;
    transform: translate(-50%, -50%) scale(0.72);
    z-index: 0;
  }
}
@keyframes dictionaryInside {
  0%,
  8% {
    left: 22%;
    top: 50%;
  }
  42%,
  58% {
    left: 50%;
    top: 50%;
  }
  92%,
  100% {
    left: 78%;
    top: 50%;
  }
}
@keyframes dictionaryNearFar {
  0%,
  8% {
    left: 28%;
  }
  42%,
  58% {
    left: 44%;
  }
  92%,
  100% {
    left: 14%;
  }
}
@keyframes dictionaryWord {
  0%,
  8% {
    background: white;
  }
  18%,
  64% {
    background: var(--yellow);
    transform: scale(1.08);
  }
  78%,
  100% {
    background: white;
    transform: none;
  }
}

.room-background {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.room-sprite {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}
.room-sprite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.room-book {
  left: 78.8%;
  top: 59%;
  width: 15.5%;
  height: 7%;
}
.room-ball {
  left: 80.5%;
  top: 70.5%;
  width: 15%;
  height: 15%;
}
.room-sprite.focused {
  transform: scale(1.09);
  filter: drop-shadow(0 0 2px white) drop-shadow(0 0 8px var(--yellow))
    drop-shadow(0 0 18px var(--yellow));
  animation: objectGlow 1.15s ease-in-out infinite alternate;
}
.table-focus {
  position: absolute;
  z-index: 4;
  left: 71.6%;
  top: 59.3%;
  width: 28%;
  height: 9.3%;
  border: 5px solid transparent;
  border-radius: 50%;
  pointer-events: none;
  transition: 0.35s ease;
}
.table-focus.focused {
  border-color: var(--yellow);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.8),
    0 0 22px 9px rgba(245, 198, 85, 0.5);
  animation: tableTrace 1.3s ease-in-out infinite alternate;
}

.picture-activity {
  background: #dfeee8;
}
.picture-activity > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.picture-hotspot {
  position: absolute;
  z-index: 5;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: 0.22s ease;
}
.picture-hotspot:not(:disabled):hover,
.picture-hotspot:not(:disabled):focus-visible {
  border-color: var(--yellow);
  outline: none;
  box-shadow: 0 0 0 7px rgba(245, 198, 85, 0.25);
}
.picture-hotspot.hotspot-wrong {
  border-color: var(--coral);
  animation: shake 0.28s ease;
}
.picture-hotspot.hotspot-correct {
  border-color: #61c47f;
  box-shadow: 0 0 0 8px rgba(97, 196, 127, 0.3);
}
.anchor-outline {
  position: absolute;
  z-index: 3;
  border: 3px dashed rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  pointer-events: none;
}
.picnic-cat {
  left: 17%;
  top: 39%;
  width: 14%;
  height: 18%;
}
.picnic-dog {
  left: 69%;
  top: 40%;
  width: 15%;
  height: 20%;
}
.picnic-bag {
  left: 42%;
  top: 69%;
  width: 17%;
  height: 14%;
  border-radius: 20px;
}
.picnic-bench {
  left: 33%;
  top: 35%;
  width: 35%;
  height: 25%;
}
.picnic-children {
  left: 29%;
  top: 55%;
  width: 43%;
  height: 36%;
}
.forest-rabbit {
  left: 31%;
  top: 61%;
  width: 17%;
  height: 20%;
}
.forest-hedgehog {
  left: 28%;
  top: 45%;
  width: 18%;
  height: 16%;
}
.forest-bird {
  left: 51%;
  top: 13%;
  width: 15%;
  height: 15%;
}
.forest-squirrel {
  left: 28%;
  top: 10%;
  width: 16%;
  height: 20%;
}
.forest-frog {
  left: 43%;
  top: 78%;
  width: 16%;
  height: 14%;
}
.forest-deer {
  left: 67%;
  top: 27%;
  width: 19%;
  height: 34%;
}
.forest-log {
  left: 16%;
  top: 48%;
  width: 39%;
  height: 26%;
}
.forest-nest {
  left: 48%;
  top: 15%;
  width: 25%;
  height: 15%;
}
.mixed-backpack {
  left: 39%;
  top: 21%;
  width: 20%;
  height: 22%;
}
.mixed-ball {
  left: 42%;
  top: 49%;
  width: 14%;
  height: 15%;
}
.mixed-bag {
  left: 40%;
  top: 66%;
  width: 20%;
  height: 17%;
  border-radius: 20px;
}
.mixed-dog {
  left: 78%;
  top: 51%;
  width: 21%;
  height: 27%;
}
.mixed-butterflies {
  left: 3%;
  top: 58%;
  width: 34%;
  height: 29%;
  border-radius: 20px;
}

.positioning-host {
  min-height: 420px;
}
.positioning-stage {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 18px;
  min-height: 390px;
}
.relation-space {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 2px solid #cfe2dc;
  border-radius: 22px;
  background: white;
}
.position-token-dock {
  display: grid;
  place-items: center;
  align-self: center;
  gap: 8px;
  min-height: 150px;
  padding: 12px;
  border-radius: 20px;
  background: white;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 63, 56, 0.12);
}
.position-token-dock small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
}
.position-token-dock.selected {
  box-shadow:
    0 0 0 6px var(--yellow),
    0 10px 24px rgba(23, 63, 56, 0.12);
}
.position-token-dock.hidden {
  visibility: hidden;
}
.position-token {
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  touch-action: none;
  cursor: grab;
}
.position-token-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.18));
}
.shape-token,
.anchor-shape {
  display: block;
  width: 58px;
  height: 58px;
}
.yellow-triangle,
.red-triangle,
.green-triangle {
  width: 0;
  height: 0;
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-bottom: 58px solid #f2c33c;
}
.red-triangle {
  border-bottom-color: var(--coral);
}
.green-triangle {
  border-bottom-color: #57ad6a;
}
.green-circle,
.blue-circle,
.orange-circle {
  border-radius: 50%;
  background: #57ad6a;
}
.blue-circle {
  background: #478fcf;
}
.orange-circle {
  background: #ee9b21;
}
.red-square,
.purple-square,
.orange-square {
  background: var(--coral);
}
.purple-square {
  background: #8062c6;
}
.orange-square {
  background: #ee9b21;
}
.yellow-star::before {
  content: "★";
  color: #f2c33c;
  font-size: 68px;
  line-height: 0.8;
}
.yellow-flower::before {
  content: "✿";
  color: #f2c33c;
  font-size: 68px;
  line-height: 0.8;
}
.anchor-shape {
  position: absolute;
  z-index: 2;
  left: calc(50% - 29px);
  top: calc(50% - 29px);
}
.anchor-left {
  left: 25%;
}
.anchor-right {
  left: 68%;
}
.anchor-box {
  position: absolute;
  left: 34%;
  top: 27%;
  width: 32%;
  height: 46%;
  border: 5px solid #8062c6;
  border-radius: 18px;
}
.anchor-tree {
  position: absolute;
  left: 44%;
  top: 31%;
  color: #57ad6a;
  font-style: normal;
  font-size: 110px;
  line-height: 1;
}
.anchor-table {
  position: absolute;
  left: 35%;
  top: 43%;
  width: 31%;
  height: 10%;
  border-radius: 50%;
  background: #8ed0d7;
  box-shadow: 0 7px 0 #8b5a2b;
}
.relation-zone {
  z-index: 3;
  display: block;
  border-color: rgba(8, 127, 116, 0.45);
  background: rgba(8, 127, 116, 0.08);
}
.relation-zone::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
}
.relation-zone.correct {
  background: rgba(97, 196, 127, 0.28);
  border-color: #61c47f;
}
.relation-zone .shape-token,
.relation-zone .position-token-image {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 76px;
  max-height: 76px;
  transform: translate(-50%, -50%);
}
.zone-left {
  left: 4%;
  top: 35%;
  width: 25%;
  height: 30%;
}
.zone-right {
  left: 71%;
  top: 35%;
  width: 25%;
  height: 30%;
}
.relation-space .zone-top {
  left: 36%;
  top: 3%;
  width: 28%;
  height: 24%;
}
.relation-space .zone-under {
  left: 36%;
  top: 73%;
  width: 28%;
  height: 24%;
}
.zone-between {
  left: 40%;
  top: 35%;
  width: 20%;
  height: 30%;
}
.zone-inside {
  left: 37%;
  top: 31%;
  width: 26%;
  height: 38%;
}
.zone-outside {
  left: 4%;
  top: 67%;
  width: 25%;
  height: 27%;
}
.zone-near {
  left: 65%;
  top: 37%;
  width: 24%;
  height: 27%;
}
.zone-far {
  left: 5%;
  top: 8%;
  width: 24%;
  height: 27%;
}

.health-grid-wrap {
  display: grid;
  gap: 15px;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  aspect-ratio: 1;
  border-top: 2px solid #6bb5ae;
  border-left: 2px solid #6bb5ae;
}
.health-grid button {
  border: 0;
  border-right: 2px solid #6bb5ae;
  border-bottom: 2px solid #6bb5ae;
  background: white;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 900;
}
.health-grid button:not(:disabled) {
  cursor: pointer;
}
.health-grid button.student-painted {
  background: var(--coral);
  color: white;
}

.matching-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}
.matching-sentences,
.matching-cards {
  display: grid;
  gap: 9px;
}
.matching-sentences button,
.matching-cards button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 10px;
  border: 2px solid #d8e5e0;
  border-radius: 15px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.matching-sentences button > i {
  display: none;
  font-style: normal;
}
.matching-sentences button b,
.matching-cards button b {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
}
.matching-sentences button.next-match {
  border-color: var(--yellow);
  box-shadow: 0 0 0 5px rgba(245, 198, 85, 0.22);
}
.matching-sentences button.selected {
  border-color: var(--teal);
}
.matching-sentences button.matched,
.matching-cards button.matched {
  opacity: 0.55;
  border-color: #61c47f;
  background: #e8f7ec;
}
.matching-cards button .match-visual {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 9px;
  background: #f5f7f6;
}
.match-visual i,
.match-visual em {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  font-style: normal;
}
.match-visual .green-square {
  background: #57ad6a;
}
.match-visual .yellow-circle,
.match-visual .red-circle,
.match-visual .green-dot {
  border-radius: 50%;
}
.match-visual .yellow-circle {
  background: #f2c33c;
}
.match-visual .red-circle {
  background: #e75f51;
}
.match-visual .blue-square {
  background: #478fcf;
}
.match-visual .orange-triangle {
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-bottom: 23px solid #ee9b21;
}
.match-visual .purple-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 4px solid #8062c6;
  border-radius: 50%;
}
.match-visual .green-dot {
  width: 13px;
  height: 13px;
  background: #57ad6a;
}
.match-visual.visual-d {
  display: grid;
  gap: 2px;
}
.match-visual.visual-d i {
  margin: auto;
  width: 19px;
  height: 19px;
}

.movement-task {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 280px;
  padding: 28px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 30px rgba(25, 61, 53, 0.1);
}
.movement-task > span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 28px;
  font-weight: 900;
}
.movement-task p {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.45;
}
.movement-task button {
  grid-column: 2;
  justify-self: start;
  padding: 13px 16px;
  border: 0;
  border-radius: 13px;
  background: var(--coral);
  color: white;
  cursor: pointer;
  font-weight: 850;
}

.detective-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
}
.detective-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detective-question {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
}
.detective-question > span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}
.detective-question h1 {
  margin: 0;
  font-size: 35px;
}
.detective-question p {
  min-height: 88px;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}
.detective-question > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detective-question button,
.assessment-question button {
  padding: 14px;
  border: 2px solid #cfe2dc;
  border-radius: 14px;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
}
.detective-question > i,
.assessment-question > i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e4ece9;
}
.detective-question > i b,
.assessment-question > i b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 0.35s ease;
}

.assessment-question {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 30px rgba(25, 61, 53, 0.1);
}
.assessment-question small {
  color: var(--teal);
  font-weight: 900;
}
.assessment-question p {
  min-height: 70px;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}
.assessment-question > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.visual-assessment {
  gap: 14px;
}
.visual-assessment p {
  min-height: auto;
  font-size: 15px;
  color: var(--muted);
}
.visual-assessment #assessment-options {
  grid-template-columns: repeat(3, 1fr);
}
.visual-assessment button {
  min-height: 150px;
  padding: 8px;
}
.visual-assessment button.correct-choice {
  border-color: #61c47f;
  background: #e8f7ec;
}
.visual-test {
  position: relative;
  display: block;
  width: 100%;
  height: 128px;
  overflow: hidden;
  border-radius: 14px;
  background: #f6f9f7;
}
.visual-test i {
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
}
.between-left .shape-one,
.between-center .shape-one,
.between-right .shape-one {
  left: 20%;
  top: 50px;
  background: #57ad6a;
}
.between-left .shape-three,
.between-center .shape-three,
.between-right .shape-three {
  right: 20%;
  top: 50px;
  background: #57ad6a;
}
.between-left .shape-two,
.between-center .shape-two,
.between-right .shape-two {
  border-radius: 50%;
  background: #f2c33c;
}
.between-left .shape-two {
  left: 8%;
  top: 50px;
}
.between-center .shape-two {
  left: calc(50% - 14px);
  top: 50px;
}
.between-right .shape-two {
  right: 8%;
  top: 50px;
}
.compound-correct .shape-one,
.compound-swapped .shape-one,
.compound-level .shape-one {
  left: 18%;
  top: 65px;
  background: #478fcf;
}
.compound-correct .shape-two,
.compound-swapped .shape-two,
.compound-level .shape-two {
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 29px solid #e75f51;
}
.compound-correct .shape-two {
  right: 18%;
  top: 67px;
}
.compound-correct .shape-three {
  right: 18%;
  top: 18px;
  border-radius: 50%;
  background: #f2c33c;
}
.compound-swapped .shape-two {
  left: 18%;
  top: 18px;
}
.compound-swapped .shape-three {
  left: 18%;
  top: 67px;
  border-radius: 50%;
  background: #f2c33c;
  transform: translateX(42px);
}
.compound-level .shape-two {
  right: 18%;
  top: 22px;
}
.compound-level .shape-three {
  right: 18%;
  top: 67px;
  border-radius: 50%;
  background: #f2c33c;
  transform: translateX(-42px);
}
.inside-correct .shape-one,
.inside-swapped .shape-one,
.inside-both .shape-one {
  left: 18%;
  top: 32px;
  width: 58px;
  height: 58px;
  border: 5px solid #8062c6;
  border-radius: 50%;
}
.inside-correct .shape-two {
  left: 36%;
  top: 55px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #57ad6a;
}
.inside-correct .shape-three {
  right: 18%;
  top: 49px;
  background: #ee9b21;
}
.inside-swapped .shape-two {
  right: 18%;
  top: 55px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #57ad6a;
}
.inside-swapped .shape-three,
.inside-both .shape-three {
  left: 35%;
  top: 48px;
  background: #ee9b21;
}
.inside-both .shape-two {
  left: 38%;
  top: 58px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #57ad6a;
  transform: translate(-18px, -14px);
}
.distance-correct .shape-one,
.distance-star-near .shape-one,
.distance-even .shape-one {
  left: 10%;
  top: 50px;
  background: #478fcf;
}
.distance-correct .shape-two {
  left: 33%;
  top: 52px;
  border-radius: 50%;
  background: #e75f51;
}
.distance-correct .shape-three,
.distance-star-near .shape-three,
.distance-even .shape-three {
  width: 30px;
  height: 30px;
  color: #f2c33c;
}
.distance-correct .shape-three {
  right: 8%;
  top: 50px;
}
.distance-star-near .shape-two {
  right: 10%;
  top: 52px;
  border-radius: 50%;
  background: #e75f51;
}
.distance-star-near .shape-three {
  left: 30%;
  top: 49px;
}
.distance-even .shape-two {
  left: calc(50% - 14px);
  top: 52px;
  border-radius: 50%;
  background: #e75f51;
}
.distance-even .shape-three {
  right: 10%;
  top: 49px;
}
.distance-correct .shape-three::before,
.distance-star-near .shape-three::before,
.distance-even .shape-three::before {
  content: "★";
  position: absolute;
  inset: -8px;
  font-size: 38px;
  line-height: 1;
}
.visual-test svg {
  width: 100%;
  height: 100%;
}
.visual-test svg circle {
  fill: #57ad6a;
}
.visual-test svg polyline {
  fill: none;
  stroke: #e75f51;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.self-list {
  display: grid;
  gap: 8px;
}
.self-list > div {
  display: grid;
  grid-template-columns: 43px 1fr repeat(3, 43px);
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid #cfe2dc;
  border-radius: 13px;
  background: white;
}
.self-list p {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
}
.self-list button {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #f3f7f5;
  cursor: pointer;
  font-size: 21px;
}
.self-list button.selected {
  border-color: var(--teal);
  background: #dff3ec;
  transform: scale(1.08);
}
.self-list button.self-listen {
  background: var(--teal);
  color: white;
  font-size: 17px;
}
.self-list > div.current-self-row {
  border-color: var(--yellow);
  box-shadow: 0 0 0 5px rgba(245, 198, 85, 0.2);
}
.self-list > div.ready-to-touch {
  animation: readyTouch 1s ease-in-out infinite alternate;
}

@keyframes objectGlow {
  from {
    filter: drop-shadow(0 0 2px white) drop-shadow(0 0 5px var(--yellow));
  }
  to {
    filter: drop-shadow(0 0 3px white) drop-shadow(0 0 15px var(--yellow));
  }
}
@keyframes tableTrace {
  from {
    opacity: 0.65;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes conceptIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cueIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes markerPulse {
  from {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(245, 198, 85, 0.45);
  }
  to {
    transform: scale(1.05);
    box-shadow: 0 0 0 9px rgba(245, 198, 85, 0.08);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes routeX {
  to {
    transform: scaleX(1);
  }
}
@keyframes routeY {
  to {
    transform: scaleY(1);
  }
}
@keyframes routeNodeShake {
  25% {
    transform: translate(-58%, -50%);
  }
  75% {
    transform: translate(-42%, -50%);
  }
}
@keyframes pathPaint {
  to {
    background: var(--coral);
    color: white;
  }
}
@keyframes directionBounce {
  from {
    transform: translateY(4px);
  }
  to {
    transform: translateY(-5px);
  }
}
@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.report-main {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 70px;
}
.report-heading h1 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -1.2px;
}
.report-heading p {
  margin: 10px 0 25px;
  color: var(--muted);
}
.report-topic {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: white;
  box-shadow: 0 14px 36px rgba(31, 61, 53, 0.08);
}
.report-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.report-title span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.report-title h2 {
  margin: 5px 0 0;
}
.report-title > strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e6f4ef;
  color: var(--teal-dark);
  font-size: 12px;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.report-stats div {
  display: grid;
  gap: 7px;
  padding: 22px;
}
.report-stats div + div {
  border-left: 1px solid var(--line);
}
.report-stats small {
  color: var(--muted);
}
.report-stats b {
  font-size: 30px;
}
.report-insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px;
}
.report-insight div {
  padding: 17px;
  border-radius: 17px;
  background: #f4f8f6;
}
.report-insight span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.report-insight p {
  margin: 8px 0 0;
  line-height: 1.5;
}
.home-practice {
  margin: 0 24px 24px;
  padding: 18px;
  border-radius: 17px;
  background: #fff7df;
}
.home-practice p {
  margin: 6px 0 0;
  line-height: 1.5;
}

/* Eş Nesneler ve 1. Tema değerlendirme */
.topic-lesson-shell .teaching-board {
  overflow: hidden;
}
.source-object {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.board-kicker {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}
.equal-intro-board,
.theme-intro-board {
  position: relative;
  overflow: hidden;
  background: #dff4ef;
}
.equal-intro-board > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equal-intro-board > div,
.theme-intro-board > div {
  position: absolute;
  left: 6%;
  bottom: 6%;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(24, 67, 56, 0.16);
}
.equal-intro-board h1,
.theme-intro-board h1 {
  margin: 4px 0;
  font-size: clamp(28px, 4vw, 52px);
}
.equal-intro-board p {
  margin: 0;
}
.equal-definition-board,
.equal-choice-board,
.equal-matching-board,
.memory-board,
.equal-detail-board,
.equal-completion-board,
.assessment-object-board,
.topic-finish-board,
.theme-result-board {
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: linear-gradient(145deg, #edf8f4, #fffaf0);
}
.equal-definition-board > div,
.equal-choice-board > div,
.equal-matching-board > div,
.memory-board > div,
.equal-detail-board > div,
.equal-completion-board > div,
.assessment-object-board > div,
.topic-finish-board > div,
.theme-result-board > div {
  width: 100%;
}
.equal-definition-board h1,
.equal-choice-board h1,
.equal-matching-board h1,
.memory-board h1,
.equal-detail-board h1,
.equal-completion-board h1,
.assessment-object-board h1,
.topic-finish-board h1,
.theme-result-board h1 {
  margin: 5px 0 18px;
  font-size: clamp(20px, 3vw, 35px);
}
.feature-criteria,
.feature-lens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 12px 0;
}
.feature-criteria b,
.feature-lens b {
  padding: 8px 5px;
  border-radius: 999px;
  background: white;
  color: var(--teal-dark);
  font-size: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(31, 61, 53, 0.08);
}
.feature-lens {
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s ease;
}
.feature-lens.visible {
  opacity: 1;
  transform: none;
}
.teacher-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.teacher-comparison > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4px;
  padding: 10px;
  border-radius: 15px;
  background: white;
}
.teacher-comparison .source-object {
  min-width: 0;
  aspect-ratio: 1;
}
.teacher-comparison strong {
  grid-column: 1/-1;
  color: var(--teal);
  font-size: 11px;
  text-align: center;
}
.feature-criteria b {
  display: grid;
  place-items: center;
  gap: 4px;
}
.feature-criteria b i {
  display: block;
  color: var(--teal-dark);
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}
.teacher-comparison > div {
  position: relative;
}
.teacher-comparison strong i {
  display: none;
  font-style: normal;
}
.visual-difference-ring {
  position: absolute;
  z-index: 3;
  top: 16%;
  width: 34%;
  height: 48%;
  border: 5px solid var(--coral);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.pair-color-different .visual-difference-ring,
.pair-shape-different .visual-difference-ring {
  right: 8%;
}

/* Eş nesneler: sembol listesi yerine nesne odaklı, adım adım öğretmen modeli */
.object-led-definition {
  overflow: hidden;
}
.definition-pairs {
  position: relative;
  min-height: 350px;
}
.definition-pair {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 8vw, 90px);
  padding: 28px;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition:
    opacity 0.6s ease,
    transform 0.7s ease;
  pointer-events: none;
}
.definition-pair .source-object {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 26px;
  background: white;
  box-shadow: 0 10px 28px rgba(27, 67, 57, 0.1);
}
.definition-pair.definition-active {
  opacity: 1;
  transform: none;
}
.definition-pair.definition-active .source-object {
  animation: slowObjectFocus 2.4s ease-in-out infinite alternate;
}
.pair-connection {
  position: absolute;
  z-index: 1;
  left: 30%;
  right: 30%;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(25, 145, 126, 0.2),
    rgba(25, 145, 126, 0.9),
    rgba(25, 145, 126, 0.2)
  );
  transform: scaleX(0);
  transition: transform 1.1s 0.6s ease;
}
.pair-same.definition-active .pair-connection {
  transform: scaleX(1);
}
.pair-difference-focus {
  position: absolute;
  z-index: 3;
  right: calc(50% - clamp(210px, 25vw, 270px));
  top: 50%;
  width: clamp(130px, 18vw, 190px);
  aspect-ratio: 1;
  border: 6px solid var(--coral);
  border-radius: 46%;
  opacity: 0;
  transform: translateY(-50%) scale(0.72);
  transition:
    opacity 0.5s 1.1s ease,
    transform 0.7s 1.1s ease;
  pointer-events: none;
}
.pair-color-different.definition-active .pair-difference-focus,
.pair-shape-different.definition-active .pair-difference-focus {
  opacity: 0.9;
  transform: translateY(-50%) scale(1);
  animation: gentleRing 1.7s 1.8s ease-in-out infinite alternate;
}
.definition-pairs.definition-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}
.definition-pairs.definition-summary .definition-pair {
  position: relative;
  inset: auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  min-width: 0;
  padding: 10px;
}
.definition-pairs.definition-summary .definition-pair .source-object {
  border-radius: 15px;
  animation: none;
}
.definition-pairs.definition-summary .pair-connection,
.definition-pairs.definition-summary .pair-difference-focus {
  display: none;
}
.scene-target-card {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 2.5%;
  width: 17%;
  aspect-ratio: 1;
  padding: 7px;
  border: 4px solid white;
  border-radius: 18px;
  background: white;
  box-shadow:
    0 0 0 5px var(--yellow),
    0 12px 28px rgba(19, 54, 47, 0.3);
  transform: translateX(-50%);
  pointer-events: none;
}
.scene-target-card img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}
.interactive-scene > img {
  transition: filter 0.5s ease;
}
.interactive-scene.guided-search > img {
  filter: brightness(0.72) saturate(0.8);
}
.picture-hotspot.soft-guide {
  border-color: rgba(245, 198, 85, 0.7);
  box-shadow: 0 0 0 8px rgba(245, 198, 85, 0.22);
  animation: gentleGuide 1.3s ease-in-out infinite alternate;
}
.picture-hotspot.answer-guide {
  border-color: var(--yellow);
  background: rgba(245, 198, 85, 0.12);
  box-shadow:
    0 0 0 10px rgba(245, 198, 85, 0.35),
    0 0 32px 15px rgba(245, 198, 85, 0.42);
  animation: answerGuide 1s ease-in-out infinite alternate;
}
.picture-hotspot.answer-guide::after {
  content: "☝";
  position: absolute;
  left: 50%;
  top: -42px;
  transform: translateX(-50%);
  font-size: 34px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.25));
}
.equal-choice-stage.guided-compare .equal-target {
  box-shadow: 0 0 0 6px rgba(245, 198, 85, 0.38);
}
.equal-choice-stage .compare-difference {
  border-color: var(--coral);
  box-shadow: 0 0 0 6px rgba(238, 111, 94, 0.2);
}
.equal-options button.answer-guide {
  border-color: var(--yellow);
  box-shadow:
    0 0 0 8px rgba(245, 198, 85, 0.35),
    0 0 28px rgba(245, 198, 85, 0.5);
  animation: answerGuide 1s ease-in-out infinite alternate;
}

@keyframes slowObjectFocus {
  from {
    transform: scale(0.97);
    filter: drop-shadow(0 0 0 rgba(245, 198, 85, 0));
  }
  to {
    transform: scale(1.035);
    filter: drop-shadow(0 0 13px rgba(245, 198, 85, 0.8));
  }
}
@keyframes gentleRing {
  from {
    box-shadow: 0 0 0 0 rgba(238, 111, 94, 0.12);
  }
  to {
    box-shadow: 0 0 0 10px rgba(238, 111, 94, 0.2);
  }
}
@keyframes gentleGuide {
  from {
    transform: scale(0.98);
  }
  to {
    transform: scale(1.035);
  }
}
@keyframes answerGuide {
  from {
    transform: scale(0.98);
  }
  to {
    transform: scale(1.055);
  }
}

/* 1. sınıf: okuma gerektirmeyen, ses ve görsel işaret öncelikli sunum */
.pre-reader .lesson-header {
  grid-template-columns: 48px minmax(280px, 1fr) 52px;
}
.topic-lesson-shell.pre-reader .lesson-header {
  grid-template-columns: 48px auto minmax(280px, 1fr) 52px;
}
.pre-reader .lesson-breadcrumb,
.pre-reader .lesson-time {
  display: none;
}
.pre-reader .section-track {
  grid-column: 2;
}
.topic-lesson-shell.pre-reader .section-track {
  grid-column: 3;
}
.pre-reader .section-segment span,
.pre-reader .lesson-step-label,
.pre-reader .board-kicker,
.pre-reader .board-square h1,
.pre-reader .student-prompt,
.pre-reader .gesture-help,
.pre-reader .talk-help {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.pre-reader .skip-section {
  grid-column: 3;
  width: 48px;
  min-width: 48px;
  padding: 0;
  font-size: 0;
}
.topic-lesson-shell.pre-reader .skip-section {
  grid-column: 4;
}
.pre-reader .skip-section::before {
  content: "⏭";
  font-size: 22px;
}
.pre-reader .teacher-transcript {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pre-reader .teacher-bubble {
  display: grid;
  place-items: center;
  min-height: 106px;
  padding: 12px;
}
.pre-reader .teacher-visual-cues {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.pre-reader .teacher-visual-cues > i,
.pre-reader .teacher-visual-cues > b {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  border-radius: 13px;
  background: #edf7f3;
  color: var(--teal-dark);
  font-size: 24px;
  font-style: normal;
  text-decoration: none;
}
.pre-reader .teacher-visual-cues > i {
  background: var(--teal);
  color: white;
}
.pre-reader .teacher-visual-cues em {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  padding: 0 6px;
}
.pre-reader .teacher-visual-cues em u {
  width: 4px;
  height: 9px;
  border-radius: 99px;
  background: var(--teal);
  opacity: 0.35;
}
.pre-reader .lesson-teacher.speaking .teacher-visual-cues em u {
  opacity: 1;
  animation: soundBar 0.55s ease-in-out infinite alternate;
}
.pre-reader .teacher-visual-cues em u:nth-child(2) {
  animation-delay: 0.16s;
}
.pre-reader .teacher-visual-cues em u:nth-child(3) {
  animation-delay: 0.32s;
}
.pre-reader .narration-controls button {
  font-size: 0;
}
.pre-reader .narration-controls button::before {
  font-size: 20px;
}
.pre-reader [data-narration="rewind"]::before {
  content: "↶";
}
.pre-reader [data-narration="toggle"]::before {
  content: "⏯";
}
.pre-reader [data-narration="replay"]::before {
  content: "↺";
}
.pre-reader .raise-hand {
  grid-template-columns: 1fr 35px;
  min-height: 66px;
}
.pre-reader .hand-icon {
  justify-self: center;
  width: 48px;
  height: 48px;
  font-size: 28px;
}
.pre-reader .hand-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pre-reader .lesson-footer {
  min-height: 62px;
}
.pre-reader .phase-button {
  min-width: 98px;
  width: 98px;
  padding: 0 8px 0 14px;
  gap: 6px;
  font-size: 0;
}
.pre-reader .phase-button::before {
  content: none;
}
.pre-reader .phase-button span {
  width: 36px;
  height: 36px;
  font-size: 21px;
}
.pre-reader .phase-button:disabled {
  opacity: 0.42;
  cursor: wait;
}
.pre-reader .phase-button.ready-to-touch {
  animation: readyTouch 1s ease-in-out infinite alternate;
}
.pre-reader .phase-button.late-theme-finish-button {
  width: auto;
  min-width: 190px;
  padding: 0 9px 0 18px;
  gap: 14px;
  font-size: 14px;
}
.pre-reader .feature-criteria {
  margin: 2px 0 20px;
}
.pre-reader .feature-criteria b {
  min-height: 66px;
  padding: 7px;
  border: 3px solid transparent;
  box-shadow: none;
  background: white;
}
.pre-reader .feature-criteria b span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pre-reader .feature-criteria b i {
  font-size: clamp(28px, 4vw, 42px);
}
.pre-reader .feature-criteria b:nth-child(1) {
  animation: featureSpotlight 1.2s 0.4s ease both;
}
.pre-reader .feature-criteria b:nth-child(2) {
  animation: featureSpotlight 1.2s 1.8s ease both;
}
.pre-reader .feature-criteria b:nth-child(3) {
  animation: featureSpotlight 1.2s 3.2s ease both;
}
.pre-reader .feature-criteria b:nth-child(4) {
  animation: featureSpotlight 1.2s 4.6s ease both;
}
.pre-reader .teacher-comparison strong span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pre-reader .teacher-comparison strong i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 42px;
  margin: 0 auto;
  border-radius: 13px;
  background: #e4f4ee;
  color: var(--teal);
  font-size: 32px;
}
.pre-reader .teacher-comparison .comparison-pair {
  opacity: 0.38;
}
.pre-reader .teacher-comparison .comparison-pair:nth-child(1) {
  animation: comparisonSpotlight 3.2s 5.8s ease both;
}
.pre-reader .teacher-comparison .comparison-pair:nth-child(2) {
  animation: comparisonSpotlight 3.2s 9.2s ease both;
}
.pre-reader .teacher-comparison .comparison-pair:nth-child(3) {
  animation: comparisonSpotlight 3.2s 12.6s ease both;
}
.pre-reader .pair-color-different .visual-difference-ring {
  animation: differenceRing 2.1s 10s ease both;
}
.pre-reader .pair-shape-different .visual-difference-ring {
  animation: differenceRing 2.1s 13.4s ease both;
}
.pre-reader .equal-definition-board {
  padding-top: 22px;
}
.pre-reader .equal-definition-board > div {
  display: grid;
  align-content: center;
  height: 100%;
}
.pre-reader .concept-overview > div {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 86px;
}
.pre-reader .concept-overview strong,
.pre-reader .concept-overview small,
.pre-reader .dictionary-grid strong,
.pre-reader .dictionary-demo span,
.pre-reader .guided-command small,
.pre-reader .guided-command strong,
.pre-reader .movement-task p,
.pre-reader .detective-question > span,
.pre-reader .detective-question h1,
.pre-reader .detective-question p,
.pre-reader .assessment-question p,
.pre-reader .self-list p,
.pre-reader .sentence-copy,
.pre-reader .matching-cards button > b,
.pre-reader .theme-result-board p,
.pre-reader .result-domains {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.pre-reader .concept-overview span {
  grid-row: auto;
  width: 58px;
  height: 58px;
  font-size: 30px;
}
.pre-reader .dictionary-grid button {
  min-height: 78px;
}
.pre-reader .dictionary-grid button span {
  min-height: 72px;
  font-size: 31px;
}
.pre-reader .guided-command {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 8px;
}
.pre-reader .guided-command div {
  width: 80%;
}
.pre-reader .location-zone span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pre-reader .location-zone::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 40px;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}
.pre-reader .zone-top::after {
  content: "↑";
}
.pre-reader .zone-under::after {
  content: "↓";
}
.pre-reader .matching-sentences {
  grid-template-columns: repeat(4, 1fr);
}
.pre-reader .matching-sentences button {
  justify-content: center;
  min-height: 68px;
  padding: 5px;
}
.pre-reader .matching-sentences button > i {
  display: block;
  font-size: 24px;
}
.pre-reader .matching-sentences button > b {
  flex-basis: 24px;
  height: 24px;
  font-size: 11px;
}
.pre-reader .movement-task {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 250px;
}
.pre-reader .movement-task button {
  grid-column: 1;
  justify-self: center;
  width: 92px;
  height: 72px;
  padding: 0;
  font-size: 0;
}
.pre-reader .movement-task button::before {
  content: "✓";
  font-size: 34px;
}
.pre-reader .detective-question {
  align-content: center;
}
.pre-reader .detective-question > div {
  min-height: 100px;
}
.pre-reader .detective-question button {
  font-size: 0;
}
.pre-reader .detective-question button[data-detective-answer="true"]::before {
  content: "✓";
  color: var(--teal);
  font-size: 42px;
}
.pre-reader .detective-question button[data-detective-answer="false"]::before {
  content: "×";
  color: var(--coral);
  font-size: 46px;
}
.pre-reader .self-list > div {
  grid-template-columns: 48px repeat(3, 1fr);
  min-height: 62px;
}
.pre-reader .self-list button {
  width: 46px;
  height: 46px;
  justify-self: center;
  font-size: 25px;
}
.pre-reader .self-list .self-listen {
  font-size: 20px;
}
.pre-reader .scene-question > strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pre-reader .scene-question {
  min-height: 82px;
  align-content: center;
}
.pre-reader .position-token-dock small,
.pre-reader .equal-target small,
.pre-reader .assessment-example small {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.pre-reader .feature-lens b {
  font-size: 0;
  min-height: 54px;
  display: grid;
  place-items: center;
}
.pre-reader .feature-lens b::before {
  font-size: 28px;
}
.pre-reader .feature-lens b:nth-child(1)::before {
  content: "🎨";
}
.pre-reader .feature-lens b:nth-child(2)::before {
  content: "○△□";
  font-size: 21px;
}
.pre-reader .feature-lens b:nth-child(3)::before {
  content: "↕";
}
.pre-reader .feature-lens b:nth-child(4)::before {
  content: "🔍";
}

@keyframes featureSpotlight {
  0% {
    opacity: 0.38;
    transform: scale(0.9);
  }
  35%,
  75% {
    opacity: 1;
    transform: scale(1.08);
    border-color: var(--yellow);
    box-shadow: 0 0 0 7px rgba(245, 198, 85, 0.22);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes comparisonSpotlight {
  0% {
    opacity: 0.32;
    transform: scale(0.96);
  }
  18%,
  80% {
    opacity: 1;
    transform: scale(1.035);
    box-shadow: 0 0 0 6px rgba(245, 198, 85, 0.28);
  }
  100% {
    opacity: 0.75;
    transform: none;
  }
}
@keyframes differenceRing {
  0% {
    opacity: 0;
    transform: scale(0.65);
  }
  25%,
  80% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.85;
  }
}
@keyframes readyTouch {
  from {
    box-shadow: 0 8px 20px rgba(4, 40, 35, 0.12);
  }
  to {
    box-shadow:
      0 0 0 8px rgba(245, 198, 85, 0.3),
      0 12px 26px rgba(4, 40, 35, 0.18);
  }
}
.equal-choice-stage {
  display: grid;
  grid-template-columns: minmax(95px, 0.7fr) 1.7fr;
  align-items: center;
  gap: 20px;
}
.equal-target,
.assessment-example {
  display: grid;
  place-items: center;
  padding: 10px;
  border: 3px solid var(--yellow);
  border-radius: 18px;
  background: white;
}
.equal-target small,
.assessment-example small {
  font-size: 9px;
  font-weight: 900;
  color: var(--muted);
}
.equal-target .source-object,
.assessment-example .source-object {
  width: min(145px, 100%);
  aspect-ratio: 1;
}
.equal-options,
.completion-options,
.assessment-object-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.equal-options button,
.completion-options button,
.assessment-object-options button,
.detail-row button,
.pair-matching button {
  min-width: 0;
  padding: 8px;
  border: 2px solid #d2e2dc;
  border-radius: 17px;
  background: white;
  cursor: pointer;
  transition: 0.2s ease;
}
.equal-options button:hover,
.completion-options button:hover,
.assessment-object-options button:hover,
.detail-row button:hover,
.pair-matching button:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.equal-options .source-object,
.completion-options .source-object,
.assessment-object-options .source-object,
.detail-row .source-object {
  aspect-ratio: 1;
}
.equal-choice-stage .feature-lens {
  grid-column: 1/-1;
}
.wrong-cell {
  animation: shake 0.28s ease 2;
  border-color: var(--coral) !important;
}
.correct-choice,
.recorded-choice {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 5px rgba(25, 145, 126, 0.16);
}
.assessment-correct {
  border-color: #43a965 !important;
  background: #dff5e5 !important;
  box-shadow: 0 0 0 7px rgba(67, 169, 101, 0.24) !important;
  transform: scale(1.03);
}
.assessment-wrong {
  border-color: var(--coral) !important;
  background: #fff0ec !important;
  box-shadow: 0 0 0 7px rgba(238, 111, 94, 0.2) !important;
  animation: shake 0.28s ease 2;
}
.pair-matching {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28%;
}
.pair-matching > div {
  display: grid;
  gap: 8px;
}
.pair-matching button {
  height: 78px;
}
.pair-matching button.selected {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245, 198, 85, 0.25);
}
.pair-matching button.matched {
  border-color: var(--teal);
  opacity: 0.82;
}
.pair-matching svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pair-matching line {
  stroke: var(--yellow);
  stroke-width: 5;
  stroke-linecap: round;
  animation: lineDraw 0.45s ease;
}
.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.memory-card {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  border-radius: 14px;
  background: var(--teal);
  cursor: pointer;
  transform-style: preserve-3d;
}
.memory-card span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  backface-visibility: hidden;
  transition: transform 0.35s ease;
}
.memory-back {
  color: white;
  font-size: 30px;
  font-weight: 900;
}
.memory-front {
  padding: 8px;
  background: white;
  transform: rotateY(180deg);
}
.memory-card.open .memory-back,
.memory-card.matched .memory-back {
  transform: rotateY(180deg);
}
.memory-card.open .memory-front,
.memory-card.matched .memory-front {
  transform: rotateY(0);
}
.memory-card.matched {
  box-shadow: 0 0 0 4px rgba(25, 145, 126, 0.3);
}
.detail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 16px;
}
.completion-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: min(360px, 80%);
  margin: 0 auto 14px;
}
.completion-target,
.completion-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 12px;
  border: 3px solid var(--yellow);
  border-radius: 19px;
  background: white;
}
.completion-slot {
  border-style: dashed;
  color: var(--muted);
  font-size: 40px;
}
.completion-slot.drag-over {
  background: #e3f5ef;
  transform: scale(1.03);
}
.completion-options button.selected {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245, 198, 85, 0.25);
}
.equal-farm-activity img,
.equal-playroom-activity img,
.theme-classroom-board > img,
.theme-forest-activity > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.farm-sheep {
  left: 6%;
  top: 18%;
  width: 16%;
  height: 14%;
}
.farm-horse {
  left: 31%;
  top: 23%;
  width: 20%;
  height: 20%;
}
.farm-cow {
  left: 70%;
  top: 28%;
  width: 26%;
  height: 19%;
}
.farm-donkey {
  left: 11%;
  top: 35%;
  width: 20%;
  height: 23%;
}
.farm-rooster {
  left: 46%;
  top: 40%;
  width: 14%;
  height: 18%;
}
.farm-goat {
  left: 66%;
  top: 46%;
  width: 18%;
  height: 19%;
}
.farm-dog {
  left: 29%;
  top: 59%;
  width: 14%;
  height: 19%;
}
.farm-cat {
  left: 43%;
  top: 60%;
  width: 13%;
  height: 18%;
}
.playroom-balls {
  left: 3%;
  top: 29%;
  width: 29%;
  height: 17%;
}
.playroom-bears {
  left: 34%;
  top: 24%;
  width: 31%;
  height: 23%;
}
.playroom-lamps {
  left: 71%;
  top: 28%;
  width: 27%;
  height: 20%;
}
.playroom-pillows {
  left: 4%;
  top: 47%;
  width: 41%;
  height: 18%;
}
.playroom-cars {
  left: 48%;
  top: 48%;
  width: 50%;
  height: 17%;
}
.playroom-trains {
  left: 30%;
  top: 68%;
  width: 42%;
  height: 18%;
}
.theme-intro-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.theme-intro-board > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-question {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 25px rgba(31, 61, 53, 0.18);
  text-align: center;
}
.scene-question > div {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.scene-question button,
.symbol-options button {
  min-width: 64px;
  min-height: 54px;
  border: 2px solid #cfe2dc;
  border-radius: 15px;
  background: white;
  color: var(--teal-dark);
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}
.scene-question.voice-focus {
  animation: methodFocus 1s ease-in-out 2 alternate;
}
.assessment-object-board #theme-question {
  display: grid;
  gap: 18px;
}
.assessment-object-board #theme-question > strong {
  text-align: center;
}
.assessment-pair,
.mixed-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.assessment-pair .source-object,
.mixed-scene .source-object {
  width: min(130px, 24%);
  aspect-ratio: 1;
}
.mixed-scene.vertical-relation {
  display: grid;
  grid-template-columns: 118px;
  justify-content: center;
  gap: 4px;
}
.mixed-scene.vertical-relation .source-object {
  width: 118px;
}
.direction-road,
.distance-scene {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  width: min(510px, 90%);
  margin: 0 auto;
  padding: 12px 22px;
  border-radius: 22px;
  background: #657179;
}
.direction-road::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  border-top: 3px dashed rgba(255, 255, 255, 0.82);
}
.direction-road .source-object {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  border-radius: 15px;
  background: white;
}
.distance-scene {
  grid-template-columns: 1.1fr 0.8fr 1.8fr;
  background: #dff3df;
}
.distance-scene .source-object {
  aspect-ratio: 1;
  border-radius: 15px;
  background: white;
}
.symbol-options {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.symbol-options button {
  min-width: 110px;
}
.equality-answer-options button {
  min-width: 118px;
  min-height: 72px;
  font-size: 42px;
}
.equality-answer-options .yes-choice {
  color: #248c4d;
  border-color: #8fd0a6;
  background: #eaf8ee;
}
.equality-answer-options .no-choice {
  color: #cf4f42;
  border-color: #efb0a8;
  background: #fff0ec;
}
.assessment-example {
  width: min(140px, 35%);
  margin: 0 auto;
}
.topic-finish-board p,
.theme-result-board p {
  color: var(--muted);
}
.finish-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.finish-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.theme-result-board > div {
  text-align: center;
}
.theme-result-board h1 {
  margin-bottom: 4px;
  font-size: clamp(52px, 8vw, 90px);
  color: var(--teal);
}
.result-ring {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  margin: 22px auto;
  border-radius: 50%;
  background: conic-gradient(var(--teal) calc(var(--score) * 1%), #dce9e5 0);
  box-shadow: inset 0 0 0 16px white;
}
.result-ring strong {
  font-size: 25px;
}
.result-domains {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.result-domains span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e5f3ef;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
}
.report-topic + .report-topic {
  margin-top: 20px;
}
.assessment-report-stats b {
  font-size: 24px;
}

/* Tema 2 · Rakamlar ve Sayılar */
.numbers-intro-board,
.ordinal-board,
.rhythm-board {
  position: relative;
  overflow: hidden;
}
.numbers-intro-board > img,
.ordinal-board > img,
.rhythm-board > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.number-hunt-lights i {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 5px solid var(--yellow);
  border-radius: 50%;
  animation: numberHunt 3.6s infinite both;
}
.number-hunt-lights i:nth-child(1) {
  left: 16%;
  top: 22%;
}
.number-hunt-lights i:nth-child(2) {
  left: 62%;
  top: 32%;
  animation-delay: 1.2s;
}
.number-hunt-lights i:nth-child(3) {
  left: 40%;
  top: 67%;
  animation-delay: 2.4s;
}
.number-intro-badge {
  position: absolute;
  right: 5%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.16);
  color: var(--teal);
  font-size: 23px;
}
.number-intro-badge b {
  font-size: 42px;
}
.digit-discovery-board,
.touch-count-board,
.tens-board,
.compare-board,
.mixed-rhythm-board,
.oral-count-board,
.numbers-check-board {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 42px);
  background: linear-gradient(145deg, #f7fbf9, #e5f3ee);
}
.digit-discovery-board > div,
.touch-count-board > div,
.tens-board > div,
.compare-board > div,
.mixed-rhythm-board > div,
.oral-count-board > div,
.numbers-check-board > div {
  width: min(100%, 690px);
}
.digit-discovery-board h1,
.touch-count-board h1,
.tens-board h1,
.compare-board h1,
.mixed-rhythm-board h1,
.oral-count-board h1,
.numbers-check-board h1 {
  margin: 5px 0 14px;
  font-size: clamp(24px, 4vw, 36px);
}
.digit-stage {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  align-items: center;
  gap: 15px;
  min-height: 180px;
  padding: 20px;
  border-radius: 24px;
  background: white;
}
.digit-quantity {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.digit-quantity i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 -4px rgba(0, 0, 0, 0.08);
}
.digit-stage strong {
  display: grid;
  place-items: center;
  width: 105px;
  height: 130px;
  border-radius: 22px;
  background: var(--teal);
  color: white;
  font-size: 86px;
}
.digit-trace {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  border: 5px dashed #93cfc0;
  border-radius: 22px;
  color: #93cfc0;
  font-size: 80px;
  overflow: hidden;
}
.digit-trace span {
  opacity: 0.34;
}
.digit-trace i {
  position: absolute;
  left: 50%;
  top: 13%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(239, 113, 94, 0.18);
  opacity: 0;
}
.narrating-digit .digit-trace i {
  animation: digitWritingGuide 2.8s ease-in-out both;
}
.digit-pop {
  animation: answerPop 0.4s ease;
}
.digit-practice-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 15px;
}
.digit-practice-counts button {
  display: grid;
  grid-template-columns: repeat(5, 18px);
  align-content: center;
  justify-content: center;
  gap: 7px;
  min-height: 96px;
  border: 3px solid #cfe1dc;
  border-radius: 19px;
  background: white;
  cursor: pointer;
}
.digit-practice-counts button i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef765f;
}
.digit-quantity i.count-cue {
  animation: countDotCue 0.7s var(--count-delay) both;
}
.digit-stage.digit-ten-frame-method .digit-quantity {
  display: grid;
  grid-template-columns: repeat(5, 28px);
  padding: 12px;
  border: 4px solid var(--yellow);
  border-radius: 17px;
}
.zero-question {
  display: none;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}
.zero-question.ready {
  display: grid;
}
.empty-basket {
  height: 95px;
  border: 7px solid #bf8a49;
  border-top: 0;
  border-radius: 0 0 25px 25px;
  background: repeating-linear-gradient(
    90deg,
    #e8bb75 0 10px,
    #d39a51 10px 18px
  );
}
.digit-options,
.check-options,
.rhythm-options {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.digit-options button,
.check-options button,
.rhythm-options button {
  min-width: 72px;
  min-height: 64px;
  border: 3px solid #cfe1dc;
  border-radius: 18px;
  background: white;
  color: var(--teal);
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
}
.number-objects {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.number-objects button {
  position: relative;
  min-width: 0;
  padding: 5px;
  border: 3px solid transparent;
  border-radius: 18px;
  background: white;
  cursor: pointer;
}
.number-objects img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.number-objects button i {
  position: absolute;
  right: 1px;
  top: 1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
}
.number-objects button.counted {
  border-color: #62b899;
  background: #e6f6ef;
}
.number-objects button.counted i {
  opacity: 1;
}
.number-objects button.next-count,
.number-objects button.answer-guide {
  animation: readyTouch 0.7s infinite alternate;
}
.count-fourteen.first-ten-complete button:nth-child(-n + 10) {
  background: #fff4c8;
  border-color: var(--yellow);
}
.count-result {
  display: grid;
  place-items: center;
  width: 75px;
  height: 75px;
  margin: 16px auto 0;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 40px;
  font-weight: 900;
}
.ten-model {
  display: grid;
  grid-template-columns: 1.4fr auto 0.7fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: white;
}
.ten-frame {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  border: 5px solid #6bb5a5;
  border-radius: 18px;
}
.ten-frame i,
.ones-tray i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ef765f;
  animation: tenDot 0.4s calc(var(--i) * 0.28s) both;
}
.ones-tray {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tens-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.tens-choice button {
  min-height: 74px;
  border: 3px solid #cfe1dc;
  border-radius: 17px;
  background: white;
  color: var(--teal);
  cursor: pointer;
}
.tens-choice span {
  font-size: 42px;
}
.tens-choice i {
  display: block;
  font-size: 16px;
  font-style: normal;
}
.ten-frame.pulse-group {
  animation: methodFocus 1s infinite alternate;
}
.ten-model.split-method .ten-frame {
  box-shadow: 0 0 0 8px rgba(245, 198, 85, 0.35);
}
.teen-number-path {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 5px;
  margin-bottom: 12px;
}
.teen-number-path span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e5f1ed;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}
.teen-number-path.narrating span {
  animation: teenPathCue 0.5s calc(var(--teen) * 0.23s) both;
}
.ten-model.narrating {
  animation: methodFocus 1s ease-in-out 2 alternate;
}
.ordinal-arrow {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 15%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--coral);
  font-size: 34px;
  font-weight: 900;
}
.ordinal-arrow span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  font-size: 10px;
}
.ordinal-hotspot {
  position: absolute;
  top: 49%;
  width: 10%;
  height: 31%;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.ordinal-0 {
  left: 1%;
}
.ordinal-1 {
  left: 13%;
}
.ordinal-2 {
  left: 25%;
}
.ordinal-3 {
  left: 37%;
}
.ordinal-4 {
  left: 49%;
}
.ordinal-5 {
  left: 61%;
}
.ordinal-6 {
  left: 73%;
}
.ordinal-7 {
  left: 85%;
}
.ordinal-hotspot:hover,
.ordinal-hotspot.ordinal-cue {
  box-shadow: 0 0 0 6px var(--yellow);
  background: rgba(245, 198, 85, 0.16);
  animation: ordinalCue 1.6s calc(var(--cue, 0) * 0.5s) both;
}
.ordinal-correct {
  box-shadow: 0 0 0 8px #4eb578 !important;
  background: rgba(78, 181, 120, 0.2) !important;
}
.compare-task {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 12px;
  align-items: center;
}
.compare-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: white;
}
.compare-group i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ef765f;
}
.pair-lines {
  display: grid;
  gap: 10px;
}
.pair-lines b {
  height: 4px;
  border-radius: 99px;
  background: #bdd8d0;
  transform: scaleX(0.15);
  opacity: 0.3;
}
.compare-task.pair-method .pair-lines b {
  animation: pairDraw 0.5s calc(var(--i, 0) * 0.2s) forwards;
}
.compare-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.compare-actions button {
  min-width: 100px;
  min-height: 58px;
  border: 3px solid #cfe1dc;
  border-radius: 16px;
  background: white;
  color: var(--teal);
  font-size: 20px;
  cursor: pointer;
}
.rhythm-path {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 6%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
}
.rhythm-path button {
  aspect-ratio: 1;
  border: 4px solid white;
  border-radius: 50%;
  background: #e2eee9;
  color: var(--teal-dark);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}
.rhythm-path button:nth-child(4n + 1) {
  background: #f4cd63;
}
.rhythm-path button:nth-child(4n + 2) {
  background: #75c2ad;
}
.rhythm-path button:nth-child(4n + 3) {
  background: #ef826e;
}
.rhythm-path button.stepped {
  transform: translateY(-18px);
  box-shadow: 0 0 0 6px white;
}
.rhythm-path button.next-step,
.rhythm-path button.answer-guide {
  animation: readyTouch 0.65s infinite alternate;
}
.rhythm-sequence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 170px;
  padding: 20px;
  border-radius: 24px;
  background: white;
}
.rhythm-sequence span,
.rhythm-sequence b {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #e4f3ee;
  color: var(--teal);
  font-size: 27px;
}
.rhythm-sequence i {
  font-style: normal;
  color: var(--coral);
  font-size: 25px;
}
.rhythm-sequence i.jump-glow {
  animation: attentionGlow 0.6s infinite alternate;
}
.rhythm-sequence.hop-method::after {
  content: "🐸";
  position: absolute;
  animation: rhythmHop 3s ease infinite;
}
.rhythm-options {
  margin-top: 16px;
}
.oral-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 170px;
  border-radius: 25px;
  background: white;
}
.oral-visual > span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 32px;
  font-weight: 900;
}
.oral-visual > i {
  width: 200px;
  border-top: 6px dotted var(--yellow);
}
.oral-visual > b {
  font-size: 60px;
}
.oral-backup {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  margin-top: 15px;
}
.oral-backup button {
  aspect-ratio: 1;
  border: 2px solid #cfe1dc;
  border-radius: 12px;
  background: white;
  color: var(--teal);
  font-weight: 900;
  cursor: pointer;
}
.oral-backup button.stepped {
  background: #dff4e7;
  border-color: #4eb578;
}
.check-objects {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  justify-content: center;
  gap: 7px;
}
.check-objects img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.check-ten,
.check-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 190px;
  border-radius: 23px;
  background: white;
  color: var(--teal);
  font-size: 38px;
  font-weight: 900;
}
.check-ten span {
  font-size: 120px;
}
.check-ten i {
  font-style: normal;
}
.check-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: 180px;
  align-items: center;
}
.check-compare span {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 28px;
  border-radius: 22px;
  background: white;
  color: var(--coral);
  font-size: 31px;
  letter-spacing: 8px;
}
.numbers-finish-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 25px 0;
}
.numbers-finish-icons span {
  display: grid;
  place-items: center;
  min-height: 90px;
  border-radius: 18px;
  background: white;
  color: var(--teal);
  font-size: 25px;
  font-weight: 900;
}
@keyframes teenPathCue {
  0% {
    transform: scale(0.75);
    background: #e5f1ed;
  }
  55% {
    transform: scale(1.18);
    background: var(--yellow);
  }
  100% {
    transform: scale(1);
    background: #dff4e7;
  }
}
@keyframes numberHunt {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
  25%,
  65% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes digitWritingGuide {
  0% {
    opacity: 0;
    transform: translate(-28px, 0);
  }
  15% {
    opacity: 1;
  }
  52% {
    transform: translate(22px, 44px);
  }
  88% {
    opacity: 1;
    transform: translate(-5px, 90px);
  }
  100% {
    opacity: 0;
    transform: translate(-5px, 96px);
  }
}
@keyframes countDotCue {
  0% {
    transform: scale(0.65);
    filter: brightness(0.8);
  }
  55% {
    transform: scale(1.35);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes tenDot {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ordinalCue {
  0% {
    opacity: 0.3;
  }
  45%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}
@keyframes pairDraw {
  to {
    transform: scaleX(1);
    opacity: 1;
    background: var(--yellow);
  }
}
@keyframes rhythmHop {
  0% {
    transform: translate(-150px, -55px);
  }
  50% {
    transform: translate(0, -85px);
  }
  100% {
    transform: translate(150px, -55px);
  }
}

@keyframes lineDraw {
  from {
    stroke-dasharray: 0 500;
  }
  to {
    stroke-dasharray: 500 0;
  }
}

@keyframes closedFrame {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes talkingFrame {
  0%,
  49% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}
@keyframes soundBar {
  from {
    height: 7px;
  }
  to {
    height: 24px;
  }
}
@keyframes focusPulse {
  from {
    transform: scale(0.98);
  }
  to {
    transform: scale(1.02);
  }
}
@keyframes pointerMove {
  from {
    transform: translateY(7px);
  }
  to {
    transform: translateY(-5px);
  }
}
@keyframes cupModel {
  0%,
  16% {
    transform: translateY(55%);
  }
  56%,
  88% {
    transform: translateY(-130%);
  }
  100% {
    transform: translateY(55%);
  }
}
@keyframes methodFocus {
  from {
    box-shadow: 0 0 0 2px rgba(245, 198, 85, 0.2);
  }
  to {
    box-shadow: 0 0 0 9px rgba(245, 198, 85, 0.45);
  }
}
@keyframes answerPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bodyGuide {
  from {
    transform: translateY(-3px);
  }
  to {
    transform: translateY(3px);
  }
}
@keyframes attentionGlow {
  from {
    filter: brightness(0.96);
  }
  to {
    filter: brightness(1.18);
  }
}
@keyframes commandArrow {
  from {
    transform: translateY(3px);
  }
  to {
    transform: translateY(-3px);
  }
}
@keyframes routeColorCue {
  from {
    transform: translate(-50%, -50%) scale(0.92);
    box-shadow: 0 0 0 3px rgba(245, 198, 85, 0.25);
  }
  to {
    transform: translate(-50%, -50%) scale(1.22);
    box-shadow: 0 0 0 10px rgba(245, 198, 85, 0.5);
  }
}
@keyframes surfaceNarrationLine {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes surfaceNarrationArrow {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .teacher-welcome {
    grid-template-columns: 190px 1fr;
  }
  .today-preview {
    display: none;
  }
  .teacher-classroom {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .lesson-avatar {
    height: 250px;
  }
  .teacher-bubble {
    min-height: 110px;
    font-size: 13px;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .topic-lesson-shell .lesson-header {
    grid-template-columns: 42px minmax(120px, 0.8fr) minmax(220px, 1.2fr) auto auto auto;
    gap: 8px;
    padding: 10px 12px;
  }
  .topic-lesson-shell .section-track {
    min-width: 0;
    gap: 5px;
    width: min(520px, 100%);
  }
  .topic-lesson-shell .section-segment {
    min-width: 0;
  }
  .topic-lesson-shell .section-segment span {
    display: none;
  }
  .topic-lesson-shell .restart-lesson {
    min-width: 42px;
    padding: 0 8px;
  }
  .topic-lesson-shell .restart-lesson b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .topic-lesson-shell .skip-section {
    min-width: 0;
    padding: 0 9px;
  }
  .topic-lesson-shell .lesson-time {
    justify-self: end;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .campus-header {
    padding: 10px 15px;
  }
  .brand small,
  .student-name {
    display: none;
  }
  .campus-layout {
    grid-template-columns: 1fr;
  }
  .grade-rail {
    position: sticky;
    top: 0;
    z-index: 20;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rail-title {
    display: none;
  }
  .grade-button {
    flex: 0 0 52px;
    width: 52px;
    height: 48px;
    border-radius: 13px;
  }
  .grade-button strong {
    font-size: 17px;
  }
  .home-content {
    width: min(100% - 24px, 620px);
    padding-top: 18px;
  }
  .teacher-welcome {
    grid-template-columns: 118px 1fr;
    min-height: 260px;
    border-radius: 23px;
  }
  .home-avatar {
    height: 230px;
  }
  .welcome-copy {
    padding: 24px 16px 24px 0;
  }
  .welcome-copy h1 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }
  .welcome-copy p {
    font-size: 13px;
  }
  .theme-heading {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    padding: 12px;
  }
  .theme-progress {
    display: none;
  }
  .lesson-list {
    padding-left: 22px;
  }
  .lesson-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .lesson-start,
  .soon-label {
    grid-column: 2;
    justify-self: start;
  }
  .lesson-header {
    grid-template-columns: 42px 1fr auto 42px;
    gap: 8px;
    padding: 9px 12px;
  }
  .section-track {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(6, minmax(44px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .section-track::-webkit-scrollbar {
    display: none;
  }
  .pre-reader .lesson-header {
    grid-template-columns: 42px minmax(0, 1fr) 48px;
  }
  .topic-lesson-shell.pre-reader .lesson-header {
    grid-template-columns: 42px auto minmax(0, 1fr) 48px;
  }
  .pre-reader .section-track {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }
  .topic-lesson-shell.pre-reader .section-track {
    grid-column: 1 / -1;
  }
  .pre-reader .skip-section {
    grid-column: 3;
    grid-row: 1;
  }
  .topic-lesson-shell.pre-reader .skip-section {
    grid-column: 4;
  }
  .restart-lesson {
    grid-column: 2;
    grid-row: 1;
    min-width: 46px;
    padding: 0 8px;
  }
  .restart-lesson b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .section-segment span {
    display: none;
  }
  .skip-section {
    grid-column: 3;
    grid-row: 1;
    padding: 0 8px;
  }
  .lesson-time {
    justify-self: end;
  }
  .teacher-classroom {
    display: flex;
    flex-direction: column;
    width: min(100% - 18px, 620px);
    padding-top: 10px;
  }
  .lesson-teacher {
    position: static;
    align-self: stretch;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 9px;
    width: 100%;
  }
  .lesson-avatar {
    grid-row: 1 / 3;
    height: 142px;
    border-radius: 20px;
  }
  .teacher-state {
    left: 7px;
    bottom: 7px;
    font-size: 8px;
  }
  .teacher-bubble {
    min-height: 88px;
    margin: 0;
    padding: 13px;
    font-size: 12px;
  }
  .teacher-bubble::before {
    display: none;
  }
  .narration-controls {
    grid-column: 2;
    margin-top: 0;
  }
  .lesson-support-dock {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 0;
  }
  .raise-hand {
    grid-column: 1 / -1;
    min-height: 56px;
    margin: 0;
    grid-template-columns: 36px 1fr 28px;
  }
  .hand-icon {
    width: 35px;
    height: 35px;
  }
  .talk-help {
    grid-column: 1 / -1;
    margin: 0;
  }
  .board-square {
    border-radius: 18px;
  }
  .definition-pairs {
    min-height: 300px;
  }
  .definition-pair {
    grid-template-columns: repeat(2, minmax(0, 112px));
    gap: 28px;
    padding: 12px;
  }
  .definition-pairs.definition-summary {
    gap: 5px;
  }
  .definition-pairs.definition-summary .definition-pair {
    padding: 4px;
  }
  .pair-difference-focus {
    right: calc(50% - 142px);
    width: 116px;
  }
  .scene-target-card {
    width: 22%;
    padding: 4px;
    border-width: 3px;
    border-radius: 13px;
  }
  .teaching-board {
    border-radius: 19px;
  }
  .object-dock {
    width: 92px;
    min-height: 92px;
  }
  .object-dock img {
    width: 58px;
    height: 58px;
  }
  .object-dock small {
    display: none;
  }
  .lesson-footer {
    justify-content: stretch;
  }
  .phase-button {
    width: 100%;
  }
  .report-stats {
    grid-template-columns: 1fr 1fr;
  }
  .report-stats div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .report-stats div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .report-insight {
    grid-template-columns: 1fr;
  }
}

/* 3. sınıf · Analog ve Dijital Saat · Zaman İstasyonu */
.grade3-clock-board{min-height:0;overflow:visible}.grade3-clock-footer{position:relative;z-index:6}.g3clock-station{position:relative;width:100%;min-height:535px;border-radius:30px;overflow:hidden;background:#bcefe7;box-shadow:0 18px 44px rgba(7,54,53,.18)}.g3clock-station>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.g3clock-workbench{position:relative;z-index:2;min-height:535px;display:grid;place-items:center;padding:34px 46px}.g3clock-workbench>div{width:min(100%,760px)}
.g3clock-face{--clock-size:250px;position:relative;width:var(--clock-size);height:var(--clock-size);flex:0 0 var(--clock-size);border:10px solid #fff;border-radius:50%;background:radial-gradient(circle at 50% 45%,#fff 0 52%,#e6f8f4 100%);box-shadow:0 15px 28px rgba(7,55,53,.22),inset 0 0 0 3px #92d7cd}.g3clock-ticks,.g3clock-numbers,.g3clock-minute-ring{position:absolute;inset:0;border-radius:50%}.g3clock-ticks i{position:absolute;left:calc(50% - 1px);top:5px;width:2px;height:7px;border-radius:4px;background:#8bb9b5;transform-origin:1px calc((var(--clock-size) - 20px)/2 - 5px);transform:rotate(calc(var(--tick)*6deg))}.g3clock-ticks i.major{width:4px;height:13px;left:calc(50% - 2px);background:#087f76}.g3clock-numbers b,.g3clock-minute-ring b{position:absolute;left:50%;top:50%;font-weight:950;transform:translate(-50%,-50%) rotate(calc(var(--n)*30deg)) translateY(calc(var(--clock-size)*-.34)) rotate(calc(var(--n)*-30deg));color:#0a3f4d;font-size:1rem}.g3clock-minute-ring b{transform:translate(-50%,-50%) rotate(calc(var(--n)*30deg)) translateY(calc(var(--clock-size)*-.46)) rotate(calc(var(--n)*-30deg));font-size:.62rem;color:#167f76;opacity:0;transition:.3s}.g3clock-face.show-minute-ring .g3clock-minute-ring b{opacity:1}.g3clock-hand{position:absolute;left:50%;top:50%;transform-origin:50% 100%;z-index:4;border-radius:999px}.g3clock-hand i{display:block;width:100%;height:100%;border-radius:inherit}.g3clock-hand.hour-hand{width:11px;height:29%;background:#f58a57;transform:translate(-50%,-100%) rotate(var(--hour-angle));box-shadow:0 3px 8px rgba(138,63,32,.3)}.g3clock-hand.minute-hand{width:7px;height:38%;background:#0a8c86;transform:translate(-50%,-100%) rotate(var(--minute-angle));box-shadow:0 3px 8px rgba(2,82,80,.28)}.g3clock-hand.second-hand{width:3px;height:42%;background:#ef4f62;transform:translate(-50%,-100%) rotate(var(--second-angle));z-index:5}.g3clock-pin{position:absolute;z-index:7;left:50%;top:50%;width:18px;height:18px;border:5px solid #fff;border-radius:50%;background:#123f50;transform:translate(-50%,-50%);box-shadow:0 2px 5px #0003}
.g3clock-face.broken-hour .hour-hand{transform:translate(-50%,-100%) rotate(210deg)}
.g3clock-digital{display:grid;gap:6px;place-items:center;padding:16px 24px;border:5px solid #fff;border-radius:18px;background:#173f4e;color:#baffcb;box-shadow:0 14px 26px rgba(4,40,48,.24),inset 0 0 0 2px #5c8d91}.g3clock-digital small{font-size:.7rem;font-weight:900;letter-spacing:.12em;color:#d7f8f1}.g3clock-digital>div{display:flex;align-items:center;gap:8px;font:950 3rem/1 ui-monospace,SFMono-Regular,Consolas,monospace;text-shadow:0 0 12px #55e788}.g3clock-digital i{font-style:normal;animation:g3clockBlink 1.2s steps(1) infinite}@keyframes g3clockBlink{50%{opacity:.25}}
.g3clock-intro{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.g3clock-event-card{min-height:155px;padding:20px 16px;border-radius:22px;background:#fffdf3eF;border:3px solid #c6ebe4;display:grid;place-items:center;text-align:center;box-shadow:0 12px 24px #1235;transition:.3s}.g3clock-event-card span{font-size:2.5rem}.g3clock-event-card b{color:#075b59}.g3clock-event-card small{font-weight:800;color:#375a63}.g3clock-intro-title{grid-column:1/-1;padding:16px 24px;border-radius:20px;background:#073f4add;color:#fff;text-align:center}.g3clock-intro-title span{font-size:.75rem;font-weight:950;letter-spacing:.18em;color:#98f1dc}.g3clock-intro-title h1{margin:5px 0 0;font-size:1.65rem}.g3clock-two-languages{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;padding:24px;border-radius:28px;background:#f7fffded}.g3clock-two-languages section{display:grid;gap:9px;place-items:center;text-align:center}.g3clock-two-languages>i{padding:10px 12px;border-radius:999px;background:#fff1c7;color:#995b00;font-style:normal;font-weight:950;font-size:.75rem}.g3clock-two-languages section>b{color:#08796f}.g3clock-two-languages section>small{font-weight:800;color:#45636b}.g3clock-two-languages h2{grid-column:1/-1;margin:0;text-align:center;font-size:1.25rem;color:#083f4d}
.g3clock-seconds{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;padding:26px;border-radius:28px;background:#f7fffded}.g3clock-seconds .board-kicker,.g3clock-seconds p{grid-column:1/-1;text-align:center}.g3clock-seconds .g3clock-face{justify-self:end}.g3clock-second-counter{justify-self:start;display:grid;grid-template-columns:auto auto;align-items:end;gap:6px 10px;padding:20px;border-radius:22px;background:#fff}.g3clock-second-counter b{font-size:2.8rem;color:#087f76}.g3clock-second-counter span{font-weight:900;color:#3b5960}.g3clock-second-counter i{grid-column:1/-1;text-align:center;font-style:normal;color:#ec7c47;font-size:2rem}.g3clock-seconds.running .second-hand{animation:g3clockSecondSweep 5s linear forwards}.g3clock-seconds.running .g3clock-second-counter b:first-child{animation:g3clockCounterPulse .5s ease 10}@keyframes g3clockSecondSweep{from{transform:translate(-50%,-100%) rotate(0deg)}to{transform:translate(-50%,-100%) rotate(360deg)}}@keyframes g3clockCounterPulse{50%{color:#ef4f62;transform:scale(1.12)}}
.g3clock-hands-lesson,.g3clock-five-ring,.g3clock-landmarks,.g3clock-three-way,.g3clock-repair,.g3clock-independent{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;padding:24px;border-radius:28px;background:#f7fffded}.g3clock-hands-lesson>.board-kicker,.g3clock-hands-lesson>h2,.g3clock-five-ring>.board-kicker,.g3clock-five-ring>p,.g3clock-landmarks>.board-kicker,.g3clock-landmarks>h2,.g3clock-three-way>.board-kicker,.g3clock-three-way>h2,.g3clock-repair>.board-kicker,.g3clock-repair>h2,.g3clock-independent>.board-kicker,.g3clock-independent>h2{grid-column:1/-1;text-align:center;margin:0}.g3clock-hands-lesson>.g3clock-face,.g3clock-five-ring>.g3clock-face,.g3clock-landmarks>.g3clock-face,.g3clock-three-way>.g3clock-face,.g3clock-repair>.g3clock-face,.g3clock-independent>.g3clock-face{justify-self:center}.g3clock-hand-cards{display:grid;gap:14px}.g3clock-hand-cards section{display:grid;grid-template-columns:50px 1fr;gap:4px 12px;align-items:center;padding:15px;border-radius:18px;background:#fff}.g3clock-hand-cards i{grid-row:1/3;width:12px;height:58px;justify-self:center;border-radius:999px;transform:rotate(35deg);transform-origin:center bottom}.g3clock-hand-cards .hour i{height:42px;background:#f58a57}.g3clock-hand-cards .minute i{background:#0a8c86}.g3clock-hand-cards b{color:#0a5f5a}.g3clock-hand-cards small{font-weight:800;color:#557077}.g3clock-five-count{display:flex;gap:7px;align-items:center;justify-content:center;flex-wrap:wrap}.g3clock-five-count b{min-width:48px;padding:12px;border-radius:14px;background:#fff;color:#91aaa8;text-align:center}.g3clock-five-count b.active{background:#fff0b9;color:#9b6100;box-shadow:0 0 0 4px #ffc85b88}.g3clock-five-count i{font-style:normal;color:#ed7b45}.g3clock-landmark-map{display:grid;grid-template-columns:1fr 1fr;gap:10px}.g3clock-landmark-map b{padding:12px;border-radius:14px;background:#fff;color:#087f76;text-align:center;font-size:1.2rem}.g3clock-landmark-map small{display:block;font-size:.7rem;color:#536e74}
.g3clock-passage,.g3clock-kala{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;padding:24px;border-radius:28px;background:#f7fffded}.g3clock-passage>section,.g3clock-kala>section{position:relative}.g3clock-passage>i{font-style:normal;font-size:2.2rem;color:#ec7744}.g3clock-passage>h2,.g3clock-kala>h2{grid-column:1/-1;margin:0;text-align:center}.g3clock-reading{grid-column:1/-1;display:flex;gap:12px;align-items:center;justify-content:center;padding:12px;border-radius:16px;background:#fff}.g3clock-reading b{font-size:1.2rem}.g3clock-reading span{font-weight:900;color:#087c74}.g3clock-reading strong{padding:8px 10px;border-radius:999px;background:#dbf7e9;color:#087854}.g3clock-passed-arc,.g3clock-remaining-arc{position:absolute;inset:8px;border-radius:50%;border:9px solid transparent;border-top-color:#57d6a5;border-right-color:#57d6a5;pointer-events:none}.g3clock-remaining-arc{border-color:#b785e9 transparent transparent #b785e9;transform:rotate(-45deg)}.g3clock-kala-readings{display:grid;gap:10px;place-items:center}.g3clock-kala-readings p{margin:0;width:100%;padding:10px 14px;border-radius:15px;background:#fff;display:flex;justify-content:space-between}.g3clock-kala-readings p b{color:#075a57}.g3clock-kala-readings p span{font-weight:900;color:#8a5a0b}.g3clock-kala-readings>i{font-style:normal;font-weight:950;font-size:.68rem;color:#7a5e88}.g3clock-kala-readings .g3clock-digital{transform:scale(.8)}
.g3clock-digital-to-analog,.g3clock-build-final{display:grid;gap:16px;place-items:center;padding:24px;border-radius:28px;background:#f7fffded}.g3clock-digital-to-analog h2,.g3clock-build-final h2{margin:0;text-align:center}.g3clock-clock-choices{display:flex;align-items:center;justify-content:center;gap:15px;width:100%}.g3clock-clock-choices>button{flex:1;max-width:210px;min-height:225px;border:3px solid #b5ddd6;border-radius:22px;background:#fff;display:grid;place-items:center;gap:8px;padding:12px;cursor:pointer;transition:.25s}.g3clock-clock-choices>button:hover,.g3clock-clock-choices>button:focus-visible{border-color:#f0a91d;box-shadow:0 0 0 5px #ffc85b55;transform:translateY(-3px)}.g3clock-clock-choices>button.assessment-correct{border-color:#ef9b14;box-shadow:0 0 0 6px #ffb51e55}.g3clock-clock-choices>button.wrong-cell{border-color:#e36868;animation:none}.g3clock-clock-choices .g3clock-face{--clock-size:150px;border-width:7px}.g3clock-clock-choices .g3clock-numbers b{font-size:.72rem}.g3clock-clock-choices>button>span{font-weight:950;color:#0b5956}.g3clock-speech-time{padding:24px;border-radius:22px;background:#fff5ce;color:#815400;text-align:center;font-size:1.4rem;font-weight:950}.g3clock-five-packs{display:flex;gap:9px;align-items:center;justify-content:center}.g3clock-five-packs b,.g3clock-five-packs strong{padding:12px 15px;border-radius:15px;background:#fff0bb;color:#8d5a00;font-size:1.3rem}.g3clock-five-packs i{font-style:normal;color:#e87543;font-weight:950}
.g3clock-alternative{position:absolute;z-index:8;right:18px;bottom:18px;width:min(430px,calc(100% - 36px));padding:16px;border:3px solid #f0b83f;border-radius:20px;background:#fffdf4;box-shadow:0 18px 36px #1237}.g3clock-alternative p{margin:9px 0 0;font-weight:800;color:#35565b}.g3clock-linear{display:flex;align-items:flex-start;justify-content:space-between;padding:10px 8px 0;border-top:5px solid #0d8b82}.g3clock-linear i{position:relative;width:2px;height:13px;background:#0d8b82}.g3clock-linear b{position:absolute;top:15px;left:50%;transform:translateX(-50%);font-size:.58rem;color:#164b52}.g3clock-quadrants{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:170px;height:170px;margin:auto;border:6px solid #fff;border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px #8ecfc6}.g3clock-quadrants i{display:grid;place-items:center;text-align:center;font-style:normal;font-weight:950;color:#164b52}.g3clock-quadrants i:nth-child(1){background:#e8f7e9}.g3clock-quadrants i:nth-child(2){background:#fff0bd}.g3clock-quadrants i:nth-child(3){background:#dcecff}.g3clock-quadrants i:nth-child(4){background:#eee0ff}.g3clock-box-help{display:flex;gap:12px;align-items:center;justify-content:center}.g3clock-box-help b{padding:15px;border-radius:14px;background:#173f4e;color:#baffcb}.g3clock-box-help i{font-style:normal;font-size:1.8rem;font-weight:950}.show-g3clock-guides .g3clock-hand{filter:drop-shadow(0 0 8px #ffb000)}.show-g3clock-guides .g3clock-minute-ring b{opacity:1;background:#fff4b8;border-radius:999px;padding:2px}
.g3clock-finish{display:grid;gap:14px;place-items:center;padding:24px;border-radius:28px;background:#f7fffded;text-align:center}.g3clock-finish>span{font-weight:950;letter-spacing:.15em;color:#087f76}.g3clock-finish h1{margin:0;color:#073f4d}.g3clock-finish>div{display:flex;align-items:center;gap:22px}.g3clock-finish>div>i{font-style:normal;font-size:2.2rem;color:#eb7b47}.g3clock-finish p{margin:0;font-weight:900;color:#4b696d}
@media (max-width:1050px){.g3clock-workbench{padding:24px}.g3clock-station,.g3clock-workbench{min-height:500px}.g3clock-face{--clock-size:220px}.g3clock-clock-choices .g3clock-face{--clock-size:130px}.g3clock-clock-choices>button{min-height:205px}}
@media (max-width:720px){.grade3-clock-board{overflow:visible}.g3clock-station{min-height:640px;border-radius:22px}.g3clock-workbench{min-height:640px;padding:16px 12px}.g3clock-workbench>div{width:100%}.g3clock-face{--clock-size:205px;border-width:7px}.g3clock-intro{grid-template-columns:1fr;gap:9px}.g3clock-event-card{grid-template-columns:48px 1fr;min-height:76px;text-align:left;padding:10px 14px}.g3clock-event-card span{grid-row:1/3;font-size:2rem}.g3clock-intro-title{grid-column:1}.g3clock-intro-title h1{font-size:1.2rem}.g3clock-two-languages,.g3clock-seconds,.g3clock-hands-lesson,.g3clock-five-ring,.g3clock-landmarks,.g3clock-three-way,.g3clock-repair,.g3clock-independent,.g3clock-passage,.g3clock-kala{grid-template-columns:1fr;padding:14px;gap:12px}.g3clock-two-languages>i,.g3clock-passage>i{transform:rotate(90deg)}.g3clock-two-languages h2,.g3clock-seconds .board-kicker,.g3clock-seconds p,.g3clock-hands-lesson>.board-kicker,.g3clock-hands-lesson>h2,.g3clock-five-ring>.board-kicker,.g3clock-five-ring>p,.g3clock-landmarks>.board-kicker,.g3clock-landmarks>h2,.g3clock-three-way>.board-kicker,.g3clock-three-way>h2,.g3clock-repair>.board-kicker,.g3clock-repair>h2,.g3clock-independent>.board-kicker,.g3clock-independent>h2,.g3clock-passage>h2,.g3clock-kala>h2,.g3clock-reading{grid-column:1}.g3clock-seconds .g3clock-face{justify-self:center}.g3clock-second-counter{justify-self:center}.g3clock-hand-cards{grid-template-columns:1fr 1fr}.g3clock-hand-cards section{grid-template-columns:32px 1fr;padding:10px;gap:2px 7px}.g3clock-hand-cards i{width:8px;height:44px}.g3clock-hand-cards .hour i{height:34px}.g3clock-landmark-map{grid-template-columns:repeat(4,1fr)}.g3clock-landmark-map b{padding:8px 3px;font-size:.9rem}.g3clock-reading{flex-wrap:wrap}.g3clock-kala-readings .g3clock-digital{transform:scale(.72)}.g3clock-digital-to-analog,.g3clock-build-final{padding:14px}.g3clock-clock-choices{gap:7px}.g3clock-clock-choices>button{min-width:0;min-height:150px;padding:6px;border-width:2px}.g3clock-clock-choices .g3clock-face{--clock-size:95px;border-width:5px}.g3clock-clock-choices .g3clock-numbers b{font-size:.5rem}.g3clock-clock-choices .g3clock-ticks i{display:none}.g3clock-clock-choices>button>span{font-size:.72rem}.g3clock-speech-time{padding:14px;font-size:1.05rem}.g3clock-alternative{position:relative;right:auto;bottom:auto;margin:12px auto 0}.g3clock-finish{padding:16px}.g3clock-finish h1{font-size:1.35rem}.g3clock-finish>div{gap:8px;transform:scale(.82);width:120%;justify-content:center}}

/* Rakamlar ve Sayılar · 58 sayfalık kaynak uyarlaması */
.source-digit-board {
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  background: linear-gradient(145deg, #f8fcfa, #e7f4ef);
  overflow: auto;
}
.source-digit-content {
  width: min(100%, 760px);
  margin: auto;
}
.source-digit-content > h1 {
  margin: 5px 0 16px;
  font-size: clamp(24px, 3.5vw, 38px);
  color: #153b35;
}
.source-number-intro .number-hunt-lights {
  inset: 0;
  pointer-events: none;
}
.source-number-intro .number-hunt-lights i {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 4px solid #ffd35a;
  border-radius: 50%;
  opacity: 0;
}
.source-number-intro .number-hunt-lights i:nth-child(1) {
  left: 39%;
  top: 13%;
}
.source-number-intro .number-hunt-lights i:nth-child(2) {
  left: 46%;
  top: 13%;
}
.source-number-intro .number-hunt-lights i:nth-child(3) {
  left: 28%;
  top: 19%;
}
.source-number-intro .number-hunt-lights i:nth-child(4) {
  left: 18%;
  top: 13%;
}
.source-number-intro .number-hunt-lights i:nth-child(5) {
  left: 57%;
  top: 18%;
}
.source-number-intro .number-hunt-lights i:nth-child(6) {
  right: 13%;
  top: 8%;
}
.source-number-intro .number-hunt-lights i:nth-child(7) {
  left: 58%;
  top: 31%;
}
.source-number-intro .number-hunt-lights i:nth-child(8) {
  left: 18%;
  bottom: 9%;
}
.source-number-intro .number-hunt-lights i:nth-child(9) {
  right: 34%;
  bottom: 8%;
}
.source-number-intro .number-hunt-lights i:nth-child(10) {
  right: 15%;
  bottom: 18%;
}
.source-number-intro.narrating-hunt .number-hunt-lights i {
  animation: numberHuntPulse 1.15s calc(var(--hunt) * 0.34s) ease-in-out both;
}
@keyframes numberHuntPulse {
  0% {
    opacity: 0;
    transform: scale(0.65);
  }
  35%,
  70% {
    opacity: 1;
    transform: scale(1.12);
    box-shadow: 0 0 0 9px #ffd35a55;
  }
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
}
.source-number-intro .number-intro-badge {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 20px;
}
.source-number-intro .number-intro-badge b {
  font-size: 20px;
}
.number-discover-host {
  display: grid;
  grid-template-columns: 1fr auto 125px;
  align-items: center;
  gap: 22px;
  min-height: 320px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 42px #164c3b17;
}
.source-number-objects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
}
.source-number-objects button {
  position: relative;
  width: clamp(55px, 7vw, 82px);
  height: clamp(55px, 7vw, 82px);
  padding: 6px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: #f6fbf9;
  cursor: pointer;
}
.source-number-objects img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.source-number-objects button i {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  opacity: 0;
}
.source-number-objects button.counted {
  border-color: var(--teal);
  background: #dff5ed;
}
.source-number-objects button.counted i {
  opacity: 1;
}
.discover-equals {
  font-size: 50px;
  color: #f0b42d;
}
.discover-digit {
  display: grid;
  place-items: center;
  width: 125px;
  height: 150px;
  border-radius: 30px;
  background: #0b8a7c;
  color: #fff;
  font-size: 100px;
  line-height: 1;
  box-shadow: 0 15px 35px #08756735;
}
.source-number-options {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.source-number-options button {
  min-width: 86px;
  min-height: 72px;
  border: 3px solid #b9ddd5;
  border-radius: 22px;
  background: #fff;
  color: #0b6c62;
  font: 900 35px/1 system-ui;
  cursor: pointer;
}
.source-number-options button:hover,
.source-number-options button:focus-visible {
  border-color: #0b8a7c;
  transform: translateY(-2px);
}
.narrating-count .source-number-objects button {
  animation: countObjectGlow 0.8s ease both;
}
.narrating-count .source-number-objects button:nth-child(2) {
  animation-delay: 0.45s;
}
.narrating-count .source-number-objects button:nth-child(3) {
  animation-delay: 0.9s;
}
.narrating-count .source-number-objects button:nth-child(4) {
  animation-delay: 1.35s;
}
.narrating-count .source-number-objects button:nth-child(5) {
  animation-delay: 1.8s;
}
.narrating-count .source-number-objects button:nth-child(6) {
  animation-delay: 2.25s;
}
.narrating-count .source-number-objects button:nth-child(7) {
  animation-delay: 2.7s;
}
.narrating-count .source-number-objects button:nth-child(8) {
  animation-delay: 3.15s;
}
.narrating-count .source-number-objects button:nth-child(9) {
  animation-delay: 3.6s;
}
@keyframes countObjectGlow {
  35%,
  70% {
    transform: scale(1.16);
    box-shadow: 0 0 0 7px #ffd35a99;
  }
}
.number-count-hint .source-number-objects button {
  animation: countObjectGlow 0.9s ease;
}
.number-frame-method .source-number-objects {
  padding: 14px;
  border: 4px solid #f0b42d;
  border-radius: 22px;
  background: repeating-linear-gradient(
    90deg,
    #fff 0,
    #fff calc(20% - 2px),
    #ecdcae calc(20% - 2px),
    #ecdcae 20%
  );
}
.trace-teacher-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.teacher-trace-model,
.student-trace-pad {
  position: relative;
  padding: 14px;
  border-radius: 26px;
  background: #fff;
  text-align: center;
  box-shadow: 0 15px 35px #174b3e12;
}
.teacher-trace-model > span,
.student-trace-pad > span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e7f5f1;
  color: #0b6c62;
  font-weight: 900;
}
.digit-tracer {
  display: block;
  width: min(100%, 270px);
  height: min(42vh, 370px);
  margin: auto;
  touch-action: none;
  cursor: crosshair;
}
.digit-tracer > rect {
  fill: #f8fcfa;
  stroke: #d2e8e2;
  stroke-width: 3;
}
.trace-guides path {
  fill: none;
  stroke: #b7d8d1;
  stroke-width: 28;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trace-user-line {
  fill: none;
  stroke: #0d9888;
  stroke-width: 20;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trace-user-line.trace-stroke-complete {
  stroke: #43b86a;
}
.trace-starts circle {
  fill: #ffd055;
  stroke: #fff;
  stroke-width: 4;
  filter: drop-shadow(0 0 9px #f2bb35);
  animation: traceStartPulse 1.4s infinite;
}
.trace-starts circle.started {
  opacity: 0.25;
  animation: none;
}
.trace-starts circle.next {
  fill: #ff8c66;
}
@keyframes traceStartPulse {
  50% {
    filter: drop-shadow(0 0 15px #f2bb35);
    transform: scale(1.15);
    transform-origin: center;
  }
}
.teacher-trace-model .trace-guides path {
  stroke: #0b8a7c;
  stroke-width: 19;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.teacher-model-playing .trace-guides path {
  animation: teacherTraceDraw 4.8s ease-in-out forwards;
}
.teacher-model-playing .trace-guides path:nth-child(2) {
  animation-delay: 2.5s;
}
.teacher-model-slow .trace-guides path {
  animation: teacherTraceDraw 8s ease-in-out forwards !important;
}
.teacher-model-slow .trace-guides path:nth-child(2) {
  animation-delay: 4.2s !important;
}
@keyframes teacherTraceDraw {
  to {
    stroke-dashoffset: 0;
  }
}
.student-trace-pad .trace-guides path {
  stroke-dasharray: 9 9;
}
.trace-hint .trace-starts circle {
  fill: #ff775e;
  animation-duration: 0.7s;
}
.trace-next-stroke {
  box-shadow: 0 0 0 5px #ffd05566;
}
.trace-complete > rect {
  fill: #e5f8e8;
  stroke: #43b86a;
}
.trace-shake {
  animation: traceShake 0.4s;
}
@keyframes traceShake {
  25% {
    transform: translateX(-8px);
  }
  75% {
    transform: translateX(8px);
  }
}
.life-number-board .source-digit-content > h1 {
  text-align: center;
}
.life-scene-host {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px #183f361f;
}
.life-scene-host > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.life-count-strip {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 18px;
  background: #ffffffdb;
  transform: translateY(150%);
  transition: 0.6s;
}
.life-count-strip img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.narrating-life:after,
.life-scan-hint:after {
  content: "";
  position: absolute;
  inset: 4%;
  border: 6px solid #ffd055;
  border-radius: 26px;
  animation: lifeScan 2.8s ease-in-out infinite;
}
@keyframes lifeScan {
  50% {
    box-shadow: 0 0 0 12px #ffd05544;
    opacity: 0.55;
  }
}
.life-separated-method .life-count-strip {
  transform: none;
}
.narrating-life .life-count-strip img {
  animation: countObjectGlow 0.8s ease;
}
.narrating-life .life-count-strip img:nth-child(2) {
  animation-delay: 0.45s;
}
.narrating-life .life-count-strip img:nth-child(3) {
  animation-delay: 0.9s;
}
.narrating-life .life-count-strip img:nth-child(4) {
  animation-delay: 1.35s;
}
.narrating-life .life-count-strip img:nth-child(5) {
  animation-delay: 1.8s;
}
.narrating-life .life-count-strip img:nth-child(6) {
  animation-delay: 2.25s;
}
.narrating-life .life-count-strip img:nth-child(7) {
  animation-delay: 2.7s;
}
.narrating-life .life-count-strip img:nth-child(8) {
  animation-delay: 3.15s;
}
.narrating-life .life-count-strip img:nth-child(9) {
  animation-delay: 3.6s;
}
.number-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.number-group-grid > button {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 6px;
  min-height: 175px;
  padding: 16px;
  border: 3px solid #c9e1dc;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
}
.number-group-grid img,
.match-number-row img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.digit-hunt-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.digit-hunt-grid button {
  min-height: 66px;
  border: 3px solid #d1e6e1;
  border-radius: 18px;
  background: #fff;
  color: #16483f;
  font: 900 30px/1 system-ui;
  cursor: pointer;
}
.digit-hunt-grid button.hunt-found {
  border-color: #43b86a;
  background: #dff6e5;
  color: #1a7c3c;
  animation: correctPop 0.42s;
}
.paint-number-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.paint-number-grid button {
  height: 105px;
  border: 3px solid #d7e9e5;
  border-radius: 20px;
  background: #fff;
  filter: grayscale(1);
  opacity: 0.62;
  cursor: pointer;
}
.paint-number-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.paint-number-grid button.painted {
  border-color: #43b86a;
  background: #dff7e7;
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.complete-number-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 250px;
}
.complete-number-row > img,
.complete-number-row button {
  width: 105px;
  height: 105px;
  object-fit: contain;
}
.complete-number-row button {
  border: 4px dashed #efb940;
  border-radius: 24px;
  background: #fff6d8;
  color: #e19b15;
  font-size: 44px;
  cursor: pointer;
}
.complete-number-row button.filled {
  border-style: solid;
  border-color: #43b86a;
  background: #e8f8ec;
}
.complete-number-row button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.match-number-row {
  display: grid;
  grid-template-columns: 120px repeat(3, 1fr);
  align-items: stretch;
  gap: 12px;
}
.match-number-row > strong {
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #0b8a7c;
  color: #fff;
  font-size: 88px;
}
.match-number-row > button {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 3px;
  min-height: 245px;
  padding: 10px;
  border: 3px solid #d1e5e0;
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
}
.mission-progress {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}
.mission-progress i {
  width: 42px;
  height: 8px;
  border-radius: 99px;
  background: #dce8e5;
}
.mission-progress i.active {
  background: #0b8a7c;
}
.zero-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.zero-card-grid > button,
.zero-card-grid.compact > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 175px;
  border: 3px solid #d0e5e0;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
}
.zero-card-grid img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}
.empty-card-space {
  display: block;
  width: 80%;
  height: 115px;
  border: 4px dashed #ecd99b;
  border-radius: 20px;
  background: #fffbef;
}
.zero-card-grid button.empty-found {
  border-color: #43b86a;
  background: #e6f8eb;
}
.zero-reveal {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 18px auto 0;
  border-radius: 50%;
  background: #0b8a7c;
  color: #fff;
  font-size: 80px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.5);
}
.zero-reveal.shown {
  opacity: 1;
  transform: scale(1);
  transition: 0.5s;
}
.zero-park-board .source-digit-content > img {
  display: block;
  width: min(100%, 590px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: auto;
  border-radius: 28px;
}
.zero-match-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.zero-match-row > div,
.zero-match-row > img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}
.teen-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  border-radius: 26px;
  background: #fff4ee;
}
.teen-ten-frames {
  display: flex;
  gap: 8px;
}
.mini-ten-frame {
  display: grid;
  grid-template-columns: repeat(5, 28px);
  grid-template-rows: repeat(2, 28px);
  gap: 4px;
  padding: 7px;
  border: 3px solid #ef8267;
  border-radius: 12px;
}
.mini-ten-frame i,
.teen-ones i {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f4735b;
}
.teen-model > strong {
  font-size: 38px;
  color: #d1755f;
}
.teen-ones {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 160px;
}
.teen-ones span {
  font-size: 38px;
  font-weight: 900;
  color: #d1755f;
}
.narrating-teen .mini-ten-frame i,
.narrating-teen .teen-ones i {
  animation: countObjectGlow 0.8s ease;
}
.teen-trace-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.teen-trace-cell {
  width: min(42%, 245px);
  padding: 5px;
  border: 4px solid transparent;
  border-radius: 24px;
  background: #fff;
}
.teen-trace-cell .digit-tracer {
  height: min(36vh, 310px);
}
.teen-trace-cell.active {
  border-color: #ffd055;
}
.teen-trace-cell.locked {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.35;
}
.teen-trace-cell.done {
  border-color: #43b86a;
  background: #e5f8ea;
}
.quantity-teen-board .large-quantity-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}
.quantity-teen-board .large-quantity-row button {
  width: auto;
  height: 58px;
  padding: 3px;
}
.quantity-teen-board .teen-model {
  padding: 11px;
}
.check-source-objects {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.check-source-objects.compact {
  grid-template-columns: repeat(9, 1fr);
}
.check-source-objects button {
  width: auto;
  height: 65px;
  padding: 3px;
}
.source-number-park {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 190px;
  padding: 20px;
  border-radius: 28px;
  background: #fff4ee;
}
.source-number-park span,
.source-number-park button {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 3px solid #ef8065;
  border-radius: 50%;
  background: #fff;
  color: #17443d;
  font: 900 27px/1 system-ui;
}
.source-number-park button {
  cursor: pointer;
}
.source-number-park button.active {
  border-color: #0b8a7c;
  box-shadow: 0 0 0 9px #0b8a7c26;
  animation: traceStartPulse 1.2s infinite;
}
.source-number-park button.filled {
  border-color: #43b86a;
  background: #e2f7e8;
}
.source-number-park i {
  color: #ef8065;
  font-style: normal;
}
.park-number-bank {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
  margin-top: 18px;
}
.park-number-bank button {
  min-height: 54px;
  border: 2px solid #c9e3dd;
  border-radius: 14px;
  background: #fff;
  color: #0a7166;
  font-weight: 900;
  cursor: pointer;
}
.park-step-hint span,
.park-step-hint button {
  animation: countObjectGlow 1s ease;
}
.park-number-line-method {
  padding-bottom: 72px;
  background: #fff8dc;
}
.park-number-line-method::after {
  position: absolute;
  left: 50%;
  bottom: 17px;
  translate: -50% 0;
  width: max-content;
  max-width: 92%;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffe08a;
  color: #735100;
  font: 900 18px/1.2 system-ui;
  letter-spacing: 5px;
  content: "● → ● → ●";
  animation: traceStartPulse 1.2s ease-in-out infinite;
}
.park-number-line-method[data-park-direction="geri"]::after {
  content: "● ← ● ← ●";
}
.source-number-park.compact {
  min-height: 130px;
}
.source-number-park.compact span,
.source-number-park.compact button {
  width: 65px;
  height: 65px;
}
.source-numbers-check #source-numbers-check-host {
  min-height: 470px;
  display: grid;
  align-content: center;
}
.check-trace-alone .digit-tracer {
  height: 380px;
}
.check-progress {
  margin-top: 8px;
}
.check-progress i {
  width: 28px;
}
@media (max-width: 900px) {
  .number-discover-host {
    grid-template-columns: 1fr auto;
  }
  .discover-digit {
    grid-column: 1/-1;
    width: 100%;
    height: 105px;
    font-size: 74px;
  }
  .match-number-row {
    grid-template-columns: 90px 1fr;
  }
  .match-number-row > button {
    min-height: 150px;
  }
  .park-number-bank {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 640px) {
  .trace-teacher-row {
    grid-template-columns: 1fr;
  }
  .teacher-trace-model {
    display: none;
  }
  .student-trace-pad .digit-tracer {
    height: 320px;
  }
  .digit-hunt-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .zero-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .source-number-park {
    gap: 3px;
    padding: 8px;
  }
  .source-number-park span,
  .source-number-park button {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
  .quantity-teen-board .large-quantity-row {
    grid-template-columns: repeat(5, 1fr);
  }
  .mini-ten-frame {
    grid-template-columns: repeat(5, 20px);
    grid-template-rows: repeat(2, 20px);
  }
  .mini-ten-frame i,
  .teen-ones i {
    width: 18px;
    height: 18px;
  }
  .paint-number-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ritmik Saymalar · kaynak sayfa 1–26 */
.rhythmic-cover,
.rhythmic-concept,
.rhythmic-sequence-board,
.rhythmic-grid-board,
.rhythmic-dot-board,
.rhythmic-rule-board {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f5fbf8, #e2f2ed);
}
.rhythmic-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rhythmic-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 67, 61, 0.32));
  pointer-events: none;
}
.cover-rhythm-route {
  position: absolute;
  z-index: 2;
  left: 7%;
  right: 7%;
  bottom: 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cover-rhythm-route i {
  display: grid;
  place-items: center;
  width: clamp(42px, 6vw, 66px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: #086f64;
  font-style: normal;
  font-size: clamp(20px, 3vw, 30px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}
.cover-rhythm-route span {
  position: absolute;
  left: 0;
  top: -50px;
  color: #ffcf47;
  font-size: 45px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  opacity: 0;
}
.rhythmic-cover.narrating-rhythm .cover-rhythm-route span {
  opacity: 1;
  animation: coverRhythmMove var(--rhythmic-narration, 9s) linear forwards;
}
.rhythmic-cover.narrating-rhythm .cover-rhythm-route i {
  animation: routePulse 1.15s ease-in-out infinite;
}
@keyframes coverRhythmMove {
  0% {
    left: 0;
  }
  92%,
  100% {
    left: calc(100% - 48px);
  }
}
@keyframes routePulse {
  50% {
    transform: translateY(-7px);
    box-shadow: 0 0 0 7px rgba(255, 207, 71, 0.5);
  }
}
.rhythmic-concept > div,
.rhythmic-sequence-board > div,
.rhythmic-grid-board > div,
.rhythmic-dot-board > div,
.rhythmic-rule-board > div {
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rhythmic-concept h1,
.rhythmic-rule-board h1 {
  margin: 6px 0 20px;
  text-align: center;
  font-size: clamp(25px, 4vw, 38px);
  color: #17433e;
}
.concept-lane {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 3vw, 32px);
  min-height: 140px;
  margin: 9px 0;
  padding: 20px 60px;
  border-radius: 30px;
  background: #fff;
}
.concept-lane.backward {
  flex-direction: row-reverse;
  background: #fff8e6;
}
.concept-lane i {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #dff1ec;
  border: 4px solid #88c9bc;
  font-style: normal;
  color: #075f57;
  font-size: 27px;
}
.concept-lane i:not(:last-of-type)::after {
  content: "";
  position: absolute;
  left: 67px;
  width: clamp(18px, 3vw, 33px);
  border-top: 5px dotted #efb940;
}
.concept-lane.backward i:not(:last-of-type)::after {
  left: auto;
  right: 67px;
}
.concept-lane em {
  position: absolute;
  left: calc(50% - 185px);
  top: 54px;
  color: #ed735e;
  font-style: normal;
  font-size: 28px;
  opacity: 0;
  z-index: 2;
}
.concept-lane.backward em {
  left: auto;
  right: calc(50% - 185px);
}
.rhythmic-concept.narrating-rhythm .concept-lane em {
  opacity: 1;
  animation: conceptHop calc(var(--rhythmic-narration, 8s) / 2) ease-in-out 2;
}
.rhythmic-concept.narrating-rhythm .concept-lane.backward em {
  animation-direction: reverse;
}
@keyframes conceptHop {
  0% {
    transform: translateX(0);
  }
  22% {
    transform: translateX(90px) translateY(-30px);
  }
  45% {
    transform: translateX(180px);
  }
  68% {
    transform: translateX(270px) translateY(-30px);
  }
  100% {
    transform: translateX(360px);
  }
}
.direction-sign {
  position: absolute;
  left: 17px;
  font-size: 38px;
  color: #0b887a;
}
.concept-lane.backward .direction-sign {
  left: auto;
  right: 17px;
}
.concept-pairs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}
.concept-pairs span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
}
.concept-pairs i,
.jump-pack i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef735f;
}
.concept-pairs b {
  color: #08786c;
}
.rhythmic-task-count {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 18px;
}
.rhythmic-task-count i {
  width: 32px;
  height: 7px;
  border-radius: 99px;
  background: #d7e7e3;
}
.rhythmic-task-count i.current {
  background: #efb940;
}
.rhythmic-task-count i.done {
  background: #0b887a;
}
#rhythmic-sequence-host {
  position: relative;
}
.rhythmic-sequence-line,
.rule-sequence {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 180px;
  padding: 45px 42px 30px;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}
.rhythmic-sequence-line > b,
.rule-sequence > b {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: clamp(48px, 7vw, 70px);
  height: clamp(48px, 7vw, 70px);
  padding: 0 8px;
  border-radius: 50%;
  background: #e2f3ee;
  color: #08766b;
  font-size: clamp(20px, 3vw, 28px);
}
.rhythmic-sequence-line b.blank-number,
.rule-sequence b:last-child {
  background: #fff3ce;
  border: 4px dashed #efb940;
  color: #d59411;
}
.rhythmic-sequence-line em {
  position: relative;
  width: 28px;
  height: 45px;
  font-style: normal;
}
.rhythmic-sequence-line em u {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 25px;
  border: 3px solid #f0bb43;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  text-decoration: none;
  opacity: 0.55;
}
.rhythmic-sequence-line.backward {
  flex-direction: row-reverse;
}
.rhythmic-sequence-line.backward .sequence-direction {
  left: auto;
  right: 18px;
}
.sequence-direction {
  position: absolute;
  left: 18px;
  top: 16px;
  color: #078176;
  font-size: 36px;
}
.sequence-hopper {
  position: absolute;
  left: 8%;
  top: 37px;
  color: #ef735f;
  font-size: 25px;
  opacity: 0;
  z-index: 3;
}
.rhythmic-sequence-line.narrating-rhythm .sequence-hopper {
  opacity: 1;
  animation: sequenceHop var(--rhythmic-narration, 7s) ease-in-out forwards;
}
.rhythmic-sequence-line.backward.narrating-rhythm .sequence-hopper {
  left: auto;
  right: 8%;
  animation-name: sequenceHopBack;
}
@keyframes sequenceHop {
  0% {
    left: 8%;
  }
  15% {
    transform: translateY(-26px);
  }
  25% {
    transform: none;
  }
  40% {
    transform: translateY(-26px);
  }
  50% {
    transform: none;
  }
  65% {
    transform: translateY(-26px);
  }
  75% {
    transform: none;
  }
  90% {
    transform: translateY(-26px);
  }
  100% {
    left: 88%;
    transform: none;
  }
}
@keyframes sequenceHopBack {
  0% {
    right: 8%;
  }
  15% {
    transform: translateY(-26px);
  }
  25% {
    transform: none;
  }
  40% {
    transform: translateY(-26px);
  }
  50% {
    transform: none;
  }
  65% {
    transform: translateY(-26px);
  }
  75% {
    transform: none;
  }
  90% {
    transform: translateY(-26px);
  }
  100% {
    right: 88%;
    transform: none;
  }
}
.jump-hint em u,
.jump-hint i {
  animation: attentionGlow 0.7s ease-in-out infinite alternate;
}
.rhythmic-answer-shapes {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.rhythmic-answer-shapes button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 105px;
  height: 76px;
  border: 3px solid #c9e2dc;
  border-radius: 21px;
  background: #fff;
  color: #08756a;
  font-size: 29px;
  font-weight: 900;
  cursor: pointer;
}
.rhythmic-answer-shapes button i {
  position: absolute;
  bottom: 8px;
  width: 38px;
  height: 5px;
  border-radius: 99px;
  background: #efb940;
}
.rhythmic-answer-shapes button.assessment-correct {
  background: #dff7e7;
  border-color: #43b86a;
  color: #197b3d;
}
.rhythmic-concrete-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 15px;
  padding: 14px;
  border-radius: 22px;
  background: #fff6dc;
  animation: methodReveal 0.5s ease both;
}
.method-direction {
  font-size: 38px;
  color: #08776b;
}
.jump-pack {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 4px;
  width: 105px;
  min-height: 70px;
  padding: 9px 9px 20px;
  border: 3px solid #efc75f;
  border-radius: 18px;
  background: #fff;
  animation: packAppear 0.45s ease both;
  animation-delay: calc(var(--pack) * 0.18s);
}
.jump-pack b {
  position: absolute;
  right: 6px;
  bottom: 2px;
  color: #ba7c00;
}
.jump-pack i {
  width: 11px;
  height: 11px;
}
@keyframes packAppear {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.grid-direction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.grid-direction b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: #08776b;
  font-size: 23px;
}
.grid-direction i {
  font-style: normal;
  font-size: 38px;
  color: #efb940;
}
.grid-direction.attention {
  animation: attentionGlow 0.65s infinite alternate;
}
.rhythmic-number-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: clamp(4px, 1vw, 9px);
  width: min(100%, 700px);
  margin: auto;
}
.rhythmic-number-grid button {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid #cbe1dc;
  border-radius: 13px;
  background: #fff;
  color: #315f59;
  font-weight: 800;
  font-size: clamp(12px, 2vw, 19px);
  cursor: pointer;
  transition: 0.2s;
}
.rhythmic-number-grid.hundred button {
  border-radius: 7px;
}
.rhythmic-number-grid button.rhythm-member {
  box-shadow: inset 0 0 0 2px rgba(239, 185, 64, 0.18);
}
.rhythmic-number-grid button.stepped {
  background: #0b887a;
  color: #fff;
  border-color: #0b887a;
  transform: scale(1.05);
}
.rhythmic-number-grid button.next-step {
  animation: readyTouch 0.7s infinite alternate;
  border-color: #efb940;
}
.moving-grid-token {
  position: absolute;
  z-index: 4;
  left: 10%;
  bottom: 10%;
  font-size: 29px;
  color: #ef735f;
  opacity: 0;
}
.token-method .moving-grid-token {
  opacity: 1;
  animation: gridToken 4.8s ease-in-out infinite;
}
@keyframes gridToken {
  0% {
    left: 10%;
    bottom: 10%;
  }
  25% {
    left: 30%;
    bottom: 27%;
  }
  50% {
    left: 50%;
    bottom: 44%;
  }
  75% {
    left: 70%;
    bottom: 61%;
  }
  100% {
    left: 88%;
    bottom: 78%;
  }
}
.rhythmic-dot-board svg {
  width: min(100%, 700px);
  height: auto;
  margin: auto;
  touch-action: manipulation;
}
.rhythmic-dot-board polyline {
  fill: none;
  stroke: #efb940;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.12));
}
.rhythmic-dot-board g {
  cursor: pointer;
  outline: none;
}
.rhythmic-dot-board circle {
  fill: #fff;
  stroke: #7fc2b5;
  stroke-width: 5;
}
.rhythmic-dot-board text {
  fill: #086f64;
  font-size: 20px;
  font-weight: 900;
  pointer-events: none;
}
.rhythmic-dot-board g.connected circle {
  fill: #0b887a;
  stroke: #0b887a;
}
.rhythmic-dot-board g.connected text {
  fill: #fff;
}
.rhythmic-dot-board g.next-step circle {
  animation: readyTouch 0.65s infinite alternate;
  stroke: #efb940;
}
.rhythmic-dot-board g.wrong-dot circle {
  fill: #ffe2dc;
  stroke: #ef735f;
}
.dot-step-cue {
  position: absolute;
  right: 22px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #08776b;
}
.dot-step-cue i {
  font-style: normal;
  font-size: 24px;
  color: #efb940;
}
.dot-step-cue.attention {
  animation: attentionGlow 0.65s infinite alternate;
}
.stone-method::after {
  content: "●";
  position: absolute;
  z-index: 4;
  left: 13%;
  top: 22%;
  color: #ef735f;
  font-size: 27px;
  animation: stoneGuide 4s ease-in-out infinite;
}
@keyframes stoneGuide {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(130px, 90px);
  }
  50% {
    transform: translate(260px, 0);
  }
  75% {
    transform: translate(390px, 90px);
  }
  100% {
    transform: translate(520px, 0);
  }
}
.rule-sequence {
  min-height: 135px;
}
.rule-sequence i {
  color: #efb940;
  font-style: normal;
  font-size: 25px;
}
.pattern-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pattern-paths button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100px;
  border: 4px solid #d5e6e2;
  border-radius: 22px;
  background: #fff;
  color: #0a756a;
  cursor: pointer;
}
.pattern-paths button.selected {
  border-color: #0b887a;
  background: #dff4ed;
  box-shadow: 0 0 0 5px rgba(11, 136, 122, 0.14);
}
.pattern-paths b {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #edf7f4;
  font-size: 19px;
}
.pattern-paths i {
  font-style: normal;
  color: #efb940;
}
.phase-button.compact {
  display: flex;
  margin: 18px auto 0;
}
.oral-rhythm-invite {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 10px 16px;
  border: 2px solid #c8e0da;
  border-radius: 16px;
  background: #fff;
  color: #075f57;
  cursor: pointer;
}
.oral-rhythm-invite span {
  font-size: 25px;
}
.rhythmic-finish-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0;
}
.rhythmic-finish-routes span {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  color: #08776b;
  font-size: 21px;
  font-weight: 900;
}
.rhythmic-finish.celebrate .rhythmic-finish-routes span {
  animation: routePulse 1.2s ease-in-out 2;
}
@media (max-width: 900px) {
  .rhythmic-sequence-line {
    padding-inline: 14px;
    gap: 4px;
  }
  .rhythmic-sequence-line > b {
    min-width: 43px;
    height: 43px;
    font-size: 17px;
  }
  .rhythmic-sequence-line em {
    width: 14px;
  }
  .concept-lane {
    padding-inline: 42px;
    gap: 14px;
  }
  .concept-lane i {
    width: 58px;
    height: 58px;
  }
  .concept-lane i:not(:last-of-type)::after {
    left: 55px;
  }
  .concept-lane.backward i:not(:last-of-type)::after {
    right: 55px;
  }
  .rhythmic-number-grid.hundred {
    gap: 3px;
  }
  .rhythmic-number-grid.hundred button {
    font-size: 11px;
  }
  .pattern-paths {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .cover-rhythm-route i {
    width: 38px;
  }
  .rhythmic-concept > div,
  .rhythmic-sequence-board > div,
  .rhythmic-grid-board > div,
  .rhythmic-dot-board > div,
  .rhythmic-rule-board > div {
    padding: 12px;
  }
  .concept-lane {
    min-height: 105px;
    padding: 12px 35px;
    gap: 8px;
  }
  .concept-lane i {
    width: 45px;
    height: 45px;
    font-size: 17px;
  }
  .concept-lane i:not(:last-of-type)::after {
    left: 42px;
    width: 13px;
  }
  .concept-lane.backward i:not(:last-of-type)::after {
    right: 42px;
  }
  .rhythmic-sequence-line {
    min-height: 145px;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .rhythmic-answer-shapes button {
    min-width: 78px;
    height: 65px;
  }
  .jump-pack {
    width: 85px;
  }
  .rhythmic-finish-routes {
    grid-template-columns: 1fr;
  }
  .dot-step-cue {
    right: 8px;
    top: 8px;
    font-size: 12px;
  }
}

.rhythmic-sequence-line.backward {
  flex-direction: row;
}
.rhythmic-sequence-board > div,
.rhythmic-grid-board > div,
.rhythmic-dot-board > div {
  position: relative;
  min-width: 0;
}
.rhythmic-sequence-line {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: clamp(2px, 0.55vw, 7px);
  padding: 44px clamp(8px, 1vw, 18px) 26px;
}
.rhythmic-sequence-line > b {
  min-width: clamp(36px, 4.9vw, 54px);
  width: clamp(36px, 4.9vw, 54px);
  height: clamp(42px, 5.5vw, 60px);
  padding: 0;
  font-size: clamp(17px, 2.3vw, 25px);
  flex: 0 0 auto;
}
.rhythmic-sequence-line em {
  width: clamp(8px, 1.45vw, 18px);
  min-width: 8px;
  flex: 0 1 18px;
}
.rhythmic-sequence-line.long-sequence {
  gap: 2px;
  padding-inline: 8px;
}
.rhythmic-sequence-line.long-sequence > b {
  min-width: 34px;
  width: 48px;
  max-width: 48px;
  height: 48px;
  flex: 1 1 0;
  font-size: clamp(16px, 2vw, 22px);
}
.rhythmic-sequence-line.long-sequence em {
  width: 6px;
  min-width: 4px;
  max-width: 10px;
  flex: 0 1 10px;
}
.rhythmic-answer-shapes {
  flex-wrap: wrap;
  max-width: 100%;
}
.rhythmic-answer-shapes button {
  min-width: clamp(82px, 12vw, 105px);
}
.rhythmic-motion-synced .sequence-hopper,
.rhythmic-motion-synced .concept-lane em,
.rhythmic-motion-synced .cover-rhythm-route span {
  animation: none !important;
  right: auto !important;
  bottom: auto !important;
  opacity: 1;
}
.rhythmic-grid-board.rhythmic-motion-synced .moving-grid-token {
  animation: none !important;
  right: auto !important;
  bottom: auto !important;
  opacity: 1;
}
.rhythmic-dot-token {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  color: #ef735f;
  font-size: 27px;
  opacity: 0;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}
.rhythmic-dot-board.rhythmic-motion-synced .rhythmic-dot-token {
  opacity: 1;
}
@media (max-width: 900px) {
  .rhythmic-sequence-line > b {
    min-width: 36px;
    width: 36px;
    height: 44px;
    font-size: 17px;
  }
  .rhythmic-sequence-line em {
    width: 8px;
  }
  .rhythmic-sequence-line em u {
    border-width: 2px;
  }
}

/* Sayı ve Şekil Örüntüleri · kaynak sayfa 1–18 */
.pattern-cover,
.pattern-discovery,
.pattern-movement,
.pattern-rules,
.pattern-task-board,
.pattern-shape-teach,
.pattern-paint-board,
.pattern-object-board,
.pattern-explain-board,
.pattern-create-board,
.pattern-assessment-board {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f7fcfa, #e4f2ed);
}
.pattern-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pattern-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 67, 60, 0.38));
  pointer-events: none;
}
.pattern-cover-unit {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 6%;
  translate: -50% 0;
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  border: 4px solid #ffd057;
  border-radius: 22px;
  background: #ffffffed;
  box-shadow: 0 12px 30px #173e3450;
}
.pattern-cover-unit i {
  display: block;
  width: 54px;
  height: 54px;
}
.shape-cube {
  background: #ef705b;
  border-radius: 9px;
}
.shape-cylinder {
  border-radius: 50%;
  background: #f6c448;
}
.shape-triangle {
  background: #2f83c8;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.pattern-discovery > div,
.pattern-movement > div,
.pattern-rules > div,
.pattern-task-board > div,
.pattern-shape-teach > div,
.pattern-paint-board > div,
.pattern-object-board > div,
.pattern-explain-board > div,
.pattern-create-board > div,
.pattern-assessment-board > div {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: clamp(16px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pattern-discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pattern-discovery-grid > .pattern-sequence {
  min-height: 170px;
  padding: 24px 12px;
  border-radius: 24px;
  background: #fff;
}
.pattern-discovery-grid > .pattern-sequence:nth-child(2) {
  background: #fff8df;
}
.pattern-discovery-grid > .pattern-sequence:nth-child(3) {
  background: #fff0ec;
}
.pattern-discovery-grid > .pattern-sequence:nth-child(4) {
  background: #f0edff;
}
.pattern-sequence {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 12px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
}
.pattern-sequence > * {
  flex: 0 1 auto;
}
.pattern-number,
.pattern-gap {
  display: grid;
  place-items: center;
  width: clamp(44px, 7vw, 78px);
  height: clamp(52px, 8vw, 86px);
  border: 3px solid #acd8cf;
  border-radius: 20px;
  background: #edf8f5;
  color: #096f65;
  font-size: clamp(21px, 3.2vw, 34px);
  font-weight: 900;
}
.pattern-gap {
  border: 4px dashed #efb93e;
  background: #fff9e7;
  color: #d39310;
  cursor: pointer;
}
.pattern-gap.correct-cell {
  border-style: solid;
  border-color: #43b86a;
  background: #e4f7e9;
}
.pattern-object-tile {
  display: grid;
  place-items: center;
  width: clamp(52px, 8vw, 84px);
  height: clamp(66px, 10vw, 102px);
  padding: 6px;
  border: 3px solid #c4e0da;
  border-radius: 20px;
  background: #fff;
}
.pattern-source-object {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pattern-shape {
  display: block;
  width: clamp(46px, 7vw, 74px);
  height: clamp(46px, 7vw, 74px);
  background: #ef715d;
  border: 3px solid #8971da;
}
.shape-circle {
  border-radius: 50%;
  background: #ef715d;
}
.shape-square {
  background: #438dce;
}
.shape-rectangle {
  width: clamp(58px, 9vw, 94px);
  height: clamp(38px, 5vw, 58px);
  background: #f5c242;
}
.shape-triangle,
.shape-triangle-up {
  background: #52bc6d;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.shape-triangle-down {
  background: #8065ca;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.pattern-sequence .unit-member,
.paint-sequence .unit-member {
  box-shadow: 0 0 0 6px #ffd45a66;
}
.pattern-sequence.show-unit .unit-member,
.pattern-hint .unit-member {
  animation: attentionGlow 0.7s ease-in-out infinite alternate;
}
.pattern-method .pattern-sequence > [data-pattern-item]:not(.unit-member),
.pattern-method .paint-sequence > *:not(.unit-member) {
  filter: grayscale(0.7);
  opacity: 0.22;
}
.pattern-method .pattern-sequence,
.pattern-method .paint-sequence {
  outline: 5px solid #ffd057;
  outline-offset: 4px;
}
.pattern-hint .pattern-sequence,
.pattern-hint .paint-sequence {
  box-shadow: 0 0 0 7px #ffd05755;
}
.pattern-number-palette,
.pattern-object-palette,
.shape-stamp-palette,
.paint-palette,
.pattern-rule-buttons,
.unit-choice-row,
.create-palette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.pattern-number-palette button,
.pattern-rule-buttons button,
.unit-choice-row button {
  min-width: 74px;
  min-height: 64px;
  border: 3px solid #badbd4;
  border-radius: 18px;
  background: #fff;
  color: #087166;
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
}
.pattern-number-palette button.selected,
.pattern-object-palette button.selected,
.shape-stamp-palette button.selected,
.paint-palette button.selected {
  border-color: #0b887a;
  box-shadow: 0 0 0 6px #0b887a28;
  transform: translateY(-4px);
}
.movement-model,
.movement-slots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.movement-model {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
}
.movement-model span,
.movement-slots span,
.movement-slots button {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 3px solid #c3dfd8;
  border-radius: 50%;
  background: #fff;
  font-size: 42px;
}
.movement-model span:nth-child(3n + 1) {
  background: #ffe6df;
}
.movement-model span:nth-child(3n + 2) {
  background: #fff3c9;
}
.movement-model span:nth-child(3n) {
  background: #def4ef;
}
.movement-builder {
  padding: 20px;
  border-radius: 26px;
  background: #fff6d8;
}
.movement-palette {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 16px;
}
.movement-palette button {
  width: 82px;
  height: 68px;
  border: 3px solid #e1c16b;
  border-radius: 18px;
  background: #fff;
  font-size: 36px;
  cursor: pointer;
}
.movement-slots button {
  cursor: pointer;
}
.movement-slots button:not(.filled) {
  border-style: dashed;
  color: #e0a117;
}
.movement-slots span {
  border-color: #43b86a;
  background: #e7f8eb;
}
.rule-demo {
  position: relative;
  margin: 10px 0;
}
.rule-demo > .pattern-sequence {
  padding-right: 82px;
}
.rule-demo > i {
  position: absolute;
  right: 17px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
  font-size: 21px;
  font-style: normal;
  font-weight: 900;
}
.rule-demo.repeat > i {
  background: #ef735f;
}
.rule-demo.minus > i {
  background: #4a8fd2;
}
.object-rule-row {
  position: relative;
  margin: 16px 0;
}
.object-rule-row .pattern-sequence {
  padding-bottom: 36px;
}
.unit-brace {
  position: absolute;
  left: 12%;
  bottom: 7px;
  width: 25%;
  border-bottom: 5px solid #efb940;
  text-align: center;
  color: #9c6c00;
  font-style: normal;
  font-weight: 900;
}
.pattern-shape-teach .object-rule-row:nth-child(3) .unit-brace {
  width: 37%;
}
.paint-sequence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 25px);
  padding: 26px;
  border-radius: 26px;
  background: #fff;
}
.paint-shape {
  width: clamp(66px, 10vw, 105px);
  height: clamp(66px, 10vw, 105px);
  border: 4px solid #0ba394;
  background: #fff;
  cursor: pointer;
}
.paint-shape.shape-triangle,
.paint-shape.shape-triangle-up {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.paint-shape.shape-triangle-down {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.paint-shape.shape-circle {
  border-radius: 50%;
}
.paint-palette button {
  width: 62px;
  height: 62px;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #bcd9d3;
  cursor: pointer;
}
.paint-pink {
  background: #ee69a3 !important;
}
.paint-purple {
  background: #7b63ca !important;
}
.paint-green {
  background: #54bc6c !important;
}
.paint-coral {
  background: #ef705b !important;
}
.paint-yellow {
  background: #f6c449 !important;
}
.shape-stamp-palette button,
.pattern-object-palette button,
.create-palette button {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 8px;
  border: 3px solid #c4ded8;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
}
.shape-stamp-palette .pattern-shape,
.create-palette .pattern-shape {
  width: 58px;
  height: 58px;
}
.pattern-object-palette button {
  height: 105px;
}
.pattern-object-palette img {
  width: 78px;
  height: 78px;
}
.unit-choice-row button {
  font-size: 22px;
  letter-spacing: 7px;
}
.pattern-voice-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.pattern-voice-footer .student-prompt {
  flex: 1;
}
.create-unit,
.create-repeat {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  margin: 14px 0;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
}
.create-unit > button {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 4px dashed #efb940;
  border-radius: 20px;
  background: #fff8df;
  color: #e0a216;
  font-size: 32px;
  cursor: pointer;
}
.create-repeat {
  min-height: 150px;
  opacity: 0.35;
}
.create-repeat.ready {
  opacity: 1;
  box-shadow: inset 0 0 0 4px #43b86a55;
}
.assessment-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.assessment-dots i {
  width: 48px;
  height: 8px;
  border-radius: 99px;
  background: #d9e7e4;
}
.assessment-dots i.current {
  background: #efb940;
}
.assessment-dots i.done {
  background: #0b887a;
}
.finish-pattern-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 24px;
}
.pattern-finish .pattern-shape {
  animation: routePulse 1.2s ease-in-out 2;
}
.correct-cell {
  border-color: #43b86a !important;
  background-color: #e4f7e9 !important;
  animation: correctPop 0.42s;
}
.wrong-cell {
  animation: traceShake 0.4s;
}
.pattern-task-board .pattern-sequence,
.pattern-object-board .pattern-sequence,
.pattern-explain-board .pattern-sequence,
.pattern-assessment-board .pattern-sequence {
  min-height: 190px;
}
.pattern-task-board #pattern-repeat-host,
.pattern-task-board #pattern-rule-host,
.pattern-task-board #stamp-host,
.pattern-task-board #missing-number-host,
.pattern-object-board #object-pattern-host,
.pattern-explain-board #explain-host,
.pattern-assessment-board #pattern-check-host {
  width: 100%;
  min-width: 0;
}
@media (max-width: 900px) {
  .pattern-discovery-grid {
    grid-template-columns: 1fr;
  }
  .pattern-discovery-grid > .pattern-sequence {
    min-height: 110px;
  }
  .pattern-sequence {
    padding: 10px;
    gap: 4px;
  }
  .pattern-number,
  .pattern-gap {
    width: 42px;
    height: 52px;
    font-size: 19px;
  }
  .pattern-object-tile {
    width: 48px;
    height: 61px;
  }
  .pattern-shape {
    width: 43px;
    height: 43px;
  }
  .movement-model span,
  .movement-slots span,
  .movement-slots button {
    width: 64px;
    height: 64px;
    font-size: 30px;
  }
  .pattern-voice-footer {
    flex-direction: column;
  }
  .pattern-voice-footer .oral-rhythm-invite {
    margin: 0;
  }
  .pattern-shape-teach > div,
  .pattern-discovery > div,
  .pattern-task-board > div {
    padding: 12px;
  }
  .paint-sequence {
    gap: 7px;
    padding: 14px;
  }
  .paint-shape {
    width: 66px;
    height: 66px;
  }
  .rule-demo > .pattern-sequence {
    padding-right: 62px;
  }
  .rule-demo > i {
    width: 45px;
    height: 45px;
    right: 8px;
  }
}
@media (max-width: 640px) {
  .pattern-cover-unit i {
    width: 40px;
    height: 40px;
  }
  .pattern-discovery-grid {
    gap: 8px;
  }
  .pattern-discovery-grid > .pattern-sequence {
    min-height: 85px;
  }
  .pattern-object-palette button,
  .shape-stamp-palette button,
  .create-palette button {
    width: 72px;
    height: 72px;
  }
  .pattern-object-palette img {
    width: 60px;
    height: 60px;
  }
  .movement-model {
    gap: 5px;
    padding: 10px;
  }
  .movement-model span {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .pattern-number-palette,
  .pattern-object-palette,
  .shape-stamp-palette,
  .paint-palette,
  .pattern-rule-buttons {
    gap: 7px;
    margin-top: 10px;
  }
  .pattern-number-palette button,
  .pattern-rule-buttons button {
    min-width: 58px;
    min-height: 52px;
    font-size: 20px;
  }
}

/* Örüntü geri bildirimleri: kaynak rengi, konuşma vurguları ve doğrudan boyama */
.pattern-cover-unit .shape-triangle {
  background: #2f83c8;
}
.pattern-discovery-grid > .discovery-example {
  display: grid;
  align-items: center;
  min-height: 170px;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
}
.pattern-discovery-grid > .discovery-example:nth-child(2) {
  background: #fff8df;
}
.pattern-discovery-grid > .discovery-example:nth-child(3) {
  background: #fff0ec;
}
.pattern-discovery-grid > .discovery-example:nth-child(4) {
  background: #f0edff;
}
.discovery-example .pattern-sequence {
  background: transparent;
  padding: 12px;
}
.pattern-rule-buttons.needs-choice {
  animation: attentionGlow 0.45s ease-in-out 2;
  outline: 5px solid #ffd057;
  outline-offset: 5px;
  border-radius: 18px;
}
.paint-shape {
  background: #eef8f4;
  opacity: 1;
}
.paint-shape[disabled] {
  opacity: 1;
}
.paint-shape:not([disabled]) {
  background: #d8eee7;
  filter: drop-shadow(0 0 2px #0b8f81);
}
.paint-shape.painted-correct {
  border-color: #198b65;
  box-shadow: 0 0 0 6px #43b86a35;
  animation: correctPop 0.42s;
}
@media (max-width: 900px) {
  .pattern-discovery-grid > .discovery-example {
    min-height: 110px;
  }
}
@media (max-width: 640px) {
  .pattern-discovery-grid > .discovery-example {
    min-height: 85px;
  }
}

/* Tahmin · kaynak sayfa 1–11 */
.estimate-cover,
.estimate-task-board,
.estimate-method-board,
.estimate-examples-board,
.estimate-threshold-board,
.estimate-nearest-board {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fcfa, #e5f3ee);
}
.estimate-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.estimate-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 73, 66, 0.42));
  pointer-events: none;
}
.estimate-cover-symbols {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 6%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 4px solid #ffd057;
  border-radius: 24px;
  background: #ffffffec;
  box-shadow: 0 12px 32px #143c3550;
}
.estimate-cover-symbols span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: #e6f5f0;
  font-size: 29px;
}
.estimate-cover-symbols i {
  color: #e4aa22;
  font-size: 25px;
  font-style: normal;
}
.estimate-task-board > div,
.estimate-method-board > div,
.estimate-examples-board > div,
.estimate-threshold-board > div,
.estimate-nearest-board > div {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: clamp(14px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.estimate-object-field {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--estimate-columns), minmax(0, 1fr));
  align-content: center;
  gap: clamp(4px, 1.2vw, 13px);
  width: min(100%, 720px);
  min-height: 310px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
}
.estimate-object-field.scene-sky {
  background: linear-gradient(#49b8ec, #e9f9ff);
}
.estimate-object-field.scene-library {
  background: linear-gradient(145deg, #fff1c9, #e6c18b);
}
.estimate-object-field.scene-paper {
  background: #fff7d7;
}
.estimate-object-field.scene-lab {
  background: linear-gradient(145deg, #f3eaff, #e6f3ee);
}
.estimate-object {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(52px, 8vw, 88px);
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.18s,
    background 0.18s,
    filter 0.18s;
}
.estimate-object:nth-child(3n + 2) {
  transform: translateY(7px);
}
.estimate-object:nth-child(4n) {
  transform: translateY(-6px);
}
.estimate-object img {
  width: 100%;
  height: 100%;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px #163e3630);
  pointer-events: none;
}
.estimate-object i {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: none;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 2px 8px #123a3344;
}
.estimate-object.counted {
  background: #e3f7ed;
  border-color: #43b86a;
  filter: saturate(0.9);
}
.estimate-object.counted i {
  display: grid;
}
.estimate-object-field.paintable .estimate-object.counted {
  background: #ffe181;
}
.estimate-object-field.paintable .estimate-object.counted img {
  filter: sepia(0.35) saturate(1.8) hue-rotate(320deg)
    drop-shadow(0 3px 2px #163e3630);
}
.estimate-object-field.grouped-five .group-0 {
  box-shadow: inset 0 0 0 4px #efb94066;
  background: #fff7cf;
}
.estimate-object-field.grouped-five .group-1 {
  box-shadow: inset 0 0 0 4px #5ba5dd66;
  background: #eaf5ff;
}
.estimate-object-field.grouped-five .group-2 {
  box-shadow: inset 0 0 0 4px #8b71d466;
  background: #f1edff;
}
.estimate-object-field.grouped-five .group-3 {
  box-shadow: inset 0 0 0 4px #ef735f66;
  background: #fff0ec;
}
.estimate-object-field.count-trace-hint .estimate-object.counted {
  animation: countTrace 0.72s ease-in-out;
  animation-delay: calc(var(--object-index) * 0.08s);
}
@keyframes countTrace {
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 7px #ffd05788;
  }
}
.estimate-curtain {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    90deg,
    #6d59b9 0,
    #806dca 12%,
    #6d59b9 24%
  );
  box-shadow: inset 0 0 50px #34267588;
}
.estimate-curtain::before,
.estimate-curtain::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9%;
  background: #57449f;
}
.estimate-curtain::before {
  left: 0;
}
.estimate-curtain::after {
  right: 0;
}
.estimate-curtain span {
  font-size: 64px;
  filter: drop-shadow(0 7px 8px #2a1e7555);
}
.estimate-curtain i {
  position: absolute;
  bottom: 24%;
  width: 38%;
  height: 5px;
  border-radius: 99px;
  background: #ffd057;
}
.estimate-preview-host {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.estimate-countdown {
  position: relative;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  margin-top: 10px;
  border-radius: 50%;
  background: #083f3b;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  box-shadow: 0 0 0 6px #ffd057;
  animation: countdownBeat 1s ease-in-out infinite;
}
@keyframes countdownBeat {
  50% {
    transform: scale(1.08);
  }
}
.estimate-eye-button {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 16px auto 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 20px;
  background: #0b887a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px #0b665840;
}
.estimate-eye-button span {
  font-size: 34px;
}
.estimate-eye-button i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffd057;
  color: #684a00;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}
.estimate-entry-panel {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 4px solid #efb940;
  border-radius: 24px;
  background: #fffffff2;
  box-shadow: 0 12px 30px #24453d3d;
}
.entry-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #fff0bd;
  font-size: 25px;
}
.estimate-number-entry {
  display: flex;
  align-items: center;
  gap: 10px;
}
.estimate-number-entry input {
  width: 86px;
  height: 64px;
  border: 4px solid #9ccfc5;
  border-radius: 17px;
  background: #fff;
  color: #087167;
  text-align: center;
  font-size: 35px;
  font-weight: 900;
  outline: none;
}
.estimate-number-entry input:focus {
  border-color: #0b887a;
  box-shadow: 0 0 0 5px #0b887a22;
}
.estimate-keypad {
  display: grid;
  grid-template-columns: repeat(6, 48px);
  gap: 5px;
}
.estimate-keypad button {
  height: 48px;
  border: 2px solid #c6ded9;
  border-radius: 12px;
  background: #fff;
  color: #086b62;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}
.estimate-keypad .number-submit {
  background: #0b887a;
  color: #fff;
  border-color: #0b887a;
}
.estimate-number-entry.entry-needs-number {
  animation: traceShake 0.4s;
}
.count-progress-ring {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: baseline;
  padding: 11px 16px;
  border-radius: 18px;
  background: #083f3bdd;
  color: #fff;
}
.count-progress-ring b {
  font-size: 29px;
}
.count-progress-ring span {
  font-size: 15px;
}
.estimate-relation-options {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  margin-top: 18px;
}
.estimate-relation-options button {
  display: grid;
  place-items: center;
  width: clamp(100px, 16vw, 150px);
  height: 96px;
  border: 4px solid #badbd4;
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
}
.relation-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: 96px;
  height: 72px;
}
.relation-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  height: 70px;
}
.relation-mini em {
  font-style: normal;
  font-size: 17px;
  line-height: 1;
}
.relation-mini i {
  display: block;
  width: 28px;
  border-radius: 9px;
}
.relation-mini.guess i {
  background: #efb940;
}
.relation-mini.actual i {
  background: #4c96d6;
}
.relation-bars.low .guess i,
.relation-bars.high .actual i {
  height: 27px;
}
.relation-bars.low .actual i,
.relation-bars.high .guess i {
  height: 50px;
}
.relation-bars.equal i {
  height: 39px;
}
.estimate-relation-options button.relation-correct,
.nearest-options button.relation-correct {
  border-color: #43b86a;
  background: #e2f7e8;
  box-shadow: 0 0 0 6px #43b86a30;
  animation: correctPop 0.42s;
}
.estimate-comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  width: min(100%, 610px);
  min-height: 285px;
  padding: 24px 28px 62px;
  border-radius: 28px;
  background: #fff;
}
.comparison-card {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  height: 190px;
  padding: 18px 16px 22px;
  border-radius: 22px;
  background: #eff8f5;
  overflow: visible;
}
.comparison-card span,
.comparison-card b {
  position: relative;
  z-index: 2;
}
.comparison-card span {
  font-size: 24px;
}
.comparison-card b {
  font-size: 42px;
  color: #075f57;
}
.comparison-card i {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 16px;
  height: var(--bar);
  border-radius: 16px;
  background: #8fd3c2aa;
  box-shadow: inset 0 0 0 3px #4c9c8a2b;
}
.comparison-card.guess i {
  background: #efb94099;
  box-shadow: inset 0 0 0 3px #c88b242e;
}
.comparison-symbol {
  align-self: center;
  color: #0b887a;
  font-size: 34px;
}
.comparison-number-line {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: none;
  grid-template-columns: repeat(21, 1fr);
  align-items: end;
  height: 38px;
  border-bottom: 4px solid #98c8bf;
}
.comparison-number-line i {
  position: relative;
  height: 10px;
  border-left: 2px solid #98c8bf;
}
.comparison-number-line span {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 10px;
  translate: -50% 0;
  font-size: 11px;
}
.comparison-number-line .guess-mark {
  height: 25px;
  border-color: #efb940;
  border-width: 6px;
}
.comparison-number-line .actual-mark {
  height: 33px;
  border-color: #0b887a;
  border-width: 6px;
}
.comparison-number-line .guess-mark span,
.comparison-number-line .actual-mark span {
  display: block;
}
.estimate-comparison.show-number-line .comparison-number-line {
  display: grid;
}
.estimate-comparison.comparison-hint .comparison-card {
  animation: attentionGlow 0.7s ease-in-out 2;
}
.comparison-answer {
  position: absolute;
  right: 18px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #43b86a;
  color: #fff;
  font-size: 28px;
}
.result-object-strip {
  display: flex;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  margin-top: 14px;
}
.result-object-strip img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.estimate-result .estimate-comparison {
  min-height: 275px;
}
.estimate-method-model {
  position: relative;
  width: min(100%, 720px);
  min-height: 390px;
}
.estimate-method-model .estimate-object-field {
  min-height: 360px;
}
.method-curtain,
.method-guess,
.method-count-marks,
.method-compare {
  position: absolute;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.method-curtain {
  inset: 0;
  border-radius: 30px;
  background: #6b59b8dd;
}
.method-guess {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  padding: 18px 28px;
  border-radius: 22px;
  background: #fff;
  color: #a16c00;
  font-size: 38px;
  font-weight: 900;
}
.method-count-marks {
  inset: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: center;
}
.method-count-marks i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  justify-self: end;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
  font-size: 12px;
  font-style: normal;
}
.method-compare {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  padding: 19px 30px;
  border-radius: 22px;
  background: #fff;
  color: #075f57;
  font-size: 35px;
  font-weight: 900;
}
.method-compare b {
  color: #efb940;
}
.estimate-method-model[data-method-step="0"] .estimate-object {
  animation: attentionGlow 1s ease-in-out 2;
}
.estimate-method-model[data-method-step="1"] .method-curtain,
.estimate-method-model[data-method-step="1"] .method-guess {
  opacity: 1;
}
.estimate-method-model[data-method-step="2"] .method-count-marks {
  opacity: 1;
}
.estimate-method-model[data-method-step="2"] .estimate-object {
  animation: countTrace 0.7s ease-in-out;
  animation-delay: calc(var(--object-index) * 0.12s);
}
.estimate-method-model[data-method-step="3"] .method-curtain,
.estimate-method-model[data-method-step="3"] .method-compare {
  opacity: 1;
}
.estimate-four-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  width: min(100%, 720px);
  margin-top: 12px;
}
.estimate-four-steps > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px;
  border: 3px solid #d0e3df;
  border-radius: 18px;
  background: #fff;
}
.estimate-four-steps > div.active {
  border-color: #efb940;
  background: #fff6d6;
  box-shadow: 0 0 0 6px #efb94028;
}
.estimate-four-steps span {
  font-size: 27px;
}
.estimate-four-steps small {
  color: #175c55;
  font-weight: 800;
}
.estimate-example-row {
  display: grid;
  grid-template-columns: 1fr 145px 45px;
  align-items: center;
  gap: 12px;
  width: min(100%, 720px);
  min-height: 165px;
  margin: 7px 0;
  padding: 14px;
  border: 4px solid transparent;
  border-radius: 24px;
  background: #fff;
  transition: 0.2s;
}
.estimate-example-row.active {
  border-color: #efb940;
  box-shadow: 0 0 0 7px #efb9402f;
  transform: scale(1.015);
}
.estimate-example-objects {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 3px;
  min-height: 110px;
}
.estimate-example-objects img {
  width: clamp(34px, 4.2vw, 54px);
  height: clamp(34px, 4.2vw, 54px);
  object-fit: contain;
}
.example-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #075f57;
}
.example-numbers span {
  padding: 8px;
  border-radius: 13px;
  background: #eef8f5;
}
.example-numbers i {
  color: #efb940;
  font-style: normal;
}
.estimate-example-row > strong {
  font-size: 34px;
  color: #43a964;
}
.estimate-example-row.relation-high > strong {
  color: #4d94d0;
}
.estimate-example-row.relation-equal > strong {
  color: #8a70d1;
}
.five-choice-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.five-choice-row button {
  display: grid;
  place-items: center;
  width: 190px;
  min-height: 100px;
  padding: 12px;
  border: 4px solid #bfded7;
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
}
.five-choice-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.five-choice-frame {
  display: grid;
  grid-template-columns: repeat(5, 22px);
  gap: 4px;
  padding: 6px;
  border: 4px solid #0b887a;
  border-radius: 14px;
  background: #f6fbfa;
}
.five-choice-frame i {
  width: 22px;
  height: 36px;
  border: 2px solid #acd4cc;
  border-radius: 7px;
  background: #fff;
}
.five-choice-frame i.filled {
  border-color: #dc604d;
  background: #ef735f;
}
.five-choice-overflow {
  display: flex;
  gap: 5px;
}
.five-choice-overflow i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef735f;
  box-shadow: 0 0 0 3px #ffe5df;
}
.five-frame-model {
  display: grid;
  grid-template-columns: repeat(5, 38px);
  gap: 5px;
  margin-top: 14px;
  padding: 8px;
  border: 4px solid #0b887a;
  border-radius: 16px;
  background: #fff;
}
.five-frame-model i {
  width: 38px;
  height: 38px;
  border: 2px solid #a8d3ca;
  border-radius: 8px;
}
.five-frame-model i.filled {
  background: #ef735f;
}
.five-frame-model.result {
  animation: attentionGlow 0.8s ease-in-out 2;
}
.nearest-options {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}
.nearest-options button {
  min-width: 100px;
  height: 70px;
  border: 4px solid #bddbd5;
  border-radius: 19px;
  background: #fff;
  color: #087167;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}
.nearest-options.model button {
  pointer-events: none;
}
.nearest-number-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 600px);
  margin-top: 17px;
}
.nearest-number-line span {
  display: grid;
  place-items: center;
  min-width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #eef8f5;
  color: #086d64;
  font-weight: 900;
}
.nearest-number-line i {
  width: 70px;
  border-top: 5px dotted #bad7d1;
}
.nearest-number-line span.nearest {
  background: #fff0b9;
  box-shadow: 0 0 0 5px #efb94055;
}
.nearest-number-line span.actual {
  background: #dff4ed;
  box-shadow: 0 0 0 5px #0b887a44;
}
.assessment-check-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  margin-top: 20px;
  border-radius: 28px;
  background: #0b887a;
  color: #fff;
  font-size: 55px;
  animation: correctPop 0.5s;
}
.finish-estimate-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px;
}
.finish-estimate-route span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #fff;
  font-size: 34px;
}
.finish-estimate-route i {
  color: #efb940;
  font-size: 31px;
  font-style: normal;
}
.estimate-finish .finish-estimate-route span {
  animation: routePulse 1.1s ease-in-out 2;
}
@media (max-width: 900px) {
  .estimate-task-board > div,
  .estimate-method-board > div,
  .estimate-examples-board > div,
  .estimate-threshold-board > div,
  .estimate-nearest-board > div {
    padding: 10px;
  }
  .estimate-object-field {
    min-height: 300px;
    padding: 13px;
  }
  .estimate-object {
    min-height: 48px;
  }
  .estimate-entry-panel {
    position: relative;
    left: auto;
    bottom: auto;
    translate: none;
    margin-top: 10px;
  }
  .estimate-number-entry {
    flex-direction: column;
  }
  .estimate-keypad {
    grid-template-columns: repeat(6, 42px);
  }
  .estimate-keypad button {
    height: 42px;
  }
  .estimate-method-model {
    min-height: 310px;
  }
  .estimate-method-model .estimate-object-field {
    min-height: 300px;
  }
  .estimate-example-row {
    grid-template-columns: 1fr 125px 38px;
    min-height: 135px;
  }
  .estimate-example-objects img {
    width: 34px;
    height: 34px;
  }
  .estimate-comparison {
    min-height: 230px;
  }
  .estimate-four-steps small {
    display: none;
  }
}
@media (max-width: 640px) {
  .estimate-object-field {
    min-height: 265px;
    gap: 2px;
    padding: 8px;
  }
  .estimate-object {
    min-height: 39px;
    border-radius: 11px;
  }
  .estimate-object img {
    max-height: 56px;
  }
  .estimate-object i {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
  .estimate-keypad {
    grid-template-columns: repeat(4, 40px);
  }
  .estimate-relation-options {
    gap: 6px;
  }
  .estimate-relation-options button {
    width: 88px;
    height: 75px;
  }
  .relation-bars {
    scale: 0.8;
  }
  .estimate-four-steps {
    gap: 4px;
  }
  .estimate-four-steps > div {
    min-height: 50px;
  }
  .estimate-example-row {
    grid-template-columns: 1fr 95px 28px;
    padding: 6px;
  }
  .estimate-example-objects img {
    width: 27px;
    height: 27px;
  }
  .five-choice-row {
    gap: 6px;
  }
  .five-choice-row button {
    width: 145px;
    padding: 6px;
  }
  .five-choice-frame {
    grid-template-columns: repeat(5, 16px);
    gap: 3px;
    padding: 5px;
  }
  .five-choice-frame i {
    width: 16px;
    height: 30px;
  }
  .five-choice-overflow {
    gap: 3px;
  }
  .five-choice-overflow i {
    width: 13px;
    height: 13px;
  }
  .finish-estimate-route {
    gap: 5px;
  }
  .finish-estimate-route span {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}

/* Tema 3 · Uzunluk Ölçme */
.length-cover,
.length-flower-board,
.length-train-board,
.length-children-board {
  position: relative;
  overflow: hidden;
}
.length-cover > img,
.length-flower-board > img,
.length-train-board > img,
.length-children-board > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.length-cover-trace {
  position: absolute;
  left: 20%;
  right: 21%;
  top: 47.5%;
  height: 16%;
  opacity: 0;
}
.length-cover-trace i {
  position: absolute;
  left: 0;
  right: 27%;
  top: 50%;
  border-top: 8px solid #ffd057;
  filter: drop-shadow(0 0 8px #fff);
}
.length-cover-trace b {
  position: absolute;
  right: 0;
  top: 17%;
  bottom: 17%;
  border-left: 8px dashed #ef735f;
}
.length-ribbon-board,
.length-rocket-board,
.length-pair-board,
.length-order-board,
.length-chair-board,
.length-rank-board,
.length-units-board,
.length-unit-choice-board,
.length-handspan-board,
.length-estimate-board,
.length-object-measure-board,
.length-detective-board {
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}
.ribbon-stage {
  position: relative;
  width: min(100%, 700px);
  height: 470px;
  border-radius: 32px;
  background: linear-gradient(#aee4fa 0 55%, #80bd62 56%);
  overflow: hidden;
}
.festival-pole {
  position: absolute;
  z-index: 2;
  top: 55px;
  bottom: 42px;
  width: 24px;
  border-radius: 10px;
  background: #f5e9c6;
  box-shadow: inset -7px 0 #aa8657;
}
.festival-pole::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  translate: -50%;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #ffd057;
}
.festival-pole.left {
  left: 11%;
}
.festival-pole.right {
  right: 11%;
}
.shared-start-line {
  position: absolute;
  z-index: 1;
  left: calc(11% + 12px);
  top: 95px;
  bottom: 60px;
  border-left: 4px dashed #0b887a88;
}
.ribbon-option {
  position: absolute;
  z-index: 3;
  left: calc(11% + 12px);
  height: 64px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ribbon-option i {
  display: block;
  width: 100%;
  height: 24px;
  border-radius: 5px;
  background: var(--ribbon);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--ribbon), #000 15%);
}
.ribbon-short {
  top: 130px;
  width: 48%;
}
.ribbon-exact {
  top: 230px;
  width: 78%;
}
.ribbon-long {
  top: 330px;
  width: 87%;
}
.ribbon-option:hover i,
.ribbon-option:focus-visible i {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 8px #fff8,
    0 7px 0 color-mix(in srgb, var(--ribbon), #000 15%);
}
.ribbon-option.correct-cell i {
  background: #43b86a;
  animation: correctPop 0.45s;
}
.ribbon-stage.length-hint .ribbon-option {
  animation: attentionGlow 0.9s;
}
.ribbon-stage.length-method .shared-start-line {
  border-left-width: 8px;
  border-color: #ffd057;
}
.ribbon-stage.length-reveal .ribbon-exact {
  filter: drop-shadow(0 0 16px #43b86a);
}
.rocket-stage {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: end;
  gap: 35px;
  width: min(100%, 720px);
  min-height: 520px;
}
.rocket-dock {
  display: grid;
  place-items: center;
  height: 230px;
  border: 4px dashed #9ccfc5;
  border-radius: 28px;
  background: #fff;
}
.rocket-token {
  z-index: 4;
  width: 110px;
  height: 180px;
  border: 0;
  background: transparent;
  font-size: 88px;
  rotate: -44deg;
  cursor: grab;
  touch-action: none;
}
.rocket-token.selected {
  filter: drop-shadow(0 0 13px #ffd057);
}
.rocket-cases {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  height: 390px;
  border-bottom: 7px solid #0b887a;
}
.rocket-case {
  position: relative;
  width: 125px;
  height: var(--case-height);
  border: 8px solid #86bcb4;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  background: #ffffff88;
  cursor: pointer;
}
.rocket-case i {
  position: absolute;
  inset: 8px;
  border: 3px solid #d5e9e4;
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
}
.rocket-stage.length-method .rocket-case {
  background: repeating-linear-gradient(
    0deg,
    #fff0 0 28px,
    #efb94055 29px 32px
  );
}
.rocket-stage.length-reveal .case-middle {
  box-shadow: 0 0 0 8px #43b86a66;
}
.flower-baseline,
.children-baseline {
  position: absolute;
  left: 11%;
  right: 8%;
  bottom: 15%;
  border-top: 7px solid #efb940;
  filter: drop-shadow(0 2px 3px #fff);
}
.flower-hotspots {
  position: absolute;
  inset: 0;
}
.flower-hotspots span {
  position: absolute;
  bottom: 14%;
  width: 15%;
  height: 70%;
  border-radius: 45%;
  transition: 0.25s;
}
.flower-hotspots span:nth-child(1) {
  left: 10%;
  height: 43%;
}
.flower-hotspots span:nth-child(2) {
  left: 27%;
  height: 61%;
}
.flower-hotspots span:nth-child(3) {
  left: 44%;
  height: 79%;
}
.flower-hotspots span:nth-child(4) {
  left: 61%;
  height: 61%;
}
.flower-hotspots span:nth-child(5) {
  left: 78%;
  height: 69%;
}
.flower-hotspots b {
  position: absolute;
  left: 50%;
  bottom: -42px;
  translate: -50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
}
.flower-hotspots span.active {
  box-shadow:
    0 0 0 8px #ffd057,
    0 0 28px #ffd057;
  background: #fff2;
  animation: attentionGlow 0.9s infinite;
}
.length-pair-host {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 90px;
  width: min(100%, 620px);
  height: 480px;
  padding-bottom: 45px;
  border-bottom: 8px solid #0b887a;
}
.length-object-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 150px;
  height: var(--object-height);
  max-height: 390px;
  border: 0;
  border-radius: 30px 30px 8px 8px;
  background: linear-gradient(135deg, #61b8dd, #377dc0);
  cursor: pointer;
}
.length-object-bar span {
  font-size: 64px;
  filter: drop-shadow(0 6px 7px #194a6844);
}
.length-pair-host.length-hint .length-object-bar {
  box-shadow: 0 0 0 7px #efb94044;
}
.length-pair-host.length-method {
  background: repeating-linear-gradient(
    0deg,
    transparent 0 38px,
    #0b887a2e 39px 41px
  );
}
.length-pair-host.length-reveal .length-object-bar:first-of-type {
  filter: drop-shadow(0 0 16px #ffd057);
}
.length-task-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.length-task-dots i {
  width: 38px;
  height: 8px;
  border-radius: 99px;
  background: #d9e6e3;
}
.length-task-dots i.current {
  background: #efb940;
}
.length-task-dots i.done {
  background: #0b887a;
}
.length-order-board > div {
  width: min(100%, 720px);
}
.length-order-host {
  display: grid;
  gap: 26px;
}
.length-order-slots,
.length-order-options {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  min-height: 170px;
}
.length-order-gap,
.length-order-options button {
  display: grid;
  place-items: end center;
  width: 135px;
  height: 155px;
  border: 4px dashed #efb940;
  border-radius: 22px;
  background: #fff9e6;
  cursor: pointer;
}
.length-order-options button {
  border-style: solid;
  border-color: #b9d9d3;
  background: #fff;
}
.length-order-gap i,
.length-order-options i {
  display: block;
  width: 36px;
  height: var(--order-size);
  max-height: 130px;
  border-radius: 13px;
  background: #4d96d6;
}
.length-order-gap.correct-cell {
  border-style: solid;
  border-color: #43b86a;
  background: #e5f8eb;
}
.length-order-host.length-hint .length-order-gap:first-child {
  box-shadow: 0 0 0 8px #efb94044;
}
.length-order-host.length-method .length-order-slots {
  background: linear-gradient(0deg, #0b887a 0 6px, transparent 6px);
}
.chair-reference {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 230px;
  margin: auto;
  font-size: 130px;
}
.chair-reference i {
  position: absolute;
  left: -280px;
  right: -280px;
  top: 35%;
  border-top: 5px dashed #efb940;
}
.length-zone-row {
  display: flex;
  gap: 220px;
  margin-top: 20px;
}
.length-zone-row button {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border: 5px dashed #9ccfc5;
  border-radius: 32px;
  background: #fff;
}
.length-zone-row i {
  font-size: 55px;
  color: #0b887a;
}
.length-object-dock {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
}
.length-object-dock button {
  width: 94px;
  height: 94px;
  border: 3px solid #b8d8d2;
  border-radius: 22px;
  background: #fff;
  font-size: 45px;
  cursor: grab;
  touch-action: none;
}
.length-object-dock button.selected {
  border-color: #efb940;
  box-shadow: 0 0 0 6px #efb94033;
}
.length-rank-board {
  position: relative;
}
.rank-target {
  display: grid;
  place-items: end center;
  height: 180px;
  margin-bottom: 20px;
}
.rank-target i,
.rank-line i {
  display: block;
  width: 38px;
  height: var(--rank-height);
  border-radius: 12px;
  background: #ef735f;
}
.rank-target i {
  box-shadow: 0 0 0 8px #ffd05766;
}
.rank-line {
  display: flex;
  align-items: end;
  gap: 34px;
  border-bottom: 7px solid #0b887a;
}
.rank-line button {
  display: grid;
  place-items: end center;
  width: 120px;
  height: 180px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.rank-line b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 8px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
}
.length-rank-board.length-method::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 42%;
  border-top: 7px solid #ffd057;
  animation: attentionGlow 1s infinite;
}
.unit-model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  width: min(100%, 760px);
}
.unit-model-grid > div,
.unit-choice-row button {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 4px solid #c4ded9;
  border-radius: 30px;
  background: #fff;
  transition: 0.3s;
}
.unit-model-grid span {
  font-size: 75px;
}
.unit-model-grid i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b887a;
}
.unit-model-grid > div.active {
  border-color: #efb940;
  background: #fff8db;
  box-shadow: 0 0 0 9px #efb94033;
  transform: scale(1.06);
}
.unit-model-grid > div.active span {
  animation: unitMotion 1.1s ease-in-out infinite;
}
.length-unit-asset,
.length-unit-symbol {
  display: grid;
  place-items: center;
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.length-unit-asset img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.length-unit-asset.unit-step img {
  transform: scale(0.86);
}
@keyframes unitMotion {
  50% {
    transform: translateX(13px) scale(1.1);
  }
}
.unit-object {
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  margin: auto;
  border-radius: 38px;
  background: #fff;
  font-size: 120px;
  box-shadow: 0 12px 30px #153f3630;
}
.unit-choice-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.unit-choice-row button {
  width: 110px;
  min-height: 110px;
  font-size: 48px;
  cursor: pointer;
  overflow: hidden;
}
.unit-choice-row .length-unit-asset,
.unit-choice-row .length-unit-symbol {
  height: 86px;
  font-size: 48px;
}
.unit-choice-row button.answer-glow,
.unit-choice-row button.correct-cell {
  border-color: #43b86a;
  background: #e6f8eb;
  box-shadow: 0 0 0 7px #43b86a3d;
}
.length-unit-choice-board.length-method .unit-choice-row {
  align-items: end;
}
.length-unit-choice-board.length-method .unit-choice-row button:nth-child(1) {
  height: 90px;
}
.length-unit-choice-board.length-method .unit-choice-row button:nth-child(2) {
  height: 115px;
}
.length-unit-choice-board.length-method .unit-choice-row button:nth-child(3) {
  height: 135px;
}
.length-unit-choice-board.length-method .unit-choice-row button:nth-child(4) {
  height: 155px;
}
.length-unit-choice-board.length-method .unit-choice-row button:nth-child(5) {
  height: 175px;
}
.length-handspan-board,
.length-object-measure-board {
  align-content: center;
}
.measure-object {
  position: relative;
  width: min(90%, 660px);
  height: 170px;
  margin-bottom: 8px;
}
.table-object {
  border-top: 35px solid #8e5d37;
}
.table-object::before,
.table-object::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  background: #8e5d37;
}
.table-object::before {
  left: 35px;
}
.table-object::after {
  right: 35px;
}
.measure-start,
.measure-finish {
  position: absolute;
  top: -58px;
  bottom: -35px;
  border-left: 6px dashed #efb940;
}
.measure-start {
  left: 0;
}
.measure-finish {
  right: 0;
}
.measurement-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: min(95%, 700px);
  min-height: 85px;
  margin: 10px auto;
}
.measurement-slot {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-width: 44px;
  border: 4px dashed #d7a329;
  border-right-width: 2px;
  border-radius: 12px;
  background: #fff8dd;
  color: inherit;
  text-shadow: none;
  cursor: pointer;
}
.measurement-slot.drag-over {
  background: #fff0ad;
  box-shadow: inset 0 0 0 5px #efb940;
}
.measurement-slot.filled {
  border-style: solid;
  border-color: #0b887a;
  background: #dff5ee;
}
.measurement-slot i {
  display: block;
  width: 75%;
  height: 70%;
  border-radius: 20px 6px 20px 6px;
  background: #efb940;
  rotate: -8deg;
}
.measurement-track.length-hint .measurement-slot:not(.filled):first-of-type {
  animation: attentionGlow 0.8s infinite;
}
.measurement-track.length-method {
  box-shadow: inset 10px 0 #43b86a;
}
.measurement-track.length-reveal .measurement-slot:not(.filled):first-of-type {
  background: #dff5ee;
}
.measure-token {
  display: grid;
  place-items: center;
  width: 96px;
  height: 80px;
  margin: 20px auto 0;
  border: 4px solid #aad2ca;
  border-radius: 22px;
  background: #fff;
  font-size: 43px;
  cursor: grab;
  touch-action: none;
}
.measure-token img {
  width: 76px;
  height: 70px;
  object-fit: contain;
}
.handspan-token {
  overflow: hidden;
}
.block-token {
  color: #4d96d6;
}
.length-estimate-board {
  align-content: center;
}
.door-object {
  display: grid;
  place-items: center;
}
.door-scale-visual {
  position: relative;
  display: block;
  width: 190px;
  height: 360px;
  border: 10px solid #b86f42;
  border-radius: 18px;
  background: linear-gradient(135deg, #d99463, #bd7044);
  box-shadow: 0 14px 24px #69371928;
}
.door-scale-visual::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 8%;
  height: 23%;
  border: 5px solid #b66b40;
  border-radius: 12px;
  background: #d18b5d;
  box-shadow:
    0 102px 0 -5px #d18b5d,
    0 102px 0 0 #b66b40,
    0 204px 0 -5px #d18b5d,
    0 204px 0 0 #b66b40;
}
.door-scale-visual::after {
  content: "";
  position: absolute;
  right: 9%;
  top: 49%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffbf3e;
  box-shadow: 0 2px 5px #713b28;
}
.door-object .door-scale-visual {
  width: 105px;
  height: 210px;
  border-width: 7px;
}
.door-object .door-scale-visual::before {
  border-width: 4px;
  box-shadow:
    0 59px 0 -4px #d18b5d,
    0 59px 0 0 #b66b40,
    0 118px 0 -4px #d18b5d,
    0 118px 0 0 #b66b40;
}
.length-estimate-options {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.length-estimate-options button {
  display: flex;
  align-items: end;
  gap: 3px;
  width: 150px;
  height: 110px;
  padding: 15px;
  border: 4px solid #bad9d3;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
}
.length-estimate-options i {
  flex: 1;
  height: 55px;
  border-radius: 9px;
  background: #efb940;
}
.vertical-door-measure {
  display: grid;
  grid-template-columns: 230px 170px;
  align-items: center;
  justify-content: center;
}
.vertical-door-measure .measurement-track {
  flex-direction: column-reverse;
  height: 360px;
  min-height: 0;
}
.vertical-door-measure .measurement-slot {
  position: relative;
  left: auto;
  width: auto;
  min-height: 55px;
}
.vertical-door-measure .measurement-slot i {
  width: 65%;
  height: 75%;
}
.length-train-board > img {
  object-position: center top;
}
.train-measure-overlay {
  position: absolute;
  left: 15%;
  right: 14%;
  bottom: 13%;
}
.train-measure-overlay .measurement-track {
  width: 100%;
  margin: 0;
}
.train-measure-overlay .measurement-slot {
  background: #fff8;
}
.length-train-board .measure-token {
  position: absolute;
  right: 5%;
  bottom: 4%;
}
.object-to-measure {
  display: grid;
  place-items: center;
  width: min(90%, 650px);
  height: 180px;
  font-size: 120px;
  border-bottom: 7px solid #0b887a;
}
.length-children-board > img {
  object-position: center;
}
.child-focus-row {
  position: absolute;
  inset: 0;
}
.child-focus-row span {
  position: absolute;
  bottom: 16%;
  width: 20%;
  height: 70%;
  border-radius: 42%;
  transition: 0.2s;
}
.child-focus-row span:nth-child(1) {
  left: 8%;
}
.child-focus-row span:nth-child(2) {
  left: 29%;
}
.child-focus-row span:nth-child(3) {
  left: 51%;
}
.child-focus-row span:nth-child(4) {
  left: 72%;
}
.child-focus-row span.active {
  box-shadow:
    0 0 0 8px #ffd057,
    0 0 30px #ffd057;
  background: #fff1;
}
.visual-true-false {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: flex;
  gap: 10px;
}
.visual-true-false button {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 5px solid #bdd9d4;
  border-radius: 24px;
  background: #fff;
  font-size: 46px;
  font-weight: 900;
  cursor: pointer;
}
.visual-true-false button:first-child {
  color: #2b9c55;
}
.visual-true-false button:last-child {
  color: #e75e51;
}
.length-children-board.length-method .child-focus-row span:not(.active) {
  background: #173b37cc;
}
.length-children-board.length-method .child-focus-row span.active::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  top: 10%;
  border-top: 6px solid #efb940;
}
.detective-scene {
  position: relative;
  width: min(100%, 720px);
  height: 520px;
  border-radius: 35px;
  background: linear-gradient(#e7f7f4 0 78%, #d7b786 79%);
  overflow: hidden;
}
.detective-scene button {
  position: absolute;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.detective-door {
  left: 8%;
  bottom: 20%;
  font-size: 190px;
}
.detective-desk {
  left: 38%;
  bottom: 15%;
  font-size: 135px;
}
.detective-pencil {
  right: 20%;
  bottom: 20%;
  font-size: 75px;
}
.detective-eraser {
  right: 8%;
  bottom: 18%;
  font-size: 48px;
}
.detective-scene.length-method::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 17%;
  border-top: 7px solid #efb940;
}
.detective-scene.length-reveal [data-detective].answer-glow,
.detective-scene.length-reveal .detective-eraser {
  filter: drop-shadow(0 0 15px #43b86a);
}
.length-finish-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 24px;
}
.length-finish-route span {
  display: grid;
  place-items: center;
  min-width: 74px;
  height: 74px;
  padding: 0 10px;
  border-radius: 22px;
  background: #fff;
  font-size: 32px;
}
.length-finish-route i {
  color: #efb940;
  font-size: 28px;
  font-style: normal;
}
.length-hint {
  animation: attentionGlow 0.85s;
}
.length-method {
  outline: 7px solid #efb94055;
  outline-offset: 5px;
}
.length-reveal {
  box-shadow: 0 0 0 8px #43b86a44;
}
.length-object-bar.correct-cell,
.rocket-case.correct-cell,
.rank-line button.correct-cell,
.visual-true-false button.correct-cell,
.detective-scene button.correct-cell {
  filter: drop-shadow(0 0 17px #43b86a);
  background-color: #e4f7e9;
}
@media (max-width: 900px) {
  .unit-model-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .unit-model-grid > div {
    min-height: 155px;
  }
  .unit-model-grid span {
    font-size: 52px;
  }
  .rocket-stage {
    grid-template-columns: 110px 1fr;
  }
  .length-zone-row {
    gap: 100px;
  }
  .length-pair-host {
    gap: 35px;
  }
  .flower-hotspots b {
    bottom: -25px;
  }
  .length-estimate-options button {
    width: 115px;
  }
}
@media (max-width: 640px) {
  .ribbon-stage {
    height: 360px;
  }
  .rocket-stage {
    grid-template-columns: 85px 1fr;
    gap: 8px;
    min-height: 390px;
  }
  .rocket-dock {
    height: 170px;
  }
  .rocket-token {
    width: 70px;
    font-size: 55px;
  }
  .rocket-cases {
    gap: 5px;
    height: 300px;
  }
  .rocket-case {
    width: 75px;
  }
  .length-pair-host {
    height: 330px;
    gap: 12px;
  }
  .length-object-bar {
    width: 95px;
  }
  .length-order-gap,
  .length-order-options button {
    width: 82px;
  }
  .length-zone-row {
    gap: 30px;
  }
  .unit-model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .unit-model-grid > div {
    min-height: 110px;
  }
  .unit-choice-row {
    flex-wrap: wrap;
  }
  .vertical-door-measure {
    grid-template-columns: 150px 110px;
  }
  .detective-scene {
    height: 390px;
  }
  .visual-true-false button {
    width: 62px;
    height: 62px;
  }
  .length-finish-route {
    gap: 4px;
  }
  .length-finish-route span {
    min-width: 48px;
    height: 54px;
    font-size: 23px;
  }
}

/* Uzunluk dersi 2.0: kaynak PNG üzerinde doğrudan, ölçülebilir etkileşimler */
.source-interaction-board {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}
.source-interaction-board > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.source-interaction-board button,
.source-panel button,
.source-order-panel button,
.source-rank-panel button,
.source-measure-panel button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.correct-choice-ring {
  box-shadow:
    0 0 0 7px #42b96a,
    0 0 24px #42b96a !important;
  background: #e9faef33 !important;
}
.rocket-source-hotspots {
  position: absolute;
  inset: 0;
}
.rocket-source-hotspots button {
  position: absolute;
  border-radius: 42%;
}
.rocket-source-hotspots button:nth-child(1) {
  left: 11%;
  top: 18%;
  width: 23%;
  height: 63%;
}
.rocket-source-hotspots button:nth-child(2) {
  left: 39%;
  top: 42%;
  width: 20%;
  height: 42%;
}
.rocket-source-hotspots button:nth-child(3) {
  left: 68%;
  top: 60%;
  width: 18%;
  height: 25%;
}
.rocket-source-hotspots button:hover,
.rocket-source-hotspots button:focus-visible {
  box-shadow:
    0 0 0 7px #ffd057,
    0 0 24px #ffd057;
}
.length-rocket-board.length-method
  .rocket-source-hotspots
  button:not(:nth-child(2)) {
  background: #173b3788;
}
.length-rocket-board.length-reveal .rocket-source-hotspots button:nth-child(2) {
  box-shadow:
    0 0 0 8px #43b86a,
    0 0 26px #43b86a;
}
.flower-baseline {
  left: 5%;
  right: 5%;
  bottom: 20.5%;
  border-top-width: 5px;
}
.flower-hotspots span {
  bottom: 20%;
  width: 15%;
  border-radius: 42%;
}
.flower-hotspots span:nth-child(1) {
  left: 5.5%;
  height: 33%;
}
.flower-hotspots span:nth-child(2) {
  left: 23.5%;
  height: 49%;
}
.flower-hotspots span:nth-child(3) {
  left: 42.5%;
  height: 72%;
}
.flower-hotspots span:nth-child(4) {
  left: 61%;
  height: 49%;
}
.flower-hotspots span:nth-child(5) {
  left: 80%;
  height: 60%;
}
.flower-hotspots span.active {
  box-shadow:
    0 0 0 6px #ffd057,
    0 0 24px #ffd057;
  background: #fff1;
}
.length-pair-host.source-panel {
  position: relative;
  display: block;
  width: min(78%, 520px);
  height: auto;
  padding: 0;
  border: 0;
}
.length-pair-host.source-panel > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.length-pair-host.source-panel button {
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 29%;
  border-radius: 38%;
}
.length-pair-host.source-panel button:nth-of-type(1) {
  left: 17%;
}
.length-pair-host.source-panel button:nth-of-type(2) {
  left: 54%;
}
.length-pair-host.source-panel button:hover,
.length-pair-host.source-panel button:focus-visible {
  box-shadow: 0 0 0 6px #ffd057;
}
.length-pair-host.length-method::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 20%;
  border-top: 6px solid #efb940;
}
.length-pair-host.length-reveal button {
  box-shadow: 0 0 0 6px #43b86a55;
}
.source-order-panel,
.source-rank-panel,
.source-measure-panel {
  position: relative;
  width: min(96%, 760px);
  margin: auto;
}
.source-order-panel > img,
.source-rank-panel > img,
.source-measure-panel > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.source-order-panel button {
  position: absolute;
  top: 10%;
  bottom: 7%;
  width: 24%;
  border-radius: 28%;
}
.source-order-panel button:nth-of-type(1) {
  left: 10%;
}
.source-order-panel button:nth-of-type(2) {
  left: 38%;
}
.source-order-panel button:nth-of-type(3) {
  left: 66%;
}
.source-order-panel button.chosen {
  box-shadow:
    inset 0 0 0 6px #43b86a,
    0 0 18px #43b86a;
}
.source-order-panel button b {
  position: absolute;
  left: 50%;
  bottom: 5%;
  translate: -50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
  font-size: 22px;
}
.source-order-panel.length-method {
  box-shadow: inset 0 -7px #efb940;
}
.chair-comparison-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(22px, 6vw, 70px);
  width: min(95%, 720px);
  height: 470px;
  padding: 45px 20px 42px;
}
.comparison-object {
  position: relative;
  display: grid;
  place-items: end center;
  z-index: 2;
}
.comparison-object img {
  display: block;
  object-fit: contain;
}
.comparison-object.pencil img {
  width: 155px;
  rotate: -90deg;
}
.comparison-object.chair img {
  width: 170px;
  max-height: 285px;
}
.comparison-object.window img {
  width: 180px;
  max-height: 345px;
}
.comparison-object button {
  position: absolute;
  inset: -12px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  cursor: pointer;
}
.chair-common-baseline {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 40px;
  border-top: 7px solid #0b887a;
}
.chair-top-guide {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 322px;
  border-top: 6px dashed #efb940;
  filter: drop-shadow(0 2px 3px #fff);
}
.chair-comparison-stage.length-method .chair-top-guide {
  border-top-style: solid;
  animation: attentionGlow 0.9s infinite;
}
.chair-comparison-stage.length-reveal [data-chair-choice] {
  box-shadow: 0 0 0 7px #43b86a55;
}
.chair-source-stage {
  position: relative;
  width: min(92%, 620px);
  aspect-ratio: 1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 14px 34px #21443c20;
}
.chair-source-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chair-source-stage button {
  position: absolute;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.chair-source-stage button[data-chair-choice="pencil"] {
  left: 9%;
  top: 64%;
  width: 13%;
  height: 25%;
  border-radius: 20px;
}
.chair-source-stage button[data-chair-choice="window"] {
  left: 64%;
  top: 6%;
  width: 30%;
  height: 83%;
  border-radius: 24px;
}
.chair-source-stage button:hover,
.chair-source-stage button:focus-visible {
  box-shadow:
    0 0 0 7px #ffd057,
    0 0 24px #ffd057;
}
.chair-source-stage.length-method::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 52%;
  border-top: 7px solid #efb940;
  filter: drop-shadow(0 2px 3px #fff);
  pointer-events: none;
  animation: attentionGlow 0.9s infinite;
}
.chair-source-stage.length-reveal button {
  box-shadow: 0 0 0 7px #43b86a55;
}
.source-rank-panel button {
  position: absolute;
  top: 26%;
  bottom: 6%;
  width: 12%;
  border-radius: 36%;
}
.source-rank-panel button:nth-of-type(1) {
  left: 34%;
}
.source-rank-panel button:nth-of-type(2) {
  left: 52%;
}
.source-rank-panel button:nth-of-type(3) {
  left: 69%;
}
.source-rank-panel button:nth-of-type(4) {
  left: 86%;
}
.source-rank-panel.length-method::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 5%;
  top: 45%;
  border-top: 6px solid #efb940;
}
.source-rank-panel.length-reveal button {
  box-shadow: 0 0 0 5px #43b86a55;
}
.length-units-board {
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-content: center;
}
.unit-model-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: min(96%, 760px);
}
.unit-model-grid > button {
  display: grid;
  place-items: center;
  height: 105px;
  padding: 5px;
  border: 4px solid #c4ded9;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: 0.25s;
}
.unit-model-grid > button .length-unit-asset {
  height: 90px;
}
.unit-model-grid > button.active {
  border-color: #efb940;
  background: #fff7d7;
  box-shadow: 0 0 0 6px #efb94033;
  transform: translateY(-4px);
}
.unit-detail-stage {
  display: grid;
  place-items: center;
  width: min(92%, 620px);
  height: 360px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 32px #21443c20;
  overflow: hidden;
}
.unit-detail-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.length-unit-asset {
  height: 100%;
  background: transparent;
}
.length-unit-asset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.unit-object {
  width: min(80%, 430px);
  height: 250px;
  padding: 12px;
  background: #fff;
}
.unit-object img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.unit-choice-row {
  width: min(96%, 700px);
  gap: 8px;
}
.unit-choice-row button {
  width: 126px;
  height: 112px;
  min-height: 0;
  padding: 5px;
}
.unit-choice-row .length-unit-asset {
  height: 95px;
}
.length-unit-choice-board.length-method .unit-choice-row button {
  height: 112px !important;
}
.handspan-source-track {
  position: absolute;
  left: 31%;
  right: 3%;
  top: 49%;
  height: 17%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.handspan-source-track button {
  border-radius: 45%;
}
.handspan-source-track button.filled {
  box-shadow:
    inset 0 0 0 5px #43b86a,
    0 0 18px #43b86a;
}
.handspan-source-track button:nth-child(n + 1):not(.filled):first-of-type {
  animation: attentionGlow 1s infinite;
}
.handspan-source-track.length-method::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid #efb940;
  border-radius: 28px;
  pointer-events: none;
}
.mat-estimate-board,
.mat-measure-board {
  position: relative;
  grid-template-rows: 1fr auto;
  gap: 24px;
}
.mat-object {
  display: block;
  width: min(78%, 570px);
  max-height: 300px;
  object-fit: contain;
}
.mat-estimate-board .length-estimate-options {
  margin-top: 8px;
}
.length-estimate-options button {
  position: relative;
  align-items: center;
  justify-content: center;
}
.length-estimate-options button b {
  position: absolute;
  top: 7px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
}
.mat-foot-track {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 34%;
  height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 3;
}
.mat-foot-slot {
  display: grid;
  place-items: center;
  border: 4px dashed #efb940 !important;
  border-radius: 15px !important;
  background: #fff8 !important;
}
.mat-foot-slot.filled {
  border-style: solid !important;
  border-color: #0b887a !important;
  background: #e2f7efcc !important;
}
.mat-foot-slot img {
  width: 68px;
  height: 54px;
  object-fit: contain;
  rotate: 90deg;
}
.measure-foot-token {
  display: grid;
  place-items: center;
  width: 92px;
  height: 115px;
  border: 4px solid #aad2ca;
  border-radius: 20px;
  background: #fff;
  cursor: grab;
  touch-action: none;
  z-index: 4;
}
.measure-foot-token img {
  width: 70px;
  height: 100px;
  object-fit: contain;
}
.mat-foot-track.length-method .mat-foot-slot:not(.filled):first-of-type {
  box-shadow: 0 0 0 7px #efb940;
}
.train-source-blocks {
  position: absolute;
  left: 5.6%;
  right: 5.5%;
  top: 67%;
  height: 13.5%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.train-source-blocks button {
  border-radius: 8px;
}
.train-source-blocks button.filled {
  box-shadow:
    inset 0 0 0 6px #43b86a,
    0 0 18px #43b86a;
}
.train-source-blocks.length-method::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 6px solid #efb940;
  border-radius: 14px;
  pointer-events: none;
}
.source-measure-panel {
  width: min(78%, 560px);
}
.source-unit-count {
  position: absolute;
  left: 8%;
  right: 17%;
  top: 50%;
  height: 28%;
  display: grid;
  grid-template-columns: repeat(var(--unit-count), 1fr);
  gap: 1.5%;
}
.source-unit-count button {
  border-radius: 18px;
}
.source-unit-count button.filled {
  box-shadow:
    inset 0 0 0 5px #43b86a,
    0 0 14px #43b86a;
}
.source-unit-count.length-method button:not(.filled):first-of-type {
  box-shadow: 0 0 0 6px #efb940;
}
.children-baseline {
  left: 5%;
  right: 5%;
  bottom: 9%;
  border-top-width: 5px;
}
.child-focus-row span {
  bottom: 9%;
  border-radius: 42%;
}
.child-focus-row span:nth-child(1) {
  left: 4%;
  width: 27%;
  height: 82%;
}
.child-focus-row span:nth-child(2) {
  left: 31%;
  width: 22%;
  height: 61%;
}
.child-focus-row span:nth-child(3) {
  left: 52%;
  width: 23%;
  height: 70%;
}
.child-focus-row span:nth-child(4) {
  left: 74%;
  width: 22%;
  height: 77%;
}
.child-focus-row span.active {
  box-shadow:
    0 0 0 6px #ffd057,
    0 0 24px #ffd057;
}
.visual-true-false {
  right: 18px;
  bottom: 18px;
  z-index: 4;
}
.length-detective-board > img {
  object-fit: cover;
}
.detective-source-hotspots {
  position: absolute;
  inset: 0;
}
.detective-source-hotspots button {
  position: absolute;
  border-radius: 24px;
}
.detective-source-hotspots button:nth-child(1) {
  left: 3%;
  top: 7%;
  width: 31%;
  height: 69%;
}
.detective-source-hotspots button:nth-child(2) {
  left: 37%;
  top: 25%;
  width: 30%;
  height: 52%;
}
.detective-source-hotspots button:nth-child(3) {
  left: 69%;
  top: 46%;
  width: 28%;
  height: 32%;
}
.detective-source-hotspots button:nth-child(4) {
  left: 24%;
  top: 82%;
  width: 43%;
  height: 10%;
}
.detective-source-hotspots button:nth-child(5) {
  left: 72%;
  top: 82%;
  width: 13%;
  height: 10%;
}
.detective-source-hotspots button:focus-visible {
  box-shadow: 0 0 0 6px #ffd057;
}
.length-detective-board.length-method .detective-source-hotspots button {
  box-shadow: 0 0 0 4px #efb94055;
}
.length-detective-board.length-reveal .detective-source-hotspots button {
  animation: attentionGlow 0.9s;
}
.length-finish-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(90%, 680px);
  margin: 24px auto;
}
.length-finish-route img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}
@media (max-width: 900px) {
  .source-order-panel,
  .source-rank-panel {
    width: 94%;
  }
  .chair-comparison-stage {
    height: 400px;
  }
  .comparison-object.pencil img {
    width: 120px;
  }
  .comparison-object.chair img {
    width: 135px;
  }
  .comparison-object.window img {
    width: 145px;
  }
  .chair-top-guide {
    bottom: 270px;
  }
  .unit-detail-stage {
    height: 300px;
  }
  .unit-model-grid > button {
    height: 88px;
  }
  .unit-model-grid > button .length-unit-asset {
    height: 76px;
  }
  .unit-choice-row button {
    width: 104px;
    height: 94px;
  }
  .unit-choice-row .length-unit-asset {
    height: 80px;
  }
  .source-measure-panel {
    width: 72%;
  }
}
@media (max-width: 640px) {
  .length-pair-host.source-panel {
    width: 92%;
    height: auto;
  }
  .source-order-panel,
  .source-rank-panel {
    width: 100%;
  }
  .chair-comparison-stage {
    height: 330px;
    gap: 14px;
  }
  .comparison-object.pencil img {
    width: 88px;
  }
  .comparison-object.chair img {
    width: 104px;
  }
  .comparison-object.window img {
    width: 112px;
  }
  .chair-top-guide {
    bottom: 228px;
  }
  .unit-model-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .unit-model-grid > button {
    height: 66px;
    border-width: 2px;
  }
  .unit-model-grid > button .length-unit-asset {
    height: 58px;
  }
  .unit-detail-stage {
    height: 245px;
  }
  .unit-choice-row {
    flex-wrap: nowrap;
  }
  .unit-choice-row button {
    width: 72px;
    height: 76px;
    border-width: 2px;
  }
  .unit-choice-row .length-unit-asset {
    height: 66px;
  }
  .mat-foot-track {
    left: 9%;
    right: 9%;
    top: 37%;
    height: 90px;
  }
  .mat-foot-slot img,
  .measure-foot-token img {
    width: 48px;
    height: 72px;
  }
  .measure-foot-token {
    width: 66px;
    height: 82px;
  }
  .source-measure-panel {
    width: 96%;
  }
  .length-finish-route img {
    height: 95px;
  }
}
@media (max-width: 640px) {
  .mat-foot-track {
    left: 9%;
    right: 9%;
    top: 34%;
    height: 58px;
  }
  .mat-foot-slot img {
    width: 44px;
    height: 38px;
  }
  .measure-foot-token img {
    width: 48px;
    height: 72px;
  }
}

/* Uzunluk dersi 3.0: gerçek PNG birimleri, tek token ve nesneye bağlı ölçüm geometrisi */
.unit-detail-stage {
  position: relative;
  isolation: isolate;
}
.unit-detail-figure {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 94%;
  height: 94%;
}
.unit-detail-figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.finger-unit-figure {
  aspect-ratio: 2/3;
}
.handspan-unit-figure {
  aspect-ratio: 1303/1207;
}
.foot-unit-figure {
  aspect-ratio: 1/2;
}
.fathom-unit-figure {
  width: 94%;
  height: 92%;
  aspect-ratio: auto;
}
.finger-width-guide,
.handspan-width-guide,
.foot-length-guide,
.step-distance-guide {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 2px 2px #fff);
}
.finger-width-guide {
  left: 31.8%;
  top: 25%;
  width: 11.5%;
  height: 20px;
}
.finger-width-guide i,
.handspan-width-guide::before,
.foot-length-guide::before,
.step-distance-guide::before {
  position: absolute;
  content: "";
  background: #ef735f;
  border-radius: 999px;
}
.finger-width-guide i {
  left: 0;
  right: 0;
  top: 8px;
  height: 5px;
}
.finger-width-guide::before,
.finger-width-guide::after,
.handspan-width-guide::after,
.foot-length-guide::after,
.step-distance-guide::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}
.finger-width-guide::before {
  left: -3px;
  top: 2px;
  border-width: 9px 10px 9px 0;
  border-color: transparent #ef735f transparent transparent;
}
.finger-width-guide::after {
  right: -3px;
  top: 2px;
  border-width: 9px 0 9px 10px;
  border-color: transparent transparent transparent #ef735f;
}
.handspan-width-guide {
  left: 3.5%;
  right: 2.5%;
  bottom: 13%;
  height: 25%;
}
.handspan-width-guide::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: #8d67cf;
}
.handspan-width-guide::after {
  left: -2px;
  bottom: -7px;
  border-width: 10px 12px 10px 0;
  border-color: transparent #8d67cf transparent transparent;
}
.handspan-width-guide i {
  position: absolute;
  bottom: 0;
  width: 5px;
  background: #8d67cf;
  border-radius: 999px;
}
.handspan-width-guide i:first-child {
  left: 0;
  height: 39%;
}
.handspan-width-guide i:last-child {
  right: 0;
  height: 100%;
}
.handspan-width-guide i:last-child::after {
  position: absolute;
  right: -6px;
  bottom: -7px;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 12px;
  border-color: transparent transparent transparent #8d67cf;
}
.foot-length-guide {
  right: 4%;
  top: 7%;
  bottom: 7%;
  width: 24px;
}
.foot-length-guide::before {
  left: 9px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #4d96d6;
}
.foot-length-guide::after {
  left: 2px;
  top: -2px;
  border-width: 0 10px 13px;
  border-color: transparent transparent #4d96d6;
}
.foot-length-guide {
  border-bottom: 13px solid transparent;
}
.step-unit-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92%, 560px);
  height: 86%;
}
.step-unit-figure img {
  position: relative;
  z-index: 2;
  width: 27%;
  height: 82%;
  object-fit: contain;
  filter: none;
  transform: translateY(calc((var(--step-index) % 2) * 25px))
    rotate(calc((var(--step-index) - 1) * 7deg));
}
.step-distance-guide {
  left: 14%;
  right: 14%;
  bottom: 7%;
  height: 5px;
}
.step-distance-guide::before {
  inset: 0;
  background: #39a56a;
}
.step-distance-guide::after {
  right: -2px;
  top: -7px;
  border-width: 10px 0 10px 13px;
  border-color: transparent transparent transparent #39a56a;
}
.unit-model-grid > button .unit-finger img,
.unit-model-grid > button .unit-handspan img,
.unit-model-grid > button .unit-step img {
  filter: none;
}
.unit-model-grid > button .unit-finger img {
  transform: scale(1.25);
}
.unit-model-grid > button .unit-handspan img {
  transform: scale(1.06);
}
.unit-model-grid > button .unit-step img {
  transform: scale(0.82);
}

.length-handspan-board,
.mat-measure-board,
.length-object-measure-board {
  grid-template-rows: 1fr auto;
  align-content: center;
  justify-items: center;
  gap: 12px;
}
.handspan-measure-scene {
  position: relative;
  width: min(94%, 650px);
  height: 430px;
}
.handspan-table-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(82%, 520px);
  translate: -50% 0;
}
.handspan-table-png {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.length-placement-row {
  display: grid;
  grid-template-columns: repeat(var(--placement-count), 1fr);
  align-items: center;
}
.length-unit-place-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}
.length-unit-place-slot img {
  display: block;
  width: 94%;
  height: 94%;
  object-fit: contain;
  transition:
    opacity 0.2s,
    filter 0.2s,
    transform 0.2s;
}
.length-unit-place-slot.waiting img {
  opacity: 0;
}
.length-unit-place-slot.next img {
  opacity: 0.22;
  filter: sepia(1) saturate(4) drop-shadow(0 0 8px #efb940);
  animation: attentionGlow 1s infinite;
}
.length-unit-place-slot.filled img {
  opacity: 1;
  filter: drop-shadow(0 5px 4px #173b3730);
}
.length-unit-place-slot b {
  position: absolute;
  right: 2px;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b887a;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 2px 5px #173b3744;
}
.length-unit-place-slot.drag-over img {
  opacity: 0.65;
  filter: drop-shadow(0 0 12px #efb940);
}
.handspan-placement-row {
  position: absolute;
  left: 0;
  right: 0;
  top: -9px;
  height: auto;
  z-index: 3;
}
.handspan-placement-row .length-unit-place-slot img {
  width: 107%;
  height: auto;
  max-width: none;
}
.length-reusable-token {
  display: grid;
  place-items: center;
  width: 112px;
  height: 92px;
  padding: 5px;
  border: 4px solid #9dcfc6;
  border-radius: 22px;
  background: #fff;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 9px 18px #173b3722;
}
.length-reusable-token:active {
  cursor: grabbing;
}
.length-reusable-token img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.handspan-reusable-token {
  width: 122px;
  height: 103px;
}
.handspan-reusable-token img {
  filter: none;
}

.mat-print-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: min(94%, 650px);
  height: 360px;
}
.mat-print-scene > .mat-object {
  width: min(86%, 590px);
  max-height: 330px;
  margin: 0;
}
.mat-print-row {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 31%;
  height: auto;
  z-index: 3;
}
.mat-print-row .length-unit-place-slot {
  aspect-ratio: 0.97/1;
}
.mat-print-row .length-unit-place-slot img {
  position: absolute;
  width: 66.67%;
  height: 100%;
  max-width: none;
  max-height: none;
  rotate: 90deg;
  filter: none;
}
.mat-print-row .length-unit-place-slot.next img {
  filter: sepia(1) saturate(4) drop-shadow(0 0 8px #efb940);
}
.foot-reusable-token {
  width: 76px;
  height: 110px;
}
.foot-reusable-token img {
  filter: none;
}

.separate-object-measure {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  justify-items: center;
  row-gap: 10px;
  width: min(94%, 690px);
}
.separate-measured-object {
  display: block;
  max-width: 82%;
  max-height: 165px;
  object-fit: contain;
  filter: drop-shadow(0 9px 7px #173b3727);
}
.object-unit-placement-row {
  height: auto;
}
.object-unit-placement-row .length-unit-place-slot {
  aspect-ratio: 1/1;
}
.object-unit-placement-row .length-unit-place-slot img {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  max-width: none;
  max-height: none;
}
.pencil-measure .separate-measured-object,
.pencil-measure .object-unit-placement-row {
  width: 76%;
  max-width: 540px;
}
.pencil-measure .object-unit-placement-row .length-unit-place-slot img {
  width: auto;
  height: 100%;
  transform: rotate(90deg);
}
.brush-measure .separate-measured-object,
.brush-measure .object-unit-placement-row {
  width: 72%;
  max-width: 510px;
}
.brush-measure .length-unit-place-slot img {
  width: 100%;
  height: 100%;
}
.pencilcase-measure .separate-measured-object,
.pencilcase-measure .object-unit-placement-row {
  width: 62%;
  max-width: 430px;
}
.pencilcase-measure .length-unit-place-slot img {
  width: 100%;
  height: auto;
}
.object-unit-token {
  width: 90px;
  height: 82px;
}
.length-object-measure-board .length-task-dots {
  margin-top: 0;
}

.detective-source-hotspots button[data-detective="door"] {
  left: 3% !important;
  top: 7% !important;
  width: 31% !important;
  height: 70% !important;
}
.detective-source-hotspots button[data-detective="bookcase"] {
  left: 38% !important;
  top: 33% !important;
  width: 29% !important;
  height: 44% !important;
}
.detective-source-hotspots button[data-detective="desk"] {
  left: 70% !important;
  top: 55% !important;
  width: 29% !important;
  height: 23% !important;
}
.detective-source-hotspots .detective-loose-object {
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 12px !important;
  z-index: 4;
}
.detective-source-hotspots .detective-loose-object img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 3px #173b3740);
}
.detective-source-hotspots .detective-pencil-png {
  left: 78% !important;
  top: 55% !important;
  width: 10% !important;
  height: 6% !important;
}
.detective-source-hotspots .detective-eraser-png {
  left: 91% !important;
  top: 56% !important;
  width: 4.5% !important;
  height: 5% !important;
}
.length-detective-board.length-method
  .detective-source-hotspots
  .detective-loose-object {
  box-shadow: 0 0 0 4px #efb940;
}
.length-detective-board.length-reveal .detective-source-hotspots button {
  animation: attentionGlow 0.9s;
}

@media (max-width: 900px) {
  .handspan-measure-scene {
    height: 370px;
  }
  .mat-print-scene {
    height: 310px;
  }
  .length-reusable-token {
    width: 92px;
    height: 78px;
  }
}
@media (max-width: 640px) {
  .unit-detail-stage {
    height: 270px;
  }
  .finger-unit-figure {
    height: 96%;
  }
  .handspan-measure-scene {
    height: 315px;
  }
  .handspan-table-wrap {
    width: 88%;
  }
  .length-unit-place-slot b {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .handspan-reusable-token {
    width: 88px;
    height: 76px;
  }
  .mat-print-scene {
    height: 270px;
  }
  .mat-print-scene > .mat-object {
    width: 94%;
  }
  .mat-print-row {
    left: 4%;
    right: 4%;
    top: 31%;
  }
  .foot-reusable-token {
    width: 62px;
    height: 86px;
  }
  .separate-measured-object {
    max-height: 116px;
  }
  .length-object-measure-board {
    gap: 5px;
  }
  .object-unit-token {
    width: 70px;
    height: 62px;
  }
  .detective-source-hotspots .detective-pencil-png {
    width: 12% !important;
    height: 7% !important;
  }
  .detective-source-hotspots .detective-eraser-png {
    width: 6% !important;
    height: 6% !important;
  }
}

.step-unit-figure img {
  transform: none !important;
}
.step-unit-figure img:nth-child(1) {
  transform: translateY(4px) rotate(-7deg) !important;
}
.step-unit-figure img:nth-child(2) {
  transform: translateY(25px) !important;
}
.step-unit-figure img:nth-child(3) {
  transform: translateY(4px) rotate(7deg) !important;
}

/* Tekrar kullanılan ataş tokenı da kalemin yatay ölçüm eksenini gösterir. */
.length-object-measure-board:has(.pencil-measure) .object-unit-token img {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Uzunluk 3.1: matematiksel hizalama, tamamlamada bekleme ve kesilmeyen birim kartları */
.rocket-baseline-panel {
  width: min(92%, 720px);
  box-shadow:
    0 14px 34px #21443c20,
    inset 0 -7px #0b887a;
}
.rocket-baseline-panel button {
  position: absolute;
  top: 5%;
  bottom: 5%;
  width: 28%;
  border: 0;
  border-radius: 28px;
  background: transparent;
  cursor: pointer;
}
.rocket-baseline-panel button:nth-of-type(1) {
  left: 5%;
}
.rocket-baseline-panel button:nth-of-type(2) {
  left: 36%;
}
.rocket-baseline-panel button:nth-of-type(3) {
  left: 67%;
}
.rocket-baseline-panel button:hover,
.rocket-baseline-panel button:focus-visible {
  box-shadow:
    inset 0 0 0 6px #ffd057,
    0 0 22px #ffd057;
}
.rocket-baseline-panel.length-method::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 7%;
  border-top: 7px solid #efb940;
  filter: drop-shadow(0 2px 3px #fff);
  pointer-events: none;
}
.rocket-baseline-panel.length-reveal button:nth-of-type(3) {
  box-shadow:
    inset 0 0 0 7px #43b86a,
    0 0 24px #43b86a;
}
.length-placement-complete .mat-print-row {
  filter: drop-shadow(0 0 10px #43b86a66);
}
.length-unit-choice-board .unit-choice-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(96%, 700px);
  gap: 10px;
}
.length-unit-choice-board .unit-choice-row button {
  width: 100%;
  height: 112px;
  min-width: 0;
  padding: 7px;
  overflow: visible;
}
.length-unit-choice-board .unit-choice-row .length-unit-asset {
  position: relative;
  width: 100%;
  height: 96px;
  overflow: hidden;
}
.length-unit-choice-board .unit-choice-row .length-unit-asset img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: auto;
  object-fit: contain;
  transform: none;
}
@media (max-width: 900px) {
  .length-unit-choice-board .unit-choice-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 98%;
    gap: 6px;
  }
  .length-unit-choice-board .unit-choice-row button {
    height: 96px;
  }
  .length-unit-choice-board .unit-choice-row .length-unit-asset {
    height: 82px;
  }
}
@media (max-width: 640px) {
  .length-unit-choice-board .unit-choice-row {
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    width: 94%;
    gap: 8px;
  }
  .length-unit-choice-board .unit-choice-row button {
    width: 100%;
    height: 88px;
  }
  .length-unit-choice-board .unit-choice-row .length-unit-asset {
    height: 74px;
  }
  .rocket-baseline-panel {
    width: 100%;
  }
}

/* Tema 3 · Tartma */
.weight-scene-board,
.weight-predict-board,
.weight-rule-board,
.weight-symbol-board,
.weight-tf-board,
.weight-balance-board,
.weight-daily-board {
  position: relative;
  overflow: hidden;
}
.weight-scene-board > img,
.weight-predict-board > img,
.weight-rule-board > img,
.weight-symbol-board > img,
.weight-tf-board > img,
.weight-balance-board > img,
.weight-daily-board > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weight-scene-hotspots button,
.weight-predict-actions button {
  position: absolute;
  background: transparent;
  border: 3px solid transparent;
  border-radius: 28px;
  cursor: pointer;
}
.weight-scene-hotspots button:hover,
.weight-predict-actions button:hover {
  border-color: #f3bd3f;
  background: #f3bd3f22;
}
.weight-scene-hotspots button:first-child {
  left: 8%;
  bottom: 10%;
  width: 34%;
  height: 42%;
}
.weight-scene-hotspots button:last-child {
  right: 7%;
  bottom: 9%;
  width: 36%;
  height: 48%;
}
.weight-predict-actions button:first-child {
  left: 5%;
  top: 10%;
  width: 38%;
  height: 55%;
}
.weight-predict-actions button:last-child {
  right: 4%;
  top: 10%;
  width: 39%;
  height: 55%;
}
.scale-check-button {
  position: absolute;
  left: 50%;
  bottom: 5%;
  translate: -50% 0;
  width: 84px;
  height: 70px;
  border: 0;
  border-radius: 24px;
  background: #078878;
  color: white;
  font-size: 40px;
  box-shadow: 0 10px 25px #1235;
  cursor: pointer;
}
.scale-check-button:disabled {
  opacity: 0.35;
}
.weight-result-line {
  display: none;
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 17%;
  align-items: center;
  gap: 16px;
  color: #0b7f73;
  font-size: 34px;
  font-weight: 900;
}
.weight-result-line i {
  height: 4px;
  background: #f0b52e;
  flex: 1;
}
.weight-predict-board.revealed .weight-result-line {
  display: flex;
  animation: fadeRise 0.5s ease both;
}
.pan-focus {
  position: absolute;
  width: 29%;
  height: 35%;
  border: 6px solid #f2bf3f;
  border-radius: 50%;
  top: 40%;
  display: grid;
  place-items: center;
  animation: focusPulse 1.3s ease-in-out infinite;
}
.pan-focus span {
  font-size: 52px;
  color: #087f73;
  font-weight: 900;
}
.pan-focus.heavy {
  left: 6%;
}
.pan-focus.light {
  right: 7%;
}
.balance-level-guide {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  top: 39%;
  border-top: 4px dashed #0b8d80;
  filter: drop-shadow(0 0 5px #0b8d8070);
}
.weight-state-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
  padding: 28px;
}
.weight-state-board button {
  position: relative;
  aspect-ratio: 0.8;
  background: white;
  border: 4px solid #c5e0da;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
}
.weight-state-board img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weight-state-board button span {
  position: absolute;
  inset: auto 10px 10px;
  background: #0b8174;
  color: white;
  border-radius: 18px;
  padding: 7px;
  font-weight: 900;
}
.weight-state-board button.seen {
  border-color: #f0b22d;
  box-shadow: 0 0 0 8px #f0b22d22;
}
.weight-symbol-options {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 5%;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.weight-symbol-options button {
  min-width: 105px;
  height: 72px;
  border: 3px solid #acd6cf;
  border-radius: 20px;
  background: white;
  color: #08796e;
  font-size: 30px;
  font-weight: 900;
}
.weight-symbol-options button b {
  font-size: 17px;
}
.weight-symbol-board > img,
.weight-tf-board > img,
.weight-balance-board > img {
  height: 72%;
  object-position: center top;
}
.weight-object-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 4px solid #b8dcd6;
  border-radius: 24px;
  background: white;
  padding: 10px;
  overflow: hidden;
  cursor: pointer;
}
.weight-object-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weight-object-card.selected,
.weight-object-card:hover {
  border-color: #f0b32f;
  box-shadow: 0 0 0 7px #f0b32f22;
}
.weight-object-card.painted-heavy {
  border-color: #078878;
  background: #dff7ee;
  filter: saturate(1.2);
}
.weight-pair-board {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
}
.weight-pair-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 44px;
  width: min(100%, 520px);
  height: 360px;
}
.pair-balance-line {
  position: absolute;
  left: 17%;
  right: 17%;
  bottom: 23%;
  border-top: 4px dashed #efb632;
}
.weight-example-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-content: center;
  padding: 28px;
}
.weight-example-board > div {
  height: 330px;
  border-radius: 26px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  padding: 18px;
}
.weight-example-board img {
  width: 100%;
  height: 210px;
  object-fit: contain;
}
.weight-example-board span {
  font-size: 46px;
  color: #0b8074;
  text-align: center;
  font-weight: 900;
}
.weight-order-board {
  display: grid;
  grid-template-rows: 190px 300px;
  gap: 26px;
  align-content: center;
  padding: 30px;
}
.weight-order-slots,
.weight-order-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.weight-order-slots span {
  border: 4px dashed #edb02f;
  border-radius: 24px;
  background: #fff8e5;
  overflow: hidden;
}
.weight-order-slots img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weight-order-options .weight-object-card {
  height: 100%;
}
.weight-color-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  place-content: center;
  gap: 46px;
  padding: 40px;
}
.weight-color-board .weight-object-card {
  height: 360px;
}
.virtual-scale-board {
  display: grid;
  grid-template-columns: minmax(0, 210px) 230px minmax(0, 210px);
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.virtual-scale-board > [data-vguess] {
  height: 300px;
  border: 4px solid #b8ddd6;
  border-radius: 26px;
  background: white;
  overflow: hidden;
}
.virtual-scale-board > [data-vguess] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.virtual-scale {
  position: relative;
  height: 330px;
  border: 0;
  background: transparent;
}
.virtual-scale i {
  position: absolute;
  left: 50%;
  top: 70px;
  bottom: 30px;
  width: 12px;
  background: #087f73;
  translate: -50% 0;
  border-radius: 10px;
}
.virtual-scale b {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 72px;
  height: 12px;
  background: #087f73;
  border-radius: 10px;
  transition: transform 0.8s ease;
}
.virtual-scale b:before,
.virtual-scale b:after {
  content: "";
  position: absolute;
  top: 12px;
  width: 75px;
  height: 80px;
  border: 6px solid #efb52d;
  border-top: 0;
  border-radius: 0 0 45px 45px;
}
.virtual-scale b:before {
  left: 0;
}
.virtual-scale b:after {
  right: 0;
}
.virtual-scale span {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 120px;
  height: 24px;
  background: #087f73;
  translate: -50% 0;
  border-radius: 50%;
}
.virtual-scale:disabled {
  opacity: 0.35;
}
.virtual-scale-board.revealed.heavy-a .virtual-scale b {
  transform: rotate(-9deg);
}
.virtual-scale-board.revealed.heavy-b .virtual-scale b {
  transform: rotate(9deg);
}
.virtual-scale-board.revealed.heavy-a > [data-vguess="a"],
.virtual-scale-board.revealed.heavy-b > [data-vguess="b"] {
  border-color: #f0b52e;
  box-shadow: 0 0 0 8px #f0b52e33;
}
.weight-tf-board .visual-true-false {
  position: absolute;
  left: 50%;
  bottom: 4%;
  translate: -50% 0;
}
.orange-count-options {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.orange-count-options button {
  min-height: 70px;
  border: 3px solid #b7dbd5;
  border-radius: 20px;
  background: white;
  color: #ef8e23;
  font-size: 26px;
  letter-spacing: 5px;
}
.weight-construct-board {
  display: grid;
  grid-template-rows: 330px 180px;
  gap: 20px;
  align-content: center;
  padding: 30px;
}
.construct-targets {
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  gap: 22px;
  align-items: center;
}
.construct-targets button {
  height: 260px;
  border: 4px dashed #efb12d;
  border-radius: 28px;
  background: #fff8e3;
  color: #087f73;
  font-size: 44px;
}
.construct-targets button span {
  display: block;
  height: 185px;
}
.construct-targets button img,
.construct-center {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.construct-center {
  height: 240px;
}
.construct-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.construct-options .weight-object-card {
  height: 170px;
}
.weight-daily-board > img {
  height: 66%;
  object-position: center top;
}
.weight-place-options {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.weight-place-options button {
  height: 110px;
  border: 4px solid #b7dbd5;
  border-radius: 24px;
  background: white;
  font-size: 54px;
}
.weight-place-options button.correct-cell {
  background: #dff8ec;
  border-color: #078878;
}
.weight-finish-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.weight-finish-route img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}
.weight-finish-route span {
  font-size: 70px;
}
.weight-hint {
  box-shadow: inset 0 0 0 7px #f2be38;
}
.weight-method {
  box-shadow: inset 0 0 0 7px #0c897b;
}
@media (max-width: 760px) {
  .weight-state-board {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .weight-state-board button {
    min-height: 260px;
  }
  .weight-example-board {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .weight-pair-line {
    gap: 14px;
    height: 300px;
  }
  .virtual-scale-board {
    grid-template-columns: 1fr 150px 1fr;
    padding: 14px;
  }
  .weight-symbol-options button {
    min-width: 78px;
  }
  .construct-targets {
    grid-template-columns: 1fr 110px 1fr;
  }
  .weight-place-options button {
    font-size: 38px;
  }
  .weight-order-board {
    grid-template-rows: 150px 250px;
  }
}

/* Tartma v2: kaynak kimliği doğrulanmış nesneler ve çalışan terazi */
.weight-scene-board,
.weight-predict-board {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: #dff3ef;
}
.weight-scene-board > img,
.weight-predict-board > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.weight-scene-hotspots button,
.weight-predict-actions button {
  position: absolute;
  border: 5px solid transparent;
  background: transparent;
  border-radius: 34px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.weight-scene-hotspots button:hover,
.weight-scene-hotspots button.selected,
.weight-predict-actions button:hover,
.weight-predict-actions button.selected {
  border-color: #ffd454;
  background: #ffd45414;
  box-shadow:
    0 0 0 8px #ffd4543d,
    0 0 30px #ffd454;
}
.weight-scene-board .weight-scene-hotspots .bag {
  left: 44%;
  top: 45%;
  right: auto;
  bottom: auto;
  width: 16%;
  height: 31%;
}
.weight-scene-board .weight-scene-hotspots .case {
  left: 59%;
  top: 43%;
  right: auto;
  bottom: auto;
  width: 25%;
  height: 45%;
}
.weight-predict-board .weight-predict-actions .metal-box {
  left: 8%;
  top: 46%;
  right: auto;
  bottom: auto;
  width: 22%;
  height: 20%;
  border-radius: 20px;
}
.weight-predict-board .weight-predict-actions .feather {
  left: 50%;
  top: 29%;
  right: auto;
  bottom: auto;
  width: 9%;
  height: 17%;
  border-radius: 50%;
}

.balance-simulator {
  --tilt: 0deg;
  position: relative;
  width: min(100%, 560px);
  height: 330px;
  margin: auto;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 66%, #ffffff 0 19%, transparent 20%),
    linear-gradient(160deg, #effaf8, #d9f1ec);
  box-shadow: inset 0 0 0 2px #c5e2dc;
  overflow: hidden;
  isolation: isolate;
}
.balance-simulator[data-balance-state="left"] {
  --tilt: -8deg;
}
.balance-simulator[data-balance-state="right"] {
  --tilt: 8deg;
}
.balance-arm {
  position: absolute;
  z-index: 3;
  left: 9%;
  right: 9%;
  top: 96px;
  height: 18px;
  transform: rotate(var(--tilt));
  transform-origin: 50% 50%;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.balance-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  border-radius: 18px;
  background: linear-gradient(#f6cf6e, #bd7a18 60%, #8d540e);
  box-shadow: 0 5px 10px #71480c42;
}
.balance-pan-wrap {
  position: absolute;
  top: 5px;
  width: 154px;
  height: 160px;
  border: 0;
  background: transparent;
  padding: 0;
  transform: rotate(calc(-1 * var(--tilt)));
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.balance-pan-wrap.left {
  left: -35px;
}
.balance-pan-wrap.right {
  right: -35px;
}
.balance-pan-wrap:before,
.balance-pan-wrap:after {
  content: "";
  position: absolute;
  top: 9px;
  width: 3px;
  height: 92px;
  background: #ae741c;
  transform-origin: top;
}
.balance-pan-wrap:before {
  left: 35px;
  transform: rotate(17deg);
}
.balance-pan-wrap:after {
  right: 35px;
  transform: rotate(-17deg);
}
.balance-pan {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 34px;
  border-radius: 10px 10px 70px 70px;
  background: linear-gradient(#f7d983, #c18423 55%, #8c570e);
  box-shadow: 0 8px 14px #5d3c0d3d;
}
.balance-pan-wrap img {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 18px #163b3528;
  pointer-events: none;
}
.balance-pivot {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 89px;
  width: 24px;
  height: 190px;
  translate: -50% 0;
  background: linear-gradient(90deg, #9b6010, #f1cb67 42%, #a4650e);
  border-radius: 13px 13px 3px 3px;
}
.balance-pivot:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 150px;
  height: 30px;
  translate: -50% 0;
  border-radius: 50%;
  background: linear-gradient(#deb04d, #8c570e);
  box-shadow: 0 10px 20px #7351143d;
}
.balance-pivot i {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 34px;
  height: 34px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe7a0, #b87713 70%);
}
.balance-pivot b {
  display: none;
}
.balance-equal-target {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  width: 84px;
  height: 36px;
  translate: -50% 0;
  border: 0;
  border-radius: 24px;
  background: #d3e9e5;
  cursor: pointer;
}
.balance-equal-target span {
  position: absolute;
  left: 17px;
  right: 17px;
  top: 15px;
  height: 6px;
  border-radius: 8px;
  background: #0b897b;
}
.balance-simulator[data-balance-state="equal"] .balance-equal-target {
  background: #ffe08a;
  box-shadow:
    0 0 0 7px #ffd24f39,
    0 0 22px #ffd24f;
}
.balance-glow {
  position: absolute;
  z-index: 1;
  top: 70px;
  width: 190px;
  height: 205px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(10px);
  background: #ffdc67;
  transition: opacity 0.5s;
}
.balance-glow-left {
  left: 0;
}
.balance-glow-right {
  right: 0;
}
.balance-simulator[data-balance-state="left"] .balance-glow-left,
.balance-simulator[data-balance-state="right"] .balance-glow-right {
  opacity: 0.34;
}
.weight-drop-zone.drag-over,
.construct-pan-target.drag-over,
.weight-order-slot.drag-over {
  outline: 7px solid #f4bd31;
  outline-offset: 4px;
  box-shadow: 0 0 28px #f4bd31;
}

.weight-state-board.auto-demo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: #eaf7f4;
  align-items: center;
}
.weight-state-board.auto-demo article {
  position: relative;
  min-width: 0;
  border-radius: 28px;
  padding: 12px;
  background: #fff;
  opacity: 0.48;
  transform: scale(0.94);
  transition:
    opacity 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.weight-state-board.auto-demo article.speaking {
  opacity: 1;
  transform: scale(1);
  box-shadow:
    0 0 0 6px #f4bd31,
    0 18px 38px #355f5733;
}
.weight-state-board.auto-demo article.seen {
  opacity: 0.82;
}
.weight-state-board.auto-demo img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 20px;
}
.state-motion {
  display: block;
  position: relative;
  width: 80%;
  height: 30px;
  margin: -4px auto 2px;
}
.state-motion i {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 7px;
  border-radius: 8px;
  background: #0c897b;
  transform-origin: center;
}
.state-motion.left-down i {
  transform: rotate(-8deg);
}
.state-motion.right-down i {
  transform: rotate(8deg);
}
.state-motion b {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 25px;
  translate: -50% 0;
  background: #0c897b;
  border-radius: 8px;
}
.weight-read-board {
  display: grid;
  place-items: center;
  padding: 28px;
  background: #f4fbfa;
}
.weight-read-board .balance-pan-wrap,
.weight-read-board .balance-equal-target {
  pointer-events: auto;
}

.weight-example-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 38px;
  background: #f0f9f7;
}
.example-pair {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 8px;
  padding: 24px;
  border-radius: 30px;
  background: #fff;
  opacity: 0.55;
  transition: 0.3s;
}
.example-pair.speaking {
  opacity: 1;
  box-shadow: 0 0 0 6px #f5bf35;
}
.example-pair .weight-object-card {
  height: 190px;
}
.weight-relation {
  position: relative;
  width: 70px;
  height: 100px;
}
.weight-relation i {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 45px;
  height: 8px;
  background: #118f82;
  border-radius: 8px;
  transform: rotate(-9deg);
}
.weight-relation.reverse i {
  transform: rotate(9deg);
}
.weight-object-card {
  border: 4px solid #b7ddd6 !important;
  background: #fff !important;
  border-radius: 25px !important;
  padding: 9px !important;
  min-width: 0;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    filter 0.2s;
}
.weight-object-card:hover,
.weight-object-card.selected {
  border-color: #f0b52e !important;
  box-shadow: 0 0 0 6px #f0b52e38;
}
.weight-object-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  pointer-events: none;
}
.weight-pair-board {
  display: grid;
  place-items: center;
  padding: 36px;
}
.weight-pair-line {
  width: min(100%, 650px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
  height: 360px;
}
.weight-pair-line .weight-object-card {
  height: 100%;
}

.weight-order-board {
  display: grid;
  grid-template-rows: minmax(170px, 1fr) minmax(220px, 1.2fr);
  gap: 26px;
  padding: 30px;
  background: #eff9f7;
}
.weight-order-slots,
.weight-order-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.weight-order-slot {
  border: 4px dashed #e5aa22;
  border-radius: 25px;
  background: #fff9e8;
  display: grid;
  place-items: center;
  min-width: 0;
}
.weight-order-slot > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffcf54;
  color: #14453f;
  font-weight: 900;
  font-size: 24px;
}
.weight-order-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}
.weight-order-options .weight-object-card {
  height: 100%;
}

.weight-color-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 270px));
  gap: 42px;
  place-content: center;
  padding: 34px;
  background: #eff9f7;
}
.weight-color-board .weight-object-card {
  height: 360px;
}
.weight-color-board .painted-heavy {
  background: #fff !important;
}
.weight-color-board .painted-heavy img {
  animation: paint-object 700ms ease forwards;
  filter: sepia(0.55) saturate(4) hue-rotate(116deg)
    drop-shadow(0 0 18px #28cfb0);
}
@keyframes paint-object {
  0% {
    transform: scale(0.88);
    filter: none;
  }
  55% {
    transform: scale(1.09);
  }
  100% {
    transform: scale(1);
    filter: sepia(0.55) saturate(4) hue-rotate(116deg)
      drop-shadow(0 0 18px #28cfb0);
  }
}

.weight-sim-predict,
.weight-simulator-board {
  padding: 30px;
  background: #edf8f6;
}
.weight-sim-predict {
  display: grid;
  place-items: center;
}
.weight-simulator-board {
  display: grid;
  grid-template-rows: minmax(330px, 1fr) 150px;
  gap: 16px;
}
.weight-simulator-tray {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.weight-simulator-tray .weight-object-card {
  width: 145px;
  height: 140px;
  touch-action: none;
}
.prediction-marker {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 86px;
  height: 86px;
  padding: 8px;
  border: 4px solid #f1b52d;
  border-radius: 50%;
  background: #fff;
}
.prediction-marker:before {
  content: "?";
  position: absolute;
  left: -14px;
  top: -14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1b52d;
  font-weight: 900;
}
.prediction-marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.weight-tf-board.clean {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 22px;
  background: #eef9f7;
}
.weight-tf-board.clean .balance-simulator {
  height: 330px;
}
.weight-tf-board.clean .visual-true-false {
  position: static;
  left: auto;
  bottom: auto;
  translate: none;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.weight-tf-board.clean .visual-true-false button {
  width: 92px;
  height: 76px;
  border: 4px solid #b6ddd6;
  border-radius: 22px;
  background: #fff;
  font-size: 48px;
}
.weight-tf-board.clean .visual-true-false button:first-child {
  color: #20a55d;
}
.weight-tf-board.clean .visual-true-false button:last-child {
  color: #ef6158;
}
.weight-balance-board {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 24px;
  background: #eff9f7;
}
.weight-balance-board > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 24px;
}
.orange-count-options {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.orange-count-options button {
  min-width: 120px;
  min-height: 76px;
  border: 4px solid #b6ddd6;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.orange-count-options i {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffd86a, #ef8a19 64%, #c65d0a);
  box-shadow: inset -3px -3px 5px #9f3f0928;
}

.weight-construct-board {
  display: grid;
  grid-template-rows: 135px minmax(210px, 1fr) 180px;
  gap: 16px;
  padding: 24px;
  background: #eff9f7;
}
.construct-reference {
  position: relative;
  display: grid;
  place-items: center;
}
.construct-reference img {
  width: 110px;
  height: 125px;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px #1b4d4530;
}
.construct-reference span {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 170px;
  height: 5px;
  translate: -50% 0;
  background: #0a897b;
  border-radius: 8px;
}
.construct-targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.construct-pan-target {
  position: relative;
  height: 190px;
  border: 4px dashed #e5aa22;
  border-radius: 30px;
  background: #fff9e5;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.construct-pan-target.high {
  translate: 0 -22px;
}
.construct-pan-target.low {
  translate: 0 22px;
}
.construct-pan-target i {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 18px;
  height: 23px;
  border-radius: 10px 10px 50% 50%;
  background: #d09b29;
}
.construct-pan-target img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  z-index: 2;
}
.construct-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.construct-options .weight-object-card {
  height: 170px;
  touch-action: none;
}

@media (max-width: 900px) {
  .weight-state-board.auto-demo {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .weight-state-board.auto-demo article {
    display: grid;
    grid-template-columns: 1fr 100px;
    align-items: center;
  }
  .weight-state-board.auto-demo img {
    height: 180px;
  }
  .weight-example-board {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .weight-simulator-board {
    grid-template-rows: 300px 125px;
  }
  .balance-simulator {
    height: 300px;
  }
  .construct-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .weight-construct-board {
    grid-template-rows: 120px 230px minmax(260px, 1fr);
    overflow: auto;
  }
}
@media (max-width: 620px) {
  .weight-scene-hotspots .bag {
    left: 40%;
    width: 20%;
  }
  .weight-scene-hotspots .case {
    left: 61%;
    width: 30%;
  }
  .weight-predict-actions .metal-box {
    left: 4%;
    width: 30%;
  }
  .weight-predict-actions .feather {
    left: 45%;
    width: 20%;
  }
  .weight-pair-line,
  .weight-color-board {
    gap: 12px;
  }
  .weight-color-board .weight-object-card {
    height: 280px;
  }
  .balance-pan-wrap {
    width: 122px;
  }
  .balance-pan-wrap.left {
    left: -26px;
  }
  .balance-pan-wrap.right {
    right: -26px;
  }
  .weight-order-board {
    padding: 14px;
  }
  .weight-order-slots,
  .weight-order-options {
    gap: 8px;
  }
  .weight-simulator-board {
    padding: 12px;
  }
  .prediction-marker {
    width: 64px;
    height: 64px;
    right: 12px;
    top: 12px;
  }
  .construct-targets {
    gap: 12px;
  }
  .construct-options {
    gap: 8px;
  }
}
.weight-state-board button.next-state {
  animation: focusPulse 1.35s ease-in-out infinite;
}
.weight-state-board button:disabled {
  opacity: 0.38;
  cursor: default;
}

/* Tartma: ikinci yanlışta göreve özgü görsel öğretim */
.weight-object-card.presentation {
  cursor: default;
}
.weight-object-card.presentation:hover {
  border-color: #b7ddd6 !important;
  box-shadow: none;
}
.weight-object-feather img,
.weight-object-featherLine img {
  background: transparent;
}
.weight-example-board .weight-object-card img {
  transform: scale(1.25);
}
.weight-read-board.weight-method .balance-simulator:after {
  content: "";
  position: absolute;
  z-index: 6;
  left: 12%;
  right: 12%;
  top: 47%;
  border-top: 5px dashed #0c897b;
  pointer-events: none;
}
.weight-read-board.weight-method.read-task-0 .balance-pan-wrap.right,
.weight-read-board.weight-method.read-task-1 .balance-pan-wrap.right {
  opacity: 0.2;
  filter: grayscale(1);
}
.weight-read-board.weight-method.read-task-0 .balance-pan-wrap.left,
.weight-read-board.weight-method.read-task-1 .balance-pan-wrap.left {
  filter: drop-shadow(0 0 14px #ffd24f);
  animation: weightTargetPulse 1s ease-in-out infinite;
}
.weight-read-board.weight-method.read-task-2 .balance-equal-target {
  animation: weightTargetPulse 1s ease-in-out infinite;
}
.weight-pair-board.weight-method .weight-object-card,
.weight-color-board.weight-method .weight-object-card {
  animation: weightComparePulse 1.2s ease-in-out infinite;
}
.weight-pair-board.weight-method .weight-object-card:nth-child(2),
.weight-color-board.weight-method .weight-object-card:nth-child(2) {
  animation-delay: 0.6s;
}
.weight-pair-board.weight-method .pair-balance-line {
  border-top-style: solid;
  animation: weightTiltGuide 1.2s ease-in-out infinite;
}
.weight-order-board.weight-method .weight-order-options .weight-object-card {
  animation: weightOrderStep 1.8s ease-in-out infinite;
}
.weight-order-board.weight-method
  .weight-order-options
  .weight-object-card:nth-child(2) {
  animation-delay: 0.6s;
}
.weight-order-board.weight-method
  .weight-order-options
  .weight-object-card:nth-child(3) {
  animation-delay: 1.2s;
}
.weight-balance-board.weight-method .orange-count-options button:nth-child(2) {
  box-shadow: 0 0 0 7px #0c897b;
  animation: weightTargetPulse 1s ease-in-out infinite;
}
.weight-balance-board.weight-method
  .orange-count-options
  button:nth-child(2)
  i {
  animation: weightOrangeCount 1.5s ease-in-out infinite;
}
.weight-balance-board.weight-method
  .orange-count-options
  button:nth-child(2)
  i:nth-child(2) {
  animation-delay: 0.35s;
}
.weight-balance-board.weight-method
  .orange-count-options
  button:nth-child(2)
  i:nth-child(3) {
  animation-delay: 0.7s;
}
.weight-construct-board.weight-method .construct-reference {
  animation: weightTargetPulse 1.1s ease-in-out infinite;
}
.weight-construct-board.weight-method .construct-targets {
  filter: drop-shadow(0 0 12px #0c897b66);
}
.weight-tf-board.weight-method .balance-simulator {
  box-shadow: inset 0 0 0 6px #0c897b;
}
.weight-tf-board.weight-method .balance-pan-wrap img {
  animation: weightComparePulse 1.1s ease-in-out infinite;
}
.weight-color-board.weight-method .weight-object-card img {
  filter: drop-shadow(0 0 12px #0c897b);
}
.weight-daily-board.weight-method
  .weight-place-options
  button:not([data-weight-place="library"]) {
  animation: weightTargetPulse 1.2s ease-in-out infinite;
}
.weight-daily-board.weight-method .weight-place-options button:nth-child(2) {
  animation-delay: 0.35s;
}
.weight-daily-board.weight-method .weight-place-options button:nth-child(3) {
  animation-delay: 0.7s;
}
@keyframes weightTargetPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 15px #ffd24f);
  }
}
@keyframes weightComparePulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
    box-shadow: 0 0 0 6px #0c897b33;
  }
}
@keyframes weightTiltGuide {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}
@keyframes weightOrderStep {
  0%,
  55%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.07);
    box-shadow: 0 0 0 6px #ffd24f55;
  }
}
@keyframes weightOrangeCount {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.28);
    box-shadow: 0 0 12px #f6ac25;
  }
}

/* Tartma v4: havaalanında gerçek kantar, sonraki görevlerde özgün iki kefeli terazi */
.weight-airport-lab {
  position: relative;
  overflow: hidden;
  background: #dcece9;
  padding: 0;
}
.weight-kantar-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.weight-kantar-focus {
  position: absolute;
  z-index: 2;
  left: 70.5%;
  top: 27%;
  width: 18%;
  aspect-ratio: 1;
  border: 6px solid #ffd04d;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px #ffd04d);
  animation: focusPulse 1.5s ease-in-out infinite;
  pointer-events: none;
}
.weight-kantar-choice {
  position: absolute;
  z-index: 4;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.weight-kantar-choice img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px #173c3544);
  pointer-events: none;
}
.weight-kantar-choice.backpack {
  left: 39%;
  bottom: 4%;
  width: 14%;
  height: 25%;
}
.weight-kantar-choice.travel-case {
  left: 54%;
  bottom: 3%;
  width: 21%;
  height: 30%;
}
.weight-kantar-choice:hover,
.weight-kantar-choice:focus-visible {
  filter: drop-shadow(0 0 12px #ffd14e);
  transform: scale(1.05);
  outline: 0;
}
.weight-airport-weigh:after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 51.5%;
  bottom: 2.5%;
  width: 39%;
  height: 17%;
  border: 4px solid #ffd04d;
  border-radius: 45% 45% 30% 30%;
  filter: drop-shadow(0 0 11px #ffd04d99);
  pointer-events: none;
}
.weight-kantar-display {
  position: absolute;
  z-index: 5;
  left: 75.7%;
  top: 33.5%;
  width: 9.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  color: #123f3a;
  text-shadow:
    0 1px 0 #fff,
    0 0 5px #fff,
    0 0 9px #fff;
  pointer-events: none;
}
.weight-kantar-display b {
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1;
}
.weight-kantar-display small {
  font-size: clamp(9px, 1vw, 14px);
  font-weight: 900;
  align-self: flex-end;
  margin-bottom: 25%;
}
.weight-kantar-display.has-reading {
  animation: kantarReading 0.65s ease both;
}
@keyframes kantarReading {
  0% {
    transform: scale(0.82);
    filter: brightness(1.7);
  }
  55% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
.weight-kantar-platform {
  position: absolute;
  z-index: 5;
  left: 55%;
  bottom: 3.8%;
  width: 33%;
  height: 17%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: visible;
  touch-action: none;
}
.weight-kantar-platform > .weight-kantar-platform-glow {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 5%;
  height: 17%;
  border-radius: 50%;
  background: #23a99522;
  opacity: 0;
  transition: opacity 0.2s;
}
.weight-kantar-platform.drag-over > .weight-kantar-platform-glow {
  opacity: 1;
  box-shadow:
    0 0 0 8px #ffd04d,
    0 0 28px #ffd04d;
}
.weight-kantar-platform img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 23%;
  translate: -50% 0;
  width: 55%;
  height: 120%;
  object-fit: contain;
  filter: drop-shadow(0 9px 7px #173c3548);
  pointer-events: none;
}
.weight-kantar-platform.occupied:hover img,
.weight-kantar-platform.occupied:focus-visible img {
  filter: drop-shadow(0 0 12px #ffd04d) drop-shadow(0 9px 7px #173c3548);
}
.weight-kantar-platform.occupied:focus-visible {
  outline: 5px solid #ffd04d;
  outline-offset: 2px;
  border-radius: 42%;
}
.weight-kantar-return-cue {
  position: absolute;
  z-index: 7;
  right: 2%;
  top: -54%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff7d9;
  border: 3px solid #e3a322;
  color: #075f56;
  font-size: 25px;
  font-style: normal;
  font-weight: 1000;
  box-shadow: 0 7px 15px #173c3540;
  animation: weightReturnCue 1.45s ease-in-out infinite;
  pointer-events: none;
}
@keyframes weightReturnCue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.weight-kantar-tray {
  position: absolute;
  z-index: 6;
  left: 31%;
  bottom: 1.5%;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  width: 27%;
  height: 28%;
  pointer-events: none;
}
.weight-kantar-tray .weight-object-card {
  flex: 1 1 0;
  width: 50%;
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible;
  pointer-events: auto;
  touch-action: none;
}
.weight-kantar-tray .weight-object-card img {
  border-radius: 0;
  filter: drop-shadow(0 9px 7px #173c3548);
}
.weight-kantar-tray .weight-object-card:hover,
.weight-kantar-tray .weight-object-card.selected {
  filter: drop-shadow(0 0 10px #ffd04d);
  transform: scale(1.05);
}
.weight-simulator-tray .weight-object-card,
.construct-options .weight-object-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 4px !important;
}
.weight-simulator-tray .weight-object-card img,
.construct-options .weight-object-card img {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 7px 6px #173c3538);
}
.weight-simulator-tray .weight-object-card:hover,
.weight-simulator-tray .weight-object-card.selected,
.construct-options .weight-object-card:hover,
.construct-options .weight-object-card.selected {
  filter: drop-shadow(0 0 11px #ffd04d);
  transform: scale(1.05);
}
.weight-kantar-results {
  position: absolute;
  z-index: 8;
  left: 3%;
  top: 3%;
  width: 32%;
  height: 17%;
  border-radius: 24px;
  background: #f5fffcdd;
  border: 3px solid #80c9bd;
  box-shadow: 0 10px 25px #173c3535;
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  align-items: center;
  padding: 7px 12px;
  pointer-events: none;
}
.weight-kantar-results span {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
}
.weight-kantar-results img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px #173c3530);
}
.weight-kantar-results b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #dcefeb;
  color: #075f56;
  font-size: 18px;
}
.weight-kantar-results i {
  font-size: 30px;
  font-style: normal;
  font-weight: 1000;
  color: #0a8277;
  text-align: center;
}
.weight-kantar-results .heavier {
  filter: drop-shadow(0 0 8px #ffd04d);
}

/* Rijit bağlantılı, yatay kalan platformları ve ağırlığa göre eğilen özgün terazi */
.balance-simulator {
  background:
    radial-gradient(circle at 50% 70%, #fff 0 18%, transparent 19%),
    linear-gradient(155deg, #effaf8, #d9f1ec);
  overflow: hidden;
}
.balance-arm {
  top: 112px;
  transform-origin: 50% 50%;
}
.balance-pan-wrap {
  top: 8px;
  width: 168px;
  height: 178px;
  transform-origin: 50% 0;
  overflow: visible;
}
.balance-pan-wrap.left {
  left: -54px;
}
.balance-pan-wrap.right {
  right: -54px;
}
.balance-pan-wrap:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 12px;
  height: 118px;
  translate: -50% 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #526f6a, #e2f2ef 47%, #45635e);
  box-shadow: 0 3px 8px #173e3840;
  transform: none;
}
.balance-pan-wrap:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 35px;
  width: 126px;
  height: 15px;
  translate: -50% 0;
  border-radius: 16px;
  background: linear-gradient(#f2f8f7, #718f89 58%, #385e57);
  box-shadow: 0 5px 9px #183e3840;
  transform: none;
}
.balance-pan {
  left: 4px;
  right: 4px;
  bottom: 7px;
  height: 37px;
  border: 3px solid #58766f;
  border-radius: 50%;
  background: linear-gradient(#fbfdfd 0 25%, #abc4bf 27% 63%, #607e78);
  box-shadow:
    inset 0 -8px 12px #314f4935,
    0 10px 18px #173e3834;
}
.balance-pan-wrap img {
  position: relative;
  z-index: 4;
  width: 106px;
  height: 106px;
  margin-bottom: 40px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 8px 7px #173c3540);
  mix-blend-mode: normal;
  object-fit: contain;
}
.balance-beam {
  height: 20px;
  background: linear-gradient(#d9eeea, #668b84 56%, #294f49);
  box-shadow: 0 6px 10px #173f3942;
  border: 2px solid #466b64;
}
.balance-pivot {
  background: linear-gradient(90deg, #315e57, #c1ded9 45%, #315e57);
  box-shadow: 0 7px 12px #173e3833;
}
.balance-pivot:after {
  background: linear-gradient(#b5d4cf, #34655e);
}
.balance-pivot i {
  background: radial-gradient(circle at 35% 30%, #effaf8, #4e8178 70%);
  box-shadow: 0 3px 8px #173e3840;
}

/* Taşınan nesneler gerçek alfa kanallı PNG'dir; beyaz dikdörtgen ve karışım hilesi kullanılmaz. */
.weight-object-card img {
  mix-blend-mode: normal;
}
.weight-example-board img,
.construct-reference img,
.weight-finish-route img {
  mix-blend-mode: normal;
}
.weight-object-backpack img,
.weight-object-travelCase img,
.weight-object-image-backpack,
.weight-object-image-travelCase {
  mix-blend-mode: normal !important;
}
.weight-object-card {
  touch-action: none;
}

.construct-placed-list {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 138px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
}
.construct-placed-item {
  display: block !important;
  flex: 1 1 0;
  height: 112px;
  min-width: 0;
}
.construct-placed-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: normal;
}

.weight-place-options button {
  font-size: 0;
  overflow: hidden;
  padding: 0;
}
.weight-place-picture {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/demo/assets/interactive/weight-daily-places-v2.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  filter: drop-shadow(0 5px 7px #163d3624);
}
.weight-place-picture.market {
  background-position: 0 0;
}
.weight-place-picture.cargo {
  background-position: 100% 0;
}
.weight-place-picture.hospital {
  background-position: 0 100%;
}
.weight-place-picture.library {
  background-position: 100% 100%;
}

@media (max-width: 760px) {
  .weight-kantar-choice.backpack {
    left: 36%;
    width: 17%;
  }
  .weight-kantar-choice.travel-case {
    left: 52%;
    width: 25%;
  }
  .weight-kantar-tray {
    left: 27%;
    width: 32%;
    height: 26%;
  }
  .weight-kantar-results {
    width: 41%;
    height: 15%;
    padding: 4px 7px;
  }
  .weight-kantar-results span {
    grid-template-columns: 1fr 25px;
  }
  .weight-kantar-results b {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  .weight-kantar-display {
    width: 11%;
    left: 75%;
  }
  .balance-pan-wrap {
    width: 134px;
  }
  .balance-pan-wrap.left {
    left: -40px;
  }
  .balance-pan-wrap.right {
    right: -40px;
  }
  .balance-pan-wrap img {
    width: 82px;
    height: 82px;
  }
  .weight-place-options {
    left: 3%;
    right: 3%;
    gap: 7px;
  }
  .weight-place-options button {
    height: 94px;
  }
  .construct-placed-item {
    height: 92px;
  }
}

/* Tartma v3: kiriş, askılar ve kefeler tek mekanik sistemdir. */
.lumi-balance {
  --beam-angle: 0deg;
  --left-shift: 0px;
  --right-shift: 0px;
  position: relative;
  width: min(100%, 650px);
  height: 390px;
  margin: auto;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 73%, #fff 0 17%, transparent 18%),
    linear-gradient(155deg, #effaf8, #d9f1ec);
  box-shadow: inset 0 0 0 2px #bfded8;
  overflow: hidden;
  isolation: isolate;
}
.lumi-balance[data-balance-state="left"] {
  --beam-angle: -7deg;
  --left-shift: 27px;
  --right-shift: -27px;
}
.lumi-balance[data-balance-state="right"] {
  --beam-angle: 7deg;
  --left-shift: -27px;
  --right-shift: 27px;
}
.lumi-balance-scene {
  position: absolute;
  inset: 0 0 48px;
  overflow: visible;
}
.lumi-balance-mast {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 69px;
  width: 31px;
  height: 235px;
  translate: -50% 0;
  border: 3px solid #44655f;
  border-radius: 16px 16px 9px 9px;
  background: linear-gradient(90deg, #4d6e68, #e9f7f4 46%, #496a64);
  box-shadow: 0 8px 14px #173d3730;
}
.lumi-balance-mast:before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30px;
  width: 51px;
  height: 51px;
  translate: -50% 0;
  border: 3px solid #496b65;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #effbf8, #6b9990 62%, #31544e);
  box-shadow: 0 5px 10px #173d3740;
}
.lumi-balance-mast i {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 120px;
  height: 34px;
  translate: -50% 0;
  border: 3px solid #466861;
  border-radius: 50%;
  background: linear-gradient(#d7ece8, #6f948c 60%, #315a52);
}
.lumi-balance-mast b {
  position: absolute;
  left: 50%;
  bottom: -33px;
  width: 190px;
  height: 35px;
  translate: -50% 0;
  border: 3px solid #466861;
  border-radius: 50%;
  background: linear-gradient(#bcdad4, #517b73);
  box-shadow: 0 8px 12px #173d3734;
}
.lumi-balance-beam {
  position: absolute !important;
  z-index: 4 !important;
  inset: 0 !important;
  top: 0 !important;
  height: auto !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible;
}
.lumi-beam-bar {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 82px;
  width: 76%;
  height: 22px;
  translate: -50% 0;
  border: 3px solid #45675f;
  border-radius: 18px;
  background: linear-gradient(#e8f6f3, #7ca19a 52%, #355c54);
  box-shadow: 0 7px 12px #173d3740;
  transform: rotate(var(--beam-angle));
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lumi-pan {
  position: absolute !important;
  z-index: 5;
  top: 90px !important;
  width: 170px !important;
  height: 224px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: block !important;
  overflow: visible !important;
  cursor: pointer;
  transform: none !important;
  transition: translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lumi-pan.left {
  left: 12% !important;
  right: auto !important;
  translate: -50% var(--left-shift);
}
.lumi-pan.right {
  left: 88% !important;
  right: auto !important;
  translate: -50% var(--right-shift);
}
.lumi-pan:before,
.lumi-pan:after {
  content: none !important;
}
.lumi-pan-hanger {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  width: 142px;
  height: 154px;
  translate: -50% 0;
  pointer-events: none;
}
.lumi-pan-hanger:before,
.lumi-pan-hanger:after,
.lumi-pan-hanger i,
.lumi-pan-hanger b {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 145px;
  border-radius: 4px;
  background: linear-gradient(90deg, #526f69, #e3f0ee 55%, #45625c);
  transform-origin: top;
  box-shadow: 0 2px 4px #173d3730;
}
.lumi-pan-hanger:before {
  left: 50%;
  transform: rotate(25deg);
}
.lumi-pan-hanger:after {
  right: 50%;
  transform: rotate(-25deg);
}
.lumi-pan-hanger i {
  left: 50%;
  transform: rotate(-25deg);
}
.lumi-pan-hanger b {
  right: 50%;
  transform: rotate(25deg);
}
.lumi-pan-tray {
  position: absolute !important;
  z-index: 3 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 12px !important;
  width: 164px !important;
  height: 44px !important;
  translate: -50% 0;
  border: 4px solid #4f7069 !important;
  border-radius: 50% !important;
  background: linear-gradient(
    #f7fbfa 0 18%,
    #a9c4bf 20% 59%,
    #557871 61%
  ) !important;
  box-shadow:
    inset 0 -10px 13px #294a4430,
    0 11px 17px #173d3735 !important;
}
.lumi-pan-object {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 43px;
  width: 126px;
  height: 126px;
  translate: -50% 0;
  display: grid;
  place-items: end center;
  pointer-events: none;
}
.lumi-pan-object img,
.lumi-pan img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 7px #173c3540);
  mix-blend-mode: normal !important;
}
.lumi-balance-base {
  display: none !important;
}
.lumi-equal-target {
  position: absolute !important;
  z-index: 8 !important;
  left: 50% !important;
  bottom: 8px !important;
  width: 116px !important;
  height: 46px !important;
  translate: -50% 0 !important;
  border: 3px solid #9cc9c1 !important;
  border-radius: 23px !important;
  background: #eef8f6 !important;
  box-shadow: 0 5px 12px #173d3724 !important;
  color: #075f56 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  cursor: pointer;
}
.lumi-equal-target span {
  position: relative !important;
  inset: auto !important;
  width: 35px !important;
  height: 20px !important;
  background: none !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 11px !important;
  align-items: end !important;
}
.lumi-equal-target span i {
  display: block;
  width: 12px;
  height: 13px;
  border: 3px solid #5c8179;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}
.lumi-equal-target b {
  font-size: 27px;
  line-height: 1;
}
.lumi-equal-target.is-decorative {
  display: none !important;
}
.lumi-equal-target.level {
  background: #fff1a8 !important;
  border-color: #e4ad27 !important;
  box-shadow:
    0 0 0 7px #ffd45132,
    0 6px 14px #173d3728 !important;
}
.lumi-balance.compact {
  height: 292px;
}
.lumi-balance.compact .lumi-balance-scene {
  bottom: 40px;
}
.lumi-balance.compact .lumi-balance-mast {
  top: 48px;
  height: 171px;
  scale: 0.82;
  transform-origin: top center;
}
.lumi-balance.compact .lumi-beam-bar {
  top: 58px;
  width: 73%;
  height: 18px;
}
.lumi-balance.compact .lumi-pan {
  top: 65px !important;
  width: 132px !important;
  height: 170px !important;
}
.lumi-balance.compact .lumi-pan-hanger {
  width: 108px;
  height: 117px;
}
.lumi-balance.compact .lumi-pan-hanger:before,
.lumi-balance.compact .lumi-pan-hanger:after,
.lumi-balance.compact .lumi-pan-hanger i,
.lumi-balance.compact .lumi-pan-hanger b {
  height: 108px;
}
.lumi-balance.compact .lumi-pan-tray {
  width: 126px !important;
  height: 34px !important;
  bottom: 10px !important;
}
.lumi-balance.compact .lumi-pan-object {
  width: 88px;
  height: 88px;
  bottom: 35px;
}
.lumi-balance.compact .lumi-equal-target {
  height: 36px !important;
  width: 92px !important;
  bottom: 5px !important;
}
.weight-predict-board.object-first {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 22px;
  padding: 24px !important;
  background: linear-gradient(145deg, #eef9f7, #d9f1ec) !important;
  align-items: center;
}
.weight-predict-source {
  height: min(66vh, 570px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 14px 30px #173d3730;
}
.weight-predict-source img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.weight-predict-objects {
  display: grid;
  gap: 20px;
}
.weight-predict-objects .weight-object-card {
  height: 230px;
  border: 4px solid #a8d3cb;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 22px #173d3722;
  padding: 18px;
}
.weight-predict-objects .weight-object-card:hover,
.weight-predict-objects .weight-object-card:focus-visible {
  border-color: #efb52e;
  box-shadow:
    0 0 0 7px #ffd24f35,
    0 12px 25px #173d3730;
}
.weight-predict-objects img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.weight-predict-result {
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eef9f7;
}
.weight-pair-board {
  display: grid;
  place-items: center;
  padding: 26px;
  background: #eef9f7;
}
.weight-example-board .example-pair {
  position: relative;
  min-width: 0;
}
.example-spoken-result {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 8px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 18px;
  background: #fff7d9e8;
  border: 2px solid #e2ad29;
  color: #164740;
  box-shadow: 0 6px 13px #173d3727;
  white-space: nowrap;
}
.example-spoken-result i {
  font-style: normal;
  color: #0b897b;
  font-size: 22px;
}
.example-spoken-result small {
  font-weight: 850;
}
.example-spoken-result.light {
  background: #edf8ff;
  border-color: #7ab5de;
}
.weight-example-board .example-pair {
  display: block;
  min-height: 0;
  height: 330px;
  padding: 12px;
  overflow: hidden;
}
.weight-example-board .example-pair .lumi-balance {
  width: 100%;
  height: 292px;
}
.weight-example-board .example-spoken-result {
  width: max-content;
  max-width: calc(100% - 28px);
  justify-content: center;
  font-size: 15px !important;
  line-height: 1.1;
}
.weight-example-board .example-spoken-result b,
.weight-example-board .example-spoken-result small {
  font-size: 15px !important;
}
.weight-example-board .example-spoken-result i {
  font-size: 21px !important;
  flex: 0 0 auto;
}
.weight-order-slot {
  overflow: hidden;
}
.weight-order-slot img {
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 7px 6px #173d3730);
}
@media (max-width: 820px) {
  .weight-predict-board.object-first {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .weight-predict-source {
    height: 360px;
  }
  .weight-predict-objects {
    grid-template-columns: 1fr 1fr;
  }
  .weight-predict-objects .weight-object-card {
    height: 170px;
  }
  .lumi-balance {
    height: 340px;
  }
  .lumi-pan {
    width: 140px !important;
    height: 196px !important;
  }
  .lumi-pan-tray {
    width: 136px !important;
  }
  .lumi-pan-object {
    width: 104px;
    height: 104px;
  }
  .lumi-pan.left {
    left: 14% !important;
  }
  .lumi-pan.right {
    left: 86% !important;
  }
}
@media (max-width: 560px) {
  .lumi-balance {
    height: 300px;
  }
  .lumi-balance-scene {
    bottom: 42px;
  }
  .lumi-balance-mast {
    top: 57px;
    height: 179px;
    scale: 0.82;
    transform-origin: top center;
  }
  .lumi-beam-bar {
    top: 69px;
    width: 72%;
    height: 18px;
  }
  .lumi-pan {
    top: 75px !important;
    width: 112px !important;
    height: 166px !important;
  }
  .lumi-pan-hanger {
    width: 92px;
    height: 111px;
  }
  .lumi-pan-hanger:before,
  .lumi-pan-hanger:after,
  .lumi-pan-hanger i,
  .lumi-pan-hanger b {
    height: 104px;
  }
  .lumi-pan-tray {
    width: 108px !important;
    height: 31px !important;
  }
  .lumi-pan-object {
    width: 78px;
    height: 78px;
    bottom: 31px;
  }
  .weight-predict-objects .weight-object-card {
    height: 135px;
  }
}

/* Tema 3 değerlendirme: kaynak sayfa 1-9, yazıdan bağımsız görsel görevler */
.theme3-intro-board {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: 46px;
  background: linear-gradient(145deg, #effaf7, #dcedea);
}
.theme3-intro-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.theme3-intro-card {
  min-height: 330px;
  border: 4px solid #a8d4cc;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 18px 36px #173d3720;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px;
  overflow: hidden;
}
.theme3-intro-card img,
.theme3-intro-card .weight-scale-object {
  width: 38%;
  height: 190px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 9px 7px #173d3730);
}
.theme3-route-line {
  width: 64px;
  height: 6px;
  border-radius: 6px;
  background: #efb72f;
  position: relative;
}
.theme3-route-line:after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 17px;
  height: 17px;
  border-top: 6px solid #efb72f;
  border-right: 6px solid #efb72f;
  transform: translateY(-50%) rotate(45deg);
}
.theme3-balance-icon {
  font-size: 70px;
  color: #0b8277;
  filter: drop-shadow(0 6px 5px #173d3723);
}
.theme3-source-pages {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.theme3-source-pages i {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #9bcfc5;
  color: #086c63;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
}
.theme3-source-pages i:nth-child(-n + 5) {
  background: #e0f4ef;
}
.theme3-source-pages i:nth-child(n + 6) {
  background: #fff3c9;
  border-color: #e7b83c;
}

.theme3-unit-match-board,
.theme3-unit-check-board {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 22px;
  padding: 34px;
  background: linear-gradient(150deg, #eef9f7, #e2f3ef);
}
.theme3-unit-object,
.theme3-unit-check-object {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 13px 28px #173d371d;
  overflow: hidden;
}
.theme3-unit-object img,
.theme3-unit-check-object img {
  width: 78%;
  height: 300px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 9px 7px #173d3728);
}
.theme3-object-length-guide {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 9%;
  height: 4px;
  border-radius: 4px;
  background: #0e8e81;
  box-shadow: 0 0 0 7px #42b8aa22;
}
.theme3-object-length-guide:before,
.theme3-object-length-guide:after {
  content: "";
  position: absolute;
  top: -8px;
  width: 4px;
  height: 20px;
  background: #0e8e81;
}
.theme3-object-length-guide:before {
  left: 0;
}
.theme3-object-length-guide:after {
  right: 0;
}
.theme3-unit-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.theme3-unit-row.compact {
  padding: 0 7%;
}
.theme3-unit-button {
  min-width: 0;
  height: 115px;
  border: 4px solid #afd7d0;
  border-radius: 25px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 8px;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.theme3-unit-button:hover,
.theme3-unit-button:focus-visible {
  transform: translateY(-4px);
  border-color: #eab22b;
  box-shadow: 0 0 0 7px #ffd45438;
}
.theme3-unit-button .length-unit-visual {
  width: 100%;
  height: 92px;
}
.theme3-unit-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}
.theme3-hint .theme3-object-length-guide,
.theme3-hint .theme3-pair-startline {
  animation: theme3GuidePulse 1.1s ease-in-out 2;
}
.theme3-method .theme3-unit-button {
  opacity: 0.28;
}
.theme3-method .theme3-unit-button:nth-child(1),
.theme3-method .theme3-unit-button:nth-child(2),
.theme3-method .theme3-unit-button:nth-child(3),
.theme3-method .theme3-unit-button:nth-child(4),
.theme3-method .theme3-unit-button:nth-child(5) {
  opacity: 1;
  animation: theme3UnitSequence 2.4s ease both;
}
.theme3-method .theme3-unit-button:nth-child(2) {
  animation-delay: 0.25s;
}
.theme3-method .theme3-unit-button:nth-child(3) {
  animation-delay: 0.5s;
}
.theme3-method .theme3-unit-button:nth-child(4) {
  animation-delay: 0.75s;
}
.theme3-method .theme3-unit-button:nth-child(5) {
  animation-delay: 1s;
}
@keyframes theme3GuidePulse {
  50% {
    box-shadow: 0 0 0 15px #ffd44b55;
    filter: brightness(1.25);
  }
}
@keyframes theme3UnitSequence {
  0%,
  100% {
    transform: none;
  }
  40% {
    transform: translateY(-9px);
    box-shadow: 0 0 0 7px #ffd45444;
  }
}

.theme3-length-order-board {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 26px;
  padding: 42px 34px;
  background: #eef9f7;
}
.theme3-length-baseline {
  position: absolute;
  left: 10%;
  top: 11%;
  bottom: 45%;
  width: 5px;
  background: #0d8c80;
  border-radius: 5px;
}
.theme3-length-baseline span {
  position: absolute;
  left: -10px;
  top: 0;
  width: 24px;
  height: 5px;
  background: #0d8c80;
  box-shadow: 0 240px 0 #0d8c80;
}
.theme3-order-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  padding-left: 8%;
}
.theme3-order-slot {
  position: relative;
  height: 300px;
  border: 4px dashed #e6ad24;
  border-radius: 28px;
  background: #fff8db;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  overflow: hidden;
}
.theme3-order-slot.filled {
  border-style: solid;
  border-color: #8fcac0;
  background: #fff;
}
.theme3-order-slot.next {
  box-shadow: 0 0 0 8px #ffd34c38;
}
.theme3-order-slot img {
  width: 100%;
  height: 88%;
  object-fit: contain;
  object-position: left bottom;
  background: transparent;
  filter: drop-shadow(0 7px 6px #173d3726);
}
.theme3-order-slot:nth-child(1) img {
  height: 38%;
}
.theme3-order-slot:nth-child(2) img {
  height: 67%;
}
.theme3-order-slot b,
.theme3-weight-slot b {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #0c887c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.theme3-length-options,
.theme3-weight-options {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.theme3-length-options button,
.theme3-weight-options .weight-object-card {
  width: 150px;
  height: 132px;
  border: 4px solid #add6cf;
  border-radius: 24px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.theme3-length-options img,
.theme3-weight-options img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 6px 5px #173d3728);
}

.theme3-estimate-board {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 40px;
  background: #eef9f7;
}
.theme3-estimate-board > img {
  width: 88%;
  height: 320px;
  margin: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 7px #173d3728);
}
.theme3-estimate-board > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.theme3-estimate-board button {
  min-height: 145px;
  border: 4px solid #add7cf;
  border-radius: 26px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 3px;
  padding: 14px;
  cursor: pointer;
}
.theme3-estimate-board button b {
  grid-column: 1/-1;
  font-size: 35px;
  color: #076e64;
}
.theme3-estimate-board button i {
  height: 25px;
  border-radius: 5px;
  background: #f1ba35;
}
.theme3-measure-board {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 26px;
  padding: 38px;
  background: #eef9f7;
}
.theme3-measured-object {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 12px 27px #173d371e;
  padding: 36px;
}
.theme3-measured-object > img {
  width: 82%;
  height: 260px;
  object-fit: contain;
  background: transparent;
}
.theme3-cube-row {
  position: absolute !important;
  left: 12% !important;
  right: 12% !important;
  bottom: 10% !important;
  height: 86px !important;
}
.theme3-cube-token {
  justify-self: center;
  width: 105px;
  height: 105px;
}
.theme3-estimate-result {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 25px;
  border-radius: 28px;
  background: #fff;
  border: 4px solid #9dcec5;
}
.theme3-estimate-result span,
.theme3-estimate-result b {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 950;
}
.theme3-estimate-result span {
  background: #fff2c7;
  color: #b27300;
}
.theme3-estimate-result b {
  background: #ddf2ed;
  color: #087469;
}
.theme3-estimate-result i {
  font-style: normal;
  font-size: 34px;
  color: #0c8b7f;
}

.theme3-length-pair-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  padding: 70px 42px 48px;
  background: #eef9f7;
}
.theme3-pair-startline {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 20%;
  height: 5px;
  background: #0e8c80;
  border-radius: 5px;
  box-shadow: 0 0 0 8px #43b7a922;
}
.theme3-length-pair-board button {
  position: relative;
  z-index: 2;
  height: 430px;
  border: 4px solid #aed8d0;
  border-radius: 32px;
  background: #fff;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  cursor: pointer;
}
.theme3-length-pair-board button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  filter: drop-shadow(0 8px 7px #173d3726);
}
.theme3-length-pair-board button:first-of-type img {
  max-height: 83%;
}
.theme3-scale-board {
  display: grid;
  place-items: center;
  padding: 54px 38px;
  background: #eef9f7;
}
.theme3-scale-board .lumi-balance {
  width: 100%;
}
.theme3-method .lumi-balance:after {
  content: "";
  position: absolute;
  z-index: 20;
  left: 8%;
  right: 8%;
  top: 58%;
  border-top: 5px dashed #efb72e;
  animation: theme3LineReveal 1.5s ease both;
}
@keyframes theme3LineReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

.theme3-weight-order-board {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 20px;
  padding: 38px;
  background: #eef9f7;
}
.theme3-weight-order-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.theme3-weight-slot {
  position: relative;
  height: 310px;
  border: 4px dashed #e8af26;
  border-radius: 30px;
  background: #fff7d7;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}
.theme3-weight-slot.filled {
  border-style: solid;
  border-color: #9ccfc6;
  background: #fff;
}
.theme3-weight-slot.next {
  box-shadow: 0 0 0 8px #ffd34c38;
}
.theme3-weight-slot .weight-scale-object,
.theme3-weight-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 8px 7px #173d3728);
}
.theme3-weight-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0b8075;
}
.theme3-weight-arrow i {
  width: 60%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8fcfc5, #0b8176);
}
.theme3-weight-arrow span {
  font-size: 35px;
}
.theme3-weight-arrow b {
  font-size: 33px;
}
.theme3-heavy-light-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 70px 52px;
  background: #eef9f7;
}
.theme3-heavy-light-board .weight-object-card {
  height: 500px;
  border: 4px solid #abd6ce;
  border-radius: 34px;
  background: #fff;
  padding: 24px;
  cursor: pointer;
  overflow: hidden;
}
.theme3-heavy-light-board .weight-object-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 11px 8px #173d372c);
}

.theme3-daily-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px;
  background: #eef9f7;
}
.theme3-daily-scene {
  position: relative;
  min-height: 300px;
  border: 4px solid #acd6cf;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.theme3-daily-picture {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.theme3-daily-picture.market {
  background-image: url("/demo/assets/source/weight/page-10-image-01.png");
}
.theme3-daily-picture.table {
  background-image: url("/demo/assets/source/length/page-14-image-01.png");
}
.theme3-daily-picture.height {
  background-image: url("/demo/assets/source/length/page-19-image-01.png");
}
.theme3-daily-picture.reading {
  background-image: url("/demo/assets/source/ordinal/page-02-image-01.png");
}
.theme3-daily-scene i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #0c8a7e;
  box-shadow: 0 7px 15px #173d3730;
}
.theme3-daily-scene.weight i:after {
  content: "⚖";
  font-style: normal;
  font-size: 27px;
  color: #0b8075;
  display: grid;
  place-items: center;
  height: 100%;
}
.theme3-daily-scene.length i:after {
  content: "↔";
  font-style: normal;
  font-size: 30px;
  font-weight: 950;
  color: #0b8075;
  display: grid;
  place-items: center;
  height: 100%;
}
.theme3-daily-scene.none i:after {
  content: "●";
  font-style: normal;
  font-size: 21px;
  color: #89b9b1;
  display: grid;
  place-items: center;
  height: 100%;
}
.theme3-daily-scene.selected {
  box-shadow: 0 0 0 8px #38b77744;
}
.theme3-method .theme3-daily-scene.correct {
  animation: theme3DailyMark 1.4s ease both;
}
@keyframes theme3DailyMark {
  50% {
    box-shadow: 0 0 0 12px #ffd24b55;
    filter: brightness(1.08);
  }
}
.theme3-finish-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px auto;
}
.theme3-finish-route img,
.theme3-finish-route .weight-scale-object {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.theme3-finish-route span {
  font-size: 54px;
  color: #0b8176;
}

@media (max-width: 820px) {
  .theme3-intro-board {
    padding: 25px;
  }
  .theme3-intro-route {
    grid-template-columns: 1fr;
  }
  .theme3-intro-card {
    min-height: 220px;
  }
  .theme3-unit-row {
    gap: 6px;
  }
  .theme3-unit-button {
    height: 91px;
    padding: 4px;
  }
  .theme3-unit-button .length-unit-visual {
    height: 74px;
  }
  .theme3-length-order-board {
    padding: 24px 16px;
  }
  .theme3-order-slot {
    height: 240px;
    padding: 9px;
  }
  .theme3-length-options button,
  .theme3-weight-options .weight-object-card {
    width: 112px;
    height: 100px;
  }
  .theme3-heavy-light-board {
    padding: 35px 24px;
  }
  .theme3-heavy-light-board .weight-object-card {
    height: 380px;
  }
  .theme3-daily-board {
    padding: 18px;
    gap: 12px;
  }
  .theme3-daily-scene {
    min-height: 230px;
  }
}
@media (max-width: 560px) {
  .theme3-source-pages i {
    width: 29px;
    height: 29px;
    font-size: 12px;
  }
  .theme3-unit-match-board,
  .theme3-unit-check-board {
    padding: 16px;
    gap: 12px;
  }
  .theme3-unit-object,
  .theme3-unit-check-object {
    min-height: 230px;
  }
  .theme3-unit-object img,
  .theme3-unit-check-object img {
    height: 210px;
  }
  .theme3-unit-button {
    height: 74px;
    border-width: 3px;
  }
  .theme3-unit-button .length-unit-visual {
    height: 58px;
  }
  .theme3-order-slots,
  .theme3-weight-order-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .theme3-order-slot,
  .theme3-weight-slot {
    min-width: 0;
  }
  .theme3-order-slot {
    height: 180px;
  }
  .theme3-length-options,
  .theme3-weight-options {
    width: 100%;
    gap: 8px;
  }
  .theme3-length-options button,
  .theme3-weight-options .weight-object-card {
    min-width: 0;
    width: auto;
    flex: 1;
  }
  .theme3-estimate-board {
    padding: 18px;
  }
  .theme3-estimate-board > img {
    height: 230px;
  }
  .theme3-length-pair-board {
    padding: 35px 14px;
    gap: 10px;
  }
  .theme3-length-pair-board button {
    height: 330px;
    padding: 9px;
  }
  .theme3-weight-slot {
    height: 220px;
    padding: 10px;
  }
  .theme3-heavy-light-board {
    gap: 10px;
    padding: 25px 12px;
  }
  .theme3-heavy-light-board .weight-object-card {
    height: 300px;
    padding: 8px;
  }
  .theme3-daily-scene {
    min-height: 190px;
  }
  .orange-count-options {
    width: calc(100% - 48px);
    max-width: 100%;
    justify-self: center;
    gap: 6px;
  }
  .orange-count-options button {
    min-width: 0;
    width: 0;
    flex: 1 1 0;
    padding-inline: 2px;
    gap: 2px;
  }
  .orange-count-options i {
    width: 20px;
    height: 20px;
  }
}

/* Kısa masaüstü ekranlarda toplama tahtası ve alt eylem satırı aynı görünümde kalır. */
@media (max-height: 760px) and (min-width: 761px) {
  .addition-discover-board,
  .addition-combine-board,
  .addition-represent-board,
  .addition-horizontal-vertical-board,
  .addition-paint-board,
  .addition-swap-board,
  .addition-stations-board,
  .addition-code-board,
  .addition-problem-board,
  .addition-check-board,
  .addition-finish-board {
    width: min(100%, 430px) !important;
    height: min(100%, 430px) !important;
  }
}

/* 3. sınıf · geometrik cisimlerde yüz, ayrıt ve köşe */
.grade3-solid-properties-board{--g3sp-teal:#078b7c;--g3sp-coral:#f3745d;--g3sp-gold:#f3bd42;--g3sp-ink:#153f45;display:grid;place-items:center;min-height:0}
.grade3-solid-properties-board .g3sp-lab{position:relative;width:min(100%,780px);aspect-ratio:16/9;min-height:400px;overflow:hidden;border:1px solid #a7d6cf;border-radius:26px;background:#dcefe9;box-shadow:0 18px 42px #174b4430;isolation:isolate}
.g3sp-lab-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.g3sp-lab::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#eafff5a8,#d7f0ea26 58%,#124d452c);pointer-events:none}
.g3sp-workspace{position:absolute;inset:12px;z-index:3;display:grid;place-items:center;min-width:0;min-height:0}
.g3sp-assets-pending .g3sp-workspace,.g3sp-assets-pending .g3sp-lab-bg,.g3sp-assets-pending .g3sp-magnifier{visibility:hidden}
.g3sp-load-status{position:absolute;z-index:12;left:50%;top:50%;translate:-50% -50%;display:grid;justify-items:center;gap:8px;width:min(88%,440px);padding:22px;border:2px solid #9fd4cc;border-radius:22px;background:#f9fffd;color:#153f45;text-align:center;box-shadow:0 18px 38px #153f4538}.g3sp-load-status span{color:#078b7c;font-size:.72rem;font-weight:1000;letter-spacing:.08em}.g3sp-load-status h2,.g3sp-load-status p{margin:0}.g3sp-load-status p{font-weight:750;color:#456763}.g3sp-load-status button{min-height:48px;padding:10px 18px;border:2px solid #078b7c;border-radius:15px;background:#fff;color:#086f65;font-weight:900;cursor:pointer}.g3sp-load-status button:hover,.g3sp-load-status button:focus-visible{outline:4px solid #f3bd4259;background:#fff7d8}
.g3sp-magnifier{position:absolute;z-index:5;right:-9%;top:-17%;width:27%;height:auto;pointer-events:none;filter:drop-shadow(0 10px 18px #113f394d);transform:rotate(-9deg);transition:transform .8s ease,opacity .5s ease}
.g3sp-lab[data-step=gift] .g3sp-magnifier{opacity:0;transform:translate(180px,-90px) rotate(18deg)}
.g3sp-lab[data-step=scan] .g3sp-magnifier{opacity:1;animation:g3sp-scan 2.2s ease-in-out both}
@keyframes g3sp-scan{0%{transform:translate(120px,-70px) rotate(12deg)}55%{transform:translate(-250px,150px) rotate(-16deg)}100%{transform:translate(-95px,80px) rotate(-10deg)}}
.g3sp-three{position:relative;width:min(34vw,300px);height:min(34vw,300px);min-width:190px;min-height:190px;touch-action:none;border-radius:24px;background:radial-gradient(circle at 50% 42%,#fff 0,#eefaf6 58%,#c7e7df 100%);box-shadow:inset 0 0 0 2px #a8d8cf,0 16px 28px #123e3730;overflow:hidden}
.g3sp-three canvas{display:block;width:100%!important;height:100%!important;cursor:grab;touch-action:none}.g3sp-three canvas:active{cursor:grabbing}
.g3sp-three>.grade2-solid-sprite{position:absolute;inset:14%;width:auto;height:auto}.g3sp-three>.grade2-solid-sprite img{width:100%;height:100%;object-fit:contain}
.g3sp-three.wrong-pick{animation:g3sp-wrong .38s ease}@keyframes g3sp-wrong{25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}
.g3sp-hero{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:18px;width:100%;height:100%;padding:28px 35px}.g3sp-hero>.g3sp-three{justify-self:center;opacity:.08;transform:scale(.68);transition:.7s}.g3sp-lab[data-step=reveal] .g3sp-hero>.g3sp-three{opacity:1;transform:scale(1)}
.g3sp-gift-focus{position:absolute;left:10%;bottom:12%;width:130px;height:110px;border:5px solid transparent;border-radius:28px;pointer-events:none}.g3sp-lab[data-step=scan] .g3sp-gift-focus{border-color:#f5bf41;box-shadow:0 0 0 11px #f5bf4140,0 0 28px #f5bf41}
.g3sp-hero>div:last-child{align-self:start;margin-top:46px;padding:18px;border-radius:22px;background:#ffffffea;color:var(--g3sp-ink);box-shadow:0 14px 30px #123f3524}.g3sp-hero span,.g3sp-final>span{color:var(--g3sp-teal);font-weight:1000;letter-spacing:.08em}.g3sp-hero h1{margin:7px 0;font-size:clamp(1.3rem,2.3vw,2.05rem);line-height:1.05}.g3sp-hero p{margin:0;font-weight:800;color:#37615f}
.g3sp-turn{display:grid;grid-template-columns:1.25fr .85fr;align-items:center;gap:18px;width:100%;height:100%;padding:22px 28px}.g3sp-model-zone{display:grid;place-items:center}.g3sp-view-cards{display:grid;gap:10px}.g3sp-view-cards span{display:flex;align-items:center;gap:10px;padding:12px 14px;border:2px solid #abd8d1;border-radius:16px;background:#fff;font-weight:800;color:#446562}.g3sp-view-cards b{display:grid;place-items:center;width:64px;min-height:42px;border-radius:12px;background:var(--g3sp-teal);color:#fff}.g3sp-turn>p{grid-column:1;text-align:center;margin:-16px 0 0;padding:7px 12px;border-radius:999px;background:#fff1c6;color:#8a5b00;font-weight:900}
.g3sp-part-model,.g3sp-pick-card,.g3sp-count-card,.g3sp-compare-solids,.g3sp-prism-card,.g3sp-curve-card,.g3sp-definition-card,.g3sp-definition-complete,.g3sp-detective-card,.g3sp-independent-compare,.g3sp-final,.g3sp-alternative{width:min(96%,690px);padding:15px 22px;border:2px solid #a8d9d2;border-radius:22px;background:#f9fffded;color:var(--g3sp-ink);text-align:center;box-shadow:0 12px 28px #174a4224}
.g3sp-part-model>div,.g3sp-pick-card>div:first-of-type{position:relative;display:grid;place-items:center;margin:auto}.g3sp-part-model .g3sp-three,.g3sp-pick-card .g3sp-three{width:min(37vw,300px);height:min(37vw,300px)}
.g3sp-part-model h2,.g3sp-pick-card h2,.g3sp-count-card h2,.g3sp-compare-solids h2,.g3sp-prism-card h2,.g3sp-curve-card h2,.g3sp-definition-card h2,.g3sp-independent-compare h2{margin:6px 0 0;font-size:1.08rem}.g3sp-pick-card>p{margin:4px 0 0;color:#466864;font-weight:700;font-size:.82rem}
.g3sp-palm,.g3sp-laser,.g3sp-spark{position:absolute;z-index:4;pointer-events:none;font-style:normal}.g3sp-palm{right:18%;bottom:12%;font-size:3.3rem;animation:g3sp-palm 1.8s ease-in-out infinite}@keyframes g3sp-palm{50%{transform:translate(-28px,-24px) rotate(-12deg)}}.g3sp-laser{right:23%;top:30%;width:7px;height:42%;border-radius:999px;background:#ffad26;box-shadow:0 0 13px 5px #ffb52e}.g3sp-spark{right:21%;top:22%;font-size:3rem;color:#ff775c;text-shadow:0 0 14px #ffb845;animation:g3sp-spark 1s ease-in-out infinite}@keyframes g3sp-spark{50%{transform:scale(1.35);opacity:.55}}
.g3sp-live-prompt{display:flex;align-items:center;justify-content:center;gap:12px;width:min(100%,610px);min-height:58px;padding:9px 18px;border:3px solid #a7d8d1;border-radius:18px;background:#fff;color:var(--g3sp-ink);transition:.25s}.g3sp-live-prompt span{font-size:1.55rem}.g3sp-live-prompt.correct-pick{border-color:#efad21;box-shadow:0 0 0 6px #f7c54a42;background:#fff7da}
.g3sp-count-card,.g3sp-compare-solids,.g3sp-prism-card,.g3sp-curve-card{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:12px}.g3sp-count-card>div:first-child,.g3sp-compare-solids>div:first-child,.g3sp-prism-card>div:first-child,.g3sp-curve-card>div:first-child{grid-row:1/3}.g3sp-count-card .g3sp-three,.g3sp-compare-solids .g3sp-three,.g3sp-prism-card .g3sp-three,.g3sp-curve-card .g3sp-three{width:min(31vw,270px);height:min(31vw,270px)}
.g3sp-count-card section{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.g3sp-count-card section span{padding:9px 4px;border-radius:13px;background:#e5f5f1;font-size:1.35rem;font-weight:1000}.g3sp-count-card section b{display:block;font-size:.63rem;color:var(--g3sp-teal)}
.g3sp-compare-solids>section{display:flex;align-items:center;justify-content:center;gap:5px}.g3sp-compare-solids>section span{width:95px;height:95px}.g3sp-compare-solids>section img,.g3sp-detective-card img,.g3sp-independent-compare img,.g3sp-final-models img{width:100%;height:100%;object-fit:contain}.g3sp-compare-solids>section b{font-size:1.4rem;color:var(--g3sp-coral)}
.g3sp-prism-card>section{display:flex;align-items:center;justify-content:center;gap:8px}.g3sp-prism-card>section span,.g3sp-curve-card>section span{padding:10px;border-radius:14px;background:#e8f6f2;font-weight:900}.g3sp-prism-card>section i{color:var(--g3sp-coral);font-size:1.5rem}.g3sp-curve-card>section{display:grid;gap:7px}.g3sp-curve-card>section span{border:2px solid #efb642;background:#fff2c8}.g3sp-curve-card.sphere .flow{opacity:1;animation:g3sp-flow 1.8s ease-in-out infinite}@keyframes g3sp-flow{50%{box-shadow:0 0 0 8px #6cd3c54a}}
.g3sp-alternative{padding:16px}.g3sp-alternative p{margin:8px 0 0;font-weight:750}.g3sp-stick-model{position:relative;width:230px;height:150px;margin:auto}.g3sp-stick-model .sheet{position:absolute;left:52px;top:27px;width:118px;height:82px;background:#ffe25d8c;border:3px solid #f2bf2e;transform:skewY(-16deg)}.g3sp-stick-model .stick{position:absolute;height:9px;border-radius:999px;background:#168fca;box-shadow:0 0 9px #168fca}.g3sp-stick-model .stick.a{left:44px;top:24px;width:132px;transform:rotate(-2deg)}.g3sp-stick-model .stick.b{left:37px;top:78px;width:112px;transform:rotate(55deg)}.g3sp-stick-model .stick.c{left:105px;top:103px;width:94px;transform:rotate(-42deg)}.g3sp-stick-model .node{position:absolute;width:24px;height:24px;border-radius:50%;background:#ff795d;box-shadow:0 0 0 5px #ffbd9a66}.g3sp-stick-model .node.one{left:35px;top:16px}.g3sp-stick-model .node.two{right:43px;top:14px}.g3sp-stick-model .node.three{left:102px;bottom:17px}.g3sp-count-route,.g3sp-curve-test{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}.g3sp-count-route span{padding:10px;border-radius:13px;background:#e7f6f2}.g3sp-count-route b{display:block;color:var(--g3sp-teal)}.g3sp-curve-test .ball{width:70px;height:70px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ffd66a,#ef7859 70%)}.g3sp-curve-test .can{width:62px;height:82px;border-radius:50%/12%;background:linear-gradient(90deg,#0b8176,#4fc2ad,#0b8176)}
.g3sp-definition-route,.g3sp-detective-route{display:flex;align-items:stretch;justify-content:center;gap:8px;margin:12px 0}.g3sp-definition-route span,.g3sp-detective-route span{flex:1;display:grid;place-items:center;gap:4px;min-height:82px;padding:8px;border-radius:14px;background:#e7f6f2;font-size:.72rem;font-weight:800}.g3sp-definition-route b,.g3sp-detective-route b{display:grid;place-items:center;min-width:34px;min-height:28px;border-radius:9px;background:#078b7c;color:#fff}.g3sp-definition-route i{display:block}.g3sp-definition-route .sheet{width:44px;height:28px;border:3px solid #f1bd2e;background:#ffe25d8c;transform:skewY(-9deg)}.g3sp-definition-route .stick{width:52px;height:8px;border-radius:999px;background:#168fca}.g3sp-definition-route .node{width:24px;height:24px;border-radius:50%;background:#ff795d}.g3sp-detective-route>i{align-self:center;color:#f3745d;font-size:1.4rem;font-style:normal;font-weight:1000}
.g3sp-definition-card{display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:16px}.g3sp-definition-card>span,.g3sp-definition-card>h2{grid-column:2}.g3sp-definition-visual{grid-row:1/3;position:relative;width:185px;height:155px;border-radius:22px;background:#e4f5f0}.g3sp-definition-visual i{position:absolute;left:35px;top:36px;width:112px;height:82px;background:#ffe66b99;border:3px solid #f1bd2e;transform:skewY(-12deg)}.g3sp-definition-visual b{position:absolute;left:31px;top:30px;width:122px;height:9px;border-radius:9px;background:#168fca}.g3sp-definition-visual em{position:absolute;left:21px;top:20px;width:25px;height:25px;border-radius:50%;background:#f5745d}.g3sp-definition-visual.part-0 b,.g3sp-definition-visual.part-0 em{opacity:.14}.g3sp-definition-visual.part-1 i,.g3sp-definition-visual.part-1 em{opacity:.14}.g3sp-definition-visual.part-2 i,.g3sp-definition-visual.part-2 b{opacity:.14}
.g3sp-definition-complete{display:grid;grid-template-columns:1fr 1.25fr;align-items:center;gap:14px}.g3sp-definition-complete .g3sp-three{width:min(30vw,260px);height:min(30vw,260px)}.g3sp-definition-complete>section{display:grid;gap:8px}.g3sp-definition-complete>section span{padding:10px;border-radius:13px;background:#e7f6f2;text-align:left;font-weight:760}.g3sp-definition-complete>section b{display:block;color:var(--g3sp-teal)}.g3sp-definition-complete h2{grid-column:1/3;margin:0;font-size:1rem}
.g3sp-detective-card>div{display:flex;justify-content:center;gap:20px;margin:10px}.g3sp-detective-card>div span{width:115px;height:115px}.g3sp-detective-card h2{margin:4px}.g3sp-detective-card p{margin:0;color:#4a6a66;font-weight:900}
.g3sp-independent-compare>div{display:flex;align-items:center;justify-content:center;gap:18px}.g3sp-independent-compare section{display:grid;place-items:center;padding:8px 14px;border-radius:17px;background:#e7f6f2}.g3sp-independent-compare section span{width:110px;height:100px}.g3sp-independent-compare section b{font-size:1.05rem;color:var(--g3sp-teal)}.g3sp-independent-compare>div>i{font-size:1.8rem;color:var(--g3sp-coral)}
.g3sp-final-models{display:flex;justify-content:center;gap:4px;height:110px}.g3sp-final-models span{width:105px;height:105px}.g3sp-final h1{margin:5px auto 12px;max-width:620px;font-size:1.25rem}.g3sp-final>div:last-child{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.g3sp-final>div:last-child section{padding:8px 5px;border-radius:13px;background:#e6f5f1}.g3sp-final section i{display:grid;place-items:center;width:26px;height:26px;margin:auto;border-radius:50%;background:var(--g3sp-coral);color:#fff;font-style:normal;font-weight:1000}.g3sp-final section b{display:block;margin-top:4px;font-size:.7rem;color:var(--g3sp-ink)}
.show-g3sp-guides .g3sp-three{box-shadow:inset 0 0 0 5px #f2bc3f,0 0 0 8px #fff5c06b,0 16px 28px #123e3730}.show-g3sp-guides .g3sp-live-prompt{border-color:#f2bc3f}.remediation-mode .g3sp-magnifier{opacity:0}

@media(max-width:760px){.grade3-solid-properties-board .g3sp-lab{width:100%;min-height:350px;aspect-ratio:auto;border-radius:18px}.g3sp-lab-bg{height:100%;object-position:center}.g3sp-workspace{inset:7px}.g3sp-magnifier{width:25%;right:-6%;top:-8%}.g3sp-three{width:205px;height:205px;min-width:0;min-height:0}.g3sp-hero{grid-template-columns:1fr;padding:10px}.g3sp-hero>.g3sp-three{width:180px;height:180px}.g3sp-hero>div:last-child{margin:0;padding:9px}.g3sp-hero h1{font-size:1rem}.g3sp-hero p{font-size:.72rem}.g3sp-turn{grid-template-columns:1fr 1fr;gap:6px;padding:8px}.g3sp-view-cards{gap:5px}.g3sp-view-cards span{padding:6px;font-size:.66rem}.g3sp-view-cards b{width:44px;min-height:30px}.g3sp-turn>p{font-size:.65rem;margin:-4px 0 0}.g3sp-part-model,.g3sp-pick-card,.g3sp-count-card,.g3sp-compare-solids,.g3sp-prism-card,.g3sp-curve-card,.g3sp-definition-card,.g3sp-definition-complete,.g3sp-detective-card,.g3sp-independent-compare,.g3sp-final,.g3sp-alternative{width:99%;padding:8px 9px;border-radius:16px}.g3sp-part-model .g3sp-three,.g3sp-pick-card .g3sp-three,.g3sp-count-card .g3sp-three,.g3sp-compare-solids .g3sp-three,.g3sp-prism-card .g3sp-three,.g3sp-curve-card .g3sp-three{width:185px;height:185px}.g3sp-part-model h2,.g3sp-pick-card h2,.g3sp-count-card h2,.g3sp-compare-solids h2,.g3sp-prism-card h2,.g3sp-curve-card h2,.g3sp-definition-card h2,.g3sp-independent-compare h2{font-size:.76rem}.g3sp-count-card,.g3sp-compare-solids,.g3sp-prism-card,.g3sp-curve-card{grid-template-columns:1fr 1fr;gap:5px}.g3sp-count-card section span{font-size:.85rem}.g3sp-compare-solids>section span{width:60px;height:60px}.g3sp-prism-card>section{display:grid}.g3sp-prism-card>section span,.g3sp-curve-card>section span{padding:6px;font-size:.68rem}.g3sp-definition-card{grid-template-columns:.72fr 1.28fr}.g3sp-definition-visual{width:130px;height:115px}.g3sp-definition-visual i{left:25px;top:28px;width:80px;height:58px}.g3sp-definition-visual b{left:22px;top:23px;width:88px}.g3sp-definition-visual em{left:13px;top:13px}.g3sp-definition-complete .g3sp-three{width:160px;height:160px}.g3sp-definition-complete>section span{padding:6px;font-size:.65rem}.g3sp-detective-card>div{gap:5px}.g3sp-detective-card>div span{width:75px;height:75px}.g3sp-independent-compare section{padding:4px 6px}.g3sp-independent-compare section span{width:72px;height:64px}.g3sp-final-models{height:68px}.g3sp-final-models span{width:65px;height:65px}.g3sp-final h1{font-size:.88rem}.g3sp-final>div:last-child{grid-template-columns:repeat(2,1fr)}.g3sp-stick-model{transform:scale(.75);margin:-16px auto}.g3sp-alternative p{font-size:.72rem}}
@media(max-width:760px){.g3sp-compare-solids .g3sp-three{width:145px;height:145px}.g3sp-compare-solids>section{display:grid;grid-template-columns:repeat(3,42px);gap:2px}.g3sp-compare-solids>section span{width:42px;height:42px}.g3sp-compare-solids h2{font-size:.68rem}}
@media(max-height:760px) and (min-width:761px){.grade3-solid-properties-shell .teacher-bubble{max-height:170px;overflow:auto}.grade3-solid-properties-board .g3sp-lab{width:min(100%,760px);min-height:335px;aspect-ratio:auto}.g3sp-workspace{inset:8px}.g3sp-three{width:245px;height:245px;min-width:0;min-height:0}.g3sp-hero,.g3sp-turn{padding:12px 20px}.g3sp-hero{grid-template-columns:.9fr 1.1fr}.g3sp-hero>div:last-child{margin-top:0;padding:11px 13px}.g3sp-hero h1{font-size:1.24rem;line-height:1.04}.g3sp-hero p{font-size:.7rem}.g3sp-part-model,.g3sp-pick-card,.g3sp-count-card,.g3sp-compare-solids,.g3sp-prism-card,.g3sp-curve-card,.g3sp-definition-card,.g3sp-definition-complete,.g3sp-detective-card,.g3sp-independent-compare,.g3sp-final,.g3sp-alternative{padding:9px 14px}.g3sp-part-model .g3sp-three,.g3sp-pick-card .g3sp-three{width:230px;height:230px}.g3sp-count-card .g3sp-three,.g3sp-compare-solids .g3sp-three,.g3sp-prism-card .g3sp-three,.g3sp-curve-card .g3sp-three{width:180px;height:180px}.g3sp-compare-solids>section{gap:2px}.g3sp-compare-solids>section span{width:53px;height:53px}.g3sp-prism-card>section{gap:4px}.g3sp-prism-card>section span{padding:7px 4px;font-size:.69rem}.g3sp-prism-card h2{font-size:.82rem}.g3sp-final-models{height:80px}.g3sp-final-models span{width:78px;height:78px}}

/* 3. sınıf · Dört İşlem Problemlerini Çözme ve Kurma */
.grade3-word-problems-board{--g3wp-teal:#087f73;--g3wp-coral:#f3745d;--g3wp-gold:#f1b73e;--g3wp-ink:#173e43}
.g3wp-library,.g3wp-seedling{position:relative;width:min(100%,900px);aspect-ratio:1672/941;margin:auto;overflow:hidden;border:2px solid #b9ddd7;border-radius:26px;background:#dff4ef;box-shadow:0 22px 52px rgb(22 86 76/16%)}
.g3wp-library-bg,.g3wp-seedling-bg{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.g3wp-library-layers,.g3wp-crate-layer,.g3wp-workspace{position:absolute;inset:0}
.g3wp-library-layers,.g3wp-crate-layer{z-index:2;pointer-events:none}
.g3wp-workspace{z-index:3;display:grid;place-items:center;padding:clamp(12px,2vw,24px)}
.g3wp-book-group{position:absolute;display:grid;align-items:end;justify-items:center;gap:1%;opacity:0;transition:opacity .45s ease,transform .7s cubic-bezier(.2,.8,.3,1)}
.g3wp-book-group.start{left:5.5%;top:31%;width:31%;height:54%;grid-template-columns:repeat(4,1fr);grid-auto-rows:1fr}
.g3wp-book-group.arrive{left:42%;top:57%;width:28%;height:23%;grid-template-columns:repeat(7,1fr);transform:translateY(-70%)}
.g3wp-book-group.leave{left:76%;top:55%;width:19%;height:27%;grid-template-columns:repeat(4,1fr);transform:translateX(-105%)}
.g3wp-book-group.final{left:5.5%;top:31%;width:31%;height:54%;grid-template-columns:repeat(5,1fr);grid-auto-rows:1fr}
.g3wp-book-ten,.g3wp-book-one{position:relative;display:block;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgb(46 37 22/22%))}
.g3wp-book-ten{width:88%}.g3wp-book-one{width:56%}
.g3wp-library[data-g3wp-mode=start] .g3wp-book-group.start,.g3wp-library[data-g3wp-mode=story] .g3wp-book-group.start{opacity:1}
.g3wp-library[data-g3wp-mode=arrive] .g3wp-book-group.start,.g3wp-library[data-g3wp-mode=arrive] .g3wp-book-group.arrive{opacity:1}.g3wp-library[data-g3wp-mode=arrive] .g3wp-book-group.arrive{transform:translateY(0)}
.g3wp-library[data-g3wp-mode=leave] .g3wp-book-group.final,.g3wp-library[data-g3wp-mode=leave] .g3wp-book-group.leave{opacity:1}.g3wp-library[data-g3wp-mode=leave] .g3wp-book-group.leave{transform:translateX(0)}
.g3wp-library[data-g3wp-mode=final] .g3wp-book-group.final{opacity:1}
.g3wp-intro,.g3wp-given-wanted,.g3wp-relevant,.g3wp-model,.g3wp-retell,.g3wp-estimate,.g3wp-strategies,.g3wp-solve-step,.g3wp-check,.g3wp-generalize,.g3wp-seedling-model,.g3wp-seedling-question,.g3wp-builder,.g3wp-builder-complete,.g3wp-final-question,.g3wp-final,.g3wp-alternative{width:min(92%,780px);padding:clamp(15px,2.3vw,25px);border:2px solid rgb(255 255 255/90%);border-radius:24px;background:rgb(248 255 253/94%);box-shadow:0 14px 34px rgb(20 70 61/18%);text-align:center;backdrop-filter:blur(8px)}
.teacher-model .g3wp-workspace{align-items:start}.teacher-model .g3wp-intro,.teacher-model .g3wp-given-wanted,.teacher-model .g3wp-model,.teacher-model .g3wp-seedling-model{margin-top:0}
.g3wp-intro>div,.g3wp-final>div{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:12px 0}.g3wp-intro section,.g3wp-final section{display:grid;gap:5px;padding:10px 7px;border-radius:15px;background:#e4f5f1;color:#0c665d;transition:.3s ease}.g3wp-intro i,.g3wp-final i{display:grid;place-items:center;width:34px;height:34px;margin:auto;border-radius:50%;background:var(--g3wp-teal);color:#fff;font-style:normal;font-weight:950}.g3wp-intro h1,.g3wp-final h1{margin:8px 0 0;color:var(--g3wp-ink);font-size:clamp(1.15rem,2.4vw,1.75rem);line-height:1.15}.g3wp-intro[data-step=start] section:nth-child(1),.g3wp-intro[data-step=change] section:nth-child(2),.g3wp-intro[data-step=check] section:nth-child(4){outline:4px solid #ffbd43;background:#fff5d7;transform:translateY(-5px)}
.g3wp-given-wanted>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.g3wp-given-wanted section{display:grid;gap:3px;padding:10px 7px;border-radius:15px;background:#e5f6f2;transition:.3s ease}.g3wp-given-wanted section small{color:#087f73;font-weight:950}.g3wp-given-wanted section b{font-size:clamp(1.35rem,3vw,2rem);color:#173e43}.g3wp-given-wanted section i{font-style:normal;font-size:.72rem;color:#476761}.g3wp-given-wanted section.poster{background:#fff0e9}.g3wp-given-wanted[data-step=start] section:nth-child(1),.g3wp-given-wanted[data-step=arrive] section:nth-child(2),.g3wp-given-wanted[data-step=leave] section:nth-child(3),.g3wp-given-wanted[data-step=poster] section:nth-child(4){outline:4px solid #ffbd43;transform:translateY(-5px)}
.g3wp-relevant>div,.g3wp-generalize>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.g3wp-relevant section,.g3wp-generalize section{display:grid;gap:5px;place-items:center;padding:10px 6px;border-radius:15px;background:#e7f6f3;color:#173e43}.g3wp-relevant section i,.g3wp-generalize section i{font-style:normal;font-size:1.5rem}.g3wp-relevant h2,.g3wp-generalize h2,.g3wp-model h2,.g3wp-retell h2,.g3wp-estimate h2,.g3wp-strategies h2,.g3wp-solve-step h2,.g3wp-check h2,.g3wp-seedling-model h2,.g3wp-seedling-question h2,.g3wp-builder h2,.g3wp-builder-complete h2,.g3wp-final-question h2{margin:8px 0 0;color:var(--g3wp-ink);font-size:clamp(1rem,2vw,1.35rem);line-height:1.18}
.g3wp-story-equation,.g3wp-estimate>div,.g3wp-solve-step>div,.g3wp-check>div,.g3wp-seedling-question>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:12px 0}.g3wp-story-equation section,.g3wp-estimate section{display:grid;gap:3px;min-width:88px;padding:9px;border-radius:14px;background:#e4f5f1}.g3wp-story-equation small,.g3wp-estimate small{color:#087f73;font-weight:950}.g3wp-story-equation b,.g3wp-estimate b,.g3wp-estimate strong,.g3wp-solve-step b,.g3wp-solve-step strong,.g3wp-check b,.g3wp-check strong,.g3wp-check em,.g3wp-seedling-question b,.g3wp-seedling-question strong{font-size:clamp(1.2rem,2.7vw,1.9rem);color:#173e43;font-style:normal}.g3wp-story-equation>i,.g3wp-estimate>div>i,.g3wp-solve-step>div>i,.g3wp-check>div>i,.g3wp-seedling-question>div>i{color:var(--g3wp-coral);font-style:normal;font-size:1.45rem;font-weight:950}.g3wp-model[data-step=start] .g3wp-story-equation section:nth-of-type(1),.g3wp-model[data-step=arrive] .g3wp-story-equation section:nth-of-type(2),.g3wp-model[data-step=leave] .g3wp-story-equation section:nth-of-type(3),.g3wp-model[data-step=final] .g3wp-story-equation section:nth-of-type(4){outline:4px solid #ffbd43;transform:translateY(-5px)}
.g3wp-filmstrip{display:flex;align-items:stretch;justify-content:center;gap:8px;margin:12px 0}.g3wp-filmstrip section{flex:1;display:grid;gap:4px;place-items:center;padding:10px 6px;border-radius:14px;background:#e5f6f2;color:#173e43}.g3wp-filmstrip i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#087f73;color:#fff;font-style:normal;font-weight:950}
.g3wp-estimate[data-step=round1] section:nth-of-type(1),.g3wp-estimate[data-step=round2] section:nth-of-type(2),.g3wp-estimate[data-step=round3] section:nth-of-type(3){outline:4px solid #ffbd43;transform:translateY(-5px)}
.g3wp-strategies>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:13px 0}.g3wp-strategies section{display:grid;gap:4px;padding:13px;border-radius:16px;background:#e6f6f2;transition:.3s ease}.g3wp-strategies section small{color:#087f73;font-weight:950}.g3wp-strategies section b{font-size:1.2rem;color:#173e43}.g3wp-strategies section i{font-style:normal;color:#d85e49;font-weight:850}.g3wp-strategies[data-step=a] section:first-child,.g3wp-strategies[data-step=b] section:last-child{outline:4px solid #ffbd43;transform:translateY(-5px)}
.g3wp-solve-step p{display:inline-block;margin:4px 0;padding:8px 14px;border-radius:14px;background:#fff2c9;color:#745300;font-weight:850}.g3wp-check>div{padding:12px;border-radius:16px;background:#e5f6f2}.g3wp-check p{font-weight:900;color:#087f73}.g3wp-check[data-step=back1]>div>*:nth-child(-n+3),.g3wp-check[data-step=back2]>div>*{filter:drop-shadow(0 0 7px #ffc24f)}
.g3wp-seedling{--crate-w:11%}.g3wp-seedling-crate{position:absolute;width:var(--crate-w);height:auto;translate:-50% -50%;object-fit:contain;filter:drop-shadow(0 3px 3px rgb(55 38 18/22%));opacity:0;transition:left .9s cubic-bezier(.2,.8,.3,1),top .9s cubic-bezier(.2,.8,.3,1),width .9s ease,opacity .35s ease}.g3wp-seedling-crate.c1{left:11%;top:55%}.g3wp-seedling-crate.c2{left:24%;top:55%}.g3wp-seedling-crate.c3{left:37%;top:55%}.g3wp-seedling-crate.c4{left:50%;top:55%}.g3wp-seedling-crate.c5{left:9%;top:76%}.g3wp-seedling-crate.c6{left:22%;top:76%}.g3wp-seedling-crate.c7{left:35%;top:76%}.g3wp-seedling-crate.c8{left:48%;top:76%}.g3wp-seedling[data-step=crates] .g3wp-seedling-crate,.g3wp-seedling[data-step=total] .g3wp-seedling-crate,.g3wp-seedling[data-step=share] .g3wp-seedling-crate,.g3wp-seedling[data-step=result] .g3wp-seedling-crate{opacity:1;animation:g3wp-crate-arrive .55s both;animation-delay:calc(var(--crate-delay,0)*70ms)}.g3wp-seedling-crate.c1{--crate-delay:1}.g3wp-seedling-crate.c2{--crate-delay:2}.g3wp-seedling-crate.c3{--crate-delay:3}.g3wp-seedling-crate.c4{--crate-delay:4}.g3wp-seedling-crate.c5{--crate-delay:5}.g3wp-seedling-crate.c6{--crate-delay:6}.g3wp-seedling-crate.c7{--crate-delay:7}.g3wp-seedling-crate.c8{--crate-delay:8}@keyframes g3wp-crate-arrive{from{opacity:0;scale:.65;translate:-50% -110%}to{opacity:1;scale:1;translate:-50% -50%}}
.g3wp-seedling[data-step=share] .g3wp-seedling-crate,.g3wp-seedling[data-step=result] .g3wp-seedling-crate{width:9%}.g3wp-seedling[data-step=share] .c1,.g3wp-seedling[data-step=share] .c2,.g3wp-seedling[data-step=result] .c1,.g3wp-seedling[data-step=result] .c2{left:69%;top:54%}.g3wp-seedling[data-step=share] .c3,.g3wp-seedling[data-step=share] .c4,.g3wp-seedling[data-step=result] .c3,.g3wp-seedling[data-step=result] .c4{left:86%;top:54%}.g3wp-seedling[data-step=share] .c5,.g3wp-seedling[data-step=share] .c6,.g3wp-seedling[data-step=result] .c5,.g3wp-seedling[data-step=result] .c6{left:69%;top:79%}.g3wp-seedling[data-step=share] .c7,.g3wp-seedling[data-step=share] .c8,.g3wp-seedling[data-step=result] .c7,.g3wp-seedling[data-step=result] .c8{left:87%;top:79%}.g3wp-seedling[data-step=share] .c2,.g3wp-seedling[data-step=share] .c4,.g3wp-seedling[data-step=share] .c6,.g3wp-seedling[data-step=share] .c8,.g3wp-seedling[data-step=result] .c2,.g3wp-seedling[data-step=result] .c4,.g3wp-seedling[data-step=result] .c6,.g3wp-seedling[data-step=result] .c8{translate:-25% -40%;scale:.82}
.g3wp-seedling-model{align-self:start}.g3wp-seedling-model>div{display:flex;align-items:stretch;justify-content:center;gap:10px;margin:12px 0}.g3wp-seedling-model section{flex:1;display:grid;gap:5px;padding:11px;border-radius:16px;background:#e5f6f2;transition:.3s ease}.g3wp-seedling-model section small{color:#087f73;font-weight:950}.g3wp-seedling-model section b{font-size:1.2rem;color:#173e43}.g3wp-seedling-model>div>i{align-self:center;color:#f3745d;font-style:normal;font-size:1.4rem;font-weight:950}.g3wp-seedling-model[data-step=crates] section:first-child,.g3wp-seedling-model[data-step=total] section:first-child,.g3wp-seedling-model[data-step=share] section:last-child,.g3wp-seedling-model[data-step=result] section:last-child{outline:4px solid #ffbd43;transform:translateY(-4px)}
.g3wp-puzzle{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:12px 0}.g3wp-puzzle b,.g3wp-puzzle strong{padding:9px 12px;border-radius:13px;background:#e1f3ef;color:#0a6f65}.g3wp-puzzle b.filled{background:#087f73;color:#fff;box-shadow:0 0 0 4px rgb(255 190 63/38%)}.g3wp-puzzle i{font-style:normal;color:#f3745d;font-weight:950}.g3wp-builder-complete>div{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}.g3wp-builder-complete>div b{padding:9px;border-radius:12px;background:#e5f6f2;color:#173e43}.g3wp-builder-complete>div i{font-style:normal;color:#f3745d;font-weight:950}.g3wp-final-question p{padding:12px;border-radius:15px;background:#e5f6f2;color:#173e43;font-weight:900}.g3wp-final{align-self:start}.g3wp-final>div{grid-template-columns:repeat(5,1fr)}.g3wp-final>span{display:inline-block;padding:7px 12px;border-radius:999px;background:#087f73;color:#fff;font-weight:950}.g3wp-final p{margin-bottom:0;color:#315c56;font-weight:800}.g3wp-alternative{width:min(92%,720px)}.g3wp-number-route,.g3wp-small-groups{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}.g3wp-number-route>*{padding:9px 12px;border-radius:12px;background:#e5f6f2;color:#173e43;font-style:normal}.g3wp-small-groups section{padding:10px;border-radius:12px;background:#e5f6f2;color:#087f73;letter-spacing:5px}.show-g3wp-guides .g3wp-workspace section:first-of-type,.show-g3wp-guides .g3wp-workspace strong:first-of-type{outline:5px solid rgb(248 175 43/48%);outline-offset:4px}

@media(max-width:760px){.grade3-word-problems-board .g3wp-library,.grade3-word-problems-board .g3wp-seedling{width:100%;min-height:440px;aspect-ratio:auto}.g3wp-library-bg,.g3wp-seedling-bg,.g3wp-library-layers,.g3wp-crate-layer{inset:0 0 auto;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}.g3wp-workspace{padding:9px;align-items:start}.g3wp-intro,.g3wp-given-wanted,.g3wp-relevant,.g3wp-model,.g3wp-retell,.g3wp-estimate,.g3wp-strategies,.g3wp-solve-step,.g3wp-check,.g3wp-generalize,.g3wp-seedling-model,.g3wp-seedling-question,.g3wp-builder,.g3wp-builder-complete,.g3wp-final-question,.g3wp-final,.g3wp-alternative{width:97%;padding:10px;border-radius:17px}.g3wp-intro>div,.g3wp-final>div{grid-template-columns:repeat(2,1fr);gap:5px}.g3wp-intro section,.g3wp-final section{padding:6px 4px;font-size:.68rem}.g3wp-given-wanted>div,.g3wp-relevant>div,.g3wp-generalize>div{grid-template-columns:repeat(2,1fr);gap:5px}.g3wp-given-wanted section,.g3wp-relevant section,.g3wp-generalize section{padding:5px 3px;font-size:.65rem}.g3wp-filmstrip{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.g3wp-filmstrip section{padding:6px 3px;font-size:.67rem}.g3wp-story-equation,.g3wp-estimate>div,.g3wp-solve-step>div,.g3wp-check>div,.g3wp-seedling-question>div{gap:4px;margin:7px 0}.g3wp-story-equation section,.g3wp-estimate section{min-width:58px;padding:5px;font-size:.68rem}.g3wp-strategies>div{gap:5px}.g3wp-strategies section{padding:7px 4px;font-size:.69rem}.g3wp-seedling-model>div{gap:5px}.g3wp-seedling-model section{padding:6px 3px;font-size:.68rem}.g3wp-puzzle{gap:4px;margin:7px 0}.g3wp-puzzle b,.g3wp-puzzle strong{padding:6px 7px;font-size:.66rem}.g3wp-final>div{grid-template-columns:repeat(3,1fr)}.g3wp-book-group.start,.g3wp-book-group.final{top:18%;height:34%}.g3wp-book-group.arrive{top:32%;height:16%}.g3wp-book-group.leave{top:30%;height:18%}.g3wp-seedling-crate{top:34%}.g3wp-seedling-crate.c5,.g3wp-seedling-crate.c6,.g3wp-seedling-crate.c7,.g3wp-seedling-crate.c8{top:47%}.g3wp-seedling[data-step=share] .c1,.g3wp-seedling[data-step=share] .c2,.g3wp-seedling[data-step=result] .c1,.g3wp-seedling[data-step=result] .c2,.g3wp-seedling[data-step=share] .c3,.g3wp-seedling[data-step=share] .c4,.g3wp-seedling[data-step=result] .c3,.g3wp-seedling[data-step=result] .c4{top:34%}.g3wp-seedling[data-step=share] .c5,.g3wp-seedling[data-step=share] .c6,.g3wp-seedling[data-step=result] .c5,.g3wp-seedling[data-step=result] .c6,.g3wp-seedling[data-step=share] .c7,.g3wp-seedling[data-step=share] .c8,.g3wp-seedling[data-step=result] .c7,.g3wp-seedling[data-step=result] .c8{top:48%}}
@media(max-height:760px) and (min-width:761px){.grade3-word-problems-board .g3wp-library,.grade3-word-problems-board .g3wp-seedling{width:min(100%,760px);min-height:330px;aspect-ratio:auto}.grade3-word-problems-board .g3wp-library-bg,.grade3-word-problems-board .g3wp-seedling-bg,.grade3-word-problems-board .g3wp-library-layers,.grade3-word-problems-board .g3wp-crate-layer{inset:0 0 auto;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}.g3wp-intro,.g3wp-given-wanted,.g3wp-relevant,.g3wp-model,.g3wp-retell,.g3wp-estimate,.g3wp-strategies,.g3wp-solve-step,.g3wp-check,.g3wp-generalize,.g3wp-seedling-model,.g3wp-seedling-question,.g3wp-builder,.g3wp-builder-complete,.g3wp-final-question,.g3wp-final{padding:11px 15px}.g3wp-intro>div,.g3wp-given-wanted>div,.g3wp-relevant>div,.g3wp-generalize>div{margin:7px 0}}
@media(max-width:760px){.grade3-word-problems-board .g3wp-library,.grade3-word-problems-board .g3wp-seedling{min-height:340px}}

.grade3-operation-equality-board{--g3oe-teal:#087f73;--g3oe-coral:#f3745d;--g3oe-gold:#f2b93f;--g3oe-ink:#173e43}
.grade3-operation-equality-board .g3oe-lab{position:relative;width:min(100%,780px);aspect-ratio:16/9;min-height:390px;overflow:hidden;border:1px solid #a8d7d2;border-radius:26px;background:#dff3ef;box-shadow:0 18px 40px #174d4830}
.g3oe-lab-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.g3oe-lab::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#eafff6d9 0 30%,#d8f0ec18 51%,#0e4d4826 100%);pointer-events:none}
.g3oe-visual{position:absolute;z-index:1;inset:26% 3% 3%;pointer-events:none}
.g3oe-balance{position:relative;width:100%;height:100%;filter:drop-shadow(0 12px 10px #173e4330)}
.g3oe-beam{position:absolute;left:8%;right:8%;top:36%;height:15px;border-radius:12px;background:linear-gradient(180deg,#ffe293,#c88716);transform-origin:center;transition:transform .8s cubic-bezier(.2,.8,.3,1.2)}
.g3oe-beam::before,.g3oe-beam::after{content:"";position:absolute;top:12px;width:2px;height:78px;background:#c78b24}
.g3oe-beam::before{left:8%}.g3oe-beam::after{right:8%}
.g3oe-pivot{position:absolute;left:50%;top:29%;transform:translateX(-50%);display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#fff8d4;border:7px solid #d89b2b;color:var(--g3oe-teal);font:900 2rem/1 Nunito,sans-serif;box-shadow:0 8px 18px #173e432c;z-index:2}
.g3oe-pivot::after{content:"";position:absolute;top:51px;width:18px;height:130px;border-radius:10px;background:linear-gradient(90deg,#ce8b1c,#ffd77d,#b77712);z-index:-1}
.g3oe-pan{position:absolute;top:55%;width:36%;height:35%;border:4px solid #e5b74f;border-top:12px solid #f9d477;border-radius:20px 20px 50% 50%;background:#fff9dddf;transition:transform .8s cubic-bezier(.2,.8,.3,1.2);overflow:visible}
.g3oe-pan.left{left:1%}.g3oe-pan.right{right:1%}
.g3oe-token-field{position:absolute;left:5%;right:5%;bottom:12%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;justify-items:center;gap:1px;min-height:70px}
.g3oe-token{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 4px 3px #173e4340);opacity:0;transform:translateY(-45px) scale(.75);animation:g3oe-token-in .45s forwards;animation-delay:calc(var(--token-index,0)*.05s)}
.g3oe-token.apple{width:32px;height:32px}.g3oe-token.n1{--token-index:1}.g3oe-token.n2{--token-index:2}.g3oe-token.n3{--token-index:3}.g3oe-token.n4{--token-index:4}.g3oe-token.n5{--token-index:5}.g3oe-token.n6{--token-index:6}.g3oe-token.n7{--token-index:7}.g3oe-token.n8{--token-index:8}.g3oe-token.n9{--token-index:9}.g3oe-token.n10{--token-index:10}.g3oe-token.n11{--token-index:11}.g3oe-token.n12{--token-index:12}
.g3oe-count-badge{position:absolute;right:-3px;top:-8px;display:grid;place-items:center;min-width:36px;height:36px;padding:0 7px;border-radius:18px;background:var(--g3oe-coral);color:#fff;font:900 1rem/1 Nunito,sans-serif;border:3px solid #fff}
@keyframes g3oe-token-in{to{opacity:1;transform:translateY(0) scale(1)}}
.g3oe-lab[data-tilt=right-heavy][data-step=tilt] .g3oe-beam,.g3oe-lab[data-tilt=right-heavy] .g3oe-beam{transform:rotate(5deg)}
.g3oe-lab[data-tilt=right-heavy][data-step=tilt] .g3oe-pan.left,.g3oe-lab[data-tilt=right-heavy] .g3oe-pan.left{transform:translateY(-19px)}
.g3oe-lab[data-tilt=right-heavy][data-step=tilt] .g3oe-pan.right,.g3oe-lab[data-tilt=right-heavy] .g3oe-pan.right{transform:translateY(19px)}
.g3oe-lab[data-step=remove] .g3oe-pan.left .g3oe-token:nth-child(n+7){animation:g3oe-remove .65s forwards}.g3oe-lab[data-step=arrive] .g3oe-pan.right .g3oe-token{animation:g3oe-arrive .55s forwards}
@keyframes g3oe-remove{to{opacity:0;transform:translate(70px,-70px) rotate(18deg)}}@keyframes g3oe-arrive{from{opacity:0;transform:translate(80px,-50px) scale(.6)}to{opacity:1;transform:none}}
.g3oe-workspace{position:absolute;z-index:3;inset:4% 5% auto;display:flex;justify-content:center;pointer-events:none}
.g3oe-workspace>*{pointer-events:auto}
.g3oe-card,.g3oe-alternative{width:min(92%,690px);padding:14px 20px;border:1px solid #abd9d4;border-radius:21px;background:#fffffff2;color:var(--g3oe-ink);text-align:center;box-shadow:0 12px 28px #173e432d;backdrop-filter:blur(4px)}
.g3oe-card h1,.g3oe-card h2,.g3oe-card p{margin:7px 0}.g3oe-card h1{font-size:1.32rem}.g3oe-card h2{font-size:1.08rem}.g3oe-card p{font-weight:800;color:#426c70}
.g3oe-card>div{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px}.g3oe-card>div>b,.g3oe-card>div>section{padding:9px 15px;border-radius:14px;background:#eef9f7;border:2px solid #a8d8d2}.g3oe-card>div>i,.g3oe-card>div>em{font-style:normal;font-size:1.7rem;font-weight:1000;color:var(--g3oe-coral)}
.g3oe-card section{display:grid;gap:2px}.g3oe-card section small{font-size:.62rem;color:#5c7f82}.g3oe-card section strong{font-size:1.1rem;color:var(--g3oe-teal)}
.g3oe-equals-mark{display:grid!important;place-items:center;width:90px;height:70px;margin:4px auto!important;border-radius:22px;background:#e0f5f1;color:var(--g3oe-teal);font:1000 3.4rem/1 Nunito,sans-serif;box-shadow:inset 0 0 0 3px #9ed3cd}
.g3oe-bridge>div b,.g3oe-equation>div b,.g3oe-four-op>div b,.g3oe-missing>div b,.g3oe-builder>div b,.g3oe-builder-complete>div b{font-size:1.2rem}
.g3oe-scanner>div{display:grid;grid-template-columns:1fr auto 1fr}.g3oe-scanner section strong{opacity:0;transition:.35s}.g3oe-scanner[data-step=left] section:first-child strong,.g3oe-scanner[data-step=right] section strong,.g3oe-scanner[data-step=equal] section strong{opacity:1}.g3oe-scanner[data-step=equal] em{animation:g3oe-equal-glow .8s infinite alternate}
@keyframes g3oe-equal-glow{to{color:var(--g3oe-gold);filter:drop-shadow(0 0 8px #f2b93f)}}
.g3oe-tilt>div{display:grid;grid-template-columns:1fr auto 1fr}.g3oe-tilt section:last-child{border-color:#f3b5a9;background:#fff0ec}.g3oe-known>div{display:grid;grid-template-columns:1fr auto 1fr}.g3oe-known>p{opacity:0}.g3oe-known[data-step=answer]>p{opacity:1;color:var(--g3oe-teal)}
.g3oe-builder .filled{border-color:#72c4bb!important;background:#ddf5f1!important}.g3oe-independent>div>b{font-size:1.4rem}.g3oe-final>div{display:grid;grid-template-columns:repeat(4,1fr)}.g3oe-final section{padding:8px 5px}.g3oe-final section i{font-style:normal;color:var(--g3oe-coral);font-weight:1000}
.g3oe-alternative{padding:12px 16px}.g3oe-alt-plates{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.g3oe-alt-plates section{display:grid;grid-template-columns:repeat(4,34px);justify-content:center}.g3oe-alt-plates img{width:34px;height:34px;object-fit:contain}.g3oe-alt-plates b{font-size:1.8rem;color:var(--g3oe-teal)}
.g3oe-alt-scan{display:grid;grid-template-columns:1fr 1fr;gap:8px}.g3oe-alt-scan section{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;border-radius:13px;background:#eef9f7}.g3oe-alt-scan i{font-style:normal;color:var(--g3oe-coral)}.g3oe-alt-scan strong{color:var(--g3oe-teal);font-size:1.2rem}
.g3oe-alt-route{display:flex;align-items:center;justify-content:center;gap:7px}.g3oe-alt-route section{display:grid;gap:2px;padding:7px;border-radius:12px;background:#eef9f7}.g3oe-alt-route small{color:var(--g3oe-coral);font-weight:1000}.g3oe-alt-route i{font-style:normal;color:var(--g3oe-teal)}
.show-g3oe-guides .g3oe-card>div>b,.show-g3oe-guides .g3oe-card section{animation:g3oe-guide 1s ease-in-out 2}@keyframes g3oe-guide{50%{box-shadow:0 0 0 5px #f2b93f88}}
@media(max-width:760px){.grade3-operation-equality-board .g3oe-lab{width:100%;min-height:340px;aspect-ratio:auto;border-radius:18px}.g3oe-lab-bg{height:auto;aspect-ratio:1672/941;object-fit:cover}.g3oe-visual{inset:31% 2% 2%}.g3oe-workspace{inset:7px 5px auto}.g3oe-card,.g3oe-alternative{width:98%;padding:9px 10px;border-radius:15px}.g3oe-card h1{font-size:.98rem}.g3oe-card h2{font-size:.83rem}.g3oe-card p{font-size:.72rem}.g3oe-card>div{gap:5px;margin-top:5px}.g3oe-card>div>b,.g3oe-card>div>section{padding:5px 7px;font-size:.72rem}.g3oe-card>div>i,.g3oe-card>div>em{font-size:1.1rem}.g3oe-beam{top:38%;height:10px}.g3oe-beam::before,.g3oe-beam::after{height:58px}.g3oe-pivot{top:30%;width:46px;height:46px;border-width:5px;font-size:1.45rem}.g3oe-pivot::after{top:38px;height:95px;width:13px}.g3oe-pan{top:58%;height:32%;border-top-width:8px}.g3oe-token-field{grid-template-columns:repeat(6,minmax(0,1fr));min-height:42px}.g3oe-token,.g3oe-token.apple{width:22px;height:22px}.g3oe-count-badge{min-width:29px;height:29px;font-size:.75rem}.g3oe-final>div{grid-template-columns:repeat(2,1fr)}.g3oe-alt-plates section{grid-template-columns:repeat(4,24px)}.g3oe-alt-plates img{width:24px;height:24px}.g3oe-alt-route{gap:3px}.g3oe-alt-route section{padding:4px;font-size:.65rem}}
@media(max-height:760px) and (min-width:761px){.grade3-operation-equality-board .g3oe-lab{width:min(100%,760px);min-height:330px;aspect-ratio:auto}.g3oe-card,.g3oe-alternative{padding:10px 15px}.g3oe-visual{inset:29% 3% 2%}.g3oe-token,.g3oe-token.apple{width:28px;height:28px}}
@media(max-height:760px) and (min-width:761px){.grade3-operation-equality-shell .teacher-classroom{padding-bottom:16px!important}}
.g3wp-seedling[data-step=share] .c1,.g3wp-seedling[data-step=result] .c1{left:66%;top:51%}.g3wp-seedling[data-step=share] .c2,.g3wp-seedling[data-step=result] .c2{left:72%;top:58%}.g3wp-seedling[data-step=share] .c3,.g3wp-seedling[data-step=result] .c3{left:83%;top:51%}.g3wp-seedling[data-step=share] .c4,.g3wp-seedling[data-step=result] .c4{left:89%;top:58%}.g3wp-seedling[data-step=share] .c5,.g3wp-seedling[data-step=result] .c5{left:66%;top:74%}.g3wp-seedling[data-step=share] .c6,.g3wp-seedling[data-step=result] .c6{left:72%;top:81%}.g3wp-seedling[data-step=share] .c7,.g3wp-seedling[data-step=result] .c7{left:83%;top:74%}.g3wp-seedling[data-step=share] .c8,.g3wp-seedling[data-step=result] .c8{left:89%;top:81%}.g3wp-seedling[data-step=share] .c2,.g3wp-seedling[data-step=share] .c4,.g3wp-seedling[data-step=share] .c6,.g3wp-seedling[data-step=share] .c8,.g3wp-seedling[data-step=result] .c2,.g3wp-seedling[data-step=result] .c4,.g3wp-seedling[data-step=result] .c6,.g3wp-seedling[data-step=result] .c8{translate:-50% -50%;scale:.82}

/* Dar telefonlarda sayıların tahtanın dışında kalmasını önler. */
@media (max-width: 640px) {
  .number-park-board .source-number-park {
    gap: 2px;
    min-height: 118px;
    padding: 8px 4px;
    overflow: hidden;
  }
  .number-park-board .source-number-park span,
  .number-park-board .source-number-park button {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-width: 2px;
    font-size: 15px;
  }
  .number-park-board .source-number-park i {
    flex: 1 1 6px;
    min-width: 4px;
    max-width: 10px;
    overflow: hidden;
    font-size: 12px;
    text-align: center;
  }
  .number-park-board .park-number-bank {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rhythmic-sequence-line.long-sequence {
    justify-content: center;
    gap: 1px;
    padding-inline: 4px;
    overflow: hidden;
  }
  .rhythmic-sequence-line.long-sequence > b {
    flex: 0 0 26px;
    min-width: 26px;
    width: 26px;
    height: 38px;
    font-size: 14px;
  }
  .rhythmic-sequence-line.long-sequence em {
    flex: 1 1 3px;
    min-width: 2px;
    max-width: 4px;
    height: 36px;
  }
  .rhythmic-sequence-line.long-sequence em u {
    border-width: 2px;
  }
  .rhythmic-number-grid.hundred {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 2px;
  }
  .rhythmic-number-grid.hundred button {
    min-width: 0;
    padding: 0;
    font-size: 10px;
  }
  .rule-sequence {
    gap: 4px;
    min-height: 120px;
    padding: 30px 8px 20px;
    overflow: hidden;
  }
  .rule-sequence > b {
    flex: 0 0 40px;
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 17px;
  }
  .rule-sequence i {
    flex: 0 1 15px;
    min-width: 10px;
    overflow: hidden;
    font-size: 18px;
  }

  .mat-estimate-board .length-estimate-options {
    width: 100%;
    gap: 8px;
  }
  .mat-estimate-board .length-estimate-options button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 100px;
    padding: 10px 8px;
  }
  .mat-estimate-board .length-estimate-options button b {
    right: 5px;
  }
}

[data-addition-move] {
  touch-action: none;
  user-select: none;
  -webkit-user-drag: element;
}

/* 4. Tema · Çıkarma İşlemi · kaynak sayfa 1–15 */
.subtraction-motion-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}
.subtraction-motion-objects {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}
.subtraction-motion-object {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  width: var(--motion-width);
  transform-origin: 50% 100%;
  will-change: left, top, transform;
  filter: drop-shadow(0 5px 5px #173d3745);
}
.subtraction-motion-object.anchor-bottom {
  transform: translateY(-100%);
}
.subtraction-motion-object img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.subtraction-motion-object.lantern img {
  filter: hue-rotate(var(--hue)) saturate(1.08);
}
.subtraction-motion-scene.motion-complete .subtraction-motion-object.moving {
  left: var(--ex);
  top: var(--ey);
  transform: scale(1);
}
.subtraction-motion-scene.motion-complete
  .subtraction-motion-object.moving.anchor-bottom {
  transform: translateY(-100%) scale(1);
}
.subtraction-motion-count {
  position: absolute;
  z-index: 4;
  right: 3%;
  top: 3%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 3px solid #fff;
  border-radius: 18px;
  background: #fff9dbea;
  box-shadow: 0 8px 20px #173d3730;
}
.subtraction-motion-count span {
  display: grid;
  place-items: center;
  gap: 1px;
}
.subtraction-motion-count small {
  color: #63736d;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.subtraction-motion-count b,
.subtraction-motion-count strong {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #fff;
  color: #154258;
  font-size: 24px;
}
.subtraction-motion-count strong {
  background: #0b8a7c;
  color: #fff;
}
.subtraction-motion-count i {
  color: #df7059;
  font: 950 24px/1 system-ui;
  font-style: normal;
}
.motion-kites {
  z-index: 2;
  background:
    radial-gradient(circle at 20% 20%, #fff 0 6%, transparent 6.5%),
    radial-gradient(circle at 76% 28%, #fff 0 8%, transparent 8.5%),
    linear-gradient(#bde7f4, #edf9f4);
}
.motion-kites .subtraction-motion-count {
  top: 12%;
}
.subtraction-leaving-zone {
  position: absolute;
  z-index: 1;
  left: 28%;
  right: 28%;
  bottom: 11%;
  height: 28%;
  border: 3px dashed #df715a;
  border-radius: 24px;
  background: #fff0ea80;
}
.subtraction-leaving-zone small {
  position: absolute;
  left: 50%;
  bottom: 7px;
  translate: -50% 0;
  width: max-content;
  color: #a84c3d;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.subtraction-teacher-model .subtraction-decrease-result {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 2%;
  translate: -50% 0;
  width: max-content;
}
.subtraction-concept-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 620px);
  margin-left: auto;
}
.subtraction-concept-choices button {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 8px 14px;
  border: 3px solid #badbd5;
  border-radius: 20px;
  background: #fff;
  color: #16433d;
  cursor: pointer;
  text-align: left;
}
.subtraction-concept-choices button > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e4f4ef;
  color: #0b8276;
  font: 950 30px/1 system-ui;
  font-style: normal;
}
.subtraction-concept-choices button span {
  display: grid;
  gap: 2px;
}
.subtraction-concept-choices button b {
  font-size: 17px;
}
.subtraction-concept-choices button small {
  color: #638079;
  font-size: 11px;
  font-weight: 850;
}
.subtraction-concept-choices button:focus-visible,
.subtraction-concept-choices button:hover {
  border-color: #e9b42d;
  box-shadow: 0 0 0 5px #ffd34a30;
}
.subtraction-concept-choices button.correct-cell {
  border-color: #43b86a;
  background: #e7f8eb;
}
.subtraction-footer-answer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}
.subtraction-footer-answer > span {
  font-size: 34px;
}
.subtraction-footer-answer .subtraction-number-choices {
  flex-wrap: nowrap;
}
.subtraction-discover-board,
.subtraction-symbol-board,
.subtraction-object-practice-board,
.subtraction-terms-board,
.subtraction-horizontal-vertical-board,
.subtraction-remove-board,
.subtraction-countback-board,
.subtraction-seven-board,
.subtraction-match-board,
.subtraction-problem-board,
.subtraction-check-board,
.subtraction-finish-board {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f1faf7, #dcefeb);
  isolation: isolate;
}
.subtraction-scene-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.subtraction-discover-board:after,
.subtraction-symbol-board:after,
.subtraction-problem-board:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(12, 65, 58, 0.28));
  pointer-events: none;
}
.subtraction-story-strip,
.subtraction-symbol-story {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 6%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 92%;
  padding: 12px 18px;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #fffffff2;
  box-shadow: 0 12px 28px #173d3740;
}
.subtraction-story-strip span,
.subtraction-symbol-story span {
  display: grid;
  place-items: center;
  gap: 3px;
}
.subtraction-story-strip small,
.subtraction-symbol-story small {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  color: #52736d;
}
.subtraction-story-strip b,
.subtraction-symbol-story b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #e1f3ee;
  color: #075f56;
  font-size: 34px;
}
.subtraction-story-strip i,
.subtraction-symbol-story i {
  color: #e9ad23;
  font: 950 28px/1 system-ui;
  font-style: normal;
}
.subtraction-story-strip .leaving b,
.subtraction-symbol-story .minus {
  color: #dc624d;
}
.subtraction-symbol-story .result b {
  background: #0b8a7c;
  color: #fff;
}
.subtraction-decrease-cue {
  position: absolute;
  z-index: 3;
  right: 5%;
  top: 5%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 20px;
  background: #fff7d7e8;
  border: 3px solid #efb631;
}
.subtraction-decrease-cue b,
.subtraction-decrease-cue strong {
  font-size: 30px;
  color: #16433d;
}
.subtraction-decrease-cue i {
  font-style: normal;
  font-size: 28px;
  color: #df765e;
}
.subtraction-teacher-model,
.subtraction-student-decrease,
.subtraction-object-practice-board,
.subtraction-remove-board,
.subtraction-countback-board,
.subtraction-terms-board,
.subtraction-horizontal-vertical-board,
.subtraction-seven-board,
.subtraction-match-board,
.subtraction-check-board {
  padding: clamp(18px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
}
.subtraction-teacher-model .board-kicker,
.subtraction-student-decrease .board-kicker,
.subtraction-object-practice-board .board-kicker,
.subtraction-remove-board .board-kicker,
.subtraction-countback-board .board-kicker,
.subtraction-terms-board .board-kicker,
.subtraction-horizontal-vertical-board .board-kicker,
.subtraction-seven-board .board-kicker,
.subtraction-match-board .board-kicker,
.subtraction-check-board .board-kicker {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 5;
}
.subtraction-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.subtraction-before-after > div {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 24px #173d3720;
}
.subtraction-before-after small,
.subtraction-leaving-pair small {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  color: #55736e;
}
.subtraction-before-after > div > b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e3f4ef;
  color: #076b61;
  font-size: 32px;
}
.subtraction-before-after .after > b {
  background: #0b8a7c;
  color: #fff;
}
.subtraction-separate-arrow {
  font-style: normal;
  font-size: 38px;
  color: #e9ad25;
}
.subtraction-leaving-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 15px;
  border: 3px dashed #e47b65;
  border-radius: 22px;
  background: #fff0ec;
}
.subtraction-decrease-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 23px;
  background: #fff6d4;
  border: 3px solid #edb534;
}
.subtraction-decrease-result span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.subtraction-decrease-result small {
  font-size: 9px;
  color: #6c746e;
  font-weight: 950;
}
.subtraction-decrease-result b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  color: #173d37;
  font-size: 28px;
}
.subtraction-decrease-result .after b {
  background: #0b8a7c;
  color: #fff;
}
.subtraction-decrease-result i {
  font-style: normal;
  color: #df765e;
  font-size: 28px;
}
.subtraction-decrease-result strong {
  color: #0b7469;
  font-size: 20px;
}
.subtraction-live-count {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 20px;
  background: #fff6d7;
}
.subtraction-live-count span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.subtraction-live-count small {
  font-size: 9px;
  font-weight: 950;
  color: #65766f;
}
.subtraction-live-count b {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #fff;
  color: #16433d;
  font-size: 28px;
}
.subtraction-live-count i {
  font-style: normal;
  color: #df715c;
  font-size: 29px;
}
.subtraction-removal-progress,
.subtraction-hop-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 7px 13px;
  border-radius: 18px;
  background: #fff;
  border: 3px solid #eab431;
  color: #8a6100;
}
.subtraction-removal-progress b,
.subtraction-hop-count b {
  font-size: 27px;
}
.subtraction-removal-progress small,
.subtraction-hop-count small {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.subtraction-object-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1vw, 10px);
  width: 100%;
}
.subtraction-object-row.compact {
  width: auto;
  flex-wrap: nowrap;
}
.subtraction-object-row.dense {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 650px;
  gap: 6px;
}
.subtraction-token {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(48px, 8vw, 76px);
  height: clamp(58px, 9vw, 88px);
  padding: 4px;
  border: 3px solid transparent;
  border-radius: 18px;
  background: transparent;
  transition: 0.25s;
  cursor: default;
}
.subtraction-token:is(button) {
  cursor: pointer;
}
.subtraction-token:is(button):hover,
.subtraction-token:is(button):focus-visible {
  border-color: #eab632;
  background: #fff8dd;
  transform: translateY(-3px);
}
.subtraction-token img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px #173d3730);
  pointer-events: none;
}
.subtraction-token i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f0644f;
  font: 950 clamp(36px, 7vw, 68px) / 1 system-ui;
  font-style: normal;
  filter: drop-shadow(0 2px 1px white);
  pointer-events: none;
}
.subtraction-token.removed {
  opacity: 0.46;
  transform: translateY(8px) scale(0.9);
  background: #ffe8e2;
}
.subtraction-token.removed img {
  filter: grayscale(0.45);
}
.subtraction-object-row.dense .subtraction-token {
  justify-self: center;
  width: clamp(38px, 7vw, 66px);
  height: clamp(42px, 7vw, 70px);
  padding: 2px;
}
.subtraction-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 9px 22px #173d371e;
}
.subtraction-equation b,
.subtraction-equation strong {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 58px;
  padding: 0 8px;
  border: 3px solid #9bcfc6;
  border-radius: 17px;
  color: #143f58;
  font-size: 32px;
}
.subtraction-equation strong {
  background: #dff4eb;
  color: #087263;
}
.subtraction-equation i {
  font-style: normal;
  color: #de6c55;
  font-size: 28px;
  font-weight: 950;
}
.subtraction-symbol-board .subtraction-equation {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 5%;
  translate: -50% 0;
}
.subtraction-number-choices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.subtraction-number-choices button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 88px;
  height: 70px;
  border: 4px solid #abd7cf;
  border-radius: 22px;
  background: #fff;
  color: #086f64;
  cursor: pointer;
}
.subtraction-number-choices span {
  font-size: 31px;
  font-weight: 950;
}
.subtraction-number-choices i {
  position: absolute;
  right: 6px;
  top: 4px;
  color: #43b86a;
  font-style: normal;
  font-weight: 950;
}
.subtraction-number-choices button.correct-cell {
  border-color: #43b86a;
  background: #e4f7e9;
}
.subtraction-term-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.subtraction-term-equation > button {
  display: grid;
  place-items: center;
  gap: 7px;
  width: 160px;
  height: 145px;
  border: 4px solid #bddbd5;
  border-radius: 28px;
  background: #fff;
  cursor: pointer;
}
.subtraction-term-equation > button b {
  font-size: 52px;
  color: #164258;
}
.subtraction-term-equation > button small {
  opacity: 0;
  color: #08786d;
  font-size: 14px;
  font-weight: 950;
}
.subtraction-term-equation > button.revealed {
  border-color: #0b8a7c;
  background: #e3f5f0;
}
.subtraction-term-equation > button.revealed small {
  opacity: 1;
}
.subtraction-term-equation > i {
  font-style: normal;
  color: #df715a;
  font-size: 35px;
  font-weight: 950;
}
.subtraction-reading-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.subtraction-reading-cards span {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
}
.subtraction-reading-cards i {
  font-style: normal;
  color: #164258;
  font-size: 22px;
  font-weight: 950;
}
.subtraction-reading-cards b {
  color: #0b7a6e;
  font-size: 15px;
}
.subtraction-horizontal-vertical-board .horizontal-model {
  margin-bottom: 8px;
}
.subtraction-vertical-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.subtraction-vertical-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  width: 190px;
  height: 250px;
  border: 4px solid #b8d9d3;
  border-radius: 28px;
  background: #fff;
  font: 950 34px/1.15 system-ui;
  cursor: pointer;
}
.subtraction-vertical-number {
  width: 126px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
}
.subtraction-vertical-number i {
  color: #df6e58;
  font-style: normal;
  text-align: center;
}
.subtraction-vertical-number b {
  min-width: 0;
  padding-right: 13px;
  color: #153f57;
  text-align: right;
  font: inherit;
}
.subtraction-vertical-number.result b {
  color: #0a806f;
}
.subtraction-vertical-line {
  width: 112px;
  border-top: 5px solid #0b8a7c;
}
.subtraction-vertical-card.correct-cell {
  border-color: #43b86a;
  background: #e6f7ea;
}
.subtraction-method-visual {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 92%;
  padding: 9px 13px;
  border: 3px solid #eab533;
  border-radius: 20px;
  background: #fff8dff5;
  box-shadow: 0 9px 23px #173d3730;
}
.subtraction-method-visual span {
  font-size: 10px;
  font-weight: 950;
  color: #8b6200;
}
.subtraction-method-visual b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #16443e;
}
.subtraction-method-visual b.last {
  background: #0b8a7c;
  color: #fff;
}
.subtraction-method-visual i {
  font-style: normal;
  color: #df715b;
}
.subtraction-first-hint .subtraction-object-row {
  box-shadow: 0 0 0 8px #ffd34a38;
  border-radius: 26px;
}
.subtraction-second-method .subtraction-equation {
  transform: translateY(-14px);
}
.subtraction-number-path {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 3px;
}
.subtraction-number-path button {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 82px;
  height: 74px;
  padding: 0;
  border: 3px solid #badad4;
  border-radius: 19px;
  background: #fff;
  color: #39615a;
  cursor: pointer;
}
.subtraction-number-path button b {
  font-size: 27px;
}
.subtraction-number-path button i {
  position: absolute;
  left: -10px;
  color: #e7ae25;
  font-style: normal;
}
.subtraction-number-path button.visited {
  background: #0b8a7c;
  border-color: #0b8a7c;
  color: #fff;
}
.subtraction-number-path button.next {
  border-color: #eab42d;
  box-shadow: 0 0 0 7px #ffd24b42;
  animation: attentionGlow 0.75s infinite alternate;
}
.subtraction-picture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.subtraction-picture-grid button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 0;
  height: 240px;
  padding: 14px;
  border: 4px solid #b9d9d3;
  border-radius: 27px;
  background: #fff;
  cursor: pointer;
}
.subtraction-picture-grid img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: transparent;
}
.subtraction-picture-grid span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px;
  border-radius: 16px;
  background: #eff8f5;
  color: #164158;
  font-size: 22px;
  font-weight: 950;
}
.subtraction-picture-grid span i {
  font-style: normal;
  color: #df705a;
}
.subtraction-picture-grid button.correct-cell {
  border-color: #43b86a;
  background: #e5f7e9;
  box-shadow: 0 0 0 6px #43b86a2b;
}
.subtraction-match-stage {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.operation-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 24px #173d3720;
}
.operation-card small {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #0b8a7c;
  color: #fff;
  font-weight: 950;
}
.match-line {
  font-style: normal;
  color: #e9ae24;
  font-size: 42px;
}
.subtraction-route-complete {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 35px;
  border-radius: 30px;
  background: #fff;
}
.subtraction-route-complete > span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #43b86a;
  color: #fff;
  font-size: 48px;
}
.subtraction-route-complete strong {
  font-size: 28px;
  color: #16433d;
}
.subtraction-route-complete small {
  font-weight: 900;
  color: #0b7a6e;
}
.subtraction-problem-panel {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 4%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  max-width: 94%;
  padding: 12px 18px;
  border: 4px solid #fff;
  border-radius: 25px;
  background: #ffffffed;
  box-shadow: 0 11px 25px #173d3738;
}
.subtraction-problem-panel .subtraction-equation {
  box-shadow: none;
  padding: 4px;
}
.subtraction-problem-panel .subtraction-number-choices {
  flex-wrap: nowrap;
}
.subtraction-problem-panel .subtraction-number-choices button {
  min-width: 65px;
  height: 58px;
}
.subtraction-problem-panel .subtraction-number-choices span {
  font-size: 25px;
}
.subtraction-check-badge {
  position: absolute;
  right: 17px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  border-radius: 18px;
  background: #0b8a7c;
  color: #fff;
  font-weight: 950;
}
.subtraction-finish-board {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 35px;
  text-align: center;
}
.subtraction-finish-objects {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.subtraction-finish-objects > span:not(.subtraction-token) {
  color: #df7059;
  font-size: 48px;
  font-weight: 950;
}
.subtraction-finish-board h1 {
  margin: 0;
  color: #16433d;
  font-size: clamp(26px, 4vw, 44px);
}
.subtraction-finish-board .finish-equation {
  background: #fff7d9;
}

@media (min-width: 721px) {
  .lesson-shell .teaching-area {
    width: min(100%, clamp(640px, calc(100dvh - 140px), 760px));
    justify-self: center;
  }
  .lesson-footer {
    min-height: 64px;
    padding-top: 8px;
  }
}

@media (max-width: 760px), (max-height: 760px) {
  .subtraction-discover-board,
  .subtraction-symbol-board,
  .subtraction-object-practice-board,
  .subtraction-terms-board,
  .subtraction-horizontal-vertical-board,
  .subtraction-remove-board,
  .subtraction-countback-board,
  .subtraction-seven-board,
  .subtraction-match-board,
  .subtraction-problem-board,
  .subtraction-check-board,
  .subtraction-finish-board {
    width: min(100%, 440px) !important;
    height: min(100%, 440px) !important;
    min-height: 0 !important;
  }
  .subtraction-teacher-model,
  .subtraction-student-decrease,
  .subtraction-object-practice-board,
  .subtraction-remove-board,
  .subtraction-countback-board,
  .subtraction-terms-board,
  .subtraction-horizontal-vertical-board,
  .subtraction-seven-board,
  .subtraction-match-board,
  .subtraction-check-board {
    padding: 13px;
    gap: 7px;
  }
  .subtraction-teacher-model .board-kicker,
  .subtraction-student-decrease .board-kicker,
  .subtraction-object-practice-board .board-kicker,
  .subtraction-remove-board .board-kicker,
  .subtraction-countback-board .board-kicker,
  .subtraction-terms-board .board-kicker,
  .subtraction-horizontal-vertical-board .board-kicker,
  .subtraction-seven-board .board-kicker,
  .subtraction-match-board .board-kicker,
  .subtraction-check-board .board-kicker {
    left: 8px;
    top: 8px;
    font-size: 9px;
    padding: 5px 7px;
  }
  .subtraction-story-strip,
  .subtraction-symbol-story {
    bottom: 3%;
    gap: 6px;
    padding: 7px 9px;
    border-width: 2px;
  }
  .subtraction-story-strip b,
  .subtraction-symbol-story b {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 23px;
  }
  .subtraction-story-strip small,
  .subtraction-symbol-story small {
    font-size: 7px;
  }
  .subtraction-story-strip i,
  .subtraction-symbol-story i {
    font-size: 20px;
  }
  .subtraction-decrease-cue {
    right: 3%;
    top: 3%;
    padding: 6px 8px;
    border-width: 2px;
  }
  .subtraction-decrease-cue b,
  .subtraction-decrease-cue strong,
  .subtraction-decrease-cue i {
    font-size: 20px;
  }
  .subtraction-motion-count {
    gap: 3px;
    padding: 4px 6px;
    border-width: 2px;
    border-radius: 13px;
  }
  .subtraction-motion-count b,
  .subtraction-motion-count strong {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 17px;
  }
  .subtraction-motion-count small {
    font-size: 6px;
  }
  .subtraction-motion-count i {
    font-size: 17px;
  }
  .subtraction-leaving-zone {
    left: 30%;
    right: 30%;
    bottom: 12%;
    border-width: 2px;
  }
  .subtraction-leaving-zone small {
    bottom: 4px;
    font-size: 7px;
  }
  .subtraction-teacher-model .subtraction-decrease-result {
    bottom: 1%;
  }
  .subtraction-concept-choices {
    gap: 7px;
  }
  .subtraction-concept-choices button {
    grid-template-columns: 40px 1fr;
    gap: 6px;
    min-height: 56px;
    padding: 5px 8px;
    border-width: 2px;
    border-radius: 15px;
  }
  .subtraction-concept-choices button > i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 22px;
  }
  .subtraction-concept-choices button b {
    font-size: 13px;
  }
  .subtraction-concept-choices button small {
    font-size: 8px;
  }
  .subtraction-footer-answer {
    gap: 7px;
  }
  .subtraction-footer-answer > span {
    font-size: 24px;
  }
  .subtraction-before-after {
    gap: 7px;
  }
  .subtraction-before-after > div {
    gap: 3px;
    padding: 7px;
    border-radius: 18px;
  }
  .subtraction-before-after > div > b {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }
  .subtraction-separate-arrow {
    font-size: 25px;
  }
  .subtraction-leaving-pair {
    gap: 5px;
    padding: 3px 7px;
    border-width: 2px;
  }
  .subtraction-decrease-result {
    gap: 5px;
    padding: 5px 7px;
    border-width: 2px;
  }
  .subtraction-decrease-result b {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }
  .subtraction-decrease-result i {
    font-size: 19px;
  }
  .subtraction-decrease-result strong {
    font-size: 12px;
  }
  .subtraction-decrease-result small {
    font-size: 6px;
  }
  .subtraction-token {
    width: 39px;
    height: 45px;
    border-radius: 11px;
    padding: 1px;
  }
  .subtraction-token i {
    font-size: 34px;
  }
  .subtraction-object-row {
    gap: 2px;
  }
  .subtraction-object-row.dense {
    gap: 1px;
    max-width: 330px;
  }
  .subtraction-object-row.dense .subtraction-token {
    width: 37px;
    height: 39px;
  }
  .subtraction-live-count {
    gap: 7px;
    padding: 4px 7px;
  }
  .subtraction-live-count b {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }
  .subtraction-live-count small {
    font-size: 6px;
  }
  .subtraction-live-count i {
    font-size: 19px;
  }
  .subtraction-removal-progress,
  .subtraction-hop-count {
    padding: 3px 7px;
    border-width: 2px;
  }
  .subtraction-removal-progress b,
  .subtraction-hop-count b {
    font-size: 19px;
  }
  .subtraction-equation {
    gap: 6px;
    padding: 5px 8px;
    border-radius: 15px;
  }
  .subtraction-equation b,
  .subtraction-equation strong {
    min-width: 38px;
    height: 38px;
    padding: 0 4px;
    border-width: 2px;
    border-radius: 11px;
    font-size: 21px;
  }
  .subtraction-equation i {
    font-size: 19px;
  }
  .subtraction-number-choices {
    gap: 7px;
  }
  .subtraction-number-choices button {
    min-width: 62px;
    height: 49px;
    border-width: 3px;
    border-radius: 15px;
  }
  .subtraction-number-choices span {
    font-size: 22px;
  }
  .subtraction-symbol-board .subtraction-equation {
    top: 3%;
  }
  .subtraction-term-equation {
    gap: 6px;
  }
  .subtraction-term-equation > button {
    width: 84px;
    height: 80px;
    border-width: 3px;
    border-radius: 17px;
  }
  .subtraction-term-equation > button b {
    font-size: 31px;
  }
  .subtraction-term-equation > button small {
    font-size: 8px;
  }
  .subtraction-term-equation > i {
    font-size: 22px;
  }
  .subtraction-reading-cards {
    gap: 5px;
  }
  .subtraction-reading-cards span {
    gap: 2px;
    padding: 7px;
    border-radius: 13px;
  }
  .subtraction-reading-cards i {
    font-size: 13px;
  }
  .subtraction-reading-cards b {
    font-size: 9px;
  }
  .subtraction-vertical-options {
    gap: 10px;
  }
  .subtraction-vertical-card {
    width: 116px;
    height: 145px;
    border-width: 3px;
    border-radius: 18px;
    font-size: 22px;
  }
  .subtraction-vertical-number {
    width: 78px;
    grid-template-columns: 23px 1fr;
  }
  .subtraction-vertical-number b {
    padding-right: 7px;
  }
  .subtraction-vertical-line {
    width: 72px;
    border-width: 3px;
  }
  .subtraction-number-path {
    gap: 1px;
  }
  .subtraction-number-path button {
    height: 47px;
    border-width: 2px;
    border-radius: 12px;
  }
  .subtraction-number-path button b {
    font-size: 16px;
  }
  .subtraction-number-path button i {
    left: -5px;
    font-size: 10px;
  }
  .subtraction-picture-grid {
    gap: 6px;
  }
  .subtraction-picture-grid button {
    height: 142px;
    padding: 5px;
    border-width: 3px;
    border-radius: 17px;
  }
  .subtraction-picture-grid img {
    height: 106px;
  }
  .subtraction-picture-grid span {
    gap: 3px;
    padding: 4px;
    font-size: 13px;
  }
  .subtraction-match-stage {
    gap: 5px;
    grid-template-columns: 1fr;
    width: min(100%, 300px);
  }
  .operation-card {
    min-height: 82px;
    width: 100%;
    padding: 6px;
  }
  .operation-card small {
    right: 5px;
    top: 5px;
    padding: 4px 6px;
    font-size: 9px;
  }
  .match-line {
    font-size: 20px;
    line-height: 1;
    transform: rotate(90deg);
  }
  .subtraction-match-stage .subtraction-number-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .subtraction-match-stage .subtraction-number-choices button {
    min-width: 0;
    width: 100%;
    height: 45px;
  }
  .subtraction-route-complete {
    gap: 5px;
    padding: 16px;
  }
  .subtraction-route-complete > span {
    width: 52px;
    height: 52px;
    font-size: 30px;
  }
  .subtraction-route-complete strong {
    font-size: 18px;
  }
  .subtraction-problem-panel {
    bottom: 2%;
    gap: 6px;
    padding: 6px 8px;
    border-width: 2px;
  }
  .subtraction-problem-panel .subtraction-number-choices button {
    min-width: 42px;
    height: 40px;
  }
  .subtraction-problem-panel .subtraction-number-choices span {
    font-size: 18px;
  }
  .subtraction-method-visual {
    bottom: 5px;
    gap: 2px;
    padding: 4px 6px;
    border-width: 2px;
  }
  .subtraction-method-visual b {
    width: 23px;
    height: 23px;
    font-size: 12px;
  }
  .subtraction-method-visual span {
    font-size: 7px;
  }
  .subtraction-finish-board {
    gap: 10px;
    padding: 16px;
  }
  .subtraction-finish-objects {
    gap: 3px;
  }
  .subtraction-finish-objects > span:not(.subtraction-token) {
    font-size: 28px;
  }
}

/* 19–21. dersler · eşitlik, işlemleri yorumlama ve 4. tema değerlendirme */
.theme4-final-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 650px);
  height: min(100%, 650px);
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  background: #eef9f7;
  border-color: #b9dcd6;
}
.theme4-final-footer-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 260px;
  min-width: 0;
}
.theme4-final-choices {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.theme4-final-choices button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  flex: 1 1 94px;
  min-width: 94px;
  min-height: 64px;
  padding: 8px 14px;
  border: 3px solid #aed7cf;
  border-radius: 17px;
  background: #fff;
  color: #153f51;
  cursor: pointer;
}
.theme4-final-choices.equation-choices button {
  flex-basis: 132px;
  min-width: 0;
}
.theme4-final-choices button > b {
  font-size: 20px;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.theme4-final-choices button > strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  border-radius: 11px;
  background: #e6f4f1;
  color: #087f73;
  font-size: 25px;
  line-height: 1;
}
.theme4-final-choices button > small {
  color: #52736e;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
}
.theme4-final-choices.equality-relation-choices {
  flex-wrap: nowrap;
  justify-content: center;
}
.theme4-final-choices.equality-relation-choices button {
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  min-width: 0;
  max-width: 250px;
  text-align: left;
}
.theme4-final-choices.equality-relation-choices button > strong {
  grid-row: 1/3;
}
.theme4-final-choices.equality-relation-choices button > b,
.theme4-final-choices.equality-relation-choices button > small {
  justify-self: start;
}
.theme4-final-choices.symbol-only-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 470px);
  margin-left: auto;
}
.theme4-final-choices.symbol-only-choices button {
  width: 100%;
  min-width: 0;
  min-height: 72px;
}
.theme4-final-choices.symbol-only-choices button > b {
  font-size: 34px;
}
.theme4-method-glow {
  outline: 5px solid #f2ad20 !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 11px rgb(242 173 32/24%) !important;
  animation: mentalSubtractionGuide 0.9s ease-in-out infinite;
}
.theme4-scene-card {
  position: relative;
  width: min(92%, 500px);
  height: min(84%, 500px);
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 15px 32px rgb(28 74 69/18%);
}
.theme4-scene-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme4-scene-equations {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: rgb(244 253 250/94%);
  box-shadow: 0 8px 20px rgb(10 70 62/17%);
}
.theme4-scene-equations span,
.theme4-scene-equations b {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 48px;
  padding: 0 6px;
  border-radius: 13px;
  background: #fff;
  color: #12455a;
  font-size: 24px;
  font-weight: 950;
}
.theme4-scene-equations b {
  min-width: 35px;
  background: transparent;
  color: #ee715e;
}
.equality-balance-demo {
  display: block;
}
.equality-balance-values {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: grid;
  grid-template-columns: minmax(105px, 1fr) 46px minmax(105px, 1fr);
  align-items: center;
  gap: 7px;
  width: min(92%, 430px);
  padding: 8px;
  border: 4px solid #fff;
  border-radius: 19px;
  background: rgb(244 253 250/95%);
  box-shadow: 0 8px 20px rgb(10 70 62/17%);
}
.equality-balance-values > span {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 5px;
  min-height: 48px;
  padding: 5px 7px;
  border-radius: 13px;
  background: #fff;
  color: #12455a;
  font-size: 18px;
  font-weight: 950;
}
.equality-balance-values > span > b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #dff3ee;
  color: #087f73;
  font-size: 22px;
}
.equality-balance-values > strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #0b8c7d;
  color: #fff;
  font-size: 25px;
}
.equality-demo-caption {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border: 3px solid #fff;
  border-radius: 14px;
  background: rgb(15 92 83/90%);
  color: #fff;
  box-shadow: 0 7px 18px rgb(18 65 58/20%);
}
.equality-demo-caption span {
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.equality-demo-caption b {
  font-size: 12px;
}
.teacher-demo-active .equality-balance-values > span,
.teacher-demo-active .equality-balance-values > strong {
  transition:
    filter 0.2s,
    box-shadow 0.2s;
}
.equality-teacher-rule {
  display: grid;
  grid-template-columns: 54px 42px 54px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  text-align: center;
}
.equality-teacher-rule > span,
.equality-teacher-rule > b {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 15px;
  background: #fff;
  color: #15495a;
  font-size: 24px;
  font-weight: 950;
}
.equality-teacher-rule > b {
  background: #0b8c7d;
  color: #fff;
}
.equality-teacher-rule > small {
  grid-column: 1/-1;
  color: #0d756b;
  font-size: 11px;
  font-weight: 900;
}
.equality-symbol-demo .theme4-symbol-gap {
  border-style: solid;
  animation: equalitySymbolSet 0.7s 0.8s both;
}
.equality-rearrange-demo .theme4-object-group span {
  animation: equalityCountGlow 0.45s calc(var(--sync-index, 0) * 0.08s) both;
}
.equality-step-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 3px solid #c1dfd9;
  border-radius: 17px;
  background: #fff;
  color: #174a5a;
  font-size: 12px;
  font-weight: 900;
}
.equality-step-ribbon i {
  color: #ed715d;
  font-style: normal;
}
.equality-step-ribbon strong {
  padding: 5px 8px;
  border-radius: 10px;
  background: #e1f3ef;
  color: #087f73;
}
.equality-motion-group .equality-token-arrive {
  opacity: 0;
}
.equality-teacher-equalize section > b em {
  color: #ed715d;
  font-style: normal;
}
.equality-known-side {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  align-items: center;
  gap: 7px;
  width: 100%;
}
.equality-known-side > span {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 67px;
  padding: 7px;
  border-radius: 17px;
  background: #eef8f5;
  color: #15495a;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}
.equality-known-side > span > b {
  color: #0b8c7d;
  font-size: 22px;
}
.equality-known-side > i {
  color: #ed715d;
  font-style: normal;
  font-size: 22px;
}
.equality-match-demo {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  gap: 11px;
  width: min(94%, 540px);
}
.equality-match-demo > div {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 155px;
  padding: 17px;
  border: 4px solid #bdded8;
  border-radius: 24px;
  background: #fff;
}
.equality-match-demo > div > span {
  font-size: 28px;
  font-weight: 950;
  color: #15495a;
}
.equality-match-demo > div > b {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 16px;
  background: #def2ed;
  color: #0b8c7d;
  font-size: 28px;
}
.equality-match-demo > i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #0b8c7d;
  color: #fff;
  font-size: 30px;
  font-style: normal;
  font-weight: 950;
}
.equality-match-demo > p {
  grid-column: 1/-1;
  margin: 0;
  color: #0d756b;
  font-size: 13px;
  font-weight: 900;
}
.support-equality-pairs {
  display: grid;
  grid-template-columns: 1fr 38px 1fr;
  align-items: center;
  gap: 6px;
}
.support-equality-pairs > span {
  padding: 9px;
  border-radius: 12px;
  background: #eef8f5;
  color: #0b8c7d;
  font-size: 18px;
  letter-spacing: 3px;
}
.support-equality-pairs > span > b {
  color: #ed715d;
}
.support-equality-pairs > i {
  color: #174a5a;
  font-size: 22px;
  font-style: normal;
}
.support-equality-pairs.remove > span:first-child b {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}
.equality-object-equation-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(98%, 620px);
}
.equality-object-equation-stage > section {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 210px;
  padding: 10px;
  border: 3px solid #b9ddd6;
  border-radius: 22px;
  background: #fff;
}
.equality-object-equation-stage > section > b {
  justify-self: center;
  color: #16495a;
  font-size: 25px;
}
.equality-grouped-set {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  width: 100%;
}
.equality-part-group {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding-top: 16px;
}
.equality-part-count {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border-radius: 8px;
  background: #0b8c7d;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}
.equality-part-group.orange .equality-part-count {
  background: #e57a2b;
}
.equality-part-plus {
  flex: 0 0 auto;
  color: #ed715d;
  font-size: 19px;
}
.equality-group-caption {
  display: block;
  margin-top: 4px;
  color: #174a5a;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}
.equality-grouped-set .theme4-object-group {
  grid-template-columns: repeat(3, minmax(25px, 1fr));
  gap: 3px;
}
.equality-grouped-set .theme4-object-group span {
  width: 31px;
  height: 31px;
  border-width: 2px;
  border-radius: 10px;
}
.equality-grouped-set .theme4-object-group img {
  width: 27px;
  height: 27px;
}
.equality-gap-slot {
  position: relative;
}
.equality-gap-slot img {
  opacity: 0;
  transform: translate(30px, -25px) scale(0.45);
}
.equality-gap-slot small {
  position: absolute;
  right: -4px;
  bottom: -5px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #f1b431;
  color: #153f51;
  font-size: 8px;
  font-weight: 950;
}
.equality-gap-group.teacher-demo .equality-gap-slot {
  opacity: 0;
}
.equality-gap-group.teacher-demo .equality-gap-slot img {
  opacity: 1;
  transform: none;
}
.equality-gap-group.answer-revealed .equality-gap-slot img {
  animation: equalityTokenArrive 0.68s calc(var(--motion-index, 0) * 0.12s) both;
}
.equality-gap-group.answer-revealed .equality-gap-slot small {
  opacity: 0;
}
.equality-removal-token {
  outline: 3px dashed #ee715e;
  outline-offset: 1px;
}
.equality-removal-group.answer-revealed .equality-removal-token {
  animation: equalityTokenLeave 0.7s calc(var(--motion-index) * 0.14s) both;
}
.equality-operation-trays {
  position: relative;
  width: min(98%, 620px);
  height: min(46vh, 300px);
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 3px solid #b8ddd6;
  border-radius: 24px;
  background: #eaf7f4;
  box-shadow: 0 11px 24px rgb(25 75 68/13%);
}
.equality-operation-trays > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tray-overlay {
  position: absolute;
  top: 43%;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 43%;
  height: 43%;
  padding: 2px 8px;
}
.tray-overlay.left {
  left: 3%;
}
.tray-overlay.right {
  right: 3%;
}
.tray-overlay > b {
  position: absolute;
  left: 50%;
  bottom: -1px;
  translate: -50% 0;
  min-width: 92px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgb(255 255 255/92%);
  color: #15495a;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}
.tray-overlay .equality-grouped-set {
  gap: 3px;
}
.tray-overlay .equality-part-group {
  padding-top: 12px;
}
.tray-overlay .equality-part-count {
  height: 14px;
  font-size: 8px;
}
.tray-overlay .theme4-object-group {
  grid-template-columns: repeat(5, 24px);
  gap: 2px;
}
.tray-overlay .theme4-object-group span,
.tray-overlay .theme4-object-group i {
  width: 23px;
  height: 23px;
  border-width: 1px;
  border-radius: 7px;
}
.tray-overlay .theme4-object-group img {
  width: 21px;
  height: 21px;
}
.tray-overlay .equality-part-plus {
  font-size: 14px;
}
.tray-equality {
  position: absolute;
  left: 50%;
  top: 58%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #0b8c7d;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 0 0 5px rgb(255 255 255/85%);
}
.equality-tray-instruction,
.equality-tray-question {
  margin: 5px 0 0;
  color: #0d756b;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.equality-tray-question {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.equality-tray-question > * {
  padding: 4px 9px;
  border-radius: 9px;
  background: #fff;
}
.equality-recap-scene {
  position: relative;
  width: min(92%, 470px);
  height: min(23vh, 150px);
  overflow: hidden;
  border: 3px solid #b8ddd6;
  border-radius: 20px;
  background: #fff;
}
.equality-recap-scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.equality-recap-equation {
  position: absolute;
  left: 50%;
  bottom: 7px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 12px;
  background: rgb(255 255 255/94%);
  color: #16495a;
  font-weight: 950;
}
.equality-recap-equation b {
  color: #0b8c7d;
  font-size: 20px;
}
.theme4-finish-board.compact {
  margin-top: 5px;
  padding: 8px;
}
.theme4-finish-board.compact > div {
  min-height: 63px;
}
.interpret-inverse-demo.visual {
  gap: 4px;
  width: min(98%, 610px);
  padding: 9px;
}
.interpret-inverse-demo.visual > div.interpret-inverse-object-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 5px 8px;
}
.interpret-inverse-object-row > .theme4-object-group,
.interpret-inverse-object-row > .equality-grouped-set {
  min-width: 0;
}
.interpret-inverse-object-row .theme4-object-group {
  grid-template-columns: repeat(6, minmax(22px, 1fr));
  gap: 2px;
}
.interpret-inverse-object-row .theme4-object-group span {
  width: 27px;
  height: 27px;
  border-width: 2px;
  border-radius: 9px;
}
.interpret-inverse-object-row .theme4-object-group img {
  width: 24px;
  height: 24px;
}
.interpret-inverse-object-row > b {
  min-width: 92px;
  color: #15495a;
  font-size: 17px !important;
  white-space: nowrap;
}
@keyframes equalitySymbolSet {
  0% {
    opacity: 0.2;
    scale: 0.6;
    rotate: -8deg;
  }
  70% {
    scale: 1.12;
  }
  100% {
    opacity: 1;
    scale: 1;
    rotate: 0;
  }
}
@keyframes equalityCountGlow {
  0%,
  100% {
    filter: none;
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 8px #f2b13e);
    transform: scale(1.08);
  }
}
@keyframes equalityTokenArrive {
  0% {
    opacity: 0;
    transform: translate(45px, -45px) scale(0.35);
  }
  70% {
    opacity: 1;
    transform: translate(0, 0) scale(1.12);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}
@keyframes equalityTokenLeave {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(55px, -40px) scale(0.4);
  }
}
.equality-result-note {
  position: absolute;
  left: 50%;
  top: 14px;
  translate: -50% 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 180px;
  padding: 8px 14px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: rgb(13 139 124/94%);
  color: #fff;
  box-shadow: 0 8px 20px rgb(10 70 62/20%);
  text-align: center;
}
.equality-result-note > b {
  font-size: 21px;
}
.equality-result-note > small {
  font-size: 9px;
  font-weight: 850;
}
.equality-result-note.compact {
  position: static;
  translate: none;
  margin-top: 10px;
  min-width: 190px;
  padding: 7px 12px;
}
.equality-relation-preview {
  font-size: 28px !important;
}
.theme4-symbol-stage {
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  align-items: center;
  gap: 20px;
  width: min(92%, 560px);
}
.theme4-value-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 180px;
  padding: 20px;
  border: 4px solid #b9dcd6;
  border-radius: 28px;
  background: #fff;
  color: #15495a;
  font-size: 32px;
  font-weight: 950;
}
.theme4-value-card b {
  display: grid;
  place-items: center;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #daf3ec;
  color: #087f73;
  font-size: 38px;
}
.theme4-symbol-gap {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 4px dashed #efa328;
  border-radius: 23px;
  background: #fff9e6;
  color: #e97a22;
  font-size: 45px;
  font-weight: 950;
}
.theme4-split-stage,
.theme4-compare-stage,
.theme4-equalize-stage,
.visual-family-split {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 12px;
  width: min(96%, 600px);
}
.theme4-split-stage > section,
.theme4-compare-stage > section,
.theme4-equalize-stage > section,
.visual-family-split > section {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 235px;
  padding: 14px;
  border: 4px solid #c3e1db;
  border-radius: 24px;
  background: #fff;
}
.theme4-split-stage > section > b,
.theme4-compare-stage > section > b,
.theme4-equalize-stage > section > b,
.visual-family-split > section > b {
  justify-self: center;
  color: #174a5a;
  font-size: 27px;
}
.theme4-split-stage > span,
.theme4-compare-stage > span,
.theme4-equalize-stage > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: #0c8d7f;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}
.theme4-object-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(36px, 1fr));
  gap: 7px;
  align-items: center;
  justify-items: center;
}
.theme4-object-group span,
.theme4-object-group i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #9fd2c8;
  border-radius: 15px;
  background: #e5f5f1;
}
.theme4-object-group.orange span {
  border-color: #f1c27b;
  background: #fff2dc;
}
.theme4-object-group i {
  border-style: dashed;
  background: #fff;
}
.theme4-object-group img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.theme4-round-dots {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}
.theme4-round-dots i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c5d9d5;
}
.theme4-round-dots i.current {
  background: #f0a72d;
  box-shadow: 0 0 0 6px rgb(240 167 45/20%);
}
.theme4-round-dots i.done {
  background: #0b8c7d;
}
.theme4-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.theme4-equation > span {
  display: grid;
  place-items: center;
  min-width: 130px;
  min-height: 72px;
  padding: 7px 18px;
  border: 4px solid #b5dad3;
  border-radius: 21px;
  background: #fff;
  color: #153f51;
  font-size: 29px;
  font-weight: 950;
}
.theme4-equation > b {
  color: #ed715d;
  font-size: 31px;
}
.theme4-equation-balance,
.interpret-inverse-stage,
.theme4-mastery-card,
.fact-family-builder,
.interpret-problem-card,
.theme4-assessment-card {
  display: grid;
  place-items: center;
  gap: 18px;
  width: min(92%, 560px);
  padding: 28px;
  border: 4px solid #b9ddd6;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 13px 29px rgb(25 75 68/13%);
}
.theme4-value-path {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.theme4-value-path span {
  padding: 10px 15px;
  border-radius: 14px;
  background: #e1f3ef;
  color: #0b776c;
  font-weight: 900;
}
.theme4-value-path i {
  color: #ee765f;
  font-size: 24px;
  font-style: normal;
}
.theme4-domino-card {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  width: min(90vw, 520px);
  overflow: hidden;
  border: 5px solid #b6dad4;
  border-radius: 28px;
  background: #fff;
}
.theme4-domino-card span {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: #15495a;
  font-size: 32px;
  font-weight: 950;
}
.theme4-domino-card b {
  display: grid;
  place-items: center;
  height: 100%;
  background: #0c8c7f;
  color: #fff;
  font-size: 36px;
}
.theme4-mastery-card > span,
.fact-family-builder > span,
.interpret-problem-card > span,
.theme4-assessment-card > span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e0f2ee;
  color: #0c766c;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.theme4-mastery-card .theme4-equation {
  width: 100%;
}
.theme4-finish-board {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: center;
  gap: 7px;
  width: min(94%, 620px);
  padding: 25px;
  border-radius: 28px;
  background: #fff;
}
.theme4-finish-board > div {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 120px;
  padding: 12px;
  border-radius: 20px;
  background: #e5f5f1;
  color: #0c766c;
  text-align: center;
}
.theme4-finish-board > div > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fff;
  color: #ed7a25;
  font-size: 30px;
  font-weight: 950;
}
.theme4-finish-board > div > b {
  font-size: 11px;
}
.theme4-finish-board > i {
  color: #ef765e;
  font-size: 25px;
  font-style: normal;
}
.theme4-finish-board > h1,
.theme4-finish-board > p {
  grid-column: 1/-1;
  margin: 8px 0 0;
  text-align: center;
  color: #153f51;
}
.theme4-finish-board > h1 {
  font-size: 24px;
}
.theme4-finish-board > p {
  font-weight: 850;
}
.theme4-finish-board > p strong {
  color: #0b8c7d;
  font-size: 22px;
}
.interpret-count-stage {
  display: grid;
  place-items: center;
  gap: 35px;
  width: min(96%, 610px);
}
.interpret-count-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}
.interpret-count-path button {
  display: grid;
  place-items: center;
  width: 66px;
  height: 76px;
  border: 4px solid #c4ded9;
  border-radius: 20px;
  background: #fff;
  color: #15495a;
}
.interpret-count-path button.current {
  border-color: #f0a528;
  background: #fff7dc;
  box-shadow: 0 0 0 8px rgb(240 165 40/20%);
  animation: mentalSubtractionGuide 1s ease-in-out infinite;
}
.interpret-count-path button.done {
  border-color: #0c8c7f;
  background: #dcf3ed;
}
.interpret-count-path button b {
  font-size: 24px;
}
.interpret-count-path button small {
  font-weight: 900;
}
.interpret-count-path i {
  color: #ed715d;
  font-style: normal;
  font-size: 18px;
}
.interpret-count-result {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 950;
  color: #15495a;
}
.interpret-count-result b {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: #0c8c7f;
  color: #fff;
}
.interpret-story-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}
.interpret-story-strip > span {
  display: grid;
  place-items: center;
  min-width: 120px;
  min-height: 105px;
  padding: 9px;
  border: 4px solid #b9dcd6;
  border-radius: 22px;
  background: #fff;
}
.interpret-story-strip small {
  color: #55827d;
  font-size: 9px;
  font-weight: 950;
}
.interpret-story-strip b {
  color: #15495a;
  font-size: 34px;
}
.interpret-story-strip i {
  color: #ee715d;
  font-size: 26px;
  font-style: normal;
}
.interpret-inverse-stage > p {
  margin: 0;
  color: #0d796e;
  font-weight: 900;
}
.fact-family-lesson {
  display: grid;
  grid-template-rows: minmax(0, 1.25fr) auto;
  gap: 10px;
  width: min(96%, 520px);
  height: min(96%, 390px);
}
.fact-family-scene {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.fact-family-scene > img {
  object-position: center;
}
.fact-family-ring {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.fact-family-ring span {
  display: grid;
  place-items: center;
  min-height: 43px;
  border: 3px solid #b9dcd6;
  border-radius: 14px;
  background: #fff;
  color: #15495a;
  font-size: 17px;
  font-weight: 950;
}
.fact-family-builder > b {
  font-size: 30px;
  color: #0b8c7d;
}
.visual-family-split {
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.visual-family-split > strong {
  position: absolute;
  left: 50%;
  bottom: -55px;
  translate: -50% 0;
  padding: 8px 14px;
  border-radius: 13px;
  background: #0b8c7d;
  color: #fff;
}
.tray-total {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 15px;
  border: 4px solid #fff;
  border-radius: 17px;
  background: rgb(244 253 250/95%);
  color: #15495a;
  font-weight: 950;
}
.tray-total b {
  color: #0b8c7d;
}
.interpret-problem-card > p {
  margin: 0;
  color: #15495a;
  font-size: 22px;
  font-weight: 850;
  text-align: center;
}
.theme4-assessment-card > img {
  width: min(100%, 260px);
  height: 185px;
  border-radius: 18px;
  object-fit: cover;
}
.theme4-assessment-card .theme4-equation {
  width: 100%;
}
.assessment-route {
  position: absolute;
  left: 50%;
  bottom: 15px;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  padding: 9px 13px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: rgb(244 253 250/95%);
}
.assessment-route > * {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  color: #0b8c7d;
  font-size: 25px;
  font-style: normal;
  font-weight: 950;
}
.assessment-finish {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 760px), (max-height: 760px) {
  .theme4-final-board {
    width: min(100%, 520px) !important;
    height: min(100%, 430px) !important;
    padding: 11px;
  }
  .theme4-final-footer-main {
    flex-basis: 190px;
  }
  .theme4-final-choices {
    gap: 4px;
  }
  .theme4-final-choices button {
    min-width: 67px;
    min-height: 48px;
    padding: 4px 8px;
    border-width: 2px;
  }
  .theme4-final-choices button > b {
    font-size: 15px;
  }
  .theme4-scene-card {
    width: min(90%, 350px);
    height: min(92%, 350px);
    border-radius: 18px;
  }
  .theme4-scene-equations {
    bottom: 7px;
    padding: 5px 7px;
    border-width: 3px;
  }
  .theme4-scene-equations span,
  .theme4-scene-equations b {
    min-width: 38px;
    height: 36px;
    font-size: 17px;
  }
  .theme4-symbol-stage {
    grid-template-columns: 1fr 58px 1fr;
    gap: 8px;
  }
  .theme4-value-card {
    min-height: 115px;
    padding: 10px;
    border-width: 3px;
    font-size: 23px;
  }
  .theme4-value-card b {
    width: 52px;
    height: 52px;
    font-size: 27px;
  }
  .theme4-symbol-gap {
    width: 55px;
    height: 55px;
    font-size: 31px;
  }
  .theme4-split-stage,
  .theme4-compare-stage,
  .theme4-equalize-stage,
  .visual-family-split {
    width: 100%;
    min-width: 0;
  }
  .theme4-split-stage,
  .theme4-compare-stage,
  .theme4-equalize-stage {
    grid-template-columns: minmax(0, 1fr) 43px minmax(0, 1fr);
    gap: 5px;
  }
  .theme4-split-stage > section,
  .theme4-compare-stage > section,
  .theme4-equalize-stage > section,
  .visual-family-split > section {
    min-width: 0;
    min-height: 150px;
    padding: 7px;
    border-width: 3px;
    overflow: hidden;
  }
  .theme4-object-group {
    gap: 3px;
  }
  .theme4-object-group span,
  .theme4-object-group i {
    width: 32px;
    height: 32px;
    border-width: 2px;
  }
  .theme4-object-group img {
    width: 29px;
    height: 29px;
  }
  .theme4-split-stage > span,
  .theme4-compare-stage > span,
  .theme4-equalize-stage > span {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .theme4-equation-balance,
  .interpret-inverse-stage,
  .theme4-mastery-card,
  .fact-family-builder,
  .interpret-problem-card,
  .theme4-assessment-card {
    gap: 9px;
    width: min(94%, 430px);
    padding: 13px;
    border-width: 3px;
  }
  .theme4-equation {
    gap: 7px;
  }
  .theme4-equation > span {
    min-width: 85px;
    min-height: 49px;
    padding: 4px 9px;
    border-width: 3px;
    font-size: 21px;
  }
  .theme4-equation > b {
    font-size: 24px;
  }
  .theme4-value-path {
    margin-top: 10px;
  }
  .theme4-value-path span {
    padding: 6px 9px;
    font-size: 12px;
  }
  .theme4-domino-card {
    width: min(94%, 410px);
    grid-template-columns: 1fr 45px 1fr;
  }
  .theme4-domino-card span {
    min-height: 98px;
    font-size: 23px;
  }
  .theme4-finish-board {
    grid-template-columns: 1fr 23px 1fr 23px 1fr;
    padding: 12px;
  }
  .theme4-finish-board > div {
    min-height: 75px;
    padding: 7px;
  }
  .theme4-finish-board > div > span {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
  .theme4-finish-board > h1 {
    font-size: 17px;
  }
  .interpret-count-stage {
    gap: 18px;
    width: 100%;
  }
  .interpret-count-path {
    gap: 2px;
  }
  .interpret-count-path button {
    width: 40px;
    height: 55px;
    border-width: 3px;
  }
  .interpret-count-path button b {
    font-size: 18px;
  }
  .interpret-count-path i {
    font-size: 10px;
  }
  .interpret-count-result {
    font-size: 22px;
  }
  .interpret-count-result b {
    width: 49px;
    height: 49px;
  }
  .interpret-story-strip {
    gap: 4px;
    margin-bottom: 10px;
  }
  .interpret-story-strip > span {
    min-width: 79px;
    min-height: 74px;
    border-width: 3px;
  }
  .interpret-story-strip b {
    font-size: 24px;
  }
  .fact-family-lesson {
    height: min(96%, 390px);
  }
  .fact-family-ring {
    gap: 4px;
  }
  .fact-family-ring span {
    min-height: 39px;
    border-width: 2px;
    font-size: 14px;
  }
  .visual-family-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .visual-family-split > strong {
    bottom: -35px;
    font-size: 11px;
  }
  .theme4-assessment-card > img {
    width: 180px;
    height: 105px;
  }
  .assessment-finish {
    grid-template-columns: repeat(4, 1fr);
  }
  .assessment-finish > div {
    min-height: 68px;
  }
  .assessment-finish > div > span {
    width: 34px;
    height: 34px;
  }
  .lesson-footer:has(.theme4-final-choices button:nth-child(3))
    .theme4-final-footer-main {
    flex-basis: 100%;
  }
  .lesson-footer:has(.theme4-final-choices button:nth-child(3))
    .theme4-final-choices {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .lesson-footer:has(.theme4-final-choices button:nth-child(3))
    .theme4-final-choices
    button {
    min-width: 0;
    padding-inline: 6px;
  }
  .lesson-footer:has(.theme4-final-choices button:nth-child(3))
    .theme4-final-choices
    button
    > b {
    font-size: 14px;
  }
  .theme4-final-choices.symbol-only-choices button > b {
    font-size: 30px !important;
  }
  .theme4-final-choices.equality-relation-choices button {
    min-height: 58px;
  }
  .theme4-final-choices.equality-relation-choices button > strong {
    width: 34px;
    height: 30px;
    font-size: 23px;
  }
  .theme4-final-choices.equality-relation-choices button > b {
    font-size: 13px;
  }
  .theme4-final-choices.equality-relation-choices button > small {
    font-size: 8px;
  }
  .equality-balance-values {
    bottom: 7px;
    grid-template-columns: minmax(86px, 1fr) 38px minmax(86px, 1fr);
    gap: 4px;
    padding: 5px;
    border-width: 3px;
  }
  .equality-balance-values > span {
    grid-template-columns: 1fr 34px;
    min-height: 39px;
    padding: 3px 5px;
    font-size: 14px;
  }
  .equality-balance-values > span > b {
    width: 31px;
    height: 31px;
    font-size: 17px;
  }
  .equality-balance-values > strong {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
  .equality-demo-caption {
    left: 8px;
    top: 8px;
    padding: 5px 7px;
    border-width: 2px;
  }
  .equality-result-note {
    top: 8px;
    min-width: 150px;
    padding: 5px 9px;
  }
  .equality-result-note > b {
    font-size: 17px;
  }
  .equality-result-note.compact {
    margin-top: 5px;
    padding: 4px 8px;
  }
  .equality-result-note.compact > b {
    font-size: 16px;
  }
}

/* 18. ders · Zihinden çıkarma: bağımsız çocuk için tam öğretmen döngüsü pilotu. */
.mental-subtraction-host {
  background: linear-gradient(145deg, #eef8f5, #dcefeb);
  border-color: #b5d9d1;
  overflow: hidden;
}
.mental-subtraction-host > .mental-subtraction-board {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
}
.mental-subtraction-board {
  gap: clamp(7px, 1.5vh, 14px);
  padding: clamp(18px, 2.6vw, 30px);
  background: linear-gradient(155deg, #f2faf8 0%, #dcefeb 100%);
}
.mental-subtraction-equation i:first-of-type {
  color: #e96e58;
}
.mental-subtraction-footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 320px;
  min-width: 0;
}
.mental-subtraction-footer-main > .student-prompt {
  justify-items: center;
  text-align: center;
}
.mental-subtraction-support {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}
.mental-subtraction-support button {
  display: grid;
  grid-template-columns: 30px auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 100px;
  min-height: 54px;
  padding: 7px 10px;
  border: 2px solid #a9d4cc;
  border-radius: 15px;
  background: #fff;
  color: #164b55;
  cursor: pointer;
  text-align: left;
}
.mental-subtraction-support button > span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #e2f3ef;
  font-size: 16px;
}
.mental-subtraction-support button > b {
  font-size: 11px;
}
.mental-subtraction-support button > small {
  font-size: 8px;
  color: #4a7a75;
  font-weight: 800;
}
.mental-subtraction-support button:is(:hover, :focus-visible) {
  border-color: #f2ad20;
  outline: 3px solid rgb(242 173 32/22%);
  outline-offset: 2px;
  background: #fffaf0;
}
.mental-subtraction-board .mental-idle-target,
.lesson-footer .mental-idle-target {
  outline: 4px solid #f2ad20 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 8px rgb(242 173 32/24%) !important;
  animation: mentalSubtractionGuide 1.1s ease-in-out infinite;
}
.mental-subtraction-board .mental-together-target,
.lesson-footer .mental-together-target {
  outline: 5px solid #ed841f !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 11px rgb(237 132 31/25%) !important;
  animation: mentalSubtractionGuide 0.72s ease-in-out infinite;
}
@keyframes mentalSubtractionGuide {
  50% {
    filter: brightness(1.08);
    box-shadow: 0 0 0 12px rgb(242 173 32/17%);
  }
}
.mental-subtraction-board button:not([disabled]) {
  transition:
    outline-color 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    transform 0.16s ease,
    background-color 0.16s ease;
}
.mental-subtraction-board button:not([disabled]):is(:hover, :focus-visible) {
  outline: 4px solid #f2ad20;
  outline-offset: 3px;
  box-shadow:
    0 0 0 8px rgb(242 173 32/24%),
    0 10px 24px rgb(120 77 0/18%) !important;
  filter: brightness(1.06);
}
.mental-subtraction-board .correct-cell,
.lesson-footer .correct-cell {
  border-color: #e99c14 !important;
  outline: 4px solid #f2ad20 !important;
  outline-offset: 3px;
  background: #fff7da !important;
  box-shadow: 0 0 0 8px rgb(242 173 32/22%) !important;
}
.mental-subtraction-scene {
  position: relative;
  flex: 0 1 293px;
  width: min(92%, 520px);
  height: 293px;
  min-height: 0;
  margin-top: 8px;
  border-radius: 24px;
  overflow: hidden;
  background: #d6ebe6;
  box-shadow: 0 14px 30px rgb(24 71 65/18%);
}
.mental-subtraction-scene > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mental-scene-count {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 7px;
  padding: 7px 10px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: rgb(255 255 255/92%);
  color: #0a7469;
  box-shadow: 0 5px 14px rgb(27 68 61/18%);
}
.mental-scene-count small {
  grid-column: 1/-1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.mental-scene-count b {
  font-size: 24px;
}
.mental-scene-count i {
  font-style: normal;
  color: #e96e58;
  font-size: 18px;
  font-weight: 900;
}
.mental-bike-layers {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}
.mental-bike-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  transform-origin: 62% 62%;
}
.mental-bike-layer.departing.rented {
  animation: mentalBikeLayerLeave 0.9s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}
.mental-bike-ready-hit {
  position: absolute;
  left: 32.2%;
  top: 48%;
  display: grid;
  place-items: center;
  width: 8.8%;
  height: 25%;
  padding: 0;
  border: 3px solid #f2ad20;
  border-radius: 18px;
  background: rgb(255 247 218/12%);
  color: #8c5600;
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    0 0 0 7px rgb(242 173 32/24%),
    0 8px 16px rgb(44 68 61/20%);
  animation: mentalBikeReady 1.05s ease-in-out infinite;
}
.mental-bike-ready-hit span {
  position: absolute;
  right: -12px;
  bottom: -13px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fff7da;
  font-size: 17px;
  box-shadow: 0 3px 9px rgb(58 63 43/22%);
}
@keyframes mentalBikeReady {
  50% {
    box-shadow:
      0 0 0 12px rgb(242 173 32/14%),
      0 8px 16px rgb(44 68 61/20%);
    filter: brightness(1.08);
  }
}
@keyframes mentalBikeLayerLeave {
  to {
    transform: translate(48%, -4%) scale(0.86);
    opacity: 0;
  }
}
.mental-subtraction-discover-board > .mental-addition-equation {
  margin: 0;
}
.mental-subtraction-number-line {
  width: min(96%, 590px);
  margin-top: 34px;
}
.mental-subtraction-number-line .mental-held-label {
  left: auto;
  right: 10px;
}
.mental-subtraction-split-cards {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(100%, 560px);
}
.mental-subtraction-split-cards button {
  display: grid;
  grid-template-columns: 42px 20px 42px 18px 42px;
  place-items: center;
  min-height: 72px;
  padding: 8px;
  border: 3px solid #acd7cf;
  border-radius: 17px;
  background: #fff;
  color: #164a55;
  cursor: pointer;
}
.mental-subtraction-split-cards span,
.mental-subtraction-split-cards b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e1f3ef;
  font-size: 20px;
}
.mental-subtraction-split-cards i,
.mental-subtraction-split-cards em {
  font-style: normal;
  color: #e96e58;
  font-size: 18px;
  font-weight: 900;
}
.mental-subtraction-object-image {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-top: 12px;
  filter: drop-shadow(0 9px 8px rgb(25 65 59/15%));
}
.mental-subtraction-ten-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 520px);
}
.mental-subtraction-ten-path span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 4px solid #acd7cf;
  border-radius: 50%;
  background: #fff;
  color: #164b56;
  font-size: 29px;
  font-weight: 900;
}
.mental-subtraction-ten-path span.start,
.mental-subtraction-ten-path span.done {
  border-color: #1ba58f;
  background: #ddf5ef;
}
.mental-subtraction-ten-path span.current {
  border-color: #f2ad20;
  box-shadow: 0 0 0 8px rgb(242 173 32/22%);
}
.mental-subtraction-ten-path i {
  font-style: normal;
  color: #e96e58;
  font-size: 21px;
  font-weight: 900;
}
.mental-subtraction-split-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 13px;
  background: #fff;
  color: #174b55;
}
.mental-subtraction-split-badge small {
  font-size: 9px;
  font-weight: 900;
}
.mental-subtraction-split-badge b {
  font-size: 20px;
  color: #0a7a6e;
}
.mental-subtraction-step-button {
  display: grid;
  grid-template-columns: auto 34px 48px;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 7px 10px 7px 16px;
  border: 3px solid #9fd2c9;
  border-radius: 17px;
  background: #fff;
  color: #174b55;
  cursor: pointer;
  box-shadow: 0 8px 18px rgb(28 69 63/12%);
}
.mental-subtraction-step-button b {
  font-size: 20px;
}
.mental-subtraction-step-button span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e5f4f0;
  color: #e96e58;
  font-size: 20px;
  font-weight: 900;
}
.mental-subtraction-step-button strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 42px;
  border-radius: 12px;
  background: #dff5ef;
  color: #087d70;
  font-size: 23px;
}
.mental-subtraction-two-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mental-subtraction-two-step span {
  padding: 10px 16px;
  border: 3px solid #a9d5cd;
  border-radius: 15px;
  background: #fff;
  color: #174757;
  font-size: 20px;
  font-weight: 900;
}
.mental-subtraction-two-step i {
  font-style: normal;
  color: #e96e58;
  font-size: 24px;
}
.mental-subtraction-method-cards,
.mental-subtraction-method-mini {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mental-subtraction-method-cards button,
.mental-subtraction-method-mini button {
  display: grid;
  place-items: center;
  min-width: 160px;
  min-height: 126px;
  padding: 12px;
  border: 3px solid #a9d5cd;
  border-radius: 19px;
  background: #fff;
  color: #174856;
  cursor: pointer;
}
.mental-subtraction-method-cards button > span,
.mental-subtraction-method-mini button > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ddf2ed;
  color: #087c70;
  font-size: 25px;
  font-weight: 900;
}
.mental-subtraction-method-cards b {
  font-size: 16px;
}
.mental-subtraction-method-cards small {
  font-size: 9px;
  color: #477b75;
  font-weight: 800;
}
.mental-subtraction-method-mini button {
  grid-template-columns: 42px auto;
  min-width: 135px;
  min-height: 58px;
}
.mental-subtraction-method-mini button > span {
  width: 38px;
  height: 38px;
  font-size: 20px;
}
.mental-subtraction-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  width: min(100%, 600px);
  margin: 12px 0;
}
.mental-subtraction-chain span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 4px solid #bddbd5;
  border-radius: 50%;
  background: #fff;
  color: #174854;
  font-size: 24px;
  font-weight: 900;
}
.mental-subtraction-chain span.done {
  border-color: #1ca58f;
  background: #dff6ef;
}
.mental-subtraction-chain span.current {
  border-color: #f2ad20;
  box-shadow: 0 0 0 7px rgb(242 173 32/22%);
}
.mental-subtraction-chain i {
  font-style: normal;
  color: #e96e58;
  font-size: 18px;
  font-weight: 900;
}
.mental-story-scene {
  position: relative;
  flex: 0 1 270px;
  width: min(86%, 460px);
  height: 270px;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 13px 27px rgb(25 66 60/18%);
}
.mental-story-scene > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mental-story-scene > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 14px;
  background: rgb(255 255 255/92%);
}
.mental-story-scene b,
.mental-story-scene strong {
  font-size: 25px;
  color: #08796d;
}
.mental-story-scene i {
  font-style: normal;
  color: #e96e58;
  font-size: 19px;
  font-weight: 900;
}
.mental-marathon-board > img,
.mental-mastery-board > img {
  width: 110px;
  height: 110px;
  margin-top: 12px;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px rgb(28 65 59/16%));
}
.mental-mastery-progress {
  display: flex;
  gap: 10px;
}
.mental-mastery-progress span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid #b4d8d1;
  border-radius: 50%;
  background: #fff;
  color: #42746f;
  font-weight: 900;
}
.mental-mastery-progress span.current {
  border-color: #f2ad20;
  box-shadow: 0 0 0 6px rgb(242 173 32/20%);
}
.mental-mastery-progress span.done {
  border-color: #1aa58e;
  background: #def5ee;
  color: #08796d;
}
.mental-mastery-summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 10px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff;
}
.mental-mastery-summary b {
  font-size: 24px;
  color: #08796d;
}
.mental-mastery-summary span {
  font-size: 11px;
  font-weight: 900;
  color: #3c726c;
}

@media (max-width: 760px), (max-height: 760px) {
  .mental-subtraction-board {
    gap: 5px;
    padding: 11px;
  }
  .mental-subtraction-scene {
    flex-basis: 242px;
    width: min(85%, 430px);
    height: 242px;
    min-height: 0;
    margin-top: 9px;
  }
  .mental-scene-count {
    right: 7px;
    top: 7px;
    padding: 4px 7px;
  }
  .mental-scene-count b {
    font-size: 19px;
  }
  .mental-subtraction-number-line {
    margin-top: 22px;
  }
  .mental-subtraction-object-image {
    width: 62px;
    height: 62px;
  }
  .mental-subtraction-split-cards {
    gap: 6px;
  }
  .mental-subtraction-split-cards button {
    grid-template-columns: 33px 14px 33px 14px 33px;
    min-height: 54px;
    padding: 5px;
    border-width: 2px;
  }
  .mental-subtraction-split-cards span,
  .mental-subtraction-split-cards b {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .mental-subtraction-ten-path span {
    width: 50px;
    height: 50px;
    border-width: 3px;
    font-size: 22px;
  }
  .mental-subtraction-two-step span {
    padding: 7px 10px;
    border-width: 2px;
    font-size: 16px;
  }
  .mental-subtraction-method-cards button {
    min-width: 125px;
    min-height: 94px;
    padding: 7px;
  }
  .mental-subtraction-method-cards button > span {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .mental-subtraction-chain {
    margin: 5px 0;
  }
  .mental-subtraction-chain span {
    width: 44px;
    height: 44px;
    border-width: 3px;
    font-size: 18px;
  }
  .mental-story-scene {
    flex-basis: 205px;
    width: min(80%, 400px);
    height: 205px;
    min-height: 0;
  }
  .mental-marathon-board > img,
  .mental-mastery-board > img {
    width: 72px;
    height: 72px;
  }
  .mental-subtraction-footer-main {
    flex: 1 1 212px;
  }
  .mental-subtraction-footer-main .mental-addition-choices {
    gap: 4px;
  }
  .mental-subtraction-footer-main .mental-addition-choices button {
    grid-template-columns: 22px auto;
    min-width: 68px;
    width: 68px;
    min-height: 54px;
    padding: 4px;
    border-width: 2px;
  }
  .mental-subtraction-footer-main .mental-addition-choices button > span {
    width: 21px;
    height: 26px;
  }
  .mental-subtraction-footer-main .mental-addition-choices button b {
    font-size: 18px;
  }
  .mental-subtraction-footer-main .mental-addition-choices button small {
    font-size: 7px;
  }
  .mental-subtraction-support {
    flex: 0 0 auto;
    gap: 5px;
  }
  .mental-subtraction-support button {
    grid-template-columns: 25px auto;
    min-width: 78px;
    min-height: 46px;
    padding: 5px 7px;
  }
  .mental-subtraction-support button > span {
    width: 24px;
    height: 24px;
  }
  .mental-subtraction-support button > b {
    font-size: 9px;
  }
  .mental-subtraction-support button > small {
    font-size: 7px;
  }
  .mental-subtraction-finish-board {
    gap: 5px;
    padding: 8px 11px;
  }
  .mental-subtraction-finish-board .mental-finish-flow {
    gap: 5px;
  }
  .mental-subtraction-finish-board .mental-finish-flow span {
    min-height: 45px;
    padding: 5px;
  }
  .mental-subtraction-finish-board .mental-finish-flow i {
    width: 30px;
    height: 30px;
  }
  .mental-subtraction-finish-board h1 {
    margin: 5px auto 0;
    font-size: 17px;
    line-height: 1.2;
  }
  .mental-subtraction-finish-board .mental-mastery-summary {
    margin-top: 4px;
    padding: 5px 10px;
  }
  .mental-subtraction-finish-board .mental-mastery-summary b {
    font-size: 19px;
  }
}

/* 16. ders · Zihinden toplama: pano bütünüyle dolu, PNG nesneler yüzeye oturur. */
.mental-addition-host {
  background: #eaf5f2;
  border-color: #b9d9d2;
  overflow: hidden;
}
.mental-addition-board {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 24px;
  background: linear-gradient(155deg, #f1faf7 0%, #dff1ed 100%);
  overflow: hidden;
}
.mental-addition-board .board-kicker {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #0a6f65;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgb(32 91 81/12%);
}
.mental-addition-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 16px;
}
.mental-addition-equation b,
.mental-addition-equation strong {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 68px;
  border: 3px solid #b8dcd5;
  border-radius: 18px;
  background: #fff;
  color: #123f53;
  font-size: 34px;
  box-shadow: 0 8px 20px rgb(25 72 65/10%);
}
.mental-addition-equation strong {
  border-color: #38ad99;
  color: #087769;
}
.mental-addition-equation i {
  font-style: normal;
  color: #ed765e;
  font-size: 30px;
  font-weight: 900;
}
.mental-addition-choices {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.mental-addition-choices button {
  display: grid;
  grid-template-columns: 44px auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 128px;
  min-height: 72px;
  padding: 9px 15px;
  border: 3px solid #add8d0;
  border-radius: 18px;
  background: #fff;
  color: #133f52;
  text-align: left;
  cursor: pointer;
}
.mental-addition-choices button > span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e4f4f0;
  color: #098576;
  font-size: 20px;
}
.mental-addition-choices button b {
  font-size: 27px;
}
.mental-addition-choices button small {
  font-size: 10px;
  color: #34736c;
  font-weight: 800;
}
.mental-space-scene {
  width: min(72%, 390px);
  height: 240px;
  margin-top: 8px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgb(23 61 61/18%);
}
.mental-space-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mental-hold-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.mental-hold-choice > i {
  font-style: normal;
  color: #ed765e;
  font-size: 30px;
  font-weight: 900;
}
.mental-hold-choice button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 10px;
  min-width: 145px;
  padding: 10px 14px;
  border: 3px solid #aad8d0;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}
.mental-hold-choice small {
  font-size: 8px;
  color: #488079;
}
.mental-hold-choice b {
  grid-row: 1/3;
  font-size: 34px;
  color: #0b756b;
}
.mental-hold-choice span {
  font-size: 10px;
  font-weight: 800;
  color: #224f54;
}
.mental-number-line {
  position: relative;
  width: min(94%, 560px);
  margin: 45px auto 10px;
  padding: 30px 12px 10px;
}
.mental-number-track {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.mental-number-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 19px;
  height: 6px;
  border-radius: 9px;
  background: #9bcfc6;
}
.mental-number-track button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  background: transparent;
  color: #174757;
  cursor: pointer;
}
.mental-number-track button i {
  position: absolute;
  top: 8px;
  width: 24px;
  height: 24px;
  border: 5px solid #8dc9bf;
  border-radius: 50%;
  background: #fff;
}
.mental-number-track button b {
  position: absolute;
  top: 39px;
  font-size: 19px;
}
.mental-number-track button.held i,
.mental-number-track button.done i {
  border-color: #128f80;
  background: #a9e8dc;
}
.mental-number-track button.next i {
  border-color: #f2ad20;
  background: #fff4c8;
  box-shadow: 0 0 0 8px rgb(242 173 32/24%);
  animation: mentalPulse 1s infinite;
}
.mental-held-label {
  position: absolute;
  left: 10px;
  top: -8px;
  padding: 6px 10px;
  border-radius: 11px;
  background: #0b776c;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.mental-held-label b {
  font-size: 18px;
}
@keyframes mentalPulse {
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 12px rgb(242 173 32/12%);
  }
}
.mental-ten-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 36px minmax(150px, 0.7fr);
  align-items: center;
  gap: 8px;
  width: min(100%, 560px);
}
.mental-ten-frame {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 8px;
  border: 5px solid #188f80;
  border-radius: 17px;
  background: #fff;
}
.mental-ten-frame > span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px dashed #afd4cd;
  border-radius: 10px;
  background: #f5fbfa;
}
.mental-ten-frame img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.mental-ten-frame .arrived {
  background: #fff2bf;
  border-color: #eda61d;
  animation: mentalArrive 0.38s ease-out;
}
.mental-transfer-arrow {
  font-style: normal;
  color: #ed765e;
  font-size: 30px;
  font-weight: 900;
}
.mental-loose-objects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 7px;
  border-radius: 16px;
  background: #fff8df;
}
.mental-loose-objects button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 45px;
  height: 62px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.mental-loose-objects button.next {
  border-color: #f2ad20;
  box-shadow: 0 0 0 7px rgb(242 173 32/22%);
}
.mental-loose-objects button.moved {
  visibility: hidden;
}
.mental-loose-objects img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mental-loose-objects i {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #087d70;
  color: #fff;
  font-size: 9px;
  font-style: normal;
}
.mental-split {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 7px 16px;
  border-radius: 14px;
  background: #fff;
  color: #144a55;
}
.mental-split span,
.mental-split b {
  font-size: 22px;
}
.mental-split i {
  font-style: normal;
  color: #ed765e;
  font-size: 24px;
}
@keyframes mentalArrive {
  from {
    transform: translateX(80px) scale(0.7);
    opacity: 0.2;
  }
}
.mental-helmet-groups {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  align-items: center;
  gap: 8px;
  width: min(100%, 520px);
}
.mental-helmet-groups > div {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  min-height: 160px;
  padding: 20px 12px 10px;
  border: 4px solid #a8d7cf;
  border-radius: 20px;
  background: #fff;
}
.mental-helmet-groups > div > span {
  position: absolute;
  left: 8px;
  top: 5px;
  color: #087b6e;
  font-size: 20px;
  font-weight: 900;
}
.mental-helmet-groups > i {
  font-style: normal;
  color: #ed765e;
  font-size: 28px;
  font-weight: 900;
}
.mental-helmet-groups img {
  width: 100%;
  height: 40px;
  object-fit: contain;
}
.mental-helmet-groups img.remainder {
  filter: hue-rotate(105deg);
  transform: translateX(4px);
}
.mental-decompose-cards,
.mental-method-cards {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.mental-decompose-cards button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 126px;
  padding: 11px;
  border: 3px solid #add8d0;
  border-radius: 15px;
  background: #fff;
  color: #154752;
  cursor: pointer;
}
.mental-decompose-cards span,
.mental-decompose-cards b {
  font-size: 17px;
}
.mental-decompose-cards i {
  font-style: normal;
  color: #ed765e;
}
.mental-equal-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 15px;
  background: #fff;
}
.mental-equal-result b,
.mental-equal-result strong {
  color: #0b756b;
  font-size: 19px;
}
.mental-equal-result i {
  font-style: normal;
  color: #ed765e;
}
.mental-place-value {
  display: grid;
  grid-template-columns: 170px 30px 1fr;
  align-items: stretch;
  gap: 10px;
  width: min(100%, 540px);
}
.mental-place-value > i {
  align-self: center;
  font-style: normal;
  color: #ed765e;
  font-size: 30px;
  font-weight: 900;
}
.ten-block,
.ones-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #9fd3ca;
  border-radius: 22px;
  background: #fff;
  padding: 10px;
}
.ten-block small,
.ones-block small {
  color: #397a73;
  font-size: 9px;
  font-weight: 900;
}
.ten-block b {
  font-size: 36px;
  color: #0b776c;
}
.ten-block img {
  width: 100px;
  height: 90px;
  object-fit: contain;
}
.ones-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.ones-block small,
.ones-block > span {
  grid-column: 1/-1;
  text-align: center;
}
.ones-block > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.ones-block > span b,
.ones-block > span strong {
  font-size: 23px;
  color: #144a55;
}
.ones-block > span i {
  font-style: normal;
  color: #ed765e;
}
.ones-block > img {
  width: 44px;
  height: 36px;
  object-fit: contain;
}
.mental-method-equation {
  display: grid;
  place-items: center;
  min-width: 180px;
  min-height: 82px;
  border: 4px solid #2ba795;
  border-radius: 22px;
  background: #fff;
  color: #154758;
  font-size: 40px;
  font-weight: 900;
}
.mental-method-cards button {
  display: grid;
  grid-template-rows: 48px auto auto;
  place-items: center;
  width: 145px;
  min-height: 130px;
  padding: 10px;
  border: 3px solid #acd7cf;
  border-radius: 19px;
  background: #fff;
  color: #174653;
  cursor: pointer;
}
.mental-method-cards button > span {
  font-size: 24px;
  color: #0b7f72;
  font-weight: 900;
}
.mental-method-cards button > b {
  font-size: 15px;
}
.mental-method-cards button > small {
  font-size: 9px;
  color: #447a74;
}
.mental-round-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.mental-round-dots i {
  width: 28px;
  height: 7px;
  border-radius: 9px;
  background: #bdd8d3;
}
.mental-round-dots i.current {
  background: #f2ad20;
}
.mental-round-dots i.done {
  background: #1aa28e;
}
.mental-method-summary {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mental-method-summary span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 3px solid #9fd5ca;
  border-radius: 16px;
  background: #fff;
  color: #164957;
}
.mental-method-summary i {
  color: #087d70;
  font-style: normal;
  font-weight: 900;
}
.mental-method-summary b {
  font-size: 12px;
}
.mental-mission-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92%, 520px);
  height: 190px;
  margin: 20px auto;
}
.mental-mission-route::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 12%;
  top: 91px;
  height: 8px;
  border-radius: 9px;
  background: repeating-linear-gradient(
    90deg,
    #82c8bd 0 24px,
    transparent 24px 34px
  );
}
.mental-mission-route > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 6px solid #abd8d0;
  border-radius: 50%;
  background: #fff;
  color: #174a57;
}
.mental-mission-route > span.current {
  border-color: #f2ad20;
  box-shadow: 0 0 0 9px rgb(242 173 32/20%);
}
.mental-mission-route > span.done {
  border-color: #24a58f;
  background: #dff7ed;
}
.mental-mission-route > span b {
  font-size: 18px;
}
.mental-mission-route > span small {
  font-weight: 900;
}
.mission-satellite {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 6px;
  width: 90px;
  height: 68px;
  object-fit: contain;
  transition: left 0.4s ease;
}
.mission-satellite.station-1 {
  left: 29%;
}
.mission-satellite.station-2 {
  left: 58%;
}
.mission-satellite.station-3 {
  left: 72%;
}
.mission-target {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 78px;
  object-fit: contain;
}
.mental-mission-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  border-radius: 18px;
  background: #fff;
  color: #08796d;
}
.mental-mission-success b {
  font-size: 24px;
}
.mental-mission-success span {
  font-size: 18px;
  font-weight: 900;
}
.mental-finish-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: min(90%, 470px);
}
.mental-finish-flow span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 12px;
  border: 3px solid #a8d7cf;
  border-radius: 18px;
  background: #fff;
  color: #174752;
}
.mental-finish-flow i {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: #dff3ef;
  color: #087d70;
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}
.mental-finish-flow b {
  font-size: 13px;
}
.mental-finish-board h1 {
  max-width: 470px;
  margin: 18px auto 0;
  color: #134557;
  font-size: 25px;
  text-align: center;
}
.mental-addition-first-hint .mental-addition-equation,
.mental-addition-first-hint .mental-ten-frame {
  box-shadow: 0 0 0 8px rgb(255 211 74/25%);
}
.mental-addition-board .hint-target,
.mental-addition-choices .hint-target {
  outline: 4px solid #f2ad20 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 8px rgb(242 173 32/24%) !important;
}
.mental-addition-board .correct-cell,
.mental-addition-choices .correct-cell {
  border-color: #43b86a !important;
  background: #e4f7e9 !important;
}
.mental-addition-board .wrong-cell,
.mental-addition-choices .wrong-cell {
  border-color: #e26d59 !important;
  background: #fff0ec !important;
}
.mental-addition-board button:not([disabled]) {
  transition:
    outline-color 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    background-color 0.16s ease;
}
.mental-addition-board button:not([disabled]):is(:hover, :focus-visible) {
  outline: 4px solid #f2ad20;
  outline-offset: 3px;
  box-shadow:
    0 0 0 8px rgb(242 173 32/24%),
    0 10px 24px rgb(120 77 0/18%) !important;
  filter: brightness(1.06);
}

/* Ders başlığı · daha belirgin ve sakin yeniden başlatma kontrolü. */
.topic-lesson-shell .restart-lesson {
  min-height: 42px;
  padding: 4px 13px 4px 5px;
  gap: 8px;
  border: 1px solid #9fd4ca;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fffd, #e6f6f2);
  color: #155f58;
  box-shadow: 0 6px 16px rgb(19 89 80/12%);
  font-weight: 900;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.topic-lesson-shell .restart-lesson span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #0b8a7c;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 4px 10px rgb(11 138 124/22%);
  transition: transform 0.28s ease;
}
.topic-lesson-shell .restart-lesson b {
  font-size: 11px;
  letter-spacing: 0.02em;
}
.topic-lesson-shell .restart-lesson:is(:hover, :focus-visible) {
  border-color: #f2ad20;
  background: #fffaf0;
  color: #785700;
  outline: 3px solid rgb(242 173 32/26%);
  outline-offset: 2px;
  box-shadow: 0 8px 20px rgb(120 77 0/16%);
  transform: translateY(-1px);
}
.topic-lesson-shell .restart-lesson:is(:hover, :focus-visible) span {
  background: #eaa719;
  transform: rotate(-28deg);
}
.topic-lesson-shell .restart-lesson:active {
  transform: translateY(0);
}
@media (min-width: 761px) {
  .topic-lesson-shell.pre-reader .restart-lesson {
    width: 96px;
    min-width: 96px;
    justify-self: end;
  }
}
@media (max-width: 760px) {
  .topic-lesson-shell .restart-lesson {
    min-width: 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 4px;
    border-radius: 14px;
  }
  .topic-lesson-shell .restart-lesson span {
    width: 32px;
    height: 32px;
  }
  .topic-lesson-shell .restart-lesson b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (max-width: 760px), (max-height: 760px) {
  .mental-addition-board {
    padding: 12px;
  }
  .mental-addition-board .board-kicker {
    left: 8px;
    top: 7px;
    font-size: 8px;
    padding: 4px 7px;
  }
  .mental-space-scene {
    width: min(68%, 310px);
    height: 155px;
    margin-top: 10px;
  }
  .mental-hold-choice {
    margin-top: 7px;
  }
  .mental-hold-choice button {
    min-width: 115px;
    padding: 6px 9px;
  }
  .mental-hold-choice b {
    font-size: 26px;
  }
  .mental-addition-equation {
    margin: 18px 0 8px;
    gap: 6px;
  }
  .mental-addition-equation b,
  .mental-addition-equation strong {
    min-width: 48px;
    min-height: 48px;
    border-width: 2px;
    border-radius: 13px;
    font-size: 24px;
  }
  .mental-addition-equation i {
    font-size: 21px;
  }
  .mental-number-line {
    margin: 28px auto 0;
    padding: 20px 5px 3px;
  }
  .mental-number-track button {
    width: 48px;
    height: 50px;
  }
  .mental-number-track::before {
    top: 14px;
    height: 5px;
  }
  .mental-number-track button i {
    top: 5px;
    width: 20px;
    height: 20px;
    border-width: 4px;
  }
  .mental-number-track button b {
    top: 30px;
    font-size: 15px;
  }
  .mental-held-label {
    top: -9px;
    padding: 3px 7px;
  }
  .mental-ten-row {
    grid-template-columns: minmax(185px, 1fr) 24px minmax(125px, 0.65fr);
    gap: 4px;
    margin-top: 2px;
  }
  .mental-ten-frame {
    gap: 3px;
    padding: 5px;
    border-width: 4px;
  }
  .mental-ten-frame > span {
    border-radius: 6px;
  }
  .mental-loose-objects {
    gap: 2px;
    padding: 4px;
  }
  .mental-loose-objects button {
    min-width: 36px;
    height: 45px;
  }
  .mental-transfer-arrow {
    font-size: 22px;
  }
  .mental-split {
    margin-top: 4px;
    padding: 4px 12px;
  }
  .mental-split span,
  .mental-split b {
    font-size: 17px;
  }
  .mental-helmet-groups {
    width: min(92%, 430px);
    margin-top: 8px;
  }
  .mental-helmet-groups > div {
    min-height: 120px;
    padding: 17px 8px 6px;
  }
  .mental-helmet-groups img {
    height: 28px;
  }
  .mental-decompose-cards {
    margin-top: 5px;
  }
  .mental-decompose-cards button {
    min-width: 102px;
    padding: 7px;
  }
  .mental-place-value {
    grid-template-columns: 130px 22px 1fr;
    width: min(92%, 430px);
    margin-top: 3px;
  }
  .ten-block,
  .ones-block {
    padding: 6px;
    border-width: 3px;
  }
  .ten-block img {
    width: 72px;
    height: 60px;
  }
  .ones-block > img {
    width: 32px;
    height: 25px;
  }
  .mental-method-equation {
    min-width: 150px;
    min-height: 62px;
    font-size: 31px;
  }
  .mental-method-cards {
    gap: 5px;
    margin-top: 8px;
  }
  .mental-method-cards button {
    width: 118px;
    min-height: 102px;
    grid-template-rows: 34px auto auto;
    padding: 6px;
  }
  .mental-mission-route {
    height: 132px;
    margin: 8px auto;
  }
  .mental-mission-route::before {
    top: 66px;
  }
  .mission-satellite {
    width: 66px;
    height: 48px;
  }
  .mental-mission-route > span {
    width: 50px;
    height: 50px;
    border-width: 4px;
  }
  .mission-target {
    width: 55px;
    height: 59px;
  }
  .mental-finish-flow {
    gap: 7px;
  }
  .mental-finish-flow span {
    min-height: 56px;
    padding: 7px;
  }
  .mental-finish-flow i {
    width: 34px;
    height: 34px;
  }
  .mental-finish-board h1 {
    margin-top: 8px;
    font-size: 19px;
  }
  .mental-addition-choices button {
    min-width: 102px;
    min-height: 58px;
    padding: 6px 9px;
    grid-template-columns: 34px auto;
  }
  .mental-addition-choices button > span {
    width: 30px;
    height: 30px;
  }
  .mental-addition-choices button b {
    font-size: 22px;
  }
}

/* 15. ders · Toplama işleminin sonucunu tahmin etme · sıfırdan kurulan akış */
.estimate-addition-host {
  background: linear-gradient(145deg, #eff9f6, #d9eee9);
  border-color: #bedbd4;
  overflow: hidden;
}
.estimate-addition-host > .estimate-addition-board {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
}
.estimate-addition-board {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vh, 18px);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(145deg, #eff9f6, #d9eee9);
  color: #164158;
  isolation: isolate;
}
.estimate-addition-board > .board-kicker {
  position: absolute;
  z-index: 8;
  left: 15px;
  top: 15px;
}
.estimate-addition-curtain-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 12px;
  width: min(88%, 430px);
  height: min(78%, 390px);
  min-height: 0;
}
.estimate-addition-curtain-shell.ready {
  grid-template-rows: minmax(0, 1fr);
}
.estimate-addition-curtain {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 28px 24px 22px;
  border: 4px solid #b8d9d1;
  border-radius: 30px;
  background: repeating-linear-gradient(
    90deg,
    #e8f4f1 0 28px,
    #d8ebe6 28px 56px
  );
  box-shadow:
    inset 0 0 0 8px #ffffff80,
    0 14px 30px #173d3726;
  text-align: center;
}
.estimate-addition-curtain-copy {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  min-height: 0;
}
.estimate-addition-curtain-copy > span {
  font-size: 50px;
}
.estimate-addition-curtain-copy > b {
  font-size: clamp(18px, 3vw, 28px);
}
.estimate-addition-curtain-copy > small {
  color: #58756e;
  font-size: 11px;
  font-weight: 900;
}
.estimate-ticket {
  position: static;
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 100px;
  padding: 8px 14px;
  border: 3px solid #e9b12d;
  border-radius: 17px;
  background: #fff9df;
}
.estimate-ticket small {
  font-size: 8px;
  font-weight: 950;
  color: #806217;
}
.estimate-ticket strong {
  font-size: 29px;
  color: #8b6710;
}
.estimate-eye-control {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 116px;
  height: 100px;
  padding: 7px;
  border: 4px solid #0b8a7c;
  border-radius: 30px;
  background: #fff;
  color: #164158;
  box-shadow: 0 10px 22px #173d3724;
  cursor: pointer;
  transition: 0.18s;
}
.estimate-eye-control > span {
  font-size: 48px;
  line-height: 1;
}
.estimate-eye-control > b {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.estimate-eye-control:hover,
.estimate-eye-control:focus-visible {
  border-color: #e5a91d;
  background: #fff8dc;
  box-shadow:
    0 0 0 7px #e5a91d33,
    0 10px 22px #173d3724;
  outline: 0;
  transform: translateY(-2px);
}
.estimate-addition-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.estimate-addition-countdown {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #e29a19;
  color: #fff;
  font: 950 28px/1 system-ui;
  box-shadow: 0 7px 18px #6d4b1740;
  animation: estimateCountdown 1s linear infinite;
}
@keyframes estimateCountdown {
  to {
    box-shadow: 0 0 0 12px #e29a1926;
  }
}
.estimate-addition-object-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 500px);
}
.estimate-addition-object-field > .estimate-addition-tray:only-child {
  grid-column: 1/-1;
  width: 100%;
}
.estimate-addition-plus {
  color: #e06f58;
  font: 950 34px/1 system-ui;
}
.estimate-addition-tray {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 190px;
  padding: 30px 12px 12px;
  border: 4px solid #a9d4cd;
  border-radius: 27px;
  background: #ffffffd9;
  box-shadow: 0 10px 22px #173d371c;
}
.estimate-addition-tray.orange {
  border-color: #efc074;
  background: #fff9eb;
}
.estimate-addition-tray.blue {
  border-color: #8fcfc7;
  background: #eefaf7;
}
.estimate-addition-tray .tray-count {
  position: absolute;
  left: 10px;
  top: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #0b8a7c;
  color: #fff;
  font-weight: 950;
}
.estimate-addition-object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(42px, 58px));
  place-content: center;
  gap: 8px;
}
.estimate-addition-object-grid.dense {
  grid-template-columns: repeat(4, 48px);
  gap: 6px;
}
.estimate-addition-object-grid.dense .estimate-addition-object {
  width: 48px;
  height: 58px;
}
.estimate-addition-object {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 68px;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #164158;
  cursor: default;
}
button.estimate-addition-object {
  cursor: pointer;
}
.estimate-addition-object img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 5px 4px #173d3740);
  transition:
    filter 0.18s,
    transform 0.18s;
}
.estimate-addition-object.estimate-object-bottle img {
  width: 76%;
  height: 76%;
  max-width: 76%;
  max-height: 76%;
}
button.estimate-addition-object:hover:not(:disabled),
button.estimate-addition-object:focus-visible:not(:disabled) {
  outline: 0;
}
button.estimate-addition-object:hover:not(:disabled) img,
button.estimate-addition-object:focus-visible:not(:disabled) img {
  filter: drop-shadow(0 0 4px #f0a914) drop-shadow(0 0 9px #f0a914);
  transform: translateY(-2px) scale(1.04);
}
.estimate-addition-object > i {
  position: absolute;
  right: -4px;
  top: -5px;
  display: none;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0b8a7c;
  color: #fff;
  font: 950 12px/1 system-ui;
  font-style: normal;
}
.estimate-addition-object.counted img {
  filter: drop-shadow(0 0 4px #34aa68) drop-shadow(0 0 9px #34aa68);
  opacity: 0.82;
}
.estimate-addition-object.counted > i {
  display: grid;
}
.estimate-addition-choices {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}
.estimate-addition-choices button {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  place-items: center;
  column-gap: 8px;
  min-width: 110px;
  min-height: 68px;
  padding: 7px 13px;
  border: 3px solid #a9d4cd;
  border-radius: 19px;
  background: #fff;
  color: #164158;
  cursor: pointer;
  transition: 0.18s;
}
.estimate-addition-choices button > i {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e6f4f1;
  color: #0b8a7c;
  font: 950 20px/1 system-ui;
  font-style: normal;
}
.estimate-addition-choices button > b {
  font-size: 25px;
  line-height: 1;
}
.estimate-addition-choices button > small {
  font-size: 8px;
  font-weight: 900;
  color: #617c76;
}
.estimate-addition-choices button:hover,
.estimate-addition-choices button:focus-visible {
  border-color: #e5a91d;
  background: #fff8dc;
  box-shadow: 0 0 0 6px #e5a91d33;
  outline: 0;
  transform: translateY(-2px);
}
.estimate-addition-choices .selected-estimate {
  border-color: #e5a91d;
  background: #fff8dc;
}
.estimate-addition-choices .correct-cell {
  border-color: #43b86a !important;
  background: #e4f7e9 !important;
  box-shadow: 0 0 0 6px #43b86a33 !important;
}
.estimate-addition-choices .wrong-cell {
  border-color: #df705b !important;
  background: #fff0ec !important;
  box-shadow: 0 0 0 5px #df705b2e !important;
}
.estimate-addition-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.estimate-addition-live span {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 88px;
  padding: 7px;
  border-radius: 17px;
  background: #fff;
}
.estimate-addition-live small {
  font-size: 8px;
  font-weight: 950;
  color: #607b75;
}
.estimate-addition-live b,
.estimate-addition-live strong {
  font-size: 27px;
  color: #0b7c70;
}
.estimate-addition-live > i {
  font-style: normal;
  color: #e1715b;
  font-size: 24px;
}
.estimate-addition-live > strong {
  font-size: 20px;
}
.estimate-addition-table {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.estimate-addition-table > span {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 82px;
  padding: 8px;
  border: 3px solid #bddbd5;
  border-radius: 17px;
  background: #fff;
}
.estimate-addition-table > span.estimate {
  border-color: #e4b342;
  background: #fff8dc;
}
.estimate-addition-table > span.actual {
  border-color: #459ed0;
  background: #edf8ff;
}
.estimate-addition-table > span.difference {
  border-color: #9c80d6;
  background: #f6f1ff;
}
.estimate-addition-table small {
  font-size: 8px;
  font-weight: 950;
  color: #607b75;
}
.estimate-addition-table b {
  font-size: 27px;
  color: #17435a;
}
.estimate-addition-table > i {
  color: #df715b;
  font: 950 20px/1 system-ui;
  font-style: normal;
}
.estimate-addition-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 9px 20px #173d371c;
}
.estimate-addition-equation b,
.estimate-addition-equation strong {
  display: grid;
  place-items: center;
  min-width: 66px;
  height: 66px;
  padding: 0 7px;
  border: 4px solid #acd5ce;
  border-radius: 18px;
  font-size: 35px;
}
.estimate-addition-equation strong {
  background: #dff4eb;
  color: #087263;
}
.estimate-addition-equation i {
  font-style: normal;
  color: #df6f58;
  font-size: 31px;
  font-weight: 950;
}
.estimate-addition-bars {
  display: grid;
  gap: 18px;
  width: min(90%, 420px);
  padding: 22px;
  border-radius: 25px;
  background: #fff;
}
.estimate-addition-bars > div {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
}
.estimate-addition-bars span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff4c8;
  font-size: 20px;
}
.estimate-addition-bars > div:nth-child(2) span {
  background: #e5f4ff;
  color: #167bab;
}
.estimate-addition-bars i {
  display: block;
  width: min(calc(var(--bar-value) * 20px), 100%);
  height: 38px;
  border-radius: 13px;
  background: #e7b53c;
  box-shadow: inset 0 -6px #c88e18;
}
.estimate-addition-bars > div:nth-child(2) i {
  background: #4da9dc;
  box-shadow: inset 0 -6px #277ea9;
}
.estimate-addition-bars b {
  font-size: 27px;
}
.estimate-addition-count-on-groups {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.estimate-addition-count-on-groups > div {
  position: relative;
}
.estimate-addition-count-on-groups > div > b {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: -12px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #17435a;
  color: #fff;
  font-size: 24px;
}
.estimate-addition-count-on-groups > span {
  color: #df6f58;
  font-size: 34px;
  font-weight: 950;
}
.estimate-addition-count-on-groups .estimate-addition-tray {
  min-height: 150px;
  padding-top: 27px;
}
.estimate-addition-count-on-groups .estimate-addition-object {
  width: 36px;
  height: 43px;
}
.estimate-addition-count-on-groups .estimate-addition-object-grid {
  grid-template-columns: repeat(4, 36px);
  gap: 3px;
}
.estimate-addition-count-on-groups .tray-count {
  display: none;
}
.estimate-addition-held {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 8px 18px #173d371a;
}
.estimate-addition-held > span {
  font-size: 8px;
  font-weight: 950;
  color: #5c7771;
}
.estimate-addition-held > b {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: #17435a;
  color: #fff;
  font-size: 28px;
}
.estimate-addition-held > div {
  display: flex;
  gap: 7px;
}
.estimate-addition-held button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #bddbd5;
  border-radius: 50%;
  background: #fff;
  color: #17435a;
  font-size: 21px;
  font-weight: 950;
  cursor: pointer;
}
.estimate-addition-held button.next {
  border-color: #e5a91d;
  box-shadow: 0 0 0 6px #e5a91d33;
  animation: attentionGlow 0.7s infinite alternate;
}
.estimate-addition-held button.done {
  border-color: #43b86a;
  background: #43b86a;
  color: #fff;
}
.estimate-addition-number-line-board {
  justify-content: center;
}
.estimate-addition-actual-badge {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 22px;
  border-radius: 18px;
  background: #43b86a;
  color: #fff;
}
.estimate-addition-actual-badge small {
  font-size: 8px;
  font-weight: 950;
}
.estimate-addition-actual-badge b {
  font-size: 32px;
}
.estimate-addition-number-line {
  position: relative;
  width: min(96%, 560px);
  padding: 76px 24px 56px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 12px 28px #173d3721;
}
.number-line-rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: start;
  border-top: 6px solid #244f69;
}
.number-line-tick {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #244f69;
  font-family: inherit;
  cursor: default;
}
.number-line-tick > i {
  display: block;
  width: 5px;
  height: 27px;
  background: #244f69;
}
.number-line-tick > b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 23px;
}
.number-line-tick > small {
  position: absolute;
  top: -35px;
  font-size: 8px;
  font-weight: 950;
}
.number-line-tick.estimate {
  cursor: pointer;
}
.number-line-tick.estimate > b {
  border: 5px solid #e5a91d;
  background: #fff8dc;
}
.number-line-tick.estimate:hover > b,
.number-line-tick.estimate:focus-visible > b {
  box-shadow: 0 0 0 9px #e5a91d33;
  transform: scale(1.08);
}
.number-line-tick.estimate:focus-visible {
  outline: 0;
}
.number-line-tick.actual > b {
  background: #43b86a;
  color: #fff;
  box-shadow: 0 0 0 7px #43b86a2b;
}
.number-line-tick.correct-cell > b {
  border-color: #43b86a;
  background: #43b86a;
  color: #fff;
}
.number-line-tick.wrong-cell > b {
  border-color: #df705b;
  background: #fff0ec;
}
.number-line-hops {
  position: absolute;
  left: 21%;
  right: 12%;
  bottom: 13px;
  display: flex;
  justify-content: space-around;
  color: #657b76;
  font-size: 10px;
  font-weight: 950;
}
.number-line-hops span {
  padding: 5px 9px;
  border-radius: 10px;
  background: #eef7f4;
}
.estimate-addition-story-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(90%, 430px);
  padding: 18px;
  border-radius: 25px;
  background: #fff;
}
.estimate-addition-story-scene > img {
  display: block;
  width: 130px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 8px 6px #173d3740);
}
.estimate-addition-story-scene > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.estimate-addition-story-scene span {
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 900;
}
.estimate-addition-story-scene span > b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: #e5f4f0;
  color: #087568;
  font-size: 32px;
}
.estimate-addition-story-scene i {
  color: #df6f58;
  font-size: 27px;
  font-style: normal;
  font-weight: 950;
}
.estimate-addition-finish {
  text-align: center;
}
.estimate-addition-finish-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}
.estimate-addition-finish-flow span {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px;
  border-radius: 21px;
  background: #fff;
}
.estimate-addition-finish-flow i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #0b8a7c;
  color: #fff;
  font-style: normal;
  font-weight: 950;
}
.estimate-addition-finish-flow b {
  font-size: 10px;
}
.estimate-addition-finish-flow em {
  color: #e5a91d;
  font-size: 25px;
  font-style: normal;
}
.estimate-addition-finish h1 {
  margin: 0;
  max-width: 470px;
  font-size: clamp(23px, 4vw, 37px);
}
.estimate-addition-board .hint-target {
  box-shadow: 0 0 0 7px #e5a91d40 !important;
  animation: attentionGlow 0.7s infinite alternate;
}
.estimate-subtraction-host {
  background: linear-gradient(145deg, #eff9f6, #d9eee9);
  border-color: #bedbd4;
  overflow: hidden;
}
.estimate-subtraction-host > .estimate-subtraction-board {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
}
.estimate-subtraction-board {
  position: relative;
  overflow: hidden;
}
.estimate-subtraction-context {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(94%, 520px);
}
.estimate-subtraction-context > img {
  width: 126px;
  height: 105px;
  border: 3px solid #fff;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 9px 20px #173d3730;
}
.estimate-subtraction-context > span {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 18px #173d3720;
}
.estimate-subtraction-context b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #e3f4ef;
  color: #0b7569;
  font-size: 31px;
}
.estimate-subtraction-context i {
  color: #df7059;
  font: 950 29px/1 system-ui;
  font-style: normal;
}
.estimate-subtraction-context small {
  grid-column: 1/-1;
  color: #607b75;
  font-size: 9px;
  font-weight: 950;
  text-align: center;
}
.estimate-seedling-motion {
  position: relative;
  inset: auto;
  width: min(94%, 540px);
  height: 245px;
  border: 4px solid #acd5ce;
  border-radius: 28px;
  background: linear-gradient(#e5f5ef 0 68%, #c99b66 69% 72%, #f4dfbd 73%);
  box-shadow: 0 10px 23px #173d3722;
}
.estimate-seedling-motion:after {
  content: "TAŞINANLAR";
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: 3%;
  width: 41%;
  height: 25%;
  display: grid;
  place-items: end center;
  padding-bottom: 5px;
  border: 3px dashed #df7059;
  border-radius: 18px;
  color: #9d4b3c;
  font-size: 8px;
  font-weight: 950;
}
.estimate-seedling-motion .subtraction-motion-count {
  top: 3%;
  right: 3%;
}
.estimate-seedling-motion .subtraction-motion-object.seedling img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.estimate-seedling-motion .subtraction-motion-count {
  top: auto;
  right: auto;
  left: 3%;
  bottom: 3%;
}
.estimate-subtraction-selected {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 90px;
  padding: 7px 13px;
  border: 3px solid #e5a91d;
  border-radius: 17px;
  background: #fff8dc;
  color: #17435a;
}
.estimate-subtraction-selected small {
  font-size: 8px;
  font-weight: 950;
}
.estimate-subtraction-selected b {
  font-size: 25px;
}
.estimate-subtraction-object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(48px, 64px));
  place-content: center;
  gap: 10px;
  width: min(92%, 410px);
  padding: 18px;
  border: 4px solid #acd5ce;
  border-radius: 28px;
  background: #ffffffd9;
  box-shadow: 0 10px 22px #173d371c;
}
.estimate-subtraction-object-grid.dense {
  grid-template-columns: repeat(6, minmax(38px, 54px));
  gap: 7px;
}
.estimate-subtraction-object {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: default;
}
.estimate-subtraction-object img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px #173d3740);
  transition: 0.2s;
}
.estimate-subtraction-object:is(button) {
  cursor: pointer;
}
.estimate-subtraction-object:is(button):hover,
.estimate-subtraction-object:is(button):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 5px #e5a91d3b;
}
.estimate-subtraction-object:is(button):hover img,
.estimate-subtraction-object:is(button):focus-visible img {
  filter: drop-shadow(0 0 5px #f0a914) drop-shadow(0 0 9px #f0a914);
  transform: translateY(-2px) scale(1.04);
}
.estimate-subtraction-object.removed {
  opacity: 0.24;
  transform: translateY(15px) scale(0.8);
}
.estimate-subtraction-object.removed:after {
  content: "×";
  position: absolute;
  color: #df7059;
  font: 950 46px/1 system-ui;
}
.estimate-subtraction-object.counted img {
  filter: drop-shadow(0 0 5px #34aa68) drop-shadow(0 0 9px #34aa68);
}
.estimate-subtraction-object > i {
  position: absolute;
  right: -4px;
  top: -5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0b8a7c;
  color: #fff;
  font: 950 11px/1 system-ui;
  font-style: normal;
}
.estimate-subtraction-step-flow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.estimate-subtraction-step-flow span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 3px solid #bddbd5;
  border-radius: 17px;
  background: #fff;
  color: #607b75;
}
.estimate-subtraction-step-flow i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #edf5f3;
  font: 950 13px/1 system-ui;
  font-style: normal;
}
.estimate-subtraction-step-flow b {
  font-size: 9px;
}
.estimate-subtraction-step-flow .current {
  border-color: #e5a91d;
  background: #fff8dc;
  box-shadow: 0 0 0 5px #e5a91d2c;
}
.estimate-subtraction-step-flow .done {
  border-color: #43b86a;
  background: #e5f7e9;
  color: #087263;
}
.estimate-subtraction-butterfly-tray {
  width: min(96%, 560px);
}
.estimate-subtraction-butterfly-tray .estimate-subtraction-object-grid {
  width: 100%;
  grid-template-columns: repeat(6, minmax(44px, 64px));
  padding: 14px;
}
.estimate-subtraction-action-count {
  display: flex;
  gap: 10px;
}
.estimate-subtraction-action-count span {
  padding: 7px 11px;
  border-radius: 14px;
  background: #fff;
  color: #607b75;
  font-size: 8px;
  font-weight: 950;
}
.estimate-subtraction-action-count b {
  margin-left: 5px;
  color: #0b7c70;
  font-size: 18px;
}
.estimate-subtraction-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(94%, 520px);
  padding: 12px;
  border: 4px solid #acd5ce;
  border-radius: 28px;
  background: #fff;
}
.estimate-subtraction-story > img {
  width: 100%;
  height: 180px;
  border-radius: 20px;
  object-fit: cover;
}
.estimate-subtraction-story > div {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 7px;
  padding: 8px;
}
.estimate-subtraction-story b {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 15px;
  background: #e4f4ef;
  color: #087568;
  font-size: 29px;
}
.estimate-subtraction-story i {
  color: #df7059;
  font: 950 27px/1 system-ui;
  font-style: normal;
}
.estimate-subtraction-story small {
  grid-column: 1/-1;
  font-size: 9px;
  font-weight: 950;
  text-align: center;
}
.estimate-subtraction-story-tokens {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 19px;
  background: #fff;
}
.estimate-subtraction-story-tokens span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 37px;
  border-radius: 11px;
}
.estimate-subtraction-story-tokens img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px #173d3735);
}
.estimate-subtraction-object.spoken-flutter {
  animation: estimateButterflyFlutter 0.65s ease-in-out
    calc(var(--flutter-order) * 0.08s) 2;
}
@keyframes estimateButterflyFlutter {
  50% {
    transform: translateY(-10px) rotate(calc((var(--flutter-order) - 2) * 2deg));
    filter: drop-shadow(0 0 8px #f0a914);
  }
}
.estimate-subtraction-count-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(96%, 580px);
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 9px 20px #173d371c;
}
.estimate-subtraction-count-back > b {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border-radius: 17px;
  background: #17435a;
  color: #fff;
  font-size: 30px;
}
.estimate-subtraction-count-back > b small {
  font-size: 7px;
}
.estimate-subtraction-count-back > div {
  display: flex;
  gap: 6px;
}
.estimate-subtraction-count-back button {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 3px solid #bddbd5;
  border-radius: 50%;
  background: #fff;
  color: #17435a;
  font-size: 19px;
  font-weight: 950;
}
.estimate-subtraction-count-back button.next {
  border-color: #e5a91d;
  box-shadow: 0 0 0 6px #e5a91d33;
  animation: attentionGlow 0.7s infinite alternate;
  cursor: pointer;
}
.estimate-subtraction-count-back button.done {
  border-color: #43b86a;
  background: #43b86a;
  color: #fff;
}
.estimate-subtraction-table-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.estimate-subtraction-table-scene > img {
  width: 120px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 7px 6px #173d3730);
}
.estimate-subtraction-reasonable {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  width: min(90%, 430px);
  height: 62px;
  border-radius: 31px;
  background: linear-gradient(90deg, #f7d6cf, #e4f5e9 35% 65%, #f7d6cf);
  color: #7b625d;
  text-align: center;
  font-size: 9px;
  font-weight: 950;
}
.estimate-subtraction-reasonable b {
  color: #087263;
  font-size: 12px;
}
.estimate-subtraction-mission-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(96%, 560px);
}
.estimate-subtraction-mission-route > img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 7px 6px #173d3730);
}
.estimate-subtraction-mission-route span {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 58px;
  height: 58px;
  border: 4px solid #bddbd5;
  border-radius: 50%;
  background: #fff;
  color: #6c817d;
}
.estimate-subtraction-mission-route span.current {
  border-color: #e5a91d;
  box-shadow: 0 0 0 7px #e5a91d31;
}
.estimate-subtraction-mission-route span.done {
  border-color: #43b86a;
  background: #43b86a;
  color: #fff;
}
.estimate-subtraction-mission-route i {
  font-style: normal;
}
.estimate-subtraction-mission-route b {
  font-size: 15px;
}
.estimate-subtraction-mission-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  padding: 17px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 9px 20px #173d371c;
}
.estimate-subtraction-mission-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e4f4ef;
  color: #087568;
  font: 950 25px/1 system-ui;
  font-style: normal;
}
.estimate-subtraction-mission-card b {
  font-size: 18px;
  text-align: center;
}
.estimate-subtraction-first-hint .estimate-subtraction-equation,
.estimate-subtraction-first-hint .estimate-addition-actual-badge {
  box-shadow: 0 0 0 8px #e5a91d35;
}
.estimate-subtraction-second-method .estimate-addition-number-line,
.estimate-subtraction-second-method .estimate-subtraction-count-back {
  box-shadow:
    0 0 0 8px #e5a91d35,
    0 12px 28px #173d3721;
}
@media (max-width: 760px), (max-height: 760px) {
  .estimate-subtraction-context {
    gap: 7px;
  }
  .estimate-subtraction-context > img {
    width: 88px;
    height: 68px;
  }
  .estimate-subtraction-context > span {
    padding: 6px 9px;
  }
  .estimate-subtraction-context b {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .estimate-seedling-motion {
    height: 176px;
  }
  .estimate-subtraction-object-grid {
    grid-template-columns: repeat(4, 42px);
    gap: 4px;
    padding: 8px;
  }
  .estimate-subtraction-object-grid.dense,
  .estimate-subtraction-butterfly-tray .estimate-subtraction-object-grid {
    grid-template-columns: repeat(6, 36px);
    gap: 3px;
  }
  .estimate-subtraction-object > i {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }
  .estimate-subtraction-step-flow {
    gap: 4px;
  }
  .estimate-subtraction-step-flow span {
    padding: 5px 7px;
  }
  .estimate-subtraction-story > img {
    height: 115px;
  }
  .estimate-subtraction-count-back {
    gap: 6px;
    padding: 8px;
  }
  .estimate-subtraction-count-back > b {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }
  .estimate-subtraction-count-back > div {
    gap: 3px;
  }
  .estimate-subtraction-count-back button {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .estimate-subtraction-table-scene > img {
    width: 78px;
    height: 72px;
  }
  .estimate-subtraction-mission-route {
    gap: 4px;
  }
  .estimate-subtraction-mission-route > img {
    width: 54px;
    height: 54px;
  }
  .estimate-subtraction-mission-route span {
    width: 43px;
    height: 43px;
    border-width: 3px;
  }
  .estimate-subtraction-mission-card {
    padding: 10px 14px;
  }
  .estimate-subtraction-mission-card b {
    font-size: 14px;
  }
}
@media (max-height: 760px) {
  .topic-lesson-shell .teacher-classroom {
    padding-bottom: 20px;
  }
}
@media (max-width: 760px), (max-height: 760px) {
  .estimate-addition-board {
    padding: 11px;
    gap: 6px;
    border-radius: 24px;
  }
  .estimate-addition-board > .board-kicker {
    left: 8px;
    top: 8px;
    padding: 4px 6px;
    font-size: 8px;
  }
  .estimate-addition-curtain-shell {
    height: min(84%, 320px);
    gap: 7px;
  }
  .estimate-addition-curtain {
    gap: 7px;
    padding: 17px 13px 12px;
  }
  .estimate-addition-curtain-copy {
    gap: 4px;
  }
  .estimate-addition-curtain-copy > span {
    font-size: 38px;
  }
  .estimate-addition-curtain-copy > b {
    font-size: 19px;
  }
  .estimate-ticket {
    padding: 5px 10px;
    min-width: 76px;
  }
  .estimate-ticket strong {
    font-size: 22px;
  }
  .estimate-eye-control {
    width: 92px;
    height: 76px;
    border-width: 3px;
    border-radius: 23px;
  }
  .estimate-eye-control > span {
    font-size: 35px;
  }
  .estimate-addition-object-field {
    gap: 5px;
  }
  .estimate-addition-plus {
    font-size: 22px;
  }
  .estimate-addition-tray {
    min-height: 132px;
    padding: 23px 5px 5px;
    border-width: 3px;
    border-radius: 18px;
  }
  .estimate-addition-tray .tray-count {
    left: 5px;
    top: 5px;
    width: 23px;
    height: 23px;
    font-size: 11px;
  }
  .estimate-addition-object-grid {
    grid-template-columns: repeat(3, 38px);
    gap: 3px;
  }
  .estimate-addition-object-grid.dense {
    grid-template-columns: repeat(4, 32px);
    gap: 2px;
  }
  .estimate-addition-object {
    width: 38px;
    height: 45px;
    padding: 1px;
  }
  .estimate-addition-object-grid.dense .estimate-addition-object {
    width: 32px;
    height: 39px;
  }
  .estimate-addition-object > i {
    width: 19px;
    height: 19px;
    border-width: 2px;
    font-size: 9px;
  }
  .estimate-addition-choices {
    gap: 6px;
  }
  .estimate-addition-choices button {
    min-width: 88px;
    min-height: 54px;
    padding: 5px 8px;
    border-width: 2px;
  }
  .estimate-addition-choices button > i {
    width: 29px;
    height: 29px;
    font-size: 16px;
  }
  .estimate-addition-choices button > b {
    font-size: 20px;
  }
  .estimate-addition-live span {
    min-width: 65px;
    padding: 4px;
  }
  .estimate-addition-live b,
  .estimate-addition-live strong {
    font-size: 20px;
  }
  .estimate-addition-table {
    gap: 4px;
  }
  .estimate-addition-table > span {
    min-width: 62px;
    padding: 4px;
    border-width: 2px;
  }
  .estimate-addition-table b {
    font-size: 20px;
  }
  .estimate-addition-table > i {
    font-size: 15px;
  }
  .estimate-addition-equation {
    gap: 5px;
    padding: 6px 9px;
  }
  .estimate-addition-equation b,
  .estimate-addition-equation strong {
    min-width: 42px;
    height: 42px;
    border-width: 2px;
    font-size: 23px;
  }
  .estimate-addition-equation i {
    font-size: 20px;
  }
  .estimate-addition-bars {
    gap: 8px;
    padding: 10px;
  }
  .estimate-addition-bars > div {
    grid-template-columns: 32px 1fr 32px;
    gap: 5px;
  }
  .estimate-addition-bars span {
    width: 30px;
    height: 30px;
  }
  .estimate-addition-bars i {
    width: min(calc(var(--bar-value) * 14px), 100%);
    height: 28px;
  }
  .estimate-addition-count-on-groups {
    gap: 4px;
  }
  .estimate-addition-count-on-groups .estimate-addition-tray {
    min-height: 103px;
  }
  .estimate-addition-count-on-groups .estimate-addition-object {
    width: 27px;
    height: 31px;
  }
  .estimate-addition-count-on-groups .estimate-addition-object-grid {
    grid-template-columns: repeat(4, 27px);
    gap: 1px;
  }
  .estimate-addition-count-on-groups > div > b {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }
  .estimate-addition-held {
    gap: 5px;
    padding: 6px;
  }
  .estimate-addition-held > b,
  .estimate-addition-held button {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .estimate-addition-held > div {
    gap: 3px;
  }
  .estimate-addition-number-line {
    padding: 58px 10px 42px;
  }
  .number-line-tick > b {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .number-line-tick > i {
    height: 21px;
  }
  .number-line-tick > small {
    top: -28px;
    font-size: 6px;
  }
  .number-line-hops {
    bottom: 8px;
  }
  .estimate-addition-story-scene {
    gap: 8px;
    padding: 8px;
  }
  .estimate-addition-story-scene > img {
    width: 82px;
    height: 76px;
  }
  .estimate-addition-story-scene span > b {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .estimate-addition-finish-flow {
    gap: 4px;
  }
  .estimate-addition-finish-flow span {
    padding: 7px;
  }
  .estimate-addition-finish-flow i {
    width: 32px;
    height: 32px;
  }
  .estimate-addition-finish-flow em {
    font-size: 17px;
  }
}
/* 13 ve 14. ders: iç sahne dış taşıyıcıyı tam doldurur; beyaz L-çerçeve oluşmaz. */
.equal-difference-host,
.zero-effect-host {
  background: linear-gradient(145deg, #f1faf7, #dcefeb);
  border-color: #c7ddd8;
}
.equal-difference-host > .board-square,
.zero-effect-host > .board-square {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: inherit;
}

/* 14. ders · Toplama ve çıkarma işleminde sıfırın etkisi */
.zero-effect-board {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 540px);
  height: min(100%, 540px);
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 32px;
  background: linear-gradient(145deg, #f1faf7, #dcefeb);
  isolation: isolate;
}
.zero-effect-host {
  background: linear-gradient(145deg, #f1faf7, #dcefeb);
  border-color: #c7ddd8;
}
.zero-effect-host > .zero-effect-board {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.zero-effect-board > .board-kicker {
  position: absolute;
  z-index: 8;
  left: 16px;
  top: 16px;
}
.zero-effect-scene-board {
  padding: 0;
  background: #dcefeb;
}
.zero-effect-scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.zero-effect-empty-scene-card {
  position: absolute;
  z-index: 5;
  right: 4%;
  top: 31%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 148px;
  padding: 8px 11px;
  border: 3px solid #efb52a;
  border-radius: 18px;
  background: #fff9dceb;
  color: #16433d;
  text-align: left;
}
.zero-effect-empty-scene-card.sale {
  right: 4%;
  top: 30%;
}
.zero-effect-empty-scene-card > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: #dc684f;
  font: 950 27px/1 system-ui;
  font-style: normal;
}
.zero-effect-empty-scene-card > span {
  display: grid;
  gap: 2px;
}
.zero-effect-empty-scene-card b {
  font-size: 12px;
}
.zero-effect-empty-scene-card small {
  color: #6a756e;
  font-size: 8px;
  font-weight: 900;
}
.zero-effect-empty-scene-card.observed {
  border-color: #43b86a;
  background: #e7f8eb;
  opacity: 0.94;
}
.zero-effect-live-count {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 4%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 94%;
  padding: 8px 12px;
  border: 4px solid #fff;
  border-radius: 22px;
  background: #fffffff0;
  box-shadow: 0 12px 28px #173d373d;
}
.zero-effect-live-count > span {
  display: grid;
  place-items: center;
  gap: 2px;
}
.zero-effect-live-count small {
  color: #5f7973;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.07em;
}
.zero-effect-live-count b,
.zero-effect-live-count strong {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #e2f3ee;
  color: #086f64;
  font-size: 27px;
}
.zero-effect-live-count strong {
  background: #0b8a7c;
  color: #fff;
}
.zero-effect-live-count > i {
  color: #df715b;
  font: 950 24px/1 system-ui;
  font-style: normal;
}
.zero-effect-rule-board,
.zero-effect-practice-board,
.zero-effect-vertical-board,
.zero-effect-distinguish-board,
.zero-effect-match-board,
.zero-effect-path-board,
.zero-effect-check-board,
.zero-effect-finish-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
}
.zero-effect-concrete-rule,
.zero-practice-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 14px;
}
.zero-effect-concrete-rule > i,
.zero-practice-model > i {
  color: #df715b;
  font: 950 28px/1 system-ui;
  font-style: normal;
}
.zero-effect-concrete-rule > strong {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #0b8a7c;
  color: #fff;
  font-size: 31px;
}
.zero-effect-object-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 265px;
  padding: 7px;
  border-radius: 20px;
  background: #eaf6f2;
}
.zero-effect-object-group img {
  display: block;
  width: 46px;
  height: 54px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 4px #173d372e);
}
.zero-effect-object-group.dense img {
  width: 36px;
  height: 44px;
}
.zero-empty-frame {
  display: grid;
  place-items: center;
  align-content: center;
  width: 70px;
  height: 76px;
  border: 3px dashed #e8b52f;
  border-radius: 18px;
  background: #fff9df;
}
.zero-empty-frame span {
  color: #df6d56;
  font-size: 36px;
  font-weight: 950;
}
.zero-empty-frame small {
  color: #7a765d;
  font-size: 8px;
  font-weight: 950;
}
.zero-effect-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 20px #173d371c;
}
.zero-effect-equation b,
.zero-effect-equation strong {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 6px;
  border: 3px solid #abd5ce;
  border-radius: 15px;
  color: #153f57;
  font-size: 29px;
}
.zero-effect-equation strong {
  background: #dff4eb;
  color: #087263;
}
.zero-effect-equation i {
  color: #df6e57;
  font: 950 25px/1 system-ui;
  font-style: normal;
}
.zero-effect-rule-equations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.zero-effect-rule-equations .zero-effect-equation {
  gap: 4px;
  padding: 6px;
}
.zero-effect-rule-equations .zero-effect-equation b,
.zero-effect-rule-equations .zero-effect-equation strong {
  min-width: 38px;
  height: 42px;
  font-size: 22px;
}
.zero-effect-concept-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  width: 100%;
}
.zero-effect-concept-choices button {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  padding: 8px 11px;
  border: 3px solid #b8dad4;
  border-radius: 19px;
  background: #fff;
  color: #16433d;
  text-align: left;
}
.zero-effect-concept-choices button > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e3f4ef;
  color: #0b8175;
  font: 950 26px/1 system-ui;
  font-style: normal;
}
.zero-effect-concept-choices button span {
  display: grid;
  gap: 2px;
}
.zero-effect-concept-choices button b {
  font-size: 14px;
}
.zero-effect-concept-choices button small {
  color: #638079;
  font-size: 9px;
  font-weight: 850;
}
.zero-effect-answer-choices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.zero-effect-answer-choices button {
  display: grid;
  place-items: center;
  gap: 1px;
  min-width: 92px;
  height: 62px;
  padding: 5px 12px;
  border: 3px solid #abd6ce;
  border-radius: 19px;
  background: #fff;
  color: #086e63;
}
.zero-effect-answer-choices b {
  font-size: 27px;
}
.zero-effect-answer-choices small {
  color: #6a7e78;
  font-size: 8px;
  font-weight: 900;
}
.zero-effect-complete-mark {
  display: grid;
  place-items: center;
  gap: 9px;
  color: #16433d;
}
.zero-effect-complete-mark > span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #43b86a;
  color: #fff;
  font-size: 45px;
}
.zero-effect-complete-mark strong {
  font-size: 25px;
}
.zero-effect-complete-mark small {
  color: #0b7a6e;
  font-weight: 900;
}
.zero-effect-vertical-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.zero-effect-vertical-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  width: 165px;
  height: 230px;
  border: 4px solid #b8d9d3;
  border-radius: 26px;
  background: #fff;
}
.zero-effect-vertical-card span {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  width: 108px;
}
.zero-effect-vertical-card span i {
  color: #df6e58;
  font-style: normal;
  text-align: center;
}
.zero-effect-vertical-card span b {
  padding-right: 10px;
  color: #153f57;
  text-align: right;
  font-size: 31px;
}
.zero-effect-vertical-card em {
  width: 98px;
  border-top: 4px solid #0b8a7c;
}
.zero-effect-vertical-card span:last-child b {
  color: #0a806f;
}
.zero-effect-operation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  width: 100%;
  margin-top: 20px;
}
.zero-effect-operation-grid button {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 3px;
  min-height: 104px;
  padding: 12px;
  border: 3px solid #badad4;
  border-radius: 22px;
  background: #fff;
  color: #153f57;
}
.zero-effect-operation-grid button span,
.zero-effect-operation-grid button strong {
  font-size: 26px;
}
.zero-effect-operation-grid button i {
  color: #df705a;
  font-size: 20px;
  font-style: normal;
  font-weight: 950;
}
.zero-effect-operation-grid button small {
  grid-column: 1/-1;
  color: #678079;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.05em;
}
.zero-effect-operation-grid button.selected {
  border-color: #43b86a;
}
.zero-match-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 22px;
  width: min(100%, 400px);
  margin-top: 20px;
}
.zero-match-operations,
.zero-match-results {
  display: grid;
  gap: 9px;
}
.zero-match-operations button,
.zero-match-results button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 65px;
  border: 3px solid #b9dad4;
  border-radius: 19px;
  background: #fff;
  color: #164158;
  font-size: 25px;
  font-weight: 950;
}
.zero-match-operations button i {
  color: #df705a;
  font-style: normal;
}
.zero-match-operations button.active {
  border-color: #e9ae25;
  background: #fff7d8;
}
.zero-match-operations button.matched,
.zero-match-results button.matched {
  border-color: #43b86a;
  background: #e4f7e9;
  color: #087263;
}
.zero-effect-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  margin-top: 22px;
}
.zero-effect-path-grid button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  height: 94px;
  padding: 5px;
  border: 3px solid #badad4;
  border-radius: 17px;
  background: #fff;
  color: #345c56;
}
.zero-effect-path-grid button b {
  font-size: 13px;
}
.zero-effect-path-grid button small {
  font-size: 6px;
  font-weight: 950;
}
.zero-effect-path-grid button.visited {
  border-color: #0b8a7c;
  background: #0b8a7c;
  color: #fff;
}
.zero-effect-path-grid button.next {
  border-color: #eab42d;
  box-shadow: 0 0 0 7px #ffd24b42;
  animation: attentionGlow 0.75s infinite alternate;
}
.zero-effect-check-count {
  position: absolute;
  right: 17px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  border-radius: 18px;
  background: #0b8a7c;
  color: #fff;
  font-weight: 950;
}
.zero-effect-check-object {
  display: block;
  width: 150px;
  height: 170px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 7px 5px #173d3730);
}
.zero-effect-finish-board {
  text-align: center;
}
.zero-finish-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.zero-effect-finish-board h1 {
  margin: 0;
  color: #16433d;
  font-size: clamp(26px, 4vw, 40px);
}
.zero-effect-first-hint .zero-effect-object-group,
.zero-effect-first-hint .zero-effect-equation,
.zero-effect-first-hint .zero-effect-live-count {
  box-shadow: 0 0 0 8px #ffd34a38;
}
.zero-effect-board .hint-target {
  outline: 4px solid #f2ad20;
  outline-offset: 3px;
  box-shadow: 0 0 0 8px rgb(242 173 32/24%) !important;
}
.zero-effect-board .wrong-cell,
.lesson-footer .wrong-cell {
  border-color: #e26d59 !important;
  background: #fff0ec !important;
  box-shadow: 0 0 0 6px rgb(226 109 89/20%) !important;
}
.zero-effect-board .correct-cell {
  border-color: #43b86a !important;
  background: #e4f7e9 !important;
}

@media (max-width: 760px), (max-height: 760px) {
  .zero-effect-board {
    width: 100% !important;
    height: 100% !important;
    padding: 12px;
    border-radius: 24px;
  }
  .zero-effect-board > .board-kicker {
    left: 8px;
    top: 8px;
    padding: 4px 6px;
    font-size: 8px;
  }
  .zero-effect-scene-board {
    padding: 0;
  }
  .zero-effect-empty-scene-card {
    right: 3%;
    top: 29%;
    min-width: 118px;
    padding: 5px 7px;
    border-width: 2px;
  }
  .zero-effect-empty-scene-card.sale {
    top: 28%;
  }
  .zero-effect-empty-scene-card > i {
    width: 29px;
    height: 29px;
    font-size: 20px;
  }
  .zero-effect-empty-scene-card b {
    font-size: 9px;
  }
  .zero-effect-empty-scene-card small {
    font-size: 6px;
  }
  .zero-effect-live-count {
    bottom: 3%;
    gap: 4px;
    padding: 5px 7px;
    border-width: 2px;
  }
  .zero-effect-live-count b,
  .zero-effect-live-count strong {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .zero-effect-live-count small {
    font-size: 6px;
  }
  .zero-effect-live-count > i {
    font-size: 18px;
  }
  .zero-effect-rule-board,
  .zero-effect-practice-board,
  .zero-effect-vertical-board,
  .zero-effect-distinguish-board,
  .zero-effect-match-board,
  .zero-effect-path-board,
  .zero-effect-check-board,
  .zero-effect-finish-board {
    gap: 7px;
  }
  .zero-effect-concrete-rule,
  .zero-practice-model {
    gap: 5px;
    margin-top: 18px;
  }
  .zero-effect-concrete-rule > i,
  .zero-practice-model > i {
    font-size: 20px;
  }
  .zero-effect-concrete-rule > strong {
    min-width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .zero-effect-object-group {
    max-width: 210px;
    gap: 2px;
    padding: 4px;
  }
  .zero-effect-object-group img {
    width: 34px;
    height: 40px;
  }
  .zero-effect-object-group.dense img {
    width: 28px;
    height: 33px;
  }
  .zero-empty-frame {
    width: 52px;
    height: 57px;
    border-width: 2px;
  }
  .zero-empty-frame span {
    font-size: 25px;
  }
  .zero-empty-frame small {
    font-size: 6px;
  }
  .zero-effect-equation {
    gap: 5px;
    padding: 5px 8px;
  }
  .zero-effect-equation b,
  .zero-effect-equation strong {
    min-width: 38px;
    height: 38px;
    border-width: 2px;
    font-size: 21px;
  }
  .zero-effect-equation i {
    font-size: 18px;
  }
  .zero-effect-rule-equations {
    gap: 5px;
  }
  .zero-effect-rule-equations .zero-effect-equation b,
  .zero-effect-rule-equations .zero-effect-equation strong {
    min-width: 29px;
    height: 32px;
    font-size: 17px;
  }
  .zero-effect-rule-equations .zero-effect-equation i {
    font-size: 15px;
  }
  .zero-effect-concept-choices {
    gap: 6px;
  }
  .zero-effect-concept-choices button {
    grid-template-columns: 36px 1fr;
    gap: 5px;
    min-height: 54px;
    padding: 5px 7px;
    border-width: 2px;
  }
  .zero-effect-concept-choices button > i {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .zero-effect-concept-choices button b {
    font-size: 11px;
  }
  .zero-effect-concept-choices button small {
    font-size: 7px;
  }
  .zero-effect-answer-choices {
    gap: 7px;
  }
  .zero-effect-answer-choices button {
    min-width: 68px;
    height: 49px;
    padding: 3px 7px;
    border-width: 2px;
  }
  .zero-effect-answer-choices b {
    font-size: 21px;
  }
  .zero-effect-answer-choices small {
    font-size: 6px;
  }
  .zero-effect-complete-mark > span {
    width: 54px;
    height: 54px;
    font-size: 31px;
  }
  .zero-effect-complete-mark strong {
    font-size: 18px;
  }
  .zero-effect-vertical-options {
    gap: 9px;
  }
  .zero-effect-vertical-card {
    width: 112px;
    height: 138px;
    border-width: 3px;
    border-radius: 18px;
  }
  .zero-effect-vertical-card span {
    width: 73px;
    grid-template-columns: 21px 1fr;
  }
  .zero-effect-vertical-card span b {
    padding-right: 6px;
    font-size: 20px;
  }
  .zero-effect-vertical-card em {
    width: 67px;
    border-width: 3px;
  }
  .zero-effect-operation-grid {
    gap: 6px;
    margin-top: 18px;
  }
  .zero-effect-operation-grid button {
    min-height: 76px;
    padding: 6px;
    border-width: 2px;
  }
  .zero-effect-operation-grid button span,
  .zero-effect-operation-grid button strong {
    font-size: 19px;
  }
  .zero-effect-operation-grid button i {
    font-size: 15px;
  }
  .zero-effect-operation-grid button small {
    font-size: 6px;
  }
  .zero-match-layout {
    gap: 11px;
    width: min(100%, 310px);
    margin-top: 17px;
  }
  .zero-match-operations,
  .zero-match-results {
    gap: 6px;
  }
  .zero-match-operations button,
  .zero-match-results button {
    min-height: 49px;
    border-width: 2px;
    font-size: 19px;
  }
  .zero-effect-path-grid {
    gap: 4px;
    margin-top: 18px;
  }
  .zero-effect-path-grid button {
    height: 72px;
    padding: 3px;
    border-width: 2px;
    border-radius: 12px;
  }
  .zero-effect-path-grid button b {
    font-size: 10px;
  }
  .zero-effect-path-grid button small {
    font-size: 5px;
  }
  .zero-effect-check-count {
    right: 9px;
    top: 9px;
    width: 45px;
    height: 32px;
  }
  .zero-effect-check-object {
    width: 112px;
    height: 125px;
  }
  .zero-finish-pair {
    gap: 6px;
  }
  .zero-effect-finish-board h1 {
    font-size: 25px;
  }
}

/* Kalıcı cevap odağı: bütün derslerde yalnız gerçekten çalışan kontroller ışık verir. */
:where(.board-square, .lesson-footer) button:not([disabled]) {
  cursor: pointer;
  transition:
    outline-color 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    background-color 0.16s ease;
}
:where(.board-square, .lesson-footer)
  button:not([disabled]):is(:hover, :focus-visible) {
  outline: 4px solid #f2ad20;
  outline-offset: 3px;
  box-shadow:
    0 0 0 8px rgb(242 173 32 / 24%),
    0 10px 24px rgb(120 77 0 / 18%) !important;
  filter: brightness(1.06);
}
.lesson-footer:not(.choice-hover-armed)
  button:not([disabled]):hover:not(:focus-visible) {
  outline: 0;
  box-shadow: none !important;
  filter: none;
}
:where(.board-square, .lesson-footer) button:not([disabled]):active {
  outline-color: #e89500;
  box-shadow: 0 0 0 9px rgb(242 173 32 / 32%) !important;
}

/* 13-01-01 · Kenardan kenara PNG sahne ve yüzeye ankrajlı şeffaf PNG gezegenler. */
.equal-difference-discover-board {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.equal-difference-discover-board .board-kicker {
  z-index: 6;
}
.equal-difference-discover-board .planet-workshop {
  position: relative;
  display: block;
  width: min(100%, 410px);
  aspect-ratio: 1;
  flex: 0 1 auto;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--workshop-image) center / cover no-repeat;
  box-shadow: 0 14px 30px rgb(23 61 61 / 22%);
}
.equal-difference-discover-board .model-planet,
.equal-difference-discover-board .cart-planet {
  position: absolute;
  left: var(--planet-x);
  bottom: 60.8%;
  z-index: 3;
  display: block;
  width: 11.5%;
  height: 22%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}
.equal-difference-discover-board .model-planet::after {
  content: none;
}
.equal-difference-discover-board .model-planet img,
.equal-difference-discover-board .cart-planet {
  object-fit: contain;
}
.equal-difference-discover-board .model-planet img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.equal-difference-discover-board .cart-planet {
  bottom: 29.5%;
  z-index: 2;
}
.equal-difference-discover-board .planet-slot-1 {
  --planet-x: 24.3%;
}
.equal-difference-discover-board .planet-slot-2 {
  --planet-x: 34.5%;
}
.equal-difference-discover-board .planet-slot-3 {
  --planet-x: 45.5%;
}
.equal-difference-discover-board .planet-slot-4 {
  --planet-x: 56.5%;
}
.equal-difference-discover-board .planet-slot-5 {
  --planet-x: 67.7%;
}
.equal-difference-discover-board .planet-slot-6 {
  --planet-x: 78.8%;
}
.equal-difference-discover-board .model-planet.leaving {
  transform: translate(-50%, 143%) scale(0.82) rotate(5deg);
  opacity: 0.18;
}
.equal-difference-discover-board .model-planet.removed {
  display: none;
}
.equal-difference-discover-board .equal-difference-live-count {
  margin-top: 8px;
}

/* 13-03-02 ve 13-07-01 · cevap sonrası içerik pano içinde kalır. */
.equal-difference-concrete-board .empty-group-indicator.visible {
  width: 100%;
  max-height: 155px;
  margin: 38px auto 10px;
}
.leaf-album > img {
  display: block;
  width: min(86%, 180px);
  height: 150px;
  object-fit: contain;
}

@media (max-width: 760px), (max-height: 760px) {
  .equal-difference-discover-board .planet-workshop {
    width: min(100%, 326px);
    border-radius: 18px;
  }
  .equal-difference-discover-board .equal-difference-live-count {
    margin-top: 4px;
  }
  .equal-difference-concrete-board .empty-group-indicator.visible {
    min-height: 92px;
    max-height: 112px;
    margin: 28px auto 6px;
  }
  .equal-difference-concrete-board
    .empty-group-indicator.visible
    + .equal-difference-equation {
    margin: 0 auto 2px;
  }
  .equal-difference-problem-board .leaf-story {
    grid-template-columns: 1fr 24px 92px;
    gap: 4px;
    margin: 28px auto 5px;
  }
  .equal-difference-problem-board .leaf-basket {
    min-height: 178px;
    padding: 6px;
    border-width: 4px;
  }
  .equal-difference-problem-board .leaf-basket > div {
    gap: 1px;
    margin-top: 6px;
  }
  .equal-difference-problem-board .leaf-basket img {
    width: 34px;
  }
  .equal-difference-problem-board .leaf-album {
    min-height: 105px;
    border-width: 3px;
  }
  .equal-difference-problem-board .leaf-album > img {
    width: 84px;
    height: 72px;
  }
  .equal-difference-problem-board .leaf-album > strong {
    font-size: 8px;
  }
  .equal-difference-problem-board .leaf-arrow {
    font-size: 23px;
  }
  .equal-difference-problem-board > .equal-difference-equation {
    margin-top: 3px;
  }
}

/* Eş sayıların farkı: ders panosu dar ve kısa ekranlarda ilerleme düğmesini görünür bırakır. */
.equal-difference-discover-board,
.equal-difference-zero-board,
.equal-difference-concrete-board,
.equal-difference-rule-board,
.equal-difference-vertical-board,
.equal-difference-distinguish-board,
.equal-difference-problem-board,
.equal-difference-check-board,
.equal-difference-finish-board {
  position: relative;
  width: min(100%, 540px);
  height: min(100%, 540px);
  min-height: 0;
  justify-self: center;
}
.planet-workshop {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}
.planet-shelf {
  min-height: 280px;
  padding: 14px 16px 10px;
  border-width: 8px;
  border-bottom-width: 15px;
}
.planet-shelf > div {
  gap: 12px 7px;
  margin-top: 18px;
}
.model-planet {
  width: clamp(48px, 6vw, 64px);
}
.planet-cart {
  justify-self: center;
  width: 76%;
  min-height: 76px;
  padding: 7px 12px;
  border-width: 5px;
  border-top-width: 10px;
}
.planet-cart > div {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-planet {
  width: 27px;
}
.model-planet.leaving {
  transform: translateY(255px) scale(0.42) rotate(18deg);
}
.equal-difference-live-count {
  margin-top: 8px;
}
.equal-difference-live-count span {
  min-width: 76px;
  padding: 5px 7px;
}
.equal-difference-live-count b,
.equal-difference-live-count strong {
  font-size: 22px;
}

@media (max-width: 760px), (max-height: 760px) {
  .equal-difference-discover-board,
  .equal-difference-zero-board,
  .equal-difference-concrete-board,
  .equal-difference-rule-board,
  .equal-difference-vertical-board,
  .equal-difference-distinguish-board,
  .equal-difference-problem-board,
  .equal-difference-check-board,
  .equal-difference-finish-board {
    box-sizing: border-box;
    width: min(100%, 440px) !important;
    height: min(100%, 420px) !important;
    min-height: 0 !important;
    padding: 12px;
    overflow: hidden;
  }
  .equal-difference-discover-board .board-kicker,
  .equal-difference-concrete-board .board-kicker,
  .equal-difference-rule-board .board-kicker,
  .equal-difference-vertical-board .board-kicker,
  .equal-difference-distinguish-board .board-kicker,
  .equal-difference-problem-board .board-kicker,
  .equal-difference-check-board .board-kicker {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 8px;
    padding: 4px 6px;
    z-index: 4;
  }
  .planet-workshop {
    margin-top: 20px;
  }
  .planet-shelf {
    min-height: 195px;
  }
  .planet-shelf > div {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 9px;
  }
  .model-planet {
    width: 43px;
  }
  .planet-cart {
    min-height: 50px;
  }
  .model-planet.leaving {
    transform: translateY(182px) scale(0.33);
  }
  .equal-difference-live-count {
    gap: 4px;
    margin-top: 4px;
  }
  .equal-difference-live-count span {
    min-width: 65px;
    padding: 3px 5px;
  }
  .equal-difference-live-count small {
    font-size: 7px;
  }
  .equal-difference-live-count b,
  .equal-difference-live-count strong {
    font-size: 19px;
  }
  .equal-difference-live-count > i {
    font-size: 18px;
  }
  .equal-difference-object-row {
    min-height: 150px;
    margin: 25px auto 7px;
    padding: 10px;
    gap: 4px;
  }
  .equal-difference-object {
    width: 47px;
    height: 65px;
    padding: 2px;
  }
  .empty-group-indicator {
    min-height: 105px;
    margin: 14px auto;
  }
  .empty-group-indicator span {
    font-size: 48px;
  }
  .equal-difference-equation {
    gap: 5px;
  }
  .equal-difference-equation b,
  .equal-difference-equation strong {
    min-width: 48px;
    min-height: 48px;
    border-width: 2px;
    border-radius: 12px;
    font-size: 23px;
  }
  .equal-difference-equation i {
    font-size: 20px;
  }
  .equal-difference-example-strip {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 22px auto 7px;
  }
  .equal-difference-example-strip .equal-difference-equation {
    padding: 3px;
  }
  .equal-difference-example-strip .equal-difference-equation b,
  .equal-difference-example-strip .equal-difference-equation strong {
    min-width: 42px;
    min-height: 38px;
    font-size: 19px;
  }
  .equal-difference-example-strip .equal-difference-equation i {
    font-size: 18px;
  }
  .equal-difference-rule-choices {
    gap: 6px;
  }
  .equal-difference-rule-choices button {
    min-height: 62px;
    padding: 7px;
    border-width: 2px;
  }
  .equal-difference-rule-choices strong {
    font-size: 27px;
  }
  .equal-difference-vertical-board > .equal-difference-equation {
    margin: 32px auto 12px;
  }
  .equal-difference-vertical-options {
    gap: 8px;
  }
  .equal-difference-vertical-options > button {
    min-width: 120px;
    padding: 8px 17px;
    border-width: 2px;
  }
  .equal-difference-vertical-options span {
    grid-template-columns: 25px 1fr;
    font-size: 24px;
  }
  .equal-difference-operation-grid {
    gap: 6px;
    margin-top: 25px;
  }
  .equal-difference-operation-grid button {
    min-height: 88px;
    border-width: 2px;
  }
  .equal-difference-operation-grid b {
    font-size: 24px;
  }
  .equal-difference-operation-grid i {
    font-size: 20px;
  }
  .equal-difference-operation-grid small {
    font-size: 8px;
  }
  .leaf-story {
    grid-template-columns: 1fr 35px 105px;
    gap: 5px;
    margin: 22px auto 8px;
  }
  .leaf-basket {
    min-height: 255px;
    padding: 8px;
    border-width: 5px;
  }
  .leaf-basket > div {
    gap: 2px;
    margin-top: 12px;
  }
  .leaf-basket img {
    width: 41px;
  }
  .leaf-album {
    min-height: 150px;
    border-width: 3px;
  }
  .leaf-album span {
    font-size: 58px;
  }
  .leaf-arrow {
    font-size: 28px;
  }
  .equal-difference-problem-board.moving .leaf-basket img {
    transform: translate(285px, 15px) scale(0.24);
  }
  .check-object-sample {
    grid-template-columns: 75px auto;
    margin: 30px auto 12px;
  }
  .check-object-sample img {
    width: 75px;
    height: 75px;
  }
  .check-object-sample span {
    font-size: 27px;
  }
  .equal-difference-check-board .equal-difference-answer-choices {
    margin-top: 12px;
  }
}

/* Son katman: 13. ders PNG sahnesi eski çizim kurallarının tamamını geçersiz kılar. */
.equal-difference-discover-board {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.equal-difference-discover-board .planet-workshop {
  position: relative;
  display: block;
  width: min(100%, 410px);
  aspect-ratio: 1;
  flex: 0 1 auto;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--workshop-image) center/cover no-repeat;
  box-shadow: 0 14px 30px rgb(23 61 61/22%);
}
.equal-difference-discover-board .model-planet,
.equal-difference-discover-board .cart-planet {
  position: absolute;
  left: var(--planet-x);
  bottom: 60.8%;
  z-index: 3;
  display: block;
  width: 11.5%;
  height: 22%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}
.equal-difference-discover-board .model-planet::after {
  content: none;
}
.equal-difference-discover-board .model-planet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.equal-difference-discover-board .cart-planet {
  bottom: 29.5%;
  z-index: 2;
  object-fit: contain;
}
.equal-difference-discover-board .model-planet.leaving {
  transform: translate(-50%, 143%) scale(0.82) rotate(5deg);
  opacity: 0.18;
}
.equal-difference-discover-board .model-planet.removed {
  display: none;
}
.leaf-album > img {
  display: block;
  width: min(86%, 180px);
  height: 150px;
  object-fit: contain;
}
@media (max-width: 760px), (max-height: 760px) {
  .equal-difference-discover-board .planet-workshop {
    width: min(100%, 326px);
    margin: 0 auto;
    border-radius: 18px;
  }
  .equal-difference-discover-board .model-planet,
  .equal-difference-discover-board .cart-planet {
    width: 11.5%;
    height: 22%;
  }
  .equal-difference-discover-board .model-planet.leaving {
    transform: translate(-50%, 143%) scale(0.82) rotate(5deg);
  }
  .equal-difference-concrete-board .empty-group-indicator.visible {
    min-height: 92px;
    max-height: 112px;
    margin: 28px auto 6px;
  }
  .equal-difference-concrete-board
    .empty-group-indicator.visible
    + .equal-difference-equation {
    margin: 0 auto 2px;
  }
  .equal-difference-problem-board .leaf-story {
    grid-template-columns: 1fr 24px 92px;
    gap: 4px;
    margin: 28px auto 5px;
  }
  .equal-difference-problem-board .leaf-basket {
    min-height: 178px;
    padding: 6px;
    border-width: 4px;
  }
  .equal-difference-problem-board .leaf-basket > div {
    gap: 1px;
    margin-top: 6px;
  }
  .equal-difference-problem-board .leaf-basket img {
    width: 34px;
  }
  .equal-difference-problem-board .leaf-album {
    min-height: 105px;
    border-width: 3px;
  }
  .equal-difference-problem-board .leaf-album > img {
    width: 84px;
    height: 72px;
  }
  .equal-difference-problem-board .leaf-album > strong {
    font-size: 8px;
  }
  .equal-difference-problem-board .leaf-arrow {
    font-size: 23px;
  }
  .equal-difference-problem-board > .equal-difference-equation {
    margin-top: 3px;
  }
}
/* Zihinden çıkarma sonrasındaki derslerin tek ve sabit öğretmen destek alanı */
.teacher-wait-glow,
.universal-teacher-support button:hover,
.universal-teacher-support button:focus-visible {
  outline: 3px solid #f4b73a !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 8px rgba(244, 183, 58, 0.22) !important;
}
.universal-teacher-support {
  display: flex;
  gap: 8px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.universal-teacher-support button {
  min-height: 50px;
  min-width: 112px;
  border: 1px solid #9bcfc7;
  border-radius: 16px;
  background: #fff;
  color: #123f49;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  cursor: pointer;
}
.universal-teacher-support small {
  display: block;
  font-size: 10px;
  color: #52756f;
}
.lesson-support-dock {
  display: none;
  margin-top: 9px;
}
.lesson-support-dock:not(:empty) {
  display: block;
}
.lesson-support-dock .mental-subtraction-support,
.lesson-support-dock .universal-teacher-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}
.lesson-support-dock .mental-subtraction-support > button,
.lesson-support-dock .universal-teacher-support > button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 5px;
  min-width: 0;
  min-height: 52px;
  padding: 6px 7px;
  border: 1px solid #9bcfc7;
  border-radius: 15px;
  background: #fffdf7;
  color: #123f49;
  box-shadow: 0 5px 14px rgb(19 89 80/12%);
  cursor: pointer;
}
.lesson-support-dock button > span {
  grid-row: 1/3;
  font-size: 18px;
}
.lesson-support-dock button > b,
.lesson-support-dock button > small {
  justify-self: start;
  min-width: 0;
  line-height: 1.05;
  text-align: left;
}
.lesson-support-dock button > b {
  font-size: 12px;
}
.lesson-support-dock button > small {
  color: #52756f;
  font-size: 8px;
}
.lesson-support-dock .mental-subtraction-support > button:only-child,
.lesson-support-dock .universal-teacher-support > button:only-child {
  grid-column: 1/-1;
}
.lesson-continue-button {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  width: min(100%, 280px) !important;
  min-width: 240px !important;
  min-height: 58px !important;
  padding: 7px 8px 7px 17px !important;
  border-radius: 18px !important;
  box-shadow: 0 11px 22px rgb(8 127 116/22%);
}
.lesson-continue-button > b {
  font-size: 14px;
  text-align: left;
}
.lesson-continue-button > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 22px;
}
@media (max-width: 640px) {
  .lesson-continue-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
@media (max-height: 760px) and (min-width: 721px) {
  .lesson-avatar {
    height: 258px;
  }
  .teacher-bubble {
    min-height: 102px;
    padding: 14px;
    font-size: 13px;
  }
  .raise-hand {
    min-height: 60px;
    margin-top: 8px;
  }
  .lesson-support-dock {
    margin-top: 7px;
  }
  .lesson-support-dock .mental-subtraction-support > button,
  .lesson-support-dock .universal-teacher-support > button {
    min-height: 46px;
  }
  .talk-help {
    display: none;
  }
}
.late-theme-board {
  background: #eaf7f4;
  border: 1px solid #aed9d2;
  border-radius: 28px;
  padding: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 0;
}
.theme4-final-board.remediation-mode,
.late-theme-board.remediation-mode {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: center;
  gap: 9px;
}
.theme4-final-board.remediation-mode > :not(.teacher-remediation-panel),
.late-theme-board.remediation-mode > :not(.teacher-remediation-panel) {
  min-height: 0;
  max-height: 100%;
}
.teacher-remediation-panel {
  z-index: 8;
  box-sizing: border-box;
  width: min(96%, 610px);
  min-height: 108px;
  max-height: 170px;
  overflow: hidden;
  padding: 9px 13px;
  border: 3px solid #f1ad29;
  border-radius: 19px;
  background: #fff8dc;
  color: #17464f;
  box-shadow: 0 10px 22px rgb(91 66 8/15%);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.28s ease;
}
.teacher-remediation-panel.active {
  opacity: 1;
  transform: none;
}
.teacher-remediation-panel header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #8a5c00;
}
.teacher-remediation-panel header b {
  font-size: 13px;
}
.teacher-remediation-panel p {
  margin: 5px 0 0;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.support-step-flow,
.support-payment-model,
.support-data-question,
.support-tally-animation,
.support-join-split,
.support-graph-transform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.support-step-flow span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 11px;
  background: #e5f4f1;
  font-size: 10px;
  font-weight: 900;
}
.support-step-flow span b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #0b8c7d;
  color: #fff;
}
.support-step-flow i,
.support-payment-model i,
.support-data-question i,
.support-tally-animation i,
.support-join-split i,
.support-graph-transform i {
  color: #e87826;
  font-style: normal;
  font-weight: 950;
}
.support-balance-model {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: end;
  gap: 6px;
  width: min(100%, 370px);
  margin: auto;
}
.support-balance-model span {
  display: grid;
  place-items: center;
  padding: 5px;
  border-bottom: 5px solid #2ca091;
  border-radius: 10px;
  background: #e6f5f2;
}
.support-balance-model span small {
  font-size: 8px;
  font-weight: 950;
}
.support-balance-model span b {
  font-size: 21px;
}
.support-balance-model > i {
  font-size: 29px;
  font-style: normal;
  text-align: center;
}
.support-number-train {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.support-number-train > span,
.support-number-train > strong {
  padding: 6px 8px;
  border-radius: 9px;
  background: #0b8c7d;
  color: #fff;
  font-size: 8px;
}
.support-number-train > i {
  display: block;
  width: 24px;
  height: 19px;
  border-radius: 6px;
  background: #f2bb42;
  animation: supportTrainJoin 0.45s both;
  animation-delay: calc(var(--step) * 0.16s);
}
.support-part-whole {
  display: grid;
  gap: 4px;
  width: min(100%, 360px);
  margin: auto;
}
.support-part-whole > strong {
  padding: 6px;
  border-radius: 9px;
  background: #0b8c7d;
  color: #fff;
  text-align: center;
  font-size: 11px;
}
.support-part-whole > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.support-part-whole span {
  padding: 6px;
  border-radius: 9px;
  background: #ffe5b8;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}
.support-join-split b {
  padding: 5px 8px;
  border-radius: 9px;
  background: #eef7f5;
  font-size: 10px;
}
.support-conserve-model {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 3px;
}
.support-conserve-model > i {
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #45a995;
  animation: supportRedistribute 1.5s ease-in-out infinite;
  animation-delay: calc(var(--token) * 0.06s);
}
.support-conserve-model > span,
.support-conserve-model > strong {
  position: absolute;
  top: 27px;
  font-size: 8px;
}
.support-conserve-model > span {
  left: 16%;
}
.support-conserve-model > strong {
  right: 12%;
  color: #0a786d;
}
.support-payment-model span,
.support-payment-model b,
.support-payment-model strong,
.support-data-question span,
.support-data-question b,
.support-data-question strong {
  padding: 7px 9px;
  border-radius: 10px;
  background: #e4f4f1;
  font-size: 10px;
}
.support-payment-model strong,
.support-data-question strong {
  background: #0c8c7f;
  color: #fff;
}
.support-money-kind,
.support-shape-family {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.support-money-kind span,
.support-shape-family span {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 76px;
  padding: 6px;
  border: 2px solid #9bcfc7;
  border-radius: 11px;
  background: #fff;
  font-size: 24px;
}
.support-money-kind small,
.support-shape-family small {
  font-size: 8px;
  font-weight: 900;
}
.support-value-stairs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}
.support-value-stairs span,
.support-value-stairs strong {
  display: grid;
  place-items: center;
  width: 45px;
  border-radius: 8px 8px 3px 3px;
  background: #43a898;
  color: #fff;
  font-size: 11px;
}
.support-value-stairs span:nth-child(1) {
  height: 24px;
}
.support-value-stairs span:nth-child(2) {
  height: 34px;
}
.support-value-stairs span:nth-child(3) {
  height: 44px;
}
.support-budget-bar {
  position: relative;
  width: min(90%, 390px);
  height: 34px;
  margin: auto;
  border: 3px solid #0b8c7d;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.support-budget-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  background: #f6c75c;
  animation: supportBudgetFill 1.2s ease both;
}
.support-budget-bar > b,
.support-budget-bar > strong {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  font-size: 8px;
}
.support-budget-bar > b {
  left: 8px;
}
.support-budget-bar > strong {
  right: 7px;
}
.support-shape-trace {
  position: relative;
  width: 90px;
  height: 58px;
  margin: auto;
  border: 5px solid #4299dd;
}
.support-shape-trace > i {
  position: absolute;
  inset: -5px;
  border: 5px solid #f4b73a;
  animation: supportEdgeTrace 2s linear infinite;
}
.support-shape-trace > b {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ef6d58;
  box-shadow: 0 0 0 4px #fff;
  animation: supportCornerPulse 1.2s infinite;
  animation-delay: calc(var(--corner) * 0.18s);
}
.support-shape-trace > b:nth-of-type(1) {
  left: -9px;
  top: -9px;
}
.support-shape-trace > b:nth-of-type(2) {
  right: -9px;
  top: -9px;
}
.support-shape-trace > b:nth-of-type(3) {
  right: -9px;
  bottom: -9px;
}
.support-shape-trace > b:nth-of-type(4) {
  left: -9px;
  bottom: -9px;
}
.support-tally-animation span,
.support-tally-animation strong {
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  letter-spacing: 5px;
}
.support-tally-animation strong {
  color: #7358c4;
}
.support-graph-transform > span {
  letter-spacing: 5px;
}
.support-graph-transform > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.support-graph-transform b {
  display: block;
  width: 38px;
  height: 13px;
  border-radius: 4px;
  background: #4eaa9b;
  animation: supportGraphRise 0.5s both;
}
.support-graph-transform b:nth-child(2) {
  animation-delay: 0.18s;
}
.support-graph-transform b:nth-child(3) {
  animation-delay: 0.36s;
}
.late-theme-board.remediation-mode {
  padding: 12px;
}
.late-theme-board.remediation-mode .teacher-remediation-panel {
  min-height: 78px;
  max-height: 104px;
  padding: 6px 10px;
}
.late-theme-board.remediation-mode .teacher-remediation-panel header {
  margin-bottom: 4px;
}
.late-theme-board.remediation-mode .late-theme-task {
  gap: 7px;
}
.late-theme-board.remediation-mode .late-theme-question {
  padding: 8px 12px;
}
.late-theme-board.remediation-mode .money-payment-scene > img {
  height: min(18vh, 160px);
}
@keyframes supportTrainJoin {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes supportRedistribute {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(calc((var(--token) - 4.5) * 2px)) translateY(5px);
  }
}
@keyframes supportBudgetFill {
  from {
    width: 0;
  }
  to {
    width: var(--fill);
  }
}
@keyframes supportEdgeTrace {
  0%,
  100% {
    clip-path: inset(0 100% 92% 0);
  }
  25% {
    clip-path: inset(0 0 92% 0);
  }
  50% {
    clip-path: inset(0 0 0 92%);
  }
  75% {
    clip-path: inset(92% 0 0 0);
  }
}
@keyframes supportCornerPulse {
  50% {
    transform: scale(1.35);
    box-shadow: 0 0 0 7px #ffe5a5;
  }
}
@keyframes supportGraphRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lesson-task-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  width: min(92%, 560px);
  padding: 9px 13px;
  border: 2px solid #efb331;
  border-radius: 16px;
  background: #fff8dc;
  color: #16433d;
  box-shadow: 0 8px 18px rgb(37 91 78/13%);
  text-align: left;
}
.lesson-task-result > b {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 42px;
  border-radius: 12px;
  background: #15947f;
  color: #fff;
  font-size: 14px;
}
.lesson-task-result > span {
  font-size: 13px;
  font-weight: 900;
}
.lesson-task-result > small {
  color: #5d766f;
  font-size: 9px;
  font-weight: 800;
}
.late-theme-board:has(.lesson-task-result),
.theme4-final-board:has(.lesson-task-result) {
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
}
.late-theme-board:has(.lesson-task-result) > :first-child,
.theme4-final-board:has(.lesson-task-result) > :first-child {
  height: 100%;
  min-height: 0;
}
.late-theme-scene,
.late-theme-task,
.money-order,
.money-compose,
.money-budget,
.corner-lab,
.shape-route,
.data-count-lab,
.graph-builder {
  width: min(100%, 720px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 0;
}
.late-theme-image {
  width: min(62%, 420px);
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #d9eeea;
  box-shadow: 0 14px 30px rgba(16, 64, 57, 0.14);
}
.late-theme-image img,
.late-theme-task > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.late-theme-task > img {
  max-height: 270px;
  object-fit: contain;
  border-radius: 22px;
}
.late-theme-task > span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #0e7f70;
}
.late-theme-visual-focus {
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  min-height: 0;
}
.late-theme-visual-focus > * {
  max-width: 100%;
}
.late-theme-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #fff;
  border: 2px solid #b9ddd7;
  border-radius: 20px;
  padding: 14px 18px;
  text-align: center;
}
.late-theme-question b {
  font-size: clamp(17px, 2.2vw, 25px);
  color: #143f50;
}
.late-theme-question strong {
  min-width: 64px;
  min-height: 54px;
  border-radius: 15px;
  background: #e1f2ef;
  color: #087b6e;
  display: grid;
  place-items: center;
  font-size: 25px;
  padding: 4px 12px;
}
.late-theme-task small {
  font-size: 12px;
  color: #466b67;
  text-align: center;
}
.late-theme-finish {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 740px;
}
.late-theme-finish > div {
  width: 132px;
  min-height: 110px;
  background: #fff;
  border: 2px solid #b9ddd7;
  border-radius: 20px;
  display: grid;
  place-items: center;
  padding: 10px;
}
.late-theme-finish span {
  font-size: 42px;
  color: #07897c;
  font-weight: 900;
}
.late-theme-finish b {
  font-size: 12px;
  color: #143f50;
}
.late-theme-finish h1,
.late-theme-finish p {
  width: 100%;
  margin: 4px 0;
  color: #143f50;
}
.money-purpose-flow,
.data-flow,
.shape-strip,
.route-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.money-purpose-flow span,
.data-flow span {
  background: #fff;
  border: 2px solid #9ed5cc;
  border-radius: 14px;
  padding: 10px 15px;
  font-weight: 900;
  color: #116a61;
}
.animated-concept-flow {
  position: relative;
}
.animated-concept-flow span {
  display: flex;
  align-items: center;
  gap: 6px;
  animation: conceptStepGlow 4.8s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.8s);
}
.animated-concept-flow span:nth-of-type(1) {
  --step: 0;
}
.animated-concept-flow span:nth-of-type(2) {
  --step: 1;
}
.animated-concept-flow span:nth-of-type(3) {
  --step: 2;
}
.animated-concept-flow span:nth-of-type(4) {
  --step: 3;
}
.animated-concept-flow span > b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0b8c7d;
  color: #fff;
  font-size: 10px;
}
.money-purpose-flow > em {
  position: absolute;
  left: 11%;
  bottom: -12px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f2b536;
  color: #704900;
  font-size: 18px;
  font-style: normal;
  font-weight: 950;
  animation: moneyConceptCoin 4.8s ease-in-out infinite;
}
.money-purpose-flow span.spoken-active,
.data-flow span.spoken-active,
.geometry-concept-demo span.spoken-active,
.interpret-demo-path span.spoken-active,
.interpret-demo-path b.spoken-active,
.interpret-demo-path strong.spoken-active {
  border-color: #f2ad20 !important;
  background: #fff3c9 !important;
  box-shadow: 0 0 0 7px rgb(242 173 32/22%);
  transform: translateY(-3px);
}
.geometry-concept-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 440px);
}
.geometry-concept-demo > span {
  position: relative;
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 112px;
  padding: 10px;
  border: 3px solid #a9d7cf;
  border-radius: 20px;
  background: #fff;
  transition: 0.2s;
  overflow: hidden;
}
.geometry-concept-demo small {
  color: #315e59;
  font-size: 10px;
  font-weight: 950;
}
.geometry-concept-demo b {
  position: relative;
  display: block;
  width: 66px;
  height: 66px;
  margin: 3px;
  color: #11897b;
}
.geometry-outline-square {
  border: 7px solid #459add;
  border-radius: 5px;
}
.geometry-outline-circle {
  border: 7px solid #459add;
  border-radius: 50%;
}
.geometry-outline-square > em {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ef6d58;
  box-shadow: 0 0 0 3px #fff;
}
.geometry-outline-square > em:nth-of-type(1) {
  left: -10px;
  top: -10px;
}
.geometry-outline-square > em:nth-of-type(2) {
  right: -10px;
  top: -10px;
}
.geometry-outline-square > em:nth-of-type(3) {
  right: -10px;
  bottom: -10px;
}
.geometry-outline-square > em:nth-of-type(4) {
  left: -10px;
  bottom: -10px;
}
.geometry-teacher-model {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 11px;
  width: min(98%, 650px);
  height: 100%;
  min-height: 0;
  padding: 13px;
  border: 3px solid #b4ddd6;
  border-radius: 25px;
  background: #f8fffd;
  color: #164554;
  box-sizing: border-box;
  overflow: hidden;
}
.geometry-teacher-model .board-kicker {
  font-size: 11px;
  text-align: center;
}
.geometry-teacher-model [data-sync-label] {
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.geometry-teacher-model [data-sync-label].spoken-active {
  border-color: #efa91e !important;
  background: #fff1c7 !important;
  box-shadow: 0 0 0 7px rgb(239 169 30/22%);
  transform: translateY(-2px);
}
.geometry-boundary-model {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(100%, 520px);
}
.geometry-boundary-model > section {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 190px;
  padding: 11px;
  border: 3px solid #acd8d1;
  border-radius: 21px;
  background: #fff;
  text-align: center;
}
.geometry-boundary-model > i {
  color: #e87628;
  font-size: 25px;
  font-style: normal;
  font-weight: 950;
}
.geometry-boundary-model b {
  font-size: 14px;
}
.geometry-boundary-model small {
  font-size: 9px;
  font-weight: 850;
}
.geometry-object-boundary {
  display: grid;
  place-items: center;
  width: 128px;
  height: 104px;
  padding: 7px;
  border: 7px solid #459add;
  background: #edf8f6;
  box-sizing: border-box;
}
.geometry-object-boundary.round {
  width: 112px;
  height: 112px;
  border-radius: 50%;
}
.geometry-object-boundary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.geometry-name-model {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}
.geometry-name-model > section {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 180px;
  padding: 10px;
  border: 3px solid #acd8d1;
  border-radius: 19px;
  background: #fff;
  text-align: center;
}
.geometry-name-model .shape {
  transform: scale(0.85);
}
.geometry-name-model b {
  font-size: 12px;
}
.geometry-name-model small {
  font-size: 9px;
  font-weight: 850;
  color: #486e68;
}
.geometry-property-model {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  width: 100%;
}
.geometry-property-model > section {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 195px;
  padding: 9px;
  border: 3px solid #acd8d1;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.geometry-property-model > section > div {
  display: grid;
  place-items: center;
  height: 82px;
}
.geometry-property-model .shape {
  transform: scale(0.78);
}
.geometry-property-model b {
  font-size: 11px;
}
.geometry-property-model span,
.geometry-property-model strong {
  width: 100%;
  padding: 5px;
  border-radius: 9px;
  background: #e7f5f2;
  font-size: 9px;
  box-sizing: border-box;
}
.geometry-property-model strong {
  background: #fff0cf;
  color: #74530a;
}
@media (max-width: 820px), (max-height: 760px) {
  .geometry-teacher-model {
    gap: 6px;
    padding: 8px;
  }
  .geometry-boundary-model > section {
    min-height: 135px;
    padding: 6px;
  }
  .geometry-object-boundary {
    width: 90px;
    height: 73px;
    border-width: 5px;
  }
  .geometry-object-boundary.round {
    width: 78px;
    height: 78px;
  }
  .geometry-name-model,
  .geometry-property-model {
    gap: 5px;
  }
  .geometry-name-model > section {
    min-height: 130px;
    padding: 5px;
  }
  .geometry-name-model .shape {
    transform: scale(0.66);
  }
  .geometry-property-model > section {
    min-height: 145px;
    padding: 5px;
  }
  .geometry-property-model > section > div {
    height: 58px;
  }
  .geometry-property-model .shape {
    transform: scale(0.58);
  }
}
@media (max-width: 620px) {
  .geometry-teacher-model {
    width: 100%;
    border-width: 2px;
    border-radius: 18px;
  }
  .geometry-teacher-model .board-kicker {
    font-size: 8px;
  }
  .geometry-boundary-model {
    gap: 5px;
  }
  .geometry-boundary-model > section {
    min-height: 119px;
  }
  .geometry-boundary-model > i {
    font-size: 17px;
  }
  .geometry-boundary-model b {
    font-size: 10px;
  }
  .geometry-boundary-model small {
    font-size: 7px;
  }
  .geometry-object-boundary {
    width: 72px;
    height: 60px;
    border-width: 4px;
  }
  .geometry-object-boundary.round {
    width: 63px;
    height: 63px;
  }
  .geometry-name-model > section {
    min-height: 111px;
    padding: 3px;
  }
  .geometry-name-model .shape {
    transform: scale(0.48);
    margin: -16px;
  }
  .geometry-name-model b {
    font-size: 8px;
  }
  .geometry-name-model small {
    font-size: 7px;
  }
  .geometry-property-model > section {
    min-height: 118px;
    padding: 3px;
  }
  .geometry-property-model > section > div {
    height: 43px;
  }
  .geometry-property-model .shape {
    transform: scale(0.43);
    margin: -20px;
  }
  .geometry-property-model b {
    font-size: 8px;
  }
  .geometry-property-model span,
  .geometry-property-model strong {
    padding: 3px;
    font-size: 7px;
  }
}
.data-concept-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 72px;
  padding: 7px 12px;
  border: 2px solid #abd8d1;
  border-radius: 17px;
  background: #fff;
}
.data-concept-motion > section {
  display: flex;
  gap: 4px;
}
.data-concept-motion > section i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #3f9ed2;
}
.data-concept-motion > b {
  color: #e77628;
  font-size: 21px;
}
.data-concept-motion > strong {
  color: #7657ca;
  font-size: 24px;
  letter-spacing: 3px;
}
.data-concept-motion > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.data-concept-motion > div span {
  width: 39px;
  height: 9px;
  border-radius: 4px;
  background: #4eaa9b;
}
.data-teacher-model {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: min(98%, 670px);
  height: 100%;
  min-height: 0;
  padding: 13px;
  border: 3px solid #b4ddd6;
  border-radius: 25px;
  background: #f8fffd;
  color: #164554;
  box-sizing: border-box;
  overflow: hidden;
}
.data-teacher-model .board-kicker {
  font-size: 11px;
  text-align: center;
}
.data-teacher-model > p {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
.data-teacher-model [data-sync-label] {
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.data-teacher-model [data-sync-label].spoken-active {
  border-color: #efa91e !important;
  background: #fff1c7 !important;
  box-shadow: 0 0 0 6px rgb(239 169 30/22%);
  transform: translateY(-2px);
}
.data-decision-card {
  display: grid;
  gap: 7px;
  width: min(94%, 540px);
  padding: 12px 16px;
  border: 2px solid #86c9bf;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.data-decision-card b {
  font-size: 18px;
}
.data-decision-card span {
  color: #0a8175;
  font-size: 14px;
  font-weight: 950;
}
.data-vote-story {
  display: grid;
  grid-template-columns: repeat(5, minmax(68px, 1fr));
  gap: 7px;
  width: min(100%, 590px);
}
.data-vote-story section {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 88px;
  padding: 7px;
  border: 2px solid #8ecbd2;
  border-radius: 14px;
  background: #fff;
}
.data-vote-story section.yellow {
  border-color: #e8c65a;
}
.data-vote-story section > i {
  display: block;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #ffd5ad 0 27%, transparent 28%),
    linear-gradient(135deg, #3e9ad0 0 50%, #f8b24b 50%);
  box-shadow: inset 0 -4px 0 rgb(0 0 0/8%);
}
.data-vote-story b {
  font-size: 11px;
}
.data-vote-story small {
  padding: 3px 6px;
  border-radius: 8px;
  background: #e2f3fb;
  color: #176c9c;
  font-size: 9px;
  font-weight: 950;
}
.data-vote-story .yellow small {
  background: #fff4c9;
  color: #85630d;
}
.data-answer-transform {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr;
  align-items: center;
  gap: 6px;
  width: min(100%, 610px);
}
.data-answer-transform > section {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 65px;
  padding: 7px;
  border: 2px solid #aad7d0;
  border-radius: 13px;
  background: #fff;
}
.data-answer-transform > i {
  color: #e67628;
  font-style: normal;
  font-weight: 950;
}
.data-answer-transform strong {
  font-size: 25px;
  color: #0b8074;
}
.data-mini-votes {
  display: flex;
  gap: 4px;
}
.data-mini-votes i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #419dd0;
}
.data-answer-transform.yellow .data-mini-votes i,
.data-mini-votes.yellow i {
  background: #efbd3e;
}
.data-mini-graph {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 82px;
  padding: 5px 8px;
  border-left: 3px solid #244f5b;
  border-bottom: 3px solid #244f5b;
  background: #fff;
}
.data-mini-graph span {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 54px;
  height: calc(var(--h) * 15px);
  padding-bottom: 3px;
  border-radius: 6px 6px 0 0;
  background: repeating-linear-gradient(
    to top,
    #4da89b 0 11px,
    #d8f2ed 11px 15px
  );
  font-size: 8px;
  font-weight: 950;
}
.data-mini-graph span.yellow {
  background: repeating-linear-gradient(
    to top,
    #efbd3e 0 11px,
    #fff1bc 11px 15px
  );
}
.data-mini-graph span.blue {
  background: repeating-linear-gradient(
    to top,
    #3f9ed2 0 11px,
    #dceff9 11px 15px
  );
}
.data-question-model {
  display: grid;
  grid-template-columns: minmax(135px, 0.8fr) 28px minmax(210px, 1.2fr);
  align-items: center;
  gap: 7px;
  width: min(100%, 620px);
}
.data-question-model > section {
  display: grid;
  gap: 4px;
  padding: 9px 11px;
  border: 2px solid #abd7d0;
  border-radius: 14px;
  background: #fff;
}
.data-question-model > section.good {
  border-color: #36a895;
  background: #e9f8f5;
}
.data-question-model > i {
  color: #0b8c7d;
  font-size: 24px;
  font-style: normal;
  text-align: center;
}
.data-question-model.wrong > i {
  color: #db7640;
}
.data-question-model.wrong > section:last-child {
  border-color: #e5a98a;
  background: #fff2ea;
}
.data-question-model small {
  font-size: 8px;
  font-weight: 950;
  color: #0b8074;
}
.data-question-model b {
  font-size: 11px;
}
.data-question-model em {
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  color: #45656d;
}
.data-frequency-model {
  display: grid;
  grid-template-columns: 1fr 25px 1fr;
  gap: 7px;
  width: min(100%, 560px);
}
.data-frequency-model > section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
  min-height: 54px;
  padding: 8px 11px;
  border: 2px solid #afd8d1;
  border-radius: 13px;
  background: #fff;
}
.data-frequency-model > section:nth-of-type(1) {
  grid-column: 1;
}
.data-frequency-model > section:nth-of-type(2) {
  grid-column: 3;
}
.data-frequency-model > section:nth-of-type(3) {
  grid-column: 1;
}
.data-frequency-model > section:nth-of-type(4) {
  grid-column: 3;
}
.data-frequency-model > i {
  align-self: center;
  color: #e57629;
  font-style: normal;
  font-weight: 950;
  text-align: center;
}
.data-frequency-model > i:nth-of-type(1) {
  grid-column: 2;
  grid-row: 1;
}
.data-frequency-model > i:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}
.data-frequency-model strong {
  font-size: 24px;
  color: #0a8174;
}
.tally-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  color: #7657ca;
}
.tally-five,
.tally-singles {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 5px !important;
  background: transparent !important;
}
.tally-five i,
.tally-singles i {
  display: block;
  width: 4px;
  height: 38px;
  border-radius: 3px;
  background: #7657ca;
}
.tally-five b {
  position: absolute;
  left: 1px;
  top: 18px;
  width: 49px;
  height: 4px;
  border-radius: 3px;
  background: #e77728;
  transform: rotate(-34deg);
  transform-origin: center;
}
.data-tally-teacher {
  display: flex;
  align-items: center;
  gap: 26px;
}
.data-tally-teacher > section {
  position: relative;
  display: flex;
  gap: 10px;
  width: 145px;
  height: 105px;
  padding: 5px 14px;
  border: 2px solid #b6dcd6;
  border-radius: 15px;
  background: #fff;
}
.data-tally-teacher section > i {
  display: block;
  width: 7px;
  height: 92px;
  border-radius: 5px;
  background: #7257c5;
}
.data-tally-teacher section > b {
  position: absolute;
  left: 9px;
  top: 49px;
  width: 128px;
  height: 8px;
  border-radius: 5px;
  background: #e77728;
  transform: rotate(-32deg);
}
.data-tally-teacher > strong {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0b8c7d;
  color: #fff;
  font-size: 29px;
}
.data-tally-rule {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
}
.data-tally-rule span,
.data-tally-rule b {
  padding: 7px 9px;
  border-radius: 10px;
  background: #e6f4f1;
  font-size: 10px;
}
.data-tally-rule i {
  color: #e77728;
  font-style: normal;
  font-weight: 950;
}
.data-graph-build-model,
.data-compare-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  width: min(100%, 570px);
}
.data-graph-build-model > section {
  display: grid;
  gap: 7px;
}
.data-graph-build-model > section span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-width: 120px;
  padding: 8px 11px;
  border: 2px solid #abd7d0;
  border-radius: 12px;
  background: #fff;
}
.data-graph-build-model > section strong {
  font-size: 20px;
  color: #087f72;
}
.data-graph-build-model > i {
  color: #e77728;
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}
.data-compare-model > section {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid #afd8d1;
  border-radius: 15px;
  background: #fff;
}
.data-compare-model > section b,
.data-compare-model > section strong {
  font-size: 24px;
}
.data-compare-model > section i {
  color: #e77728;
  font-style: normal;
  font-weight: 950;
}
.data-compare-model > section small {
  grid-column: 1/-1;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}
.interpret-demo-path {
  position: absolute;
  left: 50%;
  bottom: 78px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(92%, 470px);
  padding: 9px;
  border: 3px solid #fff;
  border-radius: 18px;
  background: #fffffff0;
  box-shadow: 0 9px 22px rgb(25 75 68/20%);
}
.interpret-demo-path span,
.interpret-demo-path b,
.interpret-demo-path strong {
  padding: 7px 9px;
  border: 2px solid #a9d7cf;
  border-radius: 11px;
  background: #e5f4f1;
  color: #164554;
  font-size: 12px;
  transition: 0.2s;
}
.interpret-demo-path strong {
  background: #0c8b7d;
  color: #fff;
}
.interpret-demo-path i {
  color: #e46e56;
  font-style: normal;
  font-weight: 950;
}
.interpret-concept-intro,
.interpret-join-split-demo {
  display: grid;
  place-items: center;
  gap: 13px;
  width: min(96%, 600px);
  padding: 18px;
  border: 3px solid #b8ddd6;
  border-radius: 26px;
  background: #fff;
}
.interpret-concept-intro h1 {
  margin: 0;
  color: #153f51;
  font-size: clamp(18px, 2.3vw, 27px);
  line-height: 1.3;
  text-align: center;
}
.interpret-concept-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
}
.interpret-concept-route > span,
.interpret-concept-route > strong {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 88px;
  min-height: 67px;
  padding: 7px;
  border: 3px solid #a7d5cd;
  border-radius: 17px;
  background: #e5f4f1;
  color: #15495a;
}
.interpret-concept-route > strong {
  background: #0b8c7d;
  color: #fff;
  animation: interpretWholePulse 2.2s ease-in-out infinite;
}
.interpret-concept-route b {
  font-size: 25px;
}
.interpret-concept-route small {
  font-size: 8px;
  font-weight: 950;
}
.interpret-concept-route > i {
  color: #ef735d;
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}
.interpret-concept-route.reverse > span {
  background: #fff0d7;
  border-color: #efc077;
}
.join-split-parts {
  display: flex;
  gap: 70px;
}
.join-split-parts section,
.join-split-whole {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 66px;
  padding: 9px 13px;
  border: 3px solid #b3dcd5;
  border-radius: 18px;
  background: #eef8f6;
}
.join-split-parts section i,
.join-split-whole i {
  display: block;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #f19a42;
  box-shadow: inset 0 -5px rgba(0, 0, 0, 0.08);
}
.join-split-parts .part-b i,
.join-split-whole i:nth-of-type(n + 4) {
  background: #38a99a;
}
.join-split-parts section {
  animation: interpretPartJoin 2.6s ease-in-out infinite;
}
.join-split-parts .part-a {
  --join: 42px;
}
.join-split-parts .part-b {
  --join: -42px;
}
.join-split-parts b,
.join-split-whole b {
  margin-left: 5px;
  color: #15495a;
  font-size: 24px;
}
.join-split-arrow {
  color: #e77a28;
  font-size: 23px;
  font-weight: 950;
  text-align: center;
}
.join-split-arrow small {
  display: block;
  font-size: 8px;
}
.join-split-whole {
  animation: interpretWholeReveal 2.6s ease-in-out infinite;
}
.join-split-equations {
  display: flex;
  gap: 8px;
}
.join-split-equations span {
  padding: 7px 11px;
  border-radius: 11px;
  background: #e5f4f1;
  color: #0c776b;
  font-size: 15px;
  font-weight: 950;
}
.visual-family-motion > section {
  animation: interpretVisualSplit 2.3s ease-in-out both;
}
.visual-family-motion > section:first-child {
  --split: -42px;
}
.visual-family-motion > section:nth-child(2) {
  --split: 42px;
}
.visual-family-motion .theme4-object-group span {
  animation: interpretTokenReveal 0.42s both;
  animation-delay: calc(var(--i, 0) * 0.05s);
}
.conserve-live-demo {
  display: grid;
  place-items: center;
  gap: 14px;
  width: min(96%, 610px);
}
.conserve-trays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.conserve-trays section {
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 150px;
  padding: 25px 10px 10px;
  border: 6px solid #b6dcd5;
  border-top-width: 3px;
  border-radius: 12px 12px 30px 30px;
  background: #fff;
}
.conserve-trays small {
  position: absolute;
  top: 5px;
  color: #48716c;
  font-size: 8px;
  font-weight: 950;
}
.conserve-trays i {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #3aa99a;
  box-shadow: inset 0 -6px rgba(0, 0, 0, 0.08);
}
.conserve-live-demo.moving .conserve-trays section:first-child i.traveller {
  position: relative;
  z-index: 20;
  animation: none;
}
.conserve-trays i.arrival-slot {
  border: 2px dashed #58b7a8;
  background: transparent;
  box-shadow: none;
  opacity: 0.55;
}
.conserve-trays i.arrival-slot.filled {
  border-color: #3aa99a;
  background: #3aa99a;
  box-shadow: inset 0 -6px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
.conserve-counter {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 13px;
  border-radius: 15px;
  background: #fff;
}
.conserve-counter span,
.conserve-counter strong {
  font-size: 10px;
}
.conserve-counter b {
  font-size: 25px;
  color: #0b8c7d;
}
.conserve-counter i {
  color: #ed725d;
  font-style: normal;
  font-size: 20px;
}
.inverse-return-reveal {
  transition: opacity 0.3s ease;
}
.equality-return-set .equality-return-token {
  position: relative;
}
.interpret-target-model {
  display: grid;
  place-items: center;
  gap: 12px;
  width: min(96%, 590px);
  padding: 14px;
  border: 3px solid #b4dcd5;
  border-radius: 24px;
  background: #fff;
}
.interpret-model-tokens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 540px;
  min-height: 66px;
  padding: 10px;
  border-radius: 19px;
  background: #eaf7f4;
}
.interpret-model-tokens > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 2px solid #9bcfc6;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.interpret-model-tokens img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.interpret-model-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.interpret-model-route > span,
.interpret-model-route > strong {
  display: grid;
  place-items: center;
  min-width: 72px;
  min-height: 55px;
  padding: 6px;
  border-radius: 15px;
  background: #e5f4f1;
  color: #164554;
  font-size: 23px;
  font-weight: 950;
}
.interpret-model-route > strong {
  background: #0c8b7d;
  color: #fff;
}
.interpret-model-route small {
  font-size: 7px;
}
.interpret-model-route > i,
.interpret-model-route > div > i {
  color: #ea755d;
  font-style: normal;
  font-weight: 950;
}
.interpret-model-route > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.interpret-model-route > div b {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #fff3cf;
  color: #164554;
  font-size: 13px;
}
.interpret-model-route > div strong {
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #f2b42d;
  color: #164554;
}
.interpret-model-equation,
.interpret-puzzle-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 15px;
  background: #fff;
  color: #164554;
  font-size: 14px;
  font-weight: 900;
}
.interpret-model-equation i,
.interpret-puzzle-rule i {
  color: #ec705a;
  font-style: normal;
}
.interpret-model-equation strong,
.interpret-puzzle-rule strong {
  color: #0b8275;
}
.interpret-puzzle-rule {
  margin-top: 8px;
}
.interpret-inverse-demo {
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(94%, 500px);
  padding: 18px;
  border: 3px solid #b4dcd5;
  border-radius: 24px;
  background: #fff;
}
.interpret-inverse-demo > div {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 380px);
  padding: 11px;
  border-radius: 17px;
  background: #e7f5f2;
  color: #164554;
}
.interpret-inverse-demo > div > * {
  flex: 1;
  text-align: center;
}
.interpret-inverse-demo > div b,
.interpret-inverse-demo > div strong {
  font-size: 25px;
}
.interpret-inverse-demo > div i {
  color: #ed7059;
  font-style: normal;
  font-weight: 950;
}
.interpret-inverse-demo > em {
  color: #e9792d;
  font-size: 25px;
  font-style: normal;
  font-weight: 950;
}
.interpret-inverse-demo > p {
  margin: 0;
  color: #0b8073;
  font-weight: 900;
}
.interpret-story-thinking {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  width: min(96%, 590px);
  margin-top: 10px;
}
.interpret-story-thinking > span,
.interpret-story-thinking > strong {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 9px;
  border: 3px solid #b5dbd4;
  border-radius: 15px;
  background: #fff;
  color: #164554;
  font-size: 12px;
  text-align: center;
}
.interpret-story-thinking > strong {
  background: #0c8b7d;
  color: #fff;
}
.interpret-story-thinking small {
  font-size: 7px;
}
.interpret-story-thinking > i {
  align-self: center;
  color: #ed7059;
  font-style: normal;
  font-weight: 950;
}
.model-strip {
  margin: 8px 0 0;
}
.money-payment-scene {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 7px;
  width: min(100%, 480px);
  min-height: 0;
}
.money-payment-scene > img {
  display: block;
  width: 100%;
  height: min(29vh, 245px);
  object-fit: cover;
  border-radius: 20px;
  background: #d9eeea;
}
.money-payment-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.money-payment-flow span,
.money-payment-flow b,
.money-payment-flow strong {
  padding: 7px 10px;
  border: 2px solid #9ed5cc;
  border-radius: 11px;
  background: #fff;
  color: #14675f;
  font-size: 10px;
}
.money-payment-flow span {
  animation: moneyPayMove 2.8s ease-in-out infinite;
}
.money-payment-flow strong {
  animation: moneyProductMove 2.8s ease-in-out infinite;
}
.money-payment-flow i {
  color: #e57928;
  font-style: normal;
  font-weight: 950;
}
.money-symbol-focus {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 4px solid #9ed5cc;
  border-radius: 28px;
  background: #fff;
  color: #0b8c7d;
  font-size: 72px;
  font-weight: 950;
}
.money-mini-budget {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 2px solid #acd9d2;
  border-radius: 15px;
  background: #fff;
}
.money-mini-budget span {
  padding: 7px;
  border-radius: 9px;
  background: #0b8c7d;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}
.money-mini-budget b {
  color: #15495a;
  font-size: 19px;
}
.money-mini-budget i {
  color: #ef735d;
  font-style: normal;
  font-weight: 950;
}
.money-teacher-model {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: min(98%, 650px);
  height: 100%;
  min-height: 0;
  padding: 12px;
  border: 3px solid #b4ddd6;
  border-radius: 25px;
  background: #f8fffd;
  color: #164554;
  box-sizing: border-box;
  overflow: hidden;
}
.money-teacher-model .board-kicker {
  font-size: 11px;
  text-align: center;
}
.money-teacher-model img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.money-teacher-model [data-sync-label] {
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.money-teacher-model [data-sync-label].spoken-active {
  border-color: #efa91e !important;
  background: #fff1c7 !important;
  box-shadow: 0 0 0 7px rgb(239 169 30/22%);
  transform: translateY(-2px);
}
.money-exchange-demo {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(210px, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 9px 12px;
  width: 100%;
  min-height: 0;
}
.money-exchange-demo > section {
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #d9eeea;
}
.money-exchange-demo > section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.money-exchange-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border-radius: 18px;
  background: #e7f5f2;
}
.money-exchange-track > span,
.money-exchange-track > strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 48px;
  padding: 5px;
  border: 3px solid #acd8d1;
  border-radius: 13px;
  background: #fff;
  box-sizing: border-box;
}
.money-exchange-track > span img,
.money-exchange-track > strong img {
  width: 48px;
  height: 35px;
}
.money-exchange-track > b {
  padding: 9px 7px;
  border: 3px solid #acd8d1;
  border-radius: 12px;
  background: #fff;
  font-size: 11px;
}
.money-exchange-track > i {
  color: #e87529;
  font-style: normal;
  font-weight: 950;
}
.money-exchange-demo > p {
  grid-column: 1/-1;
  margin: 0;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff4d7;
  color: #6b520e;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}
.money-type-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(100%, 520px);
}
.money-type-demo > section {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 155px;
  padding: 10px;
  border: 3px solid #acd8d1;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}
.money-type-demo > section img {
  width: 150px;
  height: 85px;
}
.money-type-demo > section:first-child img {
  width: 96px;
  height: 96px;
}
.money-type-demo > section b {
  font-size: 13px;
}
.money-type-demo > section small {
  font-size: 9px;
  font-weight: 850;
}
.money-type-demo > i {
  color: #e87628;
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}
.money-read-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.money-read-rule span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #0b8c7d;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}
.money-read-rule strong {
  padding: 8px 10px;
  border-radius: 11px;
  background: #fff4d7;
  font-size: 10px;
}
.money-order-demo {
  display: grid;
  place-items: center;
  gap: 7px;
  width: 100%;
}
.money-order-demo > section,
.money-order-demo > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.money-order-demo > section {
  padding: 8px;
  border: 3px dashed #9fcfc7;
  border-radius: 16px;
  background: #fff;
}
.money-order-demo > section img {
  width: 110px;
  height: 62px;
}
.money-order-demo > div > span {
  display: grid;
  grid-template-rows: 55px auto;
  place-items: center;
  gap: 2px;
  min-width: 105px;
  padding: 7px;
  border: 3px solid #acd8d1;
  border-radius: 15px;
  background: #fff;
}
.money-order-demo > div img {
  width: 92px;
  height: 52px;
}
.money-order-demo > i,
.money-order-demo > div > i {
  color: #e87529;
  font-style: normal;
  font-size: 20px;
  font-weight: 950;
}
.money-order-demo b {
  font-size: 15px;
}
.money-compose-demo,
.money-equivalence-demo,
.money-budget-demo,
.money-choice-demo {
  display: grid;
  place-items: center;
  gap: 10px;
  width: min(100%, 540px);
}
.money-compose-demo > strong {
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff4d7;
}
.money-compose-demo > section,
.money-compose-demo > div,
.money-equivalence-demo,
.money-budget-demo > section,
.money-budget-demo > div,
.money-choice-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.money-compose-demo > section > span,
.money-equivalence-demo > section,
.money-budget-demo > section > span,
.money-choice-demo > section {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 9px;
  border: 3px solid #acd8d1;
  border-radius: 17px;
  background: #fff;
}
.money-compose-demo img,
.money-equivalence-demo img {
  width: 130px;
  height: 67px;
}
.money-compose-demo i,
.money-equivalence-demo > i,
.money-budget-demo i,
.money-choice-demo > i,
.money-saving-rule > i {
  color: #e87529;
  font-style: normal;
  font-size: 22px;
  font-weight: 950;
}
.money-compose-demo > div b,
.money-compose-demo > div strong,
.money-budget-demo > div b,
.money-budget-demo > div strong {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 43px;
  border-radius: 12px;
  background: #fff;
  color: #164554;
  font-size: 20px;
}
.money-compose-demo > div strong,
.money-budget-demo > div strong {
  background: #0b8c7d;
  color: #fff;
}
.money-equivalence-demo > section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 190px;
}
.money-equivalence-demo > section:first-child {
  display: grid;
  grid-template-columns: 1fr;
}
.money-equivalence-demo > section > b {
  grid-column: 1/-1;
}
.money-equivalence-demo > section > span {
  display: grid;
  place-items: center;
}
.money-budget-demo > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border-radius: 13px;
  background: #0b8c7d;
  color: #fff;
}
.money-budget-demo > header small {
  font-size: 9px;
  font-weight: 950;
}
.money-budget-demo > header b {
  font-size: 24px;
}
.money-budget-demo > section > span {
  min-width: 150px;
}
.money-budget-demo > section img {
  width: 105px;
  height: 75px;
}
.money-budget-demo > section b {
  font-size: 14px;
}
.money-budget-demo > p {
  margin: 0;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff4d7;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}
.money-choice-demo {
  grid-template-columns: 1fr auto 1fr;
}
.money-choice-demo > section {
  min-width: 170px;
  min-height: 145px;
  text-align: center;
}
.money-choice-demo img {
  width: 115px;
  height: 80px;
}
.money-choice-demo small {
  font-size: 9px;
}
.money-saving-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 13px;
  background: #fff4d7;
  font-size: 11px;
  font-weight: 900;
}
.money-saving-rule strong {
  padding: 7px 9px;
  border: 2px solid #e3ba59;
  border-radius: 10px;
  background: #fff;
}
@media (max-width: 820px), (max-height: 760px) {
  .money-teacher-model {
    gap: 6px;
    padding: 8px;
  }
  .money-exchange-demo {
    grid-template-columns: 1.25fr 1fr;
    gap: 6px;
  }
  .money-exchange-track {
    padding: 6px;
  }
  .money-exchange-demo > p {
    padding: 5px;
    font-size: 9px;
  }
  .money-type-demo > section {
    min-height: 115px;
    padding: 6px;
  }
  .money-type-demo > section img {
    width: 110px;
    height: 61px;
  }
  .money-type-demo > section:first-child img {
    width: 70px;
    height: 70px;
  }
  .money-order-demo > section img {
    width: 82px;
    height: 45px;
  }
  .money-order-demo > div > span {
    grid-template-rows: 42px auto;
    min-width: 78px;
    padding: 4px;
  }
  .money-order-demo > div img {
    width: 72px;
    height: 40px;
  }
  .money-compose-demo img,
  .money-equivalence-demo img {
    width: 96px;
    height: 50px;
  }
  .money-budget-demo > section > span {
    min-width: 110px;
    padding: 5px;
  }
  .money-budget-demo > section img {
    width: 82px;
    height: 58px;
  }
  .money-choice-demo > section {
    min-width: 130px;
    min-height: 105px;
    padding: 6px;
  }
  .money-choice-demo img {
    width: 86px;
    height: 58px;
  }
}
@media (max-width: 620px) {
  .money-teacher-model {
    width: 100%;
    border-width: 2px;
    border-radius: 18px;
  }
  .money-teacher-model .board-kicker {
    font-size: 8px;
  }
  .money-exchange-demo {
    grid-template-columns: 1fr;
    grid-template-rows: 124px 55px auto;
  }
  .money-exchange-demo > p {
    grid-column: 1;
  }
  .money-exchange-track > span,
  .money-exchange-track > strong {
    width: 47px;
    height: 41px;
  }
  .money-exchange-track > span img,
  .money-exchange-track > strong img {
    width: 38px;
    height: 29px;
  }
  .money-type-demo {
    gap: 5px;
  }
  .money-type-demo > section {
    min-height: 101px;
  }
  .money-type-demo > section img {
    width: 79px;
    height: 44px;
  }
  .money-type-demo > section:first-child img {
    width: 55px;
    height: 55px;
  }
  .money-type-demo > section b {
    font-size: 9px;
  }
  .money-type-demo > section small {
    font-size: 7px;
  }
  .money-read-rule strong {
    font-size: 8px;
  }
  .money-order-demo > section {
    padding: 4px;
  }
  .money-order-demo > section img {
    width: 69px;
    height: 36px;
  }
  .money-order-demo > div {
    gap: 3px;
  }
  .money-order-demo > div > span {
    min-width: 67px;
    grid-template-rows: 33px auto;
  }
  .money-order-demo > div img {
    width: 59px;
    height: 31px;
  }
  .money-compose-demo,
  .money-equivalence-demo,
  .money-budget-demo,
  .money-choice-demo {
    gap: 5px;
  }
  .money-compose-demo > section > span,
  .money-equivalence-demo > section,
  .money-budget-demo > section > span,
  .money-choice-demo > section {
    padding: 4px;
  }
  .money-compose-demo img,
  .money-equivalence-demo img {
    width: 77px;
    height: 39px;
  }
  .money-equivalence-demo > section {
    min-width: 130px;
  }
  .money-budget-demo > section {
    gap: 4px;
  }
  .money-budget-demo > section > span {
    min-width: 95px;
  }
  .money-budget-demo > section img {
    width: 70px;
    height: 44px;
  }
  .money-budget-demo > p {
    font-size: 8px;
  }
  .money-choice-demo {
    grid-template-columns: 1fr auto 1fr;
  }
  .money-choice-demo > section {
    min-width: 105px;
    min-height: 91px;
  }
  .money-choice-demo img {
    width: 70px;
    height: 44px;
  }
  .money-choice-demo small {
    font-size: 7px;
  }
  .money-saving-rule {
    padding: 5px;
    font-size: 8px;
  }
}
@keyframes interpretWholePulse {
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgb(11 140 125/16%);
  }
}
@keyframes interpretPartJoin {
  0%,
  15%,
  90%,
  100% {
    transform: none;
  }
  42%,
  62% {
    transform: translateX(var(--join));
  }
}
@keyframes interpretWholeReveal {
  0%,
  25%,
  85%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  45%,
  70% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 8px rgb(244 183 58/20%);
  }
}
@keyframes interpretVisualSplit {
  from {
    opacity: 0.5;
    transform: translateX(calc(var(--split) * -1)) scale(0.93);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes interpretTokenReveal {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes conserveTravel {
  0%,
  18%,
  88%,
  100% {
    transform: none;
  }
  45%,
  70% {
    transform: translateX(var(--travel-x)) translateY(8px);
    background: #f0a23d;
  }
}
@keyframes moneyPayMove {
  50% {
    transform: translateX(24px);
    background: #fff3cc;
    box-shadow: 0 0 0 6px rgb(244 183 58/20%);
  }
}
@keyframes moneyProductMove {
  50% {
    transform: translateX(-24px);
    background: #dff3ee;
    box-shadow: 0 0 0 6px rgb(35 157 139/18%);
  }
}
@keyframes conceptStepGlow {
  0%,
  18%,
  100% {
    border-color: #9ed5cc;
    transform: none;
    box-shadow: none;
  }
  28%,
  42% {
    border-color: #efaa20;
    transform: translateY(-3px);
    box-shadow: 0 0 0 6px rgb(239 170 32/20%);
  }
}
@keyframes moneyConceptCoin {
  0%,
  12%,
  100% {
    left: 11%;
    transform: none;
  }
  38% {
    left: 45%;
    transform: scale(1.12);
  }
  70% {
    left: 79%;
    transform: none;
  }
}
.money-two-scenes {
  width: min(100%, 430px);
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
}
.money-two-scenes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.money-focus,
.object-focus {
  width: 150px !important;
  height: 150px !important;
  object-fit: contain !important;
  background: transparent !important;
}
.money-product-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.money-product-row img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}
.money-order-target,
.money-wallet {
  min-height: 70px;
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  border: 2px dashed #79bdb3;
  border-radius: 18px;
  padding: 10px;
  color: #456;
}
.money-order-target span,
.money-wallet span {
  padding: 8px 12px;
  border-radius: 12px;
  background: #dff2ee;
  font-weight: 900;
  color: #0b7065;
}
.money-note-grid,
.money-products {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}
.money-note-grid button,
.money-products button {
  width: 110px;
  min-height: 120px;
  border: 2px solid #b6dcd6;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.money-note-grid img,
.money-products img {
  width: 84px;
  height: 70px;
  object-fit: contain;
}
.money-note-grid button:disabled {
  opacity: 0.4;
}
.money-products button.selected {
  border-color: #f4a62a;
  box-shadow: 0 0 0 5px rgba(244, 166, 42, 0.25);
}
.money-total,
.budget-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid #9ad2c9;
  border-radius: 18px;
  padding: 12px 18px;
}
.money-total b,
.budget-badge b {
  font-size: 25px;
  color: #0c776b;
}
.money-total strong,
.budget-badge strong {
  background: #ffe7ad;
  border-radius: 12px;
  padding: 8px 12px;
  color: #7b5200;
}
.shape {
  display: inline-block;
  width: 74px;
  height: 74px;
  border: 6px solid #188f83;
  background: rgba(24, 143, 131, 0.07);
  box-sizing: border-box;
}
.shape.triangle {
  width: 0;
  height: 0;
  border-left: 43px solid transparent;
  border-right: 43px solid transparent;
  border-bottom: 74px solid #ff775f;
  border-top: 0;
  background: transparent;
}
.shape.square {
  border-color: #4194dd;
}
.shape.rectangle {
  width: 105px;
  border-color: #e59b2f;
}
.shape.circle {
  border-radius: 50%;
  border-color: #08a398;
}
.geometry-assessment-intro,
.data-assessment-intro {
  display: grid;
  place-items: center;
  gap: 22px;
  width: min(96%, 610px);
  padding: 23px;
  border: 3px solid #b5dcd5;
  border-radius: 27px;
  background: #fff;
}
.geometry-ant-path {
  position: relative;
  width: 260px;
  height: 150px;
  border: 10px solid #459add;
}
.geometry-ant-path > i {
  position: absolute;
  width: 22px;
  height: 15px;
  border-radius: 60% 45% 50% 45%;
  background: #304f55;
  animation: geometryAntWalk 5s linear infinite;
}
.geometry-ant-path > b {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef6d58;
  box-shadow: 0 0 0 5px #fff;
  animation: supportCornerPulse 1.2s infinite;
  animation-delay: calc(var(--corner) * 0.2s);
}
.geometry-ant-path > b:nth-of-type(1) {
  left: -16px;
  top: -16px;
}
.geometry-ant-path > b:nth-of-type(2) {
  right: -16px;
  top: -16px;
}
.geometry-ant-path > b:nth-of-type(3) {
  right: -16px;
  bottom: -16px;
}
.geometry-ant-path > b:nth-of-type(4) {
  left: -16px;
  bottom: -16px;
}
.geometry-check-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.geometry-check-flow span {
  padding: 8px 11px;
  border-radius: 11px;
  background: #e6f4f1;
  color: #146b62;
  font-size: 11px;
  font-weight: 900;
}
.geometry-check-flow i {
  color: #e77728;
  font-style: normal;
  font-weight: 950;
}
.data-transform-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.data-transform-demo > section {
  display: flex;
  gap: 4px;
}
.data-transform-demo > section i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3f9ed2;
}
.data-transform-demo > b {
  color: #e77628;
  font-size: 25px;
}
.data-transform-demo > .tally-view {
  min-height: 48px;
}
.data-transform-demo > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
}
.data-transform-demo > div span {
  display: block;
  width: 48px;
  height: 17px;
  border-radius: 5px;
  background: #4eaa9b;
}
@keyframes geometryAntWalk {
  0% {
    left: -8px;
    top: -20px;
  }
  25% {
    left: calc(100% - 14px);
    top: -20px;
  }
  26% {
    transform: rotate(90deg);
  }
  50% {
    left: calc(100% - 14px);
    top: calc(100% - 15px);
    transform: rotate(90deg);
  }
  51% {
    transform: rotate(180deg);
  }
  75% {
    left: -8px;
    top: calc(100% - 15px);
    transform: rotate(180deg);
  }
  76% {
    transform: rotate(270deg);
  }
  100% {
    left: -8px;
    top: -20px;
    transform: rotate(270deg);
  }
}
@keyframes dataTokenFlow {
  0%,
  15%,
  85%,
  100% {
    transform: none;
    opacity: 1;
  }
  45%,
  65% {
    transform: translateX(92px) scale(0.75);
    opacity: 0.35;
  }
}
.corner-square {
  position: relative;
  width: min(58vw, 330px);
  aspect-ratio: 1;
  border: 14px solid #459add;
  background: #fff;
}
.corner-square button {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff6d58;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px #ff6d58;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.corner-square button:nth-child(1) {
  left: -28px;
  top: -28px;
}
.corner-square button:nth-child(2) {
  right: -28px;
  top: -28px;
}
.corner-square button:nth-child(3) {
  right: -28px;
  bottom: -28px;
}
.corner-square button:nth-child(4) {
  left: -28px;
  bottom: -28px;
}
.corner-square button.counted {
  background: #139c85;
  box-shadow: 0 0 0 3px #139c85;
}
.edge-caption {
  display: flex;
  gap: 12px;
}
.edge-caption > * {
  padding: 9px 14px;
  border-radius: 12px;
  background: #fff;
  color: #174b55;
}
.route-field {
  display: grid;
  grid-template-columns: repeat(4, minmax(86px, 1fr));
  gap: 12px;
  width: 100%;
}
.route-field button {
  min-height: 100px;
  border: 2px solid #b7dcd6;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}
.route-field button.done {
  background: #d9f2e8;
  border-color: #159b7d;
}
.frequency-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  width: 100%;
}
.frequency-table span {
  background: #fff;
  border: 1px solid #a8d3cc;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  color: #204f57;
}
.data-dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.data-dots button,
.data-dots .data-dot-static {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  position: relative;
  display: grid;
  place-items: center;
}
.data-dots button {
  cursor: pointer;
}
.data-dots i {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #398ed1;
  margin: auto;
}
.data-dots.green i {
  background: #50b86f;
}
.data-dots.pink i {
  background: #d75296;
}
.data-dots button.counted i {
  box-shadow: 0 0 0 6px #f4b73a;
  transform: scale(0.9);
}
.data-dots button > span {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 50%;
  min-width: 20px;
}
.assessment-resolved-answer {
  display: block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff3d8;
  color: #8b5b00;
  font-size: 18px;
}
.data-count-lab > strong {
  font-size: 40px;
  color: #087d70;
  background: #fff;
  border-radius: 16px;
  min-width: 70px;
  text-align: center;
}
.tally-view {
  font-size: 38px;
  letter-spacing: 8px;
  color: #7657ca;
  display: flex;
  gap: 16px;
}
.object-graph {
  height: 190px;
  display: flex;
  gap: 22px;
  align-items: flex-end;
  background: #fff;
  border-left: 3px solid #214d59;
  border-bottom: 3px solid #214d59;
  padding: 10px 18px;
}
.object-graph span {
  height: calc(var(--h) * 22px);
  width: 54px;
  background: repeating-linear-gradient(
    to top,
    #55b9a9 0 17px,
    transparent 17px 22px
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  font-size: 11px;
  font-weight: 900;
  color: #143f50;
}
.graph-builder {
  flex-direction: row;
  align-items: flex-end;
}
.graph-builder > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.graph-builder > div > span {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.graph-builder button {
  width: 55px;
  height: 30px;
  border: 2px solid #72bfb4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.graph-builder button.filled {
  background: #4eaa9b;
}
.graph-builder button:disabled {
  opacity: 0.25;
}
.graph-builder b {
  font-size: 12px;
  color: #194b54;
}
.action-reminder {
  padding: 12px 18px;
  border-radius: 15px;
  background: #fff4d5;
  color: #6b500c;
  font-weight: 900;
  text-align: center;
}
.theme7-frequency-source {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 7px;
  width: min(100%, 500px);
}
.theme7-frequency-source span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border: 2px solid #acd7d0;
  border-radius: 12px;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
}
.theme7-frequency-source b {
  color: #087f72;
  font-size: 20px;
}
.theme7-object-graph {
  height: 170px;
}
.theme7-object-graph span {
  height: calc(var(--h) * 19px);
}
@media (max-width: 820px), (max-height: 760px) {
  .late-theme-board {
    padding: 12px;
  }
  .late-theme-image {
    width: min(48%, 300px);
  }
  .late-theme-scene,
  .late-theme-task,
  .money-order,
  .money-compose,
  .money-budget,
  .corner-lab,
  .shape-route,
  .data-count-lab,
  .graph-builder {
    gap: 9px;
  }
  .money-order-target,
  .money-wallet {
    min-height: 48px;
  }
  .money-note-grid button,
  .money-products button {
    width: 88px;
    min-height: 88px;
  }
  .money-note-grid img,
  .money-products img {
    width: 60px;
    height: 48px;
  }
  .route-field button {
    min-height: 76px;
  }
  .late-theme-task > img {
    max-height: 190px;
  }
  .shape {
    transform: scale(0.75);
  }
  .universal-teacher-support button {
    min-height: 42px;
  }
  .graph-builder button {
    height: 23px;
    width: 42px;
  }
  .lesson-task-result {
    width: min(96%, 500px);
    padding: 6px 9px;
  }
  .lesson-task-result > b {
    min-width: 48px;
    height: 34px;
  }
  .interpret-demo-path {
    bottom: 60px;
    padding: 6px;
  }
  .interpret-demo-path span,
  .interpret-demo-path b,
  .interpret-demo-path strong {
    padding: 5px 6px;
    font-size: 9px;
  }
  .theme7-frequency-source {
    gap: 4px;
  }
  .theme7-frequency-source span {
    padding: 5px 7px;
    font-size: 9px;
  }
  .theme7-frequency-source b {
    font-size: 16px;
  }
  .theme7-object-graph {
    height: 120px;
  }
  .theme7-object-graph span {
    height: calc(var(--h) * 14px);
  }
}
@media (max-width: 820px), (max-height: 760px) {
  .teacher-remediation-panel {
    min-height: 82px;
    max-height: 116px;
    padding: 6px 9px;
  }
  .teacher-remediation-panel header {
    margin-bottom: 4px;
  }
  .teacher-remediation-panel p {
    font-size: 9px;
  }
  .support-step-flow span,
  .support-payment-model span,
  .support-payment-model b,
  .support-payment-model strong,
  .support-data-question span,
  .support-data-question b,
  .support-data-question strong {
    padding: 4px 6px;
    font-size: 8px;
  }
  .interpret-concept-intro,
  .interpret-join-split-demo,
  .geometry-assessment-intro,
  .data-assessment-intro {
    gap: 7px;
    padding: 10px;
  }
  .interpret-concept-intro h1 {
    font-size: 17px;
  }
  .join-split-parts {
    gap: 32px;
  }
  .join-split-parts section i,
  .join-split-whole i {
    width: 24px;
    height: 24px;
  }
  .interpret-target-model {
    gap: 7px;
    padding: 8px;
  }
  .interpret-model-tokens {
    gap: 4px;
    min-height: 62px;
    padding: 7px;
  }
  .interpret-model-tokens > span {
    width: 29px;
    height: 29px;
    border-width: 2px;
  }
  .interpret-model-tokens img {
    width: 24px;
    height: 24px;
  }
  .interpret-model-route {
    gap: 4px;
  }
  .interpret-model-route > span,
  .interpret-model-route > strong {
    min-width: 52px;
    min-height: 42px;
    font-size: 17px;
  }
  .interpret-model-route > div {
    gap: 2px;
  }
  .interpret-model-route > div b {
    min-width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .interpret-model-equation,
  .interpret-puzzle-rule {
    padding: 5px 8px;
    font-size: 10px;
  }
  .interpret-inverse-demo {
    gap: 5px;
    padding: 10px;
  }
  .interpret-inverse-demo > div {
    padding: 7px;
  }
  .interpret-inverse-demo > div b,
  .interpret-inverse-demo > div strong {
    font-size: 19px;
  }
  .interpret-story-thinking > span,
  .interpret-story-thinking > strong {
    padding: 5px;
    font-size: 9px;
  }
  .conserve-trays section {
    min-height: 105px;
    padding: 20px 6px 6px;
  }
  .conserve-trays i {
    width: 28px;
    height: 28px;
  }
  .conserve-trays .to-second {
    --travel-x: 95px;
  }
  .conserve-trays .to-third {
    --travel-x: 195px;
  }
  .money-payment-scene > img {
    height: min(24vh, 180px);
  }
  .data-concept-motion {
    min-height: 48px;
    padding: 3px 7px;
  }
  .data-concept-motion > section i {
    width: 13px;
    height: 13px;
  }
  .data-concept-motion > div span {
    width: 28px;
    height: 6px;
  }
  .data-concept-motion > strong {
    font-size: 17px;
  }
  .animated-concept-flow span {
    padding: 5px 7px;
  }
  .money-purpose-flow > em {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .data-teacher-model {
    gap: 6px;
    padding: 8px;
  }
  .data-decision-card {
    gap: 3px;
    padding: 7px 10px;
  }
  .data-decision-card b {
    font-size: 13px;
  }
  .data-decision-card span {
    font-size: 10px;
  }
  .data-vote-story section {
    min-height: 60px;
    padding: 4px;
  }
  .data-vote-story section > i {
    width: 23px;
    height: 23px;
  }
  .data-vote-story b {
    font-size: 9px;
  }
  .data-answer-transform > section {
    min-height: 47px;
    padding: 4px;
  }
  .data-mini-votes i {
    width: 12px;
    height: 12px;
  }
  .data-mini-graph {
    height: 62px;
  }
  .data-question-model > section {
    padding: 5px 7px;
  }
  .data-frequency-model > section {
    min-height: 39px;
    padding: 4px 7px;
  }
  .data-tally-teacher > section {
    width: 108px;
    height: 76px;
  }
  .data-tally-teacher section > i {
    height: 64px;
  }
  .data-tally-teacher section > b {
    top: 35px;
    width: 92px;
  }
  .data-graph-build-model,
  .data-compare-model {
    gap: 9px;
  }
}
@media (max-width: 620px) {
  .route-field {
    grid-template-columns: repeat(2, 1fr);
  }
  .money-product-row img {
    width: 70px;
    height: 70px;
  }
  .late-theme-question {
    padding: 9px;
  }
  .theme4-final-choices {
    width: 100%;
  }
  .graph-builder {
    gap: 6px;
  }
  .graph-builder button {
    width: 32px;
  }
  .late-theme-finish > div {
    width: 104px;
    min-height: 86px;
  }
  .late-theme-finish span {
    font-size: 30px;
  }
  .data-vote-story {
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
  }
  .data-vote-story section {
    min-width: 0;
  }
  .data-vote-story small {
    padding: 2px;
    font-size: 7px;
  }
  .data-answer-transform {
    grid-template-columns: 1fr 12px 1fr 12px 1fr;
    gap: 3px;
  }
  .data-answer-transform > section > b {
    font-size: 8px;
  }
  .data-mini-graph {
    width: 115px;
  }
  .data-question-model {
    grid-template-columns: 1fr 18px 1.35fr;
    gap: 3px;
  }
  .data-question-model b {
    font-size: 8px;
  }
  .data-question-model em {
    font-size: 6px;
  }
  .data-frequency-model {
    gap: 3px;
  }
  .data-frequency-model > section b {
    font-size: 8px;
  }
  .data-tally-teacher {
    gap: 9px;
  }
  .data-graph-build-model > section span {
    min-width: 90px;
  }
  .data-compare-model .data-mini-graph {
    width: 110px;
  }
  .pre-reader .phase-button.late-theme-finish-button {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }
}
@media (max-width: 620px) {
  .teacher-remediation-panel {
    width: 100%;
    max-height: 105px;
  }
  .support-shape-family span {
    min-width: 61px;
  }
  .support-money-kind span {
    min-width: 64px;
  }
  .interpret-concept-route > span,
  .interpret-concept-route > strong {
    min-width: 62px;
    min-height: 50px;
  }
  .interpret-concept-route b {
    font-size: 19px;
  }
  .join-split-equations span {
    font-size: 11px;
  }
  .interpret-model-route > div {
    flex-wrap: wrap;
    justify-content: center;
  }
  .interpret-story-thinking {
    gap: 3px;
  }
  .interpret-story-thinking > i {
    font-size: 10px;
  }
  .geometry-ant-path {
    width: 180px;
    height: 100px;
  }
  .data-transform-demo {
    gap: 7px;
  }
}
@media (max-width: 620px) {
  .late-theme-board.remediation-mode .money-payment-scene {
    display: block;
    height: auto;
  }
  .late-theme-board.remediation-mode .money-payment-scene > img {
    display: none;
  }
  .late-theme-board.remediation-mode .money-payment-flow {
    min-height: 38px;
  }
  .late-theme-board.remediation-mode .late-theme-question b {
    font-size: 14px;
    line-height: 1.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  .interpret-concept-route > strong,
  .join-split-parts section,
  .join-split-whole,
  .visual-family-motion > section,
  .conserve-live-demo.moving .conserve-trays i.traveller,
  .money-payment-flow span,
  .money-payment-flow strong,
  .money-purpose-flow > em,
  .animated-concept-flow span,
  .geometry-concept-demo > span > i,
  .geometry-ant-path > i,
  .data-concept-motion > section i,
  .data-concept-motion > div span,
  .data-transform-demo > section i,
  .data-transform-demo > div span,
  .support-number-train > i,
  .support-conserve-model > i,
  .support-budget-bar > span,
  .support-shape-trace > i,
  .support-shape-trace > b,
  .support-graph-transform b {
    animation: none !important;
  }
}

/* 19. dersten sonraki akış: dar ekranda öğretmen, tahta ve cevap alanı tek görünümde kalır. */
@media (max-width: 620px) {
  html,
  body,
  .lesson-shell {
    max-width: 100%;
    overflow-x: hidden;
  }
  .topic-lesson-shell .lesson-header {
    grid-template-columns: 38px minmax(0, 1fr) 42px;
    min-height: 70px;
    padding: 6px 9px;
    gap: 6px;
  }
  .topic-lesson-shell .section-track {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }
  .topic-lesson-shell .restart-lesson {
    grid-column: 3;
    grid-row: 1;
    min-width: 38px;
    padding: 0 6px;
  }
  .topic-lesson-shell .restart-lesson b,
  .topic-lesson-shell .skip-section,
  .topic-lesson-shell .lesson-time {
    display: none;
  }
  .topic-lesson-shell .teacher-classroom {
    gap: 6px;
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    min-width: 0;
    box-sizing: border-box;
    padding-top: 5px;
    padding-bottom: 10px;
  }
  .topic-lesson-shell .lesson-teacher {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .topic-lesson-shell .lesson-teacher > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .topic-lesson-shell .lesson-avatar {
    height: 112px;
    border-radius: 15px;
  }
  .topic-lesson-shell .teacher-bubble {
    min-height: 70px;
    padding: 8px;
    font-size: 10px;
    line-height: 1.3;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .topic-lesson-shell .narration-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 3px;
  }
  .topic-lesson-shell .narration-controls button {
    min-width: 0;
    padding-inline: 2px;
    min-height: 30px;
    font-size: 8px;
  }
  .topic-lesson-shell .raise-hand {
    min-height: 43px;
    padding: 4px 8px;
    grid-template-columns: 31px 1fr 24px;
  }
  .topic-lesson-shell .hand-icon {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
  .topic-lesson-shell .hand-copy strong {
    font-size: 11px;
  }
  .topic-lesson-shell .hand-copy small {
    font-size: 8px;
  }
  .topic-lesson-shell .lesson-support-dock .mental-subtraction-support > button,
  .topic-lesson-shell .lesson-support-dock .universal-teacher-support > button {
    min-height: 42px;
    padding: 4px 6px;
  }
  .topic-lesson-shell .lesson-screen-meta {
    min-height: 24px;
    padding-bottom: 4px;
  }
  .topic-lesson-shell .teaching-area,
  .topic-lesson-shell .teaching-board,
  .topic-lesson-shell .teaching-board > .board-square {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .topic-lesson-shell .screen-number {
    min-height: 22px;
    font-size: 9px;
  }
  .topic-lesson-shell .theme4-final-board,
  .topic-lesson-shell .late-theme-board {
    box-sizing: border-box;
    height: 350px !important;
    max-height: 350px !important;
    padding: 8px !important;
  }
  .topic-lesson-shell .lesson-footer {
    min-height: 54px;
    padding-top: 5px;
    gap: 5px;
  }
  .topic-lesson-shell .theme4-final-choices button {
    min-height: 46px;
  }
  .topic-lesson-shell .theme4-final-choices button > b {
    font-size: 11px !important;
    line-height: 1.05;
  }
  .topic-lesson-shell .theme4-object-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .topic-lesson-shell .late-theme-task,
  .topic-lesson-shell .late-theme-scene,
  .topic-lesson-shell .money-order,
  .topic-lesson-shell .money-compose,
  .topic-lesson-shell .money-budget,
  .topic-lesson-shell .corner-lab,
  .topic-lesson-shell .shape-route,
  .topic-lesson-shell .data-count-lab,
  .topic-lesson-shell .graph-builder {
    gap: 5px;
  }
  .money-two-scenes {
    height: 120px;
  }
  .money-focus,
  .object-focus {
    width: 92px !important;
    height: 92px !important;
  }
  .money-product-row img {
    width: 56px;
    height: 56px;
  }
  .money-note-grid,
  .money-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .money-note-grid button,
  .money-products button {
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 4px;
  }
  .money-note-grid img,
  .money-products img {
    width: 54px;
    height: 39px;
  }
  .money-order-target,
  .money-wallet {
    min-height: 40px;
    padding: 4px;
  }
  .money-total,
  .budget-badge {
    padding: 6px 9px;
  }
  .money-total b,
  .budget-badge b {
    font-size: 18px;
  }
  .route-field {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .route-field button {
    min-width: 0;
    min-height: 62px;
    padding: 0;
    overflow: hidden;
  }
  .route-field .shape {
    width: 42px;
    height: 42px;
    border-width: 4px;
    transform: none;
  }
  .route-field .shape.triangle {
    width: 0;
    height: 0;
    border-left-width: 24px;
    border-right-width: 24px;
    border-bottom-width: 42px;
    border-top-width: 0;
  }
  .route-field .shape.rectangle {
    width: 55px;
    height: 39px;
  }
  .route-rule {
    height: 54px;
    gap: 0;
    flex-wrap: nowrap;
  }
  .route-rule .shape {
    transform: scale(0.5);
    margin: -13px;
  }
  .route-rule > span {
    font-size: 11px;
  }
  .fact-family-lesson {
    height: 300px;
  }
  .fact-family-ring span {
    min-height: 32px;
    font-size: 11px;
  }
  .fact-family-scene {
    min-height: 140px;
  }
  .late-theme-finish {
    gap: 5px;
  }
  .late-theme-finish > div {
    width: 78px;
    min-height: 64px;
    padding: 5px;
  }
  .late-theme-finish span {
    font-size: 23px;
  }
  .late-theme-finish h1 {
    font-size: 18px;
  }
  .late-theme-finish p {
    font-size: 10px;
  }
  .object-graph {
    height: 125px;
    gap: 8px;
    padding: 5px 8px;
  }
  .object-graph span {
    width: 42px;
  }
  .frequency-table {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .frequency-table span {
    padding: 6px;
    font-size: 10px;
  }
  .lesson-task-result {
    padding: 4px 6px;
    column-gap: 6px;
  }
  .lesson-task-result > b {
    min-width: 42px;
    height: 30px;
    font-size: 11px;
  }
  .lesson-task-result > span {
    font-size: 10px;
  }
  .lesson-task-result > small {
    font-size: 7px;
  }
}

/* Görsel sahneler soru ve anlatıma özeldir; kırpılmadan güvenli alana sığar. */
@media (max-width: 820px), (max-height: 760px) {
  .equality-object-equation-stage {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 5px;
  }
  .equality-object-equation-stage > section {
    min-height: 150px;
    padding: 6px;
  }
  .equality-object-equation-stage > section > b {
    font-size: 20px;
  }
  .equality-grouped-set .theme4-object-group span {
    width: 26px;
    height: 26px;
  }
  .equality-grouped-set .theme4-object-group img {
    width: 23px;
    height: 23px;
  }
  .equality-operation-trays {
    height: min(39vh, 255px);
    border-radius: 18px;
  }
  .tray-overlay {
    top: 42%;
    height: 44%;
    padding: 1px 4px;
  }
  .tray-overlay .theme4-object-group {
    grid-template-columns: repeat(5, 20px);
  }
  .tray-overlay .theme4-object-group span,
  .tray-overlay .theme4-object-group i {
    width: 19px;
    height: 19px;
  }
  .tray-overlay .theme4-object-group img {
    width: 17px;
    height: 17px;
  }
  .tray-overlay > b {
    bottom: -2px;
    min-width: 76px;
    padding: 3px 5px;
    font-size: 10px;
  }
  .tray-equality {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .equality-recap-scene {
    height: 104px;
  }
  .theme4-finish-board.compact > div {
    min-height: 50px;
  }
  .interpret-inverse-demo.visual > div.interpret-inverse-object-row {
    padding: 3px 5px;
  }
  .interpret-inverse-object-row .theme4-object-group span {
    width: 23px;
    height: 23px;
  }
  .interpret-inverse-object-row .theme4-object-group img {
    width: 20px;
    height: 20px;
  }
  .interpret-inverse-object-row > b {
    min-width: 78px;
    font-size: 14px !important;
  }
}
@media (max-width: 520px) {
  .equality-object-equation-stage {
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  }
  .equality-object-equation-stage > section {
    min-height: 138px;
    border-width: 2px;
    border-radius: 15px;
  }
  .equality-grouped-set {
    gap: 2px;
  }
  .equality-grouped-set .theme4-object-group {
    grid-template-columns: repeat(3, minmax(19px, 1fr));
  }
  .equality-grouped-set .theme4-object-group span {
    width: 22px;
    height: 22px;
  }
  .equality-grouped-set .theme4-object-group img {
    width: 19px;
    height: 19px;
  }
  .equality-part-plus {
    font-size: 14px;
  }
  .equality-operation-trays {
    height: auto;
    max-height: 225px;
  }
  .tray-overlay .theme4-object-group {
    grid-template-columns: repeat(5, 16px);
  }
  .tray-overlay .theme4-object-group span,
  .tray-overlay .theme4-object-group i {
    width: 15px;
    height: 15px;
  }
  .tray-overlay .theme4-object-group img {
    width: 13px;
    height: 13px;
  }
  .tray-overlay .equality-part-count {
    display: none;
  }
  .tray-overlay .equality-part-group {
    padding-top: 0;
  }
  .interpret-inverse-object-row .theme4-object-group {
    grid-template-columns: repeat(6, minmax(17px, 1fr));
  }
  .interpret-inverse-object-row .theme4-object-group span {
    width: 19px;
    height: 19px;
  }
  .interpret-inverse-object-row .theme4-object-group img {
    width: 17px;
    height: 17px;
  }
  .interpret-inverse-object-row > b {
    min-width: 68px;
    font-size: 12px !important;
  }
}
.equality-recap-scene > img {
  object-fit: contain;
  object-position: center;
  background: #eaf7f4;
}
.money-saving-visual,
.money-task-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 105px;
}
.money-saving-visual > img {
  width: 120px;
  max-height: 95px;
  object-fit: contain;
}
.money-saving-visual > span,
.money-task-equation > b,
.money-task-equation > strong {
  color: #e36f58;
  font-size: 25px;
  font-weight: 950;
}
.money-saving-visual > div {
  display: grid;
  place-items: center;
  gap: 3px;
}
.money-saving-visual > div img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.money-saving-visual b {
  color: #0b8275;
  font-size: 11px;
}
.money-task-equation img {
  width: min(25%, 110px);
  max-height: 90px;
  object-fit: contain;
}
.money-task-equation strong {
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  color: #0b8275;
  font-size: 19px;
}
@media (max-width: 520px) {
  .money-saving-visual,
  .money-task-equation {
    min-height: 78px;
    gap: 7px;
  }
  .money-saving-visual > img {
    width: 84px;
    max-height: 68px;
  }
  .money-saving-visual > div img {
    width: 50px;
    height: 50px;
  }
  .money-task-equation img {
    max-height: 58px;
  }
  .money-task-equation strong {
    padding: 5px;
    font-size: 14px;
  }
}
.data-context-scene,
.data-task-scene {
  display: block;
  width: 100%;
  height: 134px;
  border-radius: 17px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 7px 18px rgba(24, 74, 70, 0.12);
}
.data-context-scene.compact {
  height: 112px;
}
.data-task-scene {
  height: min(19vh, 145px);
  object-fit: cover;
}
.data-reading-scene {
  object-position: center 78%;
}
.data-task-scene.data-reading-scene {
  height: min(23vh, 165px);
}
.data-mastery-graph {
  height: 138px;
}
@media (max-width: 520px), (max-height: 760px) {
  .data-context-scene {
    height: 114px;
  }
  .data-context-scene.compact {
    height: 100px;
  }
  .data-task-scene {
    height: 92px;
  }
  .data-task-scene.data-reading-scene {
    height: 105px;
  }
  .data-mastery-graph {
    height: 105px;
  }
}

/* 2. sınıf · Geometrik Cisimler: PNG yoğun, öğretmen önce gösterir sonra çocuk uygular. */
.grade2-solids-board {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: 16px;
  border: 1px solid #abd8d1;
  border-radius: 28px;
  background: #eaf7f4;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.grade2-solids-board > .board-square {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  overflow: hidden;
}
.pre-reader .grade2-solids-board .board-kicker {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}
.pre-reader .grade2-solids-board .board-square h1 {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}
.pre-reader .grade2-solid-question > .board-kicker {
  position: static !important;
}
.grade2-solid-sprite {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 1;
  overflow: hidden;
  filter: drop-shadow(0 10px 9px rgb(20 64 58/18%));
}
.grade2-solid-sprite > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
}
.grade2-solid-sprite.roll-ball {
  animation: grade2BallSlide 1s ease-in-out both;
}
.grade2-solid-sprite.roll-ball > img {
  animation: grade2BallSpin 1s ease-in-out both;
}
.grade2-solid-sprite.roll-cylinder {
  animation: grade2CylinderSlide 1.1s ease-in-out both;
}
.grade2-solid-sprite.roll-cylinder > img {
  animation: grade2CylinderTurn 1.1s ease-in-out both;
}

.grade2-solids-hero {
  position: relative;
  display: grid;
  place-items: center;
  background: #dcefeb !important;
}
.grade2-solids-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
}
.grade2-hero-copy {
  position: absolute;
  left: 24px;
  top: 24px;
  width: min(49%, 390px);
  padding: 14px 17px;
  border: 2px solid rgb(255 255 255/82%);
  border-radius: 18px;
  background: rgb(255 255 255/90%);
  box-shadow: 0 10px 24px rgb(22 66 59/15%);
  backdrop-filter: blur(5px);
}
.grade2-hero-copy span,
.grade2-solid-portrait small,
.grade2-solids-finish > span {
  color: #087d70;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.grade2-hero-copy h1 {
  margin: 5px 0;
  color: #153f4b;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.02;
}
.grade2-hero-copy p {
  margin: 0;
  color: #426962;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.grade2-hold-turn {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(260px, 1.2fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(145deg, #f8fffd, #d9efea) !important;
}
.grade2-hold-turn > .board-kicker {
  grid-column: 1/-1;
  position: absolute;
  left: 20px;
  top: 16px;
}
.grade2-turn-object {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  perspective: 800px;
}
.grade2-turn-object .grade2-solid-sprite {
  width: 150px;
  animation: grade2TurnObject 4.8s ease-in-out infinite;
}
.grade2-turn-object > i {
  position: absolute;
  width: 215px;
  height: 55px;
  border: 4px solid #f4b73a;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-8deg);
  animation: grade2Orbit 2s linear infinite;
}
.grade2-dimension-cards {
  display: grid;
  gap: 10px;
}
.grade2-dimension-cards span {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 2px solid #b7ddd7;
  border-radius: 17px;
  background: #fff;
  color: #355d58;
  font-size: 13px;
  font-weight: 850;
}
.grade2-dimension-cards b {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 12px;
  background: #0b897c;
  color: #fff;
  font-size: 15px;
}
.grade2-hold-turn > p {
  grid-column: 1/-1;
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff6d7;
  color: #73510c;
  font-weight: 850;
  text-align: center;
}

.grade2-anatomy-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: 24px;
}
.grade2-anatomy-board > .board-kicker {
  position: absolute;
  left: 18px;
  top: 15px;
}
.grade2-anatomy-board > h1 {
  margin: 0;
  color: #153f4b;
  font-size: 24px;
  line-height: 1.1;
}
.grade2-cube-anatomy {
  position: relative;
  width: 280px;
  height: 270px;
  margin: auto;
}
.cube-face {
  position: absolute;
  display: block;
  transition: 0.25s ease;
}
.cube-face.front {
  left: 46px;
  top: 82px;
  width: 142px;
  height: 142px;
  background: #f08968;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.cube-face.side {
  left: 188px;
  top: 54px;
  width: 70px;
  height: 142px;
  background: #36a794;
  clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
}
.cube-face.top {
  left: 46px;
  top: 34px;
  width: 212px;
  height: 58px;
  background: #f6c65a;
  clip-path: polygon(0 83%, 67% 0, 100% 34%, 67% 100%);
}
.cube-edge {
  position: absolute;
  left: 184px;
  top: 79px;
  width: 9px;
  height: 148px;
  border: 0;
  background: #155e5c;
  transform: skewY(-12deg);
  cursor: pointer;
  z-index: 4;
}
.cube-corner {
  position: absolute;
  left: 176px;
  top: 73px;
  width: 25px;
  height: 25px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #ef6c58;
  box-shadow: 0 0 0 4px #ef6c58;
  cursor: pointer;
  z-index: 5;
}
.student-anatomy .cube-face.front {
  cursor: pointer;
}
.teacher-anatomy .part-label {
  opacity: 0;
}
.grade2-cube-anatomy.show-face .face-label,
.grade2-cube-anatomy.show-edge .edge-label,
.grade2-cube-anatomy.show-corner .corner-label {
  opacity: 1;
  transform: none;
}
.grade2-cube-anatomy.show-face .cube-face.front {
  box-shadow:
    inset 0 0 0 8px #fff,
    0 0 0 8px #f4b73a;
}
.grade2-cube-anatomy.show-edge .cube-edge {
  box-shadow: 0 0 0 8px rgb(244 183 58/45%);
}
.grade2-cube-anatomy.show-corner .cube-corner {
  animation: grade2CornerPulse 1s infinite;
}
.part-label {
  position: absolute;
  z-index: 6;
  padding: 5px 8px;
  border-radius: 9px;
  background: #fff;
  color: #0b7c71;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  opacity: 0.82;
  transition: 0.25s;
}
.face-label {
  left: 84px;
  top: 135px;
}
.edge-label {
  left: 193px;
  top: 140px;
}
.corner-label {
  left: 202px;
  top: 67px;
}
.grade2-part-cards {
  display: grid;
  gap: 10px;
}
.grade2-part-cards span {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border: 2px solid #b7ddd7;
  border-radius: 16px;
  background: #fff;
  color: #123f49;
  font-weight: 950;
}
.grade2-part-cards b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #0b8c7d;
  color: #fff;
}

.grade2-solid-portrait {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(270px, 1.2fr);
  align-items: center;
  gap: 22px;
  padding: 24px 38px;
  background: linear-gradient(145deg, #f9fffe, #d9f0eb) !important;
}
.grade2-solid-portrait > .board-kicker {
  position: absolute;
  left: 18px;
  top: 16px;
}
.grade2-solid-portrait > .grade2-solid-sprite {
  width: 185px;
  justify-self: center;
}
.grade2-solid-portrait > div {
  display: grid;
  grid-template-columns: auto 34px auto;
  align-items: center;
  gap: 6px 10px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 28px rgb(19 74 67/12%);
}
.grade2-solid-portrait small {
  grid-row: auto;
}
.grade2-solid-portrait > div > strong {
  grid-column: 1;
  font-size: 18px;
  color: #244e56;
}
.grade2-solid-portrait > div > i {
  grid-column: 2;
  grid-row: 1/4;
  color: #ed792c;
  font-size: 28px;
  font-style: normal;
  text-align: center;
}
.grade2-solid-portrait h1 {
  grid-column: 3;
  grid-row: 2;
  margin: 0;
  color: #087e72;
  font-size: 29px;
}
.grade2-solid-portrait p {
  grid-column: 1/-1;
  margin: 9px 0 0;
  color: #355f5a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.grade2-solid-portrait > div > b {
  grid-column: 1/-1;
  justify-self: start;
  padding: 7px 10px;
  border-radius: 11px;
  background: #fff2c8;
  color: #7c5a0a;
  font-size: 11px;
}

.grade2-solid-question {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 22px 32px;
  background: linear-gradient(145deg, #f9fffe, #dcefeb) !important;
}
.grade2-solid-question > .board-kicker {
  grid-column: 1/-1;
  grid-row: 1;
}
.grade2-solid-question-visual {
  grid-column: 1;
  grid-row: 2/4;
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 3px solid #b7ded7;
  border-radius: 22px;
  background: #fff;
}
.grade2-solid-question-visual > .grade2-solid-sprite {
  width: 145px;
}
.grade2-solid-question h1 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  color: #153f4b;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.08;
}
.grade2-solid-question p {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  margin: 4px 0;
  color: #496d67;
  font-size: 13px;
  font-weight: 750;
}
.grade2-solid-result {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px;
  text-align: center;
  background: linear-gradient(145deg, #f9fffe, #dcefeb) !important;
}
.grade2-solid-result-row,
.grade2-solid-finish-visual {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
  width: 100%;
}
.grade2-solid-result-row .grade2-solid-sprite {
  width: 68px;
}
.grade2-solid-result > span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #0b897c;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}
.grade2-solid-result h1 {
  margin: 0;
  color: #153f4b;
  font-size: 28px;
}
.grade2-solid-result p {
  max-width: 580px;
  margin: 0;
  color: #496d67;
  font-weight: 800;
}

.grade2-prism-compare {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(145deg, #f9fffe, #dcefeb) !important;
}
.grade2-prism-compare > .board-kicker {
  position: absolute;
  left: 18px;
  top: 15px;
}
.grade2-prism-compare > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.grade2-prism-compare section {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  padding: 12px 7px;
  border: 3px solid #b7ddd7;
  border-radius: 20px;
  background: #fff;
}
.grade2-prism-compare section > b {
  color: #153f4b;
  font-size: 13px;
  text-align: center;
}
.grade2-prism-compare section > .grade2-solid-sprite {
  width: 93px;
}
.grade2-prism-compare section > small {
  min-height: 31px;
  color: #0b7f73;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}
.grade2-prism-compare > p {
  margin: 0;
  padding: 9px;
  border-radius: 13px;
  background: #fff4d3;
  color: #72530c;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.grade2-viewpoint-board {
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 20px;
  background: linear-gradient(145deg, #f9fffe, #dcefeb) !important;
  text-align: center;
}
.grade2-triangular-views {
  position: relative;
  width: min(100%, 720px);
  margin: auto;
  padding: 8px;
  border: 3px solid #b7ded7;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}
.grade2-triangular-views > img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: contain;
}
.grade2-triangular-views > i {
  position: absolute;
  left: calc(2.4% + var(--active-view) * 33.2%);
  top: 8%;
  width: 29.5%;
  height: 84%;
  border: 5px solid #f4b73a;
  border-radius: 18px;
  box-shadow: 0 0 0 8px rgb(244 183 58/18%);
  transition: left 0.45s ease;
}
.grade2-viewpoint-board h1 {
  margin: 0;
  color: #153f4b;
  font-size: 23px;
}
.grade2-viewpoint-board p {
  margin: 0;
  color: #496d67;
  font-size: 12px;
  font-weight: 850;
}

.grade2-solids-finish {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(145deg, #f9fffe, #dcefeb) !important;
}
.grade2-solid-finish-visual .grade2-solid-sprite {
  width: 72px;
}
.grade2-solids-finish h1 {
  max-width: 720px;
  margin: 0;
  color: #153f4b;
  font-size: 29px;
  line-height: 1.08;
}
.grade2-solids-finish p {
  max-width: 650px;
  margin: 0;
  color: #496d67;
  font-weight: 800;
}
.grade2-solids-finish > div:last-child {
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  color: #0b7c70;
  font-weight: 850;
}
.grade2-solids-finish > div:last-child b {
  font-size: 19px;
}
.solid-support-parts,
.solid-support-motion,
.solid-support-prisms,
.solid-support-family {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.solid-support-parts span,
.solid-support-prisms span,
.solid-support-family span,
.solid-support-motion span {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 92px;
  padding: 7px;
  border-radius: 11px;
  background: #e6f4f1;
  color: #154b52;
  font-size: 9px;
  font-weight: 950;
  text-align: center;
}
.solid-support-parts b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0b8b7d;
  color: #fff;
}
.solid-support-parts i {
  color: #e87826;
  font-style: normal;
}
.solid-support-motion span {
  font-size: 22px;
}
.solid-support-motion small,
.solid-support-prisms small,
.solid-support-family small {
  font-size: 7px;
}
.solid-support-family span {
  font-size: 20px;
}
.grade2-solid-portrait small:first-of-type {
  grid-column: 1;
  grid-row: 1;
}
.grade2-solid-portrait small:nth-of-type(2) {
  grid-column: 3;
  grid-row: 1;
}
.grade2-solid-portrait > div > strong {
  grid-column: 1;
  grid-row: 2;
}
.grade2-solid-portrait > div > i {
  grid-row: 1/3;
}

@keyframes grade2TurnObject {
  0%,
  100% {
    transform: rotateY(-13deg) rotateZ(-2deg);
  }
  45% {
    transform: rotateY(18deg) rotateZ(2deg);
  }
  70% {
    transform: rotateY(-5deg) rotateX(10deg);
  }
}
@keyframes grade2Orbit {
  to {
    transform: rotate(352deg);
  }
}
@keyframes grade2CornerPulse {
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 0 10px rgb(244 183 58/45%);
  }
}
@keyframes grade2BallSlide {
  0% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(5px);
  }
}
@keyframes grade2BallSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes grade2CylinderSlide {
  0% {
    transform: translateX(-5px);
  }
  55% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes grade2CylinderTurn {
  0%,
  100% {
    transform: rotate(0);
  }
  55% {
    transform: rotate(82deg);
  }
}

@media (max-width: 820px), (max-height: 760px) {
  .topic-lesson-shell .teaching-board.grade2-solids-board {
    height: 460px !important;
    max-height: 460px !important;
  }
  .grade2-solids-board {
    padding: 9px;
    border-radius: 20px;
  }
  .grade2-solids-board > .board-square {
    border-radius: 16px;
  }
  .grade2-hero-copy {
    left: 13px;
    top: 13px;
    padding: 9px 11px;
    border-radius: 14px;
  }
  .grade2-hero-copy h1 {
    font-size: 20px;
  }
  .grade2-hero-copy p {
    font-size: 9px;
  }
  .grade2-hold-turn {
    grid-template-columns: 160px 1fr;
    gap: 8px;
    padding: 10px;
  }
  .grade2-turn-object {
    min-height: 210px;
  }
  .grade2-turn-object .grade2-solid-sprite {
    width: 108px;
  }
  .grade2-turn-object > i {
    width: 155px;
    height: 41px;
  }
  .grade2-dimension-cards {
    gap: 5px;
  }
  .grade2-dimension-cards span {
    grid-template-columns: 48px 1fr;
    padding: 7px;
    font-size: 10px;
  }
  .grade2-dimension-cards b {
    min-height: 32px;
    font-size: 12px;
  }
  .grade2-hold-turn > p {
    padding: 6px;
    font-size: 9px;
  }
  .grade2-anatomy-board {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 20px;
    padding: 11px;
  }
  .grade2-cube-anatomy {
    width: 220px;
    height: 215px;
    transform: scale(0.78);
  }
  .grade2-part-cards {
    gap: 5px;
  }
  .grade2-part-cards span {
    padding: 7px;
    font-size: 10px;
  }
  .grade2-anatomy-board > h1 {
    padding-left: 12px;
    font-size: 18px;
  }
  .grade2-solid-portrait {
    grid-template-columns: 150px 1fr;
    gap: 9px;
    padding: 14px;
  }
  .grade2-solid-portrait > .grade2-solid-sprite {
    width: 135px;
  }
  .grade2-solid-portrait > div {
    padding: 10px;
  }
  .grade2-solid-portrait h1 {
    font-size: 21px;
  }
  .grade2-solid-portrait p {
    font-size: 10px;
  }
  .grade2-solid-question {
    grid-template-columns: 150px 1fr;
    padding: 13px;
    gap: 6px 10px;
  }
  .grade2-solid-question-visual {
    min-height: 220px;
  }
  .grade2-solid-question-visual > .grade2-solid-sprite {
    width: 108px;
  }
  .grade2-solid-question h1 {
    font-size: 20px;
  }
  .grade2-solid-question p {
    font-size: 10px;
  }
  .grade2-solid-result-row .grade2-solid-sprite,
  .grade2-solid-finish-visual .grade2-solid-sprite {
    width: 53px;
  }
  .grade2-prism-compare {
    padding: 13px;
  }
  .grade2-prism-compare section {
    padding: 7px 4px;
  }
  .grade2-prism-compare section > .grade2-solid-sprite {
    width: 70px;
  }
  .grade2-triangular-views > img {
    height: 185px;
  }
  .grade2-viewpoint-board h1 {
    font-size: 18px;
  }
  .grade2-solids-finish h1 {
    font-size: 22px;
  }
}
@media (max-width: 620px) {
  .topic-lesson-shell .teaching-board.grade2-solids-board {
    box-sizing: border-box;
    height: 350px !important;
    max-height: 350px !important;
    padding: 7px !important;
  }
  .grade2-hero-copy {
    width: 56%;
  }
  .grade2-hero-copy p {
    display: none;
  }
  .grade2-hero-copy h1 {
    font-size: 16px;
  }
  .grade2-hero-copy span {
    font-size: 7px;
  }
  .grade2-hold-turn {
    grid-template-columns: 115px 1fr;
  }
  .grade2-turn-object {
    min-height: 170px;
  }
  .grade2-turn-object .grade2-solid-sprite {
    width: 82px;
  }
  .grade2-turn-object > i {
    width: 116px;
  }
  .grade2-dimension-cards span {
    grid-template-columns: 35px 1fr;
    padding: 5px;
    font-size: 8px;
  }
  .grade2-dimension-cards b {
    min-height: 26px;
    font-size: 9px;
  }
  .grade2-anatomy-board {
    grid-template-columns: 170px minmax(0, 1fr);
    column-gap: 8px;
  }
  .grade2-cube-anatomy {
    margin-left: -22px;
    transform: scale(0.61);
  }
  .grade2-part-cards span {
    grid-template-columns: 28px 1fr;
    padding: 5px;
    font-size: 8px;
  }
  .grade2-part-cards b {
    width: 27px;
    height: 27px;
  }
  .grade2-anatomy-board > h1 {
    padding-left: 0;
    font-size: 14px;
  }
  .grade2-solid-portrait {
    grid-template-columns: 110px 1fr;
    padding: 8px;
  }
  .grade2-solid-portrait > .grade2-solid-sprite {
    width: 96px;
  }
  .grade2-solid-portrait > div {
    grid-template-columns: 1fr 20px 1fr;
    gap: 3px;
    padding: 7px;
  }
  .grade2-solid-portrait small {
    font-size: 6px;
  }
  .grade2-solid-portrait > div > strong {
    font-size: 10px;
  }
  .grade2-solid-portrait h1 {
    font-size: 14px;
  }
  .grade2-solid-portrait p {
    font-size: 8px;
  }
  .grade2-solid-portrait > div > b {
    font-size: 7px;
  }
  .grade2-solid-question {
    grid-template-columns: 105px 1fr;
    padding: 8px;
  }
  .grade2-solid-question-visual {
    min-height: 180px;
    border-width: 2px;
  }
  .grade2-solid-question-visual > .grade2-solid-sprite {
    width: 82px;
  }
  .grade2-solid-question h1 {
    font-size: 15px;
  }
  .grade2-solid-question p {
    font-size: 8px;
  }
  .grade2-solid-result-row .grade2-solid-sprite,
  .grade2-solid-finish-visual .grade2-solid-sprite {
    width: 42px;
  }
  .grade2-solid-result h1 {
    font-size: 20px;
  }
  .grade2-solid-result p {
    font-size: 9px;
  }
  .grade2-prism-compare > div {
    gap: 4px;
  }
  .grade2-prism-compare section {
    border-width: 2px;
    border-radius: 13px;
  }
  .grade2-prism-compare section > b {
    font-size: 8px;
  }
  .grade2-prism-compare section > .grade2-solid-sprite {
    width: 52px;
  }
  .grade2-prism-compare section > small {
    font-size: 7px;
  }
  .grade2-prism-compare > p {
    font-size: 8px;
  }
  .grade2-triangular-views > img {
    height: 150px;
  }
  .grade2-triangular-views > i {
    border-width: 3px;
  }
  .grade2-viewpoint-board h1 {
    font-size: 14px;
  }
  .grade2-viewpoint-board p {
    font-size: 8px;
  }
  .grade2-solids-finish h1 {
    font-size: 17px;
  }
  .grade2-solids-finish p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grade2-turn-object .grade2-solid-sprite,
  .grade2-turn-object > i,
  .grade2-solid-sprite.roll-ball,
  .grade2-solid-sprite.roll-ball > img,
  .grade2-solid-sprite.roll-cylinder,
  .grade2-solid-sprite.roll-cylinder > img,
  .grade2-cube-anatomy.show-corner .cube-corner {
    animation: none !important;
  }
}

/* 2. sınıf · Geometrik Cisim Modelleri: bütün-parça ilişkisi gerçek katmanlarla kurulur. */
.grade2-models-board {
  box-sizing: border-box;
  height: min(100%, 600px);
  max-height: 600px;
  min-height: 0;
  padding: 16px;
  border: 1px solid #abd8d1;
  border-radius: 28px;
  background: #eaf7f4;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.grade2-models-board > .board-square {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  overflow: hidden;
}
.pre-reader .grade2-models-board .board-kicker,
.pre-reader .grade2-models-board .board-square h1 {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}
.grade2-model-tower {
  position: relative;
  width: 250px;
  height: 330px;
  transform-origin: center bottom;
}
.grade2-model-table-line {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 1%;
  height: 8px;
  border-radius: 99px;
  background: #9c683d;
  box-shadow: 0 7px 0 rgb(94 57 31/18%);
}
.grade2-model-piece {
  position: absolute;
  left: 50%;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, -55px) scale(0.72);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.18, 0.9, 0.28, 1.16);
}
.grade2-model-piece.is-placed {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.grade2-model-piece.is-missing {
  opacity: 0.12;
  filter: grayscale(1);
}
.grade2-model-piece .grade2-solid-sprite {
  width: 100%;
}
.grade2-model-piece.model-piece-1 {
  bottom: 5%;
  width: 176px;
}
.grade2-model-piece.model-piece-2 {
  bottom: 24%;
  width: 118px;
}
.grade2-model-piece.model-piece-3 {
  bottom: 43%;
  width: 92px;
}
.grade2-model-piece.model-piece-4 {
  bottom: 62%;
  width: 112px;
}
.grade2-model-piece.model-piece-5 {
  bottom: 82%;
  width: 64px;
}
.grade2-model-tower.is-exploded .model-piece-1 {
  transform: translate(-118%, 0) scale(0.8);
}
.grade2-model-tower.is-exploded .model-piece-2 {
  transform: translate(-92%, -16px) scale(0.8);
}
.grade2-model-tower.is-exploded .model-piece-3 {
  transform: translate(-10%, -4px) scale(0.8);
}
.grade2-model-tower.is-exploded .model-piece-4 {
  transform: translate(30%, -13px) scale(0.8);
}
.grade2-model-tower.is-exploded .model-piece-5 {
  transform: translate(86%, -4px) scale(0.8);
}
.grade2-model-tower.is-compact {
  width: 125px;
  height: 170px;
}
.grade2-model-tower.is-compact .grade2-model-table-line {
  height: 4px;
}
.grade2-models-hero {
  position: relative;
  background: #dcefeb !important;
}
.grade2-models-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}
.grade2-model-hero-table {
  position: absolute;
  right: 8%;
  bottom: 7%;
  width: 39%;
  height: 72%;
  display: grid;
  place-items: end center;
}
.grade2-model-hero-table .grade2-model-tower {
  transform: scale(0.8);
}
.grade2-model-hero-copy {
  position: absolute;
  left: 22px;
  top: 22px;
  width: min(48%, 390px);
  padding: 15px 18px;
  border: 2px solid rgb(255 255 255/85%);
  border-radius: 18px;
  background: rgb(255 255 255/92%);
  box-shadow: 0 12px 28px rgb(22 66 59/15%);
}
.grade2-model-hero-copy > span,
.grade2-models-finish > span {
  color: #087d70;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.grade2-model-hero-copy h1 {
  margin: 5px 0;
  color: #153f4b;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.05;
}
.grade2-model-hero-copy p {
  margin: 0;
  color: #426962;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.grade2-building-example {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(270px, 1.15fr);
  align-items: center;
  gap: 22px;
  padding: 34px;
  background: linear-gradient(145deg, #fbfffe, #dcefeb) !important;
}
.grade2-building-example > .board-kicker {
  position: absolute;
  left: 18px;
  top: 15px;
}
.grade2-building-silhouette {
  position: relative;
  display: grid;
  place-items: center;
  align-content: end;
  min-height: 330px;
  border: 3px solid #b7ddd7;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}
.grade2-building-silhouette > span {
  display: block;
  margin-top: -34px;
  z-index: calc(4 - var(--piece));
}
.grade2-building-silhouette > span:first-child {
  margin-top: 0;
}
.grade2-building-silhouette .grade2-solid-sprite {
  width: 145px;
}
.grade2-building-silhouette.model-0 > span:last-child .grade2-solid-sprite {
  width: 112px;
}
.grade2-building-silhouette.model-2 > span .grade2-solid-sprite {
  width: 116px;
}
.grade2-building-example > div:last-child {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
}
.grade2-building-example h1 {
  margin: 0 0 8px;
  color: #153f4b;
  font-size: 30px;
}
.grade2-building-example p {
  margin: 0;
  color: #0b8074;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}
.grade2-building-example small {
  display: block;
  margin-top: 13px;
  color: #56736e;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}
.grade2-decompose-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1.1fr);
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 8px 24px;
  padding: 22px 34px;
  background: linear-gradient(145deg, #fbfffe, #dcefeb) !important;
}
.grade2-decompose-board > .board-kicker {
  grid-column: 1/-1;
}
.grade2-decompose-board > .grade2-model-tower {
  grid-column: 1;
  grid-row: 2/4;
  justify-self: center;
}
.grade2-decompose-board h1 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  color: #153f4b;
  font-size: 29px;
  line-height: 1.08;
}
.grade2-decompose-board p {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  margin: 0;
  color: #496d67;
  font-size: 13px;
  font-weight: 800;
}
.grade2-decompose-board [data-model-piece] {
  cursor: pointer;
}
.grade2-decompose-board [data-model-piece]:hover,
.grade2-decompose-board [data-model-piece]:focus-visible {
  filter: drop-shadow(0 0 8px #f4b73a);
  outline: 3px solid #f4b73a;
  outline-offset: 3px;
  border-radius: 20px;
}
.grade2-assemble-board {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(145deg, #fbfffe, #dcefeb) !important;
}
.grade2-assembly-stage {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 17px;
  min-height: 0;
}
.grade2-assembly-stage > .grade2-model-tower {
  justify-self: center;
  transform: scale(0.82);
}
.grade2-piece-tray {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  padding: 11px;
  border: 3px dashed #9fcfc8;
  border-radius: 20px;
  background: rgb(255 255 255/78%);
}
.grade2-piece-tray button,
.grade2-design-options button {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 126px;
  padding: 6px;
  border: 3px solid #b6ddd7;
  border-radius: 17px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s ease;
}
.grade2-piece-tray button:hover,
.grade2-piece-tray button:focus-visible,
.grade2-design-options button:hover,
.grade2-design-options button:focus-visible {
  border-color: #f4b73a;
  outline: 0;
  box-shadow: 0 0 0 6px rgb(244 183 58/24%);
  transform: translateY(-2px);
}
.grade2-piece-tray .grade2-solid-sprite,
.grade2-design-options .grade2-solid-sprite {
  width: 75px;
}
.grade2-piece-tray small,
.grade2-design-options small {
  color: #174d55;
  font-size: 9px;
  font-weight: 950;
  text-align: center;
}
.grade2-assemble-board h1 {
  margin: 0;
  text-align: center;
  color: #153f4b;
  font-size: 22px;
}
.grade2-model-plan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px;
}
.grade2-model-plan > span {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 5px;
  border: 2px solid #b7ddd7;
  border-radius: 14px;
  background: #f7fffd;
}
.grade2-model-plan .grade2-solid-sprite {
  width: 66px;
}
.grade2-model-plan b {
  position: absolute;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0a887a;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 3px 8px rgb(16 75 67/22%);
}
.grade2-solid-question-visual > .grade2-model-plan {
  align-self: center;
}
.grade2-before-after {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  gap: 2px;
  width: 100%;
}
.grade2-before-after > span {
  display: grid;
  place-items: center;
  gap: 0;
}
.grade2-before-after > i {
  color: #ee792b;
  font-size: 22px;
  font-style: normal;
}
.grade2-before-after b {
  padding: 3px 6px;
  border-radius: 8px;
  background: #e7f4f1;
  color: #17635d;
  font-size: 8px;
}
.grade2-mini-model {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 34px;
}
.grade2-mini-model > i {
  display: block;
  margin-left: -10px;
  transform: translateY(calc(var(--mini) * -2px));
  font-style: normal;
}
.grade2-mini-model > i:first-child {
  margin-left: 0;
}
.grade2-mini-model .grade2-solid-sprite {
  width: 34px;
}
.theme4-final-choices button:has(.grade2-mini-model) {
  grid-template-rows: 34px auto;
  gap: 0;
  padding: 3px 8px;
}
.theme4-final-choices button:has(.grade2-mini-model) > b {
  font-size: 10px;
}
.grade2-design-studio {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(280px, 1.1fr);
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 8px 18px;
  padding: 20px 28px;
  background: linear-gradient(145deg, #fbfffe, #dcefeb) !important;
}
.grade2-design-studio > .board-kicker {
  grid-column: 1/-1;
}
.grade2-design-preview {
  position: relative;
  grid-column: 1;
  grid-row: 2/4;
  display: grid;
  place-items: center;
  align-content: end;
  min-height: 330px;
  padding: 14px;
  border: 3px dashed #9fcfc8;
  border-radius: 23px;
  background: #fff;
}
.grade2-design-preview > span {
  display: block;
  margin-top: -34px;
}
.grade2-design-preview > span:first-child {
  margin-top: 0;
}
.grade2-design-preview .grade2-solid-sprite {
  width: 135px;
}
.grade2-design-preview p {
  align-self: center;
  margin: auto;
  color: #6a817e;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.grade2-design-studio h1 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  color: #153f4b;
  font-size: 26px;
}
.grade2-design-studio > p {
  grid-column: 2;
  margin: 0;
  color: #496d67;
  font-weight: 800;
}
.grade2-design-options {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.grade2-design-options button {
  min-height: 140px;
}
.grade2-models-finish {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 34px;
  background: linear-gradient(145deg, #fbfffe, #dcefeb) !important;
}
.grade2-models-finish > .grade2-model-tower {
  transform: scale(0.82);
}
.grade2-models-finish h1 {
  margin: 4px 0;
  color: #153f4b;
  font-size: 29px;
  line-height: 1.08;
}
.grade2-models-finish p {
  margin: 0;
  color: #496d67;
  font-weight: 800;
}
.grade2-models-finish > div:last-child {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  color: #0b7c70;
  font-weight: 850;
}
.grade2-models-finish > div:last-child b {
  font-size: 19px;
}
.solid-model-support-stack,
.solid-model-support-change,
.solid-model-support-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.solid-model-support-stack span,
.solid-model-support-change span,
.solid-model-support-change strong,
.solid-model-support-plan span,
.solid-model-support-plan strong {
  padding: 7px 9px;
  border-radius: 10px;
  background: #e7f4f1;
  color: #174d55;
  font-size: 8px;
  font-weight: 950;
}
.solid-model-support-stack i,
.solid-model-support-change i,
.solid-model-support-plan i {
  color: #e97829;
  font-style: normal;
  font-weight: 950;
}

@media (max-width: 820px), (max-height: 760px) {
  .topic-lesson-shell .teaching-board.grade2-models-board {
    height: 460px !important;
    max-height: 460px !important;
  }
  .grade2-models-board {
    padding: 9px;
    border-radius: 20px;
  }
  .grade2-models-board > .board-square {
    border-radius: 16px;
  }
  .grade2-model-tower {
    width: 190px;
    height: 260px;
  }
  .grade2-model-hero-table .grade2-model-tower {
    transform: scale(0.72);
  }
  .grade2-model-hero-copy {
    left: 12px;
    top: 12px;
    padding: 9px 11px;
  }
  .grade2-model-hero-copy h1 {
    font-size: 20px;
  }
  .grade2-model-hero-copy p {
    font-size: 9px;
  }
  .grade2-building-example {
    grid-template-columns: 190px 1fr;
    padding: 20px;
    gap: 10px;
  }
  .grade2-building-silhouette {
    min-height: 270px;
  }
  .grade2-building-silhouette .grade2-solid-sprite {
    width: 108px;
  }
  .grade2-building-example h1 {
    font-size: 22px;
  }
  .grade2-building-example p {
    font-size: 12px;
  }
  .grade2-decompose-board {
    grid-template-columns: 210px 1fr;
    padding: 14px;
  }
  .grade2-decompose-board h1 {
    font-size: 21px;
  }
  .grade2-assembly-stage {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 7px;
  }
  .grade2-assembly-stage > .grade2-model-tower {
    transform: scale(0.63);
  }
  .grade2-piece-tray {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 5px;
  }
  .grade2-piece-tray button,
  .grade2-design-options button {
    min-height: 82px;
  }
  .grade2-piece-tray .grade2-solid-sprite,
  .grade2-design-options .grade2-solid-sprite {
    width: 47px;
  }
  .grade2-assemble-board h1 {
    font-size: 16px;
  }
  .grade2-model-plan .grade2-solid-sprite {
    width: 50px;
  }
  .grade2-design-studio {
    grid-template-columns: 200px 1fr;
    padding: 14px;
  }
  .grade2-design-preview {
    min-height: 270px;
  }
  .grade2-design-preview .grade2-solid-sprite {
    width: 102px;
  }
  .grade2-models-finish {
    grid-template-columns: 210px 1fr;
    padding: 14px;
  }
  .grade2-models-finish h1 {
    font-size: 22px;
  }
}
@media (max-width: 620px) {
  .topic-lesson-shell .teaching-board.grade2-models-board {
    height: 328px !important;
    max-height: 328px !important;
    padding: 7px !important;
  }
  .grade2-models-hero > img {
    object-position: center;
  }
  .grade2-model-hero-table {
    right: 1%;
    width: 48%;
    bottom: -3%;
  }
  .grade2-model-hero-table .grade2-model-tower {
    transform: scale(0.49);
  }
  .grade2-model-hero-copy {
    width: 58%;
  }
  .grade2-model-hero-copy h1 {
    font-size: 15px;
  }
  .grade2-model-hero-copy p {
    display: none;
  }
  .grade2-building-example {
    grid-template-columns: 115px 1fr;
    padding: 9px;
    gap: 5px;
  }
  .grade2-building-silhouette {
    min-height: 205px;
    border-width: 2px;
  }
  .grade2-building-silhouette .grade2-solid-sprite {
    width: 70px;
  }
  .grade2-building-example > div:last-child {
    padding: 7px;
  }
  .grade2-building-example h1 {
    font-size: 14px;
  }
  .grade2-building-example p {
    font-size: 8px;
  }
  .grade2-building-example small {
    font-size: 7px;
  }
  .grade2-decompose-board {
    grid-template-columns: 135px 1fr;
    padding: 7px;
    gap: 4px;
  }
  .grade2-decompose-board > .grade2-model-tower {
    transform: scale(0.58);
  }
  .grade2-decompose-board h1 {
    font-size: 14px;
  }
  .grade2-decompose-board p {
    font-size: 8px;
  }
  .grade2-assemble-board {
    padding: 6px;
  }
  .grade2-assembly-stage {
    grid-template-columns: 112px 1fr;
    gap: 3px;
  }
  .grade2-assembly-stage > .grade2-model-tower {
    transform: scale(0.49);
  }
  .grade2-piece-tray {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 3px;
  }
  .grade2-piece-tray button,
  .grade2-design-options button {
    min-height: 65px;
    padding: 2px;
    border-width: 2px;
  }
  .grade2-piece-tray .grade2-solid-sprite,
  .grade2-design-options .grade2-solid-sprite {
    width: 34px;
  }
  .grade2-piece-tray small,
  .grade2-design-options small {
    font-size: 6px;
  }
  .grade2-assemble-board h1 {
    font-size: 12px;
  }
  .grade2-solid-question-visual .grade2-model-plan {
    grid-template-columns: repeat(2, 1fr);
  }
  .grade2-model-plan .grade2-solid-sprite {
    width: 34px;
  }
  .grade2-model-plan b {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  .grade2-before-after .grade2-model-tower.is-compact {
    transform: scale(0.62);
  }
  .grade2-design-studio {
    grid-template-columns: 108px 1fr;
    padding: 6px;
  }
  .grade2-design-preview {
    min-height: 198px;
    padding: 4px;
  }
  .grade2-design-preview .grade2-solid-sprite {
    width: 60px;
  }
  .grade2-design-studio h1 {
    font-size: 13px;
  }
  .grade2-design-studio > p {
    font-size: 7px;
  }
  .grade2-design-options {
    gap: 3px;
  }
  .grade2-models-finish {
    grid-template-columns: 105px 1fr;
    padding: 7px;
  }
  .grade2-models-finish > .grade2-model-tower {
    width: 100px;
    height: 175px;
    transform: none;
  }
  .grade2-models-finish h1 {
    font-size: 13px;
  }
  .grade2-models-finish p {
    font-size: 7px;
  }
  .grade2-models-finish > div:last-child {
    margin-top: 4px;
    padding: 4px 6px;
    font-size: 8px;
  }
  .grade2-models-finish > div:last-child b {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grade2-model-piece {
    transition: none !important;
  }
}

/* 2. sınıf · Geometrik Cisim Modelleri v2: gerçek öğretim sahnesi + gerçek 3B model. */
.grade2-models-v2 {
  --model-ink: #173f49;
  --model-teal: #078d7f;
  --model-pale: #e8f6f3;
  --model-orange: #f28a45;
  background: linear-gradient(145deg, #effaf7, #dcefeb) !important;
}
.grade2-models-v2 .board-square {
  background: linear-gradient(145deg, #fafffe, #e3f3ef) !important;
}
.grade2-model-three {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 3px solid #b0dbd4;
  border-radius: 24px;
  background: radial-gradient(
    circle at 50% 38%,
    #fff 0 28%,
    #e7f5f2 70%,
    #d7ece8 100%
  );
  overflow: hidden;
  touch-action: none;
  box-shadow: 0 14px 28px rgb(27 76 70/14%);
}
.grade2-model-three canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: none;
}
.grade2-model-three.is-dragging canvas {
  cursor: grabbing;
}
.grade2-model-park {
  position: relative;
  background: #dff2ef !important;
}
.grade2-model-park > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  background: #dcefeb;
}
.grade2-park-title {
  position: absolute;
  left: 20px;
  top: 18px;
  width: min(48%, 420px);
  padding: 15px 18px;
  border: 2px solid rgb(255 255 255/90%);
  border-radius: 18px;
  background: rgb(255 255 255/94%);
  box-shadow: 0 14px 30px rgb(22 66 59/18%);
}
.grade2-park-title span {
  color: #078b7d;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.grade2-park-title h1 {
  margin: 5px 0 0;
  color: var(--model-ink);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.06;
}
.park-focus {
  position: absolute;
  z-index: 3;
  border: 0 solid transparent;
  border-radius: 30px;
  pointer-events: none;
  transition: 0.25s ease;
}
.park-focus.is-speaking {
  border-width: 5px;
  border-color: #ffc743;
  background: rgb(255 214 78/12%);
  box-shadow:
    0 0 0 8px rgb(255 199 67/24%),
    0 0 26px #ffe17b;
  animation: modelFocusPulse 0.9s ease-in-out infinite alternate;
}
.park-planetarium {
  left: 1%;
  top: 25%;
  width: 24%;
  height: 38%;
}
.park-lighthouse {
  left: 24%;
  top: 3%;
  width: 14%;
  height: 54%;
}
.park-kiosk {
  left: 39%;
  top: 31%;
  width: 15%;
  height: 28%;
}
.park-library {
  left: 52%;
  top: 30%;
  width: 22%;
  height: 30%;
}
.park-clock {
  left: 72%;
  top: 5%;
  width: 14%;
  height: 55%;
}
.park-greenhouse {
  left: 82%;
  top: 34%;
  width: 18%;
  height: 37%;
}
@keyframes modelFocusPulse {
  to {
    box-shadow:
      0 0 0 12px rgb(255 199 67/15%),
      0 0 36px #ffe17b;
  }
}
.grade2-daily-to-model {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) 34px minmax(260px, 1.05fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 26px;
}
.grade2-daily-to-model > .board-kicker {
  grid-column: 1/-1;
}
.grade2-park-crop {
  position: relative;
  align-self: stretch;
  min-height: 0;
  border: 3px solid #b0dbd4;
  border-radius: 24px;
  background: #d9efeb;
  overflow: hidden;
}
.grade2-park-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--park-focus, center);
  transform: scale(1.8);
}
.grade2-park-crop b {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 11px;
  background: rgb(255 255 255/93%);
  color: #176058;
  font-size: 12px;
}
.grade2-daily-to-model > i {
  color: var(--model-orange);
  font-size: 32px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
}
.grade2-daily-to-model > .grade2-model-three {
  height: 100%;
}
.grade2-daily-to-model > div:last-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}
.grade2-daily-to-model h1 {
  margin: 0;
  color: var(--model-ink);
  font-size: 23px;
  line-height: 1.1;
}
.grade2-daily-to-model p {
  margin: 0;
  color: #50716c;
  font-size: 12px;
  font-weight: 800;
}
.grade2-teacher-build {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.9fr);
  grid-template-rows: auto 1fr;
  gap: 10px 22px;
  padding: 20px 28px;
}
.grade2-teacher-build > .board-kicker {
  grid-column: 1/-1;
}
.grade2-teacher-build > .grade2-model-three {
  min-height: 0;
}
.grade2-build-story {
  align-self: center;
}
.grade2-build-story h1 {
  margin: 0 0 8px;
  color: var(--model-ink);
  font-size: 27px;
}
.grade2-build-story p {
  margin: 0 0 14px;
  color: #4d716b;
  font-size: 13px;
  font-weight: 800;
}
.grade2-build-sequence {
  display: grid;
  gap: 6px;
}
.grade2-build-sequence span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 2px solid #b7ddd7;
  border-radius: 12px;
  background: #fff;
  color: #416863;
  font-size: 11px;
  font-weight: 900;
  transition: 0.22s;
}
.grade2-build-sequence span.is-done,
.grade2-build-sequence span:has(+ .is-done) {
  border-color: #f7ba3d;
  background: #fff8dc;
  color: #164f49;
}
.grade2-build-sequence b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0a8d7f;
  color: #fff;
}
.grade2-model-touch {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(260px, 0.95fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px 22px;
  padding: 20px 28px;
}
.grade2-model-touch > .board-kicker {
  grid-column: 1/-1;
}
.grade2-model-touch > .grade2-model-three {
  min-height: 0;
}
.grade2-model-touch > div:last-child {
  align-self: center;
}
.grade2-model-touch h1 {
  margin: 0;
  color: var(--model-ink);
  font-size: 26px;
  line-height: 1.12;
}
.grade2-model-touch p {
  margin: 8px 0;
  color: #4d716b;
  font-size: 13px;
  font-weight: 800;
}
.grade2-separated-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.grade2-separated-list span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 5px;
  border: 2px solid #b5ddd6;
  border-radius: 12px;
  background: #fff;
}
.grade2-separated-list .grade2-solid-sprite {
  width: 38px;
  flex: 0 0 38px;
}
.grade2-separated-list b {
  font-size: 8px;
  color: #245a56;
}
.grade2-model-assemble-v2 {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 9px 18px;
  padding: 18px 24px;
}
.grade2-model-assemble-v2 > .board-kicker {
  grid-column: 1/-1;
}
.grade2-model-assemble-v2 > .grade2-model-three {
  grid-row: 2/4;
  min-height: 0;
}
.grade2-model-assemble-v2 > h1 {
  margin: 0;
  text-align: center;
  color: var(--model-ink);
  font-size: 20px;
}
.grade2-assembly-tray {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 7px;
  padding: 9px;
  border: 3px dashed #9fcfc8;
  border-radius: 20px;
  background: rgb(255 255 255/72%);
}
.grade2-assembly-tray button,
.grade2-design-v2 button {
  display: grid;
  grid-template-columns: 60px 1fr;
  place-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 88px;
  padding: 6px;
  border: 3px solid #b6ddd7;
  border-radius: 16px;
  background: #fff;
  color: #174d55;
  cursor: pointer;
  transition: 0.18s;
}
.grade2-assembly-tray button:hover,
.grade2-assembly-tray button:focus-visible,
.grade2-design-v2 button:hover,
.grade2-design-v2 button:focus-visible {
  border-color: #f4b73a;
  outline: 0;
  box-shadow: 0 0 0 6px rgb(244 183 58/24%);
  transform: translateY(-2px);
}
.grade2-assembly-tray .grade2-solid-sprite,
.grade2-design-v2 .grade2-solid-sprite {
  width: 58px;
}
.grade2-assembly-tray b,
.grade2-design-v2 button b {
  font-size: 9px;
  text-align: left;
}
.grade2-plan-teaching {
  display: grid;
  grid-template-columns: minmax(310px, 1fr) minmax(300px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 10px 20px;
  padding: 20px 26px;
}
.grade2-plan-teaching > .board-kicker {
  grid-column: 1/-1;
}
.grade2-plan-teaching > .grade2-model-three {
  min-height: 0;
}
.grade2-plan-teaching > div:last-child {
  align-self: center;
}
.grade2-plan-teaching h1 {
  margin: 0 0 9px;
  color: var(--model-ink);
  font-size: 25px;
}
.grade2-plan-teaching p {
  margin: 8px 0 0;
  color: #4d716b;
  font-size: 12px;
  font-weight: 800;
}
.grade2-plan-teaching .grade2-model-plan {
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}
.grade2-plan-teaching .grade2-model-plan .grade2-solid-sprite {
  width: 52px;
}
.grade2-built-vs-spare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}
.grade2-built-vs-spare > span,
.grade2-built-vs-spare > i {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 8px;
  border: 3px solid #add9d2;
  border-radius: 17px;
  background: #fff;
  font-style: normal;
}
.grade2-built-vs-spare > i {
  grid-template-columns: repeat(2, 1fr);
  border-style: dashed;
  background: #f7fbfa;
}
.grade2-built-vs-spare b {
  grid-column: 1/-1;
  color: #176159;
  font-size: 8px;
}
.grade2-built-vs-spare .grade2-mini-model {
  width: 100%;
}
.grade2-built-vs-spare .grade2-solid-sprite {
  width: 54px;
}
.grade2-design-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(330px, 1.1fr);
  grid-template-rows: auto 1fr;
  gap: 10px 20px;
  padding: 20px 28px;
}
.grade2-design-v2 > .board-kicker {
  grid-column: 1/-1;
}
.grade2-design-live {
  display: grid;
  place-items: center;
  align-content: end;
  min-height: 0;
  padding: 16px;
  border: 3px dashed #a1d0c9;
  border-radius: 24px;
  background: #fff;
}
.grade2-design-live > span {
  display: block;
  margin-top: -36px;
}
.grade2-design-live > span:first-child {
  margin-top: 0;
}
.grade2-design-live .grade2-solid-sprite {
  width: 135px;
}
.grade2-design-live p {
  align-self: center;
  color: #66817d;
  font-weight: 850;
  text-align: center;
}
.grade2-design-v2 > div:last-child {
  align-self: center;
}
.grade2-design-v2 h1 {
  margin: 0;
  color: var(--model-ink);
  font-size: 26px;
}
.grade2-design-v2 p {
  color: #4d716b;
  font-size: 12px;
  font-weight: 800;
}
.grade2-design-v2 .grade2-design-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grade2-design-v2 button {
  grid-template-columns: 1fr;
  min-height: 118px;
}
.grade2-design-v2 button b {
  text-align: center;
}
.grade2-models-finish-v2 {
  display: grid;
  grid-template-columns: minmax(310px, 0.95fr) minmax(310px, 1.05fr);
  align-items: center;
  gap: 22px;
  padding: 24px 30px;
}
.grade2-models-finish-v2 > .grade2-model-three {
  height: 100%;
  min-height: 0;
}
.grade2-models-finish-v2 span {
  color: #078b7d;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.grade2-models-finish-v2 h1 {
  margin: 6px 0;
  color: var(--model-ink);
  font-size: 29px;
  line-height: 1.08;
}
.grade2-models-finish-v2 p {
  color: #4d716b;
  font-size: 13px;
  font-weight: 800;
}
.grade2-models-finish-v2 > div:last-child > b {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 11px;
  background: #fff;
  color: #087d70;
  font-size: 11px;
}

@media (max-width: 820px), (max-height: 760px) {
  .grade2-daily-to-model,
  .grade2-teacher-build,
  .grade2-model-touch,
  .grade2-plan-teaching,
  .grade2-models-finish-v2 {
    padding: 12px 15px;
    gap: 7px 10px;
  }
  .grade2-daily-to-model {
    grid-template-columns: minmax(0, 0.85fr) 22px minmax(0, 1.15fr);
  }
  .grade2-daily-to-model h1,
  .grade2-plan-teaching h1 {
    font-size: 18px;
  }
  .grade2-daily-to-model p,
  .grade2-plan-teaching p {
    font-size: 9px;
  }
  .grade2-teacher-build {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .grade2-build-story h1,
  .grade2-model-touch h1 {
    font-size: 20px;
  }
  .grade2-build-story p,
  .grade2-model-touch p {
    font-size: 9px;
  }
  .grade2-build-sequence span {
    padding: 4px 6px;
    font-size: 8px;
  }
  .grade2-model-touch {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .grade2-model-assemble-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 10px 13px;
  }
  .grade2-assembly-tray {
    grid-template-columns: 1fr;
  }
  .grade2-assembly-tray button {
    grid-template-columns: 44px 1fr;
    min-height: 56px;
  }
  .grade2-assembly-tray .grade2-solid-sprite {
    width: 42px;
  }
  .grade2-plan-teaching {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .grade2-models-v2 .grade2-built-vs-spare {
    grid-template-columns: 1fr;
  }
  .grade2-models-v2 .grade2-built-vs-spare > span,
  .grade2-models-v2 .grade2-built-vs-spare > i {
    padding: 4px;
  }
  .grade2-models-v2 .grade2-built-vs-spare .grade2-solid-sprite {
    width: 34px;
  }
  .grade2-models-v2 .grade2-solid-question-visual > .grade2-model-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
  }
  .grade2-models-v2
    .grade2-solid-question-visual
    .grade2-model-plan
    .grade2-solid-sprite {
    width: 39px;
  }
  .grade2-design-v2 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding: 11px 14px;
  }
  .grade2-design-live .grade2-solid-sprite {
    width: 95px;
  }
  .grade2-models-finish-v2 {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
  .grade2-models-finish-v2 h1 {
    font-size: 21px;
  }
}
@media (max-width: 620px) {
  .grade2-park-title {
    left: 8px;
    top: 8px;
    width: 62%;
    padding: 7px 9px;
  }
  .grade2-park-title span {
    font-size: 8px;
  }
  .grade2-park-title h1 {
    font-size: 13px;
  }
  .park-focus.is-speaking {
    border-width: 3px;
    box-shadow:
      0 0 0 4px rgb(255 199 67/24%),
      0 0 16px #ffe17b;
  }
  .grade2-daily-to-model {
    grid-template-columns: 38% 16px 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 6px 7px;
  }
  .grade2-park-crop,
  .grade2-model-three {
    border-width: 2px;
    border-radius: 14px;
  }
  .grade2-park-crop b {
    left: 4px;
    bottom: 4px;
    padding: 3px 5px;
    font-size: 8px;
  }
  .grade2-daily-to-model > i {
    font-size: 18px;
  }
  .grade2-daily-to-model h1 {
    font-size: 13px;
  }
  .grade2-daily-to-model p {
    font-size: 9px;
  }
  .grade2-teacher-build {
    grid-template-columns: 52% 1fr;
    padding: 6px 7px;
  }
  .grade2-build-story h1 {
    font-size: 13px;
  }
  .grade2-build-story p {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .grade2-build-sequence {
    gap: 2px;
  }
  .grade2-build-sequence span {
    gap: 3px;
    padding: 2px 4px;
    border-width: 1px;
    font-size: 8px;
  }
  .grade2-build-sequence b {
    width: 14px;
    height: 14px;
  }
  .grade2-model-touch {
    grid-template-columns: 55% 1fr;
    padding: 6px 7px;
  }
  .grade2-model-touch h1 {
    font-size: 13px;
  }
  .grade2-model-touch p {
    font-size: 9px;
  }
  .grade2-separated-list {
    gap: 2px;
    margin-top: 3px;
  }
  .grade2-separated-list span {
    padding: 2px;
    border-width: 1px;
  }
  .grade2-separated-list .grade2-solid-sprite {
    width: 20px;
    flex-basis: 20px;
  }
  .grade2-separated-list b {
    font-size: 8px;
  }
  .grade2-model-assemble-v2 {
    grid-template-columns: 50% 1fr;
    padding: 5px 6px;
  }
  .grade2-assembly-tray {
    gap: 2px;
    padding: 3px;
    border-width: 2px;
  }
  .grade2-assembly-tray button {
    grid-template-columns: 26px 1fr;
    min-height: 40px;
    padding: 2px;
    border-width: 2px;
  }
  .grade2-assembly-tray .grade2-solid-sprite {
    width: 25px;
  }
  .grade2-assembly-tray b {
    font-size: 9px;
  }
  .grade2-model-assemble-v2 > h1 {
    font-size: 11px;
  }
  .grade2-plan-teaching {
    grid-template-columns: 48% 1fr;
    padding: 6px 7px;
  }
  .grade2-plan-teaching h1 {
    font-size: 13px;
  }
  .grade2-plan-teaching p {
    font-size: 9px;
  }
  .grade2-plan-teaching .grade2-model-plan {
    gap: 2px;
  }
  .grade2-plan-teaching .grade2-model-plan .grade2-solid-sprite {
    width: 25px;
  }
  .grade2-built-vs-spare {
    gap: 3px;
  }
  .grade2-built-vs-spare > span,
  .grade2-built-vs-spare > i {
    padding: 3px;
    border-width: 2px;
  }
  .grade2-built-vs-spare .grade2-solid-sprite {
    width: 30px;
  }
  .grade2-design-v2 {
    grid-template-columns: 40% 1fr;
    padding: 5px 6px;
  }
  .grade2-design-live {
    padding: 4px;
    border-width: 2px;
  }
  .grade2-design-live .grade2-solid-sprite {
    width: 55px;
  }
  .grade2-design-live > span {
    margin-top: -20px;
  }
  .grade2-design-live p {
    font-size: 9px;
  }
  .grade2-design-v2 h1 {
    font-size: 13px;
  }
  .grade2-design-v2 p {
    font-size: 9px;
  }
  .grade2-design-v2 button {
    min-height: 55px;
    padding: 2px;
    border-width: 2px;
  }
  .grade2-design-v2 .grade2-solid-sprite {
    width: 31px;
  }
  .grade2-design-v2 button b {
    font-size: 9px;
  }
  .grade2-models-finish-v2 {
    grid-template-columns: 45% 1fr;
    padding: 6px 7px;
  }
  .grade2-models-finish-v2 h1 {
    font-size: 13px;
  }
  .grade2-models-finish-v2 p,
  .grade2-models-finish-v2 > div:last-child > b {
    font-size: 9px;
  }
}

/* 2. sınıf · Three.js geometrik cisim laboratuvarı */
.grade2-three-solid {
  position: relative;
  width: min(100%, 300px);
  height: 310px;
  margin: auto;
  border: 3px solid #b5ddd7;
  border-radius: 24px;
  background: radial-gradient(
    circle at 50% 42%,
    #fff 0 34%,
    #edf9f6 70%,
    #d9efea 100%
  );
  box-shadow:
    inset 0 0 38px rgb(29 126 114/9%),
    0 14px 26px rgb(20 77 69/13%);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.grade2-three-solid.is-dragging {
  cursor: grabbing;
}
.grade2-three-solid canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: 0;
}
.grade2-three-solid:focus-within,
.grade2-three-solid:hover {
  border-color: #f4b73a;
  box-shadow:
    0 0 0 6px rgb(244 183 58/20%),
    inset 0 0 38px rgb(29 126 114/9%);
}
.grade2-three-solid > .grade2-solid-sprite {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 145px;
  transform: translate(-50%, -50%);
}
.grade2-three-demo .grade2-turn-object {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 5px;
}
.grade2-three-demo .grade2-turn-object > .grade2-three-solid {
  width: 270px;
  height: 285px;
}
.grade2-three-demo .grade2-turn-object .grade2-solid-sprite {
  animation: none;
}
.grade2-three-hand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff6d7;
  color: #72520c;
  font-size: 10px;
  font-weight: 900;
}
.grade2-three-hand > b {
  font-size: 9px;
}
.grade2-solid-portrait-3d > .grade2-three-solid {
  width: 230px;
  height: 330px;
}
.grade2-solid-portrait-3d > .grade2-three-solid + .grade2-solid-sprite {
  display: none;
}
@media (max-width: 820px), (max-height: 760px) {
  .grade2-three-demo .grade2-turn-object > .grade2-three-solid {
    width: 155px;
    height: 200px;
  }
  .grade2-three-hand {
    padding: 4px 6px;
    font-size: 8px;
  }
  .grade2-three-hand > b {
    font-size: 7px;
  }
  .grade2-solid-portrait-3d > .grade2-three-solid {
    width: 145px;
    height: 260px;
  }
}
@media (max-width: 620px) {
  .grade2-three-demo .grade2-turn-object > .grade2-three-solid {
    width: 108px;
    height: 160px;
    border-width: 2px;
    border-radius: 16px;
  }
  .grade2-three-hand > b {
    display: none;
  }
  .grade2-solid-portrait-3d > .grade2-three-solid {
    width: 102px;
    height: 210px;
    border-width: 2px;
    border-radius: 16px;
  }
}
.grade2-solid-portrait-3d > .grade2-three-solid {
  display: block;
  box-sizing: border-box;
  padding: 0;
  grid-template-columns: none;
  background: radial-gradient(
    circle at 50% 42%,
    #fff 0 34%,
    #edf9f6 70%,
    #d9efea 100%
  );
}
.grade2-hold-turn.grade2-three-demo {
  grid-template-columns: minmax(285px, 0.95fr) minmax(0, 1.05fr);
  column-gap: 24px;
}
.grade2-three-demo .grade2-dimension-cards {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.grade2-three-demo .grade2-turn-object {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.grade2-cube-anatomy-3d {
  isolation: isolate;
  width: 280px;
  height: 270px;
}
.grade2-cube-anatomy-3d > .grade2-three-solid {
  position: absolute;
  inset: 0 10px;
  width: 260px;
  height: 270px;
  border-width: 2px;
  border-radius: 22px;
  cursor: grab;
}
.grade2-cube-anatomy-3d > .grade2-three-solid:hover {
  border-color: #b5ddd7;
  box-shadow:
    inset 0 0 38px rgb(29 126 114/9%),
    0 14px 26px rgb(20 77 69/13%);
}
.cube-part-hotspot {
  position: absolute;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: 3px solid transparent;
  background: transparent;
  pointer-events: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.cube-part-hotspot.surface {
  left: 65px;
  top: 75px;
  width: 115px;
  height: 118px;
  border-radius: 17px;
  transform: skewY(2deg);
}
.cube-part-hotspot.edge {
  left: 172px;
  top: 70px;
  width: 28px;
  height: 132px;
  border-radius: 999px;
}
.cube-part-hotspot.corner {
  left: 166px;
  top: 63px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.grade2-cube-anatomy-3d.show-face .cube-part-hotspot.surface {
  border-color: #f4b73a;
  background: rgb(244 183 58/25%);
  box-shadow: 0 0 0 7px rgb(244 183 58/22%);
}
.grade2-cube-anatomy-3d.show-edge .cube-part-hotspot.edge {
  border-color: #f4b73a;
  background: #fff1ad;
  box-shadow: 0 0 0 7px rgb(244 183 58/22%);
}
.grade2-cube-anatomy-3d.show-corner .cube-part-hotspot.corner {
  border-color: #f4b73a;
  background: #fff1ad;
  box-shadow: 0 0 0 7px rgb(244 183 58/22%);
}
.grade2-cube-anatomy-3d .face-label {
  left: 91px;
  top: 125px;
}
.grade2-cube-anatomy-3d .edge-label {
  left: 194px;
  top: 133px;
}
.grade2-cube-anatomy-3d .corner-label {
  left: 207px;
  top: 58px;
}
.grade2-cube-anatomy-3d .part-label {
  pointer-events: none;
}
.student-anatomy .part-label {
  opacity: 0;
}
.student-anatomy.found-1 .face-label,
.student-anatomy.found-2 .face-label,
.student-anatomy.found-2 .edge-label,
.student-anatomy.found-3 .part-label {
  opacity: 1;
  transform: none;
}
.grade2-daily-object {
  display: block;
  width: min(92%, 250px);
  height: min(88%, 285px);
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgb(20 64 58/22%));
}
@media (min-width: 821px) and (max-width: 1100px) {
  .topic-lesson-shell .teaching-board.grade2-solids-board {
    height: 580px !important;
    max-height: 580px !important;
  }
}
@media (max-width: 820px), (max-height: 760px) {
  .grade2-hold-turn.grade2-three-demo {
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 8px;
  }
}
@media (max-width: 620px) {
  .grade2-hold-turn.grade2-three-demo {
    grid-template-columns: 115px minmax(0, 1fr);
    column-gap: 8px;
  }
}
@media (max-width: 620px) {
  .student-grade2-anatomy-board {
    grid-template-columns: 1fr !important;
    grid-template-rows: 190px auto;
    align-content: center;
    justify-items: center;
    gap: 0 !important;
  }
  .student-grade2-anatomy-board > .grade2-cube-anatomy {
    grid-row: 1;
    margin: 0 !important;
  }
  .student-grade2-anatomy-board > h1 {
    grid-row: 2;
    width: 100%;
    padding: 0 !important;
    text-align: center;
    user-select: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grade2-three-solid canvas {
    animation: none !important;
  }
}

/* Geometrik cisimler · gerçek 3B görünüşler ve bilmecede isteğe bağlı görsel ipucu */
.grade2-three-viewpoint {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(120px, 180px);
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  width: min(100%, 560px);
  margin: auto;
}
.grade2-three-viewpoint > .grade2-three-solid {
  grid-row: 1/3;
  width: 300px;
  height: 250px;
}
.grade2-three-viewpoint > b {
  align-self: end;
  padding: 10px 12px;
  border-radius: 14px;
  background: #0b897c;
  color: #fff;
  font-size: 14px;
}
.grade2-three-viewpoint > small {
  align-self: start;
  color: #5c716d;
  font-size: 10px;
  font-weight: 850;
}
.grade2-riddle-clue {
  display: grid;
  place-items: center;
  min-height: 220px;
}
.grade2-riddle-clue > span {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border: 4px dashed #8ccbc1;
  border-radius: 50%;
  background: #f4fbf9;
  color: #168e81;
  font-size: 64px;
  font-weight: 950;
}
.grade2-riddle-clue > div {
  display: none;
}
.grade2-riddle-clue > small {
  margin-top: 8px;
  color: #62817b;
  font-size: 10px;
  font-weight: 850;
}
.grade2-riddle-clue.is-revealed > span {
  display: none;
}
.grade2-riddle-clue.is-revealed > div {
  display: block;
}
.grade2-riddle-clue.is-revealed .grade2-solid-sprite {
  width: 150px;
}
.grade2-riddle-clue.is-revealed > small {
  color: #96610b;
}
.grade2-riddle-question .grade2-solid-question-visual {
  background: linear-gradient(145deg, #f9fffe, #e9f7f4);
}
@media (max-width: 820px), (max-height: 760px) {
  .grade2-three-viewpoint {
    grid-template-columns: 210px 140px;
  }
  .grade2-three-viewpoint > .grade2-three-solid {
    width: 210px;
    height: 190px;
  }
}
@media (max-width: 620px) {
  .grade2-three-viewpoint {
    grid-template-columns: 155px 105px;
    gap: 4px 7px;
  }
  .grade2-three-viewpoint > .grade2-three-solid {
    width: 155px;
    height: 145px;
    border-width: 2px;
    border-radius: 16px;
  }
  .grade2-three-viewpoint > b {
    padding: 6px;
    font-size: 9px;
  }
  .grade2-three-viewpoint > small {
    font-size: 7px;
  }
  .grade2-riddle-clue {
    min-height: 150px;
  }
  .grade2-riddle-clue > span {
    width: 70px;
    height: 70px;
    font-size: 45px;
  }
  .grade2-riddle-clue.is-revealed .grade2-solid-sprite {
    width: 95px;
  }
}

/* Sınıflandırma sahnesindeki günlük nesne, adı geçen nesnenin okunabilir ölçeğinde kalır. */
.grade2-solid-question.has-daily-object {
  grid-template-columns: minmax(210px, 230px) minmax(0, 1fr);
}
.grade2-solid-question.has-daily-object .grade2-solid-question-visual {
  min-width: 0;
}
.grade2-solid-question.has-daily-object .grade2-daily-object {
  width: 94%;
  height: 90%;
}
@media (max-width: 620px) {
  .grade2-solid-question.has-daily-object {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}

/* 2. sınıf · Geometrik Şekil Modelleri — öğretmen odaklı v1 */
.grade2-shape-models-board {
  --shape-teal: #20a99a;
  --shape-coral: #ef7d57;
  --shape-yellow: #f2b53f;
  --shape-purple: #7056c8;
  background: #eaf8f5;
}
.grade2-shape-models-board .board-square {
  width: min(100%, 660px);
  height: min(100%, 660px);
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #fafffe, #def3ef);
  border: 1px solid #a8d8d0;
  box-shadow: 0 22px 48px rgba(20, 80, 71, 0.12);
  position: relative;
}
.grade2-shape-models-board h1 {
  color: #103d50;
  line-height: 1.14;
  margin: 0;
}
.grade2-shape-models-board p {
  color: #315864;
  line-height: 1.35;
  margin: 0;
}
.grade2-shape-models-board button {
  font: inherit;
}
.grade2-shape-hero {
  display: grid;
  align-items: end;
}
.grade2-shape-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grade2-shape-hero > div {
  position: relative;
  margin: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(12, 54, 48, 0.18);
  max-width: 72%;
}
.grade2-shape-hero span,
.grade2-shape-result > span {
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #087e72;
}
.grade2-shape-hero h1 {
  font-size: 25px;
  margin: 5px 0 8px;
}
.grade2-shape-hero p {
  font-size: 14px;
}
.grade2-flat-shape {
  display: inline-grid;
  place-items: center;
  gap: 2px;
  min-width: 64px;
}
.grade2-flat-shape svg {
  display: block;
  width: 76px;
  height: 66px;
  overflow: visible;
}
.grade2-flat-shape > b {
  font-size: 11px;
  color: #174b57;
}
.grade2-flat-shape .shape-corner circle {
  fill: #fff;
  stroke: #f0a800;
  stroke-width: 4;
}
.grade2-flat-shape .shape-corner text {
  font-size: 9px;
  text-anchor: middle;
  fill: #8b5a00;
  stroke: none;
  font-weight: 1000;
}
.grade2-print-teach,
.grade2-print-practice,
.grade2-shape-properties,
.grade2-circle-disk,
.grade2-circle-paint,
.grade2-compose-teach,
.grade2-shape-question,
.grade2-rover-count,
.grade2-shape-designer,
.grade2-shape-result,
.grade2-shape-finish {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.grade2-print-teach > h1 {
  font-size: 23px;
}
.grade2-print-teach > p {
  font-size: 13px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 15px;
}
.grade2-print-experiment {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.grade2-stamp-lab {
  display: block;
  position: relative;
  width: min(100%, 670px);
  height: 285px;
  overflow: hidden;
  border: 2px solid #a9d8d0;
  border-radius: 24px;
  background: #eaf8f5;
  box-shadow: 0 13px 28px rgba(15, 70, 64, 0.14);
}
.grade2-stamp-three {
  position: absolute;
  inset: 0;
}
.grade2-stamp-three canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.grade2-stamp-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.grade2-stamp-fallback .grade2-solid-sprite {
  width: 145px;
  height: 135px;
}
.grade2-stamp-label {
  position: absolute;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #174b57;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(15, 70, 64, 0.12);
  pointer-events: none;
}
.grade2-stamp-label b {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ef7d57;
  color: #fff;
}
.grade2-stamp-label.ink {
  left: 13%;
}
.grade2-stamp-label.paper {
  right: 12%;
}
.grade2-stamp-status {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  min-width: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #174b57;
  font-size: 10px;
  box-shadow: 0 6px 17px rgba(15, 70, 64, 0.15);
  pointer-events: none;
}
.grade2-stamp-status span,
.grade2-stamp-status strong {
  font-weight: 1000;
}
.grade2-stamp-status i {
  color: #ef7d57;
  font-size: 16px;
  font-style: normal;
}
.grade2-stamp-lab.is-inked .grade2-stamp-label.ink,
.grade2-stamp-lab.is-stamped .grade2-stamp-label.paper {
  box-shadow: 0 0 0 6px rgba(242, 181, 63, 0.34);
}
.grade2-stamp-lab.is-stamped .grade2-stamp-status strong {
  color: #7056c8;
}
.grade2-print-solid,
.grade2-print-paper {
  height: 235px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 2px solid #b9ddd7;
  position: relative;
}
.grade2-print-solid .grade2-solid-sprite {
  width: 145px;
  height: 135px;
}
.grade2-print-solid small {
  font-weight: 900;
  color: #174b57;
}
.grade2-print-experiment > i {
  font-style: normal;
  font-size: 30px;
  color: #ef7d57;
}
.grade2-print-paper {
  background: #fffefa;
  border-color: #f0c978;
}
.grade2-print-paper > span {
  font-size: 9px;
  font-weight: 1000;
  color: #8b6b22;
  letter-spacing: 0.08em;
}
.grade2-print-result {
  opacity: 0.1;
  transform: scale(0.65);
  transition: 0.55s ease;
}
.grade2-print-experiment.is-pressed .grade2-print-result {
  opacity: 0.88;
  transform: scale(1);
}
.grade2-print-paper > b {
  font-size: 17px;
  color: #174b57;
  opacity: 0;
  transition: 0.35s 0.35s;
}
.grade2-print-experiment.is-pressed .grade2-print-paper > b {
  opacity: 1;
}
.grade2-print-practice > h1 {
  font-size: 21px;
}
.grade2-print-album {
  min-height: 86px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  border: 2px dashed #9bcfc7;
  border-radius: 18px;
  padding: 8px;
}
.grade2-print-album p {
  font-size: 13px;
}
.grade2-print-album .grade2-flat-shape svg {
  width: 52px;
  height: 46px;
}
.grade2-print-solid-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  width: 100%;
}
.grade2-print-solid-options button {
  min-width: 0;
  border: 2px solid #a9d7d0;
  background: #fff;
  border-radius: 17px;
  padding: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.18s;
}
.grade2-print-solid-options button:hover,
.grade2-print-solid-options button:focus-visible {
  border-color: #f2b53f;
  transform: translateY(-2px);
  box-shadow: 0 0 0 5px rgba(242, 181, 63, 0.22);
}
.grade2-print-solid-options .grade2-solid-sprite {
  width: 84px;
  height: 75px;
}
.grade2-print-solid-options b {
  font-size: 10px;
  color: #174b57;
  line-height: 1.1;
}
.grade2-shape-plaza {
  position: relative;
}
.grade2-shape-plaza > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grade2-shape-plaza > div {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 54%;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 14px 16px;
  z-index: 3;
}
.grade2-shape-plaza h1 {
  font-size: 20px;
}
.grade2-shape-plaza p {
  font-size: 12px;
  margin-top: 6px;
}
.plaza-focus {
  position: absolute;
  border-radius: 14px;
  z-index: 2;
}
.plaza-focus.roof {
  left: 2%;
  top: 7%;
  width: 27%;
  height: 39%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.plaza-focus.clock {
  left: 29%;
  top: 20%;
  width: 12%;
  height: 18%;
  border-radius: 50%;
}
.plaza-focus.door {
  left: 54%;
  top: 43%;
  width: 11%;
  height: 23%;
}
.plaza-focus.window {
  left: 74%;
  top: 36%;
  width: 19%;
  height: 17%;
}
.plaza-focus.wheel {
  left: 66%;
  top: 66%;
  width: 17%;
  height: 13%;
}
.grade2-shape-properties {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  text-align: left;
  padding: 35px;
}
.grade2-shape-properties > .board-kicker {
  grid-column: 1/-1;
}
.grade2-shape-properties > .grade2-flat-shape svg {
  width: 260px;
  height: 230px;
}
.grade2-shape-properties > .grade2-flat-shape > b {
  display: none;
}
.grade2-shape-properties > div {
  display: grid;
  gap: 10px;
}
.grade2-shape-properties h1 {
  font-size: 28px;
}
.grade2-shape-properties div > span {
  background: #fff;
  border-radius: 16px;
  padding: 9px 12px;
  font-weight: 900;
  color: #174b57;
}
.grade2-shape-properties div > span b {
  font-size: 23px;
  color: #ef7d57;
  margin-right: 6px;
}
.grade2-shape-properties p {
  font-size: 14px;
}
.grade2-circle-disk > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.grade2-circle-disk > div > i {
  font-size: 34px;
  font-style: normal;
  color: #ef7d57;
}
.grade2-circle-disk .grade2-flat-shape svg {
  width: 150px;
  height: 135px;
}
.grade2-circle-disk section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.grade2-circle-disk section span {
  background: #fff;
  border: 2px solid #b7dad4;
  border-radius: 15px;
  padding: 13px;
  font-weight: 900;
  color: #174b57;
}
.grade2-circle-paint > button {
  width: 265px;
  height: 265px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 70, 64, 0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.grade2-circle-paint > button:hover {
  box-shadow:
    0 0 0 8px rgba(242, 181, 63, 0.28),
    0 12px 28px rgba(15, 70, 64, 0.15);
}
.grade2-circle-paint .grade2-flat-shape svg {
  width: 185px;
  height: 160px;
}
.grade2-circle-paint button > b {
  font-size: 20px;
  color: #174b57;
}
.grade2-circle-paint button > small {
  color: #087e72;
  font-weight: 800;
}
.grade2-circle-paint h1 {
  font-size: 22px;
}
.grade2-compose-teach .grade2-shape-model-svg {
  width: 390px;
  height: 245px;
}
.grade2-compose-teach > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.grade2-compose-teach > div span {
  padding: 8px 10px;
  background: #fff;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 900;
  color: #174b57;
}
.grade2-compose-teach h1 {
  font-size: 21px;
}
.grade2-shape-model-svg {
  display: block;
  max-width: 100%;
  overflow: visible;
}
.shape-model-part {
  transition: 0.7s cubic-bezier(0.22, 0.8, 0.25, 1);
}
.shape-model-part.is-missing > * {
  fill: #fff !important;
  stroke: #ef7d57;
  stroke-width: 5;
  stroke-dasharray: 9 7;
}
.shape-model-part.is-missing.is-filled > * {
  fill: #f2b53f !important;
  stroke: #f2b53f;
  stroke-dasharray: 0;
  animation: shape-part-pop 0.8s ease both;
}
@keyframes shape-part-pop {
  0% {
    transform: translate(90px, -70px) scale(0.35);
    opacity: 0;
  }
  70% {
    transform: translate(0, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.grade2-shape-question {
  justify-content: flex-start;
}
.grade2-shape-question-visual {
  width: 100%;
  height: 260px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 21px;
  border: 1px solid #b9ddd7;
  overflow: hidden;
}
.grade2-shape-question h1 {
  font-size: 20px;
}
.grade2-shape-question > p {
  font-size: 12px;
}
.grade2-missing-model {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.grade2-missing-model svg {
  width: 80%;
  height: 92%;
}
.missing-callout {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fff1cc;
  border: 1px solid #efb337;
  color: #74520a;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
}
.grade2-shape-pattern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.grade2-shape-pattern .grade2-flat-shape svg {
  width: 58px;
  height: 52px;
}
.grade2-shape-flower {
  width: 190px;
  height: 190px;
  position: relative;
}
.grade2-shape-flower i,
.grade2-shape-flower span {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.grade2-shape-flower i {
  width: 70px;
  height: 70px;
  background: #f2b53f;
  z-index: 2;
}
.grade2-shape-flower span {
  width: 62px;
  height: 105px;
  background: #ef7d9b;
  transform: translate(-50%, -50%) rotate(calc(var(--petal) * 60deg))
    translateY(-62px);
  transform-origin: 50% 50%;
}
.grade2-shape-flower.mini {
  transform: scale(0.45);
  height: 100px;
  width: 120px;
}
.grade2-rover-count {
  display: grid;
  grid-template-columns: 1fr 165px;
  text-align: left;
}
.grade2-rover-count > .board-kicker {
  grid-column: 1/-1;
}
.grade2-shape-rover {
  width: 100%;
  height: auto;
}
.rover-count-part {
  fill: #b9cec9;
  stroke: #174b57;
  stroke-width: 4;
  cursor: pointer;
  transition: 0.18s;
}
.rover-count-part.is-target {
  fill: #f7c95a;
  filter: drop-shadow(0 0 5px rgba(242, 181, 63, 0.75));
}
.rover-count-part.is-counted {
  fill: #20a99a;
  opacity: 0.45;
  pointer-events: none;
}
.rover-count-part:hover {
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(242, 181, 63, 0.8));
}
.grade2-rover-count > div {
  display: grid;
  gap: 8px;
  text-align: center;
}
.grade2-rover-count h1 {
  font-size: 20px;
}
.grade2-rover-count > div > b {
  font-size: 42px;
  color: #ef7d57;
}
.grade2-rover-count p {
  font-size: 12px;
}
.grade2-shape-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.grade2-shape-plan > span {
  position: relative;
  background: #f4fbf9;
  border-radius: 16px;
  padding: 7px;
}
.grade2-shape-plan > span > b {
  position: absolute;
  right: -7px;
  top: -7px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ef7d57;
  color: #fff;
  display: grid;
  place-items: center;
}
.grade2-shape-plan .grade2-flat-shape svg {
  width: 62px;
  height: 55px;
}
.grade2-shape-question .grade2-shape-model-svg {
  height: 230px;
  width: 330px;
}
.grade2-shape-question .grade2-shape-flower {
  transform: scale(0.8);
}
.grade2-shape-designer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
}
.grade2-shape-designer > .board-kicker {
  grid-column: 1/-1;
}
.grade2-design-canvas {
  height: 330px;
  border-radius: 22px;
  background: linear-gradient(#fff, #e8f7f3);
  border: 2px dashed #94cfc6;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.grade2-design-canvas > p {
  align-self: center;
  text-align: center;
  padding: 20px;
  font-size: 13px;
}
.grade2-design-canvas > span {
  position: absolute;
  left: 50%;
  bottom: calc(22px + var(--layer) * 66px);
  transform: translateX(-50%);
  animation: shape-part-pop 0.7s ease both;
}
.grade2-design-canvas .grade2-flat-shape svg {
  width: 118px;
  height: 88px;
}
.grade2-shape-designer > div:last-child {
  display: grid;
  gap: 11px;
}
.grade2-shape-designer h1 {
  font-size: 21px;
}
.grade2-shape-designer p {
  font-size: 12px;
}
.grade2-shape-designer .grade2-design-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.grade2-shape-designer .grade2-design-options button {
  border: 2px solid #a8d8d0;
  border-radius: 16px;
  background: #fff;
  padding: 7px;
  cursor: pointer;
}
.grade2-shape-designer .grade2-design-options button:hover {
  border-color: #f2b53f;
  box-shadow: 0 0 0 5px rgba(242, 181, 63, 0.22);
}
.grade2-shape-result > div {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  max-height: 260px;
}
.grade2-shape-result > div .grade2-shape-model-svg {
  width: 170px;
  height: 145px;
}
.grade2-shape-result h1 {
  font-size: 25px;
}
.grade2-shape-result p {
  max-width: 500px;
  font-size: 14px;
}
.grade2-circle-compare {
  display: flex;
  align-items: center;
  gap: 24px;
}
.grade2-shape-finish > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.grade2-shape-finish h1 {
  font-size: 25px;
  max-width: 560px;
}
.grade2-shape-finish p {
  font-size: 14px;
  max-width: 520px;
}
.grade2-shape-finish > b {
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  color: #087e72;
}
.grade2-shape-models-board + .lesson-footer .theme4-final-choices {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.grade2-shape-models-board ~ .lesson-footer .theme4-final-choices button {
  min-height: 62px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  .grade2-flat-shape
  svg {
  width: 52px;
  height: 43px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  .grade2-shape-model-svg {
  width: 110px;
  height: 76px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button:has(> .grade2-shape-model-svg, > .grade2-flat-shape, > .grade2-shape-flower) {
  height: 68px;
  min-height: 68px;
  max-height: 68px;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  padding: 3px 6px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button:has(> .grade2-shape-model-svg, > .grade2-flat-shape, > .grade2-shape-flower)
  > b {
  grid-column: 2;
  grid-row: 1;
  font-size: 12px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  > .grade2-shape-model-svg,
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  > .grade2-flat-shape,
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  > .grade2-shape-flower {
  grid-column: 1;
  grid-row: 1;
  width: 60px;
  height: 52px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  > .grade2-shape-model-svg {
  width: 60px;
  height: 52px;
}
.grade2-shape-models-board
  ~ .lesson-footer
  .theme4-final-choices
  button
  > .grade2-shape-flower.mini {
  transform: scale(0.3);
  transform-origin: center;
}
@media (max-width: 760px) {
  .grade2-shape-models-board .board-square {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 20px;
    padding: 12px;
  }
  .grade2-shape-hero {
    padding: 0;
  }
  .grade2-shape-hero > div {
    margin: 12px;
    padding: 11px;
    max-width: 80%;
  }
  .grade2-shape-hero h1 {
    font-size: 16px;
  }
  .grade2-shape-hero p {
    font-size: 10px;
  }
  .grade2-print-teach,
  .grade2-print-practice,
  .grade2-shape-properties,
  .grade2-circle-disk,
  .grade2-circle-paint,
  .grade2-compose-teach,
  .grade2-shape-question,
  .grade2-rover-count,
  .grade2-shape-designer,
  .grade2-shape-result,
  .grade2-shape-finish {
    gap: 7px;
    padding: 11px;
  }
  .grade2-print-teach > h1,
  .grade2-print-practice > h1,
  .grade2-circle-paint h1,
  .grade2-compose-teach h1,
  .grade2-shape-question h1,
  .grade2-rover-count h1,
  .grade2-shape-designer h1 {
    font-size: 14px;
  }
  .grade2-print-solid,
  .grade2-print-paper {
    height: 150px;
  }
  .grade2-stamp-lab {
    height: 190px;
    border-radius: 18px;
  }
  .grade2-stamp-label {
    top: 7px;
    padding: 4px 6px;
    font-size: 8px;
  }
  .grade2-stamp-label b {
    width: 17px;
    height: 17px;
  }
  .grade2-stamp-status {
    bottom: 6px;
    min-width: 205px;
    padding: 5px 8px;
    font-size: 8px;
  }
  .grade2-print-solid .grade2-solid-sprite {
    width: 90px;
    height: 80px;
  }
  .grade2-print-paper .grade2-flat-shape svg {
    width: 70px;
    height: 60px;
  }
  .grade2-print-paper > b {
    font-size: 12px;
  }
  .grade2-print-solid-options {
    gap: 4px;
  }
  .grade2-print-solid-options button {
    padding: 3px;
  }
  .grade2-print-solid-options .grade2-solid-sprite {
    width: 55px;
    height: 48px;
  }
  .grade2-print-solid-options b {
    font-size: 8px;
  }
  .grade2-print-album {
    min-height: 58px;
  }
  .grade2-print-album .grade2-flat-shape svg {
    width: 36px;
    height: 30px;
  }
  .grade2-shape-plaza {
    padding: 0 !important;
    height: 275px !important;
    min-height: 275px;
  }
  .grade2-shape-plaza > div {
    left: 9px;
    bottom: 9px;
    padding: 8px;
    max-width: 68%;
  }
  .grade2-shape-plaza h1 {
    font-size: 13px;
  }
  .grade2-shape-plaza p {
    font-size: 8px;
  }
  .grade2-shape-properties {
    grid-template-columns: 1fr 1fr;
  }
  .grade2-shape-properties > .grade2-flat-shape svg {
    width: 145px;
    height: 135px;
  }
  .grade2-shape-properties h1 {
    font-size: 18px;
  }
  .grade2-shape-properties div > span {
    padding: 6px;
    font-size: 9px;
  }
  .grade2-shape-properties div > span b {
    font-size: 16px;
  }
  .grade2-shape-properties p {
    font-size: 9px;
  }
  .grade2-circle-disk .grade2-flat-shape svg {
    width: 93px;
    height: 82px;
  }
  .grade2-circle-disk section span {
    font-size: 8px;
    padding: 8px;
  }
  .grade2-circle-paint > button {
    width: 180px;
    height: 180px;
  }
  .grade2-circle-paint .grade2-flat-shape svg {
    width: 120px;
    height: 105px;
  }
  .grade2-compose-teach .grade2-shape-model-svg {
    width: 270px;
    height: 165px;
  }
  .grade2-compose-teach > div span {
    font-size: 8px;
    padding: 5px;
  }
  .grade2-shape-question-visual {
    height: 185px;
  }
  .grade2-shape-question .grade2-shape-model-svg {
    height: 165px;
  }
  .grade2-shape-question > p {
    font-size: 8px;
  }
  .grade2-rover-count {
    grid-template-columns: 1fr 105px;
  }
  .grade2-rover-count > div > b {
    font-size: 26px;
  }
  .grade2-rover-count p {
    font-size: 8px;
  }
  .grade2-shape-designer {
    grid-template-columns: 1fr 1fr;
  }
  .grade2-design-canvas {
    height: 220px;
  }
  .grade2-design-canvas .grade2-flat-shape svg {
    width: 78px;
    height: 57px;
  }
  .grade2-design-canvas > span {
    bottom: calc(8px + var(--layer) * 43px);
  }
  .grade2-shape-designer p {
    font-size: 8px;
  }
  .grade2-shape-designer .grade2-design-options button {
    padding: 3px;
  }
  .grade2-shape-designer .grade2-design-options .grade2-flat-shape svg {
    width: 44px;
    height: 38px;
  }
  .grade2-shape-result h1,
  .grade2-shape-finish h1 {
    font-size: 17px;
  }
  .grade2-shape-result p,
  .grade2-shape-finish p {
    font-size: 10px;
  }
  .grade2-shape-finish .grade2-flat-shape svg {
    width: 50px;
    height: 43px;
  }
  .grade2-shape-models-board ~ .lesson-footer .theme4-final-choices button {
    min-height: 48px;
    font-size: 9px;
  }
}
/* 2. sınıf · Tema 2 · Sayılar */
.grade2-numbers-board {
  --numbers-teal: #0b8f83;
  --numbers-orange: #f4a52f;
  min-width: 0;
}

.grade2-numbers-board .board-square {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #eefaf7 0%, #def3ee 100%);
}

.pre-reader .grade2-numbers-board .board-kicker,
.pre-reader .grade2-numbers-board .board-square h1 {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

.grade2-numbers-hero {
  position: relative;
  display: grid;
  align-items: end;
  padding: 28px;
}

.grade2-numbers-hero > img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: cover;
  border-radius: 28px;
}

.grade2-numbers-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(4, 53, 50, .88), rgba(4, 53, 50, .16));
}

.grade2-numbers-hero-copy {
  position: relative;
  z-index: 2;
  width: min(520px, 76%);
  padding: 24px 26px;
  color: white;
}

.grade2-numbers-hero-copy span,
.grade2-numbers-finish > span,
.grade2-numbers-section-complete > span {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.grade2-numbers-hero-copy h1 {
  margin: 8px 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.grade2-numbers-hero-copy p { margin: 0; font-weight: 700; line-height: 1.45; }
.grade2-numbers-floating { position: absolute; z-index: 3; right: 36px; top: 36px; width: 210px; }

.grade2-number-objects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.grade2-number-object-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(20px, 38px));
  gap: 5px;
  align-content: center;
  justify-content: center;
  padding: 9px;
  min-width: 118px;
  min-height: 64px;
  border: 2px dashed rgba(11,143,131,.42);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
}

.grade2-number-object-group.is-ones { border-color: rgba(244,165,47,.7); }
.grade2-number-object-group img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(17,74,65,.15)); }

.grade2-ten-bundle,
.grade2-twenty-four-model,
.grade2-numbers-question,
.grade2-numbers-section-complete,
.grade2-numbers-finish {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.grade2-stick-stage { position: relative; display: grid; place-items: center; width: min(520px, 92%); height: 240px; border-radius: 28px; background: white; box-shadow: 0 18px 40px rgba(20,94,83,.12); }
.loose-sticks { display: flex; align-items: end; gap: 9px; transition: transform .7s ease; }
.loose-sticks i { width: 12px; height: 125px; border-radius: 8px; background: linear-gradient(#ffcf66, #e48a25); transform: rotate(calc((var(--stick-index) - 5) * 1.3deg)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.bundle-ribbon { position: absolute; width: 0; height: 36px; border: 0 solid #ef6a55; border-radius: 14px; transition: width .65s ease, border-width .2s ease; }
.bundle-label { position: absolute; right: 24px; opacity: .15; transform: scale(.8); transition: .6s ease; }
.bundle-label strong { display: block; font-size: 3rem; color: #087d73; }
.bundle-label span { font-weight: 900; }
.grade2-stick-stage.is-bundled .loose-sticks { transform: scale(.76); }
.grade2-stick-stage.is-bundled .bundle-ribbon { width: 154px; border-width: 8px; }
.grade2-stick-stage.is-bundled .bundle-label { opacity: 1; transform: scale(1); }
.grade2-digit-recall { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.grade2-digit-recall span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: white; color: #075e58; font-weight: 900; box-shadow: 0 6px 14px rgba(20,94,83,.1); }

.grade2-model-greenhouse { position: relative; width: min(650px, 100%); min-height: 300px; overflow: hidden; border-radius: 26px; }
.grade2-model-greenhouse > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.grade2-model-greenhouse > .grade2-number-objects { position: relative; z-index: 1; padding: 30px; min-height: 300px; }
.grade2-model-equation { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.grade2-model-equation span,
.grade2-model-equation strong { display: grid; place-items: center; min-width: 60px; height: 58px; padding: 0 12px; border-radius: 16px; background: white; font-size: 1.7rem; color: #075e58; box-shadow: 0 8px 18px rgba(20,94,83,.1); }
.grade2-model-equation strong { color: #d9653b; outline: 4px solid #ffd57d; }
.grade2-model-equation b,.grade2-model-equation i { font-size: 1.5rem; color: #e6784e; font-style: normal; }
.grade2-model-equation em { width: 100%; color: #075e58; font-style: normal; font-weight: 900; }

/* 1280×720 ders kabuğunda öğretmen modeli tek bakışta tamamen görünür. */
.grade2-twenty-four-model { gap: 7px; padding: 10px 14px; }
.grade2-twenty-four-model .grade2-model-greenhouse { min-height: 238px; }
.grade2-twenty-four-model .grade2-model-greenhouse > .grade2-number-objects { min-height: 238px; padding: 12px; gap: 6px; }
.grade2-twenty-four-model .grade2-number-object-group { grid-template-columns: repeat(5, 24px); min-width: 140px; min-height: 54px; padding: 5px; gap: 3px; }
.grade2-twenty-four-model .grade2-model-equation { gap: 6px; }
.grade2-twenty-four-model .grade2-model-equation span,
.grade2-twenty-four-model .grade2-model-equation strong { min-width: 48px; height: 42px; font-size: 1.28rem; border-radius: 12px; }
.grade2-twenty-four-model p { margin: 0; font-size: .88rem; }

.grade2-numbers-question { justify-content: flex-start; gap: 6px; padding: 10px 14px; }
.grade2-numbers-question h1 { margin: 0; max-width: 720px; font-size: clamp(1.22rem, 2.2vw, 1.85rem); color: #073d47; }
.grade2-numbers-question p { margin: 0; color: #41646a; font-weight: 700; }
.grade2-numbers-task-visual { display: grid; place-items: center; width: min(730px, 100%); min-height: 270px; padding: 8px; border-radius: 26px; background: rgba(255,255,255,.74); }
.grade2-numbers-question .grade2-hundred-chart { width: min(300px, 100%); }

.grade2-hundred-chart { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; width: min(590px, 100%); padding: 8px; border-radius: 22px; background: #c7e9e3; }
.grade2-hundred-chart span { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; border-radius: 7px; background: white; color: #114d57; font-size: clamp(.62rem, 1.25vw, .95rem); font-weight: 900; }
.grade2-hundred-chart span:nth-child(10n) { background: #fff1d0; }
.grade2-hundred-chart span.target { color: #cb5938; background: #ffdd89; outline: 3px solid #f4a52f; font-size: 1.2rem; }

.grade2-number-card { display: grid; gap: 12px; min-width: min(330px, 92%); padding: 18px; border-radius: 24px; background: white; box-shadow: 0 14px 32px rgba(20,94,83,.13); }
.grade2-number-card > div { display: flex; justify-content: center; gap: 10px; }
.grade2-number-card span { display: grid; place-items: center; width: 112px; height: 126px; border-radius: 20px; background: #dff5f0; }
.grade2-number-card span + span { background: #fff0d4; }
.grade2-number-card small { color: #41646a; font-weight: 900; }
.grade2-number-card b { font-size: 3.5rem; color: #075e58; }
.grade2-number-card > strong { font-size: 1.4rem; color: #d9653b; }

.grade2-number-train { position: relative; display: flex; align-items: end; justify-content: center; width: min(650px, 100%); padding: 34px 6px 10px; }
.grade2-number-train span { position: relative; display: grid; place-items: center; width: min(118px, 18%); height: 118px; margin-left: -3px; border: 5px solid #0b8f83; border-radius: 22px 22px 12px 12px; background: white; }
.grade2-number-train span::after { content: ""; position: absolute; bottom: -18px; width: 32px; height: 32px; border: 7px solid white; border-radius: 50%; background: #164e55; box-shadow: 0 0 0 3px #0b8f83; }
.grade2-number-train span.blank { border-color: #f4a52f; background: #fff1d0; }
.grade2-number-train b { font-size: clamp(1.35rem, 3vw, 2.2rem); color: #075e58; }
.grade2-number-train > strong { position: absolute; right: 0; top: 0; color: #e6784e; font-size: 2rem; }

.grade2-number-group-scene { display: grid; gap: 10px; width: 100%; }
.grade2-number-group-scene .grade2-number-object-group { grid-template-columns: repeat(5, 28px); min-width: 170px; }
.grade2-number-group-caption { display: flex; justify-content: center; align-items: center; gap: 10px; }
.grade2-number-group-caption span { padding: 8px 12px; border-radius: 12px; background: white; color: #075e58; font-weight: 900; }
.grade2-number-group-caption b { color: #e6784e; }

.grade2-number-riddle { display: grid; place-items: center; gap: 12px; width: 100%; }
.grade2-number-riddle > span { display: grid; place-items: center; width: 130px; height: 130px; border-radius: 50%; color: white; background: radial-gradient(circle at 35% 30%, #28b9a8, #076b64); font-size: 5rem; font-weight: 900; box-shadow: 0 18px 30px rgba(11,143,131,.25); }
.riddle-lines { display: flex; gap: 8px; }
.riddle-lines i { width: 54px; height: 8px; border-radius: 9px; background: #f4a52f; }

.grade2-number-daily { position: relative; width: 100%; height: 300px; overflow: hidden; border-radius: 24px; }
.grade2-number-daily > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.grade2-number-daily > div { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; padding: 20px; }
.grade2-number-daily .grade2-number-object-group { grid-template-columns: repeat(5, 23px); min-width: 145px; padding: 6px; }

.grade2-numbers-section-complete h1,
.grade2-numbers-finish h1 { margin: 0; color: #073d47; }
.grade2-numbers-section-complete p,
.grade2-numbers-finish p { max-width: 640px; margin: 0; color: #41646a; font-weight: 700; }
.grade2-numbers-complete-icons,
.grade2-numbers-finish > div { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.grade2-numbers-complete-icons .grade2-number-card,
.grade2-numbers-finish .grade2-number-card { min-width: 230px; transform: scale(.8); }
.grade2-numbers-complete-icons .grade2-number-objects,
.grade2-numbers-finish .grade2-number-objects { width: 330px; }

.grade2-numbers-support-line,
.grade2-numbers-place-help,
.grade2-numbers-group-help { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.grade2-numbers-support-line span,
.grade2-numbers-support-line b,
.grade2-numbers-place-help span,
.grade2-numbers-group-help span,
.grade2-numbers-group-help strong { padding: 10px 14px; border-radius: 14px; background: #e5f7f3; color: #075e58; }
.grade2-numbers-place-help span { display: grid; gap: 4px; min-width: 90px; }
.grade2-numbers-place-help small { font-size: .7rem; }
.grade2-numbers-place-help b { font-size: 1.7rem; }

@media (max-width: 760px) {
  .grade2-numbers-board .board-square { overflow: auto; }
  .grade2-numbers-hero { padding: 12px; min-height: 560px; }
  .grade2-numbers-hero > img,.grade2-numbers-hero::after { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .grade2-numbers-hero-copy { width: 100%; padding: 18px; }
  .grade2-numbers-floating { top: 24px; right: 20px; width: 145px; }
  .grade2-number-object-group { grid-template-columns: repeat(5, 24px); min-width: 135px; }
  .grade2-numbers-question { gap: 4px; padding: 7px 8px; }
  .grade2-numbers-question h1 { font-size: 1.05rem; line-height: 1.12; }
  .grade2-numbers-question p { font-size: .75rem; line-height: 1.2; }
  .grade2-numbers-task-visual { min-height: 214px; max-height: 220px; padding: 6px; overflow: hidden; }
  .grade2-numbers-question .grade2-hundred-chart { width: min(210px, 100%); }
  .grade2-hundred-chart { gap: 2px; padding: 5px; }
  .grade2-hundred-chart span { border-radius: 4px; font-size: .62rem; }
  .grade2-number-train span { width: 19%; height: 82px; border-width: 3px; }
  .grade2-number-train span::after { bottom: -13px; width: 22px; height: 22px; border-width: 4px; }
  .grade2-number-card span { width: 82px; height: 92px; }
  .grade2-number-card b { font-size: 2.5rem; }
  .grade2-number-card { min-width: 210px; padding: 8px; gap: 4px; }
  .grade2-number-card > strong { font-size: 1rem; }
  .grade2-number-daily { height: 210px; overflow: hidden; }
  .grade2-number-group-scene .grade2-number-object-group { grid-template-columns: repeat(5, 21px); min-width: 125px; }
  .grade2-numbers-complete-icons,.grade2-numbers-finish > div { flex-direction: column; gap: 0; }
  .grade2-numbers-complete-icons .grade2-number-objects,.grade2-numbers-finish .grade2-number-objects { width: 100%; }
  .grade2-ten-bundle { gap: 5px; padding: 7px; }
  .grade2-stick-stage { height: 190px; }
  .loose-sticks i { height: 96px; width: 9px; }
  .grade2-digit-recall span { width: 29px; height: 29px; }
  .grade2-twenty-four-model { gap: 4px; padding: 6px; }
  .grade2-twenty-four-model .grade2-model-greenhouse,
  .grade2-twenty-four-model .grade2-model-greenhouse > .grade2-number-objects { min-height: 184px; }
  .grade2-twenty-four-model .grade2-model-equation span,
  .grade2-twenty-four-model .grade2-model-equation strong { min-width: 38px; height: 34px; font-size: 1rem; padding: 0 6px; }
  .grade2-twenty-four-model p { font-size: .72rem; line-height: 1.2; }
  .grade2-numbers-finish { gap: 4px; padding: 8px; }
  .grade2-numbers-finish > div { height: 130px; overflow: hidden; }
  .grade2-numbers-finish .grade2-number-card { display: none; }
  .grade2-numbers-finish h1 { font-size: 1.15rem; }
  .grade2-numbers-finish p { font-size: .78rem; line-height: 1.25; }
}

/* Örüntü destek sahnesi son katman: genel .board-square yüksekliğini güvenle ezer. */
.grade2-pattern-board.remediation-mode > .board-square{height:338px!important;max-height:338px!important;min-height:0!important;overflow:hidden}
.grade2-pattern-board.remediation-mode{grid-template-rows:minmax(0,1fr) 112px!important}
.grade2-pattern-board.remediation-mode > .teacher-remediation-panel{min-height:108px;max-height:112px}
@media(max-width:760px){.grade2-pattern-board.remediation-mode{grid-template-rows:minmax(0,1fr) 108px!important}.grade2-pattern-board.remediation-mode > .board-square{height:254px!important;max-height:254px!important}.grade2-pattern-board.remediation-mode > .teacher-remediation-panel{min-height:104px;max-height:108px}}

/* 2. sınıf · Tema 2 değerlendirme */
.grade2-theme2-check-board{--check-teal:#087f75;--check-orange:#ec7d47;--check-ink:#123f4d}.grade2-theme2-check-board .board-square{box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;background:linear-gradient(145deg,#f3fffc,#e1f2ed);color:var(--check-ink)}.pre-reader .grade2-theme2-check-board .board-kicker,.pre-reader .grade2-theme2-check-board .board-square h1{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
.theme2-check-hero{position:relative;display:grid;align-items:end;padding:16px;isolation:isolate}.theme2-check-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.theme2-check-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,47,50,.9),rgba(4,47,50,.18) 68%,transparent);z-index:-1}.theme2-check-hero-copy{align-self:start;width:min(430px,68%);padding:20px;color:#fff}.theme2-check-hero-copy span,.theme2-check-complete>span,.theme2-check-finish>span,.theme2-check-reflection-complete>span{font-size:.7rem;font-weight:950;letter-spacing:.13em}.theme2-check-hero-copy h1{margin:7px 0;font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.05}.theme2-check-hero-copy p{margin:0;font-weight:750;line-height:1.4}.theme2-check-stations,.theme2-check-badges{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.theme2-check-stations{margin:0 auto 6px}.theme2-check-stations i,.theme2-check-badges i{display:grid;place-items:center;width:48px;height:48px;border:3px solid rgba(255,255,255,.85);border-radius:16px;background:#087f75;color:#fff;font-style:normal;font-weight:950;box-shadow:0 8px 18px rgba(3,52,49,.2)}.theme2-check-stations i:nth-child(even),.theme2-check-badges i:nth-child(even){background:#ec7d47}
.theme2-check-task,.theme2-check-estimate,.theme2-check-complete,.theme2-check-reflection,.theme2-check-reflection-complete,.theme2-check-finish{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:11px 17px;text-align:center}.theme2-check-task{justify-content:flex-start;padding-top:8px}.theme2-check-task h1,.theme2-check-estimate h1,.theme2-check-complete h1,.theme2-check-reflection h1,.theme2-check-reflection-complete h1,.theme2-check-finish h1{margin:0;font-size:clamp(1.2rem,2.6vw,1.85rem);line-height:1.08}.theme2-check-task>p,.theme2-check-estimate>p,.theme2-check-complete>p,.theme2-check-reflection>p,.theme2-check-finish>p{margin:0;max-width:680px;font-weight:750;color:#45676d}.theme2-check-visual{display:grid;place-items:center;width:100%;min-height:280px;max-height:290px;overflow:hidden;border-radius:22px;background:rgba(255,255,255,.72)}.theme2-check-visual .grade2-number-line{width:94%}.theme2-check-decompose{display:flex;align-items:center;justify-content:center;gap:18px}.theme2-check-decompose>strong,.theme2-check-read>span{display:grid;place-items:center;width:82px;height:82px;border-radius:22px;background:#087f75;color:#fff;font-size:2.1rem;box-shadow:0 9px 20px rgba(5,96,87,.22)}.theme2-check-read{display:flex;align-items:center;justify-content:center;gap:18px}.theme2-check-read>div{max-width:420px}.grade2-theme2-check-footer.answers-locked button{pointer-events:none;opacity:.5;filter:grayscale(.35)}.grade2-theme2-check-footer .pattern-option-visual img{width:30px;height:30px}.grade2-theme2-check-footer .theme4-final-choices button{min-height:58px;height:58px}
.theme2-check-estimate-visual{display:grid;place-items:center;width:100%;min-height:280px}.theme2-check-estimate-visual .grade2-estimate-objects{height:260px}.theme2-check-score{display:grid;place-items:center;width:120px;height:120px;border-radius:50%;background:linear-gradient(145deg,#0b9488,#05685f);color:#fff;box-shadow:0 0 0 9px rgba(8,127,117,.15)}.theme2-check-score b{font-size:2.5rem}.theme2-check-score span{font-size:.65rem;font-weight:850}.theme2-reflection-icon{display:grid;place-items:center;width:120px;height:120px;border-radius:30px;background:#fff0c9;color:#bc5d28;font-size:2.4rem;font-weight:950;box-shadow:0 12px 27px rgba(111,74,24,.12)}.theme2-check-reflection-complete>div{display:grid;gap:6px;width:100%;max-width:680px}.theme2-check-reflection-complete p{display:flex;align-items:center;gap:8px;margin:0;padding:8px 12px;border-radius:14px;background:#fff;text-align:left;font-weight:750}.theme2-check-reflection-complete p b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#087f75;color:#fff}
.grade2-theme2-check-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 112px!important;height:458px;gap:6px;overflow:hidden}.grade2-theme2-check-board.remediation-mode>.board-square{height:338px!important;max-height:338px!important;min-height:0!important;overflow:hidden}.grade2-theme2-check-board.remediation-mode>.teacher-remediation-panel{min-height:108px;max-height:112px}.grade2-theme2-check-board.remediation-mode .teacher-remediation-panel p{font-size:.68rem;line-height:1.15}
.theme2-check-support-number{display:flex;align-items:center;justify-content:center;gap:8px;height:52px}.theme2-check-support-number section{display:flex;align-items:center;justify-content:center;gap:3px;position:relative;padding-bottom:14px}.theme2-check-support-number section>span{display:block;width:10px;height:34px;border-radius:4px;background:#138f83}.theme2-check-support-number section>b{position:absolute;bottom:0;white-space:nowrap;font-size:.6rem}.theme2-check-support-number>i{font-style:normal;font-weight:950;color:#ec7d47}.theme2-check-support-number .units{display:grid;grid-template-columns:repeat(4,9px);gap:2px}.theme2-check-support-number em{display:block;width:9px;height:9px;border-radius:3px;background:#ec7d47}
@media(max-width:760px){.theme2-check-hero{padding:7px}.theme2-check-hero-copy{width:92%;padding:11px}.theme2-check-hero-copy h1{font-size:1.35rem}.theme2-check-hero-copy p{font-size:.7rem}.theme2-check-stations{gap:3px}.theme2-check-stations i,.theme2-check-badges i{width:36px;height:36px;border-radius:11px}.theme2-check-task,.theme2-check-estimate,.theme2-check-complete,.theme2-check-reflection,.theme2-check-reflection-complete,.theme2-check-finish{gap:4px;padding:7px}.theme2-check-task h1,.theme2-check-estimate h1,.theme2-check-complete h1,.theme2-check-reflection h1,.theme2-check-reflection-complete h1,.theme2-check-finish h1{font-size:1.03rem}.theme2-check-task>p,.theme2-check-estimate>p,.theme2-check-complete>p,.theme2-check-reflection>p,.theme2-check-finish>p{font-size:.66rem}.theme2-check-visual{min-height:220px;max-height:225px}.theme2-check-visual .grade2-base-ten-model{transform:scale(.7);margin:-30px}.theme2-check-decompose,.theme2-check-read{gap:4px}.theme2-check-decompose>strong,.theme2-check-read>span{width:58px;height:58px;border-radius:16px;font-size:1.5rem}.theme2-check-estimate-visual{min-height:215px}.theme2-check-estimate-visual .grade2-estimate-objects{height:205px}.theme2-reflection-icon{width:85px;height:85px;font-size:1.8rem}.theme2-check-reflection-complete p{padding:5px;font-size:.68rem}.grade2-theme2-check-board.remediation-mode{grid-template-rows:minmax(0,1fr) 108px!important;height:370px}.grade2-theme2-check-board.remediation-mode>.board-square{height:254px!important;max-height:254px!important}.grade2-theme2-check-board.remediation-mode>.teacher-remediation-panel{min-height:104px;max-height:108px}.grade2-theme2-check-board.remediation-mode .theme2-check-visual{min-height:128px}.grade2-theme2-check-board.remediation-mode .theme2-check-task>p{display:none}}
/* Grade 3 · Pay ve Payda · ışık ve mozaik atölyesi */
.grade3-payda-board{overflow:hidden;background:linear-gradient(145deg,#eaf9f6,#d7f1ee);border-color:#a9d9d3}
.grade3-payda-board .board-square{max-height:100%}
.g3pd-workshop{position:relative;width:100%;height:100%;min-height:510px;overflow:hidden;border-radius:24px;background:#173f3e}
.g3pd-workshop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.g3pd-workshop::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,39,39,.08),rgba(2,28,29,.24));pointer-events:none}
.g3pd-workbench{position:relative;z-index:2;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:42px 44px 34px}
.g3pd-workshop.intro .g3pd-workbench{justify-content:space-between;align-items:flex-end}
.g3pd-whole-panel{align-self:center;margin-left:8%;width:min(40%,310px);aspect-ratio:1.55;display:grid;place-items:center;position:relative;border:12px solid #7b4e28;border-radius:24px;background:rgba(241,255,249,.92);box-shadow:0 18px 40px rgba(2,32,32,.35),inset 0 0 0 4px #f3cf68;transition:.6s ease}
.g3pd-whole-panel i{position:absolute;inset:18px;border-radius:12px;background:linear-gradient(135deg,#d3fff6,#f4ffad);box-shadow:inset 0 0 24px #4ed7c7}
.g3pd-whole-panel span{position:relative;z-index:2;padding:10px 18px;border-radius:999px;background:#0d786f;color:#fff;font-weight:950;letter-spacing:.08em}
.g3pd-whole-panel.glow{filter:brightness(1.15);box-shadow:0 0 48px #ffd96a,0 18px 40px rgba(2,32,32,.35)}
.g3pd-story-card{width:min(43%,360px);padding:22px 24px;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 14px 30px rgba(2,32,32,.28);color:#0d4a49}
.g3pd-story-card b{color:#d46a25;letter-spacing:.12em}.g3pd-story-card p{margin:.5rem 0 0;font-size:1.12rem;font-weight:800;line-height:1.35}
.g3pd-mosaic{position:relative;display:grid;grid-template-columns:repeat(var(--g3pd-parts),1fr);width:min(70vw,440px);height:210px;border:10px solid #7b4e28;border-radius:22px;overflow:hidden;background:#f7fffc;box-shadow:0 18px 40px rgba(2,33,32,.34),inset 0 0 0 3px #ffd568}
.g3pd-cell{position:relative;display:block;min-width:0;border:0;border-right:4px solid #7b4e28;background:linear-gradient(145deg,#e8fff9,#bfeae4);cursor:default;transition:.3s ease}
button.g3pd-cell{cursor:pointer}.g3pd-cell:last-child{border-right:0}.g3pd-cell i{position:absolute;inset:10px;border-radius:10px;background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(116,217,203,.26));transition:.35s ease}
.g3pd-cell.selected i,.g3pd-cell.counted i{background:linear-gradient(145deg,#fff5a8,#ff9d38);box-shadow:0 0 24px #ffd657}
.g3pd-cell.counted::after{content:"✓";position:absolute;right:8px;top:8px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0b8a7e;color:#fff;font-weight:950}
.g3pd-mosaic.unequal{grid-template-columns:.55fr 1.6fr .7fr 1.15fr}.g3pd-mosaic.unequal .g3pd-cell{min-width:0}
.g3pd-equality-proof{display:grid;place-items:center;gap:14px;width:min(90%,620px);padding:28px;border-radius:28px;background:rgba(246,255,252,.94);box-shadow:0 18px 40px rgba(2,33,32,.34)}
.g3pd-proof-stack{position:absolute;width:96px;height:160px;opacity:0;pointer-events:none}.g3pd-proof-stack i{position:absolute;inset:0;border-radius:14px;border:5px solid #0b8a7e;background:rgba(255,212,76,.28);transform:translate(calc((var(--stack) - 1.5)*24px),calc((var(--stack) - 1.5)*12px));transition:.65s ease}
.g3pd-equality-proof.proved .g3pd-mosaic{opacity:.22;transform:scale(.82)}.g3pd-equality-proof.proved .g3pd-proof-stack{opacity:1}.g3pd-equality-proof.proved .g3pd-proof-stack i{transform:translate(0,0)}
.g3pd-equality-proof p,.g3pd-line-task p,.g3pd-ten-lesson p{margin:0;font-weight:900;color:#0d5753;text-align:center}
.g3pd-build{display:flex;align-items:center;justify-content:center;gap:34px;width:min(94%,760px);padding:30px;border-radius:28px;background:rgba(247,255,252,.95);box-shadow:0 18px 40px rgba(2,33,32,.34)}
.g3pd-build .g3pd-mosaic{width:min(56vw,430px)}.g3pd-build-equation{display:grid;justify-items:center;gap:12px;min-width:150px}.g3pd-build-equation>span{font-size:.9rem;text-transform:uppercase;font-weight:950;color:#d4632b;text-align:center}
.g3pd-fraction{position:relative;display:grid;grid-template-rows:auto 5px auto;justify-items:center;align-items:center;min-width:82px;color:#123f50;font-variant-numeric:tabular-nums}
.g3pd-fraction>b{display:grid;place-items:center;min-width:64px;min-height:58px;padding:4px 10px;border-radius:16px;font-size:2.2rem;font-weight:950;transition:.3s ease}.g3pd-fraction>b.active{background:#fff1ad;color:#0a7169;box-shadow:0 0 0 5px rgba(255,177,52,.28),0 0 24px rgba(255,177,52,.65)}
.g3pd-line{display:block;width:74px;height:5px;border-radius:999px;background:#ef6e51;transition:.3s ease}.g3pd-line.active{box-shadow:0 0 18px #ff8d54;transform:scaleX(1.15)}
.g3pd-fraction small{position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);width:max-content;max-width:120px;padding:7px 10px;border-radius:999px;background:#0d786f;color:#fff;font-size:.72rem;font-weight:950;letter-spacing:.05em}
.g3pd-symbol-lesson{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:28px;width:min(94%,760px);padding:28px;border-radius:28px;background:rgba(247,255,252,.95);box-shadow:0 18px 40px rgba(2,33,32,.34)}
.g3pd-symbol-lesson .g3pd-mosaic{width:100%;height:230px}.g3pd-symbol-large{position:relative;display:grid;place-items:center;min-height:280px}.g3pd-symbol-large .g3pd-fraction>b{font-size:3rem;min-width:86px;min-height:72px}.g3pd-symbol-large .g3pd-line{width:96px}
.g3pd-spoken-name{position:absolute;top:0;left:8%;width:max-content;padding:7px 12px;border-radius:999px;background:#e6f7f3;color:#0b746c;font-size:.78rem;letter-spacing:.06em}
.g3pd-role{position:absolute;padding:9px 12px;border-radius:12px;background:#fff;color:#0c5753;font-weight:900;opacity:.35;transition:.35s ease;box-shadow:0 5px 14px rgba(7,57,54,.15)}.g3pd-role.pay-role{top:44px;right:0}.g3pd-role.line-role{right:-8px;top:48%}.g3pd-role.payda-role{right:0;bottom:0}
.grade3-payda-board.spot-pay .pay-role,.grade3-payda-board.spot-payda .payda-role,.grade3-payda-board.spot-line .line-role{opacity:1;background:#fff1ad;box-shadow:0 0 0 4px rgba(255,174,46,.38),0 0 24px #ffc756}
.grade3-payda-board.spot-pay .g3pd-pay,.grade3-payda-board.spot-payda .g3pd-payda{background:#fff1ad;color:#0a7169;box-shadow:0 0 0 5px rgba(255,177,52,.28),0 0 24px rgba(255,177,52,.65)}.grade3-payda-board.spot-line .g3pd-line{box-shadow:0 0 18px #ff8d54;transform:scaleX(1.15)}
.g3pd-counterexample{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:min(94%,760px);padding:24px;border-radius:28px;background:rgba(247,255,252,.95);box-shadow:0 18px 40px rgba(2,33,32,.34)}.g3pd-counterexample section{display:grid;place-items:center;gap:8px}.g3pd-counterexample .g3pd-mosaic{width:100%;height:160px;border-width:7px}.g3pd-counterexample section>b{color:#0c756d}.g3pd-counterexample section>span{font-weight:850;color:#5e766f}.g3pd-counterexample h2{grid-column:1/-1;margin:4px 0 0;text-align:center;color:#123f50}
.g3pd-transform{display:grid;grid-template-rows:auto 42px auto;place-items:center;width:min(94%,760px);padding:28px;border-radius:28px;background:rgba(247,255,252,.95);box-shadow:0 18px 40px rgba(2,33,32,.34)}.g3pd-transform .g3pd-mosaic{height:125px;width:520px;transition:.8s ease}.g3pd-transform-arrow{font-size:2.4rem;color:#e36a38;transition:.8s ease}.g3pd-line-after{width:100%;opacity:.25;transform:translateY(-20px);transition:.8s ease}.g3pd-transform.opened .g3pd-model-before{opacity:.18;transform:scaleY(.2)}.g3pd-transform.opened .g3pd-transform-arrow{transform:rotate(180deg)}.g3pd-transform.opened .g3pd-line-after{opacity:1;transform:none}
.g3pd-numberline{width:100%;display:grid;gap:20px;padding:34px 30px 4px}.g3pd-line-track{position:relative;height:84px;margin:0 28px;border-top:8px solid #174c54}.g3pd-line-track::before,.g3pd-line-track::after{content:"";position:absolute;top:-18px;width:7px;height:28px;border-radius:4px;background:#174c54}.g3pd-line-track::before{left:0}.g3pd-line-track::after{right:0}.g3pd-zero,.g3pd-one{position:absolute;top:18px;font-size:1.5rem;color:#123f50}.g3pd-zero{left:-7px}.g3pd-one{right:-6px}.g3pd-tick{position:absolute;top:-16px;left:calc(var(--tick)*100%/var(--g3pd-line-parts));width:10px;height:24px;border:0;border-radius:6px;background:#8dc7c2;transform:translateX(-50%);transition:.25s ease}.g3pd-tick[aria-label]{cursor:pointer;box-shadow:0 0 0 8px rgba(255,255,255,.78)}.g3pd-tick.placed,.g3pd-numberline.all-cuts .g3pd-tick{background:#e96d45;box-shadow:0 0 0 6px rgba(255,210,96,.5)}
.g3pd-progress{position:absolute;top:-8px;left:0;width:calc(var(--g3pd-jumps)*100%/var(--g3pd-line-parts));height:8px;background:linear-gradient(90deg,#ffc940,#ef7448);transition:.5s ease}.g3pd-runner{position:absolute;top:-31px;left:calc(var(--runner)*100%/var(--g3pd-line-parts));transform:translateX(-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff1a9;color:#d95e2f;font-size:1.4rem;box-shadow:0 0 22px #ffd25b;transition:.55s cubic-bezier(.2,.8,.2,1)}.g3pd-jump{position:absolute;top:-64px;left:calc((var(--jump) - 1)*100%/var(--g3pd-line-parts));width:calc(100%/var(--g3pd-line-parts));height:54px;border:4px solid #ed7647;border-color:#ed7647 transparent transparent transparent;border-radius:50% 50% 0 0}.g3pd-jump-button{justify-self:center;padding:12px 20px;border:0;border-radius:16px;background:#0b8a7e;color:#fff;font-weight:950;box-shadow:0 7px 0 #08685f;cursor:pointer}.g3pd-jump-button span{font-size:1.2rem;margin-left:8px}
.g3pd-line-task{display:grid;align-content:center;gap:14px;width:min(94%,760px);min-height:360px;padding:26px;border-radius:28px;background:rgba(247,255,252,.95);box-shadow:0 18px 40px rgba(2,33,32,.34)}.g3pd-line-head{display:flex;justify-content:center}.g3pd-line-head .g3pd-fraction{transform:scale(.86)}
.g3pd-bridge{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center;gap:12px;width:min(96%,800px);padding:24px;border-radius:28px;background:rgba(247,255,252,.95);box-shadow:0 18px 40px rgba(2,33,32,.34)}.g3pd-bridge section{display:grid;place-items:center;gap:10px;min-width:0}.g3pd-bridge .g3pd-mosaic{width:100%;height:150px;border-width:7px}.g3pd-bridge .g3pd-numberline{padding-inline:4px}.g3pd-bridge>i{font-style:normal;font-size:2rem;color:#e66d40;text-align:center}.g3pd-bridge section>span{font-weight:900;color:#0d6660;text-align:center}.g3pd-bridge h2{grid-column:1/-1;text-align:center;margin:4px 0 0;color:#123f50}
.g3pd-ten-lesson,.g3pd-hundred-lesson{position:relative;display:grid;place-items:center;gap:18px;width:min(94%,760px);padding:28px;border-radius:28px;background:rgba(247,255,252,.96);box-shadow:0 18px 40px rgba(2,33,32,.34)}.g3pd-ten-grid{display:grid;grid-template-columns:repeat(10,1fr);width:min(92%,650px);height:108px;border:8px solid #76502c;border-radius:18px;overflow:hidden;background:#effbf7}.g3pd-ten-grid>*{border:0;border-right:3px solid #76502c;background:linear-gradient(145deg,#f7fffd,#cbece7);transition:.25s ease;cursor:default}.g3pd-ten-grid button{cursor:pointer}.g3pd-ten-grid>*:last-child{border-right:0}.g3pd-ten-grid>.selected{background:linear-gradient(145deg,#fff3a3,#ff9b39);box-shadow:inset 0 0 18px #ffc74a}
.g3pd-ten-lesson.scanning .g3pd-ten-grid>*{animation:g3pd-ten-pulse 1.7s ease both;animation-delay:calc(var(--index,0)*.1s)}.g3pd-ten-lesson.scan-active .g3pd-ten-grid>*{animation:g3pd-cell-scan 1.4s ease both}.g3pd-grid-equation{display:flex;justify-content:center}.g3pd-grid-equation .g3pd-fraction{transform:scale(.9)}
.g3pd-hundred-lesson{grid-template-columns:minmax(280px,1fr) 170px}.g3pd-hundred-lesson>.board-kicker,.g3pd-hundred-lesson>.g3pd-ten-times{grid-column:1/-1}.g3pd-hundred-wrap{position:relative;width:min(48vw,360px);aspect-ratio:1}.g3pd-hundred-grid{display:grid;grid-template-columns:repeat(10,1fr);width:100%;height:100%;border:8px solid #76502c;border-radius:16px;overflow:hidden;background:#effbf7}.g3pd-hundred-grid>*{min-width:0;min-height:0;border:0;border-right:1px solid #699b98;border-bottom:1px solid #699b98;background:#effbf7;cursor:default}.g3pd-hundred-grid button{cursor:pointer}.g3pd-hundred-grid>.selected{background:#ffad3d;box-shadow:inset 0 0 8px #fff16a}.g3pd-scan-wave{position:absolute;left:0;top:0;width:10%;height:100%;border-radius:12px;background:rgba(255,211,68,.45);opacity:0}.g3pd-hundred-lesson.scan-active .g3pd-scan-wave{opacity:1;animation:g3pd-hundred-scan 2.4s steps(9,end) both}.g3pd-ten-times{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3pd-ten-times b{padding:8px 12px;border-radius:12px;background:#e7f8f4;color:#0a6d65}.g3pd-ten-times span{color:#e66d40;font-weight:950}
.g3pd-detective,.g3pd-independent{display:grid;place-items:center;gap:18px;width:min(94%,760px);padding:26px;border-radius:28px;background:rgba(247,255,252,.96);box-shadow:0 18px 40px rgba(2,33,32,.34)}.g3pd-detective-model,.g3pd-independent>div{display:grid;place-items:center;width:100%;min-height:190px}.g3pd-detective .g3pd-mosaic,.g3pd-independent .g3pd-mosaic{height:170px}.g3pd-detective .g3pd-numberline,.g3pd-independent .g3pd-numberline{max-width:620px}.g3pd-detective .g3pd-ten-grid,.g3pd-independent .g3pd-ten-grid{height:90px}.g3pd-detective h2,.g3pd-independent h2{margin:0;text-align:center;color:#123f50}
.g3pd-finish{display:grid;place-items:center;gap:18px;width:min(92%,720px);padding:30px;border-radius:28px;background:rgba(247,255,252,.96);box-shadow:0 18px 40px rgba(2,33,32,.34);text-align:center}.g3pd-finish>span{padding:8px 14px;border-radius:999px;background:#0b8a7e;color:#fff;font-weight:950;letter-spacing:.09em}.g3pd-finish h1{margin:0;color:#123f50}.g3pd-finish p{margin:0;font-weight:900;color:#d45f2d}.g3pd-finish-models{display:flex;align-items:center;justify-content:center;gap:24px;width:100%}.g3pd-finish-models .g3pd-ten-grid{width:260px;height:70px;border-width:5px}.g3pd-finish-models .g3pd-hundred-wrap{width:128px}.g3pd-finish-models .g3pd-hundred-grid{border-width:4px}
.g3pd-alternative{position:absolute;z-index:15;inset:18px 18px auto auto;width:min(46%,340px);display:grid;place-items:center;gap:10px;padding:18px;border-radius:22px;background:#fffdf5;border:3px solid #f0b33f;box-shadow:0 14px 36px rgba(50,38,5,.25)}.g3pd-alternative p{margin:0;font-weight:800;line-height:1.35;color:#335552}.g3pd-overlap-proof{position:relative;width:100px;height:100px}.g3pd-overlap-proof i{position:absolute;inset:0;border:4px solid #0b8a7e;border-radius:14px;background:rgba(255,205,63,.24);transform:translate(calc((var(--i,0) - 1.5)*7px),calc((var(--i,0) - 1.5)*7px))}.g3pd-overlap-proof i:nth-child(1){--i:0}.g3pd-overlap-proof i:nth-child(2){--i:1}.g3pd-overlap-proof i:nth-child(3){--i:2}.g3pd-overlap-proof i:nth-child(4){--i:3}.g3pd-block-help{display:grid;grid-template-columns:repeat(5,1fr);width:100%;height:65px;border:4px solid #0b7d73;border-radius:12px;overflow:hidden}.g3pd-block-help i{border-right:2px solid #0b7d73;background:#dff5f1}.g3pd-block-help i.selected{background:#ffbd4f}.g3pd-hundred-columns{display:grid;grid-template-columns:repeat(10,1fr);width:100%;height:72px}.g3pd-hundred-columns i{display:grid;place-items:center;border:1px solid #78aaa6;background:#e9f8f5;font-style:normal}.g3pd-hundred-columns i.focus{background:#ffcf62}.g3pd-hundred-columns b{font-size:.65rem}
.grade3-payda-board.show-g3pd-guides .g3pd-cell,.grade3-payda-board.show-g3pd-guides .g3pd-tick,.grade3-payda-board.show-g3pd-guides .g3pd-ten-grid>*{outline:4px solid rgba(255,177,51,.72);outline-offset:-5px}
.grade3-payda-footer .answer-row,.grade3-payda-footer .choice-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.grade3-payda-footer .answer-cell{min-height:68px}
@keyframes g3pd-cell-scan{0%{filter:brightness(1)}45%{filter:brightness(1.5);background:#fff0a2}100%{filter:brightness(1)}}
@keyframes g3pd-hundred-scan{0%{transform:translateX(0)}100%{transform:translateX(900%)}}
@keyframes g3pd-ten-pulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.3)}}

.g3pd-scan-wave{pointer-events:none}
@media (max-width:1100px){
  .g3pd-workshop{min-height:480px}.g3pd-workbench{padding:30px 24px}.g3pd-mosaic{height:180px}.g3pd-symbol-lesson{gap:14px}.g3pd-role{font-size:.78rem}.g3pd-hundred-wrap{width:min(44vw,320px)}
}
@media (max-width:760px){
  .g3pd-workshop{min-height:640px}.g3pd-workshop>img{object-position:center}.g3pd-workbench{padding:22px 14px;align-items:center}.g3pd-workshop.intro .g3pd-workbench{display:grid;align-content:center;justify-items:center;gap:18px}.g3pd-whole-panel{margin:0;width:75%}.g3pd-story-card{width:90%}
  .g3pd-build,.g3pd-symbol-lesson,.g3pd-bridge{grid-template-columns:1fr;display:grid;gap:14px;padding:18px}.g3pd-build .g3pd-mosaic,.g3pd-mosaic{width:100%;height:165px}.g3pd-symbol-lesson .g3pd-mosaic{height:150px}.g3pd-symbol-large{min-height:270px}.g3pd-symbol-large .g3pd-spoken-name{top:0;left:50%;transform:translateX(-50%);font-size:.68rem}.g3pd-symbol-large .g3pd-role{right:3px}.g3pd-symbol-large .g3pd-role.pay-role{top:42px}.g3pd-symbol-large .g3pd-role.line-role{top:48%}.g3pd-symbol-large .g3pd-role.payda-role{bottom:2px}.g3pd-counterexample{padding:16px;gap:10px}.g3pd-counterexample .g3pd-mosaic{height:120px;border-width:5px}.g3pd-counterexample section>span{font-size:.72rem}.g3pd-counterexample h2{font-size:1.15rem}
  .g3pd-transform .g3pd-mosaic{width:100%;height:100px}.g3pd-numberline{padding-inline:12px}.g3pd-line-task{padding:18px;min-height:340px}.g3pd-bridge>i{transform:rotate(90deg)}.g3pd-bridge h2{grid-column:1}.g3pd-bridge .g3pd-mosaic{height:110px}
  .g3pd-ten-lesson,.g3pd-hundred-lesson{width:100%;padding:18px}.g3pd-hundred-lesson{grid-template-columns:1fr}.g3pd-hundred-lesson>.board-kicker,.g3pd-hundred-lesson>.g3pd-ten-times{grid-column:1}.g3pd-hundred-wrap{width:min(72vw,300px)}.g3pd-ten-grid{height:82px}.g3pd-fraction.with-label small{position:static;transform:none;margin-top:7px}.g3pd-fraction.with-label{grid-template-rows:auto 5px auto auto}
  .g3pd-detective,.g3pd-independent{padding:18px}.g3pd-detective-model,.g3pd-independent>div{min-height:150px}.g3pd-finish-models{flex-wrap:wrap}.g3pd-finish-models .g3pd-ten-grid{width:210px}.g3pd-alternative{inset:auto 10px 10px 10px;width:auto}.grade3-payda-footer .answer-cell{min-height:60px}
}

/* 3. sınıf 55–56 geri bildirimi · taşmasız kesir ve saat sahneleri */
.grade3-payda-board,.grade3-clock-board{min-width:0}
.g3pd-workshop,.g3clock-station{box-sizing:border-box}
.g3pd-workbench,.g3clock-workbench{box-sizing:border-box;min-width:0;overflow:hidden}
.g3pd-workshop.intro .g3pd-workbench{align-items:flex-end;gap:30px;padding-bottom:42px}
.g3pd-workshop.intro .g3pd-whole-panel{align-self:flex-end;margin:0 0 4% 6%;width:min(38%,330px);aspect-ratio:1.9;transform:translateY(48px) perspective(720px) rotateX(7deg);transform-origin:center bottom;box-shadow:0 10px 0 #5f3b1f,0 24px 38px #021f1f70,inset 0 0 0 4px #f3cf68}
.g3pd-workshop.intro .g3pd-story-card{align-self:center;margin-bottom:9%}
.g3pd-fraction.with-label{grid-template-rows:auto 5px auto auto;gap:3px}
.g3pd-fraction.with-label small{position:static;left:auto;top:auto;transform:none;max-width:180px;margin-top:7px;text-align:center;line-height:1.15;white-space:normal}
.g3pd-symbol-lesson{box-sizing:border-box;max-height:100%;overflow:hidden}
.g3pd-symbol-large{grid-template-columns:minmax(105px,.7fr) minmax(170px,1.3fr);grid-template-rows:auto 1fr;gap:12px 18px;min-height:250px}
.g3pd-spoken-name{position:static;grid-column:1/-1;justify-self:center;width:auto}
.g3pd-symbol-core{display:grid;place-items:center;align-self:center}
.g3pd-role-list{display:grid;align-self:stretch;align-content:center;gap:8px;min-width:0}
.g3pd-role{position:static!important;display:grid;grid-template-columns:minmax(86px,.55fr) minmax(0,1fr);align-items:center;gap:8px;width:100%;box-sizing:border-box;opacity:.45;text-align:left}
.g3pd-role b{color:#08786f}.g3pd-role span{font-size:.76rem;line-height:1.15}
.g3pd-build,.g3pd-counterexample,.g3pd-transform,.g3pd-line-task,.g3pd-bridge,.g3pd-ten-lesson,.g3pd-hundred-lesson,.g3pd-detective,.g3pd-independent,.g3pd-finish{box-sizing:border-box;max-width:100%;max-height:100%;overflow:hidden}
.g3pd-equality-proof{box-sizing:border-box;width:100%;max-width:100%;padding:16px;gap:9px;overflow:hidden}
.g3pd-equality-proof .g3pd-mosaic{width:100%;max-width:390px;height:165px}
.g3pd-build{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(150px,1fr) auto;width:100%;padding:15px;gap:9px}
.g3pd-build>div:first-child{min-width:0;width:100%;display:grid;place-items:center}
.g3pd-build .g3pd-mosaic{width:100%;max-width:390px;height:168px}
.g3pd-build-equation{min-width:0;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:8px 16px}
.g3pd-build-equation>span{max-width:150px}
.g3pd-build-equation .g3pd-fraction{transform:scale(.78);transform-origin:center}
.g3pd-transform{width:100%;padding:14px;gap:4px}
.g3pd-transform .g3pd-mosaic{width:100%;max-width:390px;height:104px}
.g3pd-line-after{width:100%;min-width:0}
.g3pd-detective,.g3pd-independent{width:100%;padding:15px;gap:10px}
.g3pd-detective .g3pd-mosaic,.g3pd-independent .g3pd-mosaic{width:100%;max-width:400px;height:150px}
.g3pd-hundred-lesson{width:100%;grid-template-columns:minmax(190px,1fr) 96px;padding:13px;gap:8px 10px}
.g3pd-hundred-wrap{width:min(100%,250px);justify-self:center}
.g3pd-hundred-lesson .g3pd-grid-equation .g3pd-fraction{transform:scale(.72)}
.g3pd-build .g3pd-mosaic{height:clamp(145px,30vh,205px)}
.g3pd-numberline{box-sizing:border-box;min-width:0;padding:48px 18px 4px}
.g3pd-line-track{height:102px;margin-inline:34px}
.g3pd-zero,.g3pd-one{top:23px;font-size:1.65rem}
.g3pd-line-task{width:min(96%,800px);min-height:330px}
.g3pd-line-head .g3pd-fraction{transform:none}
.g3pd-bridge .g3pd-numberline{width:100%;padding:46px 0 0}
.g3pd-bridge .g3pd-line-track{margin-inline:20px}
.g3pd-ten-lesson.scan-active .g3pd-ten-grid>*{animation:none}
.g3pd-hundred-lesson.scan-active .g3pd-scan-wave{animation:none;opacity:1}
.g3pd-finish-models{min-width:0;overflow:hidden}.g3pd-finish-models .g3pd-hundred-wrap{flex:0 0 112px}

.g3clock-workbench>div{box-sizing:border-box;max-width:100%;max-height:100%;overflow:hidden}
.g3clock-two-languages,.g3clock-seconds,.g3clock-hands-lesson,.g3clock-five-ring,.g3clock-landmarks,.g3clock-three-way,.g3clock-repair,.g3clock-independent,.g3clock-passage,.g3clock-kala,.g3clock-digital-to-analog,.g3clock-build-final,.g3clock-finish{box-sizing:border-box;width:min(100%,760px);max-height:100%;overflow:hidden}
.g3clock-seconds.running .second-hand{animation-duration:var(--g3clock-second-duration,7s)}
.g3clock-hands-lesson[data-hand-focus="hour"] .hour-hand,.g3clock-hands-lesson[data-hand-focus="hour"] .g3clock-hand-cards .hour{filter:brightness(1.12);box-shadow:0 0 0 7px #f4b42655,0 0 28px #f4b426}
.g3clock-hands-lesson[data-hand-focus="minute"] .minute-hand,.g3clock-hands-lesson[data-hand-focus="minute"] .g3clock-hand-cards .minute{filter:brightness(1.12);box-shadow:0 0 0 7px #f4b42655,0 0 28px #f4b426}
.g3clock-minute-ring b{display:grid;place-items:center;min-width:25px;height:20px;padding:0 3px;border-radius:999px;background:#eaf8f4e8;transform:translate(-50%,-50%) rotate(calc(var(--n)*30deg)) translateY(calc(var(--clock-size)*-.425)) rotate(calc(var(--n)*-30deg));font-size:.66rem;font-variant-numeric:tabular-nums}
.g3clock-face.show-minute-ring .g3clock-numbers b{transform:translate(-50%,-50%) rotate(calc(var(--n)*30deg)) translateY(calc(var(--clock-size)*-.295)) rotate(calc(var(--n)*-30deg))}
.g3clock-landmark-map b.spoken-focus{background:#fff0b6;color:#925900;box-shadow:0 0 0 5px #f4b42655,0 8px 22px #634b1730;transform:translateY(-3px)}
.g3clock-passed-arc::after,.g3clock-remaining-arc::after{position:absolute;left:50%;top:-20px;transform:translateX(-50%);padding:5px 9px;border-radius:999px;background:#fff;color:#16745f;font-size:.62rem;font-weight:1000;white-space:nowrap;box-shadow:0 4px 12px #1233}
.g3clock-passed-arc::after{content:"GEÇEN YOL"}.g3clock-remaining-arc::after{content:"KALAN YOL";color:#76519e}
.g3clock-remaining-arc{inset:14px}
.g3clock-clock-choices{min-width:0}.g3clock-clock-choices>button{min-width:0;overflow:hidden}
.g3clock-workbench{padding:18px}
.g3clock-workbench>div{width:100%;min-width:0}
.g3clock-face{--clock-size:190px;border-width:7px}
.g3clock-intro{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.g3clock-event-card{min-width:0;min-height:138px;padding:11px 7px;border-width:2px}
.g3clock-event-card span{font-size:2rem}.g3clock-event-card b{font-size:.78rem}.g3clock-event-card small{font-size:.64rem;line-height:1.25}
.g3clock-event-card.cue-hidden,.g3clock-intro-title.cue-hidden{opacity:0;transform:translateY(16px) scale(.94);transition:opacity .38s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.g3clock-event-card.cue-hidden.is-revealed,.g3clock-intro-title.cue-hidden.is-revealed{opacity:1;transform:none}
.g3clock-intro-title{min-width:0;padding:12px}.g3clock-intro-title h1{font-size:1.2rem}
.g3clock-two-languages{grid-template-columns:1fr 1fr;padding:12px;gap:8px}
.g3clock-two-languages>i{display:none}.g3clock-two-languages h2{grid-column:1/-1;font-size:1rem}.g3clock-two-languages .g3clock-face{--clock-size:165px}
.g3clock-two-languages .g3clock-digital{max-width:100%;padding:10px 12px}.g3clock-two-languages .g3clock-digital>div{font-size:1.9rem}
.g3clock-seconds,.g3clock-hands-lesson,.g3clock-five-ring,.g3clock-landmarks,.g3clock-three-way,.g3clock-repair,.g3clock-independent,.g3clock-passage,.g3clock-kala{padding:12px;gap:8px}
.g3clock-seconds{grid-template-columns:1fr 135px}.g3clock-seconds .g3clock-face{--clock-size:190px}.g3clock-second-counter{padding:11px;gap:3px 7px}.g3clock-second-counter b{font-size:2rem}.g3clock-second-counter span{font-size:.7rem}
.g3clock-hands-lesson,.g3clock-five-ring,.g3clock-landmarks,.g3clock-three-way,.g3clock-repair,.g3clock-independent{grid-template-columns:minmax(180px,1fr) minmax(130px,.8fr)}
.g3clock-hands-lesson>.g3clock-face,.g3clock-five-ring>.g3clock-face,.g3clock-landmarks>.g3clock-face,.g3clock-three-way>.g3clock-face,.g3clock-repair>.g3clock-face,.g3clock-independent>.g3clock-face{--clock-size:190px}
.g3clock-hand-cards{gap:7px}.g3clock-hand-cards section{grid-template-columns:30px 1fr;padding:8px;gap:2px 6px}.g3clock-hand-cards i{width:8px;height:42px}.g3clock-hand-cards .hour i{height:32px}.g3clock-hand-cards b{font-size:.75rem}.g3clock-hand-cards small{font-size:.62rem}
.g3clock-hands-lesson>h2,.g3clock-three-way>h2,.g3clock-independent>h2{font-size:1rem}
.g3clock-five-count b{min-width:36px;padding:7px}.g3clock-landmark-map{gap:5px}.g3clock-landmark-map b{padding:6px 3px;font-size:.82rem}.g3clock-landmark-map small{font-size:.56rem}
.g3clock-passage,.g3clock-kala{grid-template-columns:minmax(170px,1fr) minmax(145px,.85fr)}.g3clock-passage>i{display:none}.g3clock-passage>h2,.g3clock-kala>h2,.g3clock-reading{grid-column:1/-1}
.g3clock-passage .g3clock-face,.g3clock-kala .g3clock-face{--clock-size:180px}.g3clock-reading{gap:5px;padding:7px;flex-wrap:wrap}.g3clock-reading b{font-size:.9rem}.g3clock-reading span,.g3clock-reading strong{font-size:.7rem}
.g3clock-kala-readings{gap:5px}.g3clock-kala-readings p{padding:6px 8px;font-size:.72rem}.g3clock-kala-readings .g3clock-digital{transform:scale(.68)}
.g3clock-three-way .g3clock-speech-time{min-width:0;padding:12px;font-size:1rem}.g3clock-digital-to-analog,.g3clock-build-final{padding:11px;gap:8px}.g3clock-clock-choices{gap:5px}.g3clock-clock-choices>button{min-height:145px;padding:4px}.g3clock-clock-choices .g3clock-face{--clock-size:98px;border-width:4px}.g3clock-clock-choices .g3clock-numbers b{font-size:.5rem}.g3clock-clock-choices>button>span{font-size:.68rem}
.g3clock-finish{padding:12px;gap:8px}.g3clock-finish h1{font-size:1.15rem}.g3clock-finish>div{gap:8px;transform:scale(.78);width:115%;justify-content:center}.g3clock-finish p{font-size:.72rem}

@media(max-width:1100px){
  .g3pd-workbench{padding:24px 18px}.g3pd-workshop.intro .g3pd-whole-panel{margin-left:2%;width:43%}.g3pd-workshop.intro .g3pd-story-card{width:47%}
  .g3pd-symbol-lesson{padding:18px;gap:14px}.g3pd-symbol-lesson .g3pd-mosaic{height:190px}.g3pd-role{font-size:.75rem}
  .g3pd-line-task{min-height:310px;padding:18px}.g3pd-bridge{padding:16px}
  .g3clock-workbench{padding:22px 18px}.g3clock-face{--clock-size:205px}.g3clock-clock-choices .g3clock-face{--clock-size:122px}.g3clock-clock-choices>button{min-height:190px}
}

@media(max-width:760px){
  .g3pd-workshop{min-height:590px}.g3pd-workbench{height:590px;min-height:0;padding:12px 8px;align-items:start}
  .g3pd-workshop.intro .g3pd-workbench{display:grid;grid-template-rows:1fr auto;align-content:end;gap:8px;padding-bottom:18px}
  .g3pd-workshop.intro .g3pd-whole-panel{order:2;width:72%;height:116px;margin:0 auto 2%;transform:perspective(620px) rotateX(8deg)}
  .g3pd-workshop.intro .g3pd-story-card{order:1;width:88%;margin:0 auto;padding:14px 16px}
  .g3pd-build,.g3pd-symbol-lesson,.g3pd-counterexample,.g3pd-transform,.g3pd-line-task,.g3pd-bridge,.g3pd-ten-lesson,.g3pd-hundred-lesson,.g3pd-detective,.g3pd-independent,.g3pd-finish{width:100%;padding:12px 9px;gap:8px}
  .g3pd-build{grid-template-rows:minmax(130px,1fr) auto}.g3pd-build .g3pd-mosaic,.g3pd-mosaic{height:145px}
  .g3pd-build-equation{gap:3px}.g3pd-fraction>b{min-width:54px;min-height:39px;font-size:1.65rem}.g3pd-line{width:62px}.g3pd-fraction small{font-size:.62rem;padding:5px 8px}
  .g3pd-symbol-lesson .g3pd-mosaic{height:136px}.g3pd-symbol-large{grid-template-columns:94px 1fr;min-height:220px;gap:7px}.g3pd-symbol-large .g3pd-fraction>b{min-width:62px;min-height:45px;font-size:2rem}.g3pd-symbol-large .g3pd-line{width:72px}.g3pd-role-list{gap:4px}.g3pd-role{grid-template-columns:78px 1fr;padding:6px 8px}.g3pd-role span{font-size:.65rem}
  .g3pd-counterexample{grid-template-columns:1fr 1fr}.g3pd-counterexample .g3pd-mosaic{height:105px}.g3pd-counterexample h2{font-size:.95rem}
  .g3pd-numberline{padding:45px 4px 0}.g3pd-line-track{height:92px;margin-inline:27px}.g3pd-line-task{min-height:300px}.g3pd-line-task p{font-size:.73rem}
  .g3pd-bridge{grid-template-columns:1fr}.g3pd-bridge .g3pd-mosaic{height:92px}.g3pd-bridge .g3pd-numberline{padding-top:40px}.g3pd-bridge>i{transform:rotate(90deg);line-height:1}.g3pd-bridge h2{grid-column:1;font-size:.92rem}.g3pd-bridge section>span{font-size:.68rem}
  .g3pd-ten-grid{width:100%;height:70px;border-width:5px}.g3pd-hundred-wrap{width:min(64vw,245px)}.g3pd-hundred-grid{border-width:5px}.g3pd-hundred-lesson{grid-template-columns:1fr}.g3pd-hundred-lesson>.board-kicker,.g3pd-hundred-lesson>.g3pd-ten-times{grid-column:1}.g3pd-ten-times{gap:4px}.g3pd-ten-times b{padding:5px 7px;font-size:.68rem}
  .g3pd-detective-model,.g3pd-independent>div{min-height:126px}.g3pd-detective h2,.g3pd-independent h2{font-size:.93rem}.g3pd-finish h1{font-size:1.05rem}.g3pd-finish-models{gap:7px;flex-wrap:nowrap;transform:scale(.88);width:112%}.g3pd-finish-models .g3pd-ten-grid{width:155px}.g3pd-finish-models .g3pd-hundred-wrap{flex-basis:82px;width:82px}

  .g3clock-station{min-height:590px}.g3clock-workbench{min-height:590px;height:590px;padding:10px 8px;align-items:start}
  .g3clock-workbench>div{width:100%;padding:10px 7px;gap:7px}
  .g3clock-intro{grid-template-columns:1fr;gap:6px}.g3clock-event-card{grid-template-columns:42px 1fr;min-height:70px;padding:8px 10px;text-align:left}.g3clock-event-card span{grid-row:1/3;font-size:1.7rem}.g3clock-event-card b{font-size:.76rem}.g3clock-event-card small{font-size:.61rem}.g3clock-intro-title{grid-column:1;padding:10px}.g3clock-intro-title h1{font-size:1rem}
  .g3clock-face{--clock-size:178px;border-width:6px}.g3clock-minute-ring b{min-width:20px;height:17px;font-size:.52rem;transform:translate(-50%,-50%) rotate(calc(var(--n)*30deg)) translateY(calc(var(--clock-size)*-.42)) rotate(calc(var(--n)*-30deg))}.g3clock-numbers b{font-size:.78rem}
  .g3clock-two-languages .g3clock-face,.g3clock-hands-lesson .g3clock-face,.g3clock-five-ring .g3clock-face,.g3clock-landmarks .g3clock-face,.g3clock-three-way .g3clock-face,.g3clock-independent .g3clock-face{--clock-size:170px}
  .g3clock-two-languages{grid-template-columns:1fr 1fr}.g3clock-two-languages>i{display:none}.g3clock-two-languages h2{grid-column:1/-1;font-size:.95rem}.g3clock-two-languages section>small{font-size:.65rem}
  .g3clock-seconds,.g3clock-hands-lesson,.g3clock-five-ring,.g3clock-landmarks,.g3clock-three-way,.g3clock-repair,.g3clock-independent{grid-template-columns:1fr;padding:10px 7px;gap:6px}.g3clock-seconds .board-kicker,.g3clock-seconds p,.g3clock-hands-lesson>.board-kicker,.g3clock-hands-lesson>h2,.g3clock-five-ring>.board-kicker,.g3clock-five-ring>p,.g3clock-landmarks>.board-kicker,.g3clock-landmarks>h2,.g3clock-three-way>.board-kicker,.g3clock-three-way>h2,.g3clock-repair>.board-kicker,.g3clock-repair>h2,.g3clock-independent>.board-kicker,.g3clock-independent>h2{grid-column:1}.g3clock-seconds .g3clock-face{justify-self:center}.g3clock-second-counter{justify-self:center;grid-template-columns:auto auto;padding:7px}.g3clock-hand-cards{grid-template-columns:1fr 1fr;gap:5px}.g3clock-hand-cards section{padding:6px}.g3clock-five-count b{min-width:38px;padding:7px}.g3clock-landmark-map{grid-template-columns:repeat(4,1fr);gap:4px}.g3clock-landmark-map b{padding:5px 2px;font-size:.75rem}.g3clock-landmark-map small{font-size:.55rem}
  .g3clock-passage,.g3clock-kala{grid-template-columns:1fr 1fr}.g3clock-passage>i{display:none}.g3clock-passage>h2,.g3clock-kala>h2,.g3clock-reading{grid-column:1/-1}.g3clock-kala-readings{gap:5px}.g3clock-kala-readings p{padding:6px 8px;font-size:.72rem}
  .g3clock-digital-to-analog,.g3clock-build-final{padding:9px 5px}.g3clock-clock-choices{gap:4px}.g3clock-clock-choices>button{min-height:132px;padding:3px}.g3clock-clock-choices .g3clock-face{--clock-size:86px;border-width:4px}.g3clock-clock-choices .g3clock-numbers b{font-size:.43rem}.g3clock-digital{padding:9px 13px}.g3clock-digital>div{font-size:2.05rem}
  .g3clock-finish{padding:9px 5px}.g3clock-finish h1{font-size:1rem}.g3clock-finish>div{transform:scale(.72);width:100%;margin:-20px 0}.g3clock-finish p{font-size:.68rem}
}

/* 3. sınıf · Veriyi yorumlama ve kanıtlı karar verme */
.grade3-interpret-data-board{--g3id-teal:#087f73;--g3id-coral:#ef765d;--g3id-gold:#f2b941;--g3id-ink:#153f47;display:grid;place-items:center;min-height:0}
.g3id-lab{position:relative;width:min(100%,780px);height:min(570px,calc(100vh - 330px));min-height:440px;overflow:hidden;border:2px solid #a8d8d0;border-radius:28px;background:#dcefe9;box-shadow:0 18px 44px #183f4730;isolation:isolate}
.g3id-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.86) brightness(1.02)}
.g3id-lab::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(239,251,247,.3),rgba(233,246,241,.18));pointer-events:none}
.g3id-workspace{position:absolute;inset:5% 19% 5% 19%;z-index:3;display:grid;place-items:center;min-width:0;min-height:0;color:var(--g3id-ink)}
.g3id-lens-panel,.g3id-decision-rail{position:absolute;z-index:4;box-sizing:border-box}
.g3id-lens-panel{left:2%;top:27%;width:17%;min-height:30%;display:grid;place-items:center;align-content:center;gap:7px;padding:12px 8px;border:3px solid #f2b941;border-radius:50%;background:#fffdf2ec;color:#15504f;text-align:center;box-shadow:0 8px 24px #173f4630;transform:rotate(-4deg)}
.g3id-lens-panel::after{content:"";position:absolute;right:-17px;bottom:2px;width:38px;height:10px;border-radius:9px;background:#087f73;transform:rotate(42deg);transform-origin:left center}
.g3id-lens-panel small{font-size:.58rem;font-weight:1000;color:#a66505;letter-spacing:.05em}.g3id-lens-panel b{font-size:.75rem;line-height:1.16}
.g3id-decision-rail{right:1.6%;top:19%;width:17%;display:grid;gap:8px}.g3id-decision-rail>b{display:grid;gap:2px;padding:10px 7px;border:2px solid #9acfc6;border-radius:15px;background:#f8fffcf2;color:#087f73;font-size:.7rem;line-height:1.1;text-align:left;transition:.25s}.g3id-decision-rail small{font-size:.52rem;color:#466d68}
.g3id-lab[data-g3id-focus="claim"] [data-g3id-role="claim"],.g3id-lab[data-g3id-focus="evidence"] [data-g3id-role="evidence"],.g3id-lab[data-g3id-focus="limit"] [data-g3id-role="limit"],.g3id-lab[data-g3id-focus="all"] .g3id-decision-rail>b{border-color:#ef8d39;background:#fff1c4;box-shadow:0 0 0 5px #ffc94c55;transform:translateX(-3px)}
.g3id-workspace>div:not(.g3id-alternative){width:100%;max-height:100%;box-sizing:border-box;padding:13px 12px;border:2px solid #addbd3;border-radius:25px;background:#fbfffdf2;box-shadow:0 14px 34px #174b4428;text-align:center;overflow:hidden}
.g3id-workspace h1,.g3id-workspace h2{margin:8px 0;color:var(--g3id-ink);line-height:1.14}.g3id-workspace h2{font-size:clamp(1.05rem,2.2vw,1.45rem)}
.g3id-question{margin:8px auto 12px;padding:10px 15px;border-radius:16px;background:#fff2c9;color:#5f4a10;font-weight:1000}
.g3id-graph{width:100%;min-width:0;box-sizing:border-box;height:225px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;padding:8px 14px 4px;border-radius:22px;background:#f3fbf8;box-shadow:inset 0 -4px 0 #8bcac0}
.g3id-graph section{height:100%;display:grid;grid-template-rows:1fr auto auto;align-items:end;justify-items:center;padding:5px;border-radius:16px;transition:.25s}
.g3id-graph section.active{background:#fff2c9;box-shadow:0 0 0 5px #f2b94155}
.g3id-stack{height:135px;display:flex;flex-direction:column-reverse;justify-content:flex-start;align-items:center;gap:4px}
.g3id-stack i{display:block;width:31px;height:31px;border-radius:50%;background:linear-gradient(135deg,#14a795,#087f73);box-shadow:inset 0 0 0 4px #e3fbf6,0 3px 0 #075e57;animation:g3id-dot-in .42s calc(var(--i)*.1s) both}
@keyframes g3id-dot-in{from{opacity:0;transform:translateY(-22px) scale(.5)}to{opacity:1;transform:none}}
.g3id-graph b{display:grid;place-items:center;gap:1px;font-size:1.25rem}.g3id-category-icon{display:block;width:28px;height:28px;color:#087f73}.g3id-category-icon svg{display:block;width:100%;height:100%}.g3id-graph b small{font-size:.68rem;text-transform:capitalize}.g3id-graph strong{min-width:32px;margin-top:3px;padding:3px 9px;border-radius:999px;background:var(--g3id-teal);color:#fff}
.g3id-cards,.g3id-final>div,.g3id-method>div,.g3id-difference>div,.g3id-filter,.g3id-repair,.g3id-scope,.g3id-boundary{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.g3id-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.g3id-cards b{min-width:0}
.g3id-cards b,.g3id-method b,.g3id-final b,.g3id-difference b,.g3id-difference strong,.g3id-filter b,.g3id-filter strong,.g3id-scope b,.g3id-scope strong,.g3id-boundary>b,.g3id-boundary>s,.g3id-repair>s,.g3id-repair>strong{padding:9px 13px;border-radius:14px;background:#e3f5f1;color:var(--g3id-teal);text-decoration-thickness:3px}
.g3id-cards small{font-size:.72rem}.g3id-method i,.g3id-final i,.g3id-difference i,.g3id-filter i,.g3id-repair>i,.g3id-scope>i{color:var(--g3id-coral);font-style:normal;font-size:1.2rem;font-weight:1000}
.g3id-done>strong,.g3id-decision>strong{display:inline-block;margin-top:10px;padding:10px 15px;border-radius:15px;background:#fff2c9;color:#775800}
.g3id-pair-proof{width:min(100%,430px);display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px auto;padding:9px;border:2px solid #9dcec5;border-radius:18px;background:#eef9f6}.g3id-pair-proof section{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;align-items:center;padding:7px;border-radius:13px;background:#fff}.g3id-pair-proof section small{grid-column:1/-1;color:#087f73;font-weight:1000}.g3id-pair-proof i{display:block;aspect-ratio:1;border:4px solid #dff7f1;border-radius:50%;background:#087f73;box-shadow:0 2px 0 #075e57}.g3id-pair-proof .leftover{background:#ef765d;box-shadow:0 0 0 5px #ffc84b55}.g3id-pair-proof>strong{grid-column:1/-1;color:#8a5a04;font-size:.72rem}.g3id-pair-proof.is-revealed .leftover{animation:g3id-leftover .8s ease-in-out infinite alternate}@keyframes g3id-leftover{to{transform:translateY(-5px);box-shadow:0 0 0 8px #ffc84b70}}
.g3id-boundary{display:grid}.g3id-boundary>p{padding:9px 12px;border-radius:14px;background:#fff0ea;color:#914535;font-weight:900}.g3id-boundary>s{background:#fff0ea;color:#a54a38}
.g3id-scope{display:grid}.g3id-scope>s{padding:8px 11px;border-radius:13px;background:#fff0ea;color:#9e493a;font-weight:900}
.g3id-scope .g3id-graph{height:165px}.g3id-scope .g3id-stack{height:78px}.g3id-scope .g3id-stack i{width:23px;height:23px}
.g3id-change{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.g3id-change>.board-kicker{grid-column:1/-1}.g3id-change>section{min-width:0;padding:9px;border-radius:18px;background:#edf8f5}.g3id-change>section .g3id-graph{height:205px;padding-inline:5px;gap:2px}.g3id-change>section .g3id-stack{height:120px}.g3id-change>section .g3id-stack i{width:23px;height:23px}.g3id-change>i{color:var(--g3id-coral);font-style:normal;font-weight:1000}.g3id-change>section>strong{display:grid;place-items:center;min-height:145px;color:var(--g3id-teal)}
.g3id-repair{display:grid;grid-template-columns:auto auto auto}.g3id-repair>.board-kicker,.g3id-repair>.g3id-graph{grid-column:1/-1}.g3id-repair>.g3id-graph{width:100%}
.g3id-method>div{margin-top:22px}.g3id-reflection h2{max-width:620px;margin-inline:auto}.g3id-final>span{display:inline-block;padding:7px 13px;border-radius:999px;background:var(--g3id-teal);color:#fff;font-weight:1000}.g3id-final h1{font-size:clamp(1.2rem,2.4vw,1.8rem)}
.g3id-alternative{position:absolute;inset:3%;z-index:12;display:grid;place-items:center;align-content:center;gap:9px;padding:20px;border:3px solid var(--g3id-gold);border-radius:24px;background:#fffdf7;box-shadow:0 18px 40px #123f3970;text-align:center}.g3id-alternative p{max-width:560px;margin:0;font-weight:850}.g3id-alternative button{padding:10px 16px;border:0;border-radius:14px;background:var(--g3id-teal);color:#fff;font-weight:900;cursor:pointer}
.g3id-alt-evidence{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;width:100%}.g3id-alt-evidence .g3id-graph{height:210px}.g3id-alt-evidence .g3id-stack{height:120px}.g3id-alt-boundary,.g3id-alt-cards{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3id-alt-boundary b,.g3id-alt-boundary s,.g3id-alt-cards b{display:grid;gap:3px;padding:12px;border-radius:15px;background:#e5f7f2;color:#087f73;text-decoration-thickness:3px}.g3id-alt-boundary s{background:#fff0e8;color:#a64f3f}.g3id-alt-boundary i{color:#ef765d;font-style:normal;font-size:1.4rem}.g3id-alt-boundary small,.g3id-alt-cards small{font-size:.67rem}
.show-g3id-guides .g3id-graph section.active,.show-g3id-guides .g3id-question{outline:6px solid #f2b94175;outline-offset:3px;animation:g3id-guide 1s ease-in-out infinite alternate}@keyframes g3id-guide{to{filter:drop-shadow(0 0 10px #f2b941)}}

@media(max-width:700px){
  .g3id-lab{width:100%;height:auto;min-height:430px;border-radius:20px}.g3id-lab::after{background:rgba(239,250,246,.32)}.g3id-lens-panel{left:7px;top:7px;width:36%;min-height:58px;height:58px;padding:5px 8px;border-radius:18px;transform:none}.g3id-lens-panel::after{display:none}.g3id-lens-panel small{font-size:.47rem}.g3id-lens-panel b{font-size:.6rem}.g3id-decision-rail{right:7px;top:7px;width:59%;grid-template-columns:repeat(3,1fr);gap:3px}.g3id-decision-rail>b{min-width:0;padding:7px 3px;border-radius:10px;font-size:.55rem;text-align:center}.g3id-decision-rail small{display:none}.g3id-workspace{inset:72px 7px 7px;place-items:start center;overflow:hidden}.g3id-workspace>div:not(.g3id-alternative){width:100%;min-height:348px;padding:8px 5px;border-radius:20px}
  .g3id-question{margin:5px 0 7px;padding:7px;font-size:.78rem}.g3id-graph{height:224px;gap:3px;padding:5px 3px 3px}.g3id-stack{height:143px;gap:3px}.g3id-stack i{width:25px;height:25px;box-shadow:inset 0 0 0 3px #e3fbf6,0 2px 0 #075e57}.g3id-graph b{font-size:1rem}.g3id-graph b small{font-size:.55rem}.g3id-graph strong{font-size:.72rem}
  .g3id-cards b,.g3id-method b,.g3id-final b,.g3id-difference b,.g3id-difference strong,.g3id-filter b,.g3id-filter strong,.g3id-scope b,.g3id-scope strong,.g3id-boundary>b,.g3id-boundary>s,.g3id-repair>s,.g3id-repair>strong{padding:7px 6px;font-size:.7rem}.g3id-change{gap:3px}.g3id-change>section{padding:4px}.g3id-change>section .g3id-graph{height:175px}.g3id-change>section .g3id-stack{height:100px}.g3id-change>section .g3id-stack i{width:19px;height:19px}.g3id-change>section>strong{min-height:110px;font-size:.72rem}.g3id-repair{grid-template-columns:1fr}.g3id-repair>.board-kicker,.g3id-repair>.g3id-graph{grid-column:1}.g3id-alternative{inset:2%;padding:10px}.g3id-alternative p{font-size:.82rem}
  .g3id-boundary .g3id-graph,.g3id-scope .g3id-graph,.g3id-repair .g3id-graph{height:212px}.g3id-boundary .g3id-stack,.g3id-scope .g3id-stack,.g3id-repair .g3id-stack{height:131px}.g3id-boundary p{margin:5px 0;padding:6px}.g3id-scope,.g3id-repair{gap:4px}
  body:has(.g3id-lab) .theme4-final-choices button>b{font-size:11px;line-height:1.12}
}
@media(max-width:700px){.g3id-alt-evidence{grid-template-columns:1fr;gap:3px}.g3id-alt-evidence .g3id-graph{height:145px}.g3id-alt-evidence .g3id-stack{height:75px}.g3id-alt-evidence .g3id-pair-proof{margin:0;padding:4px}.g3id-alt-evidence .g3id-pair-proof section{padding:3px}.g3id-pair-proof i{border-width:2px}.g3id-pair-proof>strong{font-size:.58rem}}
@media(prefers-reduced-motion:reduce){.g3id-stack i,.g3id-pair-proof.is-revealed .leftover,.show-g3id-guides .g3id-graph section.active,.show-g3id-guides .g3id-question{animation:none!important}}

/* 3. sınıf · Yıl sonu araştırma projesi */
.grade3-research-project-board{--g3rp-teal:#087f73;--g3rp-coral:#ef765d;--g3rp-gold:#f2b941;--g3rp-ink:#153f47;display:grid;place-items:center;min-height:0}
.g3rp-lab{position:relative;width:min(100%,780px);height:min(570px,calc(100vh - 330px));min-height:440px;overflow:hidden;border:2px solid #a9d9d1;border-radius:28px;background:#dcefe9;box-shadow:0 18px 44px #173f4630;isolation:isolate}
.g3rp-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.86) brightness(1.02)}
.g3rp-lab::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#effbf7ee 0 67%,#e9f6f1dc 100%);pointer-events:none}
.g3rp-workspace{position:absolute;inset:16px;z-index:2;display:grid;place-items:center;min-width:0;min-height:0;color:var(--g3rp-ink)}
.g3rp-workspace>div:not(.g3rp-alternative){width:min(96%,710px);max-height:100%;box-sizing:border-box;padding:17px 20px;border:2px solid #addbd3;border-radius:25px;background:#fbfffdeb;box-shadow:0 14px 34px #174b4428;text-align:center;overflow:hidden}
.g3rp-workspace h1,.g3rp-workspace h2{margin:8px 0;line-height:1.14}.g3rp-workspace h1{font-size:clamp(1.25rem,2.6vw,2rem)}.g3rp-workspace h2{font-size:clamp(1rem,2.1vw,1.4rem)}
.g3rp-route,.g3rp-plan,.g3rp-safe,.g3rp-bins,.g3rp-final>div,.g3rp-decision,.g3rp-repair{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:14px}
.g3rp-route b,.g3rp-plan b,.g3rp-safe b,.g3rp-final b,.g3rp-decision>b,.g3rp-repair>b{padding:10px 12px;border-radius:14px;background:#e2f5f1;color:var(--g3rp-teal);animation:g3rp-station .45s calc(var(--i)*.12s) both}.g3rp-route i,.g3rp-final i{color:var(--g3rp-coral);font-style:normal;font-weight:1000}
@keyframes g3rp-station{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.g3rp-magnifier{display:grid;place-items:center;width:150px;height:150px;margin:22px auto;border:14px solid var(--g3rp-teal);border-radius:50%;color:var(--g3rp-coral);font-size:5rem;font-weight:1000;box-shadow:0 0 0 12px #fff2c9}
.g3rp-safe>div{font-size:4rem}.g3rp-raw{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px auto;width:min(100%,550px)}.g3rp-raw i{position:relative;display:grid;place-items:center;min-height:58px;border:3px dashed #9ccfc7;border-radius:15px;background:#fff;color:#698f89;font-size:1.45rem;font-style:normal}.g3rp-raw i.recorded{border-style:solid;border-color:var(--g3rp-teal);background:#e4f7f2;color:var(--g3rp-teal)}.g3rp-raw small{position:absolute;right:5px;bottom:2px;font-size:.55rem}
.g3rp-bins b{display:grid;place-items:center;min-width:88px;padding:9px;border-radius:16px;background:#fff2c9;font-size:1.6rem}.g3rp-bins small{display:block;font-size:.65rem;text-transform:capitalize}.g3rp-collect>strong,.g3rp-table>strong,.g3rp-graph-task>strong,.g3rp-difference>strong{display:inline-block;margin-top:10px;padding:9px 15px;border-radius:14px;background:#fff2c9;color:#775800}.g3rp-flying-token{position:fixed;z-index:9999;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--g3rp-coral);color:#fff;font-style:normal;pointer-events:none;box-shadow:0 5px 12px #5b342b66}
.g3rp-tally{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:min(100%,570px);margin:10px auto}.g3rp-tally section{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:7px;padding:9px 12px;border-radius:15px;background:#edf8f5;text-align:left}.g3rp-tally b{text-transform:capitalize}.g3rp-tally i{font-family:monospace;font-size:1.35rem;font-style:normal;font-weight:1000;letter-spacing:3px;color:var(--g3rp-coral)}.g3rp-tally strong{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--g3rp-teal);color:#fff}
.g3rp-graph{height:255px;display:grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:10px;padding:8px 14px 4px;border-radius:22px;background:#f3fbf8;box-shadow:inset 0 -4px 0 #8bcac0}.g3rp-graph section{height:100%;display:grid;grid-template-rows:1fr auto auto;align-items:end;justify-items:center;padding:5px;border-radius:16px;transition:.25s}.g3rp-graph section.active{background:#fff2c9;box-shadow:0 0 0 5px #f2b94155}.g3rp-stack{height:165px;display:flex;flex-direction:column-reverse;justify-content:flex-start;align-items:center;gap:4px}.g3rp-stack i{display:block;width:31px;height:31px;border-radius:50%;background:linear-gradient(135deg,#14a795,#087f73);box-shadow:inset 0 0 0 4px #e3fbf6,0 3px 0 #075e57;animation:g3rp-station .4s calc(var(--i)*.1s) both}.g3rp-graph b{display:grid;font-size:1.2rem}.g3rp-graph b small{font-size:.65rem;text-transform:capitalize}.g3rp-graph strong{padding:3px 9px;border-radius:999px;background:var(--g3rp-teal);color:#fff}
.g3rp-warning{display:grid;place-items:center;width:65px;height:65px;margin:auto;border-radius:50%;background:#fff0ea;color:var(--g3rp-coral);font-size:2.5rem;font-weight:1000}.g3rp-independent>div{margin:25px;font-size:3rem}.g3rp-podium{display:grid;place-items:center;width:80px;height:80px;margin:0 auto -5px;border-radius:22px;background:#fff2c9;font-size:2.5rem}.g3rp-final>span{display:inline-block;padding:7px 13px;border-radius:999px;background:var(--g3rp-teal);color:#fff;font-weight:1000}.g3rp-final h1{font-size:clamp(1.2rem,2.4vw,1.8rem)}
.g3rp-alternative{position:absolute;inset:3%;z-index:12;display:grid;place-items:center;align-content:center;gap:9px;padding:20px;border:3px solid var(--g3rp-gold);border-radius:24px;background:#fffdf7;box-shadow:0 18px 40px #123f3970;text-align:center}.g3rp-alternative p{max-width:560px;margin:0;font-weight:850}.g3rp-alternative button{padding:10px 16px;border:0;border-radius:14px;background:var(--g3rp-teal);color:#fff;font-weight:900;cursor:pointer}.show-g3rp-guides .g3rp-workspace>div,.show-g3rp-guides .g3rp-graph section.active{outline:6px solid #f2b94170;outline-offset:3px}

@media(max-width:700px){.g3rp-lab{width:100%;height:auto;min-height:390px;border-radius:20px}.g3rp-workspace{inset:7px;place-items:start center;overflow:hidden}.g3rp-workspace>div:not(.g3rp-alternative){width:100%;min-height:358px;padding:9px 6px;border-radius:20px}.g3rp-lab::after{background:#effaf6ed}.g3rp-route{gap:3px;margin-top:8px}.g3rp-route b,.g3rp-plan b,.g3rp-safe b,.g3rp-final b,.g3rp-decision>b,.g3rp-repair>b{padding:7px 5px;font-size:.67rem}.g3rp-route i,.g3rp-final i{font-size:.7rem}.g3rp-magnifier{width:105px;height:105px;border-width:10px;font-size:3.5rem}.g3rp-raw{gap:4px}.g3rp-raw i{min-height:43px;font-size:1.05rem}.g3rp-bins{gap:3px}.g3rp-bins b{min-width:67px;padding:6px;font-size:1.2rem}.g3rp-tally{gap:4px}.g3rp-tally section{padding:6px 5px;gap:3px;font-size:.7rem}.g3rp-tally i{font-size:.95rem}.g3rp-tally strong{width:26px;height:26px}.g3rp-graph{height:224px;gap:3px;padding:5px 3px 3px}.g3rp-stack{height:143px;gap:3px}.g3rp-stack i{width:25px;height:25px;box-shadow:inset 0 0 0 3px #e3fbf6,0 2px 0 #075e57}.g3rp-graph b{font-size:1rem}.g3rp-graph b small{font-size:.55rem}.g3rp-graph strong{font-size:.72rem}.g3rp-independent>div{margin:15px;font-size:2rem}.g3rp-alternative{inset:2%;padding:10px}.g3rp-alternative p{font-size:.82rem}body:has(.g3rp-lab) .theme4-final-choices button>b{font-size:10.8px;line-height:1.1}}
@media(prefers-reduced-motion:reduce){.g3rp-route b,.g3rp-stack i{animation:none!important}}

/* 3. sınıf yıl sonu araştırma atölyesi V2 */
.g3rp-v2{--g3rp-teal:#087f73;--g3rp-coral:#e96e55;--g3rp-gold:#f2b941;--g3rp-ink:#143e46;--g3rp-paper:#fffdf7;isolation:isolate}
.g3rp-v2::after{background:linear-gradient(180deg,#0d4f4922 0 7%,transparent 22% 77%,#0d4f4930 100%)}
.g3rp-v2 .g3rp-workspace{inset:5.8% 6.5% 5.5%;display:grid;place-items:start center;overflow:visible}
.g3rp-v2 .g3rp-workspace>div:not(.g3rp-alternative){width:min(100%,650px);max-height:390px;min-height:268px;margin-top:1%;padding:14px 18px;border:2px solid #f3c66f;border-radius:22px;background:#fffdf7f2;box-shadow:0 11px 25px #4a281d36;text-align:center;overflow:hidden}
.g3rp-v2 .board-kicker{display:inline-flex;align-items:center;min-height:24px;padding:5px 11px;border-radius:999px;background:#e5f6f2;color:#086c63;font-weight:950;letter-spacing:.04em}
.g3rp-icon{display:block;width:34px;height:34px;overflow:visible;color:var(--g3rp-teal);pointer-events:none}
.g3rp-category-row,.g3rp-bins{display:flex;align-items:stretch;justify-content:center;gap:9px;flex-wrap:wrap;margin:12px auto 0}
.g3rp-category{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;min-width:105px;padding:8px 10px;border:2px solid #acd8d1;border-radius:15px;background:#fff;color:var(--g3rp-ink);font:inherit;font-weight:950;text-transform:capitalize;box-shadow:0 4px 0 #83bdb4;transition:transform .16s,box-shadow .16s,border-color .16s}
button.g3rp-category{cursor:pointer}
button.g3rp-category:hover,button.g3rp-category:focus-visible{transform:translateY(-3px);border-color:var(--g3rp-gold);box-shadow:0 7px 0 #dba52d,0 0 0 5px #f2b94138;outline:none}
.g3rp-category strong{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--g3rp-teal);color:#fff}
.g3rp-category small{font-size:.76rem}
.g3rp-category-kitap .g3rp-icon{color:#3f74b8}.g3rp-category-deney .g3rp-icon{color:#548b62}.g3rp-category-sanat .g3rp-icon{color:#da6d55}.g3rp-category-oyun .g3rp-icon{color:#7d66b1}
.g3rp-v2 .g3rp-route{display:grid;grid-template-columns:repeat(13,auto);align-items:center;justify-content:center;gap:2px;margin-top:13px}
.g3rp-v2 .g3rp-route b{display:grid;place-items:center;gap:2px;min-width:43px;padding:5px 2px;border:2px solid #c9ddd8;border-radius:11px;background:#f7fbfa;color:#6c8a86;animation:g3rp-station .4s calc(var(--i)*.09s) both}
.g3rp-v2 .g3rp-route b.active{border-color:var(--g3rp-gold);background:#fff2c9;color:#8a6100;box-shadow:0 0 0 5px #f2b94138}
.g3rp-v2 .g3rp-route b.done{border-color:#7cc9bd;background:#e5f6f2;color:var(--g3rp-teal)}
.g3rp-v2 .g3rp-route .g3rp-icon{width:22px;height:22px;color:currentColor}
.g3rp-v2 .g3rp-route small{font-size:.51rem}.g3rp-v2 .g3rp-route i{font-size:.62rem}
.g3rp-question{display:grid;grid-template-columns:auto 1fr;align-items:center;justify-content:center;gap:18px;margin:26px auto 0;width:min(100%,440px)}
.g3rp-question>.g3rp-icon{width:108px;height:108px;color:var(--g3rp-teal);filter:drop-shadow(0 7px 0 #d3ebe5)}
.g3rp-question>span{grid-column:1/-1}.g3rp-question>div{display:grid;gap:8px}.g3rp-question b{padding:10px;border-radius:13px;background:#e9f7f4}
.g3rp-plan,.g3rp-safe{display:grid!important;grid-template-columns:repeat(3,1fr);align-items:stretch!important;gap:10px!important;width:min(100%,590px);margin:16px auto 0!important}
.g3rp-safe{grid-template-columns:repeat(4,1fr)}
.g3rp-plan>.board-kicker,.g3rp-safe>.board-kicker{grid-column:1/-1;justify-self:center}
.g3rp-plan>b,.g3rp-safe>b{display:grid;place-items:center;gap:5px;min-height:92px;padding:10px!important;border:2px solid #a7d7cf;border-radius:16px!important;background:#eef9f6!important}
.g3rp-plan .g3rp-icon{width:42px;height:42px}.g3rp-plan small,.g3rp-safe small{display:block;font-size:.68rem}
.g3rp-plan-focus,.g3rp-safe-focus{display:grid;place-items:center;gap:10px}.g3rp-plan-focus>.g3rp-icon,.g3rp-safe-focus>.g3rp-icon{width:96px;height:96px;color:var(--g3rp-teal)}
.g3rp-raw{grid-template-columns:repeat(10,1fr);gap:5px;width:100%;margin:9px auto}
.g3rp-raw i{min-height:52px;border:2px dashed #adcbc6;border-radius:12px;background:#fff9ed}.g3rp-raw i.recorded{border-color:#49a999;background:#e5f6f2}
.g3rp-raw .g3rp-icon{width:26px;height:26px}.g3rp-sealed{display:grid;place-items:center;width:26px;height:31px;border:2px solid #8bbdb4;border-radius:5px;background:#fff;color:#557c76;font-size:.72rem;font-weight:950;box-shadow:0 3px 0 #b7d9d3}
.g3rp-current-ballot{display:inline-grid;grid-template-columns:auto auto;align-items:center;gap:9px;min-width:160px;margin:8px auto;padding:9px 15px;border:3px solid var(--g3rp-gold);border-radius:16px;background:#fff4ce;color:var(--g3rp-ink);box-shadow:0 6px 0 #d59c20;transform:translateZ(0)}
.g3rp-current-ballot .g3rp-icon{width:42px;height:42px}.g3rp-current-ballot b{text-transform:capitalize}
.g3rp-bins{margin-top:12px}.g3rp-bins .g3rp-category{min-width:118px}
.g3rp-action-status{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;color:var(--g3rp-ink)}.g3rp-action-status b{padding:8px 13px;border-radius:999px;background:#e5f6f2;color:var(--g3rp-teal)}.g3rp-action-status span{font-weight:800}
.g3rp-v2 .g3rp-tally{display:grid;grid-template-columns:1fr;gap:6px;width:min(100%,590px);margin:8px auto}
.g3rp-v2 .g3rp-tally section{display:grid;grid-template-columns:125px 1fr 42px;align-items:center;gap:8px;min-height:54px;padding:6px 10px;border:2px solid #c0ddd8;border-radius:14px;background:#f4fbf9;text-align:left;transition:.18s}
.g3rp-v2 .g3rp-tally section.active{border-color:var(--g3rp-gold);background:#fff5d7;box-shadow:0 0 0 4px #f2b94138}
.g3rp-tally-builder .g3rp-tally section{cursor:pointer}.g3rp-tally-builder .g3rp-tally section:hover,.g3rp-tally-builder .g3rp-tally section:focus-visible{transform:translateX(4px);border-color:var(--g3rp-gold);outline:none}
.g3rp-v2 .g3rp-tally section>b{display:flex;align-items:center;gap:6px;text-transform:capitalize}.g3rp-v2 .g3rp-tally section>b .g3rp-icon{width:28px;height:28px}.g3rp-v2 .g3rp-tally section>b small{font-size:.73rem}
.g3rp-v2 .g3rp-tally section>i{display:flex;align-items:center;min-height:34px;gap:6px;font-family:inherit;letter-spacing:0}
.g3rp-v2 .g3rp-tally section>i span{display:block;width:4px;height:30px;border-radius:99px;background:var(--g3rp-coral);box-shadow:0 2px 0 #a74131;animation:g3rp-draw-tally .28s calc(var(--i)*.05s) both}
@keyframes g3rp-draw-tally{from{transform:scaleY(0);transform-origin:bottom}to{transform:scaleY(1)}}
.g3rp-v2 .g3rp-tally section>strong{width:34px;height:34px}
.g3rp-v2 .g3rp-graph{height:235px;max-width:570px;margin:5px auto;padding:6px 10px 4px;background:#f7fbfae8;border:2px solid #b6d9d3;cursor:default}
.g3rp-v2 .g3rp-graph section{cursor:pointer;border:2px solid transparent}.g3rp-v2 .g3rp-graph section:hover{border-color:#f2b94188}
.g3rp-v2 .g3rp-stack{height:142px}.g3rp-v2 .g3rp-stack i{width:28px;height:28px;cursor:pointer}
.g3rp-v2 .g3rp-stack i.extra-dot{background:#f18a58;box-shadow:inset 0 0 0 4px #fff0d6,0 0 0 5px #f2b94166;animation:g3rp-extra-dot .8s infinite alternate}
@keyframes g3rp-extra-dot{to{transform:scale(1.2);filter:brightness(1.13)}}
.g3rp-v2 .g3rp-stack i.removing{animation:g3rp-remove-dot .36s both}@keyframes g3rp-remove-dot{to{transform:scale(0) rotate(90deg);opacity:0}}
.g3rp-v2 .g3rp-graph b{display:grid;place-items:center}.g3rp-v2 .g3rp-graph b .g3rp-icon{width:27px;height:27px}.g3rp-v2 .g3rp-graph b small{font-size:.62rem}
.g3rp-dot-source{display:inline-flex;align-items:center;gap:9px;padding:7px 14px;border:2px solid var(--g3rp-gold);border-radius:999px;background:#fff4ce;text-transform:capitalize}.g3rp-dot-source i,.g3rp-alt-record .dot{width:26px;height:26px;border-radius:50%;background:var(--g3rp-teal);box-shadow:inset 0 0 0 4px #d9f5ef}.g3rp-dot-source b{font-size:.8rem}
.g3rp-decision{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px!important;max-width:590px;margin:0 auto!important}.g3rp-decision>.g3rp-graph,.g3rp-decision>.board-kicker,.g3rp-decision>h2{grid-column:1/-1}.g3rp-decision>b{display:grid;gap:4px;padding:9px!important}.g3rp-decision>b small{font-size:.7rem}
.g3rp-repair-file s{display:inline-block;margin-top:8px;padding:8px 14px;border-radius:12px;background:#fff0ea;color:#a84031;font-weight:900;text-decoration-thickness:3px}
.g3rp-independent{display:grid;gap:9px;min-width:0}.g3rp-built-route{display:flex;align-items:center;justify-content:center;gap:1px;min-width:0;flex-wrap:nowrap}.g3rp-built-route b{display:grid;place-items:center;min-width:32px;height:29px;border:2px dashed #afcbc6;border-radius:8px;background:#fff;color:#77928e;font-size:.5rem}.g3rp-built-route b.placed{border-style:solid;border-color:#53aa9c;background:#e4f6f2;color:var(--g3rp-teal)}.g3rp-built-route i{font-style:normal;color:var(--g3rp-coral);font-size:.5rem;font-weight:950}
.g3rp-sequence-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}.g3rp-sequence-tiles button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;padding:5px 3px;border:2px solid #a8d6ce;border-radius:12px;background:#fff;color:var(--g3rp-ink);font:inherit;font-size:.68rem;font-weight:950;cursor:pointer;box-shadow:0 3px 0 #82bdb3;overflow-wrap:anywhere}.g3rp-sequence-tiles button:hover,.g3rp-sequence-tiles button:focus-visible{transform:translateY(-2px);border-color:var(--g3rp-gold);outline:none}.g3rp-sequence-tiles button.used{visibility:hidden}.g3rp-sequence-tiles .g3rp-icon{width:22px;height:22px;flex:0 0 auto}
.g3rp-alt-plan,.g3rp-alt-record,.g3rp-alt-claim{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3rp-alt-plan>b,.g3rp-alt-claim>b{display:grid;place-items:center;gap:5px;min-width:120px;padding:10px;border-radius:14px;background:#eef8f6;color:var(--g3rp-teal)}.g3rp-alt-plan small,.g3rp-alt-claim small{display:block;font-size:.68rem}.g3rp-alt-record{font-size:1.4rem}.g3rp-alt-record>i,.g3rp-alt-record>strong{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#eef8f6;font-style:normal}.g3rp-alt-record .tally span{display:block;width:4px;height:30px;background:var(--g3rp-coral)}
.g3rp-present .g3rp-graph{height:224px}.g3rp-present .g3rp-stack{height:132px}
.g3rp-flying-token{width:43px;height:43px;border:3px solid #fff;background:#fff4ce;color:var(--g3rp-teal)}.g3rp-flying-token .g3rp-icon{width:29px;height:29px}
.g3rp-v2 .wrong-cell{border-color:#e96e55!important;box-shadow:0 0 0 4px #e96e5533!important}.g3rp-v2 .correct-cell{border-color:#0c9787!important;box-shadow:0 0 0 4px #0c978733!important}
.show-g3rp-guides .g3rp-v2 .g3rp-current-ballot,.show-g3rp-guides .g3rp-v2 .active,.show-g3rp-guides .g3rp-v2 .g3rp-action-status{outline:5px solid #f2b94166;outline-offset:3px}

@media(max-width:700px){
  .g3rp-v2{min-height:430px}.g3rp-v2 .g3rp-workspace{inset:5px;place-items:start center;overflow:hidden}.g3rp-v2 .g3rp-workspace>div:not(.g3rp-alternative){width:100%;max-height:404px;min-height:370px;margin:0;padding:8px 6px;border-radius:18px;overflow:auto;scrollbar-width:thin}.g3rp-v2::after{background:#eaf7f2bb}
  .g3rp-v2 .g3rp-route{grid-template-columns:repeat(7,1fr);gap:3px}.g3rp-v2 .g3rp-route i{display:none}.g3rp-v2 .g3rp-route b{min-width:0;padding:5px 2px}.g3rp-v2 .g3rp-route .g3rp-icon{width:20px;height:20px}.g3rp-v2 .g3rp-route small{font-size:.48rem}
  .g3rp-category-row,.g3rp-bins{gap:5px}.g3rp-category{min-width:calc(50% - 5px);padding:6px 8px}.g3rp-bins .g3rp-category{min-width:calc(50% - 5px)}
  .g3rp-question{grid-template-columns:70px 1fr;gap:8px;margin-top:13px}.g3rp-question>.g3rp-icon{width:66px;height:66px}.g3rp-question b{padding:7px;font-size:.72rem}
  .g3rp-plan,.g3rp-safe{grid-template-columns:1fr 1fr;gap:5px!important;margin-top:8px!important}.g3rp-plan>b,.g3rp-safe>b{min-height:68px;padding:5px!important;font-size:.68rem}.g3rp-plan .g3rp-icon{width:30px;height:30px}
  .g3rp-raw{grid-template-columns:repeat(5,1fr);gap:3px}.g3rp-raw i{min-height:38px}.g3rp-raw .g3rp-icon{width:21px;height:21px}.g3rp-current-ballot{margin:5px auto;padding:6px 10px}.g3rp-current-ballot .g3rp-icon{width:32px;height:32px}
  .g3rp-v2 .g3rp-tally section{grid-template-columns:90px 1fr 31px;min-height:43px;padding:4px 6px}.g3rp-v2 .g3rp-tally section>b .g3rp-icon{width:23px;height:23px}.g3rp-v2 .g3rp-tally section>i span{height:24px}.g3rp-v2 .g3rp-tally section>strong{width:28px;height:28px}
  .g3rp-v2 .g3rp-graph{height:210px;padding:4px 3px}.g3rp-v2 .g3rp-stack{height:123px}.g3rp-v2 .g3rp-stack i{width:24px;height:24px}.g3rp-v2 .g3rp-graph b .g3rp-icon{width:22px;height:22px}
  .g3rp-sequence-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.g3rp-built-route b{min-width:31px;height:28px;font-size:.48rem}.g3rp-built-route i{font-size:.5rem}
  .g3rp-action-status{gap:5px;font-size:.72rem}.g3rp-action-status b{padding:6px 9px}.g3rp-action-status span{font-size:.65rem}
  .g3rp-v2 .g3rp-alternative{inset:1%;max-height:98%;overflow:auto}.g3rp-alt-plan>b,.g3rp-alt-claim>b{min-width:90px;padding:7px}
}

/* 3. sınıf · Veri Toplama Planı */
.g3dp-lab{position:relative;width:100%;height:min(64vh,650px);min-height:520px;overflow:hidden;border-radius:30px;background:#d9f3ef;isolation:isolate}
.g3dp-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.g3dp-veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(231,250,247,.94),rgba(231,250,247,.7) 48%,rgba(231,250,247,.9));z-index:1}
.g3dp-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:26px}
.g3dp-workspace h1,.g3dp-workspace h2,.g3dp-workspace p{margin:0;color:#123b4b;text-align:center}.g3dp-workspace h1{font-size:clamp(26px,3vw,42px)}.g3dp-workspace h2{font-size:clamp(20px,2.3vw,30px)}
.g3dp-hero,.g3dp-parts,.g3dp-model,.g3dp-fair,.g3dp-select,.g3dp-record,.g3dp-count-model,.g3dp-match,.g3dp-safe,.g3dp-build,.g3dp-missing,.g3dp-independent,.g3dp-method,.g3dp-reflection,.g3dp-final,.g3dp-plan-done,.g3dp-same-done{width:min(96%,950px);display:grid;justify-items:center;gap:20px;padding:26px;border:2px solid rgba(17,137,124,.25);border-radius:27px;background:rgba(255,255,255,.95);box-shadow:0 18px 48px rgba(14,77,72,.15)}
.g3dp-question{width:min(100%,760px);padding:15px 20px;border-radius:18px;background:#153f3c;color:#fff;font-size:clamp(17px,2vw,24px);font-weight:950;text-align:center}
.g3dp-icon{display:block;width:38px;height:38px;color:#087f73;overflow:visible}.g3dp-route .g3dp-icon{width:30px;height:30px}.g3dp-children-visual{position:relative;display:grid;grid-template-columns:120px minmax(220px,430px) 120px;align-items:center;gap:12px;width:min(100%,720px)}.g3dp-children-visual img{display:block;width:100%;height:170px;object-fit:cover;object-position:center 48%;border:3px solid #9bd6ce;border-radius:22px;box-shadow:0 12px 28px rgba(10,75,70,.15)}.g3dp-speech-card,.g3dp-record-card{display:grid;justify-items:center;gap:7px;padding:13px 8px;border:2px solid #7cc9be;border-radius:17px;background:#fff;color:#123b4b;text-align:center}.g3dp-speech-card b,.g3dp-record-card b{font-size:13px}.g3dp-record-card{border-color:#eabf54;background:#fff6d8}.g3dp-mini{display:flex;align-items:center;justify-content:center;gap:16px;width:min(100%,680px);min-height:98px;padding:13px 18px;border:2px solid #9bd6ce;border-radius:22px;background:#eefbf8}.g3dp-mini .g3dp-icon{width:50px;height:50px}.g3dp-mini em,.g3dp-mini i{font-style:normal}.g3dp-mini-fair span{display:grid;grid-template-columns:auto auto;align-items:center;gap:7px}.g3dp-mini-fair span>b{display:grid;justify-items:center;gap:2px;padding:7px;border-radius:13px;background:#fff3d3;color:#123b4b}.g3dp-mini-fair span>b .g3dp-icon{width:27px;height:27px}.g3dp-mini-fair small{font-size:9px}.g3dp-mini-fruit span{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:#fff}.g3dp-mini-fruit .apple{color:#df5148}.g3dp-mini-fruit .banana{color:#e5a315}.g3dp-mini-fruit .berry{color:#df3f67}.g3dp-mini-record>span,.g3dp-mini-record>i,.g3dp-mini-record>b{display:grid;justify-items:center;gap:4px;padding:9px 13px;border-radius:15px;background:#fff}.g3dp-mini-record>i{color:#df3f67}.g3dp-mini-record>b{background:#fff3d3;color:#123b4b}.g3dp-mini-record small{font-size:11px}.g3dp-mini-count>span,.g3dp-mini-count>div,.g3dp-mini-count>b{display:flex;align-items:center;justify-content:center;gap:3px;padding:10px;border-radius:17px;background:#fff}.g3dp-mini-count>div .g3dp-icon{width:40px;height:40px}.g3dp-mini-count>b{width:62px;height:62px;border-radius:50%;background:#087f73;color:#fff;font-size:30px}.g3dp-mini-safe span,.g3dp-mini-safe s{display:grid;grid-template-columns:auto auto;align-items:center;gap:8px;padding:12px 16px;border-radius:16px;background:#fff;color:#087f73;text-decoration:none}.g3dp-mini-safe s{color:#c45145;background:#fff0eb;text-decoration:line-through}.g3dp-mini-category{gap:9px}.g3dp-mini-category>b{padding:10px;border-radius:13px;background:#fff;color:#123b4b;font-size:12px}.g3dp-mini-category .g3dp-icon{width:38px;height:38px}.g3dp-mini .pencil{display:block;width:13px;height:54px;border:2px solid #c47b23;border-radius:8px 8px 4px 4px;background:linear-gradient(#ef6666 0 13%,#f5c750 13% 86%,#d9b68b 86%);transform:rotate(-5deg)}.g3dp-safe.done>strong{display:flex;align-items:center;gap:8px;color:#087f73}.g3dp-safe.done>strong .g3dp-icon{width:36px;height:36px}
.g3dp-route{display:flex;align-items:stretch;justify-content:center;gap:7px;width:100%}
.g3dp-route section{flex:1;min-width:0;min-height:112px;display:grid;place-items:center;align-content:center;gap:4px;padding:9px;border:3px solid #7cc9be;border-radius:18px;background:#e8f8f5;text-align:center;transition:.35s}
.g3dp-route section:nth-of-type(2),.g3dp-route section:nth-of-type(4){background:#fff3d3;border-color:#eabf54}.g3dp-route section:nth-of-type(3),.g3dp-route section:nth-of-type(5){background:#ffebe5;border-color:#ec8d74}
.g3dp-route section i{font-style:normal;font-size:28px}.g3dp-route section small{color:#087f73;font-weight:1000}.g3dp-route section b{color:#123b4b;font-size:15px;line-height:1.1;overflow-wrap:anywhere}.g3dp-route em{align-self:center;color:#ef7158;font-size:25px;font-style:normal;font-weight:1000}
.g3dp-route section.active,.g3dp-route section.is-spoken,.show-g3dp-guides .g3dp-route section{outline:5px solid rgba(255,177,28,.54);outline-offset:3px;transform:translateY(-3px)}
.g3dp-hero[data-step="1"] .g3dp-route section:nth-of-type(1),.g3dp-hero[data-step="2"] .g3dp-route section:nth-of-type(2),.g3dp-hero[data-step="3"] .g3dp-route section:nth-of-type(3),.g3dp-hero[data-step="4"] .g3dp-route section:nth-of-type(4),.g3dp-hero[data-step="5"] .g3dp-route section:nth-of-type(5){outline:5px solid rgba(255,177,28,.58);transform:translateY(-4px)}
.g3dp-same-question,.g3dp-fair>div,.g3dp-record>div,.g3dp-count-visual,.g3dp-safe>div,.g3dp-independent>div{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;font-size:35px}.g3dp-same-question b{padding:12px;border-radius:50%;background:#fff0c9}.g3dp-same-question i,.g3dp-record em,.g3dp-count-visual i{font-style:normal;color:#ef7158}.g3dp-same-question span{display:grid;place-items:center;width:75px;height:75px;border-radius:50%;background:#e4f8f4}.g3dp-same-question em{font-style:normal;padding:12px;border-radius:16px;background:#153f3c}
.g3dp-same-done{grid-template-columns:repeat(6,auto);align-items:center;font-size:24px}.g3dp-same-done b{padding:10px;border-radius:14px;background:#e8f8f5;color:#087f73}.g3dp-same-done strong,.g3dp-plan-done strong,.g3dp-record.done strong{font-size:38px;color:#07977f}
.g3dp-select>div:not(.g3dp-question):not(.g3dp-route){font-size:64px}.g3dp-plan-done strong{font-size:20px}.g3dp-record>div>span{font-size:60px}.g3dp-record>div>b{padding:16px;border-radius:17px;background:#e8f8f5;color:#087f73}.g3dp-count-visual>b{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#087f73;color:#fff}
.g3dp-safe.done b{color:#087f73}.g3dp-safe.done s,.g3dp-safe s{color:#d76555}.g3dp-safe.done strong{font-size:60px}.g3dp-build.complete{background:linear-gradient(135deg,#fff,#e9fff8,#fff3d5)}
.g3dp-independent.done>div{font-size:20px}.g3dp-independent.done b{padding:16px;border-radius:17px;background:#e5f8f4;color:#087f73}
.g3dp-reflection>div{font-size:40px}.g3dp-final>span{color:#ef7158;font-weight:1000;letter-spacing:.08em}.g3dp-final{background:linear-gradient(135deg,#fff,#e6fff7,#fff0cf)}
.g3dp-alternative{position:absolute;inset:18px;z-index:10;display:grid;place-items:center;align-content:center;gap:18px;padding:34px;border-radius:26px;background:rgba(14,67,63,.97);color:#fff;text-align:center}.g3dp-alternative>div{font-size:clamp(18px,2vw,25px);font-weight:1000;color:#ffd56a}.g3dp-alternative p{max-width:720px;color:#fff;font-size:20px;line-height:1.45}.g3dp-alternative button{padding:13px 21px;border:0;border-radius:16px;background:#fff;color:#087f73;font-weight:1000;cursor:pointer}

@media(max-width:760px){
  .g3dp-lab{height:390px;min-height:390px;max-height:390px;border-radius:22px}.g3dp-workspace{padding:10px}.g3dp-veil{background:rgba(235,251,248,.9)}
  .g3dp-hero,.g3dp-parts,.g3dp-model,.g3dp-fair,.g3dp-select,.g3dp-record,.g3dp-count-model,.g3dp-match,.g3dp-safe,.g3dp-build,.g3dp-missing,.g3dp-independent,.g3dp-method,.g3dp-reflection,.g3dp-final,.g3dp-plan-done,.g3dp-same-done{width:100%;padding:13px 8px;gap:11px;border-radius:19px}.g3dp-workspace h1{font-size:23px}.g3dp-workspace h2{font-size:18px}.g3dp-question{font-size:15px;padding:9px}
  .g3dp-icon{width:30px;height:30px}.g3dp-children-visual{grid-template-columns:65px minmax(130px,1fr) 65px;gap:5px}.g3dp-children-visual img{height:112px;border-radius:14px}.g3dp-speech-card,.g3dp-record-card{padding:7px 3px;border-radius:11px}.g3dp-speech-card b,.g3dp-record-card b{font-size:9px}.g3dp-mini{gap:7px;min-height:70px;padding:7px;border-radius:15px}.g3dp-mini .g3dp-icon{width:34px;height:34px}.g3dp-mini-fair span{gap:2px}.g3dp-mini-fair span>b{padding:3px}.g3dp-mini-fair small{display:none}.g3dp-mini-fruit span{width:50px;height:50px}.g3dp-mini-record>span,.g3dp-mini-record>i,.g3dp-mini-record>b{padding:5px}.g3dp-mini-count>span,.g3dp-mini-count>div,.g3dp-mini-count>b{padding:5px}.g3dp-mini-count>div .g3dp-icon{width:27px;height:27px}.g3dp-mini-count>b{width:43px;height:43px;font-size:22px}.g3dp-mini-safe span,.g3dp-mini-safe s{gap:3px;padding:6px;font-size:11px}.g3dp-mini-category>b{padding:5px;font-size:9px}.g3dp-mini-category .g3dp-icon{width:28px;height:28px}.g3dp-mini .pencil{width:10px;height:38px}
  .g3dp-route{gap:2px}.g3dp-route section{min-height:74px;padding:3px;border-width:2px;border-radius:11px}.g3dp-route section i{font-size:18px}.g3dp-route section small{font-size:9px}.g3dp-route section b{font-size:10px}.g3dp-route em{font-size:13px}
  .g3dp-same-question,.g3dp-fair>div,.g3dp-record>div,.g3dp-count-visual,.g3dp-safe>div,.g3dp-independent>div{gap:7px;font-size:25px}.g3dp-same-question span{width:48px;height:48px}.g3dp-same-question em{padding:7px}.g3dp-same-done{grid-template-columns:repeat(3,auto);font-size:18px}.g3dp-same-done b{font-size:11px;padding:6px}.g3dp-select>div:not(.g3dp-question):not(.g3dp-route){font-size:43px}.g3dp-record>div>span{font-size:42px}.g3dp-safe.done strong{font-size:43px}.g3dp-reflection>div{font-size:28px}.g3dp-independent.done>div{font-size:14px;gap:5px}.g3dp-independent.done b{padding:9px}.g3dp-alternative{inset:7px;padding:17px}.g3dp-alternative p{font-size:16px}
}

.g3cd-lab{position:relative;width:100%;height:min(66vh,680px);min-height:540px;overflow:hidden;border:2px solid #9fd5cc;border-radius:30px;background:linear-gradient(145deg,#dff6f1,#f8fff9 52%,#fff1cc);isolation:isolate}
.g3cd-workspace{position:relative;width:100%;height:100%;display:grid;place-items:center;padding:18px}
.g3cd-intro,.g3cd-model,.g3cd-collect,.g3cd-done,.g3cd-check,.g3cd-error,.g3cd-missing,.g3cd-count,.g3cd-safe,.g3cd-relevant,.g3cd-change,.g3cd-method,.g3cd-reflection,.g3cd-final{width:min(100%,1040px);height:100%;min-height:0;display:grid;justify-items:center;align-content:center;gap:12px;padding:14px;border:2px solid rgba(121,194,181,.8);border-radius:25px;background:rgba(248,255,252,.9);box-shadow:0 16px 38px rgba(17,80,74,.18)}
.g3cd-workspace h1,.g3cd-workspace h2,.g3cd-workspace p{margin:0;color:#123b4b;text-align:center}.g3cd-workspace h1{font-size:clamp(23px,2.8vw,36px)}.g3cd-workspace h2{font-size:clamp(18px,2vw,25px)}
.g3cd-question{width:min(100%,800px);padding:10px 16px;border-radius:17px;background:#153f3c;color:#fff;font-size:clamp(15px,1.8vw,21px);font-weight:950;text-align:center}
.g3cd-icon{width:36px;height:36px;flex:none;color:#098f80}.g3cd-cycle{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3cd-cycle b{display:flex;align-items:center;gap:7px;padding:9px 13px;border:3px solid #72cabb;border-radius:15px;background:#e8fbf5;color:#087f73;transition:.3s}.g3cd-cycle i{color:#f06f55;font-size:23px;font-style:normal;font-weight:1000}
.g3cd-intro[data-step="1"] .g3cd-cycle b:nth-of-type(1),.g3cd-intro[data-step="2"] .g3cd-cycle b:nth-of-type(2),.g3cd-intro[data-step="3"] .g3cd-cycle b:nth-of-type(3),.g3cd-intro[data-step="4"] .g3cd-mission-surface{outline:5px solid rgba(255,183,44,.72);outline-offset:3px;transform:translateY(-2px)}
.g3cd-mission-surface{position:relative;width:min(100%,900px);aspect-ratio:3/2;overflow:hidden;border:3px solid #77c9bd;border-radius:20px;background:#0b6c67;box-shadow:0 12px 26px rgba(12,71,66,.2);transition:.3s}.g3cd-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.g3cd-pupil-marker{position:absolute;z-index:3;left:calc(6.75% + var(--pupil) * 12.25%);top:39.5%;display:grid;place-items:center;width:clamp(22px,3vw,34px);aspect-ratio:1;border:3px solid rgba(255,255,255,.94);border-radius:50%;background:#087f73;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.24);transform:translate(-50%,-50%)}.g3cd-pupil-marker.active{background:#f27a41;outline:5px solid rgba(255,209,71,.78);animation:g3cd-pulse 1.2s ease-in-out infinite}.g3cd-pupil-marker b{font-size:clamp(10px,1.3vw,15px)}
.g3cd-route{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;opacity:0}.g3cd-route path{fill:none;stroke:#ffd149;stroke-width:.55;stroke-dasharray:2 1.5;vector-effect:non-scaling-stroke}.g3cd-mission-surface:has(.g3cd-pupil-marker.active) .g3cd-route,.show-g3cd-guides .g3cd-route{opacity:1}
.g3cd-slots{position:absolute;z-index:4;left:27.2%;top:59.8%;width:45.7%;height:31.3%;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr);gap:3.6% 2.6%;pointer-events:none}.g3cd-slot{position:relative;min-width:0;display:grid;place-items:center;align-content:center;padding:4px;border:2px dashed rgba(126,86,23,.58);border-radius:12px;background:rgba(255,251,236,.6);color:#173f4d}.g3cd-slot small{position:absolute;left:5px;top:3px;font-size:clamp(8px,1vw,12px);font-weight:950;color:#6f531a}.g3cd-slot b{max-width:94%;padding:3px 6px;border:2px solid #0f9f8d;border-radius:8px;background:#e0faf3;font-size:clamp(9px,1.25vw,14px);overflow-wrap:anywhere;text-align:center;box-shadow:0 2px 5px rgba(0,0,0,.12)}.g3cd-slot i{font-size:clamp(8px,1vw,12px);font-style:normal;color:#806a3a}.g3cd-slot.active{border-color:#f27a41;background:rgba(255,234,166,.78);outline:4px solid rgba(255,177,43,.62);animation:g3cd-pulse 1.2s ease-in-out infinite}.g3cd-slot.duplicate{outline:4px solid rgba(235,95,55,.74);background:rgba(255,214,199,.82)}.g3cd-extra-record{position:absolute;right:4px;bottom:3px;transform:rotate(7deg);border-color:#eb663f!important;background:#fff0e7!important}.show-g3cd-guides .g3cd-slot:not(.filled){outline:4px solid rgba(255,158,30,.64)}
.g3cd-live,.g3cd-speaker{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3cd-live>span,.g3cd-speaker>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#dff6f1}.g3cd-live b,.g3cd-speaker b{padding:10px 16px;border-radius:18px;background:#fff1c8;color:#8c5800;font-size:20px}.g3cd-live i{color:#ef7158;font-size:30px;font-style:normal}.g3cd-live strong{padding:11px;border-radius:16px;background:#ddf8f1;color:#087f73}
.g3cd-done>strong{padding:10px 16px;border-radius:16px;background:#daf7ef;color:#087f73;font-size:17px;text-align:center}.g3cd-check>div:not(.g3cd-cycle),.g3cd-type-cards{font-size:28px;color:#123b4b;text-align:center}.g3cd-error>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.g3cd-error>div b{padding:11px;border-radius:13px;background:#e4f8f4;color:#087f73}.g3cd-error>div .danger{background:#ffe5d9;color:#c24f36;outline:4px solid #f2a046}
.g3cd-count .g3cd-speaker strong{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#087f73;color:#fff;font-size:28px}.g3cd-pencil-row{display:flex;align-items:flex-end;gap:6px;padding:8px 12px;border-radius:16px;background:#fff5ce}.g3cd-pencil{width:18px;height:50px;border:2px solid #9a6217;border-radius:4px 4px 8px 8px;background:linear-gradient(90deg,#ffc938 0 65%,#f18c59 65% 82%,#f5caca 82%)}.g3cd-type-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}.g3cd-type-cards b{padding:14px;border:3px solid #78c9bd;border-radius:16px;background:#e8f8f5}.g3cd-type-cards small{color:#087f73}
.g3cd-safe{font-size:20px}.g3cd-safe b,.g3cd-safe s{padding:12px;border-radius:14px}.g3cd-safe b{background:#e1f8f2;color:#087f73}.g3cd-safe s{background:#ffe5db;color:#c45f45}.g3cd-safe .g3cd-icon{width:54px;height:54px}.g3cd-relevant{font-size:22px}.g3cd-relevant>i{color:#ef7158;font-size:32px;font-style:normal}.g3cd-relevant>b{padding:12px;border-radius:16px;background:#e7f8f4;color:#087f73}
.g3cd-change{grid-template-columns:1fr auto 1fr;align-items:center}.g3cd-change>.board-kicker{grid-column:1/-1}.g3cd-change section{width:100%;min-height:105px;display:grid;place-items:center;align-content:center;padding:12px;border:3px solid #76c9bd;border-radius:18px;background:#e7f8f4;text-align:center}.g3cd-change section small{color:#087f73;font-weight:1000}.g3cd-change section b{color:#123b4b}.g3cd-change>i{font-size:35px;color:#ef7158;font-style:normal}.g3cd-change>strong{grid-column:1/-1;color:#ef7158}
.g3cd-reflection>div{display:flex;align-items:center;justify-content:center;gap:12px}.g3cd-final{background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(220,255,246,.98),rgba(255,239,197,.98))}.g3cd-final>span{color:#ef7158;font-weight:1000;letter-spacing:.08em}
.g3cd-alternative{position:absolute;inset:18px;z-index:10;display:grid;place-items:center;align-content:center;gap:17px;padding:30px;border-radius:25px;background:rgba(7,65,61,.98);color:#fff;text-align:center}.g3cd-alternative strong{font-size:24px;color:#ffd76f}.g3cd-alternative p{max-width:720px;color:#fff;font-size:19px;line-height:1.45}.g3cd-alternative button{padding:12px 19px;border:0;border-radius:15px;background:#fff;color:#087f73;font-weight:1000;cursor:pointer}
.g3cd-flying-token{position:fixed;z-index:9999;display:grid;place-items:center;min-width:72px;min-height:42px;padding:8px 12px;border:4px solid #ef9b27;border-radius:15px;background:#fff7d7;color:#12424b;font-size:16px;font-weight:1000;box-shadow:0 14px 30px rgba(27,70,65,.28);pointer-events:none}.g3cd-slot.just-recorded{animation:g3cd-land .7s ease-out}
@keyframes g3cd-pulse{50%{box-shadow:0 0 0 8px rgba(255,184,39,.18);transform:translateY(-2px)}}
@keyframes g3cd-land{30%{transform:scale(1.14);box-shadow:0 0 0 8px rgba(255,183,44,.32)}100%{transform:scale(1)}}
@media(max-width:760px){.g3cd-lab{height:420px;min-height:420px;max-height:420px;border-radius:21px}.g3cd-workspace{padding:6px}.g3cd-intro,.g3cd-model,.g3cd-collect,.g3cd-done,.g3cd-check,.g3cd-error,.g3cd-missing,.g3cd-count,.g3cd-safe,.g3cd-relevant,.g3cd-change,.g3cd-method,.g3cd-reflection,.g3cd-final{width:100%;gap:6px;padding:7px 5px;border-radius:16px}.g3cd-workspace h1{font-size:17px}.g3cd-workspace h2{font-size:13px}.g3cd-workspace p{font-size:11px}.g3cd-question{padding:6px;font-size:11px}.g3cd-icon{width:22px;height:22px}.g3cd-cycle{gap:3px}.g3cd-cycle b{padding:5px 6px;border-width:2px;border-radius:9px;font-size:9px}.g3cd-cycle i{font-size:11px}.g3cd-mission-surface{width:min(100%,600px);border-width:2px;border-radius:12px}.g3cd-pupil-marker{width:20px;border-width:2px}.g3cd-pupil-marker b{font-size:9px}.g3cd-slots{gap:2.8% 2%}.g3cd-slot{padding:1px;border-width:1px;border-radius:6px}.g3cd-slot small{left:2px;top:1px;font-size:7px}.g3cd-slot b{padding:1px 2px;border-width:1px;border-radius:4px;font-size:7px}.g3cd-slot i{font-size:7px}.g3cd-live,.g3cd-speaker{gap:5px}.g3cd-live>span,.g3cd-speaker>span{width:30px;height:30px}.g3cd-live b,.g3cd-speaker b{padding:5px 7px;font-size:12px}.g3cd-live strong{padding:6px;font-size:10px}.g3cd-done>strong{padding:6px;font-size:11px}.g3cd-check>div:not(.g3cd-cycle),.g3cd-type-cards{font-size:17px}.g3cd-error>div{gap:3px}.g3cd-error>div b{padding:5px;font-size:9px}.g3cd-count .g3cd-speaker strong{width:36px;height:36px;font-size:18px}.g3cd-pencil-row{gap:3px;padding:4px}.g3cd-pencil{width:10px;height:28px}.g3cd-type-cards{gap:4px}.g3cd-type-cards b{padding:6px;font-size:10px}.g3cd-safe{font-size:12px}.g3cd-safe b,.g3cd-safe s{padding:6px}.g3cd-safe .g3cd-icon{width:32px;height:32px}.g3cd-relevant{font-size:13px}.g3cd-relevant>b{padding:6px}.g3cd-change section{min-height:65px;padding:5px;font-size:10px}.g3cd-change>i{font-size:18px}.g3cd-alternative{inset:5px;padding:12px;gap:7px}.g3cd-alternative strong{font-size:14px}.g3cd-alternative p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.g3cd-lab *{animation:none!important;transition:none!important}}
.g3cd-slot b{max-width:98%;padding:2px 3px;font-size:clamp(7px,1vw,12px);white-space:nowrap;overflow-wrap:normal}
.g3cd-slot.duplicate>b:not(.g3cd-extra-record){position:absolute;left:1px;top:9px;z-index:2;transform:rotate(-7deg)}
.g3cd-slot.duplicate>.g3cd-extra-record{right:1px;bottom:7px;z-index:3;transform:rotate(8deg)}
.g3cd-intro .g3cd-mission-surface{width:min(100%,330px);height:auto;aspect-ratio:3/2;flex:none}
.g3cd-slot.duplicate>b{box-sizing:border-box;width:calc(100% - 4px);max-width:none;padding:1px;font-size:7px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:clip}
.g3cd-live>span.g3cd-pencil-row,.g3cd-speaker>span.g3cd-pencil-row{display:flex;width:auto;height:auto;border-radius:16px;background:#fff5ce}
@media(max-width:760px){.g3cd-intro .g3cd-mission-surface{width:min(100%,270px);height:auto}.g3cd-slot b{padding:1px;font-size:6px}.g3cd-slot.duplicate>b{width:calc(100% - 3px);font-size:5.5px}.g3cd-live>span.g3cd-pencil-row,.g3cd-speaker>span.g3cd-pencil-row{width:auto;height:auto}}

/* 3. sınıf · Çetele ve Sıklık Tablosu */
.g3tf-lab{position:relative;width:100%;height:min(64vh,650px);min-height:520px;overflow:hidden;border-radius:30px;background:radial-gradient(circle at 50% 8%,#ecfffb 0,#d9f5ee 38%,#bfe6dd 100%);isolation:isolate}
.g3tf-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:18px}
.g3tf-intro,.g3tf-model,.g3tf-marks,.g3tf-sort,.g3tf-done,.g3tf-check,.g3tf-five-proof,.g3tf-to-frequency,.g3tf-error,.g3tf-total,.g3tf-tool,.g3tf-method,.g3tf-reflection,.g3tf-final{width:min(96%,940px);display:grid;justify-items:center;align-content:center;gap:15px;padding:20px;border:2px solid rgba(255,255,255,.75);border-radius:25px;background:rgba(244,255,251,.97);box-shadow:0 18px 48px rgba(0,35,34,.26);color:#123f49}
.g3tf-workspace h1,.g3tf-workspace h2,.g3tf-workspace p{margin:0;text-align:center}.g3tf-workspace h1{font-size:clamp(24px,3vw,38px)}.g3tf-workspace h2{font-size:clamp(17px,2.1vw,27px)}
.g3tf-raw{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.g3tf-raw b,.g3tf-raw-active{display:inline-grid;place-items:center;padding:9px 12px;border:3px solid #e6a43a;border-radius:14px;background:#fff3c7;color:#724d05;font-style:normal;box-shadow:0 6px 14px #72540b25}.g3tf-raw-active{font-size:22px}
.g3tf-category-icon{display:inline-block;width:30px;height:30px;vertical-align:middle;color:#087f73}.g3tf-data-card{display:grid;grid-template-rows:1fr auto;place-items:center;min-width:0;min-height:0;padding:2px;border:2px solid #e6a43a;border-radius:50%;background:#fff4c9;color:#724d05;box-shadow:0 3px 8px #49340533}.g3tf-data-card .g3tf-category-icon{width:58%;height:58%}.g3tf-data-card small{max-width:100%;overflow:hidden;font-size:clamp(5px,.7vw,9px);line-height:1;text-overflow:ellipsis}.g3tf-empty-feed{display:block}
.g3tf-machine{position:relative;width:min(100%,820px);aspect-ratio:3/2;flex:none;overflow:hidden;border-radius:22px;box-shadow:0 16px 35px rgba(8,73,68,.24)}.g3tf-machine>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.g3tf-machine-feed{position:absolute;left:19.2%;top:6.8%;width:63.8%;height:10.8%;display:grid;grid-template-columns:repeat(8,1fr);align-items:stretch;gap:1.45%;padding:.4%}.g3tf-machine-table{position:absolute;left:24.2%;top:28.3%;width:52.9%;height:47.4%;transition:opacity .35s ease}.g3tf-machine-table .g3tf-table{width:100%;height:100%;border:0;border-radius:0;background:transparent;overflow:visible}.g3tf-machine-table .g3tf-table header{display:none}.g3tf-machine-table .g3tf-table section{position:relative;height:25%;min-height:0;border:0!important;background:transparent!important;grid-template-columns:24% 58% 18%}.g3tf-machine-table .g3tf-table section>b,.g3tf-machine-table .g3tf-table section>strong{display:flex;align-items:center;justify-content:center;gap:3px;padding:0;background:transparent}.g3tf-machine-table .g3tf-table section>b span{font-size:clamp(8px,1.2vw,16px);text-transform:uppercase}.g3tf-machine-table .g3tf-category-icon{width:clamp(16px,2.5vw,28px);height:clamp(16px,2.5vw,28px)}.g3tf-machine-table .g3tf-tallies{min-width:0}.g3tf-machine-table .g3tf-table section>strong{font-size:clamp(15px,2.5vw,29px)}.g3tf-machine-table .g3tf-table section.active{outline:0;animation:none}.g3tf-machine-table .g3tf-table section.active::after{content:"";position:absolute;inset:1px -1px;border:3px solid #ff9f2f;border-radius:10px;box-shadow:0 0 0 5px #ffd86b55;pointer-events:none;animation:g3tf-pulse 1.25s ease-in-out infinite}
.g3tf-machine.model[data-g3tf-machine-step="start"] .g3tf-machine-table .g3tf-tallies,.g3tf-machine.model[data-g3tf-machine-step="start"] .g3tf-machine-table strong,.g3tf-machine.model[data-g3tf-machine-step="landed"] .g3tf-machine-table .g3tf-tallies,.g3tf-machine.model[data-g3tf-machine-step="landed"] .g3tf-machine-table strong,.g3tf-machine.model[data-g3tf-machine-step="tally"] .g3tf-machine-table strong{opacity:0}.g3tf-machine.model[data-g3tf-machine-step="landed"] .g3tf-machine-feed .g3tf-data-card,.g3tf-machine.model[data-g3tf-machine-step="tally"] .g3tf-machine-feed .g3tf-data-card,.g3tf-machine.model[data-g3tf-machine-step="frequency"] .g3tf-machine-feed .g3tf-data-card{opacity:0}.g3tf-machine.model .g3tf-machine-table .g3tf-tallies,.g3tf-machine.model .g3tf-machine-table strong,.g3tf-machine.model .g3tf-machine-feed .g3tf-data-card{transition:opacity .35s ease,transform .35s ease}.g3tf-machine.model[data-g3tf-machine-step="tally"] [data-g3tf-row="resim"] .g3tf-tallies,.g3tf-machine.model[data-g3tf-machine-step="frequency"] [data-g3tf-row="resim"] .g3tf-tallies,.g3tf-machine.model[data-g3tf-machine-step="frequency"] [data-g3tf-row="resim"] strong{opacity:1;animation:g3tf-pop .55s ease both}
.g3tf-intro[data-step="raw"] .g3tf-machine-table{opacity:.28}.g3tf-intro[data-step="rows"] .g3tf-machine-table,.g3tf-intro[data-step="tally"] .g3tf-machine-table,.g3tf-intro[data-step="frequency"] .g3tf-machine-table{opacity:1}.g3tf-intro[data-step="tally"] .g3tf-machine-table::after{content:"ÇETELE";position:absolute;left:25%;top:0;width:58%;height:100%;display:grid;place-items:center;border:4px solid #ff9f2f;border-radius:12px;background:#fff1b322;color:#7a4b00;font-weight:1000}.g3tf-intro[data-step="frequency"] .g3tf-machine-table::after{content:"SIKLIK";position:absolute;left:82%;top:0;width:18%;height:100%;display:grid;place-items:center;border:4px solid #ff9f2f;border-radius:12px;background:#fff1b355;color:#7a4b00;font-weight:1000;writing-mode:vertical-rl}
.g3tf-route,.g3tf-marks>div,.g3tf-to-frequency>div,.g3tf-error>div,.g3tf-total,.g3tf-method>div,.g3tf-final>div{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3tf-route>b,.g3tf-route>strong,.g3tf-total>b,.g3tf-total>strong,.g3tf-method b,.g3tf-final b{padding:10px 13px;border-radius:14px;background:#ddf7f0;color:#087f73}.g3tf-route>i,.g3tf-marks>div>i,.g3tf-to-frequency i,.g3tf-error i,.g3tf-total i,.g3tf-method i,.g3tf-final i{color:#ef7256;font-size:25px;font-style:normal;font-weight:1000}
.g3tf-table{width:min(100%,760px);overflow:hidden;border:3px solid #65bdaf;border-radius:19px;background:#fff}.g3tf-table header,.g3tf-table section{display:grid;grid-template-columns:1.35fr 1.5fr .7fr;align-items:center;min-height:58px}.g3tf-table header{min-height:38px;background:#0d887b;color:#fff}.g3tf-table header b,.g3tf-table section>b,.g3tf-table section>strong{padding:8px;text-align:center}.g3tf-table section{border-top:2px solid #c4e6df;transition:.25s}.g3tf-table section:nth-child(odd){background:#effaf7}.g3tf-table section.active,.show-g3tf-guides .g3tf-table section.active{position:relative;z-index:1;outline:5px solid rgba(244,164,37,.82);outline-offset:-5px;background:#fff4d3;animation:g3tf-pulse 1.25s ease-in-out infinite}.g3tf-table section>strong{font-size:26px;color:#0b887b}
.g3tf-tallies{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:92px;min-height:42px;color:#173e48}.g3tf-five{position:relative;display:inline-flex;gap:5px;width:48px;height:35px;align-items:center;justify-content:center}.g3tf-five i,.g3tf-one{display:block;width:4px;height:31px;border-radius:3px;background:#173e48}.g3tf-five b{position:absolute;left:4px;top:15px;width:42px;height:4px;border-radius:3px;background:#ef7256;transform:rotate(-34deg);transform-origin:center}.g3tf-five+.g3tf-one{margin-left:6px}.g3tf-tallies>em{font-style:normal;color:#8aa39f}
.g3tf-marks section{display:grid;place-items:center;gap:7px;padding:12px 16px;border-radius:17px;background:#e7f8f4}.g3tf-marks small{font-weight:1000;color:#087f73}.g3tf-marks .five,.g3tf-marks .six,.g3tf-marks .arrow-five,.g3tf-marks .arrow-six{opacity:0;transform:translateY(10px);transition:.4s ease}.g3tf-marks[data-step="five"] .five,.g3tf-marks[data-step="five"] .arrow-five,.g3tf-marks[data-step="six"] .five,.g3tf-marks[data-step="six"] .arrow-five,.g3tf-marks[data-step="six"] .six,.g3tf-marks[data-step="six"] .arrow-six{opacity:1;transform:none}.g3tf-big-tally,.g3tf-five-proof,.g3tf-to-frequency>div{font-size:26px}.g3tf-five-proof>strong,.g3tf-to-frequency strong,.g3tf-done>strong,.g3tf-done>div{padding:10px 15px;border-radius:15px;background:#dcf6ef;color:#087f73;font-size:20px;text-align:center}.g3tf-to-frequency .extras,.g3tf-to-frequency i,.g3tf-to-frequency strong,.g3tf-to-frequency p{opacity:0;transform:translateY(8px);transition:.35s ease}.g3tf-to-frequency[data-step="extras"] .extras,.g3tf-to-frequency[data-step="result"] .extras{opacity:1;transform:none}.g3tf-to-frequency[data-step="result"] i,.g3tf-to-frequency[data-step="result"] strong,.g3tf-to-frequency[data-step="result"] p{opacity:1;transform:none}.g3tf-choice-tally{display:grid;place-items:center;width:100%;min-height:46px}.g3tf-choice-tally .g3tf-tallies{transform:scale(1.18)}.g3tf-apple-cards{display:flex;align-items:center;justify-content:center;gap:8px}.g3tf-apple-cards .g3tf-category-icon{width:42px;height:42px;padding:5px;border:2px solid #e6a43a;border-radius:50%;background:#fff4ca;color:#d75842}.g3tf-check>div:not(.g3tf-table){font-size:34px}.g3tf-error b{padding:12px;border-radius:14px;background:#fff1ca}.g3tf-error .g3tf-tallies{padding:8px;border:4px solid #ef8b55;border-radius:14px;background:#fff}.g3tf-tool>div,.g3tf-tool>span,.g3tf-tool>strong{padding:12px;border-radius:15px;background:#e5f8f3;color:#087f73;font-weight:1000}.g3tf-reflection>div{font-size:34px}.g3tf-final{background:linear-gradient(135deg,rgba(255,255,255,.99),rgba(218,255,245,.98),rgba(255,239,194,.98))}.g3tf-final>span{font-weight:1000;color:#ef7256;letter-spacing:.08em}
.g3tf-alternative{position:absolute;inset:18px;z-index:10;display:grid;place-items:center;align-content:center;gap:16px;padding:30px;border-radius:25px;background:rgba(6,63,60,.98);color:#fff;text-align:center}.g3tf-alternative strong{font-size:24px;color:#ffd66e}.g3tf-alternative p{max-width:720px;margin:0;color:#fff;font-size:19px;line-height:1.45}.g3tf-alternative button{padding:12px 19px;border:0;border-radius:15px;background:#fff;color:#087f73;font-weight:1000;cursor:pointer}
.g3tf-flying-token{position:fixed;z-index:9999;display:grid;grid-template-rows:1fr auto;place-items:center;min-width:54px;min-height:54px;padding:6px;border:4px solid #ef9b27;border-radius:50%;background:#fff5ca;color:#123f49;font-size:13px;font-weight:1000;box-shadow:0 14px 30px rgba(27,70,65,.3);pointer-events:none}.g3tf-flying-token .g3tf-category-icon{width:28px;height:28px}.g3tf-flying-token small{font-size:8px}
.g3tf-alt-visual{display:flex;align-items:center;justify-content:center;gap:9px;min-height:56px}.g3tf-alt-visual>i{font-style:normal;color:#ef7256}.g3tf-alt-visual>b{padding:6px 8px;border-radius:10px;background:#e5f8f3;color:#087f73}.g3tf-alt-card{display:grid;place-items:center;width:46px;height:46px;border:3px solid #ef9b27;border-radius:50%;background:#fff5ca}.g3tf-alt-card .g3tf-category-icon{width:28px;height:28px}
@keyframes g3tf-pulse{50%{box-shadow:inset 0 0 0 7px rgba(255,184,39,.18)}}@keyframes g3tf-pop{0%{transform:scale(.45)}70%{transform:scale(1.15)}100%{transform:scale(1)}}
@media(max-width:760px){.g3tf-lab{height:390px;min-height:390px;max-height:390px;border-radius:21px}.g3tf-workspace{padding:7px}.g3tf-intro,.g3tf-model,.g3tf-marks,.g3tf-sort,.g3tf-done,.g3tf-check,.g3tf-five-proof,.g3tf-to-frequency,.g3tf-error,.g3tf-total,.g3tf-tool,.g3tf-method,.g3tf-reflection,.g3tf-final{width:100%;gap:6px;padding:8px 5px;border-radius:16px}.g3tf-workspace h1{font-size:17px}.g3tf-workspace h2{font-size:13px}.g3tf-workspace p{font-size:11px}.g3tf-raw{gap:3px}.g3tf-raw b,.g3tf-raw-active{padding:5px 7px;border-width:2px;border-radius:9px;font-size:10px}.g3tf-route,.g3tf-marks>div,.g3tf-to-frequency>div,.g3tf-error>div,.g3tf-total,.g3tf-method>div,.g3tf-final>div{gap:4px}.g3tf-route>b,.g3tf-route>strong,.g3tf-total>b,.g3tf-total>strong,.g3tf-method b,.g3tf-final b{padding:5px 6px;font-size:9px}.g3tf-route>i,.g3tf-marks>div>i,.g3tf-to-frequency i,.g3tf-error i,.g3tf-total i,.g3tf-method i,.g3tf-final i{font-size:13px}.g3tf-table{border-width:2px;border-radius:11px}.g3tf-table header,.g3tf-table section{min-height:38px;grid-template-columns:1.25fr 1.45fr .65fr}.g3tf-table header{min-height:24px}.g3tf-table header b,.g3tf-table section>b,.g3tf-table section>strong{padding:3px;font-size:8px}.g3tf-table section>strong{font-size:15px}.g3tf-tallies{gap:3px;min-width:52px;min-height:25px}.g3tf-five{gap:3px;width:29px;height:23px}.g3tf-five i,.g3tf-one{width:3px;height:20px}.g3tf-five b{left:2px;top:10px;width:27px;height:3px}.g3tf-marks section{gap:3px;padding:5px}.g3tf-marks small{font-size:7px}.g3tf-big-tally,.g3tf-five-proof,.g3tf-to-frequency>div{font-size:14px}.g3tf-five-proof>strong,.g3tf-to-frequency strong,.g3tf-done>strong,.g3tf-done>div{padding:5px;font-size:10px}.g3tf-check>div:not(.g3tf-table){font-size:18px}.g3tf-error b,.g3tf-tool>div,.g3tf-tool>span,.g3tf-tool>strong{padding:6px;font-size:10px}.g3tf-reflection>div{font-size:20px}.g3tf-alternative{inset:6px;padding:15px;gap:8px}.g3tf-alternative strong{font-size:15px}.g3tf-alternative p{font-size:12px}}
@media(max-width:760px){.g3tf-machine{width:min(100%,350px);border-radius:12px}.g3tf-machine .g3tf-data-card{padding:1px;border-width:1px;border-radius:50%;font-size:7px}.g3tf-machine .g3tf-data-card small{display:none}.g3tf-machine-table .g3tf-table section{height:25%;min-height:0;grid-template-columns:24% 58% 18%}.g3tf-machine-table .g3tf-table section>b,.g3tf-machine-table .g3tf-table section>strong{padding:0}.g3tf-machine-table .g3tf-table section>b span{font-size:6px}.g3tf-machine-table .g3tf-category-icon{width:12px;height:12px}.g3tf-machine-table .g3tf-tallies{min-width:0;min-height:16px}.g3tf-machine-table .g3tf-five{width:22px;height:16px}.g3tf-machine-table .g3tf-five i,.g3tf-machine-table .g3tf-one{height:14px;width:2px}.g3tf-machine-table .g3tf-five b{left:1px;top:7px;width:21px;height:2px}.g3tf-machine-table .g3tf-table section>strong{font-size:12px}.g3tf-machine-table .g3tf-table section.active::after{border-width:2px;border-radius:5px;box-shadow:0 0 0 2px #ffd86b55}.g3tf-intro[data-step="tally"] .g3tf-machine-table::after,.g3tf-intro[data-step="frequency"] .g3tf-machine-table::after{border-width:2px;font-size:8px}.g3tf-apple-cards{gap:3px}.g3tf-apple-cards .g3tf-category-icon{width:28px;height:28px;padding:3px}.g3tf-choice-tally{min-height:30px}.g3tf-choice-tally .g3tf-tallies{transform:scale(.9)}}
@media(prefers-reduced-motion:reduce){.g3tf-lab *{animation:none!important;transition:none!important}}

/* 3. sınıf · Nokta Grafiği */
.g3dot-lab{position:relative;width:100%;height:min(70vh,680px);min-height:540px;overflow:hidden;border:2px solid #addbd3;border-radius:30px;background:linear-gradient(180deg,#f5fffc,#dff6f1);isolation:isolate}.g3dot-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:16px}
.g3dot-intro,.g3dot-model,.g3dot-check,.g3dot-build,.g3dot-done,.g3dot-pair,.g3dot-error,.g3dot-total,.g3dot-method,.g3dot-reflection,.g3dot-final{width:min(96%,950px);display:grid;justify-items:center;align-content:center;gap:12px;padding:16px;border:2px solid rgba(103,188,174,.75);border-radius:25px;background:rgba(250,255,253,.97);box-shadow:0 16px 38px rgba(0,70,65,.17);color:#123f49}.g3dot-intro:has(.g3dot-machine),.g3dot-model:has(.g3dot-machine),.g3dot-build:has(.g3dot-machine),.g3dot-pair:has(.g3dot-machine),.g3dot-done:has(.g3dot-machine){width:min(100%,1010px);gap:7px;padding:0;border:0;background:transparent;box-shadow:none}.g3dot-pair:has(.g3dot-machine){grid-template-columns:minmax(0,1fr)}.g3dot-pair:has(.g3dot-machine)>.board-kicker{grid-column:1}.g3dot-workspace h1,.g3dot-workspace h2,.g3dot-workspace p{margin:0;text-align:center}.g3dot-workspace h1{font-size:clamp(23px,3vw,37px)}.g3dot-workspace h2{font-size:clamp(16px,2vw,26px)}
.g3dot-machine{position:relative;width:min(100%,960px);aspect-ratio:3/2;overflow:hidden;border:3px solid #c7a45a;border-radius:24px;background:#0d625d;box-shadow:0 16px 38px rgba(0,54,52,.22)}.g3dot-machine>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.g3dot-machine-raw{position:absolute;left:2.8%;top:23.2%;width:23.2%;height:25.9%;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr);gap:4.8% 3.2%;padding:1.1%}.g3dot-machine-token{position:relative;display:grid;place-items:center;min-width:0;min-height:0;border-radius:16%;color:#714604;font-size:clamp(14px,2.2vw,29px);font-weight:1000}.g3dot-machine-token b{display:grid;place-items:center;width:62%;aspect-ratio:1;border:3px solid #de9c30;border-radius:50%;background:#fff1bd;box-shadow:0 5px 12px #4e35042d}.g3dot-machine-token i{position:absolute;right:2%;top:2%;display:grid;place-items:center;width:28%;aspect-ratio:1;border-radius:50%;background:#078b7c;color:#fff;font-size:.55em;font-style:normal}.g3dot-machine-token.active{outline:5px solid #ffb52d;outline-offset:-2px;animation:g3dot-machine-pulse 1.05s ease-in-out infinite}.g3dot-machine-token.processed{opacity:.58}.g3dot-machine-token.empty{visibility:hidden}.g3dot-machine-graph{position:absolute;left:28.2%;top:22.3%;width:51.5%;height:43.8%;display:grid;place-items:stretch}.g3dot-machine-graph .g3dot-graph{width:100%;height:100%;padding:1.6% 2.4% 1%;border:0;border-radius:3%;background:rgba(248,255,252,.86);box-shadow:inset 0 0 0 2px rgba(64,157,145,.28)}.g3dot-machine-graph .g3dot-columns{height:88%;min-height:0}.g3dot-machine-graph .g3dot-stack{min-height:0;height:100%;gap:3%;padding-bottom:3%}.g3dot-machine-graph .g3dot-stack i{width:clamp(16px,2.2vw,30px);height:clamp(16px,2.2vw,30px)}.g3dot-machine-graph .g3dot-next-slot{width:clamp(18px,2.4vw,33px);height:clamp(18px,2.4vw,33px)}.g3dot-machine-graph .g3dot-column>b{min-width:42%;padding:2% 7%;font-size:clamp(11px,1.55vw,20px)}.g3dot-machine-graph .g3dot-axis-label{font-size:clamp(8px,1vw,13px)}.g3dot-machine-frequency{position:absolute;left:82.35%;top:23.55%;width:15.2%;height:27.8%;display:grid;grid-template-rows:repeat(4,1fr)}.g3dot-machine-frequency section{display:grid;grid-template-columns:36% 64%;align-items:center;color:#164e54;text-align:center;font-size:clamp(9px,1.2vw,16px)}.g3dot-machine-frequency section b{font-size:1.08em}.g3dot-machine-frequency section strong{font-size:1.22em;color:#087f73}.g3dot-machine-frequency section.active{border-radius:10px;outline:4px solid #ffb12e;outline-offset:-3px;background:rgba(255,239,185,.72);animation:g3dot-machine-pulse 1.05s ease-in-out infinite}.g3dot-machine-caption{position:absolute;left:44%;bottom:4.4%;padding:.45% 1.2%;border-radius:999px;background:rgba(255,249,222,.92);color:#714604;font-size:clamp(8px,1vw,14px);font-weight:1000;box-shadow:0 4px 10px #073e3726}.g3dot-machine[data-step="raw"] .g3dot-machine-graph,.g3dot-machine[data-step="raw"] .g3dot-machine-frequency{opacity:.34}.g3dot-machine[data-step="graph"] .g3dot-machine-graph{outline:6px solid #ffd15d;outline-offset:2px;border-radius:14px}.g3dot-machine[data-step="frequency"] .g3dot-machine-frequency{outline:6px solid #ffd15d;outline-offset:2px;border-radius:12px}.g3dot-machine[data-step="raw"] .g3dot-stack i,.g3dot-machine[data-step="column"] .g3dot-stack i{opacity:0}.g3dot-machine[data-step="landed"] .g3dot-machine-token.active{opacity:.25}.g3dot-machine[data-step="one"] .g3dot-stack i:nth-child(n+2),.g3dot-machine[data-step="two"] .g3dot-stack i:nth-child(n+3){opacity:0}.g3dot-machine[data-step="one"] .g3dot-machine-token:nth-child(n+2),.g3dot-machine[data-step="two"] .g3dot-machine-token:nth-child(n+3){opacity:.28}.g3dot-machine[data-step="complete"] .g3dot-machine-frequency{outline:5px solid rgba(255,206,82,.68);outline-offset:2px;border-radius:12px}
.g3dot-raw{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.g3dot-raw b,.g3dot-raw-active{display:grid;place-items:center;min-width:48px;min-height:48px;padding:7px;border:3px solid #e5a23a;border-radius:14px;background:#fff1c4;color:#744b03;font-size:23px;font-weight:1000;box-shadow:0 7px 16px #61420625}.g3dot-route,.g3dot-total,.g3dot-method>div,.g3dot-final>div{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3dot-route>b,.g3dot-total>b,.g3dot-total>strong,.g3dot-method b,.g3dot-final b{padding:9px 12px;border-radius:14px;background:#ddf7f0;color:#087f73}.g3dot-route>i,.g3dot-total>i,.g3dot-method i,.g3dot-final i{color:#ef7256;font-size:24px;font-style:normal;font-weight:1000}.g3dot-dot-demo{width:34px;height:34px;border:5px solid #fff;border-radius:50%;background:#ef7256;box-shadow:0 0 0 4px #ef7256,0 7px 15px #612a1e36}
.g3dot-graph{width:min(100%,680px);padding:9px 16px 7px;border:3px solid #67bcae;border-radius:20px;background:#f7fffc}.g3dot-columns{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;min-height:238px;border-bottom:6px solid #123f49}.g3dot-column{position:relative;display:grid;grid-template-rows:1fr auto auto;align-items:end;justify-items:center;height:100%;padding:0 6px;transition:.25s}.g3dot-column:not(:first-child){border-left:2px dashed #c6e4de}.g3dot-column.active,.show-g3dot-guides .g3dot-column.active{background:linear-gradient(180deg,transparent,#fff0c7);outline:5px solid rgba(244,164,37,.72);outline-offset:-5px;animation:g3dot-pulse 1.2s ease-in-out infinite}.g3dot-stack{display:flex;flex-direction:column-reverse;align-items:center;justify-content:flex-start;gap:7px;min-height:185px;padding-bottom:7px}.g3dot-stack i{display:block;width:34px;height:34px;border:4px solid #fff;border-radius:50%;background:#ef7256;box-shadow:0 0 0 3px #c6533d,0 5px 12px #5b2a2030;animation:g3dot-land .55s ease-out both;animation-delay:calc(var(--dot-order) * .1s)}.g3dot-next-slot{width:38px;height:38px;border:4px dashed #e6a236;border-radius:50%;background:#fff4cdb8}.g3dot-column>b{min-width:42px;padding:5px 8px;border-radius:0 0 12px 12px;background:#123f49;color:#fff;font-size:22px;text-align:center}.g3dot-column>small{min-height:20px;color:#087f73;font-size:11px;font-weight:1000}.g3dot-axis-label{display:block;margin-top:4px;color:#087f73;text-align:center;letter-spacing:.12em}
.g3dot-frequency{width:min(100%,250px);overflow:hidden;border:3px solid #66bcae;border-radius:18px;background:#fff}.g3dot-frequency header,.g3dot-frequency section{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:40px;text-align:center}.g3dot-frequency header{background:#0b887b;color:#fff}.g3dot-frequency section{border-top:2px solid #c5e6df}.g3dot-frequency section.active{outline:5px solid #efaa35;outline-offset:-5px;background:#fff2c9}.g3dot-frequency strong{color:#087f73;font-size:20px}.g3dot-pair{grid-template-columns:minmax(0,2.2fr) minmax(150px,.8fr);align-items:center}.g3dot-pair>.board-kicker{grid-column:1/-1}.g3dot-pair.done{background:rgba(244,255,251,.98)}.g3dot-done>strong{padding:10px 15px;border-radius:15px;background:#dcf6ef;color:#087f73;font-size:19px;text-align:center}.g3dot-error>.g3dot-graph{outline:5px solid rgba(239,114,86,.55)}.g3dot-total{font-size:20px}.g3dot-reflection>.g3dot-graph{max-width:600px}.g3dot-final{background:linear-gradient(135deg,#fff,#dcfff6,#fff0c5)}.g3dot-final>span{color:#ef7256;font-weight:1000;letter-spacing:.08em}
.g3dot-alternative{position:absolute;inset:18px;z-index:10;display:grid;place-items:center;align-content:center;gap:14px;padding:28px;border-radius:25px;background:rgba(6,63,60,.98);color:#fff;text-align:center}.g3dot-alternative strong{font-size:24px;color:#ffd66e}.g3dot-alternative p{max-width:720px;margin:0;color:#fff;font-size:19px;line-height:1.45}.g3dot-alternative button{padding:12px 19px;border:0;border-radius:15px;background:#fff;color:#087f73;font-weight:1000;cursor:pointer}.g3dot-counter-model,.g3dot-finger-model{display:flex;align-items:center;gap:12px}.g3dot-counter-model b,.g3dot-counter-model span,.g3dot-counter-model em,.g3dot-finger-model b,.g3dot-finger-model em{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff2c7;color:#174c52;font-size:22px;font-style:normal;font-weight:1000}.g3dot-counter-model em,.g3dot-finger-model em{background:#ef7256;box-shadow:0 0 0 4px #fff}.g3dot-finger-model span{padding:10px;border-radius:12px;background:#fff;color:#174c52;font-weight:1000}.g3dot-seat-model{display:grid;grid-template-columns:repeat(4,42px);gap:8px}.g3dot-seat-model i{display:grid;place-items:center;aspect-ratio:1;border-radius:10px;background:#fff2c7;color:#174c52;font-style:normal;font-weight:1000}.g3dot-flying-token{position:fixed;z-index:9999;display:grid;place-items:center;width:48px;height:48px;border:4px solid #e6a236;border-radius:50%;background:#fff2c7;color:#123f49;font-size:21px;font-weight:1000;box-shadow:0 14px 30px rgba(27,70,65,.3);pointer-events:none}
@keyframes g3dot-pulse{50%{box-shadow:inset 0 0 0 8px rgba(255,185,39,.18)}}@keyframes g3dot-machine-pulse{50%{filter:brightness(1.18);box-shadow:0 0 0 7px rgba(255,187,48,.25)}}@keyframes g3dot-land{0%{opacity:0;transform:translateY(-20px) scale(.75)}70%{transform:translateY(3px) scale(1.08)}100%{opacity:1;transform:none}}
@media(max-width:760px){.g3dot-lab{height:390px;min-height:390px;max-height:390px;border-radius:21px}.g3dot-workspace{padding:6px}.g3dot-intro,.g3dot-model,.g3dot-check,.g3dot-build,.g3dot-done,.g3dot-pair,.g3dot-error,.g3dot-total,.g3dot-method,.g3dot-reflection,.g3dot-final{width:100%;gap:5px;padding:7px 4px;border-radius:16px}.g3dot-workspace h1{font-size:16px}.g3dot-workspace h2{font-size:12px}.g3dot-raw{gap:3px}.g3dot-raw b,.g3dot-raw-active{min-width:31px;min-height:31px;padding:3px;border-width:2px;border-radius:8px;font-size:14px}.g3dot-route,.g3dot-total,.g3dot-method>div,.g3dot-final>div{gap:3px}.g3dot-route>b,.g3dot-total>b,.g3dot-total>strong,.g3dot-method b,.g3dot-final b{padding:5px;font-size:8px}.g3dot-route>i,.g3dot-total>i,.g3dot-method i,.g3dot-final i{font-size:12px}.g3dot-dot-demo{width:22px;height:22px;border-width:3px}.g3dot-graph{padding:4px 6px 2px;border-width:2px;border-radius:11px}.g3dot-columns{min-height:145px;border-bottom-width:4px}.g3dot-column{padding:0 2px}.g3dot-column:not(:first-child){border-left-width:1px}.g3dot-stack{gap:3px;min-height:110px;padding-bottom:3px}.g3dot-stack i{width:22px;height:22px;border-width:2px;box-shadow:0 0 0 2px #c6533d}.g3dot-next-slot{width:24px;height:24px;border-width:2px}.g3dot-column>b{min-width:27px;padding:2px;font-size:13px}.g3dot-column>small{min-height:12px;font-size:7px}.g3dot-axis-label{font-size:8px}.g3dot-frequency{max-width:110px;border-width:2px;border-radius:10px}.g3dot-frequency header,.g3dot-frequency section{min-height:24px;font-size:8px}.g3dot-frequency strong{font-size:12px}.g3dot-pair{grid-template-columns:minmax(0,2.4fr) minmax(90px,.6fr)}.g3dot-done>strong{padding:5px;font-size:10px}.g3dot-total{font-size:11px}.g3dot-alternative{inset:6px;padding:14px;gap:8px}.g3dot-alternative strong{font-size:14px}.g3dot-alternative p{font-size:12px}body:has(.g3dot-lab) .theme4-final-choices button{min-height:44px;padding:3px 5px}body:has(.g3dot-lab) .theme4-final-choices button>b{font-size:11px;line-height:1.05}}
@media(max-width:760px){.g3dot-lab{height:410px;min-height:410px;max-height:410px;background:linear-gradient(180deg,#f5fffc,#dff6f1)}.g3dot-workspace{padding:5px}.g3dot-intro:has(.g3dot-machine),.g3dot-model:has(.g3dot-machine),.g3dot-build:has(.g3dot-machine),.g3dot-pair:has(.g3dot-machine),.g3dot-done:has(.g3dot-machine){padding:0}.g3dot-machine{border-width:2px;border-radius:13px}.g3dot-machine-token b{border-width:1px}.g3dot-machine-token.active{outline-width:2px}.g3dot-machine-graph .g3dot-stack i{border-width:1px;box-shadow:0 0 0 1px #c6533d}.g3dot-machine-graph .g3dot-column:not(:first-child){border-left-width:1px}.g3dot-machine-frequency section.active{outline-width:2px}.g3dot-machine-caption{bottom:3.6%}.g3dot-counter-model b,.g3dot-counter-model span,.g3dot-counter-model em,.g3dot-finger-model b,.g3dot-finger-model em{width:32px;height:32px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.g3dot-lab *{animation:none!important;transition:none!important}}

/* 3. sınıf · Birden Fazla Simetri Doğrusu */
.grade3-multiple-symmetry-board{--sym-teal:#0b897a;--sym-ink:#153f49;--sym-coral:#ef7459;--sym-gold:#f4ba38;position:relative;overflow:hidden}
.g3sym-lab{position:relative;width:100%;min-height:500px;aspect-ratio:16/10;border:2px solid #addbd3;border-radius:28px;overflow:hidden;background:#e9f8f4;box-shadow:0 16px 42px #174b4430}
.g3sym-lab-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.g3sym-lab::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#effbf5ef 0 22%,#effbf5a8 38% 72%,#effbf5e8 100%);pointer-events:none}
.g3sym-workspace{position:absolute;z-index:2;inset:4%;display:grid;place-items:center;align-content:center;gap:12px;padding:14px;overflow:hidden}
.g3sym-workspace h1,.g3sym-workspace h2,.g3sym-workspace p{margin:0;color:var(--sym-ink);text-align:center}
.g3sym-workspace h2{max-width:680px;font-size:clamp(1.1rem,2.2vw,1.65rem);line-height:1.2}
.g3sym-hero,.g3sym-overlap-task,.g3sym-fold-task,.g3sym-summary,.g3sym-failed-proof,.g3sym-circle-task,.g3sym-wheel-task,.g3sym-match,.g3sym-independent,.g3sym-reflection,.g3sym-final{display:grid;place-items:center;align-content:center;gap:14px;width:min(94%,760px);min-height:390px;padding:20px;border:2px solid #bee2dc;border-radius:28px;background:#fffffff0;box-shadow:0 16px 36px #174b4435;overflow:hidden}
.g3sym-hero>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.g3sym-hero b{padding:14px 20px;border-radius:18px;background:#dff4ee;color:var(--sym-teal);box-shadow:0 0 0 3px #fff;transition:.3s}.g3sym-hero[data-step="3"] b:nth-child(1),.g3sym-hero[data-step="4"] b:nth-child(2),.g3sym-hero[data-step="5"] b:nth-child(3){background:#fff0b9;box-shadow:0 0 0 4px #f4ba38,0 0 22px #f4ba38a0}
.g3sym-paper{position:relative;width:260px;height:260px;perspective:900px;filter:drop-shadow(0 12px 18px #16463b33)}
.g3sym-paper.rectangle{width:310px;height:190px}.g3sym-paper.circle{width:270px;height:270px;border-radius:50%}
.g3sym-paper .paper-half{position:absolute;inset:0;background:linear-gradient(145deg,#f8c84c,#f08b45);border:3px solid #b95f32;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.75,.25,1),opacity .3s;backface-visibility:visible}
.g3sym-paper.circle .paper-half{border-radius:50%}
.g3sym-paper.axis-vertical .paper-half.first{clip-path:inset(0 50% 0 0)}.g3sym-paper.axis-vertical .paper-half.second{clip-path:inset(0 0 0 50%);transform-origin:50% 50%}.g3sym-paper.axis-vertical.folded .paper-half.second{transform:rotateY(180deg);opacity:.7}
.g3sym-paper.axis-horizontal .paper-half.first{clip-path:inset(0 0 50% 0)}.g3sym-paper.axis-horizontal .paper-half.second{clip-path:inset(50% 0 0 0);transform-origin:50% 50%}.g3sym-paper.axis-horizontal.folded .paper-half.second{transform:rotateX(180deg);opacity:.7}
.g3sym-paper.axis-diagonal-a .paper-half.first{clip-path:polygon(0 0,100% 100%,0 100%)}.g3sym-paper.axis-diagonal-a .paper-half.second{clip-path:polygon(0 0,100% 0,100% 100%);transform-origin:0 0}.g3sym-paper.axis-diagonal-a.folded .paper-half.second{transform:matrix(0,1,1,0,0,0);opacity:.64}
.g3sym-paper.axis-diagonal-b .paper-half.first{clip-path:polygon(100% 0,0 100%,100% 100%)}.g3sym-paper.axis-diagonal-b .paper-half.second{clip-path:polygon(0 0,100% 0,0 100%);transform-origin:0 0}.g3sym-paper.axis-diagonal-b.folded .paper-half.second{transform:matrix(0,-1,-1,0,260,260);opacity:.64}
.g3sym-paper.rectangle.axis-diagonal-a.folded .paper-half.second{transform:matrix(.455,.89,.89,-.455,0,0) scale(.68)}
.g3sym-paper.rectangle.failed .paper-half.second{transform:translate(12%,-7%) rotate(12deg) scale(.82);transform-origin:50% 50%}
.g3sym-paper .active-axis,.g3sym-paper .symmetry-line{position:absolute;z-index:4;left:50%;top:0;width:5px;height:100%;border-radius:999px;background:repeating-linear-gradient(to bottom,#e94f45 0 11px,transparent 11px 19px);transform-origin:50% 50%;filter:drop-shadow(0 0 5px #fff)}
.g3sym-paper.axis-horizontal .active-axis,.g3sym-paper .symmetry-line.horizontal{transform:rotate(90deg)}.g3sym-paper.axis-diagonal-a .active-axis,.g3sym-paper .symmetry-line.diagonal-a{transform:rotate(-45deg);height:142%;top:-21%}.g3sym-paper.axis-diagonal-b .active-axis,.g3sym-paper .symmetry-line.diagonal-b{transform:rotate(45deg);height:142%;top:-21%}
.g3sym-paper .symmetry-line.vertical{transform:rotate(0)}.g3sym-paper .symmetry-line{background:#0c9a89;opacity:.9}.g3sym-paper .symmetry-line~.active-axis{opacity:.2}
.g3sym-paper .overlap-proof,.g3sym-paper .overflow-proof{position:absolute;z-index:7;left:50%;bottom:12px;translate:-50%;display:none;padding:8px 12px;border-radius:999px;background:#087f70;color:#fff;font-size:.72rem;white-space:nowrap}
.g3sym-failed-proof .g3sym-paper{transform:scale(.8);margin:-22px 0 -18px}
.g3sym-paper.folded:not(.failed) .overlap-proof{display:block}.g3sym-paper.failed .overlap-proof{display:none}.g3sym-paper .overflow-proof{background:#d94d42}.g3sym-paper.failed .overflow-proof{display:block}.g3sym-paper.failed::before,.g3sym-paper.failed::after{content:"";position:absolute;z-index:6;width:28%;height:26%;background:#ef5f55aa;border:3px solid #d64239;clip-path:polygon(0 0,100% 50%,0 100%)}.g3sym-paper.failed::before{left:-8%;top:5%}.g3sym-paper.failed::after{right:-8%;bottom:5%;transform:rotate(180deg)}
.g3sym-direct-fold,.g3sym-axis-buttons button,.g3sym-wheel button{min-height:48px;padding:10px 18px;border:0;border-radius:16px;background:var(--sym-teal);color:#fff;font-weight:1000;cursor:pointer;box-shadow:0 8px 18px #174b4438}.g3sym-direct-fold:hover,.g3sym-axis-buttons button:hover,.g3sym-wheel button:hover{transform:translateY(-2px);box-shadow:0 0 0 4px #f4ba38,0 10px 20px #174b4438}
.g3sym-live-prompt{display:flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:18px;background:#0a8174;color:#fff;box-shadow:0 8px 18px #174b4438}
.g3sym-acetate{position:relative;width:320px;height:210px}.g3sym-acetate i{position:absolute;top:20px;width:55%;height:170px;border-radius:60% 60% 44% 44%;transition:.7s}.g3sym-acetate i:first-child{left:0;background:#2f8ed9aa;transform-origin:100% 50%}.g3sym-acetate i:nth-child(2){right:0;background:#f2c332aa;transform-origin:0 50%}.g3sym-acetate b{position:absolute;inset:20px 22.5%;border-radius:60% 60% 44% 44%;background:#3cba75cc;opacity:0;transition:.7s}.g3sym-acetate.joined i:first-child{transform:translateX(41%)}.g3sym-acetate.joined i:nth-child(2){transform:translateX(-41%)}.g3sym-acetate.joined b{opacity:1;box-shadow:0 0 24px #4ad289}
.g3sym-circle-task .g3sym-paper.circle{width:210px;height:210px}.g3sym-axis-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(100%,620px)}.g3sym-axis-buttons button{min-width:0;font-size:.76rem;padding-inline:8px}.g3sym-axis-buttons button:disabled{background:#d7ece7;color:#19796f;box-shadow:inset 0 0 0 3px #59baa9}
.g3sym-wheel{position:relative;width:220px;height:220px;border-radius:50%;background:#f9c34d;border:5px solid #c56b38;box-shadow:inset 0 0 0 12px #fff9,0 12px 20px #174b4438}.g3sym-wheel>i{position:absolute;left:50%;top:0;width:4px;height:100%;background:#087f70;transform:rotate(var(--turn));transform-origin:50% 50%}.g3sym-wheel>b{position:absolute;z-index:4;left:50%;top:50%;width:24px;height:24px;border-radius:50%;background:#e95d4d;translate:-50% -50%;box-shadow:0 0 0 7px #fff}.g3sym-wheel>button{position:absolute;z-index:5;right:-18px;bottom:8px;width:58px;height:58px;border-radius:50%;font-size:1.7rem;padding:0}.g3sym-wheel>button:disabled{opacity:.55}
.g3sym-alternative{position:absolute;z-index:20;inset:3%;display:grid;place-items:center;align-content:center;gap:14px;padding:20px;border:3px solid #f0aa2c;border-radius:26px;background:#fffdf7;box-shadow:0 18px 40px #123f3970;text-align:center}.g3sym-alternative p{max-width:600px;font-weight:850}.g3sym-alternative button{padding:11px 18px;border:0;border-radius:14px;background:var(--sym-teal);color:#fff;font-weight:900;cursor:pointer}
.g3sym-corner-proof,.g3sym-rectangle-proof{display:flex;align-items:center;justify-content:center;gap:12px}.g3sym-corner-proof b{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#dff3ed;color:var(--sym-teal);font-size:1.4rem}.g3sym-rectangle-proof i{display:block;width:170px;height:100px;background:#3d9bd688;clip-path:polygon(0 0,100% 100%,0 100%)}.g3sym-rectangle-proof i:last-child{background:#f2b72f88;transform:translateX(-34px) rotate(12deg)}
.g3sym-wheel-proof{position:relative;width:180px;height:180px;border-radius:50%;background:#f7c64e}.g3sym-wheel-proof i{position:absolute;left:50%;top:0;width:3px;height:100%;background:#0a8174;transform:rotate(var(--turn));transform-origin:center}
.g3sym-independent-proof,.g3sym-final>div{display:flex;align-items:center;justify-content:center;gap:10px}.g3sym-independent-proof{width:100%;min-height:190px}.g3sym-independent-proof .g3sym-paper{width:188px;height:188px}.g3sym-independent-proof .g3sym-paper.rectangle{width:246px;height:150px}.g3sym-independent-proof .g3sym-paper.circle{width:184px;height:184px}.g3sym-reflection>div{padding:14px 20px;border-radius:18px;background:#fff2be;color:#855500;font-weight:1000}.g3sym-final>div b{padding:12px;border-radius:14px;background:#dff3ed;color:var(--sym-teal)}
.show-g3sym-guides .g3sym-paper .active-axis{box-shadow:0 0 0 4px #fff,0 0 24px #ef7459;opacity:1}.show-g3sym-guides .g3sym-paper .paper-half{filter:saturate(1.25) brightness(1.04)}

@media (max-height:760px) and (min-width:761px){
  .g3sym-lab{height:472px;min-height:472px;aspect-ratio:auto}.g3sym-workspace{inset:2.5%;padding:9px;gap:8px}
  .g3sym-hero,.g3sym-overlap-task,.g3sym-fold-task,.g3sym-summary,.g3sym-failed-proof,.g3sym-circle-task,.g3sym-wheel-task,.g3sym-match,.g3sym-independent,.g3sym-reflection,.g3sym-final{min-height:360px;padding:12px 16px;gap:9px}
  .g3sym-paper{width:228px;height:228px}.g3sym-paper.rectangle{width:286px;height:175px}.g3sym-paper.circle{width:230px;height:230px}.g3sym-circle-task .g3sym-paper.circle{width:188px;height:188px}.g3sym-acetate{width:270px;height:180px}.g3sym-acetate i{height:144px}.g3sym-wheel{width:188px;height:188px}
  .g3sym-independent-proof{min-height:158px}.g3sym-independent-proof .g3sym-paper{width:154px;height:154px}.g3sym-independent-proof .g3sym-paper.rectangle{width:220px;height:134px}.g3sym-independent-proof .g3sym-paper.circle{width:152px;height:152px}
}

@media (max-width:760px){
  .g3sym-lab{min-height:378px;aspect-ratio:auto;border-radius:20px}.g3sym-workspace{inset:6px;padding:6px;align-content:start;overflow:hidden}.g3sym-lab::after{background:#effbf5e8}
  .g3sym-hero,.g3sym-overlap-task,.g3sym-fold-task,.g3sym-summary,.g3sym-failed-proof,.g3sym-circle-task,.g3sym-wheel-task,.g3sym-match,.g3sym-independent,.g3sym-reflection,.g3sym-final{width:100%;min-height:352px;padding:10px 7px;gap:8px;border-radius:20px}
  .g3sym-workspace h1{font-size:1.25rem}.g3sym-workspace h2{font-size:1rem}.g3sym-paper{width:190px;height:190px}.g3sym-paper.rectangle{width:245px;height:150px}.g3sym-paper.circle,.g3sym-circle-task .g3sym-paper.circle{width:165px;height:165px}.g3sym-acetate{width:230px;height:150px}.g3sym-acetate i{height:120px}.g3sym-wheel{width:170px;height:170px}
  .g3sym-axis-buttons button{min-height:42px;padding:8px;font-size:.74rem}.g3sym-direct-fold{min-height:42px;padding:8px 12px}.g3sym-paper .overlap-proof,.g3sym-paper .overflow-proof{font-size:.6rem;padding:5px 8px}
  .g3sym-alternative{inset:2%;padding:10px;gap:8px}.g3sym-alternative p{font-size:.84rem}.g3sym-independent-proof{min-height:150px}.g3sym-independent-proof .g3sym-paper{width:140px;height:140px}.g3sym-independent-proof .g3sym-paper.rectangle{width:205px;height:126px}.g3sym-independent-proof .g3sym-paper.circle{width:138px;height:138px}.g3sym-final>div{gap:3px;flex-wrap:wrap}.g3sym-final>div b{padding:7px;font-size:.75rem}
}

/* 3. sınıf · Simetrik Şekli Tamamlama */
.grade3-complete-symmetry-board{--g3cs-teal:#087f73;--g3cs-mint:#43bda8;--g3cs-coral:#ee6f57;--g3cs-gold:#f1b632;--g3cs-ink:#163f49;position:relative;overflow:hidden}
.g3cs-lab{position:relative;width:100%;min-height:510px;aspect-ratio:16/10;border:2px solid #a8d8d0;border-radius:28px;overflow:hidden;background:#e7f7f2;box-shadow:0 16px 42px #174b4430}
.g3cs-lab-bg{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.g3cs-lab::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#effbf5ed 0 17%,#effbf5b2 33% 67%,#effbf5ed 83%);pointer-events:none}
.g3cs-workspace{position:absolute;z-index:2;inset:3.5%;display:grid;place-items:center;align-content:center;gap:12px;padding:12px;overflow:hidden}
.g3cs-workspace h1,.g3cs-workspace h2,.g3cs-workspace p{margin:0;color:var(--g3cs-ink);text-align:center}.g3cs-workspace h2{max-width:680px;font-size:clamp(1.05rem,2vw,1.52rem);line-height:1.2}.g3cs-workspace p{font-weight:780}
.g3cs-hero,.g3cs-model,.g3cs-direct-task,.g3cs-fold-check,.g3cs-direction-task,.g3cs-drag-task,.g3cs-method-task,.g3cs-reflection,.g3cs-final{display:grid;place-items:center;align-content:center;gap:10px;width:min(95%,780px);min-height:410px;padding:16px 20px;border:2px solid #b8dfd8;border-radius:26px;background:#fffffff1;box-shadow:0 15px 36px #174b4435;overflow:hidden}
.g3cs-grid{display:block;width:min(100%,430px);height:auto;aspect-ratio:430/324;overflow:visible;border:3px solid #a8d9d1;border-radius:22px;background:#fbfffd;filter:drop-shadow(0 10px 15px #174b4427);touch-action:none}
.g3cs-grid-lines line{stroke:#b9dcd5;stroke-width:1.4}.g3cs-axis{stroke:var(--g3cs-coral);stroke-width:6;stroke-linecap:round;stroke-dasharray:13 9;filter:drop-shadow(0 0 4px #fff)}
.g3cs-given-path,.g3cs-mirror-path,.g3cs-fold-copy{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:8}.g3cs-given-path{stroke:var(--g3cs-coral)}.g3cs-mirror-path{stroke:var(--g3cs-teal);stroke-dasharray:900;animation:g3csDraw .6s ease both}.g3cs-fold-copy{stroke:#f2b72d;opacity:.55;transform-box:fill-box;transform-origin:center;transition:transform .8s cubic-bezier(.2,.75,.2,1),opacity .4s}
.g3cs-grid[data-axis="vertical"].is-folded .g3cs-fold-copy{transform:translateX(100%) scaleX(-1);opacity:.9}.g3cs-grid[data-axis="horizontal"].is-folded .g3cs-fold-copy{transform:translateY(100%) scaleY(-1);opacity:.9}
.g3cs-grid.is-folded.is-reopened .g3cs-fold-copy{transform:none;opacity:.55}.g3cs-grid.is-reopened .g3cs-axis{animation:g3csFoldMark .55s ease both}
.g3cs-given-point{fill:var(--g3cs-coral);stroke:#fff;stroke-width:4}.g3cs-mirror-point{fill:var(--g3cs-teal);stroke:#fff;stroke-width:4;animation:g3csPop .35s ease both}.g3cs-active-point{fill:var(--g3cs-gold);stroke:#fff;stroke-width:4}.g3cs-wrong-point{fill:#d94b43;stroke:#fff;stroke-width:5;filter:drop-shadow(0 0 8px #d94b43);animation:g3csWrong .35s ease 2}
.g3cs-distance{stroke:var(--g3cs-gold);stroke-width:7;stroke-linecap:round;stroke-dasharray:9 8;opacity:.68}.g3cs-hit{fill:transparent;stroke:transparent;stroke-width:5;cursor:pointer;pointer-events:all;transition:.18s}.g3cs-hit:hover,.g3cs-hit:focus-visible{fill:#f6bd3d44;stroke:#e7a71f;outline:none}.g3cs-hit.correct{fill:#35b78b;stroke:#087f73}
.show-g3cs-guides .g3cs-distance{opacity:1;stroke-width:11;filter:drop-shadow(0 0 7px #f1b632)}.show-g3cs-guides .g3cs-axis{filter:drop-shadow(0 0 9px #ee6f57)}
.g3cs-live-prompt{display:flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:18px;background:#087f73;color:#fff;box-shadow:0 8px 18px #174b4438;text-align:center}
.g3cs-action{min-height:46px;padding:10px 18px;border:0;border-radius:15px;background:var(--g3cs-teal);color:#fff;font-weight:1000;cursor:pointer;box-shadow:0 8px 18px #174b4438}.g3cs-action:hover,.g3cs-action:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 4px #f1b632,0 9px 20px #174b4438;outline:none}
.g3cs-hero-fold{position:relative;width:300px;height:190px}.g3cs-hero-fold i,.g3cs-hero-fold b{position:absolute;top:15px;width:48%;height:160px;border:4px solid #fff;border-radius:58% 42% 62% 38%;box-shadow:0 10px 18px #174b4435;transition:.5s}.g3cs-hero-fold i{left:0;background:#ef775d}.g3cs-hero-fold b{right:0;background:#45bfa9}.g3cs-hero-fold em{position:absolute;left:50%;top:0;width:6px;height:100%;border-radius:8px;background:repeating-linear-gradient(#f1b632 0 13px,transparent 13px 21px)}.g3cs-hero[data-step="1"] .g3cs-hero-fold b{opacity:.18}.g3cs-hero[data-step="2"] .g3cs-hero-fold em{box-shadow:0 0 18px #f1b632}.g3cs-hero[data-step="3"] .g3cs-hero-fold b{opacity:1;transform:translateX(-8px)}.g3cs-hero[data-step="4"] .g3cs-hero-fold{filter:drop-shadow(0 0 12px #43bda8)}
.g3cs-model .g3cs-distance,.g3cs-model .g3cs-mirror-point,.g3cs-model .g3cs-mirror-path{opacity:0;transition:opacity .28s ease,stroke-width .28s ease,filter .28s ease}.g3cs-model .g3cs-mirror-point{animation:none}.g3cs-model[data-step="1"] .g3cs-given-point,.g3cs-model[data-step="1"] .g3cs-given-path{filter:drop-shadow(0 0 9px #ee6f57)}.g3cs-model[data-step="1"] .g3cs-grid[data-distance-count="1"] .g3cs-distance.given-side{opacity:1;stroke-width:12}.g3cs-model[data-step="2"] .g3cs-grid[data-distance-count="1"] .g3cs-distance,.g3cs-model[data-step="2"] .g3cs-grid[data-distance-count="1"] .g3cs-mirror-point{opacity:1}.g3cs-model[data-step="1"] .g3cs-grid:not([data-distance-count="1"]) .g3cs-distance[data-distance-order="0"],.g3cs-model[data-step="1"] .g3cs-grid:not([data-distance-count="1"]) .g3cs-mirror-point[data-point-order="0"]{opacity:1;stroke-width:12;filter:drop-shadow(0 0 9px #f1b632)}.g3cs-model[data-step="2"] .g3cs-grid:not([data-distance-count="1"]) .g3cs-distance,.g3cs-model[data-step="2"] .g3cs-grid:not([data-distance-count="1"]) .g3cs-mirror-point{opacity:1}.g3cs-model[data-step="1"] .g3cs-grid:not([data-distance-count="1"]) .g3cs-mirror-point[data-point-order="0"],.g3cs-model[data-step="2"] .g3cs-mirror-point,.g3cs-model[data-step="3"] .g3cs-mirror-point{animation:g3csPop .35s ease both}.g3cs-model[data-step="3"] .g3cs-distance,.g3cs-model[data-step="3"] .g3cs-mirror-point,.g3cs-model[data-step="3"] .g3cs-mirror-path{opacity:1}.g3cs-model[data-step="3"] .g3cs-mirror-point,.g3cs-model[data-step="3"] .g3cs-mirror-path{filter:drop-shadow(0 0 9px #43bda8)}
.g3cs-direction-task{grid-template-columns:minmax(180px,.65fr) minmax(230px,1fr)}.g3cs-direction-task>.board-kicker{grid-column:1/-1}.g3cs-direction-task>h2{grid-column:2;grid-row:2}.g3cs-axis-card{position:relative;width:220px;height:220px;border-radius:24px;background:radial-gradient(circle at 20px 20px,#8bbcb3 3px,transparent 4px) 0 0/40px 40px,#f8fffd;overflow:hidden}.g3cs-axis-card i{position:absolute;left:50%;top:8%;width:6px;height:84%;border-radius:8px;background:var(--g3cs-coral)}.g3cs-axis-card b,.g3cs-axis-card em{position:absolute;top:50%;width:32px;height:32px;border-radius:50%;background:var(--g3cs-teal);box-shadow:0 0 0 5px #fff}.g3cs-axis-card b{left:20%}.g3cs-axis-card em{right:20%}.g3cs-axis-card.horizontal i{left:8%;top:50%;width:84%;height:6px}.g3cs-axis-card.horizontal b{left:50%;top:20%}.g3cs-axis-card.horizontal em{right:auto;left:50%;top:auto;bottom:20%}
.g3cs-drag-wrap{position:relative;width:min(100%,520px)}.g3cs-drag-wrap>.g3cs-grid{width:100%;height:auto}.g3cs-drag-layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.g3cs-drag-layer circle{fill:#d94b43;stroke:#fff;stroke-width:5;filter:drop-shadow(0 0 8px #d94b43);cursor:grab;pointer-events:all;touch-action:none}.g3cs-drag-layer circle.dragging{cursor:grabbing;filter:drop-shadow(0 0 13px #f1b632)}
.g3cs-alternative{position:absolute;z-index:20;inset:3%;display:grid;place-items:center;align-content:center;gap:13px;padding:20px;border:3px solid #efad2c;border-radius:26px;background:#fffdf7;box-shadow:0 18px 40px #123f3970;text-align:center}.g3cs-alternative p{max-width:610px;font-weight:850}.g3cs-alternative button{padding:11px 18px;border:0;border-radius:14px;background:var(--g3cs-teal);color:#fff;font-weight:900;cursor:pointer}
.g3cs-string-proof{position:relative;width:330px;height:130px;border-radius:20px;background:radial-gradient(circle at 20px 20px,#93bdb6 2px,transparent 3px) 0 0/32px 32px,#effaf7}.g3cs-string-proof i{position:absolute;left:50%;top:8%;width:5px;height:84%;background:var(--g3cs-coral)}.g3cs-string-proof b,.g3cs-string-proof em{position:absolute;top:50%;width:24px;height:24px;border-radius:50%;background:var(--g3cs-teal);box-shadow:0 0 0 4px #fff}.g3cs-string-proof b{left:22%}.g3cs-string-proof em{right:22%}.g3cs-string-proof::after{content:"";position:absolute;left:calc(22% + 12px);right:calc(22% + 12px);top:50%;border-top:7px dashed var(--g3cs-gold)}.g3cs-string-proof.horizontal i{left:8%;top:50%;width:84%;height:5px}.g3cs-string-proof.horizontal b{left:50%;top:15%}.g3cs-string-proof.horizontal em{right:auto;left:50%;top:auto;bottom:15%}.g3cs-string-proof.horizontal::after{left:50%;right:auto;top:calc(15% + 12px);bottom:calc(15% + 12px);border:0;border-left:7px dashed var(--g3cs-gold)}
.g3cs-direction-proof,.g3cs-method,.g3cs-final>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3cs-direction-proof b,.g3cs-method b,.g3cs-final b{padding:11px 13px;border-radius:14px;background:#dff3ed;color:var(--g3cs-teal)}.g3cs-direction-proof i,.g3cs-method i,.g3cs-final i{font-style:normal;color:var(--g3cs-coral);font-weight:1000}.g3cs-corridor{display:flex;gap:5px}.g3cs-corridor i,.g3cs-corridor b{width:48px;height:48px;border-radius:12px;background:#dff3ed}.g3cs-corridor b{background:var(--g3cs-coral)}.g3cs-reflection>div{padding:13px 19px;border-radius:18px;background:#fff1b8;color:#825300;font-weight:1000}
@keyframes g3csDraw{from{stroke-dashoffset:900}to{stroke-dashoffset:0}}@keyframes g3csPop{from{transform:scale(.1);transform-origin:center;opacity:0}to{transform:scale(1);opacity:1}}@keyframes g3csWrong{50%{transform:translateX(7px)}}@keyframes g3csFoldMark{50%{stroke-width:11;filter:drop-shadow(0 0 10px #f1b632)}100%{stroke-width:6}}
@media(max-width:1100px) and (min-width:761px){.g3cs-lab{min-height:470px}.g3cs-hero,.g3cs-model,.g3cs-direct-task,.g3cs-fold-check,.g3cs-direction-task,.g3cs-drag-task,.g3cs-method-task,.g3cs-reflection,.g3cs-final{min-height:380px}.g3cs-grid{width:min(100%,372px);height:auto}}
@media(max-height:760px) and (min-width:761px){.g3cs-lab{height:472px;min-height:472px;aspect-ratio:auto}.g3cs-workspace{inset:9px;padding:6px;gap:6px}.g3cs-hero,.g3cs-model,.g3cs-direct-task,.g3cs-fold-check,.g3cs-direction-task,.g3cs-drag-task,.g3cs-method-task,.g3cs-reflection,.g3cs-final{min-height:438px;padding:8px 14px;gap:6px}.g3cs-grid{width:min(100%,388px);height:auto}.g3cs-hero-fold{height:158px}.g3cs-hero-fold i,.g3cs-hero-fold b{height:138px}}
@media(max-width:760px){.g3cs-lab{height:390px;min-height:390px;aspect-ratio:auto;border-radius:20px}.g3cs-workspace{inset:5px;padding:4px;align-content:start;overflow:hidden}.g3cs-lab::after{background:#effbf5e9}.g3cs-hero,.g3cs-model,.g3cs-direct-task,.g3cs-fold-check,.g3cs-direction-task,.g3cs-drag-task,.g3cs-method-task,.g3cs-reflection,.g3cs-final{width:100%;min-height:376px;height:376px;padding:6px 5px;gap:4px;border-radius:19px}.g3cs-workspace h1{font-size:1.05rem}.g3cs-workspace h2{font-size:.86rem}.g3cs-workspace p{font-size:.7rem}.g3cs-grid{width:min(100%,332px);height:auto;border-radius:16px}.g3cs-hero-fold{width:220px;height:126px}.g3cs-hero-fold i,.g3cs-hero-fold b{height:106px}.g3cs-direction-task{grid-template-columns:1fr}.g3cs-direction-task>.board-kicker,.g3cs-direction-task>h2{grid-column:1;grid-row:auto}.g3cs-axis-card{width:142px;height:142px}.g3cs-alternative{inset:2%;padding:7px;gap:5px}.g3cs-alternative p{font-size:.74rem}.g3cs-string-proof{width:230px;height:92px}.g3cs-method b,.g3cs-final b{padding:6px 7px;font-size:.64rem}.g3cs-corridor i,.g3cs-corridor b{width:34px;height:34px}.g3cs-live-prompt{padding:8px 10px;font-size:.76rem}}
@media(prefers-reduced-motion:reduce){.g3cs-lab *{animation:none!important;transition:none!important}}

/* 3. sınıf · kodlayarak simetri oluşturma */
:root{--g3code-teal:#087f73;--g3code-mint:#45bda9;--g3code-coral:#ef755b;--g3code-gold:#efb331;--g3code-ink:#173f4b}
.grade3-code-symmetry-shell .lesson-board{overflow:visible}.grade3-code-symmetry-board{--board-accent:var(--g3code-teal)}
.g3code-lab,.g3code-lab *{box-sizing:border-box}.g3code-lab{position:relative;width:100%;min-height:510px;aspect-ratio:16/10;border:2px solid #9ed4cb;border-radius:28px;overflow:hidden;background:#dff3ee;box-shadow:0 17px 42px #173f4b30}
.g3code-lab-bg{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.g3code-lab:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eaf8f4ed 0 14%,#eaf8f4a8 30% 70%,#eaf8f4ed 86%);pointer-events:none}
.g3code-workspace{position:absolute;z-index:2;inset:3%;display:grid;place-items:center;align-content:center;gap:9px;padding:11px;overflow:hidden;color:var(--g3code-ink)}
.g3code-workspace h1,.g3code-workspace h2,.g3code-workspace p{margin:0;text-align:center}.g3code-workspace h1{font-size:clamp(1.2rem,2.35vw,1.8rem);line-height:1.12}.g3code-workspace h2{font-size:clamp(.98rem,1.85vw,1.35rem);line-height:1.16}.g3code-workspace p{font-weight:800}
.g3code-hero,.g3code-model,.g3code-complete-card,.g3code-read-task,.g3code-order-task,.g3code-order-done,.g3code-grid-task,.g3code-mirror-done,.g3code-mirror-question,.g3code-fold-check,.g3code-debug-task,.g3code-plan-task,.g3code-plan-done,.g3code-independent,.g3code-method,.g3code-reflection,.g3code-final{display:grid;place-items:center;align-content:center;gap:8px;width:min(96%,800px);min-height:410px;padding:14px 18px;border:2px solid #afdcd4;border-radius:25px;background:#fffffff2;box-shadow:0 15px 36px #173f4b32;overflow:hidden;text-align:center}
.g3code-grid{display:block;width:min(100%,500px);height:auto;aspect-ratio:430/310;overflow:visible;border:3px solid #9bd3ca;border-radius:21px;background:#fbfffe;filter:drop-shadow(0 9px 13px #173f4b25);touch-action:none}
.g3code-grid-lines line{stroke:#b7dcd6;stroke-width:1.4}.g3code-axis{stroke:var(--g3code-gold);stroke-width:6;stroke-linecap:round;stroke-dasharray:13 8;filter:drop-shadow(0 0 4px #fff)}
.g3code-path-segment{stroke-width:9;stroke-linecap:round;opacity:.08;transition:opacity .25s,stroke .25s}.g3code-path-segment.is-visible{opacity:1}.g3code-path-segment.primary{stroke:var(--g3code-coral)}.g3code-path-segment.mirror{stroke:var(--g3code-teal)}.g3code-grid.has-wrong-code .g3code-path-segment.mirror{stroke:#d94d45;filter:drop-shadow(0 0 5px #d94d45)}
.g3code-start{stroke:#fff;stroke-width:4}.g3code-start.primary{fill:var(--g3code-coral)}.g3code-start.mirror{fill:var(--g3code-teal)}.g3code-robot{stroke:#fff;stroke-width:5;filter:drop-shadow(0 3px 4px #173f4b50);transition:cx .7s cubic-bezier(.2,.8,.2,1),cy .7s cubic-bezier(.2,.8,.2,1)}.g3code-robot.primary{fill:var(--g3code-coral)}.g3code-robot.mirror{fill:var(--g3code-teal)}
.g3code-hit{fill:transparent;stroke:transparent;stroke-width:6;pointer-events:all;cursor:pointer;transition:.18s}.g3code-hit:hover,.g3code-hit:focus-visible{fill:#efb33155;stroke:#df9820;outline:none}.g3code-hit.wrong-cell{fill:#e358504d;stroke:#d5443d}.g3code-hit.assessment-correct{fill:#39b58b;stroke:#087f73}.g3code-target-guide{fill:#39b58b;stroke:#fff;stroke-width:5;animation:g3codePop .35s ease both}
.g3code-sequence,.g3code-pool,.g3code-slots,.g3code-debug-code,.g3code-repair-options{display:flex;align-items:stretch;justify-content:center;gap:8px;flex-wrap:wrap}
.g3code-command{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;min-width:130px;min-height:54px;padding:7px 9px;border:3px solid #9fd4cc;border-radius:16px;background:#fff;color:var(--g3code-ink);cursor:pointer;text-align:left;transition:.2s;box-shadow:0 6px 14px #173f4b18}.g3code-command b{display:grid;place-items:center;min-width:43px;min-height:37px;border-radius:11px;background:#dff3ee;color:var(--g3code-teal);font-size:1.15rem}.g3code-command span{font-size:.72rem;font-weight:900}.g3code-command i{opacity:0;color:#178768;font-style:normal;font-weight:1000}.g3code-command:hover,.g3code-command:focus-visible{border-color:var(--g3code-gold);box-shadow:0 0 0 4px #efb33145,0 7px 16px #173f4b25;outline:none;transform:translateY(-2px)}.g3code-command.is-active{border-color:var(--g3code-gold);background:#fff5cf;box-shadow:0 0 0 5px #efb33155,0 0 22px #efb33170}.g3code-command.is-done{border-color:#55bda8;background:#e9f8f3}.g3code-command.is-done i{opacity:1}
.g3code-hero-flow,.g3code-method>div,.g3code-final>div{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3code-hero-flow b,.g3code-method b,.g3code-final b{padding:10px 12px;border-radius:13px;background:#dff3ee;color:var(--g3code-teal)}.g3code-hero-flow [data-g3code-hero-step]{opacity:0;transform:translateY(10px) scale(.94);transition:opacity .28s ease,transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .25s}.g3code-hero-flow [data-g3code-hero-step].is-revealed{opacity:1;transform:none}.g3code-hero-flow [data-g3code-hero-step].is-active{box-shadow:0 0 0 5px #efb33155,0 0 20px #efb33170}.g3code-hero-flow b:not(.is-revealed)+i{opacity:0}.g3code-hero-flow i,.g3code-method i,.g3code-final i{color:var(--g3code-coral);font-style:normal;font-weight:1000;transition:opacity .2s}
.g3code-complete-card>.g3code-command,.g3code-read-task>.g3code-command{min-width:225px}.g3code-complete-card h1 b,.g3code-model h2 b{color:var(--g3code-teal)}
.g3code-dual-code{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%}.g3code-dual-code>.g3code-sequence{flex-wrap:nowrap}.g3code-dual-code>b{padding:8px;border-radius:11px;background:#fff0b9;color:#805608;font-size:.72rem}
.g3code-order-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px;width:100%}.g3code-pool,.g3code-slots{min-height:72px;padding:8px;border:3px dashed #9fd4cc;border-radius:18px;background:#eefaf7}.g3code-pool .g3code-command{min-width:110px}.g3code-slots>div{display:grid;place-items:center;min-width:122px;min-height:58px;border:2px dashed #e0ad35;border-radius:14px;background:#fff9e8}.g3code-slots>div>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffe3a0;color:#805608;font-weight:1000}.g3code-slots .g3code-command{min-width:112px}
.g3code-order-layout .g3code-command{grid-template-columns:auto auto;min-width:64px}.g3code-order-layout .g3code-command span{display:none}.g3code-order-layout .g3code-command b{min-width:36px}.g3code-order-layout .g3code-command i{min-width:12px}
.g3code-run{min-height:44px;padding:9px 18px;border:0;border-radius:14px;background:var(--g3code-teal);color:#fff;font-weight:1000;cursor:pointer;box-shadow:0 8px 18px #173f4b38}.g3code-run:hover,.g3code-run:focus-visible{box-shadow:0 0 0 5px #efb33166,0 9px 20px #173f4b38;outline:none;transform:translateY(-2px)}.g3code-error-note{padding:7px 12px;border-radius:11px;background:#ffe4df;color:#9d342f}.g3code-live-prompt{display:flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:16px;background:var(--g3code-teal);color:#fff;text-align:center;box-shadow:0 8px 18px #173f4b35}
.g3code-fold-check{position:relative}.g3code-fold-sheet{display:grid;place-items:center;position:absolute;z-index:3;left:50%;top:48px;width:min(80%,500px);height:auto;aspect-ratio:430/310;transform:translateX(-50%);pointer-events:none;perspective:900px}.g3code-fold-sheet i{position:absolute;left:0;right:0;top:0;height:50%;border:4px solid #efb331;border-bottom-width:6px;border-radius:18px 18px 4px 4px;background:#efb33120;transform-origin:50% 100%;transition:transform .72s cubic-bezier(.35,.05,.2,1),background .25s}.g3code-fold-sheet b{z-index:2;margin-top:1px;padding:6px 9px;border-radius:10px;background:#fff6cf;color:#805608;font-size:.72rem;transition:color .2s,transform .25s}.g3code-fold-check.is-folded .g3code-fold-sheet i{transform:rotateX(178deg);background:#45bda966}.g3code-fold-check.is-folded .g3code-axis{stroke-width:10;filter:drop-shadow(0 0 9px #efb331)}.g3code-fold-check.is-folded .g3code-fold-sheet b{color:#087f73;transform:scale(1.04)}.g3code-fold-check.is-reopened .g3code-fold-sheet i{transform:rotateX(0);background:#45bda92a}.g3code-fold-check.is-reopened .g3code-fold-sheet b{transform:none}
.g3code-debug-code{position:relative}.g3code-debug-card{padding:3px;border-radius:18px}.g3code-debug-card.suspect{background:#d94d45;box-shadow:0 0 0 5px #d94d4538}.g3code-debug-card.suspect .g3code-command{border-color:#d94d45}.g3code-repair-options{padding:7px;border-radius:17px;background:#fff5d7}.g3code-debug-task.is-repaired .g3code-path-segment.mirror{stroke:var(--g3code-teal)}
.g3code-alternative{position:absolute;z-index:20;inset:3%;display:grid;place-items:center;align-content:center;gap:12px;padding:20px;border:4px solid var(--g3code-gold);border-radius:25px;background:#fffdf7f6;box-shadow:0 18px 42px #173f4b60;text-align:center}.g3code-alternative>div{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:14px 18px;border-radius:17px;background:#e5f5f1;color:var(--g3code-teal);font-size:1.25rem;font-weight:1000}.g3code-alternative>div span{display:grid;place-items:center;min-width:64px;min-height:44px;padding:6px 9px;border:2px solid #8bcfc4;border-radius:12px;background:#fff}.g3code-alternative>div i{font-style:normal;color:var(--g3code-coral)}.g3code-alternative>div .g3code-train-engine{border-radius:20px 8px 8px 20px;background:#fff0bb}.g3code-alternative p{max-width:620px;font-weight:850}.g3code-alternative button{padding:10px 17px;border:0;border-radius:13px;background:var(--g3code-teal);color:#fff;font-weight:950;cursor:pointer}
.show-g3code-guides .g3code-axis{stroke-width:10;filter:drop-shadow(0 0 9px #efb331)}.show-g3code-guides .g3code-start{filter:drop-shadow(0 0 9px #efb331)}.show-g3code-guides .g3code-command{border-color:var(--g3code-gold)}
.g3code-reflection>div{padding:12px 17px;border-radius:16px;background:#fff0b8;color:#805608;font-weight:1000}.g3code-final>span{font-weight:1000;letter-spacing:.13em;color:var(--g3code-teal)}
@keyframes g3codePop{from{transform:scale(.2);transform-origin:center;opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:1100px) and (min-width:761px){.g3code-lab{min-height:470px}.g3code-hero,.g3code-model,.g3code-complete-card,.g3code-read-task,.g3code-order-task,.g3code-order-done,.g3code-grid-task,.g3code-mirror-done,.g3code-mirror-question,.g3code-fold-check,.g3code-debug-task,.g3code-plan-task,.g3code-plan-done,.g3code-independent,.g3code-method,.g3code-reflection,.g3code-final{min-height:380px}.g3code-grid{width:min(100%,470px);height:auto}.g3code-command{min-width:110px}}
@media(max-width:760px){.g3code-lab{min-height:440px;aspect-ratio:auto;border-radius:20px}.g3code-lab:after{background:#eaf8f4e8}.g3code-workspace{inset:5px;padding:5px;align-content:start;overflow:hidden}.g3code-hero,.g3code-model,.g3code-complete-card,.g3code-read-task,.g3code-order-task,.g3code-order-done,.g3code-grid-task,.g3code-mirror-done,.g3code-mirror-question,.g3code-fold-check,.g3code-debug-task,.g3code-plan-task,.g3code-plan-done,.g3code-independent,.g3code-method,.g3code-reflection,.g3code-final{width:100%;min-height:428px;padding:7px 5px;gap:5px;border-radius:18px}.g3code-workspace h1{font-size:1.02rem}.g3code-workspace h2{font-size:.8rem}.g3code-workspace p{font-size:.68rem}.g3code-workspace .board-kicker{font-size:.5rem}.g3code-grid{width:min(100%,350px);height:auto;border-radius:14px}.g3code-command{grid-template-columns:auto 1fr auto;min-width:94px;min-height:43px;padding:4px 5px;gap:4px;border-width:2px;border-radius:11px}.g3code-command b{min-width:31px;min-height:29px;font-size:.86rem}.g3code-command span{font-size:.52rem}.g3code-sequence,.g3code-pool,.g3code-slots,.g3code-debug-code,.g3code-repair-options{gap:3px}.g3code-dual-code{gap:3px}.g3code-dual-code>.g3code-sequence{gap:2px}.g3code-dual-code .g3code-command{min-width:68px}.g3code-dual-code .g3code-command span{display:none}.g3code-order-layout{grid-template-columns:1fr;gap:4px}.g3code-pool,.g3code-slots{min-height:48px;padding:3px;border-radius:11px}.g3code-slots>div{min-width:82px;min-height:42px}.g3code-slots .g3code-command,.g3code-pool .g3code-command{min-width:80px}.g3code-run{min-height:35px;padding:6px 11px;font-size:.68rem}.g3code-fold-sheet{top:45px;width:min(96%,350px)}.g3code-fold-sheet b{font-size:.48rem}.g3code-alternative{inset:2%;padding:9px;gap:7px}.g3code-alternative p{font-size:.78rem}.g3code-hero-flow b,.g3code-method b,.g3code-final b{padding:6px 7px;font-size:.58rem}.g3code-live-prompt{padding:8px 10px;font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.g3code-lab *{animation:none!important;transition:none!important}}

/* 3. sınıf · Tema 5 öğrenme kontrolü */
.g3t5a-hero b{min-width:104px!important;width:auto!important;height:64px!important;padding:8px 12px;font-size:.86rem!important;letter-spacing:.06em}.g3t5a-transfer>div>b{padding:10px 16px;border-radius:13px;background:#fff;color:#087f73;font-size:.86rem;letter-spacing:.08em}.g3t5a-reflection-proof{display:flex!important;align-items:center;justify-content:center;gap:8px;min-width:min(100%,420px)!important}.g3t5a-reflection-proof b{padding:8px 10px;border-radius:11px;background:#fff;color:#087f73;font-size:.72rem;letter-spacing:.06em}.g3t5a-reflection-proof i{font-style:normal;color:#e9634d;font-size:1rem}
@media(max-width:760px){.g3t5a-hero>div{gap:4px}.g3t5a-hero b{min-width:78px!important;height:52px!important;padding:6px 7px;font-size:.62rem!important}.g3t5a-reflection-proof{gap:4px}.g3t5a-reflection-proof b{padding:6px 7px;font-size:.58rem}}
.g3t5a-lab,.g3t5a-lab *{box-sizing:border-box}.g3t5a-lab{position:relative;width:100%;min-height:510px;aspect-ratio:16/10;border:2px solid #9ed4cb;border-radius:28px;overflow:hidden;background:#dff3ee;box-shadow:0 17px 42px #173f4b30}.g3t5a-bg{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}.g3t5a-lab:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eaf8f4ea 0 11%,#eaf8f4a9 30% 70%,#eaf8f4e8 89%);pointer-events:none}.g3t5a-workspace{position:absolute;z-index:2;inset:12px;display:grid;place-items:center;align-content:center;overflow:hidden}.g3t5a-workspace h1,.g3t5a-workspace h2,.g3t5a-workspace p{margin:0;color:#123f52}.g3t5a-workspace h1{font-size:1.38rem;line-height:1.18}.g3t5a-workspace h2{font-size:1rem;line-height:1.18}.g3t5a-workspace p{font-size:.82rem;line-height:1.35}.g3t5a-hero,.g3t5a-tools,.g3t5a-fold-task,.g3t5a-fold-result,.g3t5a-square-task,.g3t5a-square-done,.g3t5a-grid-task,.g3t5a-grid-done,.g3t5a-code-model,.g3t5a-transfer,.g3t5a-independent,.g3t5a-method,.g3t5a-reflection,.g3t5a-final{display:grid;place-items:center;align-content:center;gap:9px;width:min(96%,800px);min-height:410px;padding:14px 18px;border:2px solid #afdcd4;border-radius:25px;background:#fffffff2;box-shadow:0 15px 36px #173f4b32;overflow:hidden;text-align:center}.g3t5a-hero>div,.g3t5a-final>div,.g3t5a-method>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3t5a-hero b{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:#dff3ee;color:#078f83;font-size:2rem}.g3t5a-hero i,.g3t5a-final i,.g3t5a-method i{font-style:normal;font-weight:1000;color:#f06b50}.g3t5a-hero[data-step="1"] b:nth-of-type(1),.g3t5a-hero[data-step="2"] b:nth-of-type(2),.g3t5a-hero[data-step="3"] b:nth-of-type(3){outline:5px solid #f4b42655;transform:scale(1.06)}.g3t5a-tools{grid-template-columns:repeat(3,1fr)}.g3t5a-tools>.board-kicker{grid-column:1/-1}.g3t5a-tools section{display:grid;gap:7px;width:100%;min-height:130px;place-content:center;border:2px solid #b9dfd8;border-radius:18px;background:#effaf7}.g3t5a-tools section b{color:#078f83;font-size:1.05rem}.g3t5a-tools section i{font-style:normal;color:#078f83;font-size:1.4rem}.g3t5a-tools[data-step="1"] section:nth-of-type(1),.g3t5a-tools[data-step="2"] section:nth-of-type(2),.g3t5a-tools[data-step="3"] section:nth-of-type(3){outline:5px solid #f4b42655}.g3t5a-paper{position:relative;width:220px;height:220px;border:3px solid #0c9487;border-radius:8px;background:linear-gradient(135deg,#fffdf7,#dff7f2);box-shadow:0 11px 22px #173f4b26}.g3t5a-paper.rectangle{width:300px;height:170px}.g3t5a-paper:before,.g3t5a-paper:after,.g3t5a-paper>i,.g3t5a-paper>b{position:absolute;content:"";background:#f06b50}.g3t5a-paper.diagonal:before{left:3%;top:50%;width:94%;height:4px;transform:rotate(29deg);transform-origin:center}.g3t5a-fold-result.is-spill .g3t5a-paper:after{right:-29px;top:22px;width:60px;height:126px;background:#f06b5066;clip-path:polygon(0 0,100% 50%,0 100%)}.g3t5a-paper.all-lines:before{left:50%;top:0;width:3px;height:100%}.g3t5a-paper.all-lines:after{left:0;top:50%;width:100%;height:3px}.g3t5a-paper.all-lines{background:linear-gradient(45deg,transparent 49.5%,#f06b50 49.5% 50.5%,transparent 50.5%),linear-gradient(-45deg,transparent 49.5%,#f06b50 49.5% 50.5%,transparent 50.5%),linear-gradient(135deg,#fffdf7,#dff7f2)}.g3t5a-paper>i.dikey{left:50%;top:0;width:3px;height:100%}.g3t5a-paper>i.yatay{left:0;top:50%;width:100%;height:3px}.g3t5a-paper>i.capraz1{left:0;top:50%;width:100%;height:3px;transform:rotate(45deg)}.g3t5a-paper>i.capraz2{left:0;top:50%;width:100%;height:3px;transform:rotate(-45deg)}.g3t5a-line-pool{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.g3t5a-line-pool button,.g3t5a-action{border:2px solid #9fd4cc;border-radius:14px;background:#fff;padding:9px 13px;font-weight:900;color:#174858;cursor:pointer}.g3t5a-line-pool button:hover,.g3t5a-action:hover{border-color:#f4b426;box-shadow:0 0 0 4px #f4b42633}.g3t5a-line-pool button.is-picked{border-color:#078f83;background:#dff7f2;color:#056e66}.g3t5a-code-model{width:min(96%,820px)}.g3t5a-transfer>div,.g3t5a-reflection>div{display:grid;place-items:center;min-width:150px;min-height:70px;padding:10px;border-radius:18px;background:#fff0b8;color:#805608;font-size:1.5rem;font-weight:1000}.g3t5a-method b,.g3t5a-final b{padding:10px 12px;border-radius:13px;background:#dff3ee;color:#067e75}.g3t5a-final>span{font-weight:1000;letter-spacing:.13em;color:#078f83}.g3t5a-alternative{position:absolute;z-index:20;inset:5%;display:grid;place-items:center;align-content:center;gap:10px;padding:20px;border:3px solid #f4b426;border-radius:24px;background:#fffdf4f7;text-align:center;box-shadow:0 20px 50px #173f4b4f}.g3t5a-alternative>div{padding:14px 18px;border-radius:16px;background:#dff3ee;color:#067e75;font-weight:1000}.g3t5a-alternative button{border:0;border-radius:13px;background:#078f83;color:#fff;padding:10px 16px;font-weight:900}.show-g3t5a-guides .g3cs-distance,.show-g3t5a-guides .g3code-axis{filter:drop-shadow(0 0 5px #f4b426);stroke-width:5}.g3t5a-lab .g3cs-grid,.g3t5a-lab .g3code-grid{max-width:510px;height:270px}.g3t5a-lab .g3code-order-task,.g3t5a-lab .g3code-order-done,.g3t5a-lab .g3code-debug-task{min-height:410px}.g3t5a-lab .g3code-order-layout{width:min(100%,620px)}
@media(max-width:1100px) and (min-width:761px){.g3t5a-lab{min-height:470px}.g3t5a-hero,.g3t5a-tools,.g3t5a-fold-task,.g3t5a-fold-result,.g3t5a-square-task,.g3t5a-square-done,.g3t5a-grid-task,.g3t5a-grid-done,.g3t5a-code-model,.g3t5a-transfer,.g3t5a-independent,.g3t5a-method,.g3t5a-reflection,.g3t5a-final{min-height:380px}.g3t5a-lab .g3cs-grid,.g3t5a-lab .g3code-grid{height:245px}}
@media(max-width:760px){.g3t5a-lab{min-height:440px;aspect-ratio:auto;border-radius:20px}.g3t5a-lab:after{background:#eaf8f4e8}.g3t5a-workspace{inset:5px;padding:5px;align-content:start}.g3t5a-hero,.g3t5a-tools,.g3t5a-fold-task,.g3t5a-fold-result,.g3t5a-square-task,.g3t5a-square-done,.g3t5a-grid-task,.g3t5a-grid-done,.g3t5a-code-model,.g3t5a-transfer,.g3t5a-independent,.g3t5a-method,.g3t5a-reflection,.g3t5a-final{width:100%;min-height:428px;padding:7px 5px;gap:5px;border-radius:18px}.g3t5a-workspace h1{font-size:1.02rem}.g3t5a-workspace h2{font-size:.8rem}.g3t5a-workspace p{font-size:.68rem}.g3t5a-workspace .board-kicker{font-size:.5rem}.g3t5a-tools{grid-template-columns:1fr;gap:4px}.g3t5a-tools section{grid-template-columns:auto 1fr;align-items:center;min-height:58px;padding:5px}.g3t5a-tools>.board-kicker{grid-column:auto}.g3t5a-paper{width:150px;height:150px}.g3t5a-paper.rectangle{width:220px;height:125px}.g3t5a-line-pool{gap:3px}.g3t5a-line-pool button,.g3t5a-action{padding:6px 8px;font-size:.65rem}.g3t5a-lab .g3cs-grid,.g3t5a-lab .g3code-grid{width:min(100%,370px);height:235px}.g3t5a-lab .g3code-order-task,.g3t5a-lab .g3code-order-done,.g3t5a-lab .g3code-debug-task{min-height:428px;padding:6px 4px}.g3t5a-lab .g3code-order-layout{grid-template-columns:1fr;gap:4px}.g3t5a-lab .g3code-pool,.g3t5a-lab .g3code-slots{min-height:48px;padding:3px}.g3t5a-alternative{inset:2%;padding:10px}.g3t5a-method b,.g3t5a-final b{padding:6px 7px;font-size:.58rem}.g3t5a-transfer>div,.g3t5a-reflection>div{min-height:55px;font-size:1rem}}
@media(max-width:760px){.g3t5a-lab .g3code-order-task,.g3t5a-lab .g3code-order-done,.g3t5a-lab .g3code-debug-task{min-height:416px;height:416px}}
@media(prefers-reduced-motion:reduce){.g3t5a-lab *{animation:none!important;transition:none!important}}

/* Grade 3 · Geometrik şekil ve cisim çizme */
:root{--g3draw-teal:#087f73;--g3draw-coral:#f2785c;--g3draw-gold:#f3b938;--g3draw-ink:#173f4c}
.grade3-draw-geometry-shell .lesson-board{overflow:visible}
.g3draw-studio{position:relative;width:min(100%,920px);height:min(500px,calc(100vh - 220px));min-height:440px;overflow:hidden;border:1px solid #a9d8d0;border-radius:28px;background:#e9f8f4;box-shadow:0 20px 45px #174b4430;container-type:inline-size}
.g3draw-studio-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.g3draw-studio::after{content:"";position:absolute;inset:0;background:#eefaf5d9;backdrop-filter:blur(1px)}
.g3draw-workspace{position:absolute;z-index:2;inset:18px;display:grid;place-items:center;overflow:hidden}
.g3draw-workspace,.g3draw-workspace *{box-sizing:border-box}
.g3draw-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:18px;width:92%;padding:28px;border-radius:26px;background:#fffffff2;box-shadow:0 16px 38px #214d4630}
.g3draw-hero>div{min-width:0}.g3draw-hero span{font-weight:1000;letter-spacing:.1em;color:var(--g3draw-teal)}.g3draw-hero h1{margin:12px 0;color:var(--g3draw-ink);font-size:clamp(1.55rem,3.2vw,2.5rem);line-height:1.08}.g3draw-hero p{margin:0;font-weight:850;color:#537176}.g3draw-hero img{width:100%;max-height:280px;object-fit:contain;filter:drop-shadow(0 14px 18px #16443b30)}
.g3draw-line-compare,.g3draw-align-model,.g3draw-ruler-task,.g3draw-point-task,.g3draw-teacher-shape,.g3draw-family,.g3draw-many,.g3draw-missing-task,.g3draw-tool-task,.g3draw-style-model,.g3draw-solid-model,.g3draw-guided-task,.g3draw-independent{display:grid;place-items:center;gap:10px;width:92%;max-height:100%;padding:18px;border-radius:24px;background:#fffffff0;box-shadow:0 14px 34px #174b4427;color:var(--g3draw-ink);text-align:center}
.g3draw-line-compare{grid-template-columns:1fr 1fr}.g3draw-line-compare>.board-kicker{grid-column:1/-1}.g3draw-line-compare section{width:100%;padding:10px;border-radius:18px;background:#eaf7f4}.g3draw-line-compare svg{width:100%;height:120px}.g3draw-line-compare circle{fill:var(--g3draw-coral)}.g3draw-line-compare .wobbly{fill:none;stroke:#ef795e;stroke-width:7;stroke-linecap:round}.g3draw-line-compare .straight{stroke:var(--g3draw-teal);stroke-width:6}.g3draw-line-compare rect{fill:#74c9bc99;stroke:#168c7f;stroke-width:2}
.g3draw-align-model>div{position:relative;width:min(100%,620px);height:250px;border-radius:22px;background:radial-gradient(circle at 20px 20px,#82b9ae 2px,transparent 3px) 0 0/36px 36px,#f8fffd}.g3draw-align-model>div>i{position:absolute;z-index:4;top:48%;width:22px;height:22px;border-radius:50%;background:var(--g3draw-coral);box-shadow:0 0 0 7px #ffd8cf}.g3draw-align-model>div>i:first-child{left:17%}.g3draw-align-model>div>i:nth-child(2){right:17%}.g3draw-align-model .g3draw-ruler{position:absolute;left:16%;right:16%;top:54%;height:34px;border:3px solid #087f73;border-radius:8px;background:#52c1b480;transform:rotate(-1deg)}.g3draw-align-model img{position:absolute;z-index:3;left:13%;top:16%;width:75%;height:69%;object-fit:contain;opacity:.96}.g3draw-model-line{position:absolute;z-index:5;left:18%;right:18%;top:51%;height:7px;border-radius:8px;background:var(--g3draw-coral);transform:scaleX(0);transform-origin:left}.drawing-line .g3draw-model-line{animation:g3draw-line .8s ease forwards}
@keyframes g3draw-line{to{transform:scaleX(1)}}
.g3draw-ruler-field{position:relative;width:min(100%,650px);height:190px;border-radius:22px;background:radial-gradient(circle at 18px 18px,#7eb9ad 2px,transparent 3px) 0 0/36px 36px,#f8fffd}.g3draw-ruler-field>i{position:absolute;z-index:3;top:43%;width:25px;height:25px;border-radius:50%;background:var(--g3draw-coral);box-shadow:0 0 0 8px #ffe0d8}.g3draw-ruler-field>i.a{left:18%}.g3draw-ruler-field>i.b{right:18%}.g3draw-target-zone{position:absolute;left:17%;right:17%;top:50%;height:38px;border:3px dashed #f3b938;border-radius:10px;transform:translateY(-50%)}.g3draw-draggable-ruler{position:absolute;z-index:4;left:8%;top:70%;width:55%;height:42px;border:3px solid #087f73;border-radius:10px;background:linear-gradient(#7ed4c9cc,#38aa9dcc);color:#075c54;font-weight:1000;letter-spacing:.12em;cursor:grab;touch-action:none}.g3draw-draggable-ruler.wrong{animation:g3draw-shake .28s ease 2}.g3draw-draggable-ruler.aligned{left:22%!important;top:38%!important;box-shadow:0 0 0 7px #f3b93899,0 0 24px #f3b938}
@keyframes g3draw-shake{50%{transform:translateX(12px)}}
.g3draw-shape{width:min(100%,400px);margin:0;transform:rotate(var(--g3draw-turn,0deg));transition:opacity .35s,transform .35s}.g3draw-shape.compact{width:min(31%,260px)}.g3draw-shape svg{display:block;width:100%;max-height:260px;overflow:visible}.g3draw-grid-dot{fill:#92bdb5}.g3draw-edge{stroke:var(--g3draw-teal);stroke-width:7;stroke-linecap:round;transition:opacity .25s,stroke .25s,stroke-width .25s}.g3draw-edge.missing{opacity:0}.g3draw-edge.teacher-pending{opacity:.08}.g3draw-edge.teacher-pending.revealed{opacity:1}.g3draw-edge.speaking{stroke:var(--g3draw-gold);stroke-width:12;filter:drop-shadow(0 0 7px #f3b938)}.g3draw-shape.teacher-group-pending{opacity:.14;transform:rotate(var(--g3draw-turn,0deg)) scale(.94)}.g3draw-shape.teacher-group-pending.group-revealed{opacity:1;transform:rotate(var(--g3draw-turn,0deg)) scale(1)}.g3draw-point{fill:var(--g3draw-coral);stroke:#fff;stroke-width:4;cursor:pointer;transition:.2s}.g3draw-point.next{filter:drop-shadow(0 0 9px #f3b938);stroke:#f3b938;stroke-width:7;animation:g3draw-pulse .9s ease-in-out infinite}.g3draw-point.chosen{fill:var(--g3draw-teal)}.g3draw-point.wrong{fill:#d84444}.g3draw-student-edge{stroke:#2f91d6;stroke-width:9;stroke-linecap:round;animation:g3draw-stroke .45s ease-out}.g3draw-shape figcaption{display:flex;justify-content:center;gap:12px;margin-top:-4px;font-weight:900;color:var(--g3draw-ink)}.g3draw-shape figcaption span{color:var(--g3draw-teal)}.g3draw-shape.styled .g3draw-edge{stroke:#814cc2;stroke-width:11;stroke-dasharray:18 10}
@keyframes g3draw-pulse{50%{transform:scale(1.22)}}@keyframes g3draw-stroke{from{stroke-dasharray:500;stroke-dashoffset:500}to{stroke-dashoffset:0}}
.g3draw-teacher-shape>div,.g3draw-guided-complete>div,.g3draw-final>div{display:flex;align-items:center;justify-content:center;gap:10px}.g3draw-teacher-shape>div b,.g3draw-teacher-shape>div strong,.g3draw-guided-complete b,.g3draw-final b{padding:10px 14px;border-radius:12px;background:#d8f1eb;color:var(--g3draw-teal)}
.g3draw-family>div,.g3draw-many>div{display:flex;align-items:center;justify-content:center;width:100%;gap:10px}.g3draw-family .g3draw-shape{width:44%}.g3draw-many .g3draw-shape{flex:0 1 31%;max-width:31%}.g3draw-many .g3draw-shape svg{max-height:190px}
.g3draw-tool-task>div{display:flex;gap:12px}.g3draw-tool-task>div span,.g3draw-mini-tools span{display:grid;place-items:center;min-width:145px;min-height:92px;padding:14px;border:3px solid #9fd1c9;border-radius:18px;background:#f5fffc;font-weight:1000}.g3draw-tool-task .ruler{border-bottom:10px solid #39aa9d}.g3draw-tool-task .peg{background:radial-gradient(circle,#f2785c 3px,transparent 4px) 0 0/24px 24px,#f5fffc}.g3draw-tool-task .brush{box-shadow:inset 0 -12px #814cc2}
.g3draw-style-model{grid-template-columns:1fr 1fr}.g3draw-style-model>.board-kicker,.g3draw-style-model>.g3draw-palette{grid-column:1/-1}.g3draw-pegboard{position:relative;width:280px;height:170px;border:4px solid #d9a55f;border-radius:16px;background:radial-gradient(circle,#875f36 4px,transparent 5px) 0 0/32px 32px,#f2d6a4}.g3draw-pegboard svg{position:absolute;inset:0;width:100%;height:100%;fill:#58bfb240;stroke:#087f73;stroke-width:8;stroke-linejoin:round}.g3draw-pegboard.small{width:240px;height:145px}.g3draw-palette{display:flex;gap:8px}.g3draw-palette i{width:32px;height:32px;border-radius:50%;background:#087f73}.g3draw-palette i:nth-child(2){background:#f2785c}.g3draw-palette i:nth-child(3){background:#814cc2}.g3draw-palette b{padding:7px 10px;border-radius:10px;background:#eef7f5}
.g3draw-solid-model svg{width:min(100%,440px);height:310px}.g3draw-solid-model rect,.g3draw-solid-model line{fill:#50bdaf33;stroke:#087f73;stroke-width:7;stroke-linejoin:round;transition:opacity .35s,filter .35s}.g3draw-solid-model .front,.g3draw-solid-model .back,.g3draw-solid-model .connector{opacity:.08}.show-solid-front .g3draw-solid-model .front,.show-solid-back .g3draw-solid-model .back,.show-solid-connectors .g3draw-solid-model .connector{opacity:1;filter:drop-shadow(0 0 6px #f3b938)}.g3draw-solid-model .back{stroke:#f2785c}.g3draw-solid-model>div{display:flex;gap:10px}.g3draw-solid-model>div b{padding:10px;border-radius:12px;background:#e6f6f2}
.g3draw-mini-tools{display:flex;justify-content:center;gap:10px}.g3draw-missing-task .missing,.show-g3draw-guides .g3draw-edge.missing{opacity:.3;stroke:#f2785c;stroke-dasharray:12 10}.show-g3draw-guides .g3draw-point{filter:drop-shadow(0 0 8px #f3b938)}
.g3draw-alternative{position:absolute;z-index:20;inset:3%;display:grid;place-items:center;gap:8px;padding:18px;border:4px solid #f3b938;border-radius:22px;background:#fffdf6f5;box-shadow:0 18px 42px #173f4c3b;text-align:center}.g3draw-alternative p{max-width:620px;margin:0;font-weight:850}.g3draw-alternative button{padding:10px 18px;border:0;border-radius:12px;background:var(--g3draw-teal);color:white;font-weight:950}.g3draw-stick-shape{position:relative;width:230px;height:150px}.g3draw-stick-shape i{position:absolute;width:115px;height:10px;border-radius:10px;background:#2f91d6;transform-origin:left}.g3draw-stick-shape i:nth-child(1){left:22px;top:116px}.g3draw-stick-shape i:nth-child(2){left:22px;top:116px;transform:rotate(-66deg)}.g3draw-stick-shape i:nth-child(3){left:68px;top:12px;transform:rotate(10deg)}.g3draw-stick-shape i:nth-child(4){left:178px;top:31px;transform:rotate(76deg)}.g3draw-stick-shape i:nth-child(5){left:205px;top:143px;transform:rotate(194deg)}
.g3draw-wireframe-mini,.g3draw-wireframe-choice{position:relative;width:260px;height:170px}.g3draw-wireframe-mini i,.g3draw-wireframe-choice i{position:absolute;width:120px;height:100px;border:6px solid #087f73}.g3draw-wireframe-mini i:first-child,.g3draw-wireframe-choice i:first-child{left:30px;top:52px}.g3draw-wireframe-mini i:nth-child(2),.g3draw-wireframe-choice i:nth-child(2){left:100px;top:12px;border-color:#f2785c}.g3draw-wireframe-choice span{position:absolute;width:82px;height:5px;background:#087f73;transform:rotate(-29deg)}.g3draw-wireframe-choice span:nth-of-type(1){left:34px;top:48px}.g3draw-wireframe-choice span:nth-of-type(2){left:151px;top:48px}.g3draw-wireframe-choice span:nth-of-type(3){left:151px;top:146px}.g3draw-wireframe-choice span:nth-of-type(4){left:34px;top:146px}
.g3draw-guided-complete,.g3draw-final{width:88%;padding:34px 22px;border-radius:26px;background:#fffffff2;box-shadow:0 16px 38px #174b4430;text-align:center}.g3draw-guided-complete>div,.g3draw-final>div{margin:20px 0}.g3draw-final span{font-weight:1000;letter-spacing:.1em;color:var(--g3draw-teal)}.g3draw-final h1{color:var(--g3draw-ink)}
.g3draw-live-prompt{display:flex;align-items:center;justify-content:center;width:min(100%,430px);min-height:54px;margin:auto;padding:8px 18px;border-radius:18px;background:linear-gradient(135deg,#087f73,#0b9a89);box-shadow:0 10px 22px #174b4430;color:#fff;font-weight:950}.g3draw-independent .g3draw-shape,.g3draw-guided-task .g3draw-shape{width:min(55%,250px)}.g3draw-independent .g3draw-shape svg,.g3draw-guided-task .g3draw-shape svg{max-height:175px}.g3draw-independent h2,.g3draw-guided-task h2{margin:2px 0;font-size:clamp(1rem,2.2vw,1.45rem);line-height:1.12}
.g3draw-load-status{position:absolute;z-index:30;inset:20%;display:grid;place-items:center;align-content:center;gap:8px;padding:22px;border:4px solid var(--g3draw-gold);border-radius:24px;background:#fffdf8f5;color:var(--g3draw-ink);text-align:center;box-shadow:0 18px 40px #173f4c44}.g3draw-load-status span{font-weight:1000;letter-spacing:.13em;color:var(--g3draw-teal)}.g3draw-load-status h2,.g3draw-load-status p{margin:0}.g3draw-load-status button{padding:10px 16px;border:0;border-radius:12px;background:var(--g3draw-teal);color:#fff;font-weight:950}.g3draw-assets-pending .g3draw-workspace{visibility:hidden}.g3draw-assets-pending .g3draw-load-status{visibility:visible}
.g3draw-independent.direct{min-height:430px}.g3draw-independent.direct .g3draw-shape{width:min(78%,390px)}.g3draw-independent.direct .g3draw-shape svg{max-height:270px}.g3draw-wire-task{display:grid;place-items:center;gap:8px;width:92%;padding:18px;border-radius:24px;background:#fffffff0;box-shadow:0 14px 34px #174b4427;color:var(--g3draw-ink);text-align:center}.g3draw-wire-task svg{width:min(100%,460px);height:330px;overflow:visible}.g3draw-wire-task rect{fill:#50bdaf26;stroke:#087f73;stroke-width:7}.g3draw-wire-task .back{stroke:#f2785c}.g3draw-wire-edge{stroke:#f3b938;stroke-width:24;stroke-linecap:round;stroke-dasharray:8 12;opacity:.3;cursor:pointer;pointer-events:stroke;transition:.25s}.g3draw-wire-edge:hover,.g3draw-wire-edge:focus-visible{opacity:.7;filter:drop-shadow(0 0 7px #f3b938)}.g3draw-wire-edge.found{stroke:#2f91d6;stroke-width:9;stroke-dasharray:none;opacity:1;filter:drop-shadow(0 0 5px #2f91d6)}

@container (max-width:620px){
  .g3draw-hero{width:100%;grid-template-columns:1fr;padding:12px;gap:3px;text-align:center}.g3draw-hero h1{margin:5px 0;font-size:1.3rem}.g3draw-hero p{font-size:.78rem}.g3draw-hero img{max-height:118px}
  .g3draw-line-compare,.g3draw-align-model,.g3draw-ruler-task,.g3draw-point-task,.g3draw-teacher-shape,.g3draw-family,.g3draw-many,.g3draw-missing-task,.g3draw-tool-task,.g3draw-style-model,.g3draw-solid-model,.g3draw-guided-task,.g3draw-independent{width:100%;padding:10px 7px;gap:5px}
  .g3draw-line-compare section{padding:4px}.g3draw-line-compare svg{height:90px}.g3draw-line-compare b{font-size:.75rem}.g3draw-align-model>div{height:225px}.g3draw-ruler-field{height:190px}.g3draw-shape{width:min(92%,330px)}.g3draw-shape svg{max-height:235px}.g3draw-shape figcaption{font-size:.76rem}
  .g3draw-family>div,.g3draw-many>div{gap:2px}.g3draw-family .g3draw-shape{width:49%}.g3draw-many .g3draw-shape{flex-basis:32%;max-width:32%}.g3draw-many .g3draw-shape svg{max-height:140px}.g3draw-many figcaption{display:grid;gap:0}
  .g3draw-tool-task>div,.g3draw-mini-tools{width:100%;gap:4px}.g3draw-tool-task>div span,.g3draw-mini-tools span{min-width:0;min-height:72px;flex:1;padding:7px;font-size:.78rem}.g3draw-style-model{min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.g3draw-pegboard{width:min(100%,160px);height:120px}.g3draw-style-model .g3draw-shape{width:min(100%,160px)}.g3draw-palette{gap:4px;flex-wrap:wrap;justify-content:center}.g3draw-solid-model svg{height:295px}.g3draw-solid-model>div{font-size:.72rem}.g3draw-wire-task svg{height:290px}
}

@media (max-width:760px){
  .g3draw-studio{width:100%;height:min(540px,calc(100vh - 250px));min-height:470px;border-radius:20px}.g3draw-workspace{inset:7px;align-content:start;padding-top:6px;overflow:auto}.g3draw-studio::after{background:#effaf5eb}
  .g3draw-hero{width:100%;grid-template-columns:1fr;padding:14px;gap:4px;text-align:center}.g3draw-hero h1{font-size:1.45rem}.g3draw-hero img{max-height:130px}
  .g3draw-line-compare,.g3draw-align-model,.g3draw-ruler-task,.g3draw-point-task,.g3draw-teacher-shape,.g3draw-family,.g3draw-many,.g3draw-missing-task,.g3draw-tool-task,.g3draw-style-model,.g3draw-solid-model,.g3draw-guided-task,.g3draw-independent{width:100%;min-height:350px;padding:10px 7px;gap:5px}
  .g3draw-line-compare section{padding:4px}.g3draw-line-compare svg{height:90px}.g3draw-line-compare b{font-size:.75rem}.g3draw-align-model>div{height:210px}.g3draw-ruler-field{height:180px}.g3draw-align-model img{top:24%;height:58%}
  .g3draw-shape{width:min(92%,310px)}.g3draw-shape svg{max-height:230px}.g3draw-shape figcaption{font-size:.76rem}.g3draw-family>div,.g3draw-many>div{gap:2px}.g3draw-family .g3draw-shape{width:49%}.g3draw-many .g3draw-shape{flex-basis:32%;max-width:32%}.g3draw-many .g3draw-shape svg{max-height:140px}.g3draw-many figcaption{display:grid;gap:0}
  .g3draw-tool-task>div{gap:4px}.g3draw-tool-task>div span,.g3draw-mini-tools span{min-width:0;min-height:72px;padding:7px;font-size:.78rem}.g3draw-style-model{grid-template-columns:1fr 1fr}.g3draw-pegboard{width:170px;height:120px}.g3draw-style-model .g3draw-shape{width:160px}.g3draw-palette{gap:4px;flex-wrap:wrap;justify-content:center}
  .g3draw-solid-model svg{height:240px}.g3draw-solid-model>div{font-size:.72rem}.g3draw-guided-complete,.g3draw-final{width:100%;padding:18px 7px}.g3draw-guided-complete>div,.g3draw-final>div{gap:3px;flex-wrap:wrap}.g3draw-guided-complete b,.g3draw-final b{padding:8px;font-size:.72rem}.g3draw-alternative{inset:2%;padding:9px}.g3draw-alternative p{font-size:.82rem}
  .g3draw-load-status{inset:12%;padding:14px}.g3draw-independent.direct{min-height:340px}.g3draw-independent.direct .g3draw-shape{width:min(88%,320px)}.g3draw-wire-task{width:100%;min-height:350px;padding:8px}.g3draw-wire-task svg{height:245px}.g3draw-wire-edge{stroke-width:30}
}
@media (prefers-reduced-motion:reduce){.g3pd-cell,.g3pd-transform *,.g3pd-runner,.g3pd-scan-wave{animation:none!important;transition:none!important}}

/* Grade 3 · Zaman Ölçü Birimleri · Zaman Gözlemevi */
.grade3-time-units-board{min-height:0;overflow:visible;background:transparent}.grade3-time-units-footer{position:relative;z-index:7}.g3tu-observatory{position:relative;width:100%;min-height:535px;overflow:hidden;border-radius:30px;background:#78d2da;box-shadow:0 18px 44px rgba(8,49,55,.2)}.g3tu-observatory>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g3tu-observatory::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,33,39,.12),rgba(255,255,255,.02) 35% 65%,rgba(4,33,39,.12));pointer-events:none}.g3tu-workspace{position:relative;z-index:2;min-height:535px;display:grid;place-items:center;padding:30px 42px}.g3tu-workspace>div{width:min(100%,780px)}
.g3tu-intro{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:stretch}.g3tu-event{min-height:142px;padding:16px 10px;border:3px solid #c6e6df;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 12px 26px #1235;display:grid;place-items:center;text-align:center;transition:.3s}.g3tu-event>span{position:relative;display:block;width:64px;height:58px}.g3tu-event>span::before,.g3tu-event>span::after{content:"";position:absolute;inset:10px 2px;border-radius:50%;border-top:7px solid #0b827a;transform:rotate(12deg)}.g3tu-event>span::after{border-top:0;border-bottom:7px solid #0b827a;transform:rotate(-12deg)}.g3tu-event.lesson>span{border:6px solid #ef7e45;border-radius:8px}.g3tu-event.lesson>span::before{inset:8px;border:0;border-top:5px solid #ef7e45;border-bottom:5px solid #ef7e45;border-radius:0}.g3tu-event.lesson>span::after{display:none}.g3tu-event.journey>span{border:6px solid #0a827a;border-radius:50%}.g3tu-event.journey>span::before{inset:20px 8px;border:0;border-top:6px solid #0a827a;border-radius:0}.g3tu-event.journey>span::after{inset:5px 26px;border:0;border-left:6px solid #0a827a;border-radius:0}.g3tu-event.birthday>span{border-radius:9px;background:linear-gradient(90deg,#f4a83f 50%,#e8734b 50%)}.g3tu-event.birthday>span::before{inset:-10px 28px auto;height:18px;border:0;border-left:5px solid #0a827a;border-radius:0}.g3tu-event.birthday>span::after{inset:14px 0 auto;height:5px;border:0;background:#fff;border-radius:0}.g3tu-event b{font-size:.82rem;color:#084f57}.g3tu-event small{font-weight:950;color:#d66a35}.g3tu-intro-title{grid-column:1/-1;padding:14px 20px;border-radius:20px;background:#093f49e8;color:#fff;text-align:center}.g3tu-intro-title>span{font-size:.72rem;font-weight:950;letter-spacing:.18em;color:#89f1df}.g3tu-intro-title h1{margin:5px 0 0;font-size:1.5rem}
.g3tu-ladder-lesson,.g3tu-carry,.g3tu-hour-build,.g3tu-convert,.g3tu-convert-finish,.g3tu-earth-day,.g3tu-daystrip,.g3tu-daystrip-finish,.g3tu-roman,.g3tu-roman-finish,.g3tu-week,.g3tu-month-compare,.g3tu-calendar-task,.g3tu-calendar-finish,.g3tu-year-orbit,.g3tu-chain,.g3tu-repair,.g3tu-repair-finish,.g3tu-independent,.g3tu-independent-finish,.g3tu-final{display:grid;place-items:center;gap:14px;padding:22px;border-radius:28px;background:rgba(250,255,253,.95);box-shadow:0 16px 38px rgba(7,50,53,.25);color:#103f4c}.g3tu-ladder-lesson h2,.g3tu-hour-build h2,.g3tu-earth-day h2,.g3tu-daystrip h2,.g3tu-roman h2,.g3tu-week h2,.g3tu-month-compare h2,.g3tu-calendar-task h2,.g3tu-year-orbit h2,.g3tu-chain h2,.g3tu-repair h2,.g3tu-independent h2{margin:0;text-align:center;font-size:1.25rem}.g3tu-unit-ladder{display:flex;align-items:stretch;justify-content:center;gap:5px;width:100%}.g3tu-unit-ladder>button,.g3tu-unit-ladder>section{min-width:0;flex:1;display:grid;place-items:center;align-content:center;gap:5px;padding:12px 6px;border:3px solid #aed8d1;border-radius:16px;background:#fff;color:#0b5757;transition:.25s}.g3tu-unit-ladder>button{cursor:pointer}.g3tu-unit-ladder>button:hover,.g3tu-unit-ladder>button:focus-visible{border-color:#f2ab23;box-shadow:0 0 0 5px #ffc45055;transform:translateY(-3px)}.g3tu-unit-ladder>.active{border-color:#f0ab23;box-shadow:0 0 0 5px #ffc45050}.g3tu-unit-ladder>.done{background:#d8f6e9;border-color:#38a884}.g3tu-unit-ladder b{font-size:.82rem}.g3tu-unit-ladder small{font-size:.58rem;font-weight:850;text-align:center}.g3tu-unit-ladder>i{align-self:center;font-style:normal;font-size:1.2rem;color:#e87640}.g3tu-nesting{position:relative;width:360px;height:100px}.g3tu-nesting i{position:absolute;left:50%;bottom:0;width:calc(54px + var(--n,0)*38px);height:calc(30px + var(--n,0)*10px);border:4px solid #8dbfbb;border-radius:14px;transform:translateX(-50%);opacity:.3}.g3tu-nesting i:nth-child(1){--n:0}.g3tu-nesting i:nth-child(2){--n:1}.g3tu-nesting i:nth-child(3){--n:2}.g3tu-nesting i:nth-child(4){--n:3}.g3tu-nesting i:nth-child(5){--n:4}.g3tu-nesting i:nth-child(6){--n:5}.g3tu-nesting i:nth-child(7){--n:6}.g3tu-nesting i.open{opacity:1;border-color:#e97943;box-shadow:0 0 12px #ffca6b}
.g3tu-counter{display:flex;align-items:center;justify-content:center;gap:18px}.g3tu-counter section{display:grid;place-items:center;gap:3px;min-width:145px;padding:15px;border:5px solid #fff;border-radius:20px;background:#173e4c;color:#bcffd4;box-shadow:inset 0 0 0 2px #588a8c,0 12px 25px #1234}.g3tu-counter small{font-weight:950;letter-spacing:.13em;color:#d6f7ef}.g3tu-counter b{font:950 3.1rem/1 ui-monospace,monospace;text-shadow:0 0 13px #50ec8b}.g3tu-counter>i{font-style:normal;font-size:2rem;color:#e8703e}.g3tu-sixty-dots{display:grid;grid-template-columns:repeat(20,1fr);gap:5px;width:min(100%,540px)}.g3tu-sixty-dots i{aspect-ratio:1;border-radius:50%;background:#67bdb3;transition:.2s}.g3tu-carry.running .g3tu-sixty-dots i{animation:g3tuDot 3s ease both;animation-delay:calc(var(--i)*.03s)}.g3tu-carry.running .g3tu-counter section:first-child{animation:g3tuCounter 3.1s ease both}.g3tu-not-hundred{display:flex;gap:24px;align-items:center;justify-content:center}.g3tu-not-hundred s{font-weight:900;color:#ad5656}.g3tu-not-hundred b{padding:9px 14px;border-radius:999px;background:#d9f6e8;color:#087958}.g3tu-carry.complete .g3tu-sixty-dots i{background:#f4b947}.g3tu-hour-build{grid-template-columns:1fr 1fr}.g3tu-hour-build>.board-kicker,.g3tu-hour-build>h2{grid-column:1/-1}.g3tu-hour-build .g3clock-face{--clock-size:235px}.g3tu-quarter-track{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;gap:5px}.g3tu-quarter-track b{padding:13px;border-radius:14px;background:#e5f3ef;color:#8ba6a4;text-align:center}.g3tu-quarter-track b.active{background:#ffe5a0;color:#9b5e00;box-shadow:0 0 0 4px #ffc45466}.g3tu-quarter-track i{display:none}
.g3tu-pack-equation,.g3tu-convert-finish>div,.g3tu-daystrip-finish>div,.g3tu-roman-finish>div{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3tu-pack-equation b,.g3tu-convert-finish b,.g3tu-daystrip-finish b,.g3tu-roman-finish b{min-width:82px;padding:15px 18px;border-radius:16px;background:#e3f5f0;color:#08766d;text-align:center;font-size:1.35rem}.g3tu-pack-equation b:nth-child(2){background:#fff0bc;color:#a35f00}.g3tu-pack-equation b:nth-child(3){background:#fff;color:#df6b38}.g3tu-convert h2{margin:0}.g3tu-convert-finish h1,.g3tu-daystrip-finish h1,.g3tu-roman-finish h1,.g3tu-calendar-finish h1,.g3tu-repair-finish h1,.g3tu-independent-finish h1,.g3tu-final h1{margin:0;text-align:center;font-size:1.5rem}.g3tu-convert-finish i,.g3tu-daystrip-finish i,.g3tu-roman-finish i{font-style:normal;color:#e66d3c;font-size:1.5rem}
.g3tu-earth-model{position:relative;width:330px;height:240px}.g3tu-earth-model .earth{position:absolute;left:50%;top:50%;width:175px;height:175px;border-radius:50%;transform:translate(-50%,-50%) rotate(var(--turn));background:linear-gradient(90deg,#102c55 0 48%,#279bd2 52% 100%);box-shadow:inset -20px 0 30px #09223f,0 0 0 7px #fff,0 18px 32px #1235;transition:transform .8s cubic-bezier(.2,.8,.2,1)}.g3tu-earth-model .earth span{position:absolute;inset:28px 20px;border-radius:60% 40% 55% 45%;background:#66ba67;clip-path:polygon(0 20%,42% 5%,68% 27%,100% 18%,78% 49%,92% 79%,55% 70%,31% 100%,18% 60%)}.g3tu-earth-model .sun{position:absolute;right:2px;top:50%;width:70px;height:70px;border-radius:50%;transform:translateY(-50%);background:#ffd45b;box-shadow:0 0 35px #ffd45b}.g3tu-earth-model .orbit{position:absolute;inset:20px;border:4px dashed #eab43d;border-radius:50%;transform:rotate(-10deg)}.g3tu-day-times{display:flex;align-items:center;justify-content:center;gap:6px}.g3tu-day-times b{min-width:52px;padding:10px;border-radius:12px;background:#e5f1f0;color:#91aaa8;text-align:center}.g3tu-day-times b.active{background:#ffe4a1;color:#8d5900}.g3tu-day-times i{font-style:normal;color:#e87842}.g3tu-day-strip{display:flex;align-items:end;width:100%;padding:8px 2px 22px;border-bottom:7px solid #15515b}.g3tu-day-strip>b{position:relative;flex:1;height:22px;border-left:2px solid #8bb8b5}.g3tu-day-strip>b i{position:absolute;inset:0;background:#dff2ed}.g3tu-day-strip>b:nth-child(n+14) i{background:#dfe9f7}.g3tu-day-strip>b small{position:absolute;top:26px;left:0;transform:translateX(-50%);font-size:.55rem}.g3tu-day-strip>b.active i{background:#ffc24a;box-shadow:0 0 14px #ffbd38}.g3tu-day-strip.compact{padding-bottom:8px}.g3tu-day-strip.compact>i{flex:1;height:22px}.g3tu-day-strip.compact>i.am{background:#dff2ed}.g3tu-day-strip.compact>i.pm{background:#dfe9f7}.g3tu-day-strip.compact>b{height:auto;border:0;font-size:.7rem}.g3tu-am-pm{display:grid;grid-template-columns:1fr 1fr;width:100%}.g3tu-am-pm b{padding:9px;text-align:center;font-size:.7rem}.g3tu-am-pm b:first-child{background:#e1f5e9;color:#087558}.g3tu-am-pm b:last-child{background:#e7e9fa;color:#55508c}
.g3tu-roman-key{display:flex;gap:16px}.g3tu-roman-key>b{display:grid;place-items:center;width:90px;height:90px;border-radius:18px;background:#173f4c;color:#fff;font:950 2.1rem/1 Georgia,serif;box-shadow:0 9px 0 #0c2932}.g3tu-roman-key small{display:block;margin-top:5px;color:#99eadb;font:900 .65rem/1 system-ui}.g3tu-roman-model{padding:15px 24px;border-radius:18px;background:#fff2bf;color:#8a5500;font:950 2rem/1.2 Georgia,serif;letter-spacing:.1em}.g3tu-week-tray{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;width:100%}.g3tu-week-tray button{min-width:0;padding:13px 4px;border:3px solid #b5dcd6;border-radius:15px;background:#fff;color:#0c5557;cursor:pointer;transition:.25s}.g3tu-week-tray button:hover,.g3tu-week-tray button:focus-visible{border-color:#f1aa23;box-shadow:0 0 0 5px #ffc65355}.g3tu-week-tray button.done{background:#d9f5e8;border-color:#2f9d7d}.g3tu-week-tray b{display:block;font-size:.64rem}.g3tu-week-tray small{font-size:.5rem;font-weight:800}.g3tu-week-result{display:flex;align-items:center;gap:5px}.g3tu-week-result i{width:36px;height:36px;border-radius:9px;background:#dbeae7}.g3tu-week-result i.filled{background:#ffbf4b}.g3tu-week-result b{margin-left:8px;padding:9px 13px;border-radius:12px;background:#163f4b;color:#fff}.g3tu-week-block{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.g3tu-week-block i{display:grid;place-items:center;height:34px;border-radius:7px;background:#ffcf66;font-style:normal;font-weight:900;color:#77500c}
.g3tu-month-compare>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:100%}.g3tu-month-compare h2{font-size:1rem}.g3tu-calendar{display:grid;gap:5px;width:100%;padding:10px;border:3px solid #b5ddd6;border-radius:16px;background:#fff}.g3tu-calendar>strong{text-align:center;color:#0b766f}.g3tu-calendar>small{text-align:center;font-weight:950;color:#d46734}.g3tu-weekheads,.g3tu-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.g3tu-weekheads b{font-size:.48rem;text-align:center;color:#56706e}.g3tu-date-grid>*{display:grid;place-items:center;min-width:0;aspect-ratio:1;border-radius:4px;background:#eef5f3;font-size:.5rem;font-style:normal}.g3tu-date-grid>i{background:transparent}.g3tu-date-grid>.active{background:#ffc14c;color:#573900;font-weight:950;box-shadow:0 0 0 2px #e69417}.g3tu-calendar-task .g3tu-calendar,.g3tu-calendar-finish .g3tu-calendar{width:min(100%,500px)}.g3tu-calendar-task .g3tu-weekheads b,.g3tu-calendar-task .g3tu-date-grid>*,.g3tu-calendar-finish .g3tu-weekheads b,.g3tu-calendar-finish .g3tu-date-grid>*{font-size:.72rem}.g3tu-calendar-task .g3tu-date-grid>*,.g3tu-calendar-finish .g3tu-date-grid>*{aspect-ratio:1.25}
.g3tu-year-ring{position:relative;width:360px;height:300px}.g3tu-year-ring>b{position:absolute;left:50%;top:50%;width:74px;padding:7px 3px;border-radius:999px;background:#dcebe8;color:#78908e;text-align:center;font-size:.62rem;transform:translate(-50%,-50%) rotate(calc(var(--m)*30deg)) translateY(-128px) rotate(calc(var(--m)*-30deg))}.g3tu-year-ring>b.active{background:#ffca5b;color:#805000;box-shadow:0 0 13px #ffc44b}.g3tu-year-ring>span{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:130px;height:130px;border-radius:50%;transform:translate(-50%,-50%);background:#173f4b;color:#fff;box-shadow:0 0 0 12px #d9f3eb}.g3tu-year-ring strong{font-size:2.7rem}.g3tu-year-ring small{font-weight:900}.g3tu-year-facts{display:flex;gap:12px}.g3tu-year-facts b{padding:9px 13px;border-radius:13px;background:#e5f5f0;color:#08746b}.g3tu-chain>div{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:100%}.g3tu-chain button{min-width:0;min-height:104px;padding:10px 5px;border:3px solid #b5dcd6;border-radius:16px;background:#fff;color:#0b5958;cursor:pointer;transition:.25s}.g3tu-chain button:hover,.g3tu-chain button:focus-visible{border-color:#eea51c;box-shadow:0 0 0 5px #ffc75455}.g3tu-chain button.done{background:#daf5e8;border-color:#2c9e7d}.g3tu-chain button b{display:block}.g3tu-chain button i{display:block;margin:6px;font-style:normal;color:#e66c3a}.g3tu-broken-claim{position:relative;padding:24px 36px;border:4px dashed #d9685f;border-radius:20px;background:#fff1ed;color:#a3433b;font-size:1.5rem;font-weight:950}.g3tu-broken-claim i{position:absolute;right:-15px;top:-15px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#dc6157;color:#fff;font-style:normal}.g3tu-repair-finish>div{display:flex;gap:18px}.g3tu-repair-finish b{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:#d9f5e8;color:#087559;font-size:1.6rem}.g3tu-independent-model{display:grid;place-items:center;min-width:220px;min-height:100px;padding:18px 28px;border-radius:20px;background:#173f4b;color:#bfffd7;font-size:2rem;font-weight:950;box-shadow:inset 0 0 0 3px #6f9597}.g3tu-independent-finish .g3tu-unit-ladder{max-width:720px}.g3tu-final{text-align:center}.g3tu-final>span{padding:8px 14px;border-radius:999px;background:#0a8278;color:#fff;font-weight:950;letter-spacing:.12em}.g3tu-final-facts{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.g3tu-final-facts b{padding:9px 11px;border-radius:12px;background:#fff0b8;color:#855200;font-size:.78rem}
.g3tu-alternative{position:absolute;z-index:15;right:18px;bottom:18px;width:min(500px,calc(100% - 36px));display:grid;gap:9px;padding:16px;border:3px solid #efaf2d;border-radius:20px;background:#fffdf5;box-shadow:0 18px 38px #1237}.g3tu-alternative p{margin:0;font-weight:800;color:#34575a}.g3tu-pack-model{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.g3tu-pack-model b{padding:8px 10px;border-radius:10px;background:#dff3ee;color:#0b6861}.g3tu-pack-model i{font-style:normal;color:#e66b3a}.show-g3tu-guides .g3tu-unit-ladder>*,.show-g3tu-guides .g3tu-counter section,.show-g3tu-guides .g3tu-calendar,.show-g3tu-guides .g3tu-chain button{outline:4px solid rgba(255,177,45,.76);outline-offset:2px}.grade3-time-units-footer .answer-row,.grade3-time-units-footer .choice-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.grade3-time-units-footer .answer-cell{min-height:68px}
@keyframes g3tuDot{0%{transform:scale(.65);opacity:.45}50%{transform:scale(1.35);background:#ffc14e}100%{transform:scale(1);background:#f2b43f}}@keyframes g3tuCounter{0%,85%{filter:brightness(1)}92%{filter:brightness(1.55);transform:scale(1.06)}100%{filter:brightness(1)}}
@media(max-width:1350px) and (min-width:721px){.g3tu-unit-ladder{flex-wrap:wrap}.g3tu-unit-ladder>button,.g3tu-unit-ladder>section{flex:1 1 24%;min-height:58px}.g3tu-unit-ladder>i{display:none}.g3tu-nesting{width:280px;height:72px}.g3tu-nesting i{transform:translateX(-50%) scale(.72);transform-origin:center bottom}.g3tu-hour-build{grid-template-columns:1fr}.g3tu-hour-build>.board-kicker,.g3tu-hour-build>h2{grid-column:1}.g3tu-hour-build .g3clock-face{--clock-size:190px}.g3tu-quarter-track{width:100%}.g3tu-month-compare>div{grid-template-columns:1fr 1fr}.g3tu-month-compare .g3tu-calendar{padding:7px}.g3tu-month-compare h2{font-size:.82rem}.g3tu-final h1{font-size:1.2rem}.g3tu-final-facts{width:100%}}
@media(max-width:1050px){.g3tu-observatory,.g3tu-workspace{min-height:500px}.g3tu-workspace{padding:22px 25px}.g3tu-event{min-height:125px}.g3tu-year-ring{transform:scale(.9);margin:-15px}.g3tu-calendar-task .g3tu-calendar{width:min(100%,440px)}}
@media(max-width:720px){.g3tu-observatory{min-height:690px;border-radius:22px}.g3tu-observatory>img{object-position:center}.g3tu-workspace{min-height:690px;padding:16px 11px}.g3tu-workspace>div{width:100%}.g3tu-intro{grid-template-columns:1fr 1fr;gap:8px}.g3tu-event{min-height:102px;padding:8px}.g3tu-event>span{transform:scale(.7);margin:-6px}.g3tu-event b{font-size:.68rem}.g3tu-intro-title{grid-column:1/-1}.g3tu-intro-title h1{font-size:1.05rem}.g3tu-ladder-lesson,.g3tu-carry,.g3tu-hour-build,.g3tu-convert,.g3tu-convert-finish,.g3tu-earth-day,.g3tu-daystrip,.g3tu-daystrip-finish,.g3tu-roman,.g3tu-roman-finish,.g3tu-week,.g3tu-month-compare,.g3tu-calendar-task,.g3tu-calendar-finish,.g3tu-year-orbit,.g3tu-chain,.g3tu-repair,.g3tu-repair-finish,.g3tu-independent,.g3tu-independent-finish,.g3tu-final{padding:14px;gap:10px}.g3tu-unit-ladder{flex-wrap:wrap}.g3tu-unit-ladder>button,.g3tu-unit-ladder>section{flex:1 1 26%;min-height:58px;padding:6px}.g3tu-unit-ladder>i{display:none}.g3tu-nesting{width:260px;height:82px}.g3tu-nesting i{transform:translateX(-50%) scale(.78);transform-origin:center bottom}.g3tu-counter{gap:7px}.g3tu-counter section{min-width:108px;padding:11px}.g3tu-counter b{font-size:2.4rem}.g3tu-sixty-dots{grid-template-columns:repeat(15,1fr);gap:4px}.g3tu-not-hundred{gap:8px;flex-wrap:wrap}.g3tu-hour-build{grid-template-columns:1fr}.g3tu-hour-build>.board-kicker,.g3tu-hour-build>h2{grid-column:1}.g3tu-hour-build .g3clock-face{--clock-size:185px}.g3tu-quarter-track{width:100%}.g3tu-earth-model{width:270px;height:200px}.g3tu-earth-model .earth{width:145px;height:145px}.g3tu-day-times b{min-width:38px;padding:7px 3px;font-size:.68rem}.g3tu-daystrip{overflow:hidden}.g3tu-day-strip>b small{font-size:.43rem}.g3tu-roman-key>b{width:75px;height:75px}.g3tu-week-tray{grid-template-columns:repeat(4,1fr)}.g3tu-week-result i{width:27px;height:27px}.g3tu-month-compare>div{grid-template-columns:1fr 1fr}.g3tu-month-compare .g3tu-calendar{padding:6px}.g3tu-month-compare h2{font-size:.83rem}.g3tu-year-ring{width:310px;height:270px;transform:scale(.82);margin:-28px}.g3tu-chain>div{grid-template-columns:1fr 1fr}.g3tu-chain button{min-height:76px}.g3tu-broken-claim{font-size:1.15rem;padding:18px}.g3tu-repair-finish b{width:72px;height:72px;font-size:1.2rem}.g3tu-alternative{position:relative;right:auto;bottom:auto;margin:10px auto 0}.g3tu-final h1,.g3tu-independent-finish h1{font-size:1.15rem}.grade3-time-units-footer .answer-cell{min-height:60px}}
@media(prefers-reduced-motion:reduce){.g3tu-observatory *{animation:none!important;transition:none!important}}

/* Zaman ölçü birimleri · Gemini Canvas storyboard uyarlaması */
.g3tu-event{min-width:0;overflow:hidden}.g3tu-event>svg{display:block;width:78px;max-width:100%;height:62px;overflow:visible;filter:drop-shadow(0 7px 8px rgba(12,66,68,.18))}.g3tu-event b{max-width:100%;font-size:.68rem;line-height:1.2;overflow-wrap:normal;word-break:normal}.g3tu-event.sync-speaking{border-color:#f3a92c;box-shadow:0 0 0 6px rgba(255,191,68,.26),0 14px 30px rgba(18,51,53,.25);transform:translateY(-4px)}
.g3tu-carry [data-g3tu-wrong-hundred],.g3tu-carry [data-g3tu-sixty-result]{opacity:0;transform:scale(.82);pointer-events:none;transition:.28s ease}.g3tu-carry.show-wrong-hundred [data-g3tu-wrong-hundred]{opacity:1;transform:scale(1);animation:g3tuWrongCross 1.35s ease both}.g3tu-carry.show-sixty-result [data-g3tu-sixty-result],.g3tu-carry.complete [data-g3tu-sixty-result]{opacity:1;transform:scale(1)}.g3tu-carry.complete [data-g3tu-wrong-hundred]{display:none}.g3tu-sixty-dots .last-dot{background:#f29b4d;box-shadow:0 0 0 4px rgba(242,155,77,.22)}.g3tu-carry.running .g3tu-sixty-dots i{animation-timing-function:linear}.g3tu-carry.running .last-dot{animation:g3tuLastSecond 1s linear both;animation-delay:0s}@keyframes g3tuWrongCross{0%,18%{text-decoration-color:transparent;transform:scale(.85)}32%,72%{opacity:1;text-decoration-color:#d44848;text-decoration-thickness:5px;transform:scale(1.06)}100%{opacity:0;text-decoration-color:#d44848;transform:scale(.9)}}@keyframes g3tuLastSecond{0%{transform:scale(.35);opacity:.25}100%{transform:scale(1.25);opacity:1}}
.g3tu-quarter-track b{display:grid;gap:3px;min-width:82px}.g3tu-quarter-track b small{font-size:.58rem;color:inherit}.g3tu-hour-build .g3clock-minute-ring b{transform:translate(-50%,-50%) rotate(calc(var(--n)*30deg)) translateY(calc(var(--clock-size)*-.405)) rotate(calc(var(--n)*-30deg));min-width:26px;height:19px;background:#fffdf5;border:1px solid #91cbc3;box-shadow:0 2px 5px rgba(7,59,61,.13)}
.g3tu-earth-model{height:255px}.g3tu-earth-model .earth{position:absolute;left:50%;top:50%;width:205px;height:205px;overflow:hidden;border-radius:50%;transform:translate(-50%,-50%);background:transparent;box-shadow:0 0 0 7px #fff,0 18px 34px rgba(10,46,57,.3);transition:none}.g3tu-earth-model .earth>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}.g3tu-earth-model .earth .g3tu-night-shade{position:absolute;z-index:2;inset:-6%;display:block;border-radius:50%;background:linear-gradient(90deg,rgba(5,18,45,.82) 0 46%,rgba(5,18,45,.25) 56%,transparent 67%);clip-path:none;transition:transform .85s cubic-bezier(.45,0,.2,1);transform:translateX(var(--shade-x,0))}.g3tu-earth-day.step-0{--shade-x:26%}.g3tu-earth-day.step-1{--shade-x:2%}.g3tu-earth-day.step-2{--shade-x:-32%}.g3tu-earth-day.step-3{--shade-x:2%}.g3tu-earth-day.step-4{--shade-x:26%}.g3tu-earth-reference{position:absolute!important;z-index:4!important;left:56%!important;top:31%!important;inset:auto!important;width:13px!important;height:13px!important;border:3px solid #fff!important;border-radius:50%!important;background:#f47d43!important;clip-path:none!important;box-shadow:0 0 0 6px rgba(244,125,67,.25),0 0 14px #ffd05f!important}.g3tu-earth-model .sun{right:0;width:74px;height:74px}.g3tu-light-rays{position:absolute;right:61px;top:50%;width:82px;height:5px;transform:translateY(-50%);background:linear-gradient(90deg,transparent,#ffd45b);filter:drop-shadow(0 -15px 0 rgba(255,212,91,.35)) drop-shadow(0 15px 0 rgba(255,212,91,.35))}.g3tu-day-times b{display:grid;gap:2px}.g3tu-day-times b small{font-size:.52rem;text-transform:uppercase}.g3tu-day-times b.passed{background:#d9eee9;color:#376d69}.g3tu-day-times b.current{background:#ffc95e;color:#6b4300;box-shadow:0 0 0 5px rgba(255,190,68,.3),0 0 18px rgba(255,190,68,.5);transform:translateY(-3px)}
.g3tu-month-compare>div.g3tu-month-lengths{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%}.g3tu-month-lengths section{display:grid;place-items:center;gap:5px;min-height:145px;padding:12px;border:3px solid #b4dcd6;border-radius:19px;background:#fff;opacity:.55;transition:.3s}.g3tu-month-lengths section.sync-speaking{opacity:1;border-color:#f2aa2b;box-shadow:0 0 0 5px rgba(244,175,44,.22);transform:translateY(-4px)}.g3tu-month-lengths small{font-size:.62rem;font-weight:950;color:#0a736d;text-align:center}.g3tu-month-lengths b{font-size:2.45rem;color:#e5703d}.g3tu-month-lengths span{font-size:.68rem;font-weight:850;color:#57716f}.g3tu-calendar-rule{display:flex!important;grid-template-columns:none!important;align-items:center;justify-content:center;gap:10px!important;padding:10px 16px;border-radius:15px;background:#fff0bc;color:#805200;font-weight:900}.g3tu-calendar-rule i{font-style:normal;font-size:1.5rem}
.g3tu-calendar-teach{display:grid;place-items:center;gap:12px;padding:20px;border-radius:28px;background:rgba(250,255,253,.96);box-shadow:0 16px 38px rgba(7,50,53,.25)}.g3tu-calendar-teach .g3tu-calendar{width:min(100%,500px)}.g3tu-calendar-teach .g3tu-weekheads b,.g3tu-calendar-teach .g3tu-date-grid>*{font-size:.7rem}.g3tu-calendar-teach .g3tu-date-grid>*{aspect-ratio:1.2}.g3tu-calendar-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g3tu-calendar-steps section{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:11px;border:3px solid #badfd9;border-radius:15px;background:#fff}.g3tu-calendar-steps section.sync-speaking{border-color:#f0aa2d;box-shadow:0 0 0 5px rgba(240,170,45,.22)}.g3tu-calendar-steps b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0b8279;color:#fff}.g3tu-calendar-steps span{font-size:.78rem;font-weight:850;color:#31595c}.g3tu-month-proof{display:grid;grid-template-columns:auto auto;gap:6px 12px;padding:12px 16px;border-radius:16px;background:#fff0bd;color:#714b08}.g3tu-month-proof b,.g3tu-month-proof span{font-size:.78rem}.g3tu-independent-model.neutral{min-width:110px;min-height:80px;padding:10px;border:3px solid #b8ddd7;background:#fff;color:#123f4b;font-size:2.7rem;box-shadow:none}
@media(max-width:720px){.g3tu-event>svg{width:58px;height:44px}.g3tu-earth-model{width:260px;height:205px}.g3tu-earth-model .earth{width:150px;height:150px}.g3tu-light-rays{right:47px;width:55px}.g3tu-month-compare>div.g3tu-month-lengths{grid-template-columns:1fr 1fr}.g3tu-month-lengths section{min-height:96px;padding:7px}.g3tu-month-lengths b{font-size:1.65rem}.g3tu-calendar-steps{grid-template-columns:1fr}.g3tu-hour-build .g3clock-minute-ring b{font-size:.49rem;min-width:19px;height:16px}}

/* Grade 3 · Olayların Süresini Tahmin Etme · Süre Laboratuvarı */
.grade3-duration-estimate-board{min-height:0;overflow:visible;background:transparent}.grade3-duration-estimate-footer{position:relative;z-index:7}.g3de-lab{position:relative;width:100%;min-height:535px;overflow:hidden;border-radius:30px;background:#173f4a;box-shadow:0 18px 44px rgba(8,49,55,.22)}.g3de-lab>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}.g3de-lab::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,34,41,.28),rgba(255,255,255,.02) 24% 76%,rgba(3,34,41,.24));pointer-events:none}.g3de-workspace{position:relative;z-index:2;min-height:535px;display:grid;place-items:center;padding:30px 42px}.g3de-workspace>div{width:min(100%,790px)}
.g3de-intro,.g3de-references,.g3de-unit-task,.g3de-unit-finish,.g3de-cycle,.g3de-predict,.g3de-live-timer,.g3de-compare-screen,.g3de-star-predict,.g3de-star-run,.g3de-scale,.g3de-tower,.g3de-update-task,.g3de-update-finish,.g3de-repair,.g3de-repair-finish,.g3de-independent,.g3de-independent-finish,.g3de-final{display:grid;place-items:center;gap:15px;padding:24px;border-radius:28px;background:rgba(250,255,253,.95);box-shadow:0 16px 38px rgba(7,50,53,.27);color:#103f4c}.g3de-intro h1,.g3de-references h2,.g3de-unit-task h2,.g3de-cycle h2,.g3de-predict h2,.g3de-live-timer h2,.g3de-compare-screen h2,.g3de-star-predict h2,.g3de-scale h2,.g3de-tower h2,.g3de-update-task h2,.g3de-repair h2,.g3de-independent h2,.g3de-final h1{margin:0;text-align:center;line-height:1.22}.g3de-intro h1,.g3de-final h1{font-size:1.5rem}.g3de-predict p,.g3de-star-predict p,.g3de-tower p{margin:0;text-align:center;font-weight:850;color:#486762}
.g3de-event-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%}.g3de-event-cards section{display:grid;place-items:center;gap:7px;min-height:150px;padding:16px;border:3px solid #b9dcd5;border-radius:20px;background:#fff;opacity:.45;transform:scale(.92);transition:.45s ease}.g3de-event-cards section>i{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#dff4ef;color:#087970;font-size:2rem;font-style:normal}.g3de-event-cards section>b{text-align:center;font-size:.82rem}.g3de-event-cards section>small{padding:5px 9px;border-radius:999px;background:#fff0ba;color:#965800;font-weight:950}.g3de-intro.show-blink .blink,.g3de-intro.show-read .read,.g3de-intro.show-film .film{opacity:1;transform:none;border-color:#f0b038;box-shadow:0 0 0 5px #ffc65055,0 12px 24px #1233}.g3de-intro.show-blink .blink>i{animation:g3deBlink 1.1s ease 2}
.g3de-references>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%}.g3de-references button{min-width:0;min-height:170px;display:grid;place-items:center;align-content:center;gap:8px;padding:14px;border:3px solid #b6dad5;border-radius:20px;background:#fff;color:#0c5557;cursor:pointer;transition:.25s}.g3de-references button:hover,.g3de-references button:focus-visible,.g3de-references button.ready{border-color:#efa51e;box-shadow:0 0 0 6px #ffc64c55;transform:translateY(-3px)}.g3de-references button.done{background:#d9f4e9;border-color:#329c7f;transform:none}.g3de-references button>i{font-style:normal;font-size:2.3rem}.g3de-references button>b{text-align:center}.g3de-references button>small{font-weight:900;color:#d36633}
.g3de-unit-task>i,.g3de-update-task>i{display:grid;place-items:center;width:130px;height:130px;border-radius:30px;background:#fff0bd;font-style:normal;font-size:4rem;box-shadow:0 12px 0 #efb54c}.g3de-unit-finish>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%}.g3de-unit-finish>div b{display:grid;place-items:center;gap:6px;min-height:110px;border-radius:18px;background:#e1f4ef;font-size:2rem}.g3de-unit-finish small{font-size:.75rem;color:#08736b}.g3de-cycle>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:7px;width:100%}.g3de-cycle b{min-width:0;display:grid;place-items:center;gap:6px;min-height:112px;padding:9px;border:3px solid #c3ddd8;border-radius:16px;background:#fff;color:#6e8783;text-align:center;font-size:.69rem;transition:.35s}.g3de-cycle b>i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e3f2ef;font-style:normal;font-size:1.25rem}.g3de-cycle b.active{background:#fff1b8;border-color:#efac2b;color:#0c5b58;box-shadow:0 0 0 5px #ffc44d55}.g3de-cycle>div>i{font-style:normal;color:#e56e3e;font-size:1.2rem}
.g3de-hidden-stopwatch,.g3de-timer-face{display:grid;place-items:center;gap:7px;width:230px;height:230px;border:12px solid #e2f3ef;border-radius:50%;background:#173f4b;color:#fff;box-shadow:inset 0 0 0 4px #6a9495,0 18px 34px #1235}.g3de-hidden-stopwatch>i,.g3de-timer-face>i{font-style:normal;font-size:2.2rem;color:#ffcb54}.g3de-hidden-stopwatch>b,.g3de-timer-face>b{text-align:center}.g3de-timer-face>small{max-width:150px;text-align:center;color:#b8e7dc;font-weight:800}.g3de-timer-face.running{animation:g3deTimerPulse 1s ease-in-out infinite;border-color:#ffc854}.g3de-timer-face.stopped{border-color:#48c692;background:#0b6f66}.g3de-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%}.g3de-comparison section{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:15px;border-radius:18px;background:#fff}.g3de-comparison section small{grid-column:1/-1;font-weight:950;color:#0b756c}.g3de-comparison section i{display:block;height:32px;border-radius:10px;background:linear-gradient(90deg,#f6b43a,#ef7544);width:var(--estimate);min-width:18px;transition:.6s}.g3de-comparison section:nth-child(2) i{width:var(--measured);background:linear-gradient(90deg,#40b89d,#138779)}.g3de-comparison section b{white-space:nowrap}.g3de-comparison>strong{grid-column:1/-1;justify-self:center;padding:9px 14px;border-radius:999px;background:#173f4b;color:#fff}
.g3de-stars{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;width:100%}.g3de-stars>b,.g3de-stars>button{min-width:0;display:grid;place-items:center;gap:4px;min-height:105px;border:3px solid #b5d9d3;border-radius:18px;background:#fff;color:#0b6863;transition:.25s}.g3de-stars>button{cursor:pointer}.g3de-stars>button:not(:disabled):hover,.g3de-stars>button:not(:disabled):focus-visible{border-color:#eea61f;box-shadow:0 0 0 6px #ffc54c55;transform:translateY(-3px)}.g3de-stars i{font-style:normal;font-size:2.1rem;color:#efac21;text-shadow:0 4px 0 #a66b00}.g3de-stars button.done{background:#d9f5e9;border-color:#2b9b7c}.g3de-stars button:disabled:not(.done){opacity:.5}.g3de-star-clock{display:grid;place-items:center;padding:12px 22px;border-radius:16px;background:#173f4b;color:#fff}.g3de-star-clock small{color:#b9e6dc;font-weight:800}.g3de-compare-screen.stars .g3de-stars{max-width:470px}.g3de-compare-screen.stars .g3de-stars>b{min-height:70px}
.g3de-scale>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:10px;width:100%}.g3de-scale button{min-width:0;min-height:160px;display:grid;place-items:center;gap:8px;padding:14px;border:3px solid #b4d8d2;border-radius:20px;background:#fff;color:#0c5558;cursor:pointer;transition:.25s}.g3de-scale button:hover,.g3de-scale button:focus-visible{border-color:#efa71e;box-shadow:0 0 0 6px #ffc75455}.g3de-scale button.done{background:#dcf5ea;border-color:#37a081}.g3de-scale button>i{font-style:normal;font-size:2.4rem}.g3de-scale button>small{font-weight:950;color:#dc6b38}.g3de-scale em{font-style:normal;font-size:1.6rem;color:#e66f3d}.g3de-block-stack{display:flex;align-items:end;justify-content:center;gap:12px;min-height:240px;width:100%}.g3de-block-stack button{display:grid;place-items:center;width:105px;height:74px;border:4px solid #a97328;border-radius:15px;background:#e8f3ef;color:#5d7771;cursor:pointer;transition:.45s}.g3de-block-stack button:nth-child(2){transform:translateY(-22px)}.g3de-block-stack button:nth-child(3){transform:translateY(-44px)}.g3de-block-stack button:nth-child(4){transform:translateY(-66px)}.g3de-block-stack button:not(:disabled){border-color:#ec9e1d;box-shadow:0 0 0 7px #ffc95055}.g3de-block-stack button.placed{background:#f1a43c;color:#fff;transform:translate(calc((1.5 - var(--block,0))*-34px),calc((var(--block,0))*-54px));box-shadow:0 8px 0 #aa6519}.g3de-block-stack button:nth-child(1){--block:0}.g3de-block-stack button:nth-child(2){--block:1}.g3de-block-stack button:nth-child(3){--block:2}.g3de-block-stack button:nth-child(4){--block:3}
.g3de-update-finish>div,.g3de-independent-finish>div,.g3de-repair-finish>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3de-update-finish b,.g3de-independent-finish b,.g3de-repair-finish b{padding:11px 13px;border-radius:13px;background:#dff3ee;color:#0b7168}.g3de-update-finish i,.g3de-independent-finish i{font-style:normal;color:#e56e3d}.g3de-broken-claim{position:relative;padding:22px 28px;border:4px dashed #d9685f;border-radius:20px;background:#fff1ed;color:#a3433b;font-size:1.25rem;font-weight:950;text-align:center}.g3de-broken-claim i{position:absolute;right:-15px;top:-15px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#dc6157;color:#fff;font-style:normal}.g3de-independent>div{min-width:260px;padding:18px 26px;border-radius:18px;background:#173f4b;color:#bfffd7;font-size:1.9rem;font-weight:950;text-align:center}.g3de-final{text-align:center}.g3de-final>span{padding:8px 14px;border-radius:999px;background:#0a8278;color:#fff;font-weight:950;letter-spacing:.1em}.g3de-result-table{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%}.g3de-result-table section{display:grid;gap:6px;padding:16px;border:3px solid #b4d9d2;border-radius:18px;background:#fff}.g3de-result-table b{color:#0a756d}.g3de-result-table strong{color:#d36532}.g3de-final p{margin:0;font-weight:950;color:#955b00}
.g3de-alternative{position:absolute;z-index:15;right:18px;bottom:18px;width:min(510px,calc(100% - 36px));display:grid;gap:9px;padding:16px;border:3px solid #efaf2d;border-radius:20px;background:#fffdf5;box-shadow:0 18px 38px #1237}.g3de-alternative p{margin:0;font-weight:800;color:#34575a}.g3de-breath-strip{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.g3de-breath-strip i{height:28px;border-radius:8px;background:#4abda3;animation:g3deBreath 2s ease-in-out infinite;animation-delay:calc(var(--i)*.1s)}.g3de-five-strip,.g3de-unit-strip{display:flex;align-items:center;justify-content:center;gap:8px}.g3de-five-strip b,.g3de-unit-strip b{display:grid;place-items:center;padding:8px 10px;border-radius:10px;background:#e1f3ee;color:#0b6c64}.g3de-five-strip i{font-style:normal;color:#e9a71f}.g3de-unit-strip i{font-style:normal;color:#e66e3b}.g3de-unit-strip small{font-size:.6rem}.show-g3de-guides .g3de-cycle b,.show-g3de-guides .g3de-comparison section,.show-g3de-guides .g3de-stars>*{outline:4px solid rgba(255,177,45,.76);outline-offset:2px}.grade3-duration-estimate-footer .answer-row,.grade3-duration-estimate-footer .choice-grid,.grade3-duration-estimate-footer .theme4-final-choices{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.grade3-duration-estimate-footer .answer-cell{min-height:68px}
.g3de-asset{position:relative;display:grid;place-items:center;width:100%;height:126px;margin:0;overflow:hidden}.g3de-asset img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 9px rgba(10,55,61,.2))}.g3de-event-cards section{min-height:190px;padding:10px}.g3de-event-cards .g3de-asset{height:112px}.g3de-event-cards .blink-asset{transform-origin:center 72%}.g3de-intro.show-blink .blink .g3de-asset{animation:g3deVisualBlink .8s ease-in-out 1}.g3de-intro.show-read .read .book-asset{animation:g3dePageTurn 1.25s ease-out 1}.g3de-intro.show-film .film .movie-asset{animation:g3deMovieGlow 2.4s ease-in-out 2}.g3de-references button>img{display:block;width:100%;height:105px;object-fit:contain;filter:drop-shadow(0 7px 8px rgba(10,55,61,.2))}.g3de-unit-task .unit-asset{width:min(100%,330px);height:205px}.g3de-unit-finish>div b{padding:8px}.g3de-unit-finish>div img{width:100%;height:105px;object-fit:contain}.g3de-scale button>img{width:100%;height:100px;object-fit:contain;filter:drop-shadow(0 7px 8px rgba(10,55,61,.18))}.g3de-update-task .update-asset{width:min(100%,270px);height:180px}.g3de-independent .independent-asset{width:min(100%,320px);height:185px}.g3de-silent-flow{position:relative;width:112px;height:76px;border-radius:999px;background:linear-gradient(150deg,#d9fff5,#ffefad);overflow:hidden}.g3de-silent-flow::before,.g3de-silent-flow::after{content:"";position:absolute;border-radius:50%;background:#fff;opacity:.9}.g3de-silent-flow::before{width:42px;height:20px;left:15px;top:14px}.g3de-silent-flow::after{width:58px;height:24px;right:8px;bottom:13px}.g3de-silent-flow>i{position:absolute;z-index:2;left:-18px;top:34px;width:20px;height:10px;border-radius:70% 10% 70% 10%;background:#ef8e4e;transform:rotate(12deg)}.g3de-timer-face.running .g3de-silent-flow>i{animation:g3deSilentFlow 3.2s linear infinite}.g3de-pack-scene{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(180px,.75fr);align-items:center;gap:18px;width:100%;min-height:245px;padding:12px;border-radius:22px;background:linear-gradient(180deg,#f2fffb,#dff4ef);overflow:hidden}.g3de-pack-items{display:grid;grid-template-columns:1fr 1fr;gap:9px}.g3de-pack-item{min-width:0;min-height:105px;display:grid;grid-template-columns:70px 1fr;align-items:center;gap:5px;padding:7px;border:3px solid #aed8d1;border-radius:16px;background:#fff;color:#0b5d59;font:inherit;cursor:pointer;transition:transform .7s cubic-bezier(.25,1,.5,1),opacity .55s ease,border-color .2s,box-shadow .2s}.g3de-pack-item img{width:70px;height:78px;object-fit:contain}.g3de-pack-item small{font-weight:900;text-align:left}.g3de-pack-item:disabled:not(.packed){opacity:.58;cursor:default}.g3de-pack-item:not(:disabled){border-color:#efa72a;box-shadow:0 0 0 6px rgba(255,191,63,.32)}.g3de-pack-item.packed{visibility:hidden;opacity:0}.g3de-pack-item.packing{z-index:5;transform:translate(310px,25px) scale(.28) rotate(8deg);opacity:0}.g3de-pack-target{position:relative;display:grid;place-items:center;align-content:end;height:225px}.g3de-pack-target>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 12px rgba(10,55,61,.23))}.g3de-pack-target>span{position:relative;z-index:2;margin-bottom:2px;padding:6px 10px;border-radius:999px;background:#0a8076;color:#fff;font-size:.68rem;font-weight:950}.g3de-packing>p{font-size:.76rem}
.g3de-pack-target>img{z-index:1}.g3de-pack-content{position:absolute;z-index:2;left:21%;right:21%;top:25%;height:39%;display:flex;align-items:end;justify-content:center;gap:2px;overflow:hidden;pointer-events:none}.g3de-pack-content img{min-width:0;width:25%;height:72%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(50,20,20,.2));animation:g3dePackedArrive .35s ease-out both}.g3de-pack-target>span{z-index:3}
@keyframes g3deBlink{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.1)}}@keyframes g3deVisualBlink{0%,42%,62%,100%{transform:scaleY(1)}52%{transform:scaleY(.9)}}@keyframes g3dePageTurn{0%{transform:rotateY(0) translateY(0)}55%{transform:rotateY(-9deg) translateY(-5px)}100%{transform:none}}@keyframes g3deMovieGlow{0%,100%{filter:brightness(.92) drop-shadow(0 9px 9px rgba(10,55,61,.2))}50%{filter:brightness(1.12) drop-shadow(0 0 15px rgba(255,202,72,.65))}}@keyframes g3deSilentFlow{0%{left:-18px;transform:translateY(0) rotate(12deg)}45%{transform:translateY(-8px) rotate(5deg)}100%{left:112px;transform:translateY(2px) rotate(12deg)}}@keyframes g3deTimerPulse{0%,100%{box-shadow:inset 0 0 0 4px #6a9495,0 0 0 0 #ffc85477}50%{box-shadow:inset 0 0 0 4px #6a9495,0 0 0 16px #ffc85400}}@keyframes g3deBreath{0%,100%{opacity:.35;transform:scaleY(.7)}50%{opacity:1;transform:scaleY(1)}}
@keyframes g3dePackedArrive{0%{opacity:0;transform:translateY(-18px) scale(.6)}100%{opacity:1;transform:none}}
@media(max-width:1100px){.g3de-lab,.g3de-workspace{min-height:500px}.g3de-workspace{padding:22px 24px}.g3de-event-cards section{min-height:130px}.g3de-cycle b{min-height:96px}.g3de-block-stack{min-height:205px}.g3de-block-stack button{width:86px}}
@media(max-height:760px) and (min-width:721px){.grade3-duration-estimate-shell .teacher-classroom{padding:8px 0 14px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade3-duration-estimate-shell .lesson-avatar{height:190px}.grade3-duration-estimate-shell .teacher-bubble{min-height:86px;max-height:138px;overflow:auto;margin-top:7px;padding:11px;font-size:11px;line-height:1.35}.grade3-duration-estimate-shell .narration-controls{margin-top:5px}.grade3-duration-estimate-shell .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.grade3-duration-estimate-shell .raise-hand{min-height:50px;padding:5px 10px}.grade3-duration-estimate-shell .teaching-area{width:min(100%,calc(100vh - 205px))}.grade3-duration-estimate-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade3-duration-estimate-shell .g3de-lab,.grade3-duration-estimate-shell .g3de-workspace{min-height:420px}.grade3-duration-estimate-shell .g3de-workspace{padding:14px 18px}.grade3-duration-estimate-shell .g3de-intro,.grade3-duration-estimate-shell .g3de-references,.grade3-duration-estimate-shell .g3de-unit-task,.grade3-duration-estimate-shell .g3de-unit-finish,.grade3-duration-estimate-shell .g3de-cycle,.grade3-duration-estimate-shell .g3de-predict,.grade3-duration-estimate-shell .g3de-live-timer,.grade3-duration-estimate-shell .g3de-compare-screen,.grade3-duration-estimate-shell .g3de-star-predict,.grade3-duration-estimate-shell .g3de-star-run,.grade3-duration-estimate-shell .g3de-scale,.grade3-duration-estimate-shell .g3de-tower,.grade3-duration-estimate-shell .g3de-update-task,.grade3-duration-estimate-shell .g3de-update-finish,.grade3-duration-estimate-shell .g3de-repair,.grade3-duration-estimate-shell .g3de-repair-finish,.grade3-duration-estimate-shell .g3de-independent,.grade3-duration-estimate-shell .g3de-independent-finish,.grade3-duration-estimate-shell .g3de-final{padding:14px;gap:9px}.grade3-duration-estimate-shell .g3de-event-cards section{min-height:118px}.grade3-duration-estimate-shell .g3de-hidden-stopwatch,.grade3-duration-estimate-shell .g3de-timer-face{width:180px;height:180px}.grade3-duration-estimate-shell .g3de-block-stack{min-height:175px}.grade3-duration-estimate-shell .lesson-footer{min-height:56px;padding-top:5px}}
@media(max-width:720px){.g3de-lab{min-height:700px;border-radius:22px}.g3de-lab>img{object-position:center}.g3de-workspace{min-height:700px;padding:15px 10px}.g3de-workspace>div{width:100%}.g3de-intro,.g3de-references,.g3de-unit-task,.g3de-unit-finish,.g3de-cycle,.g3de-predict,.g3de-live-timer,.g3de-compare-screen,.g3de-star-predict,.g3de-star-run,.g3de-scale,.g3de-tower,.g3de-update-task,.g3de-update-finish,.g3de-repair,.g3de-repair-finish,.g3de-independent,.g3de-independent-finish,.g3de-final{padding:14px;gap:10px}.g3de-intro h1,.g3de-final h1{font-size:1.13rem}.g3de-event-cards{gap:6px}.g3de-event-cards section{min-height:118px;padding:7px}.g3de-event-cards section>i{width:50px;height:50px;font-size:1.45rem}.g3de-event-cards section>b{font-size:.63rem}.g3de-references>div{grid-template-columns:1fr;gap:7px}.g3de-references button{min-height:76px;grid-template-columns:48px 1fr;justify-items:start}.g3de-references button>i{grid-row:1/3}.g3de-unit-task>i,.g3de-update-task>i{width:95px;height:95px;font-size:3rem}.g3de-unit-finish>div{gap:7px}.g3de-cycle>div{grid-template-columns:repeat(5,1fr);gap:5px}.g3de-cycle>div>i{display:none}.g3de-cycle b{min-height:92px;padding:6px;font-size:.52rem}.g3de-cycle b>i{width:34px;height:34px}.g3de-hidden-stopwatch,.g3de-timer-face{width:190px;height:190px}.g3de-comparison{grid-template-columns:1fr}.g3de-comparison>strong{grid-column:1}.g3de-stars{gap:5px}.g3de-stars>b,.g3de-stars>button{min-height:82px;padding:5px}.g3de-stars i{font-size:1.4rem}.g3de-scale>div{grid-template-columns:1fr 1fr 1fr;gap:6px}.g3de-scale em{display:none}.g3de-scale button{min-height:125px;padding:7px}.g3de-scale button>b{font-size:.65rem}.g3de-block-stack{min-height:190px;gap:5px}.g3de-block-stack button{width:66px;height:58px}.g3de-result-table{gap:7px}.g3de-alternative{position:relative;right:auto;bottom:auto;margin:8px auto 0}.g3de-unit-strip{flex-wrap:wrap}.grade3-duration-estimate-footer .answer-cell{min-height:60px}}
@media(max-width:720px){.g3de-event-cards .g3de-asset{height:76px}.g3de-event-cards section{min-height:145px}.g3de-references button>img{grid-row:1/3;width:55px;height:58px}.g3de-unit-task .unit-asset{height:155px}.g3de-unit-finish>div img{height:78px}.g3de-scale button>img{height:70px}.g3de-pack-scene{grid-template-columns:1fr;gap:6px;min-height:420px;padding:8px}.g3de-pack-items{order:2}.g3de-pack-target{order:1;height:185px}.g3de-pack-item{min-height:84px;grid-template-columns:52px 1fr}.g3de-pack-item img{width:52px;height:60px}.g3de-pack-item.packing{transform:translate(0,-180px) scale(.25) rotate(8deg)}.g3de-update-task .update-asset,.g3de-independent .independent-asset{height:140px}}
@media(prefers-reduced-motion:reduce){.g3de-lab *{animation:none!important;transition:none!important}}

/* Grade 3 · Gram, kilogram ve ton · Kütle Laboratuvarı */
.grade3-mass-units-board{min-height:0;overflow:hidden;background:transparent}.g3mu-lab{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:24px;background:#dff4ef}.g3mu-lab>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.78) brightness(1.04);opacity:.31}.g3mu-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:clamp(12px,2vw,26px);box-sizing:border-box}.g3mu-workspace>div{width:min(100%,900px);max-height:100%;box-sizing:border-box}.g3mu-workspace h1,.g3mu-workspace h2,.g3mu-workspace p{margin:0;text-align:center}.g3mu-workspace h1{font-size:clamp(22px,3vw,38px);line-height:1.14;color:#083f4d}.g3mu-workspace h2{font-size:clamp(18px,2.2vw,28px);line-height:1.2;color:#073c4b}.g3mu-workspace button{font:inherit}.g3mu-intro,.g3mu-tools,.g3mu-balance-language,.g3mu-teacher-kilo,.g3mu-build-kilo,.g3mu-morph,.g3mu-parts,.g3mu-relation,.g3mu-relation-finish,.g3mu-unit,.g3mu-unit-finish,.g3mu-size-trap,.g3mu-ton-intro,.g3mu-ton-build,.g3mu-repair,.g3mu-repair-finish,.g3mu-scale-repair,.g3mu-scale-finish,.g3mu-independent,.g3mu-independent-finish,.g3mu-final{display:grid;gap:clamp(9px,1.6vh,18px);align-content:center;justify-items:center;background:rgba(248,255,253,.95);border:2px solid #83c9bd;border-radius:24px;padding:clamp(13px,2vw,26px);box-shadow:0 16px 34px rgba(5,66,69,.13)}
.g3mu-cotton-iron{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:min(650px,100%)}.g3mu-cotton-iron section,.g3mu-size-trap>div>section{display:grid;place-items:center;gap:4px;padding:12px;border:3px solid #9bcfc6;border-radius:18px;background:white;opacity:.3;transform:scale(.92);transition:.45s}.g3mu-cotton-iron i,.g3mu-size-trap section i{font-style:normal;font-size:50px}.g3mu-cotton-iron small{padding:4px 10px;border-radius:999px;background:#fff0bd;color:#815600;font-weight:900}.g3mu-intro.show-cotton .cotton,.g3mu-intro.show-iron .iron{opacity:1;transform:none}.g3mu-intro.show-balance .g3mu-balance{box-shadow:0 0 0 7px #f7b12f55}.g3mu-balance{position:relative;width:min(650px,100%);height:175px;border-radius:18px;background:#eefaf6;overflow:hidden;transition:.5s}.g3mu-beam{position:absolute;left:10%;right:10%;top:46px;height:12px;border-radius:8px;background:#c99022;transform-origin:center;transition:.55s}.g3mu-balance.left-heavy .g3mu-beam{transform:rotate(-7deg)}.g3mu-balance.right-heavy .g3mu-beam{transform:rotate(7deg)}.g3mu-beam>i{position:absolute;left:50%;top:-14px;width:30px;height:40px;transform:translateX(-50%);border-radius:15px;background:#0c7b71}.g3mu-beam section{position:absolute;top:13px;width:38%;height:82px;display:grid;place-items:center;align-content:center;border-bottom:9px solid #d1a13c;border-radius:0 0 50% 50%;background:#fff8da;color:#075a58;transition:.55s}.g3mu-beam section.left{left:-4%}.g3mu-beam section.right{right:-4%}.g3mu-beam section span{font-size:12px;font-weight:900}.g3mu-beam section b{font-size:17px}.g3mu-balance.left-heavy section.left{transform:translateY(22px)}.g3mu-balance.left-heavy section.right{transform:translateY(-22px)}.g3mu-balance.right-heavy section.left{transform:translateY(-22px)}.g3mu-balance.right-heavy section.right{transform:translateY(22px)}.g3mu-pivot{position:absolute;left:50%;bottom:18px;width:18px;height:96px;transform:translateX(-50%);background:#0c7b71;clip-path:polygon(50% 0,100% 100%,0 100%)}.g3mu-balance>small{position:absolute;right:10px;bottom:8px;padding:5px 8px;border-radius:9px;background:#0b756d;color:white;font-weight:900}.g3mu-intro .g3mu-balance{opacity:.4}.g3mu-intro.show-balance .g3mu-balance{opacity:1}
.g3mu-tools>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}.g3mu-tools button{min-height:145px;display:grid;place-items:center;align-content:center;gap:7px;border:3px solid #aed8d1;border-radius:19px;background:white;color:#075b58;cursor:pointer}.g3mu-tools button:hover,.g3mu-tools button:focus-visible,.g3mu-tools button:not(.done):first-of-type{border-color:#efa82b;box-shadow:0 0 0 5px #f9bc3d44}.g3mu-tools button.done{background:#ddf6ed;border-color:#3aa189}.g3mu-tools button i{font-style:normal;font-size:40px}.g3mu-tools button svg{width:76px;height:58px;overflow:visible;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.g3mu-tools button svg .screen{fill:#d9f4ee;stroke-width:3}.g3mu-hundred-blocks{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;width:100%}.g3mu-hundred-blocks i,.g3mu-hundred-blocks button{min-width:0;min-height:58px;display:grid;place-items:center;border:2px solid #9f731e;border-radius:8px;background:#f3c75e;color:#684800;font-style:normal;font-size:11px;font-weight:900;transition:.35s}.g3mu-teacher-kilo .g3mu-hundred-blocks i{opacity:.2;transform:translateY(-10px)}.g3mu-teacher-kilo[data-count="1"] .g3mu-hundred-blocks i:first-child,.g3mu-teacher-kilo[data-count="5"] .g3mu-hundred-blocks i:nth-child(-n+5),.g3mu-teacher-kilo[data-count="10"] .g3mu-hundred-blocks i{opacity:1;transform:none}.g3mu-teacher-kilo.balanced .g3mu-balance .g3mu-beam{transform:rotate(0)!important}.g3mu-hundred-blocks button{cursor:pointer}.g3mu-hundred-blocks button:disabled{opacity:.35}.g3mu-hundred-blocks button:not(:disabled){border-color:#f08b27;box-shadow:0 0 0 4px #f6ae3e44}.g3mu-hundred-blocks button.done{background:#45b9a6;color:white;transform:translateY(-5px)}
.g3mu-morph-model{width:min(700px,100%);min-height:150px;display:flex;align-items:center;justify-content:center;gap:6px;padding:16px;border-radius:20px;background:#e9fbf5}.g3mu-morph-model i{flex:1;display:grid;place-items:center;height:70px;border:2px solid #a37218;border-radius:8px;background:#f5cd69;font-style:normal;font-size:11px;font-weight:900}.g3mu-morph-model b{min-width:260px;padding:30px;border:4px solid #be8823;border-radius:20px;background:#f6cb63;text-align:center;font-size:40px;color:#694900}.g3mu-parts>div{display:grid;grid-template-columns:repeat(4,1fr);width:min(720px,100%);min-height:130px}.g3mu-parts>div i{display:grid;place-items:center;border:3px solid #a97720;background:#f2c961;font-style:normal;transition:.5s}.g3mu-parts.step-0>div i:not(:first-child){display:none}.g3mu-parts.step-0>div i:first-child{grid-column:1/-1}.g3mu-parts.step-1>div i:nth-child(n+3){display:none}.g3mu-parts.step-1>div i:nth-child(-n+2){grid-column:span 2;background:#8dd9c9}.g3mu-parts.step-2>div i{background:#70cab8}.g3mu-kilo-packs{min-width:min(620px,90%);min-height:115px;display:grid;place-items:center;padding:18px;border:3px dashed #0d8b80;border-radius:20px;background:repeating-linear-gradient(90deg,#e8fff9 0 98px,#0d8b8033 98px 100px);font-size:clamp(25px,4vw,44px);font-weight:900;color:#075a56}
.g3mu-unit>i{width:110px;height:110px;display:grid;place-items:center;border:3px solid #e2aa35;border-radius:25px;background:#fff1bc;font-style:normal;font-size:58px;color:#075b58}.g3mu-unit-finish>div,.g3mu-final>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.g3mu-unit-finish b,.g3mu-final>div>b{min-width:145px;padding:16px;border:2px solid #62beb2;border-radius:17px;background:white;color:#075b58;text-align:center}.g3mu-unit-finish small,.g3mu-final small{display:block;margin-top:5px;font-size:12px}.g3mu-size-trap>div{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:min(620px,100%)}.g3mu-size-trap>div>section{opacity:1}.g3mu-ton-intro>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%}.g3mu-ton-intro section{min-height:135px;display:grid;place-items:center;gap:6px;padding:12px;border:3px solid #acd6ce;border-radius:19px;background:white;opacity:.25;transform:scale(.9);transition:.45s}.g3mu-ton-intro section i{font-style:normal;font-size:50px}.g3mu-ton-intro.show-truck .truck,.g3mu-ton-intro.show-elephant .elephant,.g3mu-ton-intro.show-ship .ship{opacity:1;transform:none;border-color:#e4a62d}.g3mu-ton-build>div{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:100%}.g3mu-ton-build button{min-height:78px;display:grid;place-items:center;border:3px solid #a87622;border-radius:10px;background:#efd082;color:#6d4d0b;cursor:pointer}.g3mu-ton-build button:disabled{opacity:.35}.g3mu-ton-build button:not(:disabled){border-color:#ec8624;box-shadow:0 0 0 5px #f7b03444}.g3mu-ton-build button.done{background:#45b9a6;color:white;transform:translateY(-4px)}.g3mu-ton-build p{color:#4f6768;font-weight:800}
.g3mu-broken-claim{padding:14px 20px;border:3px dashed #dc6d5a;border-radius:17px;background:#fff0ea;color:#9b3f32;font-size:clamp(18px,2.1vw,27px);font-weight:900}.g3mu-broken-claim i{display:inline-grid;place-items:center;width:28px;height:28px;margin-left:8px;border-radius:50%;background:#dc6857;color:white}.g3mu-repair-finish>div,.g3mu-scale-finish>div,.g3mu-independent-finish>div{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3mu-repair-finish b,.g3mu-scale-finish b,.g3mu-independent-finish b{padding:13px 17px;border:2px solid #5bb8ac;border-radius:14px;background:white;color:#075b58}.g3mu-independent>div{width:min(700px,100%);min-height:110px;display:grid;place-items:center;font-size:clamp(23px,3vw,40px);font-weight:900;color:#075b58}.g3mu-independent .g3mu-balance{transform:scale(.78);margin:-25px}.g3mu-final{background:linear-gradient(145deg,#e6fff8,#fff0c1)}.g3mu-final>span{padding:8px 15px;border-radius:999px;background:#087f74;color:white;font-weight:900}.g3mu-final p{font-size:clamp(14px,1.8vw,21px);font-weight:900;color:#79580e}.g3mu-alternative{position:absolute;z-index:12;left:4%;right:4%;bottom:4%;display:grid;gap:8px;padding:14px;border:3px solid #eeaa2e;border-radius:18px;background:#fffdf4;box-shadow:0 15px 32px #1235;text-align:center}.g3mu-alt-blocks{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.g3mu-alt-blocks i{min-height:36px;display:grid;place-items:center;background:#efca69;border:2px solid #9d711e;font-style:normal;font-size:10px}.g3mu-alt-parts,.g3mu-alt-units{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}.g3mu-alt-parts b,.g3mu-alt-units b{padding:8px 13px;border-radius:11px;background:#e4f7f2;color:#075b58}.g3mu-alt-units small{display:block}.show-g3mu-guides .g3mu-balance,.show-g3mu-guides .g3mu-hundred-blocks,.show-g3mu-guides .g3mu-kilo-packs{box-shadow:0 0 0 7px #f5a62355}
.g3mu-object-visual{display:grid;place-items:center;gap:5px;width:min(280px,82%);margin:0}.g3mu-object-visual img{display:block;width:100%;height:clamp(105px,20vh,165px);object-fit:contain;filter:drop-shadow(0 9px 10px #163f4933)}.g3mu-object-visual figcaption{padding:4px 10px;border-radius:999px;background:#e2f5ef;color:#08736a;font-size:12px;font-weight:900}.g3mu-cotton-iron section,.g3mu-size-trap>div>section{min-height:155px}.g3mu-cotton-iron img,.g3mu-size-trap section img{display:block;width:100%;height:100px;object-fit:contain;filter:drop-shadow(0 7px 8px #173d4330)}.g3mu-ton-intro section img{display:block;width:100%;height:105px;object-fit:contain;filter:drop-shadow(0 7px 8px #173d4330)}.g3mu-scale-evidence{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(220px,1.2fr);align-items:center;gap:14px;width:min(680px,100%)}.g3mu-scale-evidence .g3mu-object-visual{width:100%}.g3mu-scale-evidence .g3mu-object-visual img{height:125px}.g3mu-fraction-card{display:grid;place-items:center;gap:6px;width:min(360px,100%);padding:15px;border:3px solid #68bfb3;border-radius:18px;background:linear-gradient(90deg,#def5ef 50%,#fff 50%)}.g3mu-fraction-card.quarter{background:linear-gradient(90deg,#def5ef 25%,#fff 25% 50%,#def5ef 50% 75%,#fff 75%)}.g3mu-fraction-card b{font-size:36px;color:#08756c}.g3mu-fraction-card span{font-size:12px;color:#4d6766;text-align:center}.g3mu-independent .g3mu-object-visual{width:min(310px,88%)}.g3mu-independent .g3mu-object-visual img{height:135px}
@media(max-width:720px){.g3mu-workspace{padding:8px}.g3mu-workspace>div{padding:9px;gap:7px;border-radius:16px}.g3mu-workspace h1{font-size:19px}.g3mu-workspace h2{font-size:16px}.g3mu-balance{height:135px}.g3mu-beam{top:34px}.g3mu-pivot{height:75px}.g3mu-cotton-iron i,.g3mu-size-trap section i{font-size:35px}.g3mu-tools>div{gap:6px}.g3mu-tools button{min-height:100px;padding:5px}.g3mu-tools button i{font-size:30px}.g3mu-tools button b{font-size:10px}.g3mu-hundred-blocks{grid-template-columns:repeat(5,1fr)}.g3mu-hundred-blocks i,.g3mu-hundred-blocks button{min-height:38px}.g3mu-morph-model{min-height:90px;padding:8px}.g3mu-morph-model i{height:45px;font-size:8px}.g3mu-morph-model b{min-width:170px;padding:18px;font-size:28px}.g3mu-parts>div{min-height:80px}.g3mu-kilo-packs{min-height:72px;padding:10px}.g3mu-unit>i{width:72px;height:72px;font-size:40px}.g3mu-ton-intro section{min-height:90px;padding:5px}.g3mu-ton-intro section i{font-size:34px}.g3mu-ton-intro section b{font-size:10px}.g3mu-ton-build button{min-height:54px}.g3mu-alternative{left:2%;right:2%;bottom:2%;font-size:11px}.g3mu-alt-blocks i{min-height:25px;font-size:7px}.g3mu-final p{font-size:12px}.g3mu-object-visual img{height:92px}.g3mu-cotton-iron section,.g3mu-size-trap>div>section{min-height:110px}.g3mu-cotton-iron img,.g3mu-size-trap section img{height:64px}.g3mu-ton-intro section img{height:62px}.g3mu-scale-evidence{grid-template-columns:1fr;gap:5px}.g3mu-scale-evidence .g3mu-object-visual img{height:75px}.g3mu-scale-evidence .g3mu-broken-claim{font-size:15px}.g3mu-independent .g3mu-object-visual img{height:88px}.g3mu-fraction-card{padding:8px}.g3mu-fraction-card b{font-size:27px}}
@media(max-height:760px) and (min-width:721px){.grade3-mass-units-shell .teacher-classroom{padding:8px 0 14px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade3-mass-units-shell .lesson-avatar{height:190px}.grade3-mass-units-shell .teacher-bubble{min-height:86px;max-height:138px;overflow:auto;margin-top:7px;padding:11px;font-size:11px;line-height:1.35}.grade3-mass-units-shell .narration-controls{margin-top:5px}.grade3-mass-units-shell .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.grade3-mass-units-shell .raise-hand{min-height:50px;padding:5px 10px}.grade3-mass-units-shell .teaching-area{width:min(100%,calc(100vh - 205px))}.grade3-mass-units-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade3-mass-units-shell .g3mu-lab,.grade3-mass-units-shell .g3mu-workspace{min-height:420px}.grade3-mass-units-shell .g3mu-workspace{padding:11px 14px}.grade3-mass-units-shell .g3mu-workspace>div{padding:11px;gap:6px}.grade3-mass-units-shell .g3mu-balance{height:140px}.grade3-mass-units-shell .g3mu-beam{top:35px}.grade3-mass-units-shell .g3mu-pivot{height:75px}.grade3-mass-units-shell .g3mu-tools button{min-height:105px}.grade3-mass-units-shell .g3mu-final{max-height:390px;overflow:auto}.grade3-mass-units-shell .g3mu-final h1{font-size:25px}.grade3-mass-units-shell .g3mu-final p{font-size:14px}.grade3-mass-units-shell .lesson-footer{min-height:56px;padding-top:5px}}
@media(prefers-reduced-motion:reduce){.g3mu-lab *{animation:none!important;transition:none!important}}

/* 3. Sınıf · Madenî ve Kâğıt Paralar */
.grade3-money-board{min-height:0;overflow:hidden;background:transparent}.g3mo-studio{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:24px;background:#e4f5ef}.g3mo-studio>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.8) brightness(1.06);opacity:.3}.g3mo-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:clamp(12px,2vw,25px);box-sizing:border-box}.g3mo-workspace>div{width:min(100%,900px);max-height:100%;box-sizing:border-box}.g3mo-workspace h1,.g3mo-workspace h2,.g3mo-workspace p{margin:0;text-align:center}.g3mo-workspace h1{font-size:clamp(21px,2.8vw,36px);line-height:1.15;color:#083f4d}.g3mo-workspace h2{font-size:clamp(17px,2.1vw,26px);line-height:1.2;color:#073c4b}.g3mo-hook,.g3mo-purpose,.g3mo-types,.g3mo-teacher-trade,.g3mo-student-trade,.g3mo-hundred-model,.g3mo-hundred-task,.g3mo-hundred-finish,.g3mo-read-value,.g3mo-build-value,.g3mo-two-wallets,.g3mo-two-hundred,.g3mo-above,.g3mo-piece-trap,.g3mo-convert,.g3mo-convert-finish,.g3mo-independent,.g3mo-independent-finish,.g3mo-final{display:grid;gap:clamp(8px,1.5vh,16px);align-content:center;justify-items:center;background:rgba(249,255,253,.96);border:2px solid #7bc4b8;border-radius:24px;padding:clamp(12px,2vw,24px);box-shadow:0 16px 34px rgba(5,66,69,.13)}
.g3mo-token{position:relative;display:inline-grid;place-items:center;align-content:center;width:58px;aspect-ratio:1;border:3px solid #b68425;border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff1a9,#d7a83b 72%);color:#5e4210;box-shadow:inset 0 0 0 4px #f9d873,0 4px 8px #6b431c2f;font-style:normal;box-sizing:border-box;vertical-align:middle;transition:.35s}.g3mo-token b{font-size:17px;line-height:1}.g3mo-token small{font-size:8px;font-weight:900}.g3mo-token.note{width:98px;aspect-ratio:1.85;border-radius:9px;border-color:#188678;background:linear-gradient(145deg,#c7f0e4,#70c4b1);color:#07564e;box-shadow:inset 0 0 0 4px #ecfff8,0 4px 8px #1f6d6030}.g3mo-token.note b{font-size:21px}.g3mo-token.note small{font-size:9px}.g3mo-five-trade{display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:center;width:100%}.g3mo-five-trade section{display:flex;gap:5px;justify-content:center;align-items:center;min-height:105px;padding:10px;border-radius:18px;background:#edf8f5}.g3mo-five-trade>i{font-style:normal;font-size:42px;color:#ef792f}.g3mo-hook .g3mo-five-trade section:first-child .g3mo-token,.g3mo-hook .g3mo-five-trade section:last-child .g3mo-token{opacity:.12;transform:translateY(-15px)}.g3mo-hook.show-coins .g3mo-five-trade section:first-child .g3mo-token,.g3mo-hook.show-note .g3mo-five-trade section:last-child .g3mo-token{opacity:1;transform:none}.g3mo-hook.show-equal .g3mo-five-trade>i{font-size:0}.g3mo-hook.show-equal .g3mo-five-trade>i:after{content:'=';font-size:42px;color:#07867a}.g3mo-purpose>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center;width:100%}.g3mo-purpose section{min-height:110px;display:grid;place-items:center;align-content:center;gap:4px;border:3px solid #b6dcd5;border-radius:18px;background:white}.g3mo-purpose section>i{font-style:normal;font-size:42px}.g3mo-purpose>div>i{font-style:normal;font-size:28px;color:#ef762f}.g3mo-types{grid-template-columns:1fr 1fr}.g3mo-types>.board-kicker,.g3mo-types>p{grid-column:1/-1}.g3mo-types>section{width:100%;display:grid;gap:8px;padding:10px;border-radius:18px;background:#f1faf7}.g3mo-types section>div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.g3mo-types .g3mo-token{width:48px}.g3mo-types .g3mo-token.note{width:76px}.g3mo-types p{font-weight:900;color:#08685f}.g3mo-trade-track{display:flex;justify-content:center;align-items:center;gap:5px;width:100%;min-height:115px}.g3mo-trade-track>i{font-style:normal;opacity:.15;transform:translateY(-18px);transition:.35s}.g3mo-trade-track>b{font-size:30px;color:#ef762f}.g3mo-teacher-trade .g3mo-token.result{opacity:.12;transform:scale(.7)}.g3mo-teacher-trade[data-count="1"] [data-trade-coin="0"],.g3mo-teacher-trade[data-count="2"] [data-trade-coin]:nth-child(-n+2),.g3mo-teacher-trade[data-count="3"] [data-trade-coin]:nth-child(-n+3),.g3mo-teacher-trade[data-count="4"] [data-trade-coin]:nth-child(-n+4),.g3mo-teacher-trade[data-count="5"] [data-trade-coin]{opacity:1;transform:none}.g3mo-teacher-trade.show-result .g3mo-trade-track>i{opacity:.1;transform:scale(.55)}.g3mo-teacher-trade.show-result .g3mo-token.result{opacity:1;transform:none;box-shadow:0 0 0 7px #f4af2e4d}.g3mo-trade-buttons,.g3mo-build-strip{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.g3mo-trade-buttons button,.g3mo-build-strip button{border:0;background:transparent;padding:3px;cursor:pointer}.g3mo-trade-buttons button:disabled,.g3mo-build-strip button:disabled{opacity:.28;cursor:default}.g3mo-trade-buttons button:not(:disabled):not(.done),.g3mo-build-strip button:not(:disabled):not(.done){border-radius:15px;box-shadow:0 0 0 5px #f6ac374f}.g3mo-trade-buttons button.done .g3mo-token,.g3mo-build-strip button.done .g3mo-token{transform:translateY(15px);opacity:.45}.g3mo-exchange-note{opacity:.15;transform:scale(.72);transition:.5s}.g3mo-exchange-note.ready{opacity:1;transform:none}.g3mo-hundred-model>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.g3mo-hundred-model section{min-height:112px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;padding:8px;border-radius:17px;background:#eef9f6}.g3mo-hundred-model section b{width:100%;text-align:center;color:#08756b}.g3mo-hundred-model .g3mo-token,.g3mo-hundred-task .g3mo-token{width:45px}.g3mo-hundred-task>div,.g3mo-convert>div,.g3mo-independent>div{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;min-height:110px;padding:10px;border-radius:18px;background:#eef9f6;width:100%}.g3mo-hundred-finish>div,.g3mo-convert-finish>div,.g3mo-independent-finish>div{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3mo-hundred-finish b,.g3mo-convert-finish b,.g3mo-independent-finish b{padding:10px;border-radius:12px;background:#dff4ed;color:#066a61}.g3mo-hundred-finish i,.g3mo-convert-finish i,.g3mo-independent-finish i{font-style:normal;color:#ef762f;font-size:24px}.g3mo-value-parts{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%}.g3mo-value-parts section{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;min-height:125px;padding:12px;border:3px solid #add8d0;border-radius:18px;background:white}.g3mo-read-value h1{display:flex;gap:7px;align-items:center;justify-content:center;flex-wrap:wrap}.g3mo-read-value h1>b{padding:7px 10px;border-radius:10px;background:#e8f7f2}.g3mo-read-value h1>i{font-style:normal;color:#ef762f}.g3mo-read-value h1>strong{color:#08756b}.g3mo-two-wallets>div{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;width:100%}.g3mo-two-wallets section{min-height:140px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;padding:10px;border:3px solid #add8d0;border-radius:20px;background:white}.g3mo-two-wallets section h2{width:100%}.g3mo-two-wallets>div>i{font-style:normal;font-size:40px;color:#07867a}.g3mo-two-hundred>div,.g3mo-above>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;min-height:125px;align-items:center}.g3mo-piece-trap>div{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;width:100%;align-items:center}.g3mo-piece-trap section{min-height:145px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;padding:8px;border-radius:18px;background:#eef9f6}.g3mo-piece-trap section b{width:100%;text-align:center}.g3mo-piece-trap>div>i{font-style:normal;font-size:36px;color:#ef762f}.g3mo-piece-trap .g3mo-token{width:41px}.g3mo-final>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.g3mo-final>div>b{display:grid;place-items:center;gap:5px;min-height:105px;border-radius:18px;background:#def4ec;color:#075e58;font-size:22px}.g3mo-final small{font-size:13px}.g3mo-alternative{position:absolute;z-index:8;left:7%;right:7%;bottom:4%;display:grid;gap:6px;justify-items:center;padding:10px;border:3px solid #efab31;border-radius:18px;background:#fffdf4;box-shadow:0 12px 25px #573e1838}.g3mo-alt-five,.g3mo-alt-wallet{display:flex;align-items:center;justify-content:center;gap:5px}.g3mo-alt-five .g3mo-token{width:35px}.g3mo-alt-five .g3mo-token.note{width:62px}.g3mo-alt-five>i,.g3mo-alt-wallet>i{font-style:normal;color:#ef762f;font-size:24px}.g3mo-alt-hundred{display:grid;grid-template-columns:repeat(10,1fr);gap:3px;width:100%}.g3mo-alt-hundred i{display:grid;place-items:center;min-height:28px;border-radius:6px;background:#f4c660;color:#5b3e0a;font-size:9px;font-style:normal;font-weight:900}.g3mo-alt-wallet b{padding:7px 12px;border-radius:10px;background:#def4ec}.grade3-money-board.show-g3mo-guides .g3mo-token{box-shadow:inset 0 0 0 4px #f9d873,0 0 0 5px #f49c2d55}.g3mo-studio.finish>img{opacity:.42}
@media(max-width:720px){.g3mo-workspace{padding:8px}.g3mo-workspace>div{padding:9px;gap:6px;border-radius:16px}.g3mo-workspace h1{font-size:19px}.g3mo-workspace h2{font-size:16px}.g3mo-token{width:43px}.g3mo-token b{font-size:13px}.g3mo-token.note{width:72px}.g3mo-token.note b{font-size:16px}.g3mo-five-trade{gap:5px}.g3mo-five-trade section{min-height:80px;padding:5px}.g3mo-purpose>div{gap:4px}.g3mo-purpose section{min-height:80px;padding:4px}.g3mo-purpose section>i{font-size:30px}.g3mo-types{gap:5px}.g3mo-types>section{padding:5px}.g3mo-types .g3mo-token{width:35px}.g3mo-types .g3mo-token.note{width:55px}.g3mo-trade-track{min-height:85px}.g3mo-hundred-model>div{gap:4px}.g3mo-hundred-model section{min-height:84px;padding:4px}.g3mo-hundred-model .g3mo-token,.g3mo-hundred-task .g3mo-token{width:34px}.g3mo-hundred-task>div,.g3mo-convert>div,.g3mo-independent>div{min-height:75px;padding:5px}.g3mo-value-parts section{min-height:85px;padding:5px}.g3mo-two-wallets section{min-height:100px;padding:5px}.g3mo-two-wallets>div{gap:5px}.g3mo-two-hundred>div,.g3mo-above>div{min-height:85px}.g3mo-piece-trap section{min-height:100px}.g3mo-piece-trap .g3mo-token{width:30px}.g3mo-final>div>b{min-height:70px;font-size:15px}.g3mo-alternative{left:2%;right:2%;bottom:2%;font-size:10px}}
@media(max-height:760px) and (min-width:721px){.grade3-money-shell .teacher-classroom{padding:8px 0 14px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade3-money-shell .lesson-avatar{height:190px}.grade3-money-shell .teacher-bubble{min-height:86px;max-height:138px;overflow:auto;margin-top:7px;padding:11px;font-size:11px;line-height:1.35}.grade3-money-shell .narration-controls{margin-top:5px}.grade3-money-shell .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.grade3-money-shell .raise-hand{min-height:50px;padding:5px 10px}.grade3-money-shell .teaching-area{width:min(100%,calc(100vh - 205px))}.grade3-money-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade3-money-shell .g3mo-studio,.grade3-money-shell .g3mo-workspace{min-height:420px}.grade3-money-shell .g3mo-workspace{padding:11px 14px}.grade3-money-shell .g3mo-workspace>div{padding:11px;gap:6px}.grade3-money-shell .g3mo-token{width:43px}.grade3-money-shell .g3mo-token.note{width:74px}.grade3-money-shell .g3mo-final{max-height:390px;overflow:auto}.grade3-money-shell .lesson-footer{min-height:56px;padding-top:5px}}
@media(prefers-reduced-motion:reduce){.g3mo-studio *{animation:none!important;transition:none!important}}
/* Money lesson: concrete visuals and narration-synchronised evidence */
.g3mo-purpose section{opacity:.45;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease,box-shadow .35s ease}.g3mo-purpose.show-good section.good,.g3mo-purpose.show-service section.service,.g3mo-purpose.show-money section.money{opacity:1;transform:none;box-shadow:0 0 0 5px rgb(247 171 45 / 42%)}.g3mo-purpose section img{display:block;width:100%;height:78px;object-fit:contain;filter:drop-shadow(0 7px 5px rgb(33 68 59 / 18%))}.g3mo-repair-visual{display:block;width:100%;height:78px;overflow:visible}.g3mo-repair-visual .wheel{fill:none;stroke:#174b65;stroke-width:7}.g3mo-repair-visual .hub{fill:#f3a63d}.g3mo-repair-visual .frame{fill:none;stroke:#1d9f93;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}.g3mo-repair-visual .wrench{fill:#b8c6ca;stroke:#52666d;stroke-width:3}.g3mo-repair-visual .hand{fill:#f1ae7c;stroke:#bb724e;stroke-width:2}.g3mo-types>section{transition:opacity .3s ease,transform .3s ease,box-shadow .3s ease}.g3mo-types.focus-coins>section:first-of-type,.g3mo-types.focus-notes>section:last-of-type{box-shadow:0 0 0 5px rgb(247 171 45 / 42%);transform:translateY(-4px)}.g3mo-types.focus-five .g3mo-token[aria-label="5 TL"]{box-shadow:inset 0 0 0 4px #f9d873,0 0 0 6px rgb(247 171 45 / 48%)}.g3mo-hundred-model section{transition:opacity .28s ease,transform .28s ease,box-shadow .28s ease}.g3mo-hundred-model[data-focus="1"] section:nth-child(1),.g3mo-hundred-model[data-focus="2"] section:nth-child(2),.g3mo-hundred-model[data-focus="3"] section:nth-child(3),.g3mo-hundred-model[data-focus="all"] section{box-shadow:0 0 0 5px rgb(247 171 45 / 42%);transform:translateY(-4px)}.g3mo-value-parts section,.g3mo-read-value h1{transition:box-shadow .3s ease,transform .3s ease}.g3mo-read-value.focus-lira .g3mo-value-parts section:first-child,.g3mo-read-value.focus-kurus .g3mo-value-parts section:last-child{box-shadow:0 0 0 5px rgb(247 171 45 / 42%);transform:translateY(-4px)}.g3mo-read-value.focus-result h1{padding:6px;border-radius:14px;box-shadow:0 0 0 5px rgb(247 171 45 / 42%)}.g3mo-two-hundred>div,.g3mo-above>div{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:9px}.g3mo-two-hundred section,.g3mo-above section{min-height:115px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;padding:8px;border-radius:17px;background:#eef9f6;opacity:.12;transform:translateY(12px);transition:.4s ease}.g3mo-two-hundred section>b,.g3mo-above section>b{width:100%;color:#08756b;text-align:center}.g3mo-above section>i{color:#ef762f;font-style:normal;font-size:24px;font-weight:900}.g3mo-two-hundred[data-show="1"] section:nth-child(1),.g3mo-two-hundred[data-show="2"] section:nth-child(-n+2),.g3mo-two-hundred[data-show="3"] section,.g3mo-above[data-show="1"] section:nth-child(1),.g3mo-above[data-show="2"] section:nth-child(-n+2),.g3mo-above[data-show="3"] section{opacity:1;transform:none}.g3mo-two-hundred[data-show="2"] section:nth-child(2),.g3mo-two-hundred[data-show="3"] section:nth-child(3),.g3mo-above[data-show="2"] section:nth-child(2),.g3mo-above[data-show="3"] section:nth-child(3){box-shadow:0 0 0 5px rgb(247 171 45 / 42%)}
@media(max-width:720px){.g3mo-purpose section{min-height:84px}.g3mo-purpose section img,.g3mo-repair-visual{height:58px}.g3mo-two-hundred>div,.g3mo-above>div{min-height:85px;gap:4px}.g3mo-two-hundred section,.g3mo-above section{min-height:90px;padding:4px}.g3mo-two-hundred section .g3mo-token.note,.g3mo-above section .g3mo-token.note{width:48px}}

.grade3-theme2-assessment-board{min-height:0;overflow:hidden;background:transparent}.g3t2-hub{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:24px;background:#e8f5ef}.g3t2-hub>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.82) brightness(1.04);opacity:.34}.g3t2-workspace{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:clamp(12px,2vw,25px);box-sizing:border-box}.g3t2-workspace>div{width:min(100%,900px);max-height:100%;box-sizing:border-box}.g3t2-workspace h1,.g3t2-workspace h2,.g3t2-workspace p{margin:0;text-align:center}.g3t2-workspace h1{font-size:clamp(21px,2.7vw,35px);line-height:1.15;color:#083f4d}.g3t2-workspace h2{font-size:clamp(17px,2.1vw,25px);line-height:1.22;color:#073c4b}.g3t2-intro,.g3t2-fraction-reminder,.g3t2-question,.g3t2-time-reminder,.g3t2-duration,.g3t2-length-reminder,.g3t2-mass-reminder,.g3t2-money-reminder,.g3t2-station-complete,.g3t2-final{display:grid;gap:clamp(8px,1.5vh,16px);align-content:center;justify-items:center;background:rgba(250,255,253,.97);border:2px solid #75c1b5;border-radius:24px;padding:clamp(13px,2vw,24px);box-shadow:0 16px 34px rgba(5,66,69,.15)}
.g3t2-station-lights{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;width:100%}.g3t2-station-lights i{display:grid;place-items:center;min-height:82px;border-radius:18px;background:#e3f3ee;color:#087a70;font-size:34px;font-style:normal;opacity:.2;transform:translateY(12px);transition:.45s}.g3t2-intro[data-light="1"] i:nth-child(-n+1),.g3t2-intro[data-light="2"] i:nth-child(-n+2),.g3t2-intro[data-light="3"] i:nth-child(-n+3),.g3t2-intro[data-light="4"] i:nth-child(-n+4),.g3t2-intro[data-light="5"] i{opacity:1;transform:none;box-shadow:0 0 0 4px #f0a22d45}.g3t2-fruit{position:relative;display:grid;grid-template-columns:1fr 1fr;width:190px;height:190px;gap:0}.g3t2-fruit i{display:block;background:linear-gradient(145deg,#ffd351,#f18a2f);border:3px solid #9a5a18;transition:.65s}.g3t2-fruit i:nth-child(1){border-radius:100% 0 0}.g3t2-fruit i:nth-child(2){border-radius:0 100% 0 0}.g3t2-fruit i:nth-child(3){border-radius:0 0 0 100%}.g3t2-fruit i:nth-child(4){border-radius:0 0 100%}.g3t2-fraction-reminder:not([data-step]) .g3t2-fruit i{opacity:.18;transform:scale(.65)}.g3t2-fraction-reminder[data-step="half"] .g3t2-fruit{column-gap:18px}.g3t2-fraction-reminder[data-step="quarter"] .g3t2-fruit{gap:14px}.g3t2-fraction-reminder[data-step="whole"] .g3t2-fruit{gap:0}.g3t2-fraction-labels,.g3t2-time-chain,.g3t2-length-scale,.g3t2-mass-scale,.g3t2-station-complete>div,.g3t2-duration.compare>div,.g3t2-alt-chain{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3t2-fraction-labels b,.g3t2-time-chain b,.g3t2-length-scale b,.g3t2-mass-scale b,.g3t2-station-complete b,.g3t2-duration.compare b,.g3t2-alt-chain b{padding:9px 13px;border-radius:12px;background:#def3ed;color:#086a62}.g3t2-fraction-labels i,.g3t2-time-chain i,.g3t2-length-scale i,.g3t2-mass-scale i,.g3t2-station-complete i,.g3t2-duration.compare i,.g3t2-alt-chain i{font-style:normal;color:#ed762d;font-size:24px}.g3t2-length-scale small,.g3t2-mass-scale small,.g3t2-alt-chain small{display:block;font-size:10px}.g3t2-grid{display:grid;gap:5px;width:min(100%,360px);padding:10px;border:3px solid #0a8479;border-radius:16px;background:white}.g3t2-grid.eight{grid-template-columns:repeat(4,1fr)}.g3t2-grid.four{grid-template-columns:repeat(4,1fr)}.g3t2-grid i{min-height:72px;border:2px solid #6dbdb2;border-radius:9px;background:#ecf8f4}.g3t2-grid i.selected{background:#f5ad42;box-shadow:inset 0 0 0 3px #fff6d7}.g3t2-clock{display:grid;grid-template-columns:190px auto;align-items:center;gap:20px}.g3t2-clock svg{width:190px;filter:drop-shadow(0 8px 10px #23433b27)}.g3t2-clock svg>circle:first-child{fill:#fffdf5;stroke:#0b877c;stroke-width:6}.g3t2-clock svg>line{stroke:#48756f;stroke-width:3}.g3t2-clock g{transform-origin:100px 100px;transition:1s}.g3t2-clock .hour line{stroke:#f07831;stroke-width:10;stroke-linecap:round}.g3t2-clock .minute line{stroke:#087c72;stroke-width:7;stroke-linecap:round}.g3t2-clock .pin{fill:#093f49}.g3t2-clock>b{padding:16px 20px;border-radius:16px;background:#073f4a;color:white;font-size:34px;letter-spacing:2px}.g3t2-breath{padding:20px 30px;border-radius:60px;background:#e1f4ee;color:#08776d;font-size:28px}.g3t2-breath i{font-style:normal;font-size:18px}.g3t2-timer{position:relative;width:min(100%,520px);height:62px;overflow:hidden;border:4px solid #0a8579;border-radius:31px;background:#e9f6f2}.g3t2-timer i{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,#f5b43e,#ef7730)}.g3t2-timer b{position:relative;z-index:2;display:grid;place-items:center;height:100%;color:#073f49;font-size:23px}.g3t2-duration.running .g3t2-timer i{animation:g3t2Timer 1.8s linear forwards}@keyframes g3t2Timer{to{width:100%}}.g3t2-ruler{position:relative;display:grid;grid-template-columns:repeat(11,1fr);align-items:end;width:100%;min-height:110px;padding:13px 9px 34px;border-radius:15px;background:#fff4bd;border:3px solid #d39a25}.g3t2-ruler>b,.g3t2-ruler>i{position:relative;text-align:center;font-style:normal;font-size:10px}.g3t2-ruler>b:after,.g3t2-ruler>i:after{content:"";display:block;width:2px;height:42px;margin:auto;background:#714b1a}.g3t2-ruler strong{position:absolute;left:0;right:0;bottom:6px;text-align:center;color:#08736a}.g3t2-mini-ruler{display:grid;grid-template-columns:repeat(9,1fr);align-items:end;width:min(100%,470px);min-height:105px;padding:10px 8px 30px;border:3px solid #d49a25;border-radius:15px;background:#fff4be}.g3t2-mini-ruler>b,.g3t2-mini-ruler>i{border-right:2px solid #6f4c1d;height:48px;text-align:center}.g3t2-mini-ruler strong{grid-column:1/-1;text-align:center;color:#08776c}.g3t2-road{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:min(100%,520px)}.g3t2-road b{padding:12px;border-radius:13px;background:#0b857a;color:white}.g3t2-road i{position:relative;padding:12px;text-align:center;font-style:normal;color:#b85d21;border-bottom:5px dashed #ef7c31}.g3t2-truck{display:grid;justify-items:center;gap:7px;padding:18px 35px;border-radius:18px;background:#e4f2ed;color:#08756b;font-size:58px}.g3t2-truck b{font-size:17px}.g3t2-money-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;width:100%}.g3t2-money-row section{display:flex;justify-content:center;align-items:center;gap:5px;min-height:95px;padding:8px;border-radius:16px;background:#ebf7f3}.g3t2-money-row>i{font-style:normal;font-size:29px;color:#ef762f}.g3t2-money-reminder .g3t2-money-row section:last-child{opacity:.2;transform:scale(.7);transition:.5s}.g3t2-money-reminder.show-one .g3t2-money-row:first-of-type section:last-child,.g3t2-money-reminder.show-five .g3t2-money-row:nth-of-type(2) section:last-child{opacity:1;transform:none}.g3t2-money-mini,.g3t2-mass-card{display:flex;align-items:center;justify-content:center;gap:8px;min-height:110px}.g3t2-money-mini>i,.g3t2-mass-card>i{font-style:normal;font-size:26px;color:#ef762f}.g3t2-mass-card b{padding:18px;border-radius:14px;background:#def3ed;font-size:27px;color:#08756b}.g3t2-station-complete>div{width:100%}.g3t2-final-badges{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:100%}.g3t2-final-badges b{display:grid;place-items:center;gap:4px;min-height:90px;border-radius:17px;background:#def4ed;color:#08756b;font-size:29px}.g3t2-final-badges small{font-size:10px}.g3t2-alternative{position:absolute;z-index:9;left:6%;right:6%;bottom:3%;display:grid;gap:7px;justify-items:center;padding:11px;border:3px solid #efa62f;border-radius:18px;background:#fffdf4;box-shadow:0 12px 25px #573e1838}.g3t2-alt-fraction{display:grid;grid-template-columns:repeat(8,1fr);gap:3px;width:100%}.g3t2-alt-fraction i{display:grid;place-items:center;min-height:30px;border-radius:6px;background:#f4c660;color:#62440e;font-style:normal;font-weight:900}.grade3-theme2-assessment-board.show-g3t2-guides .g3t2-grid,.grade3-theme2-assessment-board.show-g3t2-guides .g3t2-clock,.grade3-theme2-assessment-board.show-g3t2-guides .g3t2-ruler,.grade3-theme2-assessment-board.show-g3t2-guides .g3mu-balance{filter:drop-shadow(0 0 8px #f49b2d);outline:4px solid #f5a52e55;outline-offset:4px}
@media(max-width:720px){.g3t2-workspace{padding:8px}.g3t2-workspace>div{padding:9px;gap:6px;border-radius:16px}.g3t2-workspace h1{font-size:19px}.g3t2-workspace h2{font-size:16px}.g3t2-station-lights{gap:4px}.g3t2-station-lights i{min-height:54px;font-size:24px}.g3t2-fruit{width:130px;height:130px}.g3t2-clock{grid-template-columns:135px auto;gap:8px}.g3t2-clock svg{width:135px}.g3t2-clock>b{padding:10px;font-size:24px}.g3t2-grid i{min-height:47px}.g3t2-time-chain,.g3t2-length-scale,.g3t2-mass-scale{gap:4px}.g3t2-time-chain b,.g3t2-length-scale b,.g3t2-mass-scale b{padding:6px 8px}.g3t2-ruler{min-height:80px;padding-top:7px}.g3t2-money-row section{min-height:70px;padding:4px}.g3t2-money-row .g3mo-token{width:35px}.g3t2-money-row .g3mo-token.note{width:62px}.g3t2-final-badges{gap:4px}.g3t2-final-badges b{min-height:58px;font-size:19px}.g3t2-alternative{left:2%;right:2%;bottom:2%;font-size:10px}}
@media(max-height:760px) and (min-width:721px){.grade3-theme2-assessment-shell .teacher-classroom{padding:8px 0 14px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade3-theme2-assessment-shell .lesson-avatar{height:190px}.grade3-theme2-assessment-shell .teacher-bubble{min-height:86px;max-height:138px;overflow:auto;margin-top:7px;padding:11px;font-size:11px;line-height:1.35}.grade3-theme2-assessment-shell .narration-controls{margin-top:5px}.grade3-theme2-assessment-shell .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.grade3-theme2-assessment-shell .raise-hand{min-height:50px;padding:5px 10px}.grade3-theme2-assessment-shell .teaching-area{width:min(100%,calc(100vh - 205px))}.grade3-theme2-assessment-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade3-theme2-assessment-shell .g3t2-hub,.grade3-theme2-assessment-shell .g3t2-workspace{min-height:420px}.grade3-theme2-assessment-shell .g3t2-workspace{padding:11px 14px}.grade3-theme2-assessment-shell .g3t2-workspace>div{padding:11px;gap:6px}.grade3-theme2-assessment-shell .lesson-footer{min-height:56px;padding-top:5px}}
@media(prefers-reduced-motion:reduce){.g3t2-hub *{animation:none!important;transition:none!important}}
.g3t2-timer i{transition:width .1s linear}.g3t2-breath-live{position:relative;width:150px;height:90px}.g3t2-breath-live i{position:absolute;left:50%;top:50%;width:28px;height:28px;border-radius:50%;background:#7bc9bb;transform:translate(-50%,-50%) scale(.55);opacity:.35}.g3t2-breath-live i:nth-child(2){width:54px;height:54px}.g3t2-breath-live i:nth-child(3){width:82px;height:82px}.g3t2-duration.running .g3t2-breath-live i{animation:g3t2Breath 3.2s ease-in-out infinite}.g3t2-duration.running .g3t2-breath-live i:nth-child(2){animation-delay:.12s}.g3t2-duration.running .g3t2-breath-live i:nth-child(3){animation-delay:.24s}@keyframes g3t2Breath{0%,100%{transform:translate(-50%,-50%) scale(.55);opacity:.25}50%{transform:translate(-50%,-50%) scale(1);opacity:.72}}
.g3t2-truck{font-size:inherit}.g3t2-truck img{display:block;width:min(100%,230px);height:126px;object-fit:contain;filter:drop-shadow(0 9px 9px #23433b28)}
.g3t2-time-reminder .g3t2-clock .hour,.g3t2-time-reminder .g3t2-clock .minute,.g3t2-time-reminder .g3t2-clock>b,.g3t2-time-reminder .g3t2-time-chain b,.g3t2-length-reminder .g3t2-ruler>b,.g3t2-length-reminder .g3t2-length-scale b,.g3t2-mass-reminder .g3mu-balance,.g3t2-mass-reminder .g3t2-mass-scale b{transition:filter .25s,box-shadow .25s,transform .25s}
.g3t2-time-reminder[data-focus="hour"] .g3t2-clock .hour,.g3t2-time-reminder[data-focus="minute"] .g3t2-clock .minute{filter:drop-shadow(0 0 7px #f28c28) drop-shadow(0 0 12px #f28c28)}.g3t2-time-reminder[data-focus="digital"] .g3t2-clock>b,.g3t2-time-reminder[data-focus="seconds"] .g3t2-time-chain b:first-child,.g3t2-time-reminder[data-focus="minutes"] .g3t2-time-chain b:nth-of-type(2){box-shadow:0 0 0 5px #f5a623,0 0 24px #f5a62388;transform:scale(1.04)}
.g3t2-length-reminder[data-focus="zero"] .g3t2-ruler>b{filter:drop-shadow(0 0 7px #f28c28);transform:scale(1.22)}.g3t2-length-reminder[data-focus="centimeter"] .g3t2-length-scale b:nth-of-type(1),.g3t2-length-reminder[data-focus="meter"] .g3t2-length-scale b:nth-of-type(2),.g3t2-length-reminder[data-focus="kilometer"] .g3t2-length-scale b:nth-of-type(3),.g3t2-mass-reminder[data-focus="gram"] .g3t2-mass-scale b:nth-of-type(1),.g3t2-mass-reminder[data-focus="kilogram"] .g3t2-mass-scale b:nth-of-type(2),.g3t2-mass-reminder[data-focus="ton"] .g3t2-mass-scale b:nth-of-type(3){box-shadow:0 0 0 5px #f5a623,0 0 24px #f5a62388;transform:scale(1.05)}.g3t2-mass-reminder[data-focus="balance"] .g3mu-balance{filter:drop-shadow(0 0 10px #f5a623);transform:scale(1.025)}
@media(max-width:720px){.g3t2-breath-live{width:115px;height:70px}.g3t2-truck img{height:86px}}
/* 3. sınıf · Toplamı tahmin etme ve zihinden toplama · işlem rotası merkezi */
.grade3-mental-addition-estimate-board{--g3mae-teal:#087f75;--g3mae-orange:#ed7545;--g3mae-ink:#123f4d;overflow:hidden;background:linear-gradient(145deg,#eaf9f6,#d9efeb);border-color:#a9d8d2;color:var(--g3mae-ink)}
.grade3-mental-addition-estimate-board>.board-square{height:100%;min-height:0;overflow:hidden}.g3mae-center,.g3mae-center *{box-sizing:border-box}.g3mae-center{position:relative;width:100%;height:510px;min-height:510px;max-height:510px;overflow:hidden;border-radius:24px;background:#dcefeb;isolation:isolate}.g3mae-center>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.g3mae-center:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(239,255,251,.92),rgba(227,246,242,.72));z-index:-1}.g3mae-center.intro:after,.g3mae-center.finish:after{background:linear-gradient(90deg,rgba(3,47,49,.92),rgba(3,47,49,.3) 70%,rgba(3,47,49,.12))}.g3mae-workspace{display:grid;place-items:center;width:100%;height:100%;padding:26px 34px}.g3mae-workspace h1,.g3mae-workspace h2,.g3mae-workspace p{margin:0}.g3mae-workspace h1{font-size:clamp(1.25rem,2.35vw,1.9rem);line-height:1.13}.g3mae-workspace h2{font-size:clamp(1.08rem,2vw,1.55rem);line-height:1.18}.g3mae-workspace .board-kicker{color:#087f75;font-size:.7rem;font-weight:950;letter-spacing:.12em}
.g3mae-intro,.g3mae-final{display:grid;gap:18px;min-width:0;width:min(95%,760px);padding:28px;border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 18px 38px rgba(4,42,43,.28)}.g3mae-route-cards,.g3mae-final>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}.g3mae-route-cards section,.g3mae-final section{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:4px 7px;min-width:0;padding:10px;border:3px solid #abd8d2;border-radius:20px;background:#f8fffd;overflow-wrap:anywhere}.g3mae-route-cards i,.g3mae-final i{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#087f75;color:#fff;font-style:normal;font-size:1.25rem;font-weight:950}.g3mae-route-cards small{font-weight:750;color:#567275}.g3mae-route-cards .estimate i{background:#ed7545}.g3mae-route-cards .result i{background:#c88a18}.g3mae-intro h1,.g3mae-final h1{color:#123f4d}.g3mae-final>span{font-weight:950;color:#087f75;letter-spacing:.13em}.g3mae-final p{font-weight:780;color:#476b6d}.g3mae-center.intro .g3mae-intro,.g3mae-center.finish .g3mae-final{margin-left:auto}
.g3mae-why,.g3mae-double-estimate,.g3mae-easy-parts,.g3mae-split,.g3mae-make-ten,.g3mae-compensate,.g3mae-question,.g3mae-preference,.g3mae-stage-finish{display:grid;place-items:center;gap:16px;min-width:0;width:min(96%,780px);padding:24px;border-radius:28px;background:rgba(249,255,253,.95);box-shadow:0 17px 38px rgba(4,54,53,.2);text-align:center}.g3mae-loads{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0}.g3mae-loads section{display:grid;place-items:center;gap:5px;flex:1 1 0;min-width:0;padding:12px 5px;border:3px solid #aed9d3;border-radius:20px;background:#fff;opacity:.3;transform:translateY(10px);transition:.5s ease}.g3mae-loads section i{font-style:normal;font-size:2rem;color:#087f75}.g3mae-loads section b{font-size:.86rem}.g3mae-loads>strong{flex:0 0 auto;font-size:1.35rem;color:#ed7545}.g3mae-why[data-step=first] .g3mae-loads section:first-child,.g3mae-why[data-step=second] .g3mae-loads section:nth-of-type(-n+2),.g3mae-why[data-step=space] .g3mae-loads section{opacity:1;transform:none}.g3mae-loads .space{border-color:#efbc65;background:#fff4cf}
.g3mae-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;width:min(92%,620px);padding:18px 16px 6px}.g3mae-line>b{font-size:1.25rem}.g3mae-line>i{position:relative;height:9px;border-radius:999px;background:linear-gradient(90deg,#087f75,#e0a32d);font-style:normal}.g3mae-line>i:before{content:"";position:absolute;left:calc(var(--ratio)*100%);top:50%;width:22px;height:22px;border:5px solid #fff;border-radius:50%;background:#ed7545;box-shadow:0 0 0 4px rgba(237,117,69,.28);transform:translate(-50%,-50%)}.g3mae-line>i span{position:absolute;left:calc(var(--ratio)*100%);bottom:20px;transform:translateX(-50%);padding:5px 9px;border-radius:10px;background:#123f4d;color:#fff;font-size:.8rem;font-weight:950}.g3mae-line.compact{padding-top:28px}.g3mae-question{gap:10px}.g3mae-question>.g3mae-line{margin-top:15px}.g3mae-estimate-cards{display:flex;align-items:center;justify-content:center;gap:12px}.g3mae-estimate-cards b{padding:13px 18px;border-radius:16px;background:#e7f5f2;color:#087f75;font-size:1.15rem}
.g3mae-double-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%}.g3mae-double-grid section{display:grid;gap:7px;padding:16px;border:3px solid #aed9d3;border-radius:20px;background:#fff;opacity:.24;transform:scale(.96);transition:.45s ease}.g3mae-double-grid section:nth-child(2){border-color:#efc17c}.g3mae-double-grid small{font-weight:950;color:#087f75}.g3mae-double-grid strong{padding:7px;border-radius:10px;background:#087f75;color:#fff}.g3mae-double-grid em{font-style:normal;font-weight:850;color:#d66435}.g3mae-double-estimate[data-step=tens] section:first-child,.g3mae-double-estimate[data-step=hundreds] section,.g3mae-double-estimate[data-step=actual] section,.g3mae-double-estimate[data-step=compare] section{opacity:1;transform:none}.g3mae-distance{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;width:min(90%,530px)}.g3mae-distance i{position:relative;height:8px;border-radius:999px;background:#d7eae6}.g3mae-distance i span{position:absolute;left:75%;top:50%;transform:translate(-50%,-50%);padding:5px 8px;border-radius:9px;background:#ed7545;color:#fff;font-style:normal;font-weight:950}
.g3mae-easy-parts>div,.g3mae-split-path,.g3mae-bridge,.g3mae-comp-steps,.g3mae-preference>div{display:grid;grid-template-columns:1fr 1fr;gap:15px;width:100%}.g3mae-easy-parts section,.g3mae-split-path section,.g3mae-bridge section,.g3mae-comp-steps section,.g3mae-preference section{display:flex;align-items:center;justify-content:center;gap:8px;min-height:96px;padding:15px;border:3px solid #add9d3;border-radius:20px;background:#fff;opacity:.28;transition:.45s ease}.g3mae-easy-parts b,.g3mae-split b,.g3mae-make-ten b,.g3mae-compensate b,.g3mae-preference b,.g3mae-stage-finish b{font-size:1.22rem}.g3mae-easy-parts i,.g3mae-split i,.g3mae-make-ten i,.g3mae-compensate i,.g3mae-stage-finish i{font-style:normal;color:#ed7545;font-weight:950}.g3mae-easy-parts strong,.g3mae-split strong,.g3mae-make-ten strong,.g3mae-compensate strong,.g3mae-preference strong{color:#087f75;font-size:1.3rem}.g3mae-easy-parts[data-step=hundreds] section:first-child,.g3mae-easy-parts[data-step=tens] section,.g3mae-easy-parts[data-step=complete] section{opacity:1}.g3mae-split-start,.g3mae-comp-start,.g3mae-live-equation{display:flex;align-items:center;justify-content:center;gap:12px;font-size:1.45rem}.g3mae-split-path section:first-child,.g3mae-split-path section:nth-child(2),.g3mae-split-result,.g3mae-cut strong,.g3mae-bridge section,.g3mae-comp-steps section{opacity:.22;transition:.45s ease}.g3mae-split-result{padding:12px 22px;border-radius:16px;background:#fff2c8}.g3mae-split[data-step=tens] .g3mae-split-path section:first-child,.g3mae-split[data-step=ones] .g3mae-split-path section,.g3mae-split[data-step=combine] .g3mae-split-path section,.g3mae-split[data-step=combine] .g3mae-split-result,.g3mae-split[data-step=result] .g3mae-split-path section,.g3mae-split[data-step=result] .g3mae-split-result{opacity:1}.g3mae-cut{display:flex;align-items:center;gap:10px}.g3mae-cut strong{padding:9px 12px;border-radius:13px;background:#fff0c7}.g3mae-make-ten[data-step=need] .g3mae-cut strong,.g3mae-make-ten[data-step=cut] .g3mae-cut strong,.g3mae-make-ten[data-step=fifty] .g3mae-cut strong,.g3mae-make-ten[data-step=result] .g3mae-cut strong{opacity:1}.g3mae-make-ten[data-step=fifty] .g3mae-bridge section:first-child,.g3mae-make-ten[data-step=result] .g3mae-bridge section{opacity:1}
.g3mae-blocks{display:inline-grid;grid-template-columns:auto auto;align-items:end;gap:6px;margin:5px 9px;padding:8px 10px;border-radius:14px;background:#f6fffd}.g3mae-blocks section:first-child{display:flex;align-items:end;gap:3px}.g3mae-blocks section:first-child i{display:block;width:10px;height:48px;border-radius:3px;background:#087f75}.g3mae-blocks section:last-child{display:grid;grid-template-columns:repeat(5,10px);gap:3px}.g3mae-blocks section:last-child b{display:block;width:10px;height:10px;border-radius:3px;background:#ed7545}.g3mae-comp-steps{grid-template-columns:repeat(3,1fr)}.g3mae-compensate[data-step=add] .g3mae-comp-steps section:first-child,.g3mae-compensate[data-step=sum] .g3mae-comp-steps section:nth-child(-n+2),.g3mae-compensate[data-step=return] .g3mae-comp-steps section,.g3mae-compensate[data-step=result] .g3mae-comp-steps section{opacity:1}.g3mae-token-pair,.g3mae-comp-token{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3mae-token-pair i,.g3mae-comp-token b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ed7545;color:#fff;font-style:normal}.g3mae-comp-token b:last-child{background:#087f75}.g3mae-comp-token i{font-style:normal;font-size:.66rem;font-weight:950;color:#087f75}.g3mae-comp-token span,.g3mae-token-pair b{font-size:.78rem;font-weight:850}
.g3mae-preference>div section{display:grid;opacity:1}.g3mae-stage-finish>div,.g3mae-alt-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3mae-stage-finish>div b{padding:9px 12px;border-radius:13px;background:#e7f5f2}.g3mae-alternative{display:grid;place-items:center;gap:7px;min-height:108px;padding:10px 18px;border-radius:20px;background:#fff8df;border:2px solid #efc467;text-align:center}.g3mae-alternative p{margin:0;font-size:.72rem;font-weight:750;color:#5b6b65}.g3mae-alternative .g3mae-line{padding-block:5px}.g3mae-alternative .g3mae-blocks{transform:scale(.72);margin:-8px}.g3mae-alt-row b{font-size:.8rem}.grade3-mental-addition-estimate-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-mental-addition-estimate-board.remediation-mode>.board-square{height:332px!important}.grade3-mental-addition-estimate-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}
@media(max-width:760px){.g3mae-center{min-height:370px}.g3mae-workspace{padding:10px}.g3mae-intro,.g3mae-final,.g3mae-why,.g3mae-double-estimate,.g3mae-easy-parts,.g3mae-split,.g3mae-make-ten,.g3mae-compensate,.g3mae-question,.g3mae-preference,.g3mae-stage-finish{gap:7px;width:100%;padding:10px;border-radius:18px}.g3mae-workspace h1{font-size:1.02rem}.g3mae-workspace h2{font-size:.9rem}.g3mae-workspace .board-kicker{font-size:.55rem}.g3mae-route-cards,.g3mae-final>div{gap:4px}.g3mae-route-cards section,.g3mae-final section{grid-template-columns:30px 1fr;padding:6px;gap:2px 4px;border-radius:12px;font-size:.62rem}.g3mae-route-cards i,.g3mae-final i{width:28px;height:28px;border-radius:9px;font-size:.9rem}.g3mae-route-cards small{font-size:.5rem}.g3mae-loads{gap:4px}.g3mae-loads section{min-width:0;padding:7px;font-size:.66rem}.g3mae-loads section i{font-size:1.15rem}.g3mae-double-grid{gap:5px}.g3mae-double-grid section{gap:3px;padding:7px;font-size:.67rem}.g3mae-double-grid strong{padding:4px}.g3mae-line{padding:12px 6px 2px}.g3mae-line>b{font-size:.85rem}.g3mae-line>i span{bottom:15px;font-size:.58rem}.g3mae-easy-parts>div,.g3mae-split-path,.g3mae-bridge,.g3mae-comp-steps,.g3mae-preference>div{gap:5px}.g3mae-easy-parts section,.g3mae-split-path section,.g3mae-bridge section,.g3mae-comp-steps section,.g3mae-preference section{min-height:52px;padding:5px;font-size:.68rem}.g3mae-easy-parts b,.g3mae-split b,.g3mae-make-ten b,.g3mae-compensate b,.g3mae-preference b,.g3mae-stage-finish b{font-size:.84rem}.g3mae-easy-parts strong,.g3mae-split strong,.g3mae-make-ten strong,.g3mae-compensate strong,.g3mae-preference strong{font-size:.88rem}.g3mae-blocks{gap:3px;margin:2px;padding:4px}.g3mae-blocks section:first-child{gap:1px}.g3mae-blocks section:first-child i{width:5px;height:28px}.g3mae-blocks section:last-child{grid-template-columns:repeat(5,6px);gap:1px}.g3mae-blocks section:last-child b{width:6px;height:6px}.g3mae-comp-token{gap:4px}.g3mae-comp-token b,.g3mae-token-pair i{width:32px;height:32px;font-size:.7rem}.g3mae-alternative{min-height:90px;padding:5px}.g3mae-alternative p{font-size:.58rem}.grade3-mental-addition-estimate-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-mental-addition-estimate-board.remediation-mode>.board-square{height:258px!important}.grade3-mental-addition-estimate-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}}
@media(min-width:761px) and (max-width:1350px){.g3mae-workspace{padding:18px}.g3mae-intro,.g3mae-final{gap:9px;padding:14px}.g3mae-intro h1,.g3mae-final h1{font-size:1.12rem}.g3mae-final p{font-size:.72rem}.g3mae-route-cards section,.g3mae-final section{grid-template-columns:30px minmax(0,1fr);padding:7px;font-size:.68rem}.g3mae-route-cards i,.g3mae-final i{width:28px;height:28px;font-size:.9rem}.g3mae-route-cards small{font-size:.56rem}}
@media(prefers-reduced-motion:reduce){.g3mae-center *{animation:none!important;transition:none!important}}
@media(max-width:760px){.g3mae-center{height:370px;min-height:370px;max-height:370px}}

/* 3. sınıf · Çarpma İşlemi ve Kat Kavramı */
.grade3-multiplication-board{--g3mult-teal:#098f82;--g3mult-dark:#123f48;--g3mult-orange:#ee7752;--g3mult-gold:#edbb45}.g3mult-workshop{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border-radius:28px;background:#dff4ef}.g3mult-workshop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g3mult-workspace{position:absolute;inset:0;display:grid;place-items:center;padding:22px;background:linear-gradient(90deg,rgba(229,248,244,.84),rgba(229,248,244,.42) 46%,rgba(229,248,244,.78));color:var(--g3mult-dark)}.g3mult-workspace h1,.g3mult-workspace h2,.g3mult-workspace p{margin:0}.g3mult-workspace h1{font-size:1.35rem;line-height:1.18}.g3mult-workspace h2{font-size:1.08rem}.g3mult-workspace .board-kicker{font-size:.69rem;font-weight:950;letter-spacing:.1em;color:#08796f}.g3mult-intro,.g3mult-final,.g3mult-build,.g3mult-tiers,.g3mult-chart,.g3mult-components,.g3mult-place,.g3mult-regroup,.g3mult-three-digit,.g3mult-area,.g3mult-partials,.g3mult-apply,.g3mult-apply-regroup,.g3mult-independent,.g3mult-practice-complete{display:grid;place-items:center;gap:12px;width:min(96%,800px);padding:20px;border:3px solid rgba(126,196,186,.78);border-radius:27px;background:rgba(249,255,253,.96);box-shadow:0 18px 42px rgba(9,65,62,.22);text-align:center}.g3mult-intro>div,.g3mult-final>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%}.g3mult-intro section,.g3mult-final section{display:grid;place-items:center;gap:5px;min-height:75px;padding:10px;border:3px solid #b4ddd6;border-radius:17px;background:#fff;opacity:.28;transition:.45s ease}.g3mult-intro section i,.g3mult-final section i{font-style:normal;color:var(--g3mult-orange);font-size:1.15rem}.g3mult-intro[data-step=groups] section:first-child,.g3mult-intro[data-step=times] section:nth-child(-n+2),.g3mult-intro[data-step=place] section,.g3mult-final section{opacity:1}.g3mult-final>span{font-weight:950;letter-spacing:.12em;color:var(--g3mult-teal)}.g3mult-final p{font-weight:800;color:#466a69}
.g3mult-groups{display:grid;grid-template-columns:repeat(var(--groups),minmax(0,1fr));gap:8px;width:100%}.g3mult-groups section{display:grid;place-items:center;gap:5px;min-width:0;padding:9px;border:3px solid #b8ddd7;border-radius:16px;background:#fff;opacity:.22;transform:translateY(18px);transition:.4s ease}.g3mult-groups section.active{opacity:1;transform:none}.g3mult-groups section>div{display:flex;justify-content:center;gap:3px;flex-wrap:wrap}.g3mult-groups section i{font-style:normal;color:#ba643d;font-size:.78rem}.g3mult-groups section b{color:var(--g3mult-teal)}.g3mult-running,.g3mult-place-result,.g3mult-alt-parts{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3mult-running>*,.g3mult-place-result>*{padding:8px 12px;border-radius:12px;background:#e7f5f2;font-style:normal;font-weight:950}.g3mult-running i,.g3mult-place-result i{color:var(--g3mult-orange)}.g3mult-build-button{min-height:58px}
.g3mult-tiers>div{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:10px;width:100%}.g3mult-tiers section{display:grid;grid-template-columns:repeat(5,1fr);align-content:center;gap:4px;min-height:calc(48px + var(--tier)*28px);padding:9px;border:3px solid #afd8d2;border-radius:15px;background:#fff;opacity:.18;transform:translateY(24px);transition:.5s ease}.g3mult-tiers section i{font-style:normal;color:#bb623d;font-size:.7rem}.g3mult-tiers section b{grid-column:1/-1;color:var(--g3mult-teal);font-size:1.2rem}.g3mult-tiers[data-step=one] section:first-child,.g3mult-tiers[data-step=two] section:nth-child(-n+2),.g3mult-tiers[data-step=three] section{opacity:1;transform:none}.g3mult-chart>div{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;width:100%;max-width:640px}.g3mult-chart>div i{display:grid;place-items:center;min-width:0;aspect-ratio:1;border-radius:8px;background:#fff;color:#587274;font-style:normal;font-size:.75rem;font-weight:850}.g3mult-chart>div i.multiple{border:3px solid var(--g3mult-gold);background:#fff3c9;color:#825000;opacity:.25}.g3mult-chart[data-step=walk] i.multiple{opacity:1;animation:g3multPulse 1.25s ease-in-out infinite}.g3mult-components>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:7px;width:100%}.g3mult-components section{display:grid;place-items:center;gap:4px;min-height:85px;padding:10px;border:3px solid #afd9d3;border-radius:17px;background:#fff;opacity:.22;transition:.4s}.g3mult-components>div>i{font-style:normal;color:var(--g3mult-orange);font-size:1.25rem}.g3mult-components section b{font-size:1.35rem}.g3mult-components[data-step=first] section:first-child,.g3mult-components[data-step=second] section:nth-of-type(-n+2),.g3mult-components[data-step=product] section{opacity:1}
.g3mult-place-parts{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g3mult-place-parts section{display:grid;place-items:center;gap:6px;padding:12px;border:3px solid #afd8d2;border-radius:17px;background:#fff;opacity:.22;transition:.4s}.g3mult-place-parts .rods,.g3mult-place-parts .ones{display:flex;justify-content:center;gap:3px;flex-wrap:wrap}.g3mult-place-parts .rods i{width:9px;height:45px;border-radius:3px;background:var(--g3mult-teal)}.g3mult-place-parts .ones{max-width:70px}.g3mult-place-parts .ones i{width:10px;height:10px;border-radius:2px;background:var(--g3mult-orange)}.g3mult-place-result>*{opacity:.22;transition:.4s}.g3mult-place[data-step=tens] .g3mult-place-parts section:first-child,.g3mult-place[data-step=ones] .g3mult-place-parts section,.g3mult-place[data-step=result] .g3mult-place-parts section,.g3mult-place[data-step=result] .g3mult-place-result>*{opacity:1}.g3mult-swap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%}.g3mult-swap section{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;min-height:80px;padding:10px;border:3px solid #add8d1;border-radius:16px;background:#fff;opacity:.22;transition:.4s}.g3mult-swap section i{width:13px;height:13px;border-radius:3px;background:var(--g3mult-orange)}.g3mult-swap section.after b{width:14px;height:58px;border-radius:4px;background:var(--g3mult-teal)}.g3mult-swap>strong{font-size:1.55rem;color:var(--g3mult-orange)}.g3mult-regroup[data-step=twelve] .g3mult-swap section:first-child,.g3mult-regroup[data-step=swap] .g3mult-swap section,.g3mult-regroup[data-step=result] .g3mult-swap section{opacity:1}.g3mult-column{position:relative;display:grid;grid-template-columns:1fr;justify-items:end;min-width:105px;padding:10px 24px;border:3px solid #aad6d0;border-radius:16px;background:#fff;font-variant-numeric:tabular-nums}.g3mult-column>*{font-style:normal;font-weight:950}.g3mult-column span{position:absolute;top:3px;right:37px;color:var(--g3mult-orange)}.g3mult-column b,.g3mult-column i,.g3mult-column strong{font-size:1.3rem}.g3mult-column i{border-bottom:3px solid var(--g3mult-dark)}.g3mult-column.large{min-width:130px}.g3mult-order{display:flex;gap:7px}.g3mult-order i{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#fff;border:3px solid #acd8d2;font-style:normal;font-weight:950;opacity:.22}.g3mult-three-digit[data-step=ones] .g3mult-order i:first-child,.g3mult-three-digit[data-step=tens] .g3mult-order i:nth-child(-n+2),.g3mult-three-digit[data-step=hundreds] .g3mult-order i{opacity:1}
.g3mult-area>div{display:grid;grid-template-columns:2fr .7fr;grid-template-rows:1.5fr .75fr;width:min(96%,570px);height:230px;border:4px solid var(--g3mult-dark);border-radius:16px;overflow:hidden;background:#fff}.g3mult-area section{display:grid;place-items:center;border:2px solid var(--g3mult-dark);opacity:.2;transition:.45s}.g3mult-area section b{font-size:.95rem}.g3mult-area section strong{font-size:1.3rem;color:var(--g3mult-teal)}.g3mult-area[data-step=a] .a,.g3mult-area[data-step=b] .a,.g3mult-area[data-step=b] .b,.g3mult-area[data-step=c] .a,.g3mult-area[data-step=c] .b,.g3mult-area[data-step=c] .c,.g3mult-area[data-step=d] section,.g3mult-area[data-step=result] section{opacity:1}.g3mult-area[data-step=result] p{box-shadow:0 0 0 6px rgba(237,187,69,.3)}.g3mult-area p{padding:9px 16px;border-radius:13px;background:#fff1bf;font-weight:900}.g3mult-partials>div{display:grid;grid-template-columns:1fr 1fr auto auto;align-items:center;gap:9px;width:100%}.g3mult-partials section{display:grid;place-items:center;gap:4px;padding:12px;border:3px solid #acd7d1;border-radius:17px;background:#fff;opacity:.22}.g3mult-partials section b,.g3mult-partials>div>strong{font-size:1.35rem}.g3mult-partials>div>i{font-style:normal;color:var(--g3mult-orange)}.g3mult-partials>div>strong{padding:13px;border-radius:14px;background:#fff1bf;opacity:.22}.g3mult-partials[data-step=first] section:first-child,.g3mult-partials[data-step=second] section,.g3mult-partials[data-step=sum] section,.g3mult-partials[data-step=sum]>div>strong{opacity:1}.g3mult-independent>div,.g3mult-practice-complete>div{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3mult-independent>div b,.g3mult-practice-complete b{padding:12px 18px;border-radius:15px;background:#e6f5f2;color:var(--g3mult-teal);font-size:1.25rem}.g3mult-practice-complete i{font-style:normal;color:var(--g3mult-orange)}
.g3mult-alternative{display:grid;place-items:center;gap:8px;min-height:110px;padding:10px 18px;border:2px solid #efc667;border-radius:19px;background:#fff8df;text-align:center}.g3mult-alternative p{margin:0;font-size:.72rem;font-weight:780;color:#516c68}.g3mult-chocolate{display:grid;grid-template-columns:repeat(4,28px);gap:4px}.g3mult-chocolate i{width:28px;height:24px;border-radius:5px;background:#9e563e;box-shadow:inset -4px -4px 0 rgba(72,27,19,.22)}.g3mult-alt-parts section{display:grid;gap:3px}.g3mult-alt-parts i{font-style:normal;color:var(--g3mult-orange)}.g3mult-mini-area{display:grid;grid-template-columns:2fr 1fr;width:240px;border:2px solid var(--g3mult-dark)}.g3mult-mini-area section{padding:6px;border:1px solid var(--g3mult-dark);font-weight:850}.grade3-multiplication-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-multiplication-board.remediation-mode>.board-square{height:332px!important}.grade3-multiplication-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}.grade3-multiplication-board.show-g3mult-guides .g3mult-groups,.grade3-multiplication-board.show-g3mult-guides .g3mult-place-parts,.grade3-multiplication-board.show-g3mult-guides .g3mult-swap,.grade3-multiplication-board.show-g3mult-guides .g3mult-area>div,.grade3-multiplication-board.show-g3mult-guides .g3mult-partials>div{border-radius:16px;box-shadow:0 0 0 5px rgba(237,187,69,.4),0 0 25px rgba(237,187,69,.55)}@keyframes g3multPulse{50%{transform:scale(1.08);box-shadow:0 0 0 5px rgba(237,187,69,.22)}}
@media(max-width:760px){.g3mult-workshop{height:370px;min-height:370px;max-height:370px;border-radius:19px}.g3mult-workspace{padding:7px}.g3mult-intro,.g3mult-final,.g3mult-build,.g3mult-tiers,.g3mult-chart,.g3mult-components,.g3mult-place,.g3mult-regroup,.g3mult-three-digit,.g3mult-area,.g3mult-partials,.g3mult-apply,.g3mult-apply-regroup,.g3mult-independent,.g3mult-practice-complete{gap:5px;width:100%;padding:8px;border-radius:15px}.g3mult-workspace h1{font-size:.92rem}.g3mult-workspace h2{font-size:.78rem}.g3mult-workspace .board-kicker{font-size:.49rem}.g3mult-intro section,.g3mult-final section{min-height:48px;padding:4px;border-radius:9px;font-size:.58rem}.g3mult-groups{gap:3px}.g3mult-groups section{padding:4px;border-radius:9px;font-size:.55rem}.g3mult-groups section i{font-size:.5rem}.g3mult-tiers>div{gap:3px}.g3mult-tiers section{min-height:calc(28px + var(--tier)*16px);padding:3px;border-radius:8px}.g3mult-tiers section i{font-size:.4rem}.g3mult-chart>div{gap:2px}.g3mult-chart>div i{font-size:.48rem;border-radius:4px}.g3mult-components>div{gap:3px}.g3mult-components section{min-height:52px;padding:4px;border-radius:9px;font-size:.52rem}.g3mult-components section b{font-size:.82rem}.g3mult-place-parts{gap:4px}.g3mult-place-parts section{padding:5px;border-radius:9px;font-size:.56rem}.g3mult-place-parts .rods i{width:5px;height:26px}.g3mult-place-parts .ones i{width:6px;height:6px}.g3mult-swap{gap:4px}.g3mult-swap section{min-height:48px;padding:4px}.g3mult-swap section i{width:7px;height:7px}.g3mult-swap section.after b{width:8px;height:36px}.g3mult-column{min-width:76px;padding:5px 15px}.g3mult-column b,.g3mult-column i,.g3mult-column strong{font-size:.85rem}.g3mult-order i{width:31px;height:31px}.g3mult-area>div{height:160px}.g3mult-area section b{font-size:.6rem}.g3mult-area section strong{font-size:.8rem}.g3mult-area p{padding:4px 8px;font-size:.65rem}.g3mult-partials>div{gap:3px}.g3mult-partials section{padding:5px;border-radius:9px;font-size:.57rem}.g3mult-partials section b,.g3mult-partials>div>strong{font-size:.78rem}.g3mult-alternative{min-height:92px;padding:5px}.g3mult-alternative p{font-size:.54rem}.g3mult-chocolate{grid-template-columns:repeat(4,18px)}.g3mult-chocolate i{width:18px;height:14px}.grade3-multiplication-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-multiplication-board.remediation-mode>.board-square{height:258px!important}.grade3-multiplication-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}}
.g3mult-alt-route,.g3mult-alt-steps,.g3mult-alt-components{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3mult-alt-route b,.g3mult-alt-steps i,.g3mult-alt-components>*{display:grid;place-items:center;min-height:42px;padding:7px 10px;border-radius:11px;background:#fff;font-style:normal;font-weight:900}.g3mult-alt-route i,.g3mult-alt-components>i{background:transparent;color:var(--g3mult-orange)}.g3mult-alt-components small{display:block;margin-top:2px;font-size:.55rem;color:#567372}.g3mult-independent-model{width:min(100%,620px);min-height:105px;padding:9px;border:3px solid #a9d7d0;border-radius:17px;background:#eff9f6}.g3mult-independent-model.place{display:grid!important;grid-template-columns:repeat(3,1fr);gap:7px}.g3mult-independent-model.place section{display:grid;gap:5px;padding:9px;border-radius:12px;background:#fff}.g3mult-independent-model.place small{font-size:.6rem;font-weight:900;color:#08796f}.g3mult-independent-model.tens{display:grid!important;gap:6px}.g3mult-independent-model.tens>div{display:grid!important;grid-template-columns:repeat(5,1fr);gap:5px}.g3mult-independent-model.tens i{display:flex;justify-content:center;gap:2px;padding:6px;border-radius:8px;background:#fff}.g3mult-independent-model.tens span{width:5px;height:24px;border-radius:2px;background:#0b9384}.g3mult-independent-model.groups{display:block!important}.g3mult-support-target{visibility:visible!important;opacity:1!important;transition:none!important;animation:g3multSupportPulse 1.15s ease-in-out infinite alternate!important}@keyframes g3multSupportPulse{to{box-shadow:0 0 0 8px rgba(239,176,57,.5),0 0 22px rgba(239,176,57,.55)}}
@media(max-height:760px) and (min-width:721px){.lesson-shell:has(.grade3-multiplication-board) .teacher-classroom{padding:8px 0 14px;grid-template-columns:230px minmax(0,700px);gap:18px}.lesson-shell:has(.grade3-multiplication-board) .lesson-avatar{height:190px}.lesson-shell:has(.grade3-multiplication-board) .teacher-bubble{min-height:86px;max-height:138px;overflow:auto;margin-top:7px;padding:11px;font-size:11px;line-height:1.35}.lesson-shell:has(.grade3-multiplication-board) .narration-controls{margin-top:5px}.lesson-shell:has(.grade3-multiplication-board) .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.lesson-shell:has(.grade3-multiplication-board) .raise-hand{min-height:50px;padding:5px 10px}.lesson-shell:has(.grade3-multiplication-board) .teaching-area{width:min(100%,calc(100vh - 205px))}.lesson-shell:has(.grade3-multiplication-board) .lesson-screen-meta{min-height:27px;padding-bottom:4px}.lesson-shell:has(.grade3-multiplication-board) .g3mult-workshop{height:420px;min-height:420px;max-height:420px}.lesson-shell:has(.grade3-multiplication-board) .g3mult-workspace{padding:12px}.lesson-shell:has(.grade3-multiplication-board) .g3mult-workspace>div{padding:12px;gap:7px}.lesson-shell:has(.grade3-multiplication-board) .lesson-footer{min-height:56px;padding-top:5px}}
@media(prefers-reduced-motion:reduce){.g3mult-workshop *{animation:none!important;transition:none!important}}

.grade3-division-board{--g3div-teal:#078c80;--g3div-dark:#123f48;--g3div-orange:#ee704e;--g3div-gold:#edba42}.g3div-lab{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border-radius:28px;background:#ddf3ed}.g3div-lab>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g3div-workspace{position:absolute;inset:0;display:grid;place-items:center;padding:22px;background:linear-gradient(90deg,rgba(229,248,243,.88),rgba(229,248,243,.38) 48%,rgba(229,248,243,.86));color:var(--g3div-dark)}.g3div-workspace h1,.g3div-workspace h2,.g3div-workspace p{margin:0}.g3div-workspace h1{font-size:1.31rem;line-height:1.18}.g3div-workspace h2{font-size:1.05rem}.g3div-workspace .board-kicker{font-size:.68rem;font-weight:950;letter-spacing:.1em;color:#05776e}.g3div-intro,.g3div-final,.g3div-share-build,.g3div-meanings,.g3div-components,.g3div-remainder-model,.g3div-remainder-rule,.g3div-place-exact,.g3div-written,.g3div-regroup,.g3div-proof,.g3div-guided,.g3div-independent,.g3div-practice-complete{display:grid;place-items:center;gap:11px;width:min(97%,820px);padding:18px;border:3px solid rgba(117,193,181,.82);border-radius:26px;background:rgba(249,255,253,.97);box-shadow:0 18px 42px rgba(7,62,58,.22);text-align:center}.g3div-intro>div,.g3div-final>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.g3div-intro section,.g3div-final section{display:grid;place-items:center;gap:5px;min-height:72px;padding:9px;border:3px solid #b2dcd5;border-radius:16px;background:#fff;opacity:.24;transition:.42s ease}.g3div-intro section i,.g3div-final section i{font-style:normal;color:var(--g3div-orange);font-size:1.08rem}.g3div-intro[data-step=share] section:first-child,.g3div-intro[data-step=group] section:nth-child(-n+2),.g3div-intro[data-step=remainder] section:nth-child(-n+3),.g3div-intro[data-step=proof] section,.g3div-final section{opacity:1;transform:none}.g3div-final>span{font-weight:950;letter-spacing:.12em;color:var(--g3div-teal)}.g3div-final p{font-weight:800;color:#456a67}
.g3div-fruit{position:relative;display:inline-block;width:15px;height:15px;border-radius:50% 48% 52% 45%;background:linear-gradient(145deg,#ffb646,#e86742);box-shadow:inset -3px -3px 0 rgba(143,52,35,.18),0 2px 3px rgba(37,82,72,.18);transform:translateY(18px) scale(.6);opacity:0;animation:g3divFruitArrive .45s calc(var(--fruit-index)*35ms) ease forwards}.g3div-fruit:before{content:"";position:absolute;width:6px;height:4px;left:7px;top:-3px;border-radius:6px 1px;background:#2b9b67;transform:rotate(-24deg)}.g3div-fruit.remainder{background:linear-gradient(145deg,#ff9771,#e74f3d)}.g3div-group-model{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;width:100%}.g3div-equal-trays{display:grid;grid-template-columns:repeat(var(--groups),minmax(0,1fr));gap:6px;min-width:0}.g3div-equal-trays>section,.g3div-group-model>aside{display:grid;place-items:center;align-content:center;gap:4px;min-width:0;min-height:82px;padding:7px;border:3px solid #acd8d1;border-radius:15px;background:linear-gradient(#fff,#e8f8f4)}.g3div-group-model>aside{min-width:78px;border-color:#f0a17f;background:#fff1e9}.g3div-equal-trays>section>div,.g3div-group-model>aside>div{display:flex;justify-content:center;align-items:center;gap:3px;flex-wrap:wrap;min-height:32px}.g3div-equal-trays small,.g3div-group-model>aside small{font-size:.57rem;font-weight:950;color:#587471}.g3div-equal-trays b{color:var(--g3div-teal);font-size:1rem}.g3div-group-model>aside b{color:var(--g3div-orange)}.g3div-amount-blocks{display:flex!important;align-items:center;justify-content:center;gap:4px}.g3div-amount-blocks>span{display:flex;align-items:center;justify-content:center;gap:2px}.g3div-amount-blocks .ten-rod{display:block;width:7px;height:31px;border-radius:3px;background:linear-gradient(#18a092,#077e75);box-shadow:inset -2px -2px rgba(0,0,0,.12)}
.g3div-share-count,.g3div-equation{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:7px 13px;border-radius:14px;background:#e7f6f2}.g3div-share-count b,.g3div-share-count strong,.g3div-equation>*{font-style:normal;font-weight:950}.g3div-share-count b{font-size:1.35rem;color:var(--g3div-orange)}.g3div-share-count i{font-style:normal;color:#5b7470}.g3div-share-button{min-height:58px}.g3div-meanings>div{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}.g3div-meanings section{display:grid;place-items:center;gap:5px;min-height:108px;padding:12px;border:3px solid #add8d2;border-radius:17px;background:#fff;opacity:.22;transition:.42s}.g3div-meanings section b{color:var(--g3div-teal)}.g3div-meanings section strong{font-size:.9rem}.g3div-meanings section i{padding:6px 10px;border-radius:10px;background:#fff2c6;color:#8d5b00;font-style:normal;font-weight:900}.g3div-meanings[data-step=share] section:first-child,.g3div-meanings[data-step=group] section{opacity:1}
.g3div-components>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr 1fr;align-items:center;gap:6px;width:100%}.g3div-components section,.g3div-components aside{display:grid;place-items:center;gap:4px;min-height:83px;padding:9px;border:3px solid #acd8d1;border-radius:16px;background:#fff;opacity:.2;transition:.4s}.g3div-components aside{border-color:#efa17f;background:#fff0e8}.g3div-components>div>i{font-style:normal;font-size:1.2rem;color:var(--g3div-orange)}.g3div-components b{font-size:1.3rem}.g3div-components small{font-size:.58rem;font-weight:950}.g3div-components[data-step=dividend] section:first-child,.g3div-components[data-step=divisor] section:nth-of-type(-n+2),.g3div-components[data-step=quotient] section,.g3div-components[data-step=remainder] section,.g3div-components[data-step=remainder] aside{opacity:1}.g3div-remainder-model[data-step=ready] .g3div-equal-trays,.g3div-remainder-model[data-step=ready] .g3div-group-model>aside{opacity:.2}.g3div-remainder-model[data-step=groups] .g3div-equal-trays,.g3div-remainder-model[data-step=remainder] .g3div-equal-trays,.g3div-remainder-model[data-step=remainder] .g3div-group-model>aside{opacity:1;transition:.45s}.g3div-extra-group{display:flex;align-items:center;justify-content:center;gap:9px;padding:7px 12px;border-radius:13px;background:#fff0e5;opacity:.18;transition:.4s}.g3div-extra-group i{font-style:normal;color:var(--g3div-orange)}.g3div-remainder-rule[data-step=counter] .g3div-extra-group,.g3div-remainder-rule[data-step=rule] .g3div-extra-group{opacity:1;box-shadow:0 0 0 5px rgba(237,186,66,.3)}
.g3div-place-columns{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}.g3div-place-columns section{display:grid;place-items:center;gap:6px;padding:11px;border:3px solid #acd8d1;border-radius:16px;background:#fff;opacity:.2;transition:.42s}.g3div-rods,.g3div-ones{display:flex;justify-content:center;align-items:center;gap:3px;flex-wrap:wrap;min-height:52px}.g3div-rods i{width:9px;height:46px;border-radius:3px;background:var(--g3div-teal)}.g3div-place-columns section b{font-size:.75rem;color:#456963}.g3div-place-result{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:8px 14px;border-radius:14px;background:#e6f5f2;opacity:.2;transition:.4s}.g3div-place-result>*{font-style:normal}.g3div-place-result strong{font-size:1.4rem;color:var(--g3div-orange)}.g3div-place-result small{width:100%;font-weight:850}.g3div-place-exact[data-step=tens] .g3div-place-columns section:first-child,.g3div-place-exact[data-step=ones] .g3div-place-columns section,.g3div-place-exact[data-step=result] .g3div-place-columns section,.g3div-place-exact[data-step=result] .g3div-place-result{opacity:1}
.g3div-long-division{position:relative;width:250px;height:210px;border-radius:18px;background:#fff;border:3px solid #add8d2;font-size:1.25rem;font-weight:950;font-variant-numeric:tabular-nums}.g3div-long-division span{position:absolute;min-width:48px;padding:4px 7px;border-radius:9px;opacity:.18;transition:.4s}.g3div-long-division .dividend{left:38px;top:23px;border-right:4px solid var(--g3div-dark)}.g3div-long-division .divisor{left:111px;top:23px;border-bottom:4px solid var(--g3div-dark)}.g3div-long-division .quotient{left:111px;top:65px;color:var(--g3div-teal)}.g3div-long-division .sub-one{left:35px;top:69px}.g3div-long-division .down{left:42px;top:108px;color:var(--g3div-orange)}.g3div-long-division .sub-two{left:42px;top:146px}.g3div-long-division .remain{left:48px;top:175px;color:var(--g3div-orange)}.g3div-written[data-step=tens] .dividend,.g3div-written[data-step=tens] .divisor,.g3div-written[data-step=tens] .sub-one,.g3div-written[data-step=down] span:not(.remain),.g3div-written[data-step=result] span,.g3div-written[data-step=remainder] span{opacity:1}.g3div-written[data-step=result] .quotient,.g3div-written[data-step=remainder] .remain{box-shadow:0 0 0 5px rgba(237,186,66,.35)}
.g3div-regroup-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:7px;width:100%}.g3div-regroup-flow>section{display:grid;place-items:center;gap:6px;min-height:126px;padding:9px;border:3px solid #add8d2;border-radius:16px;background:#fff;opacity:.18;transition:.42s}.g3div-regroup-flow>i{font-style:normal;font-size:1.4rem;color:var(--g3div-orange)}.g3div-regroup-flow section>div{display:flex;justify-content:center;align-items:center;gap:3px;flex-wrap:wrap;max-width:145px}.g3div-regroup-flow .rod{width:8px;height:46px;border-radius:3px;background:var(--g3div-teal)}.g3div-regroup-flow small,.g3div-regroup-flow b,.g3div-regroup-flow em{font-size:.58rem;font-style:normal;font-weight:950}.g3div-regroup-flow em{color:var(--g3div-orange)}.g3div-regroup-result{display:flex;gap:8px;align-items:center;padding:7px 12px;border-radius:13px;background:#e7f5f2;opacity:.2}.g3div-regroup-result>*{font-style:normal;font-weight:950}.g3div-regroup-result strong{color:var(--g3div-orange);font-size:1.25rem}.g3div-regroup[data-step=left] .g3div-regroup-flow section:first-child,.g3div-regroup[data-step=swap] .g3div-regroup-flow section:nth-of-type(-n+2),.g3div-regroup[data-step=remainder] .g3div-regroup-flow section,.g3div-regroup[data-step=result] .g3div-regroup-flow section,.g3div-regroup[data-step=result] .g3div-regroup-result{opacity:1}
.g3div-proof>div{display:grid;grid-template-columns:1fr auto .72fr auto 1fr;align-items:center;gap:8px;width:100%}.g3div-proof section{display:grid;place-items:center;gap:5px;min-height:92px;padding:10px;border:3px solid #add8d2;border-radius:16px;background:#fff;opacity:.2;transition:.42s}.g3div-proof>div>i{font-style:normal;font-size:1.35rem;color:var(--g3div-orange)}.g3div-proof section strong{font-size:1.25rem;color:var(--g3div-teal)}.g3div-proof[data-step=product] section:first-child,.g3div-proof[data-step=plus] section:nth-of-type(-n+2),.g3div-proof[data-step=total] section{opacity:1}.g3div-proof[data-step=total] section:last-child{box-shadow:0 0 0 5px rgba(237,186,66,.35)}.g3div-independent>div,.g3div-practice-complete>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3div-independent>div b,.g3div-practice-complete b{padding:11px 17px;border-radius:14px;background:#e5f5f1;color:var(--g3div-teal);font-size:1.18rem}.g3div-practice-complete i{font-style:normal;color:var(--g3div-orange)}
.g3div-alternative{display:grid;place-items:center;gap:7px;min-height:110px;padding:9px 16px;border:2px solid #eac166;border-radius:18px;background:#fff8df;text-align:center}.g3div-alternative p{margin:0;font-size:.71rem;font-weight:780;color:#526c68}.g3div-button-share,.g3div-ring-groups{display:flex;align-items:center;justify-content:center;gap:6px}.g3div-button-share section,.g3div-ring-groups section,.g3div-ring-groups aside{display:flex;justify-content:center;gap:2px;flex-wrap:wrap;width:78px;min-height:42px;padding:5px;border:2px solid #add8d2;border-radius:12px;background:#fff}.g3div-ring-groups aside{width:60px;border-color:#ef9e7b}.g3div-alt-place{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}.g3div-alt-place section{display:grid;gap:3px;padding:6px;border-radius:11px;background:#fff}.g3div-alt-place section>*{font-style:normal;font-size:.64rem}.g3div-alt-place em{color:var(--g3div-orange);font-weight:900}.g3div-alt-proof{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.g3div-alt-proof>*{font-style:normal;padding:7px;border-radius:9px;background:#fff}.grade3-division-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-division-board.remediation-mode>.board-square{height:332px!important}.grade3-division-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}.grade3-division-board.show-g3div-guides .g3div-group-model,.grade3-division-board.show-g3div-guides .g3div-place-columns,.grade3-division-board.show-g3div-guides .g3div-long-division,.grade3-division-board.show-g3div-guides .g3div-proof>div{border-radius:16px;box-shadow:0 0 0 5px rgba(237,186,66,.4),0 0 25px rgba(237,186,66,.55)}@keyframes g3divFruitArrive{to{opacity:1;transform:none}}
@media(max-width:760px){.g3div-lab{height:370px;min-height:370px;max-height:370px;border-radius:19px}.g3div-workspace{padding:7px}.g3div-intro,.g3div-final,.g3div-share-build,.g3div-meanings,.g3div-components,.g3div-remainder-model,.g3div-remainder-rule,.g3div-place-exact,.g3div-written,.g3div-regroup,.g3div-proof,.g3div-guided,.g3div-independent,.g3div-practice-complete{gap:5px;width:100%;padding:7px;border-radius:14px}.g3div-workspace h1{font-size:.87rem}.g3div-workspace h2{font-size:.73rem}.g3div-workspace .board-kicker{font-size:.46rem}.g3div-intro section,.g3div-final section{min-height:46px;padding:3px;border-radius:8px;font-size:.53rem}.g3div-fruit{width:8px;height:8px}.g3div-fruit:before{width:3px;height:2px;left:4px;top:-2px}.g3div-group-model{gap:3px}.g3div-equal-trays{gap:2px}.g3div-equal-trays>section,.g3div-group-model>aside{min-height:52px;padding:3px;border-width:2px;border-radius:8px}.g3div-group-model>aside{min-width:43px}.g3div-equal-trays small,.g3div-group-model>aside small{font-size:.38rem}.g3div-equal-trays b,.g3div-group-model>aside b{font-size:.65rem}.g3div-amount-blocks .ten-rod{width:4px;height:20px}.g3div-share-count{gap:4px;padding:3px 6px;font-size:.55rem}.g3div-share-count b{font-size:.8rem}.g3div-meanings>div{gap:3px}.g3div-meanings section{min-height:66px;padding:4px;border-radius:8px}.g3div-meanings section b,.g3div-meanings section strong,.g3div-meanings section i{font-size:.48rem}.g3div-components>div{gap:2px}.g3div-components section,.g3div-components aside{min-height:52px;padding:3px;border-radius:8px}.g3div-components b{font-size:.76rem}.g3div-components small{font-size:.37rem}.g3div-extra-group{padding:3px 6px;font-size:.48rem}.g3div-place-columns{gap:3px}.g3div-place-columns section{padding:4px;border-radius:8px;font-size:.48rem}.g3div-rods,.g3div-ones{min-height:29px}.g3div-rods i{width:5px;height:27px}.g3div-place-result{padding:3px 7px;font-size:.52rem}.g3div-place-result strong{font-size:.8rem}.g3div-long-division{width:155px;height:150px;font-size:.78rem}.g3div-long-division span{min-width:34px;padding:2px 4px}.g3div-long-division .dividend{left:19px;top:14px}.g3div-long-division .divisor{left:69px;top:14px}.g3div-long-division .quotient{left:69px;top:45px}.g3div-long-division .sub-one{left:18px;top:48px}.g3div-long-division .down{left:24px;top:78px}.g3div-long-division .sub-two{left:24px;top:106px}.g3div-long-division .remain{left:28px;top:128px}.g3div-regroup-flow{gap:2px}.g3div-regroup-flow>section{min-height:82px;padding:3px;border-radius:8px}.g3div-regroup-flow .rod{width:4px;height:25px}.g3div-regroup-flow small,.g3div-regroup-flow b,.g3div-regroup-flow em{font-size:.36rem}.g3div-regroup-flow>i{font-size:.8rem}.g3div-proof>div{gap:2px}.g3div-proof section{min-height:55px;padding:3px;border-radius:8px;font-size:.5rem}.g3div-proof>div>i{font-size:.8rem}.g3div-proof section strong{font-size:.7rem}.g3div-independent>div b,.g3div-practice-complete b{padding:6px 8px;font-size:.6rem}.g3div-alternative{min-height:92px;padding:5px}.g3div-alternative p{font-size:.52rem}.g3div-button-share section,.g3div-ring-groups section{width:52px}.grade3-division-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-division-board.remediation-mode>.board-square{height:258px!important}.grade3-division-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}}
@media(prefers-reduced-motion:reduce){.g3div-lab *{animation:none!important;transition:none!important}.g3div-fruit{opacity:1;transform:none}}

/* 3. sınıf · Çarpma–Bölme İlişkisi */
.grade3-multiplication-division-relation-board{--g3mdr-teal:#078c80;--g3mdr-dark:#123f48;--g3mdr-coral:#ee704e;--g3mdr-gold:#edba42}.g3mdr-lab{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border-radius:28px;background:#e3f3ee}.g3mdr-lab>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g3mdr-workspace{position:absolute;inset:0;display:grid;place-items:center;padding:21px;background:linear-gradient(90deg,rgba(236,249,245,.91),rgba(255,250,232,.55) 48%,rgba(236,249,245,.91));color:var(--g3mdr-dark)}.g3mdr-workspace h1,.g3mdr-workspace h2,.g3mdr-workspace p{margin:0}.g3mdr-workspace h1{font-size:1.28rem;line-height:1.18}.g3mdr-workspace h2{font-size:1.03rem}.g3mdr-workspace .board-kicker{font-size:.67rem;font-weight:950;letter-spacing:.1em;color:#05776e}.g3mdr-intro,.g3mdr-final,.g3mdr-build,.g3mdr-flow,.g3mdr-array,.g3mdr-family,.g3mdr-missing,.g3mdr-missing-apply,.g3mdr-check,.g3mdr-remainder-check,.g3mdr-story,.g3mdr-guided,.g3mdr-independent,.g3mdr-practice-complete{display:grid;place-items:center;gap:10px;width:min(97%,830px);padding:17px;border:3px solid rgba(117,193,181,.84);border-radius:25px;background:rgba(249,255,253,.97);box-shadow:0 18px 42px rgba(7,62,58,.22);text-align:center}.g3mdr-intro>div,.g3mdr-final>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.g3mdr-final>div{grid-template-columns:repeat(2,minmax(0,1fr))}.g3mdr-intro section,.g3mdr-final section{display:grid;place-items:center;gap:5px;min-height:72px;padding:9px;border:3px solid #b2dcd5;border-radius:16px;background:#fff;opacity:.22;transition:.42s ease}.g3mdr-intro section i,.g3mdr-final section i{font-style:normal;color:var(--g3mdr-coral);font-size:1.08rem;font-weight:950}.g3mdr-intro[data-step=whole] section:nth-child(2),.g3mdr-intro[data-step=multiply] section:nth-child(-n+2),.g3mdr-intro[data-step=divide] section,.g3mdr-final section{opacity:1}.g3mdr-final>span{font-weight:950;letter-spacing:.12em;color:var(--g3mdr-teal)}.g3mdr-final p{font-weight:800;color:#456a67}
.g3mdr-cookie{display:block;width:14px;height:14px;border:2px solid #9b5b22;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff0b7 0 22%,#d58a36 24% 70%,#934f1f 72%);box-shadow:0 2px 4px rgba(91,52,18,.25);opacity:1;transition:transform .65s cubic-bezier(.22,.75,.24,1),opacity .45s ease}.g3mdr-groups{display:grid;grid-template-columns:repeat(var(--groups),minmax(0,1fr));gap:7px;width:100%}.g3mdr-groups section{display:grid;place-items:center;gap:4px;min-height:91px;padding:7px;border:3px solid #aad7cf;border-radius:18px;background:#fff}.g3mdr-groups section>div{display:grid;grid-template-columns:repeat(3,14px);gap:3px;place-content:center}.g3mdr-groups section small{font-size:.57rem;font-weight:950;color:#52746f}.g3mdr-groups section b{color:var(--g3mdr-teal)}.g3mdr-build .g3mdr-groups section:not(.filled) .g3mdr-cookie{opacity:0;transform:translateY(-55px) scale(.5)}.g3mdr-build-count{display:flex;align-items:center;gap:9px;padding:7px 14px;border-radius:15px;background:#fff0ca}.g3mdr-build-count>*{font-style:normal}.g3mdr-build-count b{font-size:1.3rem;color:var(--g3mdr-coral)}.g3mdr-build-button{width:100%}
.g3mdr-flow{grid-template-columns:minmax(0,1.2fr) auto minmax(0,.8fr)}.g3mdr-flow>.board-kicker,.g3mdr-flow>h2{grid-column:1/-1}.g3mdr-flow-groups{width:100%}.g3mdr-flow .g3mdr-groups{grid-template-columns:repeat(2,1fr)}.g3mdr-flow .g3mdr-groups section{min-height:66px;padding:4px}.g3mdr-flow .g3mdr-groups section>div{grid-template-columns:repeat(3,10px)}.g3mdr-flow .g3mdr-groups .g3mdr-cookie{width:10px;height:10px}.g3mdr-conveyor{font-style:normal;font-size:2.4rem;color:var(--g3mdr-coral);transition:.4s ease}.g3mdr-whole-tray{display:grid;grid-template-columns:repeat(6,12px);gap:3px;place-content:center;min-width:150px;min-height:142px;padding:13px;border:4px solid #71bcb1;border-radius:22px;background:#fff}.g3mdr-whole-tray .g3mdr-cookie{width:12px;height:12px}.g3mdr-flow.multiply .g3mdr-whole-tray .g3mdr-cookie,.g3mdr-flow.divide .g3mdr-groups .g3mdr-cookie{opacity:0}.g3mdr-flow.multiply[data-step=move] .g3mdr-groups .g3mdr-cookie{transform:translateX(120px) scale(.75)}.g3mdr-flow.multiply[data-step=whole] .g3mdr-groups .g3mdr-cookie{opacity:0;transform:translateX(180px) scale(.55)}.g3mdr-flow.multiply[data-step=whole] .g3mdr-whole-tray .g3mdr-cookie{opacity:1}.g3mdr-flow.divide[data-step=reverse] .g3mdr-whole-tray .g3mdr-cookie{transform:translateX(-100px) scale(.78)}.g3mdr-flow.divide[data-step=groups] .g3mdr-whole-tray .g3mdr-cookie{opacity:0;transform:translateX(-180px) scale(.55)}.g3mdr-flow.divide[data-step=groups] .g3mdr-groups .g3mdr-cookie{opacity:1}
.g3mdr-array-grid{display:grid;grid-template-columns:repeat(6,21px);gap:8px;padding:18px;border:4px solid #77bfb4;border-radius:22px;background:#fff;transition:transform .8s cubic-bezier(.2,.76,.3,1)}.g3mdr-array-grid .g3mdr-cookie{width:21px;height:21px}.g3mdr-array>div:last-of-type{display:flex;align-items:center;gap:14px}.g3mdr-array>div:last-of-type>*{padding:8px 12px;border-radius:12px;background:#fff0ca;font-style:normal;opacity:.25;transition:.4s ease}.g3mdr-array[data-step=four]>div:last-of-type b,.g3mdr-array[data-step=rotate]>div:last-of-type b,.g3mdr-array[data-step=rotate]>div:last-of-type i,.g3mdr-array[data-step=six]>div:last-of-type>*{opacity:1}.g3mdr-array[data-step=rotate] .g3mdr-array-grid,.g3mdr-array[data-step=six] .g3mdr-array-grid{transform:rotate(90deg) scale(.83)}
.g3mdr-family-house{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;width:min(94%,590px);padding:18px;border:4px solid #93cec5;border-radius:60px 60px 18px 18px;background:#fff}.g3mdr-family-house>strong{grid-column:1/-1;font-size:1.8rem;color:var(--g3mdr-coral)}.g3mdr-family-house>b{font-size:1.25rem;color:var(--g3mdr-teal)}.g3mdr-family-house>section{padding:8px;border-radius:11px;background:#e8f6f2;font-weight:900;opacity:.2;transition:.4s ease}.g3mdr-family[data-step=multiply] .g3mdr-family-house section:nth-of-type(-n+2),.g3mdr-family[data-step=divide] .g3mdr-family-house section{opacity:1}
.g3mdr-missing-equation,.g3mdr-missing-reverse,.g3mdr-missing-apply>div:last-of-type,.g3mdr-guided>div:last-of-type{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3mdr-missing-equation>*,.g3mdr-missing-reverse>*,.g3mdr-missing-apply>div:last-of-type>*,.g3mdr-guided>div:last-of-type>*{padding:7px 11px;border-radius:12px;background:#fff0ca;font-style:normal}.g3mdr-missing .g3mdr-groups section,.g3mdr-missing-apply .g3mdr-groups section,.g3mdr-guided .g3mdr-groups section{min-height:72px}.g3mdr-missing .g3mdr-groups,.g3mdr-missing-reverse{opacity:.2;transition:.4s ease}.g3mdr-missing[data-step=groups] .g3mdr-groups,.g3mdr-missing[data-step=result] .g3mdr-groups,.g3mdr-missing[data-step=result] .g3mdr-missing-reverse{opacity:1}
.g3mdr-check>div,.g3mdr-remainder-check>div{display:flex;align-items:center;justify-content:center;gap:13px;width:100%}.g3mdr-check section,.g3mdr-remainder-check section{display:grid;place-items:center;gap:5px;min-width:180px;min-height:108px;padding:13px;border:3px solid #abd8d1;border-radius:18px;background:#fff;opacity:.25;transition:.4s ease}.g3mdr-remainder-check section{min-width:125px}.g3mdr-check>div>i,.g3mdr-remainder-check>div>i{font-style:normal;font-size:1.6rem;color:var(--g3mdr-coral)}.g3mdr-check section strong,.g3mdr-remainder-check section strong{color:var(--g3mdr-teal);font-size:1.25rem}.g3mdr-check[data-step=whole] section:first-child,.g3mdr-check[data-step=reverse] section,.g3mdr-check[data-step=combine] section:first-child,.g3mdr-remainder-check[data-step=product] section:first-child,.g3mdr-remainder-check[data-step=remainder] section:nth-child(-n+3),.g3mdr-remainder-check[data-step=whole] section{opacity:1}
.g3mdr-story>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g3mdr-story section{display:grid;place-items:center;gap:5px;min-height:105px;padding:12px;border:3px solid #acd8d1;border-radius:18px;background:#fff;opacity:.25;transition:.4s ease}.g3mdr-story section i{font-style:normal;color:var(--g3mdr-coral)}.g3mdr-story section small{font-weight:950;color:var(--g3mdr-teal)}.g3mdr-story[data-step=multiply] section:first-child,.g3mdr-story[data-step=divide] section{opacity:1}.g3mdr-guided>div:last-of-type{display:grid;grid-template-columns:1fr 1fr;width:100%}.g3mdr-independent>div b,.g3mdr-practice-complete b{display:inline-block;padding:10px 14px;border-radius:14px;background:#fff0ca;color:var(--g3mdr-teal)}
.g3mdr-alternative{display:grid;place-items:center;gap:7px;min-height:110px;padding:9px 16px;border:2px solid #eac166;border-radius:18px;background:#fff8df;text-align:center}.g3mdr-alternative p{margin:0;font-size:.7rem;font-weight:780;color:#526c68}.g3mdr-number-line{display:flex;align-items:center;gap:5px}.g3mdr-number-line i{display:grid;grid-template-columns:1fr;min-width:55px;padding-top:4px;border-top:5px solid var(--g3mdr-teal);font-style:normal}.g3mdr-number-line span{color:var(--g3mdr-coral);font-size:.55rem}.g3mdr-alt-family{display:grid;grid-template-columns:1fr 1fr;gap:4px}.g3mdr-alt-family b,.g3mdr-alt-check>*{padding:5px;border-radius:8px;background:#fff;font-style:normal}.g3mdr-alt-check{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.grade3-multiplication-division-relation-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-multiplication-division-relation-board.remediation-mode>.board-square{height:332px!important}.grade3-multiplication-division-relation-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}.grade3-multiplication-division-relation-board.show-g3mdr-guides .g3mdr-groups,.grade3-multiplication-division-relation-board.show-g3mdr-guides .g3mdr-family-house,.grade3-multiplication-division-relation-board.show-g3mdr-guides .g3mdr-check>div,.grade3-multiplication-division-relation-board.show-g3mdr-guides .g3mdr-remainder-check>div{border-radius:16px;box-shadow:0 0 0 5px rgba(237,186,66,.4),0 0 25px rgba(237,186,66,.55)}
@media(max-width:760px){.g3mdr-lab{height:370px;min-height:370px;max-height:370px;border-radius:19px}.g3mdr-workspace{padding:7px}.g3mdr-intro,.g3mdr-final,.g3mdr-build,.g3mdr-flow,.g3mdr-array,.g3mdr-family,.g3mdr-missing,.g3mdr-missing-apply,.g3mdr-check,.g3mdr-remainder-check,.g3mdr-story,.g3mdr-guided,.g3mdr-independent,.g3mdr-practice-complete{gap:5px;width:100%;padding:7px;border-radius:14px}.g3mdr-workspace h1{font-size:.84rem}.g3mdr-workspace h2{font-size:.71rem}.g3mdr-workspace .board-kicker{font-size:.45rem}.g3mdr-intro section,.g3mdr-final section{min-height:45px;padding:3px;border-radius:8px;font-size:.49rem}.g3mdr-cookie{width:7px;height:7px;border-width:1px}.g3mdr-groups{gap:2px}.g3mdr-groups section{min-height:48px;padding:2px;border-width:2px;border-radius:8px}.g3mdr-groups section>div{grid-template-columns:repeat(3,7px);gap:1px}.g3mdr-groups section small{font-size:.34rem}.g3mdr-groups section b{font-size:.58rem}.g3mdr-build-count{gap:4px;padding:3px 6px;font-size:.52rem}.g3mdr-build-count b{font-size:.75rem}.g3mdr-flow{grid-template-columns:minmax(0,1fr) auto minmax(0,.78fr)}.g3mdr-flow .g3mdr-groups section{min-height:39px}.g3mdr-flow .g3mdr-groups section>div{grid-template-columns:repeat(3,5px)}.g3mdr-flow .g3mdr-groups .g3mdr-cookie,.g3mdr-whole-tray .g3mdr-cookie{width:5px;height:5px}.g3mdr-conveyor{font-size:1.2rem}.g3mdr-whole-tray{grid-template-columns:repeat(6,6px);gap:1px;min-width:69px;min-height:80px;padding:5px;border-width:2px;border-radius:9px}.g3mdr-array-grid{grid-template-columns:repeat(6,10px);gap:3px;padding:7px;border-width:2px;border-radius:9px}.g3mdr-array-grid .g3mdr-cookie{width:10px;height:10px}.g3mdr-array>div:last-of-type{gap:4px}.g3mdr-array>div:last-of-type>*{padding:4px 6px;font-size:.55rem}.g3mdr-family-house{gap:3px;padding:7px;border-width:2px;border-radius:28px 28px 8px 8px}.g3mdr-family-house>strong{font-size:.82rem}.g3mdr-family-house>b{font-size:.7rem}.g3mdr-family-house>section{padding:4px;font-size:.5rem}.g3mdr-missing-equation>*,.g3mdr-missing-reverse>*,.g3mdr-missing-apply>div:last-of-type>*,.g3mdr-guided>div:last-of-type>*{padding:3px 5px;font-size:.53rem}.g3mdr-missing .g3mdr-groups section,.g3mdr-missing-apply .g3mdr-groups section,.g3mdr-guided .g3mdr-groups section{min-height:42px}.g3mdr-check>div,.g3mdr-remainder-check>div{gap:3px}.g3mdr-check section,.g3mdr-remainder-check section{min-width:83px;min-height:55px;padding:3px;border-width:2px;border-radius:8px;font-size:.48rem}.g3mdr-remainder-check section{min-width:57px}.g3mdr-check>div>i,.g3mdr-remainder-check>div>i{font-size:.75rem}.g3mdr-check section strong,.g3mdr-remainder-check section strong{font-size:.66rem}.g3mdr-story>div{gap:3px}.g3mdr-story section{min-height:60px;padding:4px;border-width:2px;border-radius:8px;font-size:.48rem}.g3mdr-guided>div:last-of-type{gap:3px}.g3mdr-independent>div b,.g3mdr-practice-complete b{padding:5px 7px;font-size:.56rem}.g3mdr-alternative{min-height:92px;padding:5px}.g3mdr-alternative p{font-size:.5rem}.g3mdr-number-line i{min-width:33px}.g3mdr-number-line span{font-size:.4rem}.g3mdr-alt-family b,.g3mdr-alt-check>*{padding:3px;font-size:.48rem}.grade3-multiplication-division-relation-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-multiplication-division-relation-board.remediation-mode>.board-square{height:258px!important}.grade3-multiplication-division-relation-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}}
.g3mdr-check section,.g3mdr-remainder-check section{flex:1;min-width:0}.g3mdr-remainder-check>div{gap:6px}
@media(max-width:760px){.g3mdr-check section,.g3mdr-remainder-check section{min-width:0}}
@media(prefers-reduced-motion:reduce){.g3mdr-lab *{animation:none!important;transition:none!important}}
@media(max-width:760px){.g3div-share-button{width:100%;max-width:100%;min-width:0;box-sizing:border-box;gap:8px}.g3div-share-button b,.g3div-share-button span{font-size:.72rem;white-space:nowrap}}
@media(max-width:760px){.lesson-shell:has(.grade3-mental-multiplication-estimate-board) .teacher-transcript{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:58px;overflow:hidden}.lesson-shell:has(.grade3-mental-multiplication-estimate-board) .g3mme-lab{height:368px;min-height:368px;max-height:368px}}

/* 3. sınıf · Çarpımı tahmin etme ve zihinden çarpma */
.grade3-mental-multiplication-estimate-board{--g3mme-teal:#078f82;--g3mme-dark:#073f48;--g3mme-orange:#ed7657;--g3mme-yellow:#f5c84b;overflow:visible}
.g3mme-lab{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border:1px solid #afdcd4;border-radius:30px;background:#eaf8f4;isolation:isolate}
.g3mme-lab>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.82) brightness(.93)}
.g3mme-lab::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(227,249,244,.48),rgba(240,255,251,.22)),rgba(5,78,71,.03)}
.g3mme-workspace{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:20px;color:var(--g3mme-dark)}
.g3mme-intro,.g3mme-meaning,.g3mme-equal-groups,.g3mme-times,.g3mme-round,.g3mme-estimate-exact,.g3mme-balance,.g3mme-decompose,.g3mme-practice,.g3mme-detective,.g3mme-daily,.g3mme-independent,.g3mme-practice-complete,.g3mme-final,.g3mme-alternative{display:grid;place-items:center;gap:12px;width:min(96%,820px);padding:20px;border-radius:26px;background:rgba(250,255,253,.95);box-shadow:0 18px 42px rgba(4,57,53,.22);text-align:center}
.g3mme-workspace h1,.g3mme-workspace h2,.g3mme-workspace p{margin:0}.g3mme-workspace h1{font-size:1.22rem}.g3mme-workspace h2{font-size:1.03rem}.g3mme-workspace small{font-weight:900;letter-spacing:.05em}.g3mme-workspace i{font-style:normal}
.g3mme-intro-route,.g3mme-meaning-cards,.g3mme-estimate-exact>div,.g3mme-balance>div,.g3mme-daily>div,.g3mme-final>div,.g3mme-compare-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}
.g3mme-intro-route section,.g3mme-meaning-cards section,.g3mme-estimate-exact section,.g3mme-balance section,.g3mme-daily>div section,.g3mme-final section,.g3mme-compare-mini section{display:grid;place-items:center;gap:6px;min-height:90px;padding:12px;border:3px solid #acd9d2;border-radius:18px;background:#fff}
.g3mme-intro-route section{opacity:.22;transform:translateY(8px);transition:.45s}.g3mme-intro-route i,.g3mme-final i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e1f5f1;color:var(--g3mme-teal);font-size:1.45rem;font-weight:950}
.g3mme-intro[data-step=groups] .groups,.g3mme-intro[data-step=estimate] .groups,.g3mme-intro[data-step=estimate] .estimate,.g3mme-intro[data-step=exact] .g3mme-intro-route section{opacity:1;transform:none}.g3mme-intro[data-step=estimate] .estimate,.g3mme-intro[data-step=exact] .exact{box-shadow:0 0 0 5px rgba(245,200,75,.38)}
.g3mme-groups{display:grid;grid-template-columns:repeat(var(--groups,4),1fr);grid-auto-flow:column;gap:9px;width:100%}.g3mme-groups section{display:grid;place-items:center;gap:5px;min-height:82px;padding:8px;border:3px solid #c1ded9;border-radius:16px;background:rgba(255,255,255,.92);opacity:.32;transform:scale(.93);transition:.35s}.g3mme-groups section.active{opacity:1;transform:scale(1);box-shadow:0 8px 18px rgba(7,143,130,.16)}.g3mme-groups section>div{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.g3mme-groups section>div i{width:15px;height:20px;border-radius:5px;background:linear-gradient(#ffad72,#ed7657);box-shadow:inset 0 -3px rgba(116,42,26,.15)}.g3mme-groups section b{color:var(--g3mme-teal)}
.g3mme-place-groups{display:grid;grid-template-columns:repeat(var(--groups,4),minmax(0,1fr));gap:8px;width:100%}.g3mme-place-groups>section{display:grid;place-items:center;gap:5px;min-width:0;padding:8px;border:3px solid #b6ddd7;border-radius:16px;background:#fff;opacity:.3;transform:scale(.94);transition:.35s}.g3mme-place-groups>section.active{opacity:1;transform:none}.g3mme-place-objects{display:grid;grid-template-columns:auto 1fr;align-items:end;gap:5px;min-height:48px}.g3mme-place-objects span{display:flex;align-items:end;justify-content:center;gap:3px;flex-wrap:wrap}.g3mme-place-objects .tens i{display:block;width:11px;height:45px;border-radius:5px;background:repeating-linear-gradient(0deg,var(--g3mme-teal),var(--g3mme-teal) 4px,#9addd4 4px,#9addd4 6px)}.g3mme-place-objects .ones{max-width:34px}.g3mme-place-objects .ones i{display:block;width:11px;height:11px;border-radius:4px;background:var(--g3mme-orange)}.g3mme-place-groups b{color:var(--g3mme-teal);font-size:1.05rem}
.g3mme-meaning .g3mme-groups{max-width:560px}.g3mme-meaning-cards{grid-template-columns:1fr 1fr}.g3mme-meaning-cards section:first-child{border-color:#69c7b9}.g3mme-meaning-cards section:last-child{border-color:#f2b29f}.g3mme-meaning-cards i{font-size:1.5rem}.g3mme-meaning-cards strong{font-size:1.15rem}
.g3mme-running-total{display:grid;place-items:center;width:92px;height:74px;border-radius:19px;background:#fff1c8}.g3mme-running-total b{font-size:1.55rem;color:#9b6500}.g3mme-equal-groups>strong{padding:9px 22px;border-radius:14px;background:var(--g3mme-teal);color:#fff;font-size:1.35rem}
.g3mme-times>.g3mme-units,.g3mme-times>.g3mme-tens{display:flex;align-items:end;justify-content:center;gap:8px;width:100%}.g3mme-units i{width:18px;height:18px;border-radius:6px;background:var(--g3mme-orange)}.g3mme-tens i{width:13px;height:64px;border-radius:7px;background:repeating-linear-gradient(0deg,var(--g3mme-teal),var(--g3mme-teal) 5px,#8fd6cd 5px,#8fd6cd 7px);transform:scaleY(.25);opacity:.25;transform-origin:bottom;transition:.55s}.g3mme-times>strong{opacity:0;visibility:hidden;transform:translateY(7px);transition:.4s}.g3mme-times[data-step=grow] .g3mme-tens i,.g3mme-times[data-step=result] .g3mme-tens i{transform:scaleY(1);opacity:1}.g3mme-times[data-step=result]>strong{opacity:1;visibility:visible;transform:none;padding:7px 16px;border-radius:13px;background:#fff0c8}
.g3mme-place-machine{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px;width:100%}.g3mme-place-machine section{display:grid;place-items:center;gap:6px;min-height:100px;padding:12px;border:3px solid #acd9d2;border-radius:18px;background:#fff}.g3mme-place-machine section:last-child{opacity:0;visibility:hidden;transform:scale(.85);transition:.5s}.g3mme-times[data-step=grow] .g3mme-place-machine section:last-child,.g3mme-times[data-step=result] .g3mme-place-machine section:last-child{opacity:1;visibility:visible;transform:scale(1)}.g3mme-place-machine b{font-size:1.3rem}
.g3mme-number-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:min(92%,650px);padding-top:34px}.g3mme-number-line>i{position:relative;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--g3mme-orange),var(--g3mme-yellow),var(--g3mme-teal))}.g3mme-number-line span{position:absolute;left:var(--pos);bottom:18px;transform:translateX(-50%);display:grid;place-items:center;width:44px;height:44px;border:4px solid #fff;border-radius:50%;background:var(--g3mme-orange);color:#fff;font-weight:950;box-shadow:0 5px 13px rgba(0,0,0,.17)}.g3mme-distances{display:flex;justify-content:space-between;width:min(80%,550px)}
.g3mme-estimate-exact>div{grid-template-columns:1fr 1fr}.g3mme-estimate-exact section{opacity:0;visibility:hidden;transform:translateY(8px);transition:.45s}.g3mme-estimate-exact section.estimate{border-color:#7bcaca}.g3mme-estimate-exact section.exact{border-color:#f1a58c}.g3mme-estimate-exact section b,.g3mme-estimate-exact section strong{display:block}.g3mme-estimate-exact section strong{font-size:1.18rem}.g3mme-estimate-exact .exact b,.g3mme-estimate-exact .exact strong{opacity:0;visibility:hidden;transition:.35s}.g3mme-estimate-exact[data-step=estimate] .estimate,.g3mme-estimate-exact[data-step=tens] section,.g3mme-estimate-exact[data-step=ones] section,.g3mme-estimate-exact[data-step=exact] section{opacity:1;visibility:visible;transform:none}.g3mme-estimate-exact[data-step=tens] .exact .tens-part,.g3mme-estimate-exact[data-step=ones] .exact .tens-part,.g3mme-estimate-exact[data-step=ones] .exact .ones-part,.g3mme-estimate-exact[data-step=exact] .exact b,.g3mme-estimate-exact[data-step=exact] .exact strong{opacity:1;visibility:visible}.g3mme-estimate-exact[data-step=estimate] .estimate,.g3mme-estimate-exact[data-step=tens] .exact,.g3mme-estimate-exact[data-step=ones] .exact,.g3mme-estimate-exact[data-step=exact] .exact{box-shadow:0 0 0 5px rgba(245,200,75,.36)}
.g3mme-balance>div{grid-template-columns:1fr auto 1fr;align-items:center}.g3mme-balance>div>i{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--g3mme-yellow);font-size:1.45rem;font-weight:950}.g3mme-balance section b{font-size:1.5rem}
.g3mme-split-model{display:grid;grid-template-columns:1fr auto 1fr 1fr auto 1fr;align-items:center;gap:8px;width:100%}.g3mme-split-model section{display:grid;place-items:center;gap:5px;min-height:92px;padding:9px;border:3px solid #b7ded7;border-radius:16px;background:#fff;opacity:0;visibility:hidden;transform:translateY(7px);transition:.4s}.g3mme-split-model section b{font-size:1.05rem}.g3mme-split-model section strong{color:var(--g3mme-teal)}.g3mme-split-model[data-step=all] section,.g3mme-split-model[data-step=split] .start,.g3mme-split-model[data-step=tens] .start,.g3mme-split-model[data-step=tens] .tens,.g3mme-split-model[data-step=ones] .start,.g3mme-split-model[data-step=ones] .tens,.g3mme-split-model[data-step=ones] .ones,.g3mme-split-model[data-step=result] section{opacity:1;visibility:visible;transform:none}.g3mme-split-model[data-step=tens] .tens,.g3mme-split-model[data-step=ones] .ones,.g3mme-split-model[data-step=result] .result{box-shadow:0 0 0 5px rgba(245,200,75,.35)}
.g3mme-detective>div{display:flex;align-items:center;justify-content:center;gap:14px}.g3mme-detective>div>b,.g3mme-detective section{padding:14px 18px;border:3px solid #acd9d2;border-radius:17px;background:#fff}.g3mme-detective section{position:relative}.g3mme-detective em{position:absolute;right:-12px;top:-14px;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--g3mme-orange);color:#fff;font-weight:950}
.g3mme-daily .g3mme-groups,.g3mme-daily .g3mme-place-groups{max-width:620px}.g3mme-daily>div{grid-template-columns:1fr 1fr}.g3mme-daily>.g3mme-place-groups{grid-template-columns:repeat(var(--groups,4),minmax(0,1fr))}.g3mme-independent-model{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;width:min(92%,560px);min-height:105px;padding:12px;border:4px dashed #83c9be;border-radius:22px;background:#fff}.g3mme-independent-model>b{flex-basis:100%;color:var(--g3mme-dark)}.g3mme-independent-model.tenfold>i{width:14px;height:48px;border-radius:6px;background:repeating-linear-gradient(0deg,var(--g3mme-teal),var(--g3mme-teal) 4px,#9addd4 4px,#9addd4 6px)}.g3mme-independent-model.split>span{display:flex;align-items:flex-end;justify-content:center;gap:4px}.g3mme-independent-model.split>span:first-child i{width:12px;height:50px;border-radius:5px;background:repeating-linear-gradient(0deg,var(--g3mme-teal),var(--g3mme-teal) 4px,#9addd4 4px,#9addd4 6px)}.g3mme-independent-model.split>span:last-of-type i{width:14px;height:14px;border-radius:4px;background:var(--g3mme-orange)}.g3mme-independent-model.compare{display:grid;align-content:center;justify-items:start}.g3mme-independent-model.compare span{display:flex;align-items:center;justify-content:flex-end;width:var(--length);height:30px;padding-right:9px;border-radius:8px;background:linear-gradient(90deg,var(--g3mme-teal),#68cbbb);color:#fff}.g3mme-independent-model.compare span:last-child{background:linear-gradient(90deg,var(--g3mme-orange),#f5b780)}
.g3mme-practice-complete>div,.g3mme-place-shift{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.g3mme-practice-complete b,.g3mme-place-shift>*{padding:9px 14px;border-radius:13px;background:#e6f6f2}.g3mme-final>div{grid-template-columns:repeat(4,1fr)}.g3mme-final>span{padding:6px 13px;border-radius:999px;background:var(--g3mme-teal);color:#fff;font-weight:950}.g3mme-final section{min-height:105px}.g3mme-final p{font-weight:850}
.g3mme-alternative{min-height:150px;border:3px solid #f0bb4b}.g3mme-alternative p{max-width:690px;font-weight:800}.g3mme-alternative .g3mme-groups,.g3mme-alternative .g3mme-place-groups{max-width:520px}.g3mme-compare-mini{grid-template-columns:1fr 1fr}.grade3-mental-multiplication-estimate-board.show-g3mme-guides .g3mme-support-target{border-radius:18px;box-shadow:0 0 0 5px rgba(245,190,55,.48),0 0 28px rgba(245,190,55,.5);animation:g3mme-support-pulse 1.05s ease-in-out infinite alternate}@keyframes g3mme-support-pulse{to{box-shadow:0 0 0 8px rgba(245,190,55,.28),0 0 34px rgba(245,190,55,.58)}}
.grade3-mental-multiplication-estimate-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-mental-multiplication-estimate-board.remediation-mode>.board-square{height:332px!important}.grade3-mental-multiplication-estimate-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}
@media(max-width:760px){.g3mme-lab{height:370px;min-height:370px;max-height:370px;border-radius:22px}.g3mme-workspace{padding:8px}.g3mme-intro,.g3mme-meaning,.g3mme-equal-groups,.g3mme-times,.g3mme-round,.g3mme-estimate-exact,.g3mme-balance,.g3mme-decompose,.g3mme-practice,.g3mme-detective,.g3mme-daily,.g3mme-independent,.g3mme-practice-complete,.g3mme-final,.g3mme-alternative{gap:5px;width:100%;padding:8px;border-radius:16px}.g3mme-workspace h1{font-size:.88rem}.g3mme-workspace h2{font-size:.78rem}.g3mme-workspace p{font-size:.65rem}.g3mme-workspace small,.g3mme-workspace .board-kicker{font-size:.48rem}.g3mme-intro-route,.g3mme-meaning-cards,.g3mme-estimate-exact>div,.g3mme-balance>div,.g3mme-daily>div,.g3mme-final>div,.g3mme-compare-mini{gap:4px}.g3mme-intro-route section,.g3mme-meaning-cards section,.g3mme-estimate-exact section,.g3mme-balance section,.g3mme-daily>div section,.g3mme-final section,.g3mme-compare-mini section{min-height:55px;padding:5px;border-width:2px;border-radius:10px;font-size:.58rem}.g3mme-intro-route i,.g3mme-final i{width:28px;height:28px;border-radius:8px;font-size:.9rem}.g3mme-groups,.g3mme-place-groups{gap:3px}.g3mme-daily>.g3mme-place-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.g3mme-groups section,.g3mme-place-groups>section{min-height:48px;padding:3px;border-width:2px;border-radius:9px}.g3mme-groups section>div{gap:2px}.g3mme-groups section>div i{width:7px;height:10px;border-radius:3px}.g3mme-place-objects{gap:2px;min-height:31px}.g3mme-place-objects .tens i{width:6px;height:29px}.g3mme-place-objects .ones{max-width:20px;gap:1px}.g3mme-place-objects .ones i{width:6px;height:6px}.g3mme-place-groups b{font-size:.68rem}.g3mme-running-total{width:58px;height:45px;border-radius:10px}.g3mme-running-total b{font-size:.9rem}.g3mme-equal-groups>strong{padding:4px 10px;font-size:.75rem}.g3mme-units i{width:10px;height:10px}.g3mme-tens i{width:7px;height:34px}.g3mme-place-machine{gap:5px}.g3mme-place-machine section{min-height:60px;padding:5px;border-width:2px;border-radius:10px;font-size:.62rem}.g3mme-number-line{gap:4px;padding-top:26px}.g3mme-number-line span{width:32px;height:32px;bottom:13px;font-size:.64rem}.g3mme-distances{width:90%;font-size:.58rem}.g3mme-estimate-exact section strong{font-size:.75rem}.g3mme-balance>div>i{width:34px;height:34px;font-size:.9rem}.g3mme-balance section b{font-size:.9rem}.g3mme-split-model{grid-template-columns:1fr auto 1fr 1fr;gap:3px;font-size:.55rem}.g3mme-split-model>i:last-of-type{display:none}.g3mme-split-model .result{grid-column:1/-1;min-height:45px}.g3mme-split-model section{min-height:55px;padding:4px;border-width:2px;border-radius:9px}.g3mme-split-model section b{font-size:.65rem}.g3mme-detective>div{gap:5px}.g3mme-detective>div>b,.g3mme-detective section{padding:7px;font-size:.65rem}.g3mme-independent-model{min-height:62px;padding:5px;gap:3px}.g3mme-independent-model.tenfold>i{width:7px;height:29px}.g3mme-independent-model.split>span:first-child i{width:7px;height:30px}.g3mme-independent-model.split>span:last-of-type i{width:8px;height:8px}.g3mme-independent-model.compare span{height:20px;font-size:.58rem}.g3mme-independent-model>b{font-size:.58rem}.g3mme-final>div{grid-template-columns:1fr 1fr}.g3mme-final section{min-height:50px}.g3mme-final p{font-size:.58rem}.g3mme-alternative{min-height:95px}.grade3-mental-multiplication-estimate-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-mental-multiplication-estimate-board.remediation-mode>.board-square{height:258px!important}.grade3-mental-multiplication-estimate-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}.grade3-mental-multiplication-estimate-shell .teacher-transcript,.grade3-mental-multiplication-estimate-board~* .teacher-transcript{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}}
@media(min-width:761px) and (max-width:1350px){.g3mme-workspace{padding:12px}.g3mme-intro,.g3mme-meaning,.g3mme-equal-groups,.g3mme-times,.g3mme-round,.g3mme-estimate-exact,.g3mme-balance,.g3mme-decompose,.g3mme-practice,.g3mme-detective,.g3mme-daily,.g3mme-independent,.g3mme-practice-complete,.g3mme-final{gap:7px;padding:12px}.g3mme-workspace h1{font-size:1rem}.g3mme-workspace h2{font-size:.88rem}}
@media(prefers-reduced-motion:reduce){.g3mme-lab *{animation:none!important;transition:none!important}}

/* 3. sınıf · toplama ve çıkarma arasındaki ilişki · bütün–parça atölyesi */
.grade3-addition-subtraction-relation-board{--g3asr-teal:#087f75;--g3asr-orange:#e87645;--g3asr-gold:#f1b83d;--g3asr-ink:#123f4d;overflow:hidden;background:linear-gradient(145deg,#e9f8f5,#d8efeb);border-color:#a9d8d1}.grade3-addition-subtraction-relation-board .board-square{max-height:100%}.g3asr-workshop{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border-radius:24px;background:#dfeee8;color:var(--g3asr-ink)}.g3asr-workshop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}.g3asr-workshop:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(239,255,251,.1),rgba(12,55,53,.16));pointer-events:none}.g3asr-workspace{position:relative;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding:23px}.g3asr-workshop.intro .g3asr-workspace{align-items:end}.g3asr-intro,.g3asr-whole,.g3asr-family,.g3asr-swap,.g3asr-order,.g3asr-missing,.g3asr-check,.g3asr-story,.g3asr-independent,.g3asr-practice-complete,.g3asr-final{display:grid;place-items:center;gap:11px;width:min(96%,790px);padding:19px;border-radius:27px;background:rgba(249,255,253,.95);box-shadow:0 17px 38px rgba(4,54,53,.24);text-align:center}.g3asr-workspace h1,.g3asr-workspace h2,.g3asr-workspace p{margin:0}.g3asr-workspace h1{font-size:1.35rem;line-height:1.12}.g3asr-workspace h2{font-size:1.05rem}.g3asr-conveyors{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%}.g3asr-conveyors>i{font-style:normal;font-size:1.5rem;color:var(--g3asr-orange);font-weight:950}.g3asr-group{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;padding:9px 12px;border:3px solid #a9d9d3;border-radius:17px;background:#fff;transition:.7s cubic-bezier(.2,.8,.2,1)}.g3asr-group small{grid-column:1/-1;font-weight:900;color:#5b7473}.g3asr-group>div{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.g3asr-group i{display:block;width:18px;height:18px;border-radius:5px;background:var(--g3asr-teal);box-shadow:inset -4px -4px 0 rgba(0,0,0,.09)}.g3asr-group.orange i{background:var(--g3asr-orange)}.g3asr-group b{font-size:1.35rem;color:var(--g3asr-teal)}.g3asr-group.orange b{color:var(--g3asr-orange)}.g3asr-common{display:grid;grid-template-columns:auto auto;place-items:center;gap:10px;min-width:200px;padding:11px 20px;border:4px solid rgba(255,255,255,.9);border-radius:18px;background:rgba(255,244,195,.95);box-shadow:0 0 0 4px rgba(241,184,61,.3),0 9px 22px rgba(78,59,16,.18);transition:.65s ease}.g3asr-common small{font-weight:900}.g3asr-common b{font-size:1.55rem;color:#a55518}.g3asr-intro .g3asr-conveyors,.g3asr-intro .g3asr-common{opacity:.22}.g3asr-intro[data-step=left] .g3asr-conveyors .g3asr-group:first-child,.g3asr-intro[data-step=right] .g3asr-conveyors,.g3asr-intro[data-step=merge] .g3asr-conveyors,.g3asr-intro[data-step=merge] .g3asr-common,.g3asr-intro[data-step=separate] .g3asr-conveyors,.g3asr-intro[data-step=separate] .g3asr-common{opacity:1}.g3asr-intro[data-step=merge] .g3asr-group:first-child{transform:translate(34px,45px)}.g3asr-intro[data-step=merge] .g3asr-group:last-child{transform:translate(-34px,45px)}.g3asr-intro[data-step=separate] .g3asr-group.orange{transform:translate(100px,12px);opacity:.35}.g3asr-bar{display:grid;grid-template-columns:minmax(0,var(--part,64%)) minmax(0,1fr);grid-template-rows:82px 56px;width:min(94%,650px);border-radius:20px;overflow:hidden;box-shadow:0 10px 24px rgba(7,70,67,.16)}.g3asr-bar>div,.g3asr-bar>strong{display:grid;place-items:center;align-content:center;gap:2px;color:#fff;transition:.45s ease}.g3asr-bar .teal{background:var(--g3asr-teal)}.g3asr-bar .orange{background:var(--g3asr-orange)}.g3asr-bar>strong{grid-column:1/-1;background:#fff3c7;color:#8a5016;font-size:1.25rem}.g3asr-bar small{font-size:.62rem;letter-spacing:.08em}.g3asr-whole .g3asr-bar>*,.g3asr-missing .g3asr-bar>*{opacity:.28}.g3asr-whole[data-step=left] .g3asr-bar .teal,.g3asr-whole[data-step=right] .g3asr-bar>div,.g3asr-whole[data-step=whole] .g3asr-bar>*,.g3asr-missing[data-step=empty] .g3asr-bar>div,.g3asr-missing[data-step=subtract] .g3asr-bar>*,.g3asr-missing[data-step=merge] .g3asr-bar>*,.g3asr-missing[data-step=remain] .g3asr-bar .teal,.g3asr-missing[data-step=depart] .g3asr-bar>*{opacity:1}.g3asr-family-wheel{position:relative;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:14px;width:min(88%,500px);padding:24px}.g3asr-family-wheel b,.g3asr-family-wheel strong{display:grid;place-items:center;width:80px;height:80px;justify-self:center;border-radius:50%;background:#dff4f0;color:var(--g3asr-teal);font-size:1.35rem;border:4px solid #91ccc4;transition:.4s ease}.g3asr-family-wheel strong{background:#fff0bd;color:#a45717;border-color:#edbd55}.g3asr-family-wheel i{position:absolute;font-style:normal;font-size:1.7rem;color:var(--g3asr-orange);opacity:.25}.g3asr-family-wheel i:nth-of-type(1){left:46%;top:0}.g3asr-family-wheel i:nth-of-type(2){left:46%;bottom:0}.g3asr-family[data-step=add] .g3asr-family-wheel i:first-of-type,.g3asr-family[data-step=subtract] .g3asr-family-wheel i{opacity:1;filter:drop-shadow(0 0 7px var(--g3asr-gold))}.g3asr-swap>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:11px;width:100%}.g3asr-swap>div>section{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border:3px solid #acd9d3;border-radius:18px;background:#fff}.g3asr-swap>div>section>b{grid-column:1/-1;padding:7px;border-radius:10px;background:#eef8f6}.g3asr-swap>div>i{font-style:normal;font-size:1.8rem;color:var(--g3asr-orange)}.g3asr-swap .g3asr-group{padding:5px;opacity:.28}.g3asr-swap[data-step=swap] section:last-child .g3asr-group,.g3asr-swap[data-step=same] .g3asr-group{opacity:1}.g3asr-order-track,.g3asr-loop,.g3asr-equation,.g3asr-independent-model{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;flex-wrap:wrap}.g3asr-order-track section{display:grid;place-items:center;gap:4px;min-width:230px;padding:16px;border:3px solid #aed9d3;border-radius:18px;background:#fff;opacity:.26;transition:.4s ease}.g3asr-order-track section.insufficient{border-color:#efb593}.g3asr-order-track b,.g3asr-order-track strong{font-size:1.2rem}.g3asr-order-track i,.g3asr-loop i,.g3asr-equation i,.g3asr-independent-model i{font-style:normal;color:var(--g3asr-orange);font-weight:950}.g3asr-order[data-step=valid] section:first-child,.g3asr-order[data-step=invalid] section{opacity:1}.g3asr-equation>*{display:grid;place-items:center;min-width:55px;min-height:49px;padding:8px;border-radius:13px;background:#e7f5f2;font-size:1.1rem}.g3asr-equation>i{min-width:auto;background:transparent}.g3asr-check .g3asr-loop>*{padding:11px 14px;border-radius:14px;background:#fff;border:3px solid #aed9d3;opacity:.28;transition:.4s ease}.g3asr-check .g3asr-loop>i{background:transparent;border:0}.g3asr-check[data-step=whole] .g3asr-loop>*:nth-child(-n+3),.g3asr-check[data-step=back] .g3asr-loop>*,.g3asr-check[data-step=part] .g3asr-loop>*:nth-child(-n+3){opacity:1}.g3asr-books,.g3asr-people{position:relative;display:grid;grid-template-columns:1.5fr .7fr;align-items:end;gap:5px;width:min(92%,560px);height:125px;padding:12px;border:7px solid #8a5d33;border-radius:15px;background:#f7e3bd}.g3asr-books section{display:grid;place-items:center;height:85px;border-radius:10px;background:repeating-linear-gradient(90deg,#257f78,#257f78 7px,#f8d66d 7px,#f8d66d 13px)}.g3asr-books section.empty{border:3px dashed #c37b45;background:rgba(255,255,255,.6)}.g3asr-books section b,.g3asr-books section small{padding:3px 7px;border-radius:7px;background:#fff}.g3asr-books>strong,.g3asr-people>strong{position:absolute;right:8px;top:8px;padding:5px 9px;border-radius:9px;background:#fff0bc;color:#8d5117}.g3asr-people{grid-template-columns:1fr 1fr;background:#e8f4f0;border-color:#8ec8bf}.g3asr-people section{display:grid;place-items:center;gap:2px;opacity:.28;transition:.4s ease}.g3asr-people section i{font-style:normal;font-size:2.3rem}.g3asr-people section b{font-size:1.2rem}.g3asr-story[data-step=known] .g3asr-books section:first-child,.g3asr-story[data-step=whole] .g3asr-books>*,.g3asr-story[data-step=missing] .g3asr-books>*,.g3asr-story[data-step=whole] .g3asr-people>*,.g3asr-story[data-step=known] .g3asr-people section:first-child,.g3asr-story[data-step=subtract] .g3asr-people>*{opacity:1}.g3asr-independent-model>*{padding:12px 16px;border-radius:15px;background:#e7f5f2;font-size:1.1rem}.g3asr-independent-model strong{background:#fff0bd;color:#8a5016}.g3asr-practice-complete>div,.g3asr-final>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.g3asr-practice-complete b,.g3asr-final section{display:grid;place-items:center;min-height:62px;padding:9px;border:3px solid #add8d2;border-radius:16px;background:#fff}.g3asr-practice-complete i{font-style:normal;color:var(--g3asr-orange)}.g3asr-final>div{grid-template-columns:repeat(2,1fr)}.g3asr-final>span{font-weight:950;color:var(--g3asr-teal);letter-spacing:.13em}.g3asr-final section{gap:5px}.g3asr-final section i{font-style:normal;font-size:1.4rem;color:var(--g3asr-orange)}.g3asr-final p{font-weight:800;color:#4b6969}.g3asr-alternative{display:grid;place-items:center;gap:7px;min-height:108px;padding:10px 18px;border-radius:20px;background:#fff8df;border:2px solid #efc467;text-align:center}.g3asr-alternative p{margin:0;font-size:.72rem;font-weight:760;color:#5b6b65}.g3asr-alt-objects,.g3asr-alt-equations,.g3asr-alt-rules{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3asr-alt-objects section{display:flex;align-items:center;gap:3px}.g3asr-alt-objects section i{display:block;width:13px;height:13px;border-radius:4px;background:var(--g3asr-teal)}.g3asr-alt-objects section:nth-of-type(2) i{background:var(--g3asr-orange)}.g3asr-alt-objects em,.g3asr-alt-objects>strong{font-style:normal}.g3asr-alt-equations b,.g3asr-alt-equations strong,.g3asr-alt-equations em,.g3asr-alt-rules b{padding:6px 10px;border-radius:10px;background:#fff;font-style:normal}.g3asr-alt-pocket{display:grid;grid-template-columns:1fr 1fr;gap:5px}.g3asr-alt-pocket>*{padding:7px 12px;border-radius:10px;background:#fff}.g3asr-alt-pocket>b{grid-column:1/-1}.grade3-addition-subtraction-relation-footer.answers-locked button{pointer-events:none;opacity:.55}.grade3-addition-subtraction-relation-board.show-g3asr-guides .g3asr-bar,.grade3-addition-subtraction-relation-board.show-g3asr-guides .g3asr-equation,.grade3-addition-subtraction-relation-board.show-g3asr-guides .g3asr-order-track,.grade3-addition-subtraction-relation-board.show-g3asr-guides .g3asr-loop{border-radius:18px;box-shadow:0 0 0 5px rgba(241,184,61,.45),0 0 25px rgba(241,184,61,.58)}.grade3-addition-subtraction-relation-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-addition-subtraction-relation-board.remediation-mode>.board-square{height:332px!important;min-height:0!important;overflow:hidden}.grade3-addition-subtraction-relation-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}
@media(max-width:760px){.g3asr-workshop{height:370px;min-height:370px;max-height:370px;border-radius:18px}.g3asr-workspace{padding:8px}.g3asr-intro,.g3asr-whole,.g3asr-family,.g3asr-swap,.g3asr-order,.g3asr-missing,.g3asr-check,.g3asr-story,.g3asr-independent,.g3asr-practice-complete,.g3asr-final{gap:5px;width:100%;padding:8px;border-radius:17px}.g3asr-workspace h1{font-size:.95rem}.g3asr-workspace h2{font-size:.82rem}.g3asr-workspace .board-kicker{font-size:.5rem}.g3asr-conveyors{gap:4px}.g3asr-group{padding:4px;border-radius:10px}.g3asr-group small{font-size:.5rem}.g3asr-group i{width:9px;height:9px;border-radius:3px}.g3asr-group b{font-size:.8rem}.g3asr-common{min-width:130px;padding:5px 9px;border-width:2px;font-size:.6rem}.g3asr-common b{font-size:.9rem}.g3asr-bar{grid-template-rows:54px 38px}.g3asr-family-wheel{gap:4px;padding:10px}.g3asr-family-wheel b,.g3asr-family-wheel strong{width:48px;height:48px;font-size:.83rem}.g3asr-swap>div{gap:3px}.g3asr-swap>div>section{gap:2px;padding:3px;border-radius:11px}.g3asr-swap>div>section>b{font-size:.58rem;padding:3px}.g3asr-swap>div>i{font-size:.9rem}.g3asr-order-track{gap:4px}.g3asr-order-track section{min-width:0;width:48%;padding:7px;border-radius:11px}.g3asr-order-track b,.g3asr-order-track strong{font-size:.75rem}.g3asr-equation{gap:3px}.g3asr-equation>*{min-width:35px;min-height:33px;padding:4px;font-size:.72rem}.g3asr-check .g3asr-loop>*{padding:6px;font-size:.64rem}.g3asr-books,.g3asr-people{height:85px;padding:5px;border-width:4px}.g3asr-books section{height:57px}.g3asr-books section b,.g3asr-books section small{font-size:.52rem}.g3asr-people section i{font-size:1.4rem}.g3asr-people section b{font-size:.75rem}.g3asr-independent-model>*{padding:7px;font-size:.68rem}.g3asr-practice-complete>div,.g3asr-final>div{gap:3px}.g3asr-practice-complete b,.g3asr-final section{min-height:45px;padding:4px;border-radius:10px;font-size:.57rem}.g3asr-final p{font-size:.62rem}.g3asr-alternative{min-height:92px;padding:5px}.g3asr-alternative p{font-size:.55rem}.grade3-addition-subtraction-relation-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-addition-subtraction-relation-board.remediation-mode>.board-square{height:258px!important}.grade3-addition-subtraction-relation-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}}
@media(min-width:761px) and (max-width:1350px){.g3asr-workspace{padding:13px}.g3asr-intro,.g3asr-whole,.g3asr-family,.g3asr-swap,.g3asr-order,.g3asr-missing,.g3asr-check,.g3asr-story,.g3asr-independent,.g3asr-practice-complete,.g3asr-final{gap:7px;padding:12px}.g3asr-workspace h1{font-size:1.05rem}.g3asr-workspace h2{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.g3asr-workshop *{animation:none!important;transition:none!important}}
@media(max-width:760px){.grade3-addition-subtraction-relation-shell .teacher-transcript{display:-webkit-box;max-height:3.75em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}}

/* Grade 3 written subtraction: keep the tallest regrouping screen fully inside 390 x 844. */
@media(max-width:760px){.grade3-written-subtraction-board .g3ws-warehouse{height:364px;min-height:364px;max-height:364px}}

/* 3. sınıf · Üç basamaklı sayılarla toplama */
.grade3-written-addition-board{--g3wa-teal:#087f75;--g3wa-orange:#ed7545;--g3wa-gold:#e5a62e;--g3wa-ink:#123f4d;overflow:hidden;background:linear-gradient(145deg,#eaf9f6,#d9efeb);border-color:#a9d8d2;color:var(--g3wa-ink)}
.g3wa-library,.g3wa-library *{box-sizing:border-box}.g3wa-library{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border-radius:24px;background:#dcefeb;isolation:isolate}.g3wa-library>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.g3wa-library:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(239,255,251,.95),rgba(227,246,242,.82));z-index:-1}.g3wa-library.intro:after,.g3wa-library.finish:after{background:linear-gradient(90deg,rgba(3,47,49,.94),rgba(3,47,49,.38) 72%,rgba(3,47,49,.18))}.g3wa-workspace{display:grid;place-items:center;width:100%;height:100%;padding:22px 28px}.g3wa-workspace h1,.g3wa-workspace h2,.g3wa-workspace p{margin:0}.g3wa-workspace h1{font-size:clamp(1.1rem,2vw,1.7rem);line-height:1.15}.g3wa-workspace h2{font-size:clamp(.98rem,1.7vw,1.32rem);line-height:1.18}.g3wa-workspace .board-kicker{color:var(--g3wa-teal);font-size:.68rem;font-weight:950;letter-spacing:.12em}
.g3wa-intro,.g3wa-final,.g3wa-terms,.g3wa-align,.g3wa-column-steps,.g3wa-regroup,.g3wa-double-carry,.g3wa-detective,.g3wa-commute,.g3wa-three,.g3wa-grouping,.g3wa-estimate-check,.g3wa-independent,.g3wa-practice-complete{display:grid;place-items:center;gap:13px;width:min(96%,800px);padding:21px;border-radius:28px;background:rgba(249,255,253,.96);box-shadow:0 17px 38px rgba(4,54,53,.22);text-align:center}.g3wa-library.intro .g3wa-intro,.g3wa-library.finish .g3wa-final{margin-left:auto;width:min(76%,720px)}
.g3wa-carts,.g3wa-terms>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px;width:100%}.g3wa-carts section,.g3wa-terms section{display:grid;place-items:center;gap:3px;padding:11px;border:3px solid #acd8d2;border-radius:18px;background:#fff;opacity:.24;transform:translateY(8px);transition:.45s ease}.g3wa-carts section:nth-of-type(2),.g3wa-terms section:nth-of-type(2){border-color:#efba70}.g3wa-carts b,.g3wa-terms b{font-size:1.45rem}.g3wa-carts i,.g3wa-terms>div>i{font-style:normal;color:var(--g3wa-orange);font-size:1.3rem}.g3wa-intro[data-step=left] .g3wa-carts section:first-child,.g3wa-intro[data-step=right] .g3wa-carts section:nth-of-type(-n+2),.g3wa-intro[data-step=merge] .g3wa-carts section{opacity:1;transform:none}.g3wa-intro[data-step=merge] .g3wa-carts section:first-child{animation:g3waCartLeft .75s ease both}.g3wa-intro[data-step=merge] .g3wa-carts section:nth-of-type(2){animation:g3waCartRight .75s ease both}@keyframes g3waCartLeft{50%{transform:translateX(18px)}100%{transform:none}}@keyframes g3waCartRight{50%{transform:translateX(-18px)}100%{transform:none}}.g3wa-terms[data-step=first] section:first-child,.g3wa-terms[data-step=second] section:nth-of-type(-n+2),.g3wa-terms[data-step=sum] section{opacity:1;transform:none}
.g3wa-place-table{position:relative;display:grid;grid-template-columns:repeat(3,1fr);width:min(94%,510px);padding:8px 12px 12px;border:3px solid #a9d8d2;border-radius:20px;background:#fff;box-shadow:0 10px 25px rgba(8,82,78,.12)}.g3wa-place-table>div{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.g3wa-label-row small{padding:5px;color:#5d7979;font-size:.64rem;font-weight:950}.g3wa-number-row b,.g3wa-result-row strong,.g3wa-carry-row i{display:grid;place-items:center;border-radius:11px}.g3wa-number-row b{min-height:46px;background:#e8f6f3;font-size:1.35rem}.g3wa-number-row.second b{background:#fff2df}.g3wa-result-row{margin-top:4px;padding-top:6px;border-top:3px solid var(--g3wa-ink)}.g3wa-result-row strong{min-height:46px;background:#0c8b80;color:#fff;font-size:1.35rem}.g3wa-carry-row{min-height:29px}.g3wa-carry-row i{min-height:25px;color:#b45d1f;font-style:normal;font-weight:950}.g3wa-carry-row i:not(:empty){background:#ffe39e;box-shadow:0 0 0 3px rgba(229,166,46,.25)}.g3wa-plus{position:absolute;left:5px;top:59%;transform:translateY(-50%);color:var(--g3wa-orange);font-size:1.25rem;font-weight:950}.g3wa-align[data-step=ones] [data-column="2"],.g3wa-align[data-step=tens] [data-column="1"],.g3wa-align[data-step=hundreds] [data-column="0"],.g3wa-column-steps[data-step="0"] [data-column="2"],.g3wa-column-steps[data-step="1"] [data-column="1"],.g3wa-column-steps[data-step="2"] [data-column="0"]{box-shadow:0 0 0 5px rgba(240,171,50,.45),0 0 22px rgba(240,171,50,.5)}
.g3wa-column-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:min(94%,510px)}.g3wa-column-buttons button,.g3wa-three button{min-height:52px;border:3px solid #a9d8d2;border-radius:15px;background:#fff;color:var(--g3wa-ink);font-weight:950}.g3wa-column-buttons button:not(:disabled),.g3wa-three button:not(:disabled){border-color:var(--g3wa-gold);box-shadow:0 0 0 5px rgba(229,166,46,.23);animation:g3waPulse 1.35s infinite}@keyframes g3waPulse{50%{box-shadow:0 0 0 8px rgba(229,166,46,.13),0 0 22px rgba(229,166,46,.35)}}
.g3wa-regroup{gap:7px;padding:11px}.g3wa-regroup .g3wa-place-table{padding-block:4px 7px}.g3wa-regroup .g3wa-number-row b,.g3wa-regroup .g3wa-result-row strong{min-height:38px}.g3wa-regroup .g3wa-carry-row{min-height:23px}
.g3wa-unit-pool{display:grid;grid-template-columns:repeat(8,18px);gap:5px;padding:10px;border-radius:16px;background:#fff}.g3wa-unit-pool i{width:18px;height:18px;border:2px solid #d4772a;border-radius:4px;background:#ffc56d;opacity:.25}.g3wa-tens-pool{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.g3wa-tens-pool i{width:11px;height:55px;border:2px solid #087f75;border-radius:5px;background:#79cfc3;opacity:.25}.g3wa-package{display:flex;align-items:center;gap:12px;padding:8px 14px;border-radius:16px;background:#fff0c8}.g3wa-package i{font-style:normal;color:var(--g3wa-orange)}.g3wa-regroup.ones .g3wa-carry-row i:not(:empty),.g3wa-regroup.tens .g3wa-carry-row i:not(:empty){opacity:0}.g3wa-regroup[data-step=show] .g3wa-unit-pool i,.g3wa-regroup.tens[data-step=show] .g3wa-tens-pool i,.g3wa-regroup[data-step=pack] .g3wa-unit-pool i,.g3wa-regroup.tens[data-step=carry-out] .g3wa-tens-pool i{opacity:1}.g3wa-regroup[data-step=pack] .g3wa-unit-pool .pack,.g3wa-regroup.tens[data-step=carry-out] .g3wa-tens-pool .pack{animation:g3waPack .85s ease both}@keyframes g3waPack{60%{transform:scale(.72);filter:hue-rotate(65deg)}100%{opacity:.18}}.g3wa-regroup[data-step=carry] .g3wa-carry-row i:not(:empty){animation:g3waCarry .8s ease both}.g3wa-regroup.tens[data-step=carry-in] .g3wa-carry-row i[data-column="1"],.g3wa-regroup.tens[data-step=show] .g3wa-carry-row i[data-column="1"],.g3wa-regroup.tens[data-step=carry-out] .g3wa-carry-row i[data-column="0"],.g3wa-regroup.tens[data-step=result] .g3wa-carry-row i[data-column="0"],.g3wa-regroup.tens[data-step=result] .g3wa-result-row strong{animation:g3waCarry .8s ease both;opacity:1}@keyframes g3waCarry{0%{transform:translateY(38px);opacity:0}100%{transform:none;opacity:1}}
.g3wa-carry-route{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3wa-carry-route b{padding:8px 11px;border-radius:12px;background:#e7f5f2}.g3wa-carry-route i{font-style:normal;color:#c96930}.g3wa-double-carry .g3wa-place-table [data-column]{opacity:.25;transition:.4s}.g3wa-double-carry[data-step=ones] [data-column="2"],.g3wa-double-carry[data-step=tens] [data-column="1"],.g3wa-double-carry[data-step=hundreds] [data-column="0"]{opacity:1}.g3wa-wrong-align{position:relative;display:grid;gap:5px;width:190px;padding:15px;border:3px dashed #e97c59;border-radius:18px;background:#fff}.g3wa-wrong-align b,.g3wa-wrong-align strong{font-size:1.45rem;letter-spacing:.55em}.g3wa-wrong-align strong{transform:translateX(-22px);transition:.6s}.g3wa-detective[data-step=move] .g3wa-wrong-align strong{transform:translateX(22px)}.g3wa-place-hint{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:190px}.g3wa-place-hint span{padding:5px;border-radius:8px;background:#e7f5f2;font-weight:950}
.g3wa-commute>div,.g3wa-grouping>div,.g3wa-estimate-check>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;width:100%}.g3wa-commute section,.g3wa-grouping section,.g3wa-estimate-check section{display:grid;place-items:center;gap:6px;padding:13px;border:3px solid #a9d8d2;border-radius:18px;background:#fff}.g3wa-commute section b{display:inline-block;padding:4px}.g3wa-commute[data-step=swap] section:first-child b:first-child,.g3wa-commute[data-step=swap] section:last-child b:nth-child(3){animation:g3waSwap .8s ease}@keyframes g3waSwap{50%{transform:translateX(24px);color:#ed7545}}.g3wa-commute[data-step=same] section strong{box-shadow:0 0 0 5px rgba(229,166,46,.3)}.g3wa-three-carts{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%}.g3wa-three button{display:grid;gap:6px;padding:10px}.g3wa-three button strong{font-size:1.3rem;color:var(--g3wa-teal)}.g3wa-grouping>div{grid-template-columns:1fr 1fr}.g3wa-grouping section{position:relative}.g3wa-grouping .ring{display:inline-flex;gap:5px;padding:8px;border:4px solid #e6a62e;border-radius:999px}.g3wa-grouping[data-step=left] section:first-child,.g3wa-grouping[data-step=right] section:last-child,.g3wa-grouping[data-step=same] section{box-shadow:0 0 0 5px rgba(229,166,46,.25)}.g3wa-estimate-check section>*{opacity:.25;transition:.4s}.g3wa-estimate-check[data-step=estimate] section:first-child>*,.g3wa-estimate-check[data-step=actual] section>*,.g3wa-estimate-check[data-step=check] section>*{opacity:1}.g3wa-estimate-check section strong{font-size:1.25rem;color:var(--g3wa-teal)}
.g3wa-independent-icon{display:flex;align-items:center;justify-content:center;gap:15px}.g3wa-independent-icon b,.g3wa-independent-icon strong{display:grid;place-items:center;min-width:86px;min-height:62px;padding:10px;border-radius:16px;background:#e7f5f2;font-size:1.15rem}.g3wa-independent-icon i{font-style:normal;color:var(--g3wa-orange)}.g3wa-practice-complete>div{display:flex;gap:10px;flex-wrap:wrap}.g3wa-final>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g3wa-final section{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:12px;border-radius:16px;background:#fff}.g3wa-final section i{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#087f75;color:#fff;font-style:normal;font-weight:950}.g3wa-final>span{font-weight:950;color:var(--g3wa-teal);letter-spacing:.13em}.g3wa-final p{font-weight:800;color:#476b6d}
.g3wa-alternative{display:grid;place-items:center;gap:7px;min-height:108px;padding:10px 18px;border:2px solid #efc467;border-radius:20px;background:#fff8df;text-align:center}.g3wa-alternative p{margin:0;font-size:.72rem;font-weight:750}.g3wa-pocket-model{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.g3wa-pocket-model>*{padding:3px 7px;border-radius:7px;background:#fff}.g3wa-pack-mini,.g3wa-group-mini{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.grade3-written-addition-board.show-g3wa-guides .g3wa-place-table,.grade3-written-addition-board.show-g3wa-guides .g3wa-package,.grade3-written-addition-board.show-g3wa-guides .g3wa-grouping .ring{box-shadow:0 0 0 5px rgba(240,171,50,.4),0 0 24px rgba(240,171,50,.55)}
@media(max-width:760px){.g3wa-library{height:370px;min-height:370px;max-height:370px}.g3wa-workspace{padding:8px}.g3wa-intro,.g3wa-final,.g3wa-terms,.g3wa-align,.g3wa-column-steps,.g3wa-regroup,.g3wa-double-carry,.g3wa-detective,.g3wa-commute,.g3wa-three,.g3wa-grouping,.g3wa-estimate-check,.g3wa-independent,.g3wa-practice-complete{gap:6px;width:100%;padding:8px;border-radius:17px}.g3wa-library.intro .g3wa-intro,.g3wa-library.finish .g3wa-final{width:100%}.g3wa-workspace h1{font-size:.92rem}.g3wa-workspace h2{font-size:.78rem}.g3wa-workspace .board-kicker{font-size:.5rem}.g3wa-carts,.g3wa-terms>div{gap:3px}.g3wa-carts section,.g3wa-terms section{padding:5px;border-radius:10px}.g3wa-carts b,.g3wa-terms b{font-size:.82rem}.g3wa-place-table{padding:3px 7px 6px;border-radius:13px}.g3wa-label-row small{font-size:.48rem;padding:2px}.g3wa-number-row b,.g3wa-result-row strong{min-height:29px;font-size:.84rem}.g3wa-carry-row{min-height:18px}.g3wa-carry-row i{min-height:16px;font-size:.62rem}.g3wa-column-buttons button,.g3wa-three button{min-height:34px;font-size:.62rem}.g3wa-unit-pool{grid-template-columns:repeat(8,11px);gap:2px;padding:4px}.g3wa-unit-pool i{width:11px;height:11px}.g3wa-tens-pool i{width:7px;height:34px}.g3wa-package{gap:6px;padding:4px 7px;font-size:.66rem}.g3wa-carry-route{gap:3px;font-size:.58rem}.g3wa-carry-route b{padding:4px}.g3wa-commute>div,.g3wa-grouping>div,.g3wa-estimate-check>div{gap:4px}.g3wa-commute section,.g3wa-grouping section,.g3wa-estimate-check section{padding:5px;border-radius:10px;font-size:.58rem}.g3wa-three-carts{gap:4px}.g3wa-independent-icon b,.g3wa-independent-icon strong{min-width:58px;min-height:40px;padding:4px;font-size:.72rem}.g3wa-final>div{gap:4px}.g3wa-final section{padding:5px;font-size:.58rem}.g3wa-final section i{width:28px;height:28px}.g3wa-alternative{min-height:92px;padding:5px}.g3wa-alternative p{font-size:.55rem}}
@media(min-width:761px) and (max-width:1350px){.g3wa-workspace{padding:12px}.g3wa-intro,.g3wa-final,.g3wa-terms,.g3wa-align,.g3wa-column-steps,.g3wa-regroup,.g3wa-double-carry,.g3wa-detective,.g3wa-commute,.g3wa-three,.g3wa-grouping,.g3wa-estimate-check,.g3wa-independent,.g3wa-practice-complete{gap:7px;padding:12px}.g3wa-workspace h1{font-size:1rem}.g3wa-workspace h2{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.g3wa-library *{animation:none!important;transition:none!important}}

/* 3. sınıf · Üç basamaklı sayılarla çıkarma */
.grade3-written-subtraction-board{--g3ws-teal:#087f75;--g3ws-ink:#123d49;--g3ws-orange:#eb7442;--g3ws-gold:#e6a52f;overflow:hidden}.g3ws-warehouse{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border:1px solid #acd8d2;border-radius:28px;background:#dff3ee}.g3ws-warehouse>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.g3ws-warehouse:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(227,247,241,.4),rgba(227,247,241,.12) 46%,rgba(227,247,241,.24))}.g3ws-workspace{position:relative;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding:18px;overflow:hidden;color:var(--g3ws-ink)}.g3ws-workspace h1,.g3ws-workspace h2,.g3ws-workspace p{margin:0}.g3ws-workspace h1{font-size:1.32rem}.g3ws-workspace h2{font-size:1.02rem}.g3ws-intro,.g3ws-final,.g3ws-terms,.g3ws-align,.g3ws-column-steps,.g3ws-convert,.g3ws-finish-single,.g3ws-chain,.g3ws-detective,.g3ws-inverse,.g3ws-estimate,.g3ws-guided,.g3ws-independent,.g3ws-practice-complete{display:grid;place-items:center;gap:12px;width:min(96%,800px);padding:20px;border-radius:27px;background:rgba(249,255,253,.96);box-shadow:0 17px 38px rgba(4,54,53,.23);text-align:center}.g3ws-warehouse.intro .g3ws-intro,.g3ws-warehouse.finish .g3ws-final{margin-left:auto;width:min(76%,720px)}.g3ws-shipment,.g3ws-terms>div{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px;width:100%}.g3ws-shipment section,.g3ws-terms section{display:grid;place-items:center;gap:3px;padding:11px;border:3px solid #acd8d2;border-radius:18px;background:#fff;opacity:.22;transform:translateY(8px);transition:.45s}.g3ws-shipment section:nth-of-type(2),.g3ws-terms section:nth-of-type(2){border-color:#efb46c}.g3ws-shipment b,.g3ws-terms b{font-size:1.42rem}.g3ws-shipment i,.g3ws-terms>div>i{font-style:normal;font-size:1.3rem;color:var(--g3ws-orange)}.g3ws-intro[data-step=whole] .g3ws-shipment section:first-child,.g3ws-intro[data-step=leave] .g3ws-shipment section:nth-of-type(-n+2),.g3ws-intro[data-step=remain] .g3ws-shipment section{opacity:1;transform:none}.g3ws-moving-crates{display:flex;justify-content:center;gap:7px;height:34px}.g3ws-moving-crates i{display:block;width:28px;height:28px;border:3px solid #ad5f2d;border-radius:5px;background:#f2a650;opacity:.2}.g3ws-intro[data-step=leave] .g3ws-moving-crates i,.g3ws-intro[data-step=remain] .g3ws-moving-crates i{animation:g3wsCrateLeave 1.3s ease both;animation-delay:calc(var(--i,0)*.08s)}@keyframes g3wsCrateLeave{to{transform:translateX(105px);opacity:1}}.g3ws-terms[data-step=minuend] section:first-child,.g3ws-terms[data-step=subtrahend] section:nth-of-type(-n+2),.g3ws-terms[data-step=difference] section{opacity:1;transform:none}
.g3ws-place-table{position:relative;display:grid;gap:4px;width:min(94%,430px);padding:10px 20px 15px;border:4px solid #8ecbc3;border-radius:19px;background:#f9fffd}.g3ws-transform-row,.g3ws-label-row,.g3ws-number-row,.g3ws-result-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.g3ws-transform-row{min-height:26px}.g3ws-transform-row i{display:grid;place-items:center;min-height:24px;border-radius:8px;color:#c7652e;font-style:normal;font-weight:950}.g3ws-label-row small{padding:4px;border-radius:7px;background:#dff2ed;color:#08756b;font-weight:900}.g3ws-number-row b,.g3ws-result-row strong{display:grid;place-items:center;min-height:43px;border-radius:11px;background:#fff;font-size:1.12rem}.g3ws-number-row.second{border-bottom:4px solid #ef8b57}.g3ws-minus{position:absolute;left:5px;top:142px;color:var(--g3ws-orange);font-size:1.4rem;font-weight:950}.g3ws-result-row strong{background:#e2f5ef;color:#076e66}.g3ws-align[data-step=hundreds] [data-column="0"],.g3ws-align[data-step=tens] [data-column="1"],.g3ws-align[data-step=ones] [data-column="2"],.show-g3ws-guides .g3ws-place-table{box-shadow:0 0 0 4px rgba(236,164,45,.3);background:#fff9db}.g3ws-column-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:min(94%,510px)}.g3ws-column-buttons button{min-height:50px;border:3px solid #a9d8d2;border-radius:15px;background:#fff;color:var(--g3ws-ink);font-weight:950}.g3ws-column-buttons button:not(:disabled){border-color:var(--g3ws-gold);box-shadow:0 0 0 5px rgba(229,166,46,.23);animation:g3wsPulse 1.3s infinite}@keyframes g3wsPulse{50%{box-shadow:0 0 0 8px rgba(229,166,46,.12),0 0 22px rgba(229,166,46,.36)}}
.g3ws-block-model{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:7px;width:min(100%,520px);padding:9px;border:3px solid #a8d6d0;border-radius:17px;background:#fff}.g3ws-block-model>small,.g3ws-block-model>b{grid-column:1/-1}.g3ws-block-model>small{font-weight:950;color:#a15f12}.g3ws-block-model>div{display:flex;align-content:flex-end;align-items:flex-end;justify-content:center;flex-wrap:wrap;gap:3px;min-height:72px;padding:5px;border-radius:10px;background:#eef8f5}.g3ws-block-model .hundreds i{width:28px;height:28px;border:2px solid #197e74;background:#7ac8bc}.g3ws-block-model .tens i{width:7px;height:39px;border:2px solid #c37628;border-radius:3px;background:#f3bd5e}.g3ws-block-model .ones i{width:9px;height:9px;border:2px solid #b85c36;border-radius:2px;background:#ef8b5c}.g3ws-convert{position:relative;min-height:390px}.g3ws-convert .g3ws-frame{width:100%}.g3ws-convert .after{display:none}.g3ws-flying-ten{position:absolute;left:54%;top:184px;width:10px;height:52px;border:3px solid #c37628;border-radius:4px;background:#f3bd5e;opacity:0}.g3ws-convert[data-step=move] .g3ws-flying-ten{opacity:1;animation:g3wsTenToOnes 1.1s ease both}.g3ws-convert[data-step=open] .before{display:none}.g3ws-convert[data-step=open] .after{display:block;animation:g3wsReveal .55s ease both}@keyframes g3wsTenToOnes{50%{transform:translateX(95px)}100%{transform:translate(95px,22px) scale(.25);opacity:0}}@keyframes g3wsReveal{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}.g3ws-finish-single .g3ws-transform-row i:not(:empty){background:#fff0bc;box-shadow:0 0 0 3px #f1b23d44}.g3ws-subtract-route{display:flex;gap:7px;align-items:center;justify-content:center;flex-wrap:wrap}.g3ws-subtract-route b{padding:7px 10px;border-radius:10px;background:#e2f4ef}.g3ws-subtract-route i{font-style:normal;color:var(--g3ws-orange)}.g3ws-finish-single[data-step=ones] [data-column="2"],.g3ws-finish-single[data-step=tens] [data-column="1"],.g3ws-finish-single[data-step=hundreds] [data-column="0"]{box-shadow:0 0 0 5px #efad3555}
.g3ws-chain{position:relative;min-height:390px}.g3ws-chain .g3ws-frame{display:none;width:100%}.g3ws-chain[data-step=start] .g3ws-frame.start,.g3ws-chain[data-step=ones] .g3ws-frame.ones,.g3ws-chain[data-step=tens] .g3ws-frame.tens,.g3ws-chain[data-step=result] .g3ws-frame.result{display:block;animation:g3wsReveal .55s ease both}.g3ws-chain .g3ws-frame:before{content:"PAKET AÇILIYOR";display:block;margin:0 auto 5px;width:max-content;padding:4px 8px;border-radius:999px;background:#fff0bd;color:#8b5707;font-size:.66rem;font-weight:950}.g3ws-chain .g3ws-frame.start:before{content:"BAŞLANGIÇ"}.g3ws-chain .g3ws-frame.result:before{content:"ÇIKARMA TAMAMLANDI"}.g3ws-detective-chain,.g3ws-guided-arrow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3ws-detective-chain>*{padding:13px 17px;border-radius:14px;background:#e4f3ef}.g3ws-detective-chain i,.g3ws-guided-arrow i{font-style:normal;color:var(--g3ws-orange)}.g3ws-detective[data-step=hundred] .g3ws-detective-chain strong:after{content:"4Y · 10O · 3B";color:#086f67}.g3ws-detective[data-step=ten] .g3ws-detective-chain strong:after{content:"4Y · 9O · 13B";color:#086f67}.g3ws-inverse>div,.g3ws-estimate>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;width:100%}.g3ws-inverse section,.g3ws-estimate section{display:grid;place-items:center;gap:5px;padding:12px;border:3px solid #a9d8d2;border-radius:17px;background:#fff}.g3ws-inverse[data-step=difference] section:first-child,.g3ws-inverse[data-step=whole] section,.g3ws-estimate[data-step=estimate] section:first-child,.g3ws-estimate[data-step=actual] section,.g3ws-estimate[data-step=check] section{box-shadow:0 0 0 5px #efa92e44}.g3ws-guided-arrow b,.g3ws-guided-arrow strong{padding:10px 13px;border-radius:12px;background:#e2f4ef}.g3ws-guided[data-step=open] .g3ws-guided-arrow strong{animation:g3wsReveal .55s both;box-shadow:0 0 0 4px #efa92e55}.g3ws-independent-icon{display:flex;align-items:center;justify-content:center;gap:9px}.g3ws-independent-icon b,.g3ws-independent-icon strong{display:grid;place-items:center;min-width:100px;min-height:58px;padding:8px;border-radius:14px;background:#e2f4ef}.g3ws-independent-icon i{font-style:normal;color:var(--g3ws-orange)}.g3ws-practice-complete>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.g3ws-practice-complete b{padding:9px 12px;border-radius:11px;background:#e1f4ee}.g3ws-final>div{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;width:100%}.g3ws-final section{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;padding:10px;border-radius:14px;background:#fff}.g3ws-final section i{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e1f4ee;color:#08736a;font-style:normal;font-weight:950}.g3ws-final p{padding:8px 12px;border-radius:12px;background:#fff0c5;color:#7a520d;font-weight:850}
.g3ws-alternative{display:grid;place-items:center;gap:9px;width:100%;min-height:210px;padding:13px;border:3px solid #eda936;border-radius:19px;background:#fffdf4}.g3ws-alt-pockets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;width:min(100%,480px)}.g3ws-alt-pockets>*{padding:7px;border-radius:9px;background:#e4f4ef}.g3ws-alt-convert{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:7px}.g3ws-alt-convert span{display:grid;grid-template-columns:repeat(5,10px);gap:3px}.g3ws-alt-convert em{width:10px;height:10px;background:#ef8a5a}.g3ws-alt-inverse{display:grid;grid-template-columns:repeat(3,auto);gap:7px;align-items:center}.g3ws-alt-inverse>*{padding:7px;border-radius:9px;background:#e4f4ef}.show-g3ws-guides .g3ws-block-model{outline:5px solid #efa82c55;outline-offset:2px}
.g3ws-support-target{outline:5px solid rgba(239,168,44,.72)!important;outline-offset:4px;animation:g3wsSupportPulse 1.15s ease-in-out infinite alternate}@keyframes g3wsSupportPulse{to{outline-color:rgba(239,168,44,.28);filter:drop-shadow(0 0 10px rgba(239,168,44,.35))}}
.grade3-written-subtraction-footer .answer-row,.grade3-written-subtraction-footer .choice-grid,.grade3-written-subtraction-footer .theme4-final-choices{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
@media(max-width:760px){.g3ws-warehouse{height:370px;min-height:370px;max-height:370px;border-radius:17px}.g3ws-workspace{padding:7px}.g3ws-intro,.g3ws-final,.g3ws-terms,.g3ws-align,.g3ws-column-steps,.g3ws-convert,.g3ws-finish-single,.g3ws-chain,.g3ws-detective,.g3ws-inverse,.g3ws-estimate,.g3ws-guided,.g3ws-independent,.g3ws-practice-complete{gap:5px;width:100%;padding:7px;border-radius:15px}.g3ws-warehouse.intro .g3ws-intro,.g3ws-warehouse.finish .g3ws-final{width:100%}.g3ws-workspace h1{font-size:.88rem}.g3ws-workspace h2{font-size:.74rem}.g3ws-workspace .board-kicker{font-size:.48rem}.g3ws-shipment,.g3ws-terms>div{gap:3px}.g3ws-shipment section,.g3ws-terms section{padding:4px;border-radius:9px}.g3ws-shipment b,.g3ws-terms b{font-size:.8rem}.g3ws-moving-crates{height:21px}.g3ws-moving-crates i{width:18px;height:18px}.g3ws-place-table{padding:3px 8px 6px;border-radius:12px}.g3ws-transform-row{min-height:17px}.g3ws-transform-row i{min-height:16px;font-size:.6rem}.g3ws-label-row small{padding:2px;font-size:.46rem}.g3ws-number-row b,.g3ws-result-row strong{min-height:27px;font-size:.8rem}.g3ws-minus{top:92px;font-size:.9rem}.g3ws-column-buttons button{min-height:32px;font-size:.62rem}.g3ws-block-model{gap:3px;padding:4px}.g3ws-block-model>div{min-height:45px;padding:3px}.g3ws-block-model .hundreds i{width:17px;height:17px}.g3ws-block-model .tens i{width:5px;height:25px}.g3ws-block-model .ones i{width:7px;height:7px}.g3ws-convert,.g3ws-chain{min-height:295px}.g3ws-flying-ten{top:132px}.g3ws-subtract-route{gap:3px;font-size:.58rem}.g3ws-subtract-route b{padding:4px}.g3ws-inverse section,.g3ws-estimate section{padding:5px;font-size:.58rem}.g3ws-guided-arrow{gap:4px;font-size:.62rem}.g3ws-independent-icon b,.g3ws-independent-icon strong{min-width:65px;min-height:38px;padding:4px;font-size:.66rem}.g3ws-final>div{gap:4px}.g3ws-final section{padding:4px;font-size:.55rem}.g3ws-final section i{width:27px;height:27px}.g3ws-alternative{min-height:115px;padding:5px}.g3ws-alternative p{font-size:.54rem}.g3ws-alt-convert{font-size:.54rem}}
@media(min-width:761px) and (max-width:1350px){.g3ws-workspace{padding:11px}.g3ws-intro,.g3ws-final,.g3ws-terms,.g3ws-align,.g3ws-column-steps,.g3ws-convert,.g3ws-finish-single,.g3ws-chain,.g3ws-detective,.g3ws-inverse,.g3ws-estimate,.g3ws-guided,.g3ws-independent,.g3ws-practice-complete{gap:7px;padding:11px}.g3ws-workspace h1{font-size:1rem}.g3ws-workspace h2{font-size:.88rem}}
@media(prefers-reduced-motion:reduce){.g3ws-warehouse *{animation:none!important;transition:none!important}}

/* 3. sınıf · farkı tahmin etme ve zihinden çıkarma */
.grade3-mental-subtraction-estimate-board{--g3mse-teal:#087f75;--g3mse-orange:#ed7545;--g3mse-gold:#e5a62e;--g3mse-ink:#123f4d;overflow:hidden;background:linear-gradient(145deg,#eaf9f6,#d9efeb);border-color:#a9d8d2;color:var(--g3mse-ink)}
.grade3-mental-subtraction-estimate-board>.board-square{height:100%;min-height:0;overflow:hidden}.g3mse-center,.g3mse-center *{box-sizing:border-box}.g3mse-center{position:relative;width:100%;height:470px;min-height:470px;max-height:470px;overflow:hidden;border-radius:24px;background:#dcefeb;isolation:isolate}.g3mse-center>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.g3mse-center:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(239,255,251,.94),rgba(227,246,242,.78));z-index:-1}.g3mse-center.intro:after,.g3mse-center.finish:after{background:linear-gradient(90deg,rgba(3,47,49,.93),rgba(3,47,49,.35) 70%,rgba(3,47,49,.15))}.g3mse-workspace{display:grid;place-items:center;width:100%;height:100%;padding:24px 30px}.g3mse-workspace h1,.g3mse-workspace h2,.g3mse-workspace p{margin:0}.g3mse-workspace h1{font-size:clamp(1.18rem,2.25vw,1.82rem);line-height:1.14}.g3mse-workspace h2{font-size:clamp(1rem,1.85vw,1.4rem);line-height:1.18}.g3mse-workspace .board-kicker{color:var(--g3mse-teal);font-size:.68rem;font-weight:950;letter-spacing:.12em}
.g3mse-intro,.g3mse-final{display:grid;gap:16px;width:min(95%,780px);padding:26px;border-radius:28px;background:rgba(255,255,255,.95);box-shadow:0 18px 38px rgba(4,42,43,.28)}.g3mse-center.intro .g3mse-intro,.g3mse-center.finish .g3mse-final{margin-left:auto}.g3mse-stock{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:9px}.g3mse-stock section{display:grid;place-items:center;gap:3px;padding:12px;border:3px solid #acd8d2;border-radius:18px;background:#f7fffd}.g3mse-stock section:nth-of-type(2){border-color:#efba70}.g3mse-stock section:last-child{border-style:dashed}.g3mse-stock small{font-weight:900;color:#597575}.g3mse-stock b{font-size:1.45rem}.g3mse-stock>i{font-style:normal;color:var(--g3mse-orange);font-size:1.3rem}.g3mse-moving-boxes{display:flex;justify-content:center;gap:7px;height:36px}.g3mse-moving-boxes i{display:block;width:30px;height:30px;border:3px solid #c96c2f;border-radius:6px;background:#f7b05a;box-shadow:inset -6px -6px 0 rgba(150,76,24,.15);animation:g3mseMove 2.8s ease-in-out infinite}.g3mse-moving-boxes i:nth-child(2){animation-delay:.18s}.g3mse-moving-boxes i:nth-child(3){animation-delay:.36s}@keyframes g3mseMove{0%,16%{transform:translateX(-70px);opacity:.3}50%,100%{transform:translateX(70px);opacity:1}}
.g3mse-terms,.g3mse-round,.g3mse-estimate,.g3mse-compare,.g3mse-hundreds,.g3mse-place-parts,.g3mse-split-two,.g3mse-bridge,.g3mse-compensate,.g3mse-count-up,.g3mse-preference,.g3mse-preference-saved,.g3mse-question,.g3mse-practice-complete{display:grid;place-items:center;gap:13px;width:min(96%,790px);padding:21px;border-radius:28px;background:rgba(249,255,253,.96);box-shadow:0 17px 38px rgba(4,54,53,.2);text-align:center}.g3mse-terms>div,.g3mse-preference>div,.g3mse-final>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.g3mse-terms section,.g3mse-preference section,.g3mse-final section{display:grid;place-items:center;gap:5px;min-width:0;padding:12px;border:3px solid #aed9d3;border-radius:18px;background:#fff;transition:.4s ease}.g3mse-terms section{opacity:.28}.g3mse-terms[data-step=whole] section:first-child,.g3mse-terms[data-step=away] section:nth-child(-n+2),.g3mse-terms[data-step=difference] section{opacity:1;transform:none}.g3mse-terms b,.g3mse-preference strong,.g3mse-final i{font-size:1.32rem;color:var(--g3mse-teal);font-style:normal}.g3mse-terms small,.g3mse-preference small{font-weight:760;color:#597575}
.g3mse-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;width:min(92%,620px);padding:20px 16px 4px}.g3mse-line>b{font-size:1.15rem}.g3mse-line>i{position:relative;height:9px;border-radius:999px;background:linear-gradient(90deg,var(--g3mse-teal),var(--g3mse-gold));font-style:normal}.g3mse-line>i:before{content:"";position:absolute;left:calc(var(--ratio)*100%);top:50%;width:22px;height:22px;border:5px solid #fff;border-radius:50%;background:var(--g3mse-orange);box-shadow:0 0 0 4px rgba(237,117,69,.28);transform:translate(-50%,-50%)}.g3mse-line>i span{position:absolute;left:calc(var(--ratio)*100%);bottom:20px;transform:translateX(-50%);padding:5px 9px;border-radius:10px;background:var(--g3mse-ink);color:#fff;font-size:.76rem;font-weight:950}.g3mse-round-result,.g3mse-tens-equation,.g3mse-shift-pair,.g3mse-count-total,.g3mse-preference-saved>div,.g3mse-practice-complete>div{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3mse-round-result b,.g3mse-tens-equation b,.g3mse-shift-pair b,.g3mse-count-total b,.g3mse-count-total strong,.g3mse-preference-saved b,.g3mse-preference-saved strong,.g3mse-practice-complete b{padding:9px 13px;border-radius:13px;background:#e7f5f2;font-size:1.05rem}.g3mse-round-result i,.g3mse-tens-equation i,.g3mse-shift-pair i,.g3mse-count-total i,.g3mse-preference-saved i,.g3mse-practice-complete i{font-style:normal;color:var(--g3mse-orange);font-weight:950}
.g3mse-estimate-bar,.g3mse-distance-choice{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;width:min(92%,590px)}.g3mse-estimate-bar i,.g3mse-distance-choice i{height:10px;border-radius:999px;background:linear-gradient(90deg,var(--g3mse-teal) 45%,var(--g3mse-orange) 45%);font-style:normal}.g3mse-compare-cards,.g3mse-place-parts>div,.g3mse-step-equation,.g3mse-hop-row,.g3mse-bridge-line,.g3mse-fixed-lines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.g3mse-compare-cards section,.g3mse-place-parts section,.g3mse-step-equation section,.g3mse-hop-row section,.g3mse-bridge-line section,.g3mse-fixed-lines section{display:grid;place-items:center;gap:5px;min-height:78px;padding:10px;border:3px solid #add9d3;border-radius:18px;background:#fff;opacity:.25;transition:.45s ease}.g3mse-compare[data-step=estimate] section:first-child,.g3mse-compare[data-step=actual] section:nth-child(-n+2),.g3mse-compare[data-step=distance] section,.g3mse-place-parts[data-step=start] section:first-child,.g3mse-place-parts[data-step=tens] section:nth-child(-n+2),.g3mse-place-parts[data-step=result] section,.g3mse-split-two[data-step=split] .g3mse-step-equation section:first-child,.g3mse-split-two[data-step=twenty] .g3mse-step-equation section:nth-child(-n+2),.g3mse-split-two[data-step=seven] .g3mse-step-equation section,.g3mse-bridge[data-step=split] .g3mse-bridge-line section:first-child,.g3mse-bridge[data-step=seventy] .g3mse-bridge-line section:nth-child(-n+2),.g3mse-bridge[data-step=result] .g3mse-bridge-line section,.g3mse-compensate[data-step=move] .g3mse-fixed-lines section:first-child,.g3mse-compensate[data-step=both] .g3mse-fixed-lines section:nth-child(-n+2),.g3mse-compensate[data-step=result] .g3mse-fixed-lines section{opacity:1}.g3mse-compare-cards b,.g3mse-step-equation b,.g3mse-hop-row b,.g3mse-bridge-line b,.g3mse-fixed-lines b{font-size:1.08rem}.g3mse-compare-cards strong,.g3mse-place-parts strong,.g3mse-step-equation strong,.g3mse-hop-row strong,.g3mse-bridge-line strong,.g3mse-fixed-lines strong{color:var(--g3mse-teal);font-size:1.14rem}
.g3mse-place-parts>div{grid-template-columns:1fr auto 1fr}.g3mse-tens{display:flex;gap:3px}.g3mse-tens i{display:block;width:10px;height:54px;border-radius:3px;background:var(--g3mse-teal)}.g3mse-ones{display:grid;grid-template-columns:repeat(3,10px);gap:3px}.g3mse-ones i{display:block;width:10px;height:10px;border-radius:3px;background:var(--g3mse-orange)}.g3mse-hop-row{grid-template-columns:repeat(2,1fr)}.g3mse-bridge-line,.g3mse-fixed-lines{grid-template-columns:repeat(3,1fr)}
.g3mse-count-line{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%}.g3mse-count-line button{display:grid;place-items:center;gap:4px;min-height:96px;padding:10px;border:3px solid #b2d9d3;border-radius:18px;background:#fff;color:var(--g3mse-ink);cursor:pointer;transition:.25s ease}.g3mse-count-line button:not([disabled]){border-color:var(--g3mse-gold);box-shadow:0 0 0 5px rgba(229,166,46,.25),0 0 22px rgba(229,166,46,.45);animation:g3msePulse 1.2s ease-in-out infinite}.g3mse-count-line button.done{background:#e8f7f3;border-color:var(--g3mse-teal);box-shadow:none;animation:none}.g3mse-count-line button i{font-style:normal;color:var(--g3mse-orange);font-weight:950}.g3mse-count-line button strong{color:var(--g3mse-teal);font-size:1.12rem}@keyframes g3msePulse{50%{box-shadow:0 0 0 8px rgba(229,166,46,.16),0 0 25px rgba(229,166,46,.55)}}
.g3mse-preference>div{grid-template-columns:1fr 1fr}.g3mse-preference section{opacity:1}.g3mse-final>div{grid-template-columns:repeat(2,1fr)}.g3mse-final>span{font-weight:950;color:var(--g3mse-teal);letter-spacing:.13em}.g3mse-final p,.g3mse-preference-saved p{font-weight:770;color:#476b6d}.g3mse-alternative{display:grid;place-items:center;gap:7px;min-height:108px;padding:10px 18px;border-radius:20px;background:#fff8df;border:2px solid #efc467;text-align:center}.g3mse-alternative p{margin:0;font-size:.72rem;font-weight:750;color:#5b6b65}.g3mse-alternative .g3mse-line{padding-block:5px}.g3mse-alt-row{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3mse-alt-row i{font-style:normal}.grade3-mental-subtraction-estimate-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 118px!important;height:458px;gap:6px}.grade3-mental-subtraction-estimate-board.remediation-mode>.board-square{height:332px!important}.grade3-mental-subtraction-estimate-board.remediation-mode>.teacher-remediation-panel{min-height:112px;max-height:118px;overflow:hidden}.grade3-mental-subtraction-estimate-board.show-g3mse-guides .g3mse-line,.grade3-mental-subtraction-estimate-board.show-g3mse-guides .g3mse-bridge-line,.grade3-mental-subtraction-estimate-board.show-g3mse-guides .g3mse-fixed-lines,.grade3-mental-subtraction-estimate-board.show-g3mse-guides .g3mse-count-line{border-radius:16px;box-shadow:0 0 0 5px rgba(240,171,50,.4),0 0 24px rgba(240,171,50,.55)}
@media(max-width:760px){.g3mse-center{height:370px;min-height:370px;max-height:370px}.g3mse-workspace{padding:9px}.g3mse-intro,.g3mse-final,.g3mse-terms,.g3mse-round,.g3mse-estimate,.g3mse-compare,.g3mse-hundreds,.g3mse-place-parts,.g3mse-split-two,.g3mse-bridge,.g3mse-compensate,.g3mse-count-up,.g3mse-preference,.g3mse-preference-saved,.g3mse-question,.g3mse-practice-complete{gap:6px;width:100%;padding:9px;border-radius:17px}.g3mse-workspace h1{font-size:.98rem}.g3mse-workspace h2{font-size:.84rem}.g3mse-workspace .board-kicker{font-size:.52rem}.g3mse-stock{gap:3px}.g3mse-stock section{padding:6px;border-radius:11px}.g3mse-stock b{font-size:.88rem}.g3mse-moving-boxes{height:24px}.g3mse-moving-boxes i{width:20px;height:20px}.g3mse-terms>div,.g3mse-compare-cards,.g3mse-step-equation,.g3mse-bridge-line,.g3mse-fixed-lines,.g3mse-count-line{gap:4px}.g3mse-terms section,.g3mse-compare-cards section,.g3mse-place-parts section,.g3mse-step-equation section,.g3mse-hop-row section,.g3mse-bridge-line section,.g3mse-fixed-lines section,.g3mse-preference section,.g3mse-final section{min-height:48px;padding:5px;border-radius:11px;font-size:.63rem}.g3mse-terms b,.g3mse-preference strong,.g3mse-final i{font-size:.82rem}.g3mse-line{padding:14px 5px 2px}.g3mse-line>b{font-size:.78rem}.g3mse-line>i span{bottom:15px;font-size:.54rem}.g3mse-round-result b,.g3mse-tens-equation b,.g3mse-shift-pair b,.g3mse-count-total b,.g3mse-count-total strong,.g3mse-preference-saved b,.g3mse-preference-saved strong,.g3mse-practice-complete b{padding:5px 7px;font-size:.72rem}.g3mse-tens i{width:5px;height:30px}.g3mse-ones{grid-template-columns:repeat(3,6px);gap:1px}.g3mse-ones i{width:6px;height:6px}.g3mse-count-line button{min-height:58px;padding:4px;font-size:.62rem}.g3mse-count-line button strong{font-size:.75rem}.g3mse-alternative{min-height:92px;padding:5px}.g3mse-alternative p{font-size:.56rem}.grade3-mental-subtraction-estimate-board.remediation-mode{grid-template-rows:minmax(0,1fr) 106px!important;height:370px}.grade3-mental-subtraction-estimate-board.remediation-mode>.board-square{height:258px!important}.grade3-mental-subtraction-estimate-board.remediation-mode>.teacher-remediation-panel{min-height:100px;max-height:106px}}
@media(min-width:761px) and (max-width:1350px){.g3mse-workspace{padding:14px}.g3mse-intro,.g3mse-final,.g3mse-terms,.g3mse-round,.g3mse-estimate,.g3mse-compare,.g3mse-hundreds,.g3mse-place-parts,.g3mse-split-two,.g3mse-bridge,.g3mse-compensate,.g3mse-count-up,.g3mse-preference,.g3mse-preference-saved,.g3mse-question,.g3mse-practice-complete{gap:8px;padding:13px}.g3mse-workspace h1{font-size:1.08rem}.g3mse-workspace h2{font-size:.94rem}}
@media(prefers-reduced-motion:reduce){.g3mse-center *{animation:none!important;transition:none!important}}

/* Çıkarma sahnesi içerik eşleşmeleri */
.g3mse-tens,.g3mse-split-easy,.g3mse-independent{display:grid;place-items:center;gap:13px;width:min(96%,790px);padding:21px;border-radius:28px;background:rgba(249,255,253,.96);box-shadow:0 17px 38px rgba(4,54,53,.2);text-align:center}
.g3mse-round>.g3mse-line,.g3mse-round-result,.g3mse-tens-equation>*,.g3mse-tens-bar>*,.g3mse-compare>div>*,.g3mse-distance-choice>div>*,.g3mse-place-parts>*,.g3mse-step-equation>*,.g3mse-hop-row>*,.g3mse-bridge-line>*,.g3mse-fixed-lines>*{opacity:.24;transition:opacity .4s ease,transform .4s ease}
.g3mse-round[data-step=first]>.g3mse-line:first-of-type,.g3mse-round[data-step=second]>.g3mse-line,.g3mse-round[data-step=result]>.g3mse-line,.g3mse-round[data-step=result]>.g3mse-round-result{opacity:1}
.g3mse-tens-equation{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3mse-tens-equation i{font-style:normal;color:var(--g3mse-orange)}.g3mse-tens-bar{position:relative;display:grid;grid-template-columns:74fr 29fr auto;align-items:center;width:min(92%,620px);height:62px;padding:8px;border-radius:18px;background:#fff}.g3mse-tens-bar>i:first-child{height:24px;border-radius:8px;background:var(--g3mse-teal)}.g3mse-tens-bar>.leave{height:24px;border-radius:8px;background:repeating-linear-gradient(135deg,#f2a27c,#f2a27c 8px,#fff 8px,#fff 13px);transform:translateY(0)}.g3mse-tens-bar>b{padding-left:8px;color:var(--g3mse-teal);font-size:1.15rem}.g3mse-tens[data-step=whole] .g3mse-tens-equation>*:first-child,.g3mse-tens[data-step=leave] .g3mse-tens-equation>*,.g3mse-tens[data-step=leave] .g3mse-tens-bar>i,.g3mse-tens[data-step=result] .g3mse-tens-equation>*,.g3mse-tens[data-step=result] .g3mse-tens-bar>*{opacity:1}.g3mse-tens[data-step=leave] .g3mse-tens-bar>.leave,.g3mse-tens[data-step=result] .g3mse-tens-bar>.leave{transform:translateY(14px)}
.g3mse-distance-choice{display:grid;place-items:center;grid-template-columns:1fr;gap:13px;width:min(96%,790px);padding:21px;border-radius:28px;background:rgba(249,255,253,.96);box-shadow:0 17px 38px rgba(4,54,53,.2);text-align:center}.g3mse-compare>div,.g3mse-distance-choice>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;width:100%}.g3mse-compare>div section,.g3mse-distance-choice>div section{display:grid;place-items:center;gap:4px;padding:13px;border:3px solid #add9d3;border-radius:18px;background:#fff}.g3mse-compare>div>i{position:relative;width:110px;height:8px;border-radius:999px;background:repeating-linear-gradient(90deg,var(--g3mse-orange),var(--g3mse-orange) 9px,transparent 9px,transparent 16px);font-style:normal}.g3mse-compare>div>i span{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);white-space:nowrap;font-size:.7rem;font-weight:950}.g3mse-compare[data-step=actual]>div>section,.g3mse-compare[data-step=distance]>div>*,.g3mse-distance-choice[data-step=hundreds]>div>section:first-child,.g3mse-distance-choice[data-step=tens]>div>*{opacity:1}.g3mse-distance-choice>div>strong{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--g3mse-teal);color:#fff}.g3mse-distance-choice em{font-size:.72rem;color:#637978}
.g3mse-place-parts{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g3mse-place-parts section{display:grid;place-items:center;gap:4px;padding:15px;border:3px solid #add9d3;border-radius:18px;background:#fff}.g3mse-step-equation{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3mse-step-equation i{font-style:normal;color:var(--g3mse-orange)}.g3mse-split-easy[data-step=start] .g3mse-place-parts>*,.g3mse-split-easy[data-step=tens] .g3mse-place-parts>*,.g3mse-split-easy[data-step=tens] .g3mse-step-equation>*:first-child,.g3mse-split-easy[data-step=result] .g3mse-place-parts>*,.g3mse-split-easy[data-step=result] .g3mse-step-equation>*{opacity:1}
.g3mse-hop-row,.g3mse-bridge-line{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:7px;width:100%}.g3mse-hop-row>i,.g3mse-bridge-line>i{position:relative;height:8px;border-radius:999px;background:var(--g3mse-teal);font-style:normal}.g3mse-hop-row>i span,.g3mse-bridge-line>i span{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);padding:3px 7px;border-radius:8px;background:#fff0c8;color:#8a5300;font-size:.7rem;font-weight:950;white-space:nowrap}.g3mse-split-two[data-step=split] .g3mse-hop-row>*:first-child,.g3mse-split-two[data-step=twenty] .g3mse-hop-row>*:nth-child(-n+3),.g3mse-split-two[data-step=seven] .g3mse-hop-row>*,.g3mse-bridge[data-step=split] .g3mse-bridge-line>*:first-child,.g3mse-bridge[data-step=seventy] .g3mse-bridge-line>*:nth-child(-n+3),.g3mse-bridge[data-step=result] .g3mse-bridge-line>*{opacity:1}
.g3mse-fixed-lines{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g3mse-fixed-lines section{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:14px;border:3px solid #add9d3;border-radius:18px;background:#fff}.g3mse-fixed-lines .distance{height:8px;border-radius:999px;background:linear-gradient(90deg,var(--g3mse-orange),var(--g3mse-teal))}.g3mse-shift-pair span{padding:7px 15px;border-radius:999px;background:#fff0c8;color:#8a5300;font-weight:950;opacity:.25}.g3mse-compensate[data-step=move] .g3mse-fixed-lines section:first-child,.g3mse-compensate[data-step=move] .g3mse-shift-pair span:first-child,.g3mse-compensate[data-step=both] .g3mse-fixed-lines>*,.g3mse-compensate[data-step=both] .g3mse-shift-pair span,.g3mse-compensate[data-step=result] .g3mse-fixed-lines>*,.g3mse-compensate[data-step=result] .g3mse-shift-pair span{opacity:1}
.g3mse-independent-tools{display:flex;align-items:center;justify-content:center;gap:15px}.g3mse-independent-tools b,.g3mse-independent-tools strong{display:grid;place-items:center;min-width:72px;min-height:58px;padding:10px;border-radius:16px;background:#e7f5f2;font-size:1.25rem}.g3mse-independent-tools i{font-style:normal;color:var(--g3mse-orange);font-size:1.25rem}
@media(max-width:760px){.g3mse-tens,.g3mse-split-easy,.g3mse-independent{gap:6px;width:100%;padding:9px;border-radius:17px}.g3mse-tens-bar{height:42px}.g3mse-compare>div,.g3mse-distance-choice>div{gap:4px}.g3mse-compare>div section,.g3mse-distance-choice>div section,.g3mse-place-parts section,.g3mse-fixed-lines section{padding:5px;border-radius:11px;font-size:.62rem}.g3mse-compare>div>i{width:48px}.g3mse-distance-choice>div>strong{width:34px;height:34px;font-size:.7rem}.g3mse-hop-row,.g3mse-bridge-line{gap:3px;font-size:.68rem}.g3mse-hop-row>i span,.g3mse-bridge-line>i span{font-size:.5rem}.g3mse-independent-tools b,.g3mse-independent-tools strong{min-width:52px;min-height:40px;padding:5px;font-size:.82rem}}
.g3mse-intro .g3mse-stock section,.g3mse-intro .g3mse-moving-boxes{opacity:.22;transition:opacity .4s ease}.g3mse-intro .g3mse-moving-boxes i{animation-play-state:paused;animation-iteration-count:1;animation-fill-mode:forwards}.g3mse-intro[data-step=stock] .g3mse-stock section:first-child,.g3mse-intro[data-step=move] .g3mse-stock section:nth-of-type(-n+2),.g3mse-intro[data-step=move] .g3mse-moving-boxes,.g3mse-intro[data-step=remain] .g3mse-stock section,.g3mse-intro[data-step=remain] .g3mse-moving-boxes{opacity:1}.g3mse-intro[data-step=move] .g3mse-moving-boxes i{animation-play-state:running}.g3mse-intro[data-step=remain] .g3mse-moving-boxes i{animation:none;transform:translateX(70px);opacity:1}.g3mse-terms[data-step=minuend] section:first-child,.g3mse-terms[data-step=subtrahend] section:nth-child(-n+2),.g3mse-terms[data-step=difference] section{opacity:1}
@media(min-width:761px) and (max-width:1350px){.g3mae-double-estimate,.g3mae-make-ten{gap:7px;padding:12px}.g3mae-double-estimate h1,.g3mae-make-ten h1{font-size:1rem}.g3mae-double-grid section{gap:3px;padding:8px;font-size:.74rem}.g3mae-make-ten .g3mae-bridge section{min-height:70px;padding:8px}.g3mae-make-ten .g3mae-bridge{gap:7px}}
.g3mae-center{height:470px;min-height:470px;max-height:470px}.grade3-mental-addition-estimate-board.show-g3mae-guides .g3mae-line,.grade3-mental-addition-estimate-board.show-g3mae-guides .g3mae-estimate-cards,.grade3-mental-addition-estimate-board.show-g3mae-guides .g3mae-blocks,.grade3-mental-addition-estimate-board.show-g3mae-guides .g3mae-comp-token{border-radius:16px;box-shadow:0 0 0 5px rgba(240,171,50,.4),0 0 24px rgba(240,171,50,.55)}
@media(max-width:760px){.g3mae-center{height:370px;min-height:370px;max-height:370px}}
/* 3. sınıf · Dört İşlemli Yönergeleri İzleme */
.grade3-operation-instructions-board {
  --g3oi-teal: #087f73;
  --g3oi-coral: #f47761;
  --g3oi-gold: #f3b63f;
}
.g3oi-station {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 1672 / 941;
  margin: auto;
  overflow: hidden;
  border: 2px solid #b9ddd7;
  border-radius: 26px;
  background: #dff4ef;
  box-shadow: 0 22px 52px rgb(22 86 76 / 16%);
}
.g3oi-station-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.g3oi-packet-layer,
.g3oi-workspace {
  position: absolute;
  inset: 0;
}
.g3oi-packet-layer { z-index: 4; pointer-events: none; }
.g3oi-workspace {
  z-index: 3;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 26px);
}
.g3oi-packet {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4.2%;
  height: auto;
  translate: -50% -50%;
  filter: drop-shadow(0 3px 3px rgb(53 39 21 / 24%));
  animation: g3oi-packet-arrive 480ms cubic-bezier(.18,.86,.29,1.14) both;
  animation-delay: calc(var(--packet-index) * 35ms);
}
.g3oi-packet.added { width: 4.6%; }
.g3oi-packet.basket {
  width: 5.2%;
  filter: saturate(1.35) drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px rgb(8 127 115 / 82%)) drop-shadow(0 3px 3px rgb(53 39 21 / 30%));
}
.g3oi-packet.departed {
  width: 4.6%;
  animation-name: g3oi-packet-depart;
  animation-duration: 900ms;
}
@keyframes g3oi-packet-arrive {
  from { opacity: 0; translate: -50% -140%; scale: .72; }
  to { opacity: 1; translate: -50% -50%; scale: 1; }
}
@keyframes g3oi-packet-depart {
  from { opacity: 0; translate: 260% -120%; scale: .75; }
  to { opacity: 1; translate: -50% -50%; scale: 1; }
}
.g3oi-intro,
.g3oi-route-model,
.g3oi-language,
.g3oi-place,
.g3oi-order,
.g3oi-shopping,
.g3oi-translate,
.g3oi-interpret,
.g3oi-build-model,
.g3oi-independent,
.g3oi-practice-complete,
.g3oi-final,
.g3oi-alternative {
  width: min(92%, 780px);
  padding: clamp(16px, 2.6vw, 28px);
  border: 2px solid rgb(255 255 255 / 88%);
  border-radius: 24px;
  background: rgb(248 255 253 / 94%);
  box-shadow: 0 14px 34px rgb(20 70 61 / 18%);
  text-align: center;
  backdrop-filter: blur(8px);
}
.g3oi-intro { align-self: start; margin-top: 1%; }
.g3oi-intro > div,
.g3oi-language > div,
.g3oi-final > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.g3oi-intro section,
.g3oi-language section,
.g3oi-final section {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 16px;
  background: #e5f6f2;
  color: #0b615a;
  transition: .35s ease;
}
.g3oi-intro i,
.g3oi-final i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: auto;
  border-radius: 50%;
  background: var(--g3oi-teal);
  color: #fff;
  font-style: normal;
  font-weight: 900;
}
.g3oi-intro h1,
.g3oi-final h1 {
  margin: 8px 0 0;
  color: #143f3a;
  font-size: clamp(1.15rem, 2.5vw, 1.85rem);
  line-height: 1.15;
}
.g3oi-intro[data-step="one"] section:nth-child(1),
.g3oi-intro[data-step="token"] section:nth-child(2),
.g3oi-intro[data-step="order"] section:nth-child(3) {
  outline: 4px solid #ffbf4f;
  background: #fff5d9;
  scale: 1.05;
}
.g3oi-route-model {
  align-self: start;
  margin-top: 1%;
  padding-bottom: 18px;
}
.g3oi-route-model > div {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 10px;
}
.g3oi-route-model section {
  flex: 1 1 0;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 6px;
  border: 2px solid #b9ddd7;
  border-radius: 16px;
  background: #fff;
  transition: .3s ease;
}
.g3oi-route-model section small {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 50%;
  background: var(--g3oi-teal);
  color: #fff;
  font-weight: 900;
}
.g3oi-route-model section b { color: #183d44; font-size: clamp(.85rem,1.8vw,1.1rem); }
.g3oi-route-model section strong { color: var(--g3oi-coral); font-size: clamp(1rem,2vw,1.35rem); }
.g3oi-route-model > div > i { align-self: center; color: var(--g3oi-coral); font-style: normal; font-size: 1.45rem; }
.g3oi-route-model[data-step="1"] section:nth-of-type(1),
.g3oi-route-model[data-step="2"] section:nth-of-type(2),
.g3oi-route-model[data-step="3"] section:nth-of-type(3),
.g3oi-route-model[data-step="4"] section:nth-of-type(4) {
  outline: 4px solid #ffbf4f;
  background: #fff7df;
  transform: translateY(-6px);
}
.g3oi-route-model p { margin: 0; font-weight: 800; color: #0a6e64; }
.g3oi-action-card {
  align-self: start;
  width: min(48%, 290px);
  margin-top: 1%;
  padding: 8px 12px;
  border: 2px solid rgb(255 255 255 / 90%);
  border-radius: 20px;
  background: rgb(248 255 253 / 92%);
  box-shadow: 0 10px 28px rgb(20 70 61 / 16%);
  text-align: center;
}
.g3oi-action-card.tray-action,
.g3oi-action-card.add-action { justify-self: end; }
.g3oi-action-card.divide-action,
.g3oi-action-card.subtract-action { justify-self: start; }
.g3oi-action-card h2 {
  margin: 5px 0 0;
  color: #163e3a;
  font-size: clamp(.82rem, 1.45vw, 1.05rem);
  line-height: 1.12;
}
.g3oi-result-token,
.g3oi-token-flow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 18px;
  background: #fff4cc;
  color: #795400;
  box-shadow: 0 5px 0 #e9c968;
}
.g3oi-result-token { flex-direction: column; gap: 0; }
.g3oi-result-token small { font-size: .67rem; font-weight: 900; }
.g3oi-result-token b,
.g3oi-token-flow b,
.g3oi-token-flow strong { font-size: clamp(1.35rem, 3vw, 2rem); }
.g3oi-token-flow i { color: var(--g3oi-coral); font-style: normal; font-size: 1.4rem; font-weight: 900; }
.g3oi-result-token.ready { outline: 5px solid rgb(247 159 58 / 45%); animation: g3oi-token-pulse 800ms ease both; }
.g3oi-result-token.move { translate: 34% 0; }
@keyframes g3oi-token-pulse { 50% { scale: 1.12; } }
.g3oi-step-button { min-width: min(100%, 330px); }
.g3oi-language { align-self: start; margin-top: 1%; }
.g3oi-language section b { color: var(--g3oi-teal); font-size: .78rem; }
.g3oi-language section i { color: #173e43; font-style: normal; font-weight: 900; }
.g3oi-language[data-step="1"] section:nth-child(1),
.g3oi-language[data-step="2"] section:nth-child(2),
.g3oi-language[data-step="3"] section:nth-child(3),
.g3oi-language[data-step="4"] section:nth-child(4) { outline: 4px solid #ffbf4f; background: #fff6d9; }
.g3oi-place { width: min(82%, 590px); }
.g3oi-place > div {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}
.g3oi-place section {
  width: 110px;
  padding: 12px;
  border: 3px solid #b6ddd7;
  border-radius: 18px;
  background: #fff;
  transition: .3s ease;
}
.g3oi-place section small { display:block; color:#087f73; font-weight:900; }
.g3oi-place section b { font-size: 2.4rem; color:#163e43; }
.g3oi-place[data-step="tens"] section:first-child,
.g3oi-place[data-step="ones"] section:last-child { outline:5px solid #ffbf4f; transform:translateY(-5px); }
.g3oi-place ol { display:inline-grid; text-align:left; margin:0; color:#173e43; font-weight:800; }
.g3oi-order > div { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.g3oi-order section { display:flex; align-items:center; justify-content:center; gap:8px; padding:12px; border-radius:16px; background:#e4f6f2; }
.g3oi-order section.wrong { opacity:.68; background:#ffe7df; text-decoration:line-through; }
.g3oi-order i { font-style:normal; color:var(--g3oi-coral); font-weight:900; }
.g3oi-shopping > div,
.g3oi-interpret > div {
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:10px;
  margin:14px 0;
}
.g3oi-shopping section { flex:1; display:grid; gap:4px; padding:10px; border-radius:16px; background:#e7f7f3; transition:.3s ease; }
.g3oi-shopping section small { width:25px;height:25px;display:grid;place-items:center;margin:auto;border-radius:50%;background:#087f73;color:#fff;font-weight:900; }
.g3oi-shopping section strong { color:var(--g3oi-coral); }
.g3oi-shopping[data-step="1"] section:nth-child(1),
.g3oi-shopping[data-step="2"] section:nth-child(2),
.g3oi-shopping[data-step="3"] section:nth-child(3) { outline:4px solid #ffbf4f; transform:translateY(-5px); }
.g3oi-translate p { padding:14px; border-radius:16px; background:#e8f6f3; color:#16443f; font-weight:900; }
.g3oi-interpret > div { flex-wrap:wrap; }
.g3oi-interpret > div b { padding:12px; border-radius:14px; background:#e8f6f3; color:#153e43; }
.g3oi-interpret > div i { align-self:center; color:var(--g3oi-coral); font-style:normal; font-weight:900; }
.g3oi-build-model > div { display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0;padding:14px;border-radius:16px;background:#e8f6f3; }
.g3oi-build-model i { color:var(--g3oi-coral);font-style:normal;font-size:1.4rem;font-weight:900; }
.g3oi-independent { width:min(82%,620px); }
.g3oi-independent > div { width:100px;height:100px;display:grid;place-items:center;margin:12px auto;border-radius:24px;background:#e1f5f0;color:#087f73;font-size:1.5rem;box-shadow:0 7px 0 #b6ded6; }
.g3oi-independent h2 { margin:8px 0 0;color:#173e43;font-size:clamp(1.05rem,2.2vw,1.45rem); }
.g3oi-practice-complete div { display:flex;flex-wrap:wrap;justify-content:center;gap:8px;color:#087f73; }
.g3oi-final { align-self:start;margin-top:1%; }
.g3oi-final > span { display:inline-block;padding:7px 12px;border-radius:999px;background:#087f73;color:#fff;font-weight:900; }
.g3oi-final p { margin-bottom:0;color:#315c56;font-weight:750; }
.g3oi-alternative { width:min(92%,720px); }
.g3oi-flag-route,
.g3oi-small-route,
.g3oi-finger-route { display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:14px 0; }
.g3oi-flag-route b,
.g3oi-small-route b,
.g3oi-finger-route b,
.g3oi-finger-route strong { padding:9px 12px;border-radius:12px;background:#e6f6f2;color:#16443f; }
.g3oi-flag-route i,
.g3oi-small-route i { width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff2c9;color:#8a6100;font-style:normal;font-weight:900; }
.g3oi-finger-route i { width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#087f73;color:#fff;font-style:normal;font-weight:900; }
.show-g3oi-guides .g3oi-workspace [class*="token"],
.show-g3oi-guides .g3oi-workspace section:first-of-type {
  outline: 5px solid rgb(248 175 43 / 48%);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .grade3-operation-instructions-board .g3oi-station {
    width: 100%;
    min-height: 440px;
    aspect-ratio: auto;
  }
  .grade3-operation-instructions-board .g3oi-station:has(.g3oi-action-card) {
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }
  .g3oi-station-bg {
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: cover;
    object-position: center;
  }
  .g3oi-packet-layer {
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
  }
  .g3oi-workspace { padding: 10px; align-items: start; }
  .g3oi-intro,
  .g3oi-route-model,
  .g3oi-language,
  .g3oi-place,
  .g3oi-order,
  .g3oi-shopping,
  .g3oi-translate,
  .g3oi-interpret,
  .g3oi-build-model,
  .g3oi-independent,
  .g3oi-practice-complete,
  .g3oi-final,
  .g3oi-alternative { width: 96%; padding: 12px; border-radius: 18px; }
  .g3oi-intro > div,
  .g3oi-language > div,
  .g3oi-final > div { grid-template-columns: repeat(2,1fr); gap:7px; }
  .g3oi-intro section,
  .g3oi-language section,
  .g3oi-final section { padding:7px 5px; font-size:.74rem; }
  .g3oi-route-model > div { gap:4px; }
  .g3oi-route-model section { padding:7px 3px; }
  .g3oi-route-model > div > i { font-size:.9rem; }
  .g3oi-route-model section b { font-size:.68rem; }
  .g3oi-action-card { width:62%; padding:6px 8px; }
  .g3oi-action-card h2 { font-size:.72rem; }
  .g3oi-action-card .board-kicker { font-size:.58rem; }
  .g3oi-action-card .g3oi-result-token,
  .g3oi-action-card .g3oi-token-flow { margin-top:4px; padding:4px 8px; }
  .g3oi-packet { width:5.5%; }
  .g3oi-packet.basket { width:6.2%; }
  .g3oi-packet.added,.g3oi-packet.departed { width:6%; }
  .g3oi-order > div { grid-template-columns:1fr; }
  .g3oi-shopping > div { gap:5px; }
  .g3oi-shopping section { padding:6px 3px; font-size:.72rem; }
  .g3oi-place section { width:88px; padding:8px; }
  .g3oi-place section b { font-size:1.8rem; }
  .g3oi-build-model > div { flex-wrap:wrap; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .grade3-operation-instructions-board .g3oi-station { width:min(100%,760px); }
  .g3oi-intro,
  .g3oi-route-model,
  .g3oi-language,
  .g3oi-place,
  .g3oi-order,
  .g3oi-shopping,
  .g3oi-translate,
  .g3oi-interpret,
  .g3oi-build-model,
  .g3oi-independent,
  .g3oi-practice-complete,
  .g3oi-final { padding:12px 16px; }
}

.g3sp-alternative>button{min-height:42px;margin-top:9px;padding:8px 16px;border:0;border-radius:13px;background:var(--g3sp-teal);color:#fff;font:inherit;font-weight:900;cursor:pointer}

/* 3. sınıf · Sıvı miktarını litreyle tahmin etme */
.grade3-liquid-estimate-board{--g3liq-teal:#087f73;--g3liq-coral:#ef765d;--g3liq-blue:#46acd6;--g3liq-gold:#f3ba3f;--g3liq-ink:#153f47;display:grid;place-items:center;min-height:0}
.g3liq-lab{position:relative;width:min(100%,780px);aspect-ratio:16/9;min-height:410px;overflow:hidden;border:1px solid #9fd5cc;border-radius:26px;background:#dff2ed;box-shadow:0 18px 42px #174b4430;isolation:isolate}
.g3liq-lab-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.86) brightness(1.03)}
.g3liq-lab::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#effcf8c7 0 62%,#effaf682 100%);pointer-events:none}
.g3liq-canvas{position:absolute;inset:0;z-index:5;width:100%;height:100%;pointer-events:none}
.g3liq-locked-estimate{position:absolute;z-index:6;top:22px;right:22px;display:flex;align-items:center;gap:7px;padding:8px 12px;border:2px solid #e4b33a;border-radius:999px;background:#fff3c9;color:#745600;font-size:.76rem;box-shadow:0 7px 16px #6d56152e}.g3liq-locked-estimate span{color:#c79000;font-size:.72rem}
.g3liq-workspace{position:absolute;inset:14px;z-index:3;display:grid;place-items:center;min-width:0;min-height:0}
.g3liq-workspace>div:not(.g3liq-alternative){width:min(95%,700px);min-height:350px;box-sizing:border-box;padding:16px 20px;display:grid;align-content:center;justify-items:center;border:2px solid #addbd3;border-radius:25px;background:#fafffce8;box-shadow:0 14px 34px #174b4428;text-align:center}
.g3liq-vessel{display:block;width:190px;height:220px;overflow:visible;filter:drop-shadow(0 10px 12px #143f4730)}
.g3liq-vessel .g3liq-glass{fill:#f7ffffb8;stroke:#2d8fa7;stroke-width:8;stroke-linejoin:round}
.g3liq-water{fill:#63c8e8;opacity:.72;transition:y .55s ease,height .55s ease}
.g3liq-water-surface{stroke:#208ebd;stroke-width:7;stroke-linecap:round;transition:y .55s ease}
.g3liq-marks line{stroke:#167e91;stroke-width:6;stroke-linecap:round}.g3liq-marks .one-litre{stroke:var(--g3liq-coral);stroke-width:9}.g3liq-litre-label{fill:#b94d3b;font-size:28px;font-weight:1000}
.g3liq-spout,.g3liq-handle{fill:none;stroke:#2d8fa7;stroke-width:10;stroke-linecap:round;stroke-linejoin:round}
.g3liq-vessel.tall{width:125px}.g3liq-vessel.wide{width:240px}.g3liq-vessel.pot{width:250px}.g3liq-vessel.cup{width:130px;height:170px}.g3liq-vessel.aquarium{width:260px}.g3liq-vessel.teapot{width:230px}
.g3liq-intro{grid-template-columns:minmax(0,1fr) auto;gap:8px}.g3liq-intro>.board-kicker,.g3liq-intro>.g3liq-cycle{grid-column:1/-1}
.g3liq-daily{position:relative;display:grid;align-content:end;min-width:0;padding:4px 8px 8px;border-radius:20px;background:#e8f7f2b8}.g3liq-daily>img{display:block;width:min(100%,390px);height:178px;object-fit:contain;filter:drop-shadow(0 9px 10px #163f4733)}.g3liq-daily>div{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.g3liq-daily span{padding:5px 2px;border:2px solid transparent;border-radius:999px;background:#fff;color:var(--g3liq-ink);font-size:.68rem;font-weight:1000;transition:.28s ease}.g3liq-daily[data-g3liq-daily-step="1"] span:nth-child(-n+2),.g3liq-daily[data-g3liq-daily-step="2"] span:nth-child(3),.g3liq-daily[data-g3liq-daily-step="3"] span:nth-child(4){border-color:var(--g3liq-gold);background:#fff3c9;box-shadow:0 0 0 5px #f3ba3f30;transform:translateY(-3px)}
.g3liq-cycle,.g3liq-strategy-complete,.g3liq-repair-complete,.g3liq-final>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.g3liq-cycle b,.g3liq-strategy-complete b,.g3liq-repair-complete b,.g3liq-final b{padding:10px 13px;border-radius:14px;background:#dff3ed;color:var(--g3liq-teal)}.g3liq-cycle i,.g3liq-strategy-complete i,.g3liq-final i{color:var(--g3liq-coral);font-style:normal;font-size:1.3rem;font-weight:1000}
.show-horizontal .g3liq-water-surface{stroke:var(--g3liq-gold);stroke-width:12;filter:drop-shadow(0 0 8px #f3ba3f)}.show-litre .g3liq-litre-label,.mark-litre .g3liq-litre-label{animation:g3liq-mark .8s ease both}.fill-to-line .g3liq-water{filter:drop-shadow(0 0 9px #46acd6)}
@keyframes g3liq-mark{50%{transform:scale(1.3);fill:#ef765d}}
.g3liq-litre-model{grid-template-columns:auto 1fr}.g3liq-litre-model>.board-kicker{grid-column:1/-1}.g3liq-litre-model>div:last-child{display:grid;gap:5px;padding:18px;border-radius:22px;background:#fff}.g3liq-litre-model>div b{font-size:3rem;color:var(--g3liq-teal)}.g3liq-litre-model>div small{font-weight:900;color:#416d68}
.g3liq-halves>div,.g3liq-container-guess>div,.g3liq-pot-estimate>div,.g3liq-guided>div,.g3liq-aquarium>div,.g3liq-three-halves>div:first-of-type,.g3liq-independent>div,.g3liq-measure-loop>div{display:flex;align-items:end;justify-content:center;gap:10px}.g3liq-halves>div>i,.g3liq-container-guess>div>i,.g3liq-pot-estimate>div>i,.g3liq-guided>div>i,.g3liq-independent>div>i{align-self:center;color:var(--g3liq-coral);font-style:normal;font-size:1.6rem;font-weight:1000}
.g3liq-half-cup{position:relative;padding:3px;border:3px solid transparent;border-radius:20px;background:#fff;cursor:pointer}.g3liq-half-cup b{display:block;color:var(--g3liq-teal)}.g3liq-half-cup.next{border-color:var(--g3liq-gold);box-shadow:0 0 0 7px #f3ba3f40;animation:g3liq-glow 1.15s ease-in-out infinite}.g3liq-half-cup.poured{opacity:.48}.g3liq-half-cup:disabled{cursor:default}
@keyframes g3liq-glow{50%{box-shadow:0 0 0 11px #f3ba3f18,0 0 24px #f3ba3f}}
.g3liq-live-prompt{padding:12px 20px;border-radius:18px;background:var(--g3liq-teal);color:#fff;box-shadow:0 8px 18px #174b4438}.g3liq-pour-button{background:linear-gradient(135deg,#078f80,#11a5a1)!important}.g3liq-pour-mark{display:inline-block;width:18px;height:24px;border-radius:55% 55% 60% 60%/70% 70% 40% 40%;background:linear-gradient(#8fe0f4,#40aeda);clip-path:polygon(50% 0,92% 55%,82% 88%,50% 100%,18% 88%,8% 55%)}
.g3liq-container-guess .g3liq-vessel,.g3liq-pot-estimate .g3liq-vessel{height:210px}.g3liq-estimate-stamp{padding:9px 15px;border-radius:999px;background:#fff0c9;color:#7d5900;box-shadow:0 5px 0 #e7c36c}
.g3liq-conservation{grid-template-columns:1fr 1fr;gap:6px}.g3liq-conservation>.board-kicker,.g3liq-conservation>h2{grid-column:1/-1}.g3liq-conservation .sources,.g3liq-conservation .targets{display:flex;align-items:end;justify-content:center;gap:2px}.g3liq-conservation .g3liq-vessel{width:120px;height:155px}.g3liq-conservation .targets{padding:8px;border-radius:20px;background:#e1f4ef}.g3liq-conservation .targets .g3liq-vessel{width:125px}
.g3liq-measure-loop .g3liq-vessel{height:190px}.g3liq-count-stack{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;align-self:center}.g3liq-count-stack i{padding:10px;border:3px dashed #a9d3cc;border-radius:13px;background:#fff;color:#72928d;font-style:normal;font-weight:1000}.g3liq-count-stack i.done{border-style:solid;border-color:#13a38f;background:#daf5ec;color:#087f73;animation:g3liq-count-pop .45s ease both}@keyframes g3liq-count-pop{50%{scale:1.16}}
.g3liq-compare>div{display:flex;align-items:center;justify-content:center;gap:16px}.g3liq-compare>div b{display:grid;place-items:center;min-width:110px;min-height:100px;border-radius:24px;background:#e2f5ef;color:var(--g3liq-teal);font-size:2.4rem}.g3liq-compare>div small{display:block;font-size:.68rem}.g3liq-compare>div i{color:var(--g3liq-coral);font-style:normal;font-size:2rem;font-weight:1000}
.g3liq-repair .g3liq-vessel{height:205px}.show-g3liq-guides .g3liq-vessel{filter:drop-shadow(0 0 10px #f3ba3f)}.show-g3liq-guides .g3liq-water-surface,.show-g3liq-guides .one-litre{stroke:#f3a51e!important;stroke-width:12!important}
.g3liq-guided .g3liq-vessel{height:185px}.g3liq-guided section{display:flex;align-items:end;justify-content:center;gap:3px}.g3liq-guided section .g3liq-vessel{width:78px;height:112px;opacity:.22;transition:.3s ease}.g3liq-guided section i,.g3liq-guided section strong{align-self:center;color:var(--g3liq-coral);font-style:normal;font-weight:1000;opacity:.18;transition:.3s ease}.g3liq-guided [data-g3liq-guided-step="1"] section .g3liq-vessel:first-child,.g3liq-guided [data-g3liq-guided-step="2"] section .g3liq-vessel,.g3liq-guided [data-g3liq-guided-step="2"] section i,.g3liq-guided [data-g3liq-guided-step="3"] section>*{opacity:1;filter:drop-shadow(0 0 8px #f3ba3f)}.g3liq-aquarium .g3liq-vessel{height:195px}.g3liq-three-halves .g3liq-vessel{width:115px;height:145px}.g3liq-grouping{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px;padding:10px 14px;border-radius:18px;background:#fff}.g3liq-grouping b,.g3liq-grouping strong{color:var(--g3liq-teal)}.g3liq-grouping i,.g3liq-grouping em{color:var(--g3liq-coral);font-style:normal;font-weight:1000}
.g3liq-strategy>div,.g3liq-independent-strategy>div{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3liq-strategy>div b,.g3liq-independent-strategy>div b,.g3liq-independent-strategy strong{padding:12px 15px;border-radius:15px;background:#e1f4ef;color:var(--g3liq-teal)}.g3liq-strategy>div i,.g3liq-independent-strategy>div i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff0c9;color:#8a6100;font-style:normal;font-weight:1000}
.g3liq-independent .g3liq-vessel{height:190px}.g3liq-final>span{display:inline-block;padding:7px 12px;border-radius:999px;background:var(--g3liq-teal);color:#fff;font-weight:1000}.g3liq-final h1{margin:12px 0;color:var(--g3liq-ink);font-size:clamp(1.2rem,2.2vw,1.8rem)}
.g3liq-alternative{position:absolute;inset:3%;z-index:15;display:grid;place-items:center;align-content:center;gap:8px;padding:18px;border:3px solid #f0aa2c;border-radius:24px;background:#fffdf7;box-shadow:0 18px 40px #123f3970;text-align:center}.g3liq-alternative>div{display:flex;align-items:center;justify-content:center;gap:7px}.g3liq-alternative .g3liq-vessel{width:105px;height:135px}.g3liq-alternative b,.g3liq-alternative i,.g3liq-alternative strong{color:var(--g3liq-coral);font-style:normal;font-size:1.35rem}.g3liq-alternative p{max-width:590px;margin:0;color:var(--g3liq-ink);font-weight:850}.g3liq-alternative button{padding:10px 16px;border:0;border-radius:14px;background:var(--g3liq-teal);color:#fff;font-weight:900;cursor:pointer}.g3liq-alt-measure section,.g3liq-alt-cycle{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.g3liq-alt-measure section i,.g3liq-alt-cycle b{padding:9px;border-radius:13px;background:#e1f4ef;color:var(--g3liq-teal);font-size:.8rem}

@media(max-width:700px){
  .grade3-liquid-estimate-shell,.grade3-liquid-estimate-shell .teacher-classroom,.grade3-liquid-estimate-shell .teaching-area,.grade3-liquid-estimate-shell .teaching-board,.grade3-liquid-estimate-shell .lesson-footer{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:hidden}
  .grade3-liquid-estimate-shell .teacher-classroom{width:calc(100% - 18px);max-width:calc(100% - 18px)}
  .g3liq-lab{width:100%;min-height:410px;aspect-ratio:auto;border-radius:20px}.g3liq-lab::after{background:#effaf6ed}.g3liq-workspace{inset:7px;align-content:start;padding-top:5px;overflow:auto}.g3liq-workspace>div:not(.g3liq-alternative){width:100%;min-height:365px;padding:9px 6px;border-radius:20px}.g3liq-lab-bg{object-position:center}
  .g3liq-lab[data-mode="litre"]{min-height:370px}.g3liq-lab[data-mode="litre"] .g3liq-workspace>div:not(.g3liq-alternative){min-height:325px}.g3liq-locked-estimate{top:9px;right:9px;padding:5px 8px;font-size:.6rem}
  .g3liq-vessel{width:135px;height:170px}.g3liq-vessel.tall{width:90px}.g3liq-vessel.wide{width:165px}.g3liq-vessel.pot{width:170px}.g3liq-vessel.cup{width:90px;height:125px}.g3liq-vessel.aquarium{width:180px}.g3liq-vessel.teapot{width:155px}
  .g3liq-intro{grid-template-columns:minmax(0,1fr) 92px}.g3liq-intro>.board-kicker,.g3liq-intro>.g3liq-cycle{grid-column:1/-1}.g3liq-intro>.g3liq-vessel{width:92px;height:125px}.g3liq-daily{padding:2px 4px 5px}.g3liq-daily>img{height:105px}.g3liq-daily>div{gap:2px}.g3liq-daily span{padding:3px 1px;font-size:.48rem}.g3liq-cycle{gap:4px}.g3liq-cycle b{padding:7px 6px;font-size:.65rem}.g3liq-cycle i{font-size:.8rem}
  .g3liq-litre-model{grid-template-columns:1fr auto}.g3liq-litre-model>.board-kicker{grid-column:1/-1}.g3liq-litre-model>div:last-child{padding:10px}.g3liq-litre-model>div b{font-size:2rem}
  .g3liq-halves>div,.g3liq-container-guess>div,.g3liq-pot-estimate>div,.g3liq-guided>div,.g3liq-aquarium>div,.g3liq-independent>div,.g3liq-measure-loop>div{gap:2px}.g3liq-halves .g3liq-vessel{width:80px;height:110px}.g3liq-half-cup{padding:1px}.g3liq-half-cup b{font-size:.65rem}.g3liq-halves>div>i{font-size:.9rem}
  .g3liq-container-guess .g3liq-vessel,.g3liq-pot-estimate .g3liq-vessel{height:150px}.g3liq-conservation{grid-template-columns:1fr 1fr}.g3liq-conservation .g3liq-vessel{width:72px;height:110px}.g3liq-conservation .targets .g3liq-vessel{width:75px}.g3liq-conservation>h2{font-size:.9rem;margin:4px 0}
  .g3liq-measure-loop .g3liq-vessel,.g3liq-guided .g3liq-vessel,.g3liq-aquarium .g3liq-vessel,.g3liq-independent .g3liq-vessel{height:145px}.g3liq-independent>div,.g3liq-measure-loop>div{width:100%;max-width:100%;min-width:0;flex-wrap:wrap}.g3liq-workspace h1,.g3liq-workspace h2,.g3liq-workspace p{max-width:100%;white-space:normal;overflow-wrap:anywhere}.g3liq-workspace h2{font-size:.95rem;line-height:1.18}.g3liq-count-stack{gap:3px}.g3liq-count-stack i{padding:6px;font-size:.7rem}.g3liq-compare>div b{min-width:88px;min-height:78px;font-size:1.8rem}.g3liq-three-halves .g3liq-vessel{width:78px;height:105px}.g3liq-grouping{padding:6px;gap:4px;font-size:.68rem}
  .g3liq-strategy>div,.g3liq-independent-strategy>div{gap:4px}.g3liq-strategy>div b,.g3liq-independent-strategy>div b,.g3liq-independent-strategy strong{padding:8px;font-size:.7rem}.g3liq-repair-complete b,.g3liq-strategy-complete b,.g3liq-final b{padding:8px;font-size:.7rem}.g3liq-alternative{inset:2%;padding:10px}.g3liq-alternative .g3liq-vessel{width:75px;height:100px}.g3liq-alternative p{font-size:.82rem}
  .grade3-liquid-estimate-shell .lesson-footer .theme4-final-footer-main,.grade3-liquid-estimate-shell .lesson-footer .theme4-final-choices{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .grade3-liquid-estimate-shell .lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .grade3-liquid-estimate-shell .lesson-footer .theme4-final-choices button{width:100%;min-width:0;max-width:100%;padding:5px 3px;overflow:hidden}
  .grade3-liquid-estimate-shell .lesson-footer .theme4-final-choices button>b{font-size:.68rem!important;white-space:normal;overflow-wrap:anywhere}
}

/* 3. sınıf · Tema 4 öğrenme kontrolü */
.grade3-theme4-assessment-board{--g3t4-teal:#087f73;--g3t4-coral:#ef765d;--g3t4-gold:#f2b941;--g3t4-ink:#123d47;display:grid;place-items:center;min-height:0}
.g3t4a-lab{position:relative;width:min(100%,780px);height:min(570px,calc(100vh - 330px));min-height:440px;overflow:hidden;border:2px solid #b8ddd7;border-radius:28px;background:#e9f7f4;box-shadow:0 18px 44px rgba(18,61,71,.13)}
.g3t4a-lab-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.27;filter:saturate(.82)}
.g3t4a-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}
.g3t4a-workspace{position:absolute;inset:18px;z-index:2;display:grid;place-items:center;color:var(--g3t4-ink)}
.g3t4a-workspace>div,.g3t4a-alternative{width:min(100%,700px);max-height:100%;box-sizing:border-box;border:1px solid rgba(8,127,115,.2);border-radius:24px;background:rgba(248,255,253,.94);padding:20px;box-shadow:0 12px 30px rgba(18,61,71,.1);text-align:center;overflow:hidden}
.g3t4a-workspace h1{font-size:clamp(25px,3.2vw,38px);line-height:1.12;margin:14px auto 0;max-width:640px}.g3t4a-workspace h2{font-size:clamp(19px,2.25vw,27px);line-height:1.18;margin:10px 0 0}.g3t4a-workspace p{font-size:15px;line-height:1.4}.g3t4a-live-prompt{display:flex;align-items:center;justify-content:center;min-height:54px;color:var(--g3t4-ink)}
.g3t4a-hero>div{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.g3t4a-hero b{padding:14px 6px;border-radius:16px;background:#fff;border:2px solid #b9ded8;transition:.25s}.g3t4a-hero[data-step="0"] b:nth-child(1),.g3t4a-hero[data-step="1"] b:nth-child(2),.g3t4a-hero[data-step="2"] b:nth-child(3),.g3t4a-hero[data-step="3"] b:nth-child(4),.g3t4a-hero[data-step="4"] b:nth-child(5){background:#fff2c9;border-color:var(--g3t4-gold);box-shadow:0 0 0 7px rgba(242,185,65,.18)}
.g3t4a-solid-task{display:grid;grid-template-columns:minmax(250px,1fr) minmax(190px,.8fr);align-items:center;gap:10px}.g3t4a-solid-task .board-kicker{grid-column:1/-1}.g3t4a-solid{width:100%;max-height:310px}.g3t4a-solid .body{stroke:#0a756c;stroke-width:3}.g3t4a-solid .front{fill:#45b7a8}.g3t4a-solid .side{fill:#ef8a60}.g3t4a-solid .top{fill:#f4dc69}.g3t4a-solid .body-edge{stroke:#075f58;stroke-width:5}.g3t4a-solid .pick{fill:transparent;cursor:pointer;transition:.18s}.g3t4a-solid .pick.surface{stroke:transparent}.g3t4a-solid .pick.edge{stroke:transparent;stroke-width:0}.g3t4a-solid .pick.corner{stroke:transparent}.g3t4a-solid .pick.next{fill:rgba(255,197,50,.16);stroke:#ffc632;stroke-width:5;animation:g3t4Pulse 1.15s infinite}.g3t4a-solid .pick.edge.next{fill:rgba(255,197,50,.28);stroke:#ffc632;stroke-width:3}.g3t4a-solid .pick.correct{fill:rgba(9,159,130,.35);stroke:#079f82;stroke-width:7}.g3t4a-solid .pick.wrong{fill:rgba(239,118,93,.3);stroke:#ef765d;stroke-width:6}
@keyframes g3t4Pulse{50%{filter:drop-shadow(0 0 9px rgba(255,185,40,.9))}}
.g3t4a-classify>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.g3t4a-classify section{display:grid;place-items:center;gap:6px;padding:10px;border-radius:18px;background:#edf8f6}.g3t4a-classify i{display:block;width:90px;height:90px}.g3t4a-classify .cylinder{border-radius:45%/16%;background:linear-gradient(90deg,#30a99a,#d9fff7 48%,#1c8f84);border:3px solid #087f73}.g3t4a-classify .sphere{border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff,#f2a84a 30%,#df6e55 72%)}.g3t4a-classify .prism{width:105px;height:72px;margin-top:10px;background:#4eb7aa;clip-path:polygon(0 18%,70% 0,100% 27%,100% 85%,30% 100%,0 72%)}
.g3t4a-polygon-task,.g3t4a-garden{display:grid;grid-template-columns:1fr 1fr;align-items:center}.g3t4a-polygon-task .board-kicker,.g3t4a-garden .board-kicker{grid-column:1/-1}.g3t4a-polygon{width:100%;height:280px}.g3t4a-polygon polygon{fill:#fff4c8;stroke:var(--g3t4-teal);stroke-width:8;stroke-linejoin:round}.g3t4a-polygon.traced polygon{stroke:var(--g3t4-coral);stroke-width:13;stroke-dasharray:22 10;animation:g3t4Dash 1.6s linear infinite}@keyframes g3t4Dash{to{stroke-dashoffset:-64}}
.g3t4a-diagonal svg,.g3t4a-geoboard svg{width:min(100%,440px);height:310px}.g3t4a-diagonal polygon,.g3t4a-geoboard polyline{fill:#e5f6f2;stroke:var(--g3t4-teal);stroke-width:7;stroke-linejoin:round}.g3t4a-diagonal circle{fill:#fff;stroke:var(--g3t4-teal);stroke-width:5;cursor:pointer}.g3t4a-diagonal circle.picked{fill:var(--g3t4-gold)}.g3t4a-diagonal circle.wrong{fill:var(--g3t4-coral)}.g3t4a-diagonal .student-diagonal{stroke:var(--g3t4-coral);stroke-width:8;stroke-linecap:round}.g3t4a-geoboard circle{fill:#fff;stroke:var(--g3t4-teal);stroke-width:4}.g3t4a-geoboard .missing{stroke:#f0ad2e;stroke-width:16;stroke-dasharray:16 12;cursor:pointer}.g3t4a-geoboard .missing.done{stroke:var(--g3t4-teal);stroke-dasharray:none;pointer-events:none}
.g3t4a-ruler>div{position:relative;width:min(100%,600px);height:250px;margin:auto;background-image:radial-gradient(#abd5cf 2px,transparent 2px);background-size:24px 24px}.g3t4a-ruler .dot{position:absolute;top:80px;width:22px;height:22px;border-radius:50%;background:var(--g3t4-coral);z-index:3}.g3t4a-ruler .dot.a{left:70px}.g3t4a-ruler .dot.b{right:70px}.g3t4a-ruler .ruler{position:absolute;left:34%;top:145px;width:260px;height:42px;border:2px solid #c18a24;border-radius:8px;background:rgba(246,196,83,.82);transform:rotate(12deg);transition:.5s}.g3t4a-ruler .ruler.aligned{left:135px;top:70px;transform:rotate(0)}.g3t4a-ruler .line{position:absolute;left:82px;top:89px;width:0;height:6px;border-radius:4px;background:var(--g3t4-teal);transition:.6s}.g3t4a-ruler .line.drawn{width:430px}
.g3t4a-perimeter-estimate .frame,.g3t4a-unit-measure .frame{position:relative;width:360px;height:220px;margin:12px auto;border:16px solid #e19448;border-radius:12px;background:#fff8df;box-shadow:inset 0 0 0 6px #fff}.g3t4a-perimeter-estimate .frame i{position:absolute;background:#f4bd3f;opacity:.6}.g3t4a-perimeter-estimate .frame i:nth-child(1),.g3t4a-perimeter-estimate .frame i:nth-child(3){left:8px;right:8px;height:5px}.g3t4a-perimeter-estimate .frame i:nth-child(1){top:8px}.g3t4a-perimeter-estimate .frame i:nth-child(3){bottom:8px}.g3t4a-perimeter-estimate .frame i:nth-child(2),.g3t4a-perimeter-estimate .frame i:nth-child(4){top:8px;bottom:8px;width:5px}.g3t4a-perimeter-estimate .frame i:nth-child(2){right:8px}.g3t4a-perimeter-estimate .frame i:nth-child(4){left:8px}.g3t4a-perimeter-estimate strong{display:inline-block;padding:9px 16px;border-radius:14px;background:#fff1be;color:#875f00}.g3t4a-unit-measure .frame i{position:absolute;display:grid;place-items:center;width:48px;height:38px;border:3px solid #cddedb;border-radius:9px;background:#fff;color:#6b8984;opacity:.28}.g3t4a-unit-measure .frame i.done{opacity:1;border-color:var(--g3t4-gold);background:#fff2bf;color:#705100}.g3t4a-unit-measure .u0{left:16px;top:-10px}.g3t4a-unit-measure .u1{left:76px;top:-10px}.g3t4a-unit-measure .u2{left:136px;top:-10px}.g3t4a-unit-measure .u3{left:196px;top:-10px}.g3t4a-unit-measure .u4{right:-22px;top:34px}.g3t4a-unit-measure .u5{right:-22px;bottom:34px}.g3t4a-unit-measure .u6{right:48px;bottom:-18px}.g3t4a-unit-measure .u7{right:118px;bottom:-18px}.g3t4a-unit-measure .u8{left:72px;bottom:-18px}.g3t4a-unit-measure .u9{left:-22px;bottom:76px}
.g3t4a-compare>div{display:flex;align-items:center;justify-content:center;gap:20px;margin:25px}.g3t4a-compare b{display:grid;place-items:center;width:130px;height:130px;border-radius:50%;background:#fff;border:4px solid var(--g3t4-teal);font-size:40px}.g3t4a-compare small{display:block;font-size:13px}.g3t4a-compare i{font-size:36px;color:var(--g3t4-coral)}
.g3t4a-conservation>div,.g3t4a-halves>div,.g3t4a-aquarium>div{display:flex;align-items:end;justify-content:center;gap:6px}.g3t4a-conservation .g3liq-vessel{width:128px;height:190px}.g3t4a-halves .g3liq-vessel{width:155px;height:210px}.g3t4a-halves button{border:0;background:transparent;border-radius:18px;cursor:pointer}.g3t4a-halves button:not(:disabled){box-shadow:0 0 0 5px rgba(242,185,65,.45);animation:g3t4Pulse 1.15s infinite}.g3t4a-halves button:disabled{opacity:.58}.g3t4a-aquarium>.g3liq-vessel{width:300px;height:250px}.g3t4a-aquarium>div .g3liq-vessel{width:220px;height:210px}
.g3t4a-independent-proof{display:grid;place-items:center;width:min(100%,430px);min-height:170px;margin:12px auto;padding:8px 14px;border-radius:20px;background:#e8f7f4}.g3t4a-independent-prism{width:min(100%,320px);height:165px;filter:drop-shadow(0 9px 8px rgba(18,61,71,.18))}.g3t4a-independent-prism polygon,.g3t4a-independent-prism polyline,.g3t4a-independent-prism line{stroke:#075f58;stroke-width:5;stroke-linejoin:round;fill:none}.g3t4a-independent-prism .end{fill:#f4dc69;stroke:#ef765d;stroke-width:8}.g3t4a-independent-prism .top{fill:#9ee1d7}.g3t4a-independent-prism .side{fill:#43b7a8}.g3t4a-independent-process{display:grid;grid-template-columns:1fr auto 68px auto 1fr;align-items:center;gap:9px;width:100%}.g3t4a-independent-process>b,.g3t4a-independent-liquid>b{color:var(--g3t4-coral);font-size:28px}.g3t4a-independent-process>span{position:relative;display:grid;place-items:center;min-height:112px;border-radius:17px;background:#fff;border:3px solid #93cec5}.g3t4a-independent-process .draw:before{content:"";width:82px;height:54px;border:7px solid var(--g3t4-teal);border-radius:7px}.g3t4a-independent-process .draw i{position:absolute;width:96px;height:12px;border:3px solid #bd8429;border-radius:5px;background:#f5c95a;transform:rotate(-12deg)}.g3t4a-independent-process .estimate{font-size:44px;font-weight:950;color:#d37825}.g3t4a-independent-process .measure{display:flex;gap:3px;padding:10px}.g3t4a-independent-process .measure i{width:13px;height:74px;border-radius:6px;background:#f1b63f;border:2px solid #b67c1e}.g3t4a-independent-liquid{display:flex;align-items:end;justify-content:center;gap:5px;width:100%;height:170px}.g3t4a-independent-liquid .g3liq-vessel{width:78px;height:145px}.g3t4a-reflection-proof{display:flex;align-items:center;justify-content:center;gap:16px;margin:16px}.g3t4a-reflection-proof>b{color:var(--g3t4-coral);font-size:32px}.g3t4a-reflection-proof>span{position:relative;display:block;width:90px;height:90px;border-radius:22px;background:#e8f7f4;border:3px solid #83c8bd}.g3t4a-reflection-proof.evidence-proof>span:first-child:before{content:"";position:absolute;left:22px;top:22px;width:35px;height:35px;border:7px solid var(--g3t4-teal);border-radius:50%}.g3t4a-reflection-proof.evidence-proof>span:first-child:after{content:"";position:absolute;left:57px;top:58px;width:26px;height:7px;border-radius:4px;background:var(--g3t4-teal);transform:rotate(43deg)}.g3t4a-reflection-proof.evidence-proof>span:last-child:before{content:"";position:absolute;left:22px;top:27px;width:47px;height:36px;border:6px solid var(--g3t4-teal);border-radius:7px;box-shadow:inset 0 0 0 7px #fff}.g3t4a-reflection-proof.estimate-proof>span:first-child:before{content:"?";display:grid;place-items:center;height:100%;font-size:44px;font-weight:950;color:#d37825}.g3t4a-reflection-proof.estimate-proof>span:last-child:before{content:"1 L";display:grid;place-items:center;height:100%;font-size:30px;font-weight:950;color:var(--g3t4-teal)}.g3t4a-aquarium-estimate-model{display:flex;align-items:end;justify-content:center;gap:18px}.g3t4a-aquarium-estimate-model .g3liq-vessel:first-child{width:115px;height:190px}.g3t4a-aquarium-estimate-model .g3liq-vessel:last-child{width:265px;height:220px}.g3t4a-final>div{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}.g3t4a-final b{padding:12px 16px;border-radius:14px;background:#e6f7f3}.g3t4a-final i{color:var(--g3t4-coral)}
.g3t4a-alternative{position:absolute;inset:8px;z-index:9;margin:auto;display:grid;place-items:center;background:#fffef8!important}.g3t4a-alternative button{padding:10px 16px;border:2px solid #9dd2ca;border-radius:12px;background:#fff;font-weight:800}.g3t4a-hand-proof,.g3t4a-half-proof,.g3t4a-strip-proof{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g3t4a-hand-proof b,.g3t4a-half-proof b,.g3t4a-half-proof strong,.g3t4a-strip-proof em{padding:10px;border-radius:12px;background:#e7f7f3}.g3t4a-string-shape{width:220px;height:170px;margin:10px auto;clip-path:polygon(20% 0,80% 0,100% 50%,80% 100%,20% 100%,0 50%);background:var(--g3t4-gold);box-shadow:inset 0 0 0 14px var(--g3t4-teal)}
.show-g3t4a-guides .g3t4a-workspace>div{box-shadow:0 0 0 7px rgba(242,185,65,.32),0 12px 30px rgba(18,61,71,.1)}
@media(max-width:700px){.g3t4a-lab{width:100%;height:auto;min-height:378px;border-radius:20px}.g3t4a-workspace{inset:8px}.g3t4a-workspace>div{padding:12px;border-radius:18px}.g3t4a-workspace h1{font-size:23px}.g3t4a-workspace h2{font-size:18px}.g3t4a-hero>div{grid-template-columns:repeat(3,1fr);gap:5px}.g3t4a-hero b{padding:8px 3px;font-size:11px}.g3t4a-solid-task,.g3t4a-polygon-task,.g3t4a-garden{grid-template-columns:1fr}.g3t4a-solid-task .board-kicker,.g3t4a-polygon-task .board-kicker,.g3t4a-garden .board-kicker{grid-column:1}.g3t4a-solid{height:240px}.g3t4a-polygon{height:205px}.g3t4a-diagonal svg,.g3t4a-geoboard svg{height:235px}.g3t4a-ruler>div{height:200px}.g3t4a-ruler .ruler.aligned{left:68px;width:230px}.g3t4a-ruler .line{left:72px}.g3t4a-ruler .line.drawn{width:240px}.g3t4a-perimeter-estimate .frame,.g3t4a-unit-measure .frame{width:250px;height:150px;border-width:12px}.g3t4a-classify i{width:60px;height:60px}.g3t4a-classify .prism{width:72px;height:50px}.g3t4a-conservation .g3liq-vessel{width:78px;height:140px}.g3t4a-halves .g3liq-vessel{width:94px;height:150px}.g3t4a-aquarium>.g3liq-vessel{width:210px;height:175px}.g3t4a-aquarium>div .g3liq-vessel{width:140px;height:150px}.g3t4a-independent-proof{min-height:135px;margin:7px auto;padding:4px 8px}.g3t4a-independent-prism{height:128px}.g3t4a-independent-process{grid-template-columns:1fr auto 54px auto 1fr;gap:4px}.g3t4a-independent-process>span{min-height:90px}.g3t4a-independent-process .draw:before{width:54px;height:38px;border-width:5px}.g3t4a-independent-process .draw i{width:64px;height:9px}.g3t4a-independent-process .measure i{width:9px;height:54px}.g3t4a-independent-liquid{height:126px}.g3t4a-independent-liquid .g3liq-vessel{width:55px;height:112px}.g3t4a-reflection-proof>span{width:70px;height:70px}.g3t4a-aquarium-estimate-model .g3liq-vessel:first-child{width:80px;height:140px}.g3t4a-aquarium-estimate-model .g3liq-vessel:last-child{width:180px;height:160px}}
@media(max-height:760px) and (min-width:701px){.grade3-theme4-assessment-shell .teacher-classroom{padding:8px 0 12px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade3-theme4-assessment-shell .lesson-avatar{height:190px}.grade3-theme4-assessment-shell .teacher-bubble{min-height:78px;max-height:136px;overflow:auto;margin-top:7px;padding:10px;font-size:11px;line-height:1.34}.grade3-theme4-assessment-shell .narration-controls{margin-top:5px}.grade3-theme4-assessment-shell .lesson-support-dock .mental-subtraction-support>button{min-height:42px;padding:4px 6px}.grade3-theme4-assessment-shell .raise-hand{min-height:50px;padding:5px 10px}.grade3-theme4-assessment-shell .teaching-area{width:min(100%,calc(100vh - 205px))}.grade3-theme4-assessment-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade3-theme4-assessment-shell .g3t4a-lab{height:min(570px,calc(100vh - 280px));min-height:420px}.grade3-theme4-assessment-shell .g3t4a-workspace{inset:10px}.grade3-theme4-assessment-shell .g3t4a-workspace>div{padding:13px}.grade3-theme4-assessment-shell .g3t4a-conservation .g3liq-vessel{width:90px;height:158px}.grade3-theme4-assessment-shell .g3t4a-halves .g3liq-vessel{width:108px;height:165px}.grade3-theme4-assessment-shell .g3t4a-aquarium>div .g3liq-vessel{width:158px;height:165px}.grade3-theme4-assessment-shell .lesson-footer{min-height:56px;padding-top:5px}}

@media(max-height:760px) and (min-width:701px){
  .g3liq-lab{width:100%;min-height:408px;aspect-ratio:auto}
  .g3liq-workspace{inset:8px;overflow:hidden}
  .g3liq-workspace>div:not(.g3liq-alternative){width:100%;min-height:330px;padding:9px 8px;overflow:hidden}
  .g3liq-workspace h1,.g3liq-workspace h2,.g3liq-workspace p{max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .g3liq-workspace h2{font-size:1.02rem;line-height:1.14}
  .g3liq-vessel{width:142px;height:172px}
  .g3liq-vessel.tall{width:88px}.g3liq-vessel.wide{width:168px}.g3liq-vessel.pot{width:178px}.g3liq-vessel.cup{width:92px;height:125px}.g3liq-vessel.aquarium{width:184px}.g3liq-vessel.teapot{width:172px}
  .g3liq-halves>div,.g3liq-container-guess>div,.g3liq-pot-estimate>div,.g3liq-guided>div,.g3liq-aquarium>div,.g3liq-independent>div,.g3liq-measure-loop>div{width:100%;min-width:0;gap:3px}
  .g3liq-halves .g3liq-vessel{width:88px;height:122px}.g3liq-half-cup{padding:1px}.g3liq-half-cup b{font-size:.68rem}.g3liq-halves>div>i{font-size:1rem}
  .g3liq-conservation{width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px}.g3liq-conservation .sources,.g3liq-conservation .targets{min-width:0;gap:0}.g3liq-conservation .g3liq-vessel,.g3liq-conservation .targets .g3liq-vessel{width:68px;height:112px}.g3liq-conservation .targets{padding:4px}
  .g3liq-container-guess .g3liq-vessel,.g3liq-pot-estimate .g3liq-vessel{height:150px}
  .g3liq-measure-loop .g3liq-vessel,.g3liq-guided .g3liq-vessel,.g3liq-aquarium .g3liq-vessel,.g3liq-independent .g3liq-vessel{height:145px}
  .g3liq-guided section .g3liq-vessel{width:65px;height:92px}.g3liq-three-halves .g3liq-vessel{width:82px;height:112px}
  .g3liq-locked-estimate{top:9px;right:9px;padding:5px 8px;font-size:.64rem}
}
/* 3. sınıf · Çokgenleri kenarlarına göre sınıflandırma */
.grade3-polygons-board{--g3poly-teal:#078b7c;--g3poly-coral:#f27059;--g3poly-gold:#f3b52e;--g3poly-ink:#143f48;display:grid;place-items:center;min-height:0}
.g3poly-garden{position:relative;width:min(100%,780px);aspect-ratio:16/9;min-height:400px;overflow:hidden;border:1px solid #9fd5cc;border-radius:26px;background:#dcefe9;box-shadow:0 18px 42px #174b4430;isolation:isolate}
.g3poly-garden-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.g3poly-garden::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#eefcf5e8 0 64%,#e7f5ed8f 100%);pointer-events:none}
.g3poly-workspace{position:absolute;inset:14px;z-index:3;display:grid;place-items:center;min-width:0;min-height:0}
.g3poly-ant{position:absolute;z-index:4;right:-1%;bottom:-4%;width:16%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 16px #113b3448);pointer-events:none;transform-origin:50% 100%}
.g3poly-garden[data-mode=rope] .g3poly-ant{animation:g3poly-ant-arrive 1.4s ease both}
@keyframes g3poly-ant-arrive{from{transform:translateX(170%) rotate(8deg)}to{transform:translateX(0)}}
.g3poly-hero{width:94%;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);gap:9px;align-items:center}
.g3poly-hero>div:last-child{min-width:0;padding:14px 11px;border-radius:20px;background:#fffc;box-shadow:0 12px 30px #16463e24}
.g3poly-hero span,.g3poly-final>span{font-size:.78rem;font-weight:1000;letter-spacing:.12em;color:var(--g3poly-teal)}
.g3poly-hero h1,.g3poly-final h1{margin:7px 0;color:var(--g3poly-ink);font-size:clamp(1.12rem,2vw,1.75rem);line-height:1.08}
.g3poly-hero p{margin:0;color:#39716c;font-size:.82rem;font-weight:900}
.g3poly-shape{position:relative;width:min(100%,360px);margin:0 auto;transform:rotate(var(--shape-turn,0deg));transform-origin:center;transition:transform .65s ease;filter:drop-shadow(0 14px 18px #153e3630)}
.g3poly-shape svg{display:block;width:100%;height:auto;overflow:visible}
.g3poly-shape.compact{width:min(28%,225px)}
.g3poly-fill{fill:#fdf8c9;stroke:none}
.g3poly-edge-line{stroke:#078b7c;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s,filter .25s,stroke-width .25s}
.g3poly-edge-line.speaking{stroke:#f0a51f;stroke-width:18;filter:drop-shadow(0 0 9px #f6a623)}
.g3poly-corner{fill:#f27059;stroke:#fff;stroke-width:4;transition:r .2s,filter .2s}
.g3poly-edge-hit{stroke:#0000;stroke-width:44;stroke-linecap:round;pointer-events:stroke;cursor:pointer;outline:none}
.g3poly-edge-hit:hover,.g3poly-edge-hit:focus-visible{stroke:#f6a62355;filter:drop-shadow(0 0 7px #f6a623)}
.g3poly-edge-hit.found{stroke:#f6a623aa;stroke-width:18;pointer-events:none;filter:drop-shadow(0 0 8px #f6a623)}
.g3poly-shape figcaption{display:flex;justify-content:center;gap:5px;align-items:center;flex-wrap:wrap;margin-top:-2px;color:var(--g3poly-ink);font-size:.86rem;font-weight:900;line-height:1}
.g3poly-shape figcaption span{padding:5px 9px;border-radius:999px;background:#fff9}
.g3poly-diagonal{stroke:#417ed8;stroke-width:9;stroke-linecap:round;stroke-dasharray:500;stroke-dashoffset:0;filter:drop-shadow(0 0 6px #62a0ff);transition:stroke-dashoffset .9s ease,opacity .3s}
.g3poly-diagonal-model[data-g3poly-diagonal-step=ready] .g3poly-diagonal{stroke-dashoffset:500;opacity:.18}
.g3poly-diagonal-model[data-g3poly-diagonal-step=first] .g3poly-diagonal.d1{stroke-dashoffset:0;opacity:1}
.g3poly-diagonal-model[data-g3poly-diagonal-step=first] .g3poly-diagonal.d2{stroke-dashoffset:500;opacity:.18}
.g3poly-diagonal-model[data-g3poly-diagonal-step=second] .g3poly-diagonal{stroke-dashoffset:0;opacity:1}
@keyframes g3poly-draw{to{stroke-dashoffset:0}}
.g3poly-compare,.g3poly-family,.g3poly-name-model,.g3poly-teacher-trace,.g3poly-edge-task,.g3poly-sort-task,.g3poly-invariance,.g3poly-diagonal-model,.g3poly-triangle-diagonal,.g3poly-property-task,.g3poly-independent{width:min(94%,700px);min-height:350px;padding:18px 22px;display:grid;align-content:center;justify-items:center;border:2px solid #acd9d1;border-radius:25px;background:#f9fffcdd;box-shadow:0 14px 34px #174b4428;box-sizing:border-box}
.g3poly-compare>div,.g3poly-family>div,.g3poly-invariance>div{width:100%;display:flex;justify-content:center;align-items:center;gap:8px}
.g3poly-nonexample{width:28%;margin:0;display:grid;place-items:center;padding:10px;border-radius:18px;background:#fff}
.g3poly-nonexample svg{width:100%;height:120px;overflow:visible}
.g3poly-nonexample polyline,.g3poly-nonexample path{fill:none;stroke:#ef755d;stroke-width:10;stroke-linecap:round}
.g3poly-nonexample b{color:#8b4438}
.g3poly-family .g3poly-shape,.g3poly-invariance .g3poly-shape{flex:0 1 29%;max-width:29%;min-width:0}
.g3poly-family h2,.g3poly-invariance h2,.g3poly-diagonal-model h2,.g3poly-property-task h2,.g3poly-independent h2{margin:8px 0 0;color:var(--g3poly-ink);font-size:1.2rem;text-align:center}
.g3poly-count-badge{display:grid;grid-template-columns:auto auto auto auto;gap:7px;align-items:center;margin-top:4px;padding:8px 14px;border-radius:16px;background:#fff}
.g3poly-count-badge b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--g3poly-gold);color:#173f46;font-size:1.35rem}
.g3poly-edge-task h2{margin:4px 0;color:var(--g3poly-ink)}
.g3poly-edge-task h2 b{color:var(--g3poly-coral);font-size:1.7rem}
.g3poly-edge-task p{margin:0;color:#3c6f69;font-weight:800}
.g3poly-live-prompt{display:flex;align-items:center;gap:10px;padding:12px 22px;border-radius:18px;background:#0a8174;color:#fff;box-shadow:0 8px 18px #174b4438}
.g3poly-name-equation{display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:18px;background:#fff;color:var(--g3poly-ink)}
.g3poly-name-equation>b{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:var(--g3poly-gold);font-size:1.6rem}
.g3poly-name-equation strong{color:var(--g3poly-teal)}
.g3poly-stations{width:92%;display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.g3poly-stations>span{grid-column:1/-1}
.g3poly-stations section{display:grid;place-items:center;min-height:105px;border:3px dashed #82c9bd;border-radius:20px;background:#fffdd}
.g3poly-stations b{font-size:2rem;color:var(--g3poly-teal)}
.g3poly-stations span{color:#3a6b66;font-weight:900}
.g3poly-diagonal-rule,.g3poly-triangle-diagonal>div{display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:16px;background:#fff;color:var(--g3poly-ink)}
.g3poly-diagonal-measure{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 12px;border-radius:16px;background:#fff;color:var(--g3poly-ink);font-weight:950;opacity:.22;transform:translateY(4px);transition:opacity .35s,transform .35s}
.g3poly-diagonal-model[data-g3poly-diagonal-step=equal] .g3poly-diagonal-measure,.g3poly-alternative .g3poly-diagonal-measure,.g3poly-independent-diagonal .g3poly-diagonal-measure{opacity:1;transform:none}
.g3poly-diagonal-measure span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.g3poly-diagonal-measure span i{display:block;width:54px;height:8px;border-radius:999px;background:repeating-linear-gradient(90deg,#417ed8 0 7px,#fff 7px 10px);box-shadow:0 0 0 2px #bcd3f6}
.g3poly-diagonal-measure>b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f4bb38;color:#173f46;font-size:1.25rem}
.g3poly-diagonal-measure.compact{font-size:.78rem;padding:5px 8px;gap:6px}.g3poly-diagonal-measure.compact span i{width:34px;height:6px}
.g3poly-diagonal-model>p{margin:5px 0 0;color:#27625e;font-weight:950}
.g3poly-independent-diagonal{display:grid;place-items:center;width:100%}
.g3poly-triangle-diagonal>div{flex-direction:column;gap:2px}
.g3poly-triangle-diagonal>div b{color:#d05b47}
.g3poly-alternative{position:absolute;inset:4%;z-index:15;display:grid;place-items:center;align-content:center;gap:12px;padding:24px;border:3px solid #f0aa2c;border-radius:24px;background:#fffdf6;box-shadow:0 18px 40px #123f3970;text-align:center}
.g3poly-alternative p{max-width:540px;margin:0;color:var(--g3poly-ink);font-weight:800;font-size:1.05rem}
.g3poly-alternative button{padding:10px 16px;border:0;border-radius:14px;background:#0b8b7c;color:#fff;font-weight:900;cursor:pointer}
.g3poly-stick-board{position:relative;width:220px;height:150px}
.g3poly-stick-board i{position:absolute;width:130px;height:12px;border-radius:999px;background:#2f91d6;transform-origin:0 50%}
.g3poly-stick-board i:nth-child(1){left:40px;top:122px}.g3poly-stick-board i:nth-child(2){left:40px;top:122px;transform:rotate(-57deg)}.g3poly-stick-board i:nth-child(3){left:110px;top:12px;transform:rotate(57deg)}
.g3poly-stick-board em{position:absolute;width:25px;height:25px;border-radius:50%;background:#f0805c}.g3poly-stick-board em:nth-of-type(1){left:28px;top:115px}.g3poly-stick-board em:nth-of-type(2){left:98px;top:0}.g3poly-stick-board em:nth-of-type(3){right:22px;top:115px}
.g3poly-rope-row{display:flex;gap:8px}.g3poly-rope-row span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f5c24f;color:#18444a;font-weight:1000;box-shadow:0 0 0 4px #fff,0 0 0 7px #0b8b7c}
.g3poly-proof-route{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g3poly-proof-route span{display:grid;gap:3px;place-items:center;padding:10px 14px;border-radius:16px;background:#e5f4ef;color:#174b45;font-weight:950}.g3poly-proof-route b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f3b52e}
.g3poly-load-status{position:absolute;inset:4%;z-index:30;display:grid;place-items:center;align-content:center;gap:9px;padding:24px;border:3px solid #f0aa2c;border-radius:24px;background:#fffdf6;text-align:center;box-shadow:0 18px 40px #123f3970}.g3poly-load-status span{font-size:.75rem;font-weight:1000;letter-spacing:.13em;color:#078b7c}.g3poly-load-status h2,.g3poly-load-status p{margin:0;color:#143f48}.g3poly-load-status button{margin-top:7px;padding:11px 16px;border:0;border-radius:14px;background:#0b8b7c;color:#fff;font-weight:900;cursor:pointer}.g3poly-load-status button[hidden]{display:none}.g3poly-assets-pending .g3poly-workspace,.g3poly-assets-pending .g3poly-ant,.g3poly-assets-pending .g3poly-garden-bg{visibility:hidden}
.show-g3poly-guides .g3poly-edge-line{filter:drop-shadow(0 0 8px #f6a623);stroke:#f0a51f}
.show-g3poly-guides .g3poly-corner{r:10;filter:drop-shadow(0 0 6px #f27059)}
.g3poly-guided-complete{width:88%;padding:38px 24px;border-radius:26px;background:#fffe;box-shadow:0 16px 36px #174b4432;text-align:center}
.g3poly-guided-complete>div{display:flex;align-items:center;justify-content:center;gap:14px;margin:22px 0}
.g3poly-guided-complete b{padding:14px;border-radius:14px;background:#daf1eb;color:var(--g3poly-teal)}
.g3poly-final{width:88%;padding:34px;border-radius:28px;background:#fffe;text-align:center;box-shadow:0 18px 40px #174b4438}
.g3poly-final>div{display:flex;justify-content:center;gap:10px;margin-top:20px}.g3poly-final section{display:grid;place-items:center;width:78px;height:78px;border-radius:22px;background:#dff3ed;color:var(--g3poly-teal)}.g3poly-final section b{font-size:1.8rem}.g3poly-final section small{font-weight:900}
.g3poly-incomplete-octagon{position:relative;width:min(100%,360px)}
.g3poly-incomplete-octagon .g3poly-edge-line:nth-of-type(7),.g3poly-incomplete-octagon .g3poly-edge-line:nth-of-type(8){opacity:0;stroke-dasharray:10 12}
.g3poly-incomplete-octagon>i{position:absolute;display:none;width:72px;height:5px;border-top:4px dashed #f27059}.g3poly-incomplete-octagon>i:first-of-type{right:8%;top:30%;transform:rotate(44deg)}.g3poly-incomplete-octagon>i:last-of-type{right:8%;bottom:30%;transform:rotate(-44deg)}
.show-g3poly-guides .g3poly-incomplete-octagon>i{display:block}
.show-g3poly-guides .g3poly-incomplete-octagon .g3poly-edge-line:nth-of-type(7),.show-g3poly-guides .g3poly-incomplete-octagon .g3poly-edge-line:nth-of-type(8){opacity:.16}

@media (max-width:760px){
  .g3poly-garden{width:100%;min-height:360px;aspect-ratio:auto;border-radius:20px}
  .g3poly-workspace{inset:8px;align-content:start;padding-top:8px;overflow:auto}
  .g3poly-garden::after{background:#effaf5ec}
  .g3poly-ant{width:24%;right:-2%;bottom:-1%;opacity:.9}
  .g3poly-hero{width:100%;grid-template-columns:1fr;gap:6px}.g3poly-hero .g3poly-shape{width:235px}.g3poly-hero>div:last-child{padding:14px;text-align:center}
  .g3poly-compare,.g3poly-family,.g3poly-name-model,.g3poly-teacher-trace,.g3poly-edge-task,.g3poly-sort-task,.g3poly-invariance,.g3poly-diagonal-model,.g3poly-triangle-diagonal,.g3poly-property-task,.g3poly-independent{width:100%;min-height:325px;padding:10px 8px}
  .g3poly-compare>div,.g3poly-family>div,.g3poly-invariance>div{gap:3px;flex-wrap:wrap}.g3poly-shape.compact{width:31%;min-width:92px}.g3poly-nonexample{width:28%;padding:4px}.g3poly-nonexample svg{height:85px}.g3poly-nonexample b{font-size:.72rem}
  .g3poly-shape{width:min(86%,290px)}.g3poly-shape figcaption{font-size:.78rem}.g3poly-stations{grid-template-columns:repeat(3,1fr)}.g3poly-stations section{min-height:74px}
  .g3poly-final{width:100%;padding:18px 8px}.g3poly-final>div{flex-wrap:wrap}.g3poly-final section{width:60px;height:60px}.g3poly-final section b{font-size:1.25rem}
  .g3poly-alternative{inset:2%;padding:12px}.g3poly-alternative p{font-size:.9rem}.g3poly-guided-complete{width:100%;padding:20px 8px}.g3poly-guided-complete>div{gap:4px}.g3poly-guided-complete b{padding:8px;font-size:.73rem}
  .g3poly-diagonal-measure{gap:5px;padding:6px;font-size:.72rem}.g3poly-diagonal-measure span i{width:34px;height:6px}.g3poly-diagonal-measure>b{width:28px;height:28px;font-size:1rem}
}

.g3lu-object-visual img{min-width:0;min-height:0;max-width:100%;max-height:100%;align-self:stretch;justify-self:stretch}

/* Theme 2 assessment: keep money equivalence cards inside the shared stage. */
.g3t2-money-reminder{width:100%;min-width:0;max-width:100%;overflow:hidden}
.g3t2-money-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-width:0}
.g3t2-money-row section{min-width:0}

/* Grade 3 relation lesson: task-specific visual support and real transparent people. */
.g3asr-people section img{display:block;width:auto;height:62px;max-width:82px;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(16,63,70,.2))}
.g3asr-support-target{position:relative;z-index:4;animation:g3asrSupportPulse 1.05s ease-in-out infinite;box-shadow:0 0 0 5px rgba(241,184,61,.48),0 0 28px rgba(241,184,61,.65)!important}
@keyframes g3asrSupportPulse{50%{filter:brightness(1.08);transform:scale(1.018)}}
@media(max-width:760px){.g3asr-people section img{height:44px;max-width:56px}.g3asr-support-target{box-shadow:0 0 0 3px rgba(241,184,61,.5),0 0 18px rgba(241,184,61,.58)!important}}

/* Geçici uzaktan test hata bildirimi */
.feedback-widget{--feedback-red:#d94b42;--feedback-ink:#173f46;position:relative;z-index:10000}
.feedback-launcher{position:fixed;right:18px;bottom:18px;z-index:10001;display:flex;align-items:center;gap:8px;padding:10px 14px;border:0;border-radius:999px;background:#fff;color:var(--feedback-ink);box-shadow:0 8px 28px #173f4650;cursor:pointer;font:800 14px/1 inherit}
.feedback-launcher>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--feedback-red);color:#fff;font-size:17px}
.feedback-launcher:hover,.feedback-launcher:focus-visible{box-shadow:0 0 0 4px #f7b0aa,0 9px 30px #173f4650}
@media(min-width:1101px){body:has(.topic-lesson-shell) .feedback-launcher{left:8px;right:auto;top:50%;bottom:auto;width:46px;height:46px;justify-content:center;padding:0;transform:translateY(-50%)}body:has(.topic-lesson-shell) .feedback-launcher b{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:1100px){body:has(.topic-lesson-shell) .feedback-launcher{display:none}}
.feedback-dialog{position:fixed;z-index:10003;right:18px;bottom:74px;width:min(calc(100vw - 36px),420px);max-height:min(72vh,650px);overflow:auto;box-sizing:border-box;padding:20px;border:2px solid #b8d8d3;border-radius:22px;background:#fffffff5;color:var(--feedback-ink);box-shadow:0 18px 55px #0c272e50;backdrop-filter:blur(8px)}
.feedback-dialog[hidden]{display:none}
/* Live teacher is temporarily unavailable; keep the familiar lesson layout. */
#raise-hand.unavailable{background:#edf2ef!important;color:#71827b!important;border:1px solid #d5e0d9!important;box-shadow:none!important;opacity:1!important;cursor:default!important;animation:none!important;transform:none!important}
#raise-hand.unavailable .hand-icon{opacity:.5;filter:grayscale(1)}
.lesson-shell #raise-hand.unavailable[aria-disabled="true"] .hand-copy small{display:block!important;color:#71827b!important;font-size:12px!important;font-weight:600;letter-spacing:.02em}
#raise-hand.unavailable .sound-bars,#talk-help[hidden]{display:none!important}
.feedback-dialog header{display:flex;align-items:start;justify-content:space-between;gap:12px}.feedback-dialog h2{margin:4px 0 0;font-size:22px;line-height:1.15}.feedback-dialog header small{color:#6a8985;font-weight:900;letter-spacing:.1em}.feedback-close{width:38px;height:38px;flex:0 0 auto;border:0;border-radius:50%;background:#edf5f3;color:#254f55;cursor:pointer;font-size:28px;line-height:1}
.feedback-context{margin:14px 0;padding:9px 12px;border-radius:12px;background:#eef7f5;color:#426b68;font-size:13px;font-weight:800}.feedback-dialog label{display:block;margin:0 0 7px;font-weight:900}.feedback-dialog textarea{display:block;width:100%;min-height:120px;resize:vertical;box-sizing:border-box;padding:13px;border:2px solid #aacfc9;border-radius:14px;background:#fbfefd;color:#173f46;font:600 16px/1.45 inherit}.feedback-dialog textarea:focus{outline:3px solid #f5c55b;border-color:#158a7d}
.feedback-dictation-row{display:flex;align-items:center;gap:12px;margin:12px 0}.feedback-dictate{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 12px;border:2px solid #168c7e;border-radius:12px;background:#effaf7;color:#116f65;cursor:pointer;font-weight:900}.feedback-dictate.is-listening{border-color:var(--feedback-red);background:#fff0ef;color:#a52f29;animation:feedbackPulse 1s infinite}.feedback-dictate:disabled{cursor:not-allowed;opacity:.55}.feedback-dictation-row small{color:#66807d;line-height:1.3}.feedback-status{min-height:20px;margin:6px 0;color:#95512e;font-size:14px;font-weight:800}.feedback-dialog footer{display:flex;justify-content:flex-end;gap:10px}.feedback-dialog footer button{padding:10px 17px;border-radius:12px;cursor:pointer;font-weight:900}.feedback-cancel{border:1px solid #c3d7d4;background:#fff;color:#315c60}.feedback-submit{border:0;background:#158a7d;color:#fff}.feedback-submit:disabled{opacity:.6}@keyframes feedbackPulse{50%{box-shadow:0 0 0 5px #f7b0aa}}
@media(max-width:620px){.feedback-launcher{right:10px;bottom:10px;padding:9px}.feedback-launcher b{font-size:12px}body:has(.topic-lesson-shell) .feedback-launcher{display:none}.feedback-dialog{right:9px;bottom:62px;width:min(calc(100vw - 18px),380px);max-height:58vh;padding:15px;border-radius:18px}.feedback-dialog h2{font-size:18px}.feedback-dialog textarea{min-height:82px}.feedback-dictation-row{align-items:flex-start;flex-direction:column;gap:6px}.feedback-dialog footer button{flex:1}}

/* grade2-problems.css */
/* 2. sınıf · Tema 3 · Toplama ve çıkarma problemleri */
.grade2-problems-board{--p-teal:#087f75;--p-coral:#ed7659;--p-gold:#f0ad2f;--p-ink:#123f4d}
.grade2-problems-board .board-square{box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;background:linear-gradient(145deg,#f4fffc,#e3f4ef);color:var(--p-ink)}
.pre-reader .grade2-problems-board .board-kicker,.pre-reader .grade2-problems-board .board-square h1{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
.problem-hero,.problem-four-step-model,.problem-two-step-model,.problem-two-step-task,.problem-column-model,.problem-choice-task,.problem-section-complete,.problem-finish{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px 18px;text-align:center}
.problem-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(210px,.8fr);align-content:center;text-align:left}
.problem-hero>.board-kicker{grid-column:1/-1}.problem-hero>.problem-studio-scene,.problem-hero>div:last-child{grid-row:2}.problem-hero h1,.problem-choice-task h1,.problem-section-complete h1,.problem-finish h1{margin:0;font-size:clamp(1.15rem,2.35vw,1.75rem);line-height:1.12}.problem-hero p,.problem-finish p{margin:7px 0;color:#43686e;font-weight:750;line-height:1.35}
.problem-studio-scene{position:relative;width:min(100%,520px);aspect-ratio:16/9;flex:0 0 auto;overflow:hidden;border:2px solid #acd9d2;border-radius:22px;background:#dff3ee;box-shadow:0 12px 28px rgba(15,89,78,.14);isolation:isolate}
.problem-studio-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:-1}
.problem-story-slot{position:absolute;z-index:2;display:grid;place-items:center;transition:filter .2s ease,transform .2s ease}.problem-story-slot.left{left:5.8%;top:68%;width:27%;height:24%}.problem-story-slot.right{right:5.8%;top:68%;width:27%;height:24%}.problem-story-slot.result{left:34.5%;top:25%;width:31%;height:25%}
.problem-story-slot>span{position:absolute;right:2px;top:-8px;display:grid;place-items:center;min-width:37px;height:30px;padding:0 5px;border:2px solid #159083;border-radius:12px;background:rgba(255,255,255,.96);font-weight:950;font-size:1rem;box-shadow:0 5px 12px rgba(8,85,75,.15)}.problem-story-slot.left>span{border-color:var(--p-coral)}.problem-story-slot.right>span{border-color:var(--p-gold)}
.problem-story-slot.spoken-focus,.problem-operation-badge.spoken-focus{filter:drop-shadow(0 0 10px rgba(255,157,35,.92));transform:scale(1.04)}
.problem-story-slot .inverse-quantity{width:82%;min-height:58%}.problem-story-slot .inverse-tens i{height:26px;width:6px}.problem-story-slot .inverse-units i{width:7px;height:7px}
.problem-operation-badge{position:absolute;z-index:3;left:47%;top:55%;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff2bf;color:#be5c27;font-size:1.45rem;font-weight:1000;box-shadow:0 6px 16px rgba(122,74,13,.2)}
.problem-step-pad{position:absolute;z-index:1;bottom:8%;width:16%;height:12%;border-radius:16px;background:rgba(255,255,255,.28)}.problem-step-pad.first{left:33%}.problem-step-pad.second{right:30%}
.problem-four-step-model>.problem-studio-scene{width:min(100%,430px)}.problem-four-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}.problem-four-steps span{padding:7px 5px;border:2px solid #b7ddd7;border-radius:14px;background:#fff;font-size:.7rem;font-weight:950}.problem-four-steps b{display:grid;place-items:center;width:24px;height:24px;margin:0 auto 3px;border-radius:50%;background:var(--p-teal);color:#fff;font-size:.8rem}.problem-four-steps small{display:block;margin-top:2px;color:#58777b;font-size:.6rem;line-height:1.15}.problem-four-steps span.spoken-highlight,.problem-four-steps span.spoken-focus{border-color:var(--p-gold);box-shadow:0 0 0 4px rgba(240,173,47,.2);transform:translateY(-3px)}
.problem-choice-task{justify-content:flex-start}.problem-choice-task>.problem-studio-scene{width:min(100%,465px)}.problem-choice-task>h1{max-width:610px;font-size:clamp(1rem,2vw,1.4rem)}
.problem-story-card{width:100%;max-width:610px;padding:12px;border:2px solid #acd9d2;border-radius:20px;background:#fff}.problem-story-card p{margin:0 0 9px;font-size:clamp(.78rem,1.55vw,1.02rem);font-weight:800;line-height:1.3}.problem-story-flow{display:flex;align-items:center;justify-content:center;gap:6px}.problem-story-flow span{flex:1;padding:8px 5px;border-radius:13px;background:#e8f7f3;color:#0b665f;font-weight:900;font-size:.78rem}.problem-story-flow span.active{background:#fff0bd;color:#9a4f1c;box-shadow:0 0 0 3px rgba(240,173,47,.25)}.problem-story-flow span.locked{background:#eef2f1;color:#84918f}.problem-story-flow i{font-style:normal;color:var(--p-coral);font-weight:950}.problem-story-flow span.spoken-highlight,.problem-story-flow span.spoken-focus{box-shadow:0 0 0 4px rgba(240,173,47,.25);transform:translateY(-3px)}
.problem-two-step-model>.problem-studio-scene{width:min(100%,370px)}.problem-two-step-task>h1{margin:0;font-size:clamp(1.05rem,2vw,1.4rem)}
.problem-column-model{gap:8px}.problem-column{display:grid;grid-template-columns:repeat(2,70px);justify-content:center;gap:3px 8px;position:relative;padding:10px 92px 10px 28px;border:2px solid #acd9d2;border-radius:22px;background:#fff}.column-labels,.column-number{grid-column:1/3;display:grid;grid-template-columns:repeat(2,70px);gap:8px}.column-labels small{font-size:.62rem;font-weight:900;color:#52767a}.column-number b{display:grid;place-items:center;height:48px;border-radius:13px;background:#e4f6f2;font-size:1.7rem}.column-number.bottom{position:relative}.column-number.bottom i{position:absolute;left:-24px;top:10px;color:var(--p-coral);font-size:1.45rem;font-style:normal;font-weight:950}.column-line{grid-column:1/3;height:4px;border-radius:5px;background:#174b55}.column-number.answer b{background:#fff0bf;color:#a94e1f}.column-exchange{position:absolute;right:9px;top:32px;display:flex;flex-direction:column;align-items:center;gap:4px;width:75px;padding:6px;border-radius:15px;background:#eaf7f4}.column-exchange>i{font-style:normal;color:var(--p-coral);font-weight:950}.exchange-ten{display:block;width:11px;height:50px;border:2px solid #087f75;border-radius:5px;background:repeating-linear-gradient(to bottom,#24a596 0 4px,#95ddd4 4px 7px)}.column-exchange>div{display:grid;grid-template-columns:repeat(5,9px);gap:2px}.column-exchange em{display:block;width:9px;height:9px;border:1px solid #9a5c1b;border-radius:2px;background:#f0ad2f}
.problem-model-note{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.problem-model-note>*{padding:7px 10px;border-radius:12px;background:#fff;font-style:normal;font-size:.76rem}.problem-model-note span{background:#fff0bf;color:#9a4f1c;font-weight:900}.problem-model-note strong{background:#dff4ef;color:#08695f}
.problem-group-visual,.problem-check-visual,.problem-create-visual{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:180px;border-radius:22px;background:rgba(255,255,255,.8)}.problem-group-visual span{display:grid;place-items:center;width:130px;height:115px;border:3px solid #9fd5cd;border-radius:25px;background:#fff}.problem-group-visual span:nth-child(2){border-color:#efc05c}.problem-group-visual b{font-size:2.35rem;color:#087f75}.problem-group-visual small{font-weight:950}.problem-shown-equation{padding:7px 15px;border-radius:14px;background:#fff0bf;color:#9c4d1d;font-size:1.25rem;font-weight:950}.problem-check-visual span,.problem-check-visual strong{padding:18px 24px;border:3px solid #a6d9d1;border-radius:20px;background:#fff;font-size:1.45rem}.problem-check-visual strong{border-style:dashed;color:#be5c27}.problem-check-visual i{font-style:normal;color:var(--p-coral);font-size:2rem}.problem-create-visual{flex-direction:column}.problem-create-visual>span{padding:16px 24px;border-radius:18px;background:#087f75;color:#fff;font-size:1.6rem;font-weight:950}.problem-create-visual>div{display:flex;gap:8px}.problem-create-visual i{padding:8px 12px;border:2px dashed #e3a62f;border-radius:12px;background:#fff8de;font-style:normal;font-weight:900;font-size:.7rem}
.grade2-problems-footer.answers-locked button[data-grade2-problem-answer],.grade2-problems-footer.answers-locked button[data-grade2-problem-two-answer]{pointer-events:none;opacity:.5;filter:grayscale(.35)}.grade2-problems-footer .theme4-final-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.grade2-problems-footer .theme4-final-choices.symbol-only-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.grade2-problems-footer .theme4-final-choices button{min-height:58px;height:auto}.grade2-problems-footer .theme4-final-choices button b{line-height:1.15}
.problem-section-complete>div{display:grid;place-items:center;width:105px;height:105px;border-radius:30px;background:var(--p-teal);color:#fff;font-size:2.35rem;font-weight:1000;box-shadow:0 13px 30px rgba(8,112,101,.22)}.problem-finish{display:grid;grid-template-columns:1fr 1fr;text-align:left}.problem-finish>img{width:100%;border-radius:23px;aspect-ratio:16/9;object-fit:cover}.problem-finish>div>span{color:#b65b22;font-size:.7rem;font-weight:950;letter-spacing:.12em}.problem-finish>div>div{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.problem-finish>div>div>*{padding:5px 7px;border-radius:10px;background:#e6f6f2;font-style:normal;font-size:.66rem}
.problem-support-motion,.problem-support-steps,.problem-support-check,.problem-support-groups,.problem-support-blocks{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.problem-support-motion span,.problem-support-steps span,.problem-support-groups span,.problem-support-check b{padding:7px 10px;border-radius:12px;background:#e5f6f2;color:#09685f;font-weight:950}.problem-support-motion i,.problem-support-steps i,.problem-support-check i{color:#ed7659;font-style:normal;font-weight:950}.problem-support-groups span{display:grid;place-items:center}.problem-support-groups small{font-size:.55rem}.problem-support-blocks .ten{width:10px;height:43px;border-radius:4px;background:#087f75}.problem-support-blocks em{display:block;width:9px;height:9px;border-radius:2px;background:#f0ad2f}.problem-support-blocks i{font-style:normal}.grade2-problems-board.remediation-mode{display:grid;grid-template-rows:minmax(0,1fr) 112px!important;height:458px;gap:6px;overflow:hidden}.grade2-problems-board.remediation-mode>.board-square{height:338px!important;max-height:338px!important;min-height:0!important}.grade2-problems-board.remediation-mode>.teacher-remediation-panel{min-height:108px;max-height:112px}
@media(max-width:760px){.grade2-problems-board .board-square{padding:6px;gap:4px}.problem-hero,.problem-finish{display:flex;text-align:center}.problem-hero>.problem-studio-scene{order:1}.problem-hero>div:last-child{order:2}.problem-hero>.board-kicker{order:0}.problem-hero h1,.problem-choice-task h1,.problem-section-complete h1,.problem-finish h1{font-size:1rem}.problem-hero p,.problem-finish p{font-size:.66rem;line-height:1.2}.problem-studio-scene{border-radius:15px}.problem-hero>.problem-studio-scene{width:100%}.problem-story-slot>span{min-width:28px;height:22px;font-size:.7rem}.problem-operation-badge{width:28px;height:28px;font-size:1rem}.problem-four-step-model>.problem-studio-scene{width:72%}.problem-four-steps{gap:2px}.problem-four-steps span{padding:3px 2px;font-size:.56rem}.problem-four-steps b{width:18px;height:18px;font-size:.58rem}.problem-four-steps small{font-size:.48rem}.problem-choice-task>.problem-studio-scene{width:82%}.problem-story-card{padding:6px}.problem-story-card p{font-size:.68rem;margin-bottom:5px}.problem-story-flow{gap:2px}.problem-story-flow span{padding:5px 2px;font-size:.56rem}.problem-two-step-model>.problem-studio-scene{width:63%}.problem-column{transform:scale(.78);margin:-22px}.problem-model-note{gap:3px}.problem-model-note>*{padding:4px 5px;font-size:.57rem}.problem-group-visual,.problem-check-visual,.problem-create-visual{min-height:150px;gap:6px}.problem-group-visual span{width:95px;height:86px}.problem-group-visual b{font-size:1.65rem}.problem-check-visual span,.problem-check-visual strong{padding:10px 11px;font-size:.85rem}.problem-create-visual>span{padding:10px 15px;font-size:1.05rem}.problem-create-visual i{padding:5px;font-size:.52rem}.problem-section-complete>div{width:75px;height:75px;font-size:1.65rem}.problem-finish>img{width:82%;max-height:150px}.problem-finish>div>div{justify-content:center}.grade2-problems-footer .theme4-final-choices button{min-height:50px}.grade2-problems-footer .theme4-final-choices button b{font-size:.7rem}.grade2-problems-board.remediation-mode{grid-template-rows:minmax(0,1fr) 108px!important;height:370px}.grade2-problems-board.remediation-mode>.board-square{height:254px!important;max-height:254px!important}.grade2-problems-board.remediation-mode>.teacher-remediation-panel{min-height:104px;max-height:108px}}

/* grade2-problems-overrides.css */
.grade2-problems-footer .theme4-final-choices button {
  min-height: 58px;
  height: 58px;
  overflow: hidden;
  padding: 6px 8px;
}
.grade2-problems-footer .theme4-final-choices button b {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .76rem;
}
@media (max-width: 760px) {
  .grade2-problems-footer .theme4-final-choices button {
    min-height: 54px;
    height: 54px;
    padding: 4px;
  }
  .grade2-problems-footer .theme4-final-choices button b {
    font-size: .56rem;
    line-height: 1.04;
    -webkit-line-clamp: 4;
  }
}

/* grade2-theme2-3-overrides.css */
/* Tema 2–3 toplu mobil denetiminde doğrulanan dar ekran düzeltmeleri. */
@media (max-width: 760px) {
  .pattern-hero-groups {
    width: 100%;
    min-width: 0;
  }
  .pattern-hero-groups section {
    min-width: 0;
    overflow: hidden;
  }
  .pattern-hero-groups img {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 22px;
    height: 22px;
  }
}

/* grade3.css */
/* 3. sınıf · Tema 1 · 1000'e kadar doğal sayılar */
.grade3-numbers1000-board {
  --g3-teal: #087f76;
  --g3-deep: #073f4c;
  --g3-coral: #ee7652;
  --g3-gold: #f1b847;
  height: auto;
}

.grade3-numbers1000-board .board-square {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  color: var(--g3-deep);
  background: linear-gradient(145deg, #f4fffc, #dff3ee);
}

.g3-hero,
.g3-finish {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 14px;
}

.g3-room-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.g3-room-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g3-room-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 42, 47, .82), rgba(3, 42, 47, .22) 50%, rgba(3, 42, 47, .02));
  pointer-events: none;
}

.g3-room-models {
  position: absolute;
  z-index: 4;
  right: 3.5%;
  bottom: 12.5%;
  width: 48%;
  height: 92px;
}
.g3-room-models figure {
  position: absolute;
  bottom: 0;
  display: grid;
  justify-items: center;
  align-content: end;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  transform-origin: bottom center;
}
.g3-room-models figure::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 14%;
  right: 14%;
  bottom: 24px;
  height: 12px;
  border-radius: 50%;
  background: rgba(26, 32, 22, .24);
  filter: blur(4px);
}
.g3-room-models figure:nth-child(1) { left: 7%; width: 24%; }
.g3-room-models figure:nth-child(2) { left: 38%; width: 24%; }
.g3-room-models figure:nth-child(3) { right: 3%; width: 27%; }
.g3-room-models img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 86px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 6px rgba(32, 38, 24, .32));
}
.g3-room-models figure:first-child img {
  height: 62px;
  transform: translateY(4px) rotate(-3deg);
}
.g3-room-models figcaption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 82, 80, .86);
  box-shadow: 0 6px 12px rgba(6, 40, 40, .25);
  font-size: .66rem;
  font-weight: 900;
}
.g3-room-models figcaption b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--g3-teal); background: #fff; }

.g3-hero-copy,
.g3-finish-card {
  position: relative;
  z-index: 5;
  align-self: start;
  width: min(48%, 390px);
  padding: 14px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.g3-hero-copy h1,
.g3-finish-card h1 { margin: 6px 0; padding-bottom: 2px; font-size: clamp(1.18rem, 2.4vw, 1.75rem); line-height: 1.18; overflow-wrap: anywhere; }
.g3-hero-copy p,
.g3-finish-card p { margin: 0; font-weight: 750; line-height: 1.3; font-size: .9rem; }

.g3-digit-lab,
.g3-model-gallery,
.g3-teacher-model,
.g3-student-choice,
.g3-builder,
.g3-transfer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  text-align: center;
}
.g3-digit-lab h1,
.g3-model-gallery h1,
.g3-teacher-model h1,
.g3-student-choice h1,
.g3-builder h1,
.g3-transfer h1 { margin: 0; padding-bottom: 2px; font-size: clamp(1.05rem, 2.1vw, 1.55rem); line-height: 1.18; }
.g3-digit-lab p,
.g3-model-gallery p,
.g3-teacher-model p,
.g3-student-choice p,
.g3-builder p,
.g3-transfer p { margin: 0; font-weight: 750; color: #456a70; }

.g3-digit-result { display: flex; gap: 8px; }
.g3-digit-result span {
  display: grid;
  place-items: center;
  width: 100px;
  height: 118px;
  border: 4px solid #93cec6;
  border-radius: 28px;
  color: var(--g3-deep);
  background: #fff;
  box-shadow: 0 12px 24px rgba(7,75,73,.12);
  font-size: 4.5rem;
  font-weight: 950;
}
.g3-digit-choices { display: grid; grid-template-columns: repeat(10, minmax(44px, 1fr)); gap: 7px; width: min(100%, 760px); }
.g3-digit-choices button { min-height: 56px; border: 2px solid #a9d8d2; border-radius: 16px; color: var(--g3-deep); background: #fff; font-size: 1.45rem; font-weight: 950; }

.g3-bridge-board { position: relative; padding: 8px; }
.g3-bridge-board > .board-kicker { position: absolute; z-index: 8; top: 18px; left: 22px; padding: 7px 10px; border-radius: 12px; color: #fff; background: rgba(4,73,70,.82); }
.g3-bridge-stage { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 26px; }
.g3-bridge-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(5,48,43,.16)); pointer-events: none; }
.g3-bridge-equation { position: absolute; z-index: 8; top: 17px; right: 20px; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 3px solid rgba(255,255,255,.9); border-radius: 17px; color: var(--g3-deep); background: rgba(255,255,255,.94); box-shadow: 0 10px 24px rgba(7,61,59,.2); }
.g3-bridge-equation span,.g3-bridge-equation strong { min-width: 44px; font-size: 1.6rem; }
.g3-bridge-equation b { color: var(--g3-coral); }
.g3-nine-tens,.g3-ten-ones { position: absolute; z-index: 4; bottom: 21%; display: grid; align-items: end; }
.g3-nine-tens { left: 5%; grid-template-columns: repeat(5, 50px); width: 260px; }
.g3-ten-ones { right: 7%; grid-template-columns: repeat(5, 40px); width: 210px; }
.g3-nine-tens img,.g3-ten-ones img { width: 70px; height: 68px; object-fit: contain; margin-left: calc(var(--item) % 5 * -11px); filter: drop-shadow(0 6px 4px rgba(35,35,25,.27)); transform-origin: 50% 100%; }
.g3-ten-ones img { width: 54px; height: 52px; }
.g3-new-one { opacity: 0; transform: translate(80px,-80px) scale(.4); }
.g3-created-ten,.g3-created-hundred { position: absolute; z-index: 6; object-fit: contain; opacity: 0; filter: drop-shadow(0 10px 7px rgba(35,35,25,.28)); }
.g3-created-ten { right: 15%; bottom: 20%; width: 130px; height: 130px; }
.g3-created-hundred { left: 31%; bottom: 14%; width: 290px; height: 220px; }
.g3-bridge-caption { position: absolute; z-index: 8; left: 50%; bottom: 3%; transform: translateX(-50%); min-width: 220px; padding: 7px 14px; border-radius: 999px; color: #fff; background: rgba(4,76,71,.9); font-weight: 900; text-align: center; }
.g3-bridge-stage.show-new-one .g3-new-one { opacity: 1; transform: translate(0,0) scale(1); transition: 700ms cubic-bezier(.2,.8,.25,1); }
.g3-bridge-stage.make-ten .g3-ten-ones img { opacity: 0; transform: translate(-70px,0) scale(.35); transition: 650ms cubic-bezier(.2,.8,.25,1); }
.g3-bridge-stage.make-ten .g3-created-ten { opacity: 1; transform: scale(1); transition: 700ms 280ms cubic-bezier(.2,.8,.25,1); }
.g3-bridge-stage.make-hundred .g3-nine-tens,.g3-bridge-stage.make-hundred .g3-created-ten { opacity: 0; transform: translate(100px,0) scale(.4); transition: 750ms cubic-bezier(.2,.8,.25,1); }
.g3-bridge-stage.make-hundred .g3-created-hundred { opacity: 1; transform: scale(1); transition: 800ms 280ms cubic-bezier(.2,.8,.25,1); }
.g3-bridge-stage.show-result .g3-bridge-equation strong { color: #fff; background: var(--g3-teal); border-radius: 9px; animation: g3-result-pop .55s ease-out; }
@keyframes g3-result-pop { 50% { transform: scale(1.18); box-shadow: 0 0 0 10px rgba(241,184,71,.35); } }

.g3-model-gallery > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 720px); }
.g3-model-gallery button { display: grid; place-items: center; gap: 5px; min-height: 260px; padding: 12px; border: 3px solid #abd9d3; border-radius: 25px; color: var(--g3-deep); background: #fff; box-shadow: 0 12px 24px rgba(7,70,67,.1); }
.g3-model-gallery button img { width: 100%; height: 170px; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(35,35,25,.2)); }
.g3-model-gallery button:first-child img { height: 135px; }
.g3-model-gallery button strong { font-size: 1.2rem; }
.g3-model-gallery button small { font-weight: 850; }
.g3-model-gallery button.is-touched { border-color: #eda448; box-shadow: 0 0 0 7px rgba(241,184,71,.24); }

.g3-place-model { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: min(100%, 760px); min-height: 210px; }
.g3-place-column { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; overflow: hidden; border: 3px solid #aad8d1; border-radius: 22px; background: rgba(255,255,255,.9); transition: .3s; }
.g3-place-column header { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; color: #fff; background: var(--g3-teal); }
.g3-place-column header b { font-size: .72rem; letter-spacing: .09em; }
.g3-place-column header span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--g3-deep); background: #fff; font-size: 1.05rem; font-weight: 950; }
.g3-model-items { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); place-items: center; align-content: center; gap: 2px; min-height: 0; padding: 4px; pointer-events: none; }
.g3-model-items img { width: 100%; height: 52px; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(46,40,25,.18)); pointer-events: none; }
.g3-hundred-column .g3-model-items img { height: 54px; }
.g3-one-column .g3-model-items img { height: 42px; }
.g3-zero-placeholder { grid-column: 1/-1; display: grid; place-items: center; width: 82%; min-height: 90px; border: 4px dashed #ee8a55; border-radius: 20px; color: #a94c28; background: #fff6df; }
.g3-zero-placeholder strong { display: grid; place-items: center; min-height: 50px; padding: 0; font-size: 2.65rem; line-height: 1; }
.g3-zero-placeholder small { padding: 0 8px 8px; font-weight: 900; }
.g3-counter-controls { display: grid; grid-template-columns: 44px 1fr 44px; gap: 5px; padding: 6px; background: #e6f5f1; }
.g3-counter-controls button { min-height: 40px; border: 0; border-radius: 10px; color: #fff; background: var(--g3-teal); font-size: 1.4rem; font-weight: 950; }
.g3-counter-controls output { display: grid; place-items: center; border-radius: 10px; background: #fff; font-weight: 950; }
.g3-expanded-number,.g3-word-parts { display: flex; align-items: center; justify-content: center; gap: 7px; }
.g3-expanded-number span,.g3-expanded-number strong,.g3-word-parts span { min-width: 65px; padding: 8px 12px; border-radius: 13px; color: var(--g3-deep); background: #fff; font-size: 1.35rem; font-weight: 950; box-shadow: 0 6px 14px rgba(7,65,62,.08); }
.g3-expanded-number b,.g3-word-parts b { color: var(--g3-coral); }
.g3-expanded-number strong { color: #fff; background: var(--g3-teal); }
.g3-method-glow { box-shadow: 0 0 0 7px rgba(241,184,71,.34), 0 16px 30px rgba(7,70,67,.15) !important; }
.g3-method-source-hidden { display: none !important; }
.g3-support-method { width: min(100%, 760px); animation: g3-support-reveal .48s cubic-bezier(.2,.8,.25,1); }
@keyframes g3-support-reveal { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.g3-abacus-method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 185px; padding: 8px; border: 4px solid #7bbfb5; border-radius: 25px; background: linear-gradient(145deg,#fffaf0,#e0f5f1); box-shadow: inset 0 0 0 5px rgba(255,255,255,.72); }
.g3-abacus-method section { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 5px; min-width: 0; padding: 8px; border-radius: 17px; background: rgba(255,255,255,.85); transition: .28s; }
.g3-abacus-method section b { color: var(--g3-deep); font-size: .72rem; letter-spacing: .08em; text-align: center; }
.g3-abacus-method section strong { display: grid; place-items: center; width: 32px; height: 32px; margin: auto; border-radius: 50%; color: #fff; background: var(--g3-teal); font-size: 1.05rem; }
.g3-abacus-rod { position: relative; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 2px; min-height: 105px; }
.g3-abacus-rod::before { content: ""; position: absolute; inset: 5px auto; width: 5px; border-radius: 999px; background: #94714c; box-shadow: 0 0 0 2px rgba(87,58,29,.16); }
.g3-abacus-rod i { position: relative; z-index: 1; display: block; width: 48px; height: 13px; border: 2px solid #abcac5; border-radius: 999px; background: #e8f2f0; }
.g3-abacus-rod i.is-active { border-color: #df864c; background: linear-gradient(#ffc969,#ef9050); box-shadow: 0 3px 5px rgba(118,65,28,.22); }
.g3-place-card-method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border: 4px solid #7bbfb5; border-radius: 25px; background: linear-gradient(145deg,#fffaf0,#e0f5f1); }
.g3-support-expanded { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 7px; }
.g3-support-expanded span { min-width: 62px; padding: 6px 10px; border-radius: 12px; color: var(--g3-deep); background: #fff; font-weight: 950; text-align: center; box-shadow: 0 5px 12px rgba(7,65,62,.08); }
.g3-support-expanded b { color: var(--g3-coral); }
.g3-place-card-method section { display: grid; place-items: center; gap: 6px; min-height: 88px; border: 3px solid #abd9d3; border-radius: 18px; background: #fff; }
.g3-place-card-method section b { font-size: .7rem; letter-spacing: .08em; }
.g3-place-card-method section strong { color: var(--g3-teal); font-size: 2.4rem; }
.g3-place-card-method p { grid-column: 1/-1; margin: 0; color: var(--g3-deep); font-weight: 950; text-align: center; }
.g3-alternate-method .g3-transfer .g3-audience-visual,
.g3-alternate-method .g3-transfer > h1,
.g3-alternate-method .g3-transfer > p { display: none; }
.g3-builder-target { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 14px; background: #fff4d8; }
.g3-builder-target span,.g3-builder-target small { font-size: .7rem; font-weight: 900; }
.g3-builder-target strong { color: var(--g3-teal); font-size: 1.4rem; }

.g3-audience-visual { position: relative; display: flex; align-items: end; justify-content: center; gap: 7px; width: min(100%, 620px); min-height: 118px; padding: 12px; overflow: hidden; border-radius: 24px; background: linear-gradient(#d9f3ef, #fff3d5); }
.g3-audience-visual > span { position: absolute; top: 12px; font-size: 3rem; }
.g3-audience-visual i { display: grid; place-items: center; width: 42px; height: 62px; border-radius: 50% 50% 18px 18px; color: #fff; background: hsl(calc(var(--person) * 38 + 6) 67% 57%); font-style: normal; transform: translateY(calc((var(--person) % 2) * 9px)); }

.g3-finish .g3-room-scene::after { background: linear-gradient(90deg, rgba(3,42,47,.84), rgba(3,42,47,.28)); }
.g3-finish-card { width: min(58%, 470px); }
.g3-finish-card h1 { font-size: clamp(1.08rem, 2vw, 1.45rem); }
.g3-finish-card > span { font-size: .72rem; font-weight: 950; letter-spacing: .14em; }
.g3-finish-card > div { display: flex; align-items: center; gap: 5px; margin: 9px 0; flex-wrap: wrap; }
.g3-finish-card > div b,.g3-finish-card > div strong { display: grid; place-items: center; min-width: 50px; min-height: 44px; padding: 4px; border-radius: 13px; color: var(--g3-deep); background: #fff; text-shadow: none; }
.g3-finish-card > div strong { color: #fff; background: var(--g3-coral); }

.lesson-footer.answers-locked [data-g3-digit],
.lesson-footer.answers-locked [data-g3-answer-571],
.lesson-footer.answers-locked [data-g3-answer-725] { pointer-events: none; opacity: .55; filter: grayscale(.3); }

@media (max-width: 920px) {
  .g3-room-models { width: 60%; }
  .g3-hero-copy { width: 46%; padding: 14px; }
  .g3-nine-tens { left: 2%; }
  .g3-ten-ones { right: 1%; }
}

@media (max-width: 760px) {
  .grade3-numbers1000-board .board-square { overflow: hidden; }
  .g3-hero,.g3-finish { min-height: 390px; padding: 8px; }
  .g3-hero-copy,.g3-finish-card { width: 74%; padding: 12px; }
  .g3-hero-copy h1,.g3-finish-card h1 { font-size: 1.25rem; }
  .g3-hero-copy p,.g3-finish-card p { font-size: .7rem; }
  .g3-room-models { right: 2%; bottom: 4%; width: 68%; gap: 2px; }
  .g3-room-models figure { padding: 2px; }
  .g3-room-models img { height: 55px; }
  .g3-room-models figure:first-child img { height: 44px; }
  .g3-room-models figcaption { font-size: .55rem; }
  .g3-digit-result span { width: 70px; height: 82px; border-radius: 20px; font-size: 3rem; }
  .g3-digit-choices { grid-template-columns: repeat(5, 1fr); }
  .g3-digit-choices button { min-height: 42px; font-size: 1.1rem; }
  .g3-bridge-board { min-height: 390px; }
  .g3-bridge-equation { top: 12px; right: 8px; transform: scale(.75); transform-origin: right top; }
  .g3-bridge-board > .board-kicker { left: 10px; top: 10px; max-width: 44%; font-size: .52rem; }
  .g3-nine-tens { left: 1%; bottom: 21%; grid-template-columns: repeat(5, 42px); width: 210px; }
  .g3-ten-ones { right: 0; bottom: 21%; grid-template-columns: repeat(5, 35px); width: 175px; }
  .g3-nine-tens img { width: 52px; height: 52px; }
  .g3-ten-ones img { width: 42px; height: 42px; }
  .g3-created-ten { right: 8%; width: 95px; height: 95px; }
  .g3-created-hundred { left: 25%; width: 210px; height: 165px; }
  .g3-bridge-caption { min-width: 180px; font-size: .7rem; }
  .g3-model-gallery { padding: 7px; }
  .g3-model-gallery > div { gap: 4px; }
  .g3-model-gallery button { min-height: 170px; padding: 5px; border-radius: 17px; }
  .g3-model-gallery button img { height: 105px; }
  .g3-model-gallery button:first-child img { height: 82px; }
  .g3-teacher-model,.g3-student-choice,.g3-builder { gap: 3px; padding: 4px 6px; }
  .g3-teacher-model > .board-kicker,.g3-builder > .board-kicker { font-size: .5rem; }
  .g3-teacher-model > p { font-size: .58rem; line-height: 1.1; }
  .g3-builder h1,.g3-student-choice h1 { font-size: 1rem; }
  .g3-place-model { gap: 4px; min-height: 168px; }
  .g3-abacus-method { gap: 4px; min-height: 168px; padding: 5px; border-width: 2px; }
  .g3-abacus-method section { gap: 2px; padding: 4px; }
  .g3-abacus-rod { min-height: 90px; }
  .g3-abacus-rod i { width: 34px; height: 8px; }
  .g3-abacus-method section strong { width: 24px; height: 24px; font-size: .8rem; }
  .g3-place-card-method { gap: 4px; padding: 8px; border-width: 2px; }
  .g3-support-expanded { gap: 3px; }
  .g3-support-expanded span { min-width: 45px; padding: 3px 5px; font-size: .78rem; }
  .g3-place-card-method section { min-height: 78px; }
  .g3-place-card-method section strong { font-size: 1.7rem; }
  .g3-place-column { border-width: 2px; border-radius: 15px; }
  .g3-place-column header { padding: 4px 5px; }
  .g3-place-column header b { font-size: .55rem; }
  .g3-place-column header span { width: 24px; height: 24px; font-size: .8rem; }
  .g3-model-items { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 2px; }
  .g3-model-items img,.g3-hundred-column .g3-model-items img { height: 37px; }
  .g3-one-column .g3-model-items img { height: 29px; }
  .g3-zero-placeholder { min-height: 64px; }
  .g3-zero-placeholder strong { min-height: 42px; font-size: 2.05rem; }
  .g3-zero-placeholder small { font-size: .55rem; }
  .g3-counter-controls { grid-template-columns: 32px 1fr 32px; gap: 2px; padding: 3px; }
  .g3-counter-controls button { min-height: 32px; font-size: 1rem; }
  .g3-expanded-number span,.g3-expanded-number strong,.g3-word-parts span { min-width: 45px; padding: 4px 7px; font-size: .88rem; }
  .g3-builder-target { padding: 3px 7px; }
  .g3-audience-visual { min-height: 105px; padding: 10px; }
  .g3-audience-visual i { width: 28px; height: 43px; }
  .g3-audience-visual > span { font-size: 2rem; }
  .g3-transfer { gap: 3px; padding: 4px 6px; }
  .g3-transfer h1 { font-size: .92rem; line-height: 1.08; }
  .g3-transfer > p { font-size: .62rem; }
  .g3-transfer .g3-audience-visual { min-height: 92px; }
  .g3-finish-card > div { gap: 3px; }
  .g3-finish-card > div b,.g3-finish-card > div strong { min-width: 38px; min-height: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  .grade3-numbers1000-board *,
  .grade3-numbers1000-board *::before,
  .grade3-numbers1000-board *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Grade 3 · Theme 2 · Unit fractions */
.grade3-unit-fraction-board .board-square {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 18px);
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 32px);
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(150deg, #f2fffd 0%, #e6f7f5 56%, #f9fbef 100%);
}

.grade3-unit-fraction-board .board-kicker {
  z-index: 5;
  align-self: flex-start;
  color: #087d73;
  font-size: clamp(.68rem, 1vw, .88rem);
  font-weight: 900;
  letter-spacing: .08em;
}

.g3uf-camp-scene {
  position: relative;
  width: min(100%, 690px);
  aspect-ratio: 16 / 9;
  flex: 0 1 auto;
  overflow: hidden;
  border: 3px solid rgba(22, 151, 140, .3);
  border-radius: 24px;
  background: #dff5f1;
  box-shadow: 0 20px 42px rgba(18, 84, 77, .16);
}

.g3uf-camp-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.g3uf-camp-served-bg {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.g3uf-camp-scene.mode-served .g3uf-camp-served-bg,
.g3uf-camp-scene.all-served .g3uf-camp-served-bg { opacity: 1; }
.g3uf-camp-scene.mode-served .g3uf-bar-stage,
.g3uf-camp-scene.all-served .g3uf-bar-stage { opacity: 0; transition: opacity .3s ease; }

.g3uf-bar-stage {
  position: absolute;
  left: 29.8%;
  top: 60.5%;
  width: 40.4%;
  height: 22%;
  z-index: 3;
}

.g3uf-bar-whole {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .35s ease, filter .35s ease;
  filter: drop-shadow(0 8px 8px rgba(46, 48, 32, .22));
}

.g3uf-bar-piece {
  position: absolute;
  top: 0;
  z-index: 4;
  width: 33.333%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  opacity: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: left .8s cubic-bezier(.2,.8,.2,1), top .8s cubic-bezier(.2,.8,.2,1), width .8s ease, height .8s ease, transform .8s ease, opacity .3s ease, filter .3s ease;
}

.g3uf-bar-piece > img {
  position: absolute;
  top: 0;
  width: 300%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.g3uf-bar-piece:hover,
.g3uf-bar-piece:focus-visible {
  filter: drop-shadow(0 0 12px #ffc447) brightness(1.08);
  outline: 4px solid rgba(255, 172, 27, .7);
  outline-offset: 2px;
}

.g3uf-bar-piece.guide-glow {
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #f3a51b);
  transform: translateY(-4px) scale(1.035);
}
.g3uf-sixth-piece.guide-glow { filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #f3a51b); transform: translateY(-5px) scale(1.04); }

.g3uf-bar-piece.p1 { left: 0; }
.g3uf-bar-piece.p2 { left: 33.333%; }
.g3uf-bar-piece.p3 { left: 66.666%; }
.g3uf-bar-piece.p1 > img { left: 0; }
.g3uf-bar-piece.p2 > img { left: -100%; }
.g3uf-bar-piece.p3 > img { left: -200%; }

.g3uf-third-line {
  position: absolute;
  top: 23%;
  bottom: 27%;
  z-index: 6;
  width: 3px;
  border-radius: 3px;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 0 2px #0b8c80, 0 0 14px #ffb638;
  transition: opacity .3s ease;
}

.g3uf-third-line.one { left: 33.333%; }
.g3uf-third-line.two { left: 66.666%; }

.g3uf-camp-scene.mode-focus-plates .g3uf-camp-bg {
  filter: saturate(.9) brightness(.95);
}

.g3uf-camp-scene.mode-focus-plates::after {
  content: '';
  position: absolute;
  left: 21%;
  top: 47%;
  width: 58%;
  height: 19%;
  border: 4px dashed rgba(255, 179, 43, .88);
  border-radius: 42%;
  pointer-events: none;
  animation: g3uf-guide-pulse 1.6s ease-in-out infinite;
}

.g3uf-camp-scene.mode-cut .g3uf-third-line,
.g3uf-camp-scene.cut-complete .g3uf-third-line {
  opacity: 1;
}

.g3uf-camp-scene.mode-pieces .g3uf-bar-whole,
.g3uf-camp-scene.mode-served .g3uf-bar-whole,
.g3uf-camp-scene.cut-complete .g3uf-bar-whole {
  opacity: 0;
}

.g3uf-camp-scene.mode-pieces .g3uf-bar-piece,
.g3uf-camp-scene.mode-served .g3uf-bar-piece,
.g3uf-camp-scene.cut-complete .g3uf-bar-piece {
  opacity: 1;
}

.g3uf-camp-scene.mode-pieces .g3uf-bar-piece.p1,
.g3uf-camp-scene.mode-pieces .g3uf-bar-piece.p2 {
  box-shadow: inset -3px 0 0 #fff, inset -6px 0 0 rgba(9, 128, 117, .55);
}

.g3uf-camp-scene .g3uf-bar-piece.served,
.g3uf-camp-scene.mode-served .g3uf-bar-piece {
  z-index: 9;
  width: 13.1%;
  height: 20%;
  top: -14%;
  filter: drop-shadow(0 5px 5px rgba(46, 48, 32, .22));
}

.g3uf-camp-scene .g3uf-bar-piece.p1.served,
.g3uf-camp-scene.mode-served .g3uf-bar-piece.p1 { left: -7.4%; transform: rotate(-8deg); }
.g3uf-camp-scene .g3uf-bar-piece.p2.served,
.g3uf-camp-scene.mode-served .g3uf-bar-piece.p2 { left: 43.6%; top: -28.2%; width: 12.1%; height: 15.5%; transform: rotate(0deg); }
.g3uf-camp-scene .g3uf-bar-piece.p3.served,
.g3uf-camp-scene.mode-served .g3uf-bar-piece.p3 { left: 94.3%; top: -13.2%; transform: rotate(8deg); }

.g3uf-camp-scene.spot-one .g3uf-bar-piece:not(.p2) { opacity: .72; filter: grayscale(.12) brightness(.96); }
.g3uf-camp-scene.spot-one .g3uf-bar-piece.p2 { filter: drop-shadow(0 0 18px #ffb02e) brightness(1.13); transform: scale(1.1); }

.g3uf-camp-label {
  position: absolute;
  right: 3%;
  top: 4%;
  z-index: 8;
  padding: 9px 14px;
  border: 2px solid rgba(7, 134, 122, .32);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  color: #086e67;
  font-size: clamp(.68rem, 1.2vw, .92rem);
  box-shadow: 0 8px 20px rgba(15, 78, 73, .14);
}

.g3uf-story-card,
.g3uf-relation,
.g3uf-equation,
.g3uf-fold-label,
.g3uf-model-prompt,
.g3uf-change-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 5;
  min-height: 58px;
  padding: 11px 18px;
  border: 2px solid rgba(19, 145, 134, .28);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  color: #123d55;
  box-shadow: 0 10px 24px rgba(16, 81, 74, .12);
}

.g3uf-story-card { flex-direction: column; gap: 2px; margin-top: -6px; }
.g3uf-story-card b { color: #0a8479; font-size: 1.05rem; }
.g3uf-story-card span { font-size: .92rem; font-weight: 700; }
.g3uf-relation b { padding: 8px 13px; border-radius: 12px; background: #e7f8f5; color: #087d73; }
.g3uf-relation i { color: #ef6d4d; font-style: normal; font-size: 1.5rem; }

.g3uf-cut { justify-content: flex-start !important; }
.g3uf-cut .g3uf-camp-scene { width: min(100%, 670px); }
.g3uf-cut-track {
  position: absolute;
  left: 29.8%;
  top: 60.5%;
  z-index: 12;
  width: 40.4%;
  height: 22%;
  pointer-events: none;
}

.g3uf-cut-track .target,
.g3uf-cut-track > button {
  position: absolute;
  top: 23%;
  bottom: 27%;
  left: calc(var(--cut-x, .5) * 100%);
  transform: translateX(-50%);
}

.g3uf-cut-track .target {
  width: 0;
  border-left: 3px dashed #fff;
  filter: drop-shadow(0 0 2px #0a7f75) drop-shadow(0 0 7px #ffc247);
}
.g3uf-cut-track .target.one { left: 33.333%; }
.g3uf-cut-track .target.two { left: 66.666%; }

.g3uf-cut-track > button {
  width: 28px;
  min-width: 28px;
  height: 52%;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(180deg, #ffb339, #ef6a4c);
  box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 7px 18px rgba(125, 65, 30, .25);
  font-weight: 900;
  cursor: grab;
  pointer-events: auto;
}

.g3uf-cut-track > button.snapped { width: 10px; min-width: 10px; color: transparent; background: #0d9789; box-shadow: 0 0 0 3px #fff, 0 0 16px #ffc247; }
.g3uf-cut > p,
.g3uf-distribute > p,
.g3uf-change > p,
.g3uf-assembly > p,
.g3uf-name-match > p {
  z-index: 4;
  margin: 0;
  color: #234b5b;
  font-size: clamp(.8rem, 1.2vw, .98rem);
  font-weight: 800;
  text-align: center;
}

.g3uf-fraction {
  display: inline-grid;
  grid-template-rows: auto 3px auto;
  place-items: center;
  min-width: 46px;
  color: #087d73;
  font-size: 1.25rem;
  line-height: .95;
}
.g3uf-fraction i { width: 100%; height: 3px; border-radius: 2px; background: #ef6d4d; }
.g3uf-equation { flex-wrap: wrap; }
.g3uf-equation strong { padding: 8px 13px; border-radius: 12px; background: #fff1ca; color: #b66800; }
.g3uf-equation > .g3uf-fraction { opacity: 0; transform: translateY(8px); transition: .35s ease; }
.g3uf-equation.show-symbol > .g3uf-fraction { opacity: 1; transform: none; }

.g3uf-fair-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: min(100%, 650px);
}
.g3uf-fair-compare section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 2px solid #addbd5;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  text-align: center;
}
.g3uf-fair-compare section > b { color: #087d73; }
.g3uf-fair-compare section > span { color: #537078; font-weight: 800; }
.g3uf-unequal h2,
.g3uf-detective h2,
.g3uf-independent h2 {
  max-width: 660px;
  margin: 0;
  color: #123d55;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-align: center;
}

.g3uf-strip {
  display: flex;
  width: min(100%, 560px);
  height: clamp(86px, 15vh, 132px);
  overflow: hidden;
  border: 4px solid #0b8177;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 82, 75, .15);
}
.g3uf-strip i {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  border-right: 3px solid #0b8177;
  background: #f7fffd;
  transition: width .55s ease, background .3s ease, filter .3s ease;
}
.g3uf-strip i:last-child { border-right: 0; }
.g3uf-strip i.selected { background: linear-gradient(145deg, #ffc54e, #ff8b55); }
.g3uf-strip i span { color: rgba(10, 94, 87, .45); font-style: normal; font-weight: 900; }
.g3uf-strip.two-selected i:nth-child(1),
.g3uf-strip.two-selected i:nth-child(2) { background: linear-gradient(145deg, #ffc54e, #ff8b55); }
.show-g3uf-guides .g3uf-strip i { box-shadow: inset 0 0 0 4px rgba(255, 190, 55, .75); }

.g3uf-fold { justify-content: center !important; }
.g3uf-paper {
  position: relative;
  display: flex;
  width: min(88%, 580px);
  height: clamp(170px, 28vh, 235px);
  overflow: hidden;
  border: 4px solid #0b8177;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.48), transparent 22%, rgba(255,255,255,.28) 55%, transparent),
    linear-gradient(135deg, #fff1a8, #d8f2dc);
  box-shadow: 0 18px 36px rgba(16, 82, 75, .16);
  perspective: 900px;
}
.g3uf-paper i {
  flex: 1;
  border-right: 3px dashed #42a89d;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.28) 0 8px, rgba(255,255,255,.06) 8px 16px),
    linear-gradient(135deg, #fff1a8, #d8f2dc);
  animation: g3uf-paper-open .7s ease both;
}
.g3uf-paper.fold-1,
.g3uf-paper.fold-2 { animation: g3uf-paper-unfold .62s cubic-bezier(.2,.8,.2,1) both; }
.g3uf-paper.is-folding { transform-origin: left center; pointer-events: none; }
.g3uf-paper.is-folding.folding-half,
.g3uf-paper.is-folding.folding-quarter { animation: g3uf-paper-fold-close .82s cubic-bezier(.45,0,.2,1) both; }
.g3uf-paper i:last-of-type { border-right: 0; }
.g3uf-paper i.selected { background: linear-gradient(135deg, #ffd86f, #ff9a63); }
.g3uf-paper > b {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  color: #0b8177;
  white-space: nowrap;
}

.g3uf-circle-model,
.g3uf-hex-model {
  width: min(52vh, 340px);
  max-width: 82%;
  filter: drop-shadow(0 16px 20px rgba(15, 82, 75, .16));
}
.g3uf-circle-model path,
.g3uf-hex-model polygon {
  fill: #f7fffd;
  stroke: #0b8177;
  stroke-width: 4;
  cursor: pointer;
  transition: fill .25s ease, filter .25s ease, transform .25s ease;
  transform-origin: center;
  outline: none !important;
  vector-effect: non-scaling-stroke;
}
.g3uf-circle-model path:hover,
.g3uf-circle-model path:focus-visible,
.g3uf-hex-model polygon:hover,
.g3uf-hex-model polygon:focus-visible {
  fill: #ffe38a;
  filter: drop-shadow(0 0 7px #ffab2f);
  outline: none;
}
.g3uf-circle-model path.selected,
.g3uf-hex-model polygon.selected { fill: #ff965a; stroke: #0b8177; stroke-width: 6; filter: drop-shadow(0 0 8px #ffb42d); }
.g3uf-model-prompt { margin-top: -8px; }

.g3uf-change .g3uf-strip,
.g3uf-name-match .g3uf-strip,
.g3uf-detective .g3uf-strip,
.g3uf-independent .g3uf-strip { width: min(90%, 620px); }
[data-g3uf-change-model] { display: grid; place-items: center; width: min(100%, 720px); }
[data-g3uf-change-model] .g3uf-strip { width: 100%; }
.g3uf-change-label { min-width: 220px; }
.g3uf-change-label.is-waiting { border-style: dashed; color: #51726e; box-shadow: none; }
.g3uf-strip.is-whole { width: min(96%, 720px); height: clamp(130px, 23vh, 205px); }
.g3uf-strip.is-whole i span { opacity: 0; }
.g3uf-change-choice { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; min-width: 0; }
.g3uf-change-choice > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #e5f7f3; color: #087d73; font-size: 1.15rem; }
.g3uf-change-choice > span { color: #244d59; font-size: .82rem; font-weight: 850; }
.g3uf-change-choice > i { padding: 5px 7px; border-radius: 9px; background: #fff4ce; color: #a65d00; font-style: normal; font-weight: 950; }
.grade3-unit-fraction-footer .answer-cell.visited { border-color: #0d9789; background: #eafaf6; }

.g3uf-assembly-stage {
  position: relative;
  width: min(100%, 660px);
  height: clamp(300px, 48vh, 430px);
}
.g3uf-assembly-target {
  position: absolute;
  left: 50%;
  top: 46%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 72%;
  height: 25%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 4px dashed #0b8177;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
}
.g3uf-assembly-target i { border-right: 2px dashed rgba(11,129,119,.4); }
.g3uf-assembly-target i:last-child { border-right: 0; }
.g3uf-sixth-piece {
  position: absolute;
  bottom: 2%;
  width: 11.7%;
  height: 24%;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 12px;
  background: transparent;
  cursor: grab;
  transition: left .65s cubic-bezier(.2,.8,.2,1), top .65s cubic-bezier(.2,.8,.2,1), bottom .65s cubic-bezier(.2,.8,.2,1), transform .65s ease;
}
.g3uf-sixth-piece span {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid #0b8177;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffcc54, #ff8c58);
  box-shadow: 0 8px 14px rgba(72, 65, 34, .2);
}
.g3uf-sixth-piece.p1 { left: 8%; }
.g3uf-sixth-piece.p2 { left: 23%; }
.g3uf-sixth-piece.p3 { left: 38%; }
.g3uf-sixth-piece.p4 { left: 53%; }
.g3uf-sixth-piece.p5 { left: 68%; }
.g3uf-sixth-piece.p6 { left: 83%; }
.g3uf-sixth-piece.dragging { transform: scale(1.08) translateY(-10px); }
.g3uf-sixth-piece.placed { top: 33.5%; bottom: auto; height: 25%; width: 12%; border: 0; z-index: 4; }
.g3uf-sixth-piece.p1.placed { left: 14%; }
.g3uf-sixth-piece.p2.placed { left: 26%; }
.g3uf-sixth-piece.p3.placed { left: 38%; }
.g3uf-sixth-piece.p4.placed { left: 50%; }
.g3uf-sixth-piece.p5.placed { left: 62%; }
.g3uf-sixth-piece.p6.placed { left: 74%; }
.g3uf-assembly-stage.complete .g3uf-assembly-target { border-style: solid; box-shadow: 0 0 0 7px rgba(255, 187, 50, .25), 0 0 28px #ffbd38; }

.g3uf-name-match h1 {
  margin: 0;
  color: #0b8177;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: .04em;
}
.g3uf-check-rule { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.g3uf-check-rule > span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 13px; border: 2px solid #addbd5; border-radius: 14px; background: #fff; color: #244d59; font-weight: 850; }
.g3uf-check-rule b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0d9789; color: #fff; }

.g3uf-alternative {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, .8fr) 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 3px solid #ffb12f;
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 35px rgba(67, 74, 46, .22);
}
.g3uf-alternative .board-kicker { grid-column: 1 / -1; }
.g3uf-alternative .g3uf-paper { width: 100%; height: 92px; border-width: 2px; border-radius: 12px; }
.g3uf-alternative .g3uf-paper > b { display: none; }
.g3uf-alternative p { margin: 0; color: #234b5b; font-weight: 750; }

.g3uf-finish {
  flex-direction: row !important;
  justify-content: stretch !important;
  padding: 0 !important;
  background: #0d6f68 !important;
}
.g3uf-finish > img { width: 56%; height: 100%; object-fit: cover; }
.g3uf-finish > div { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 28px; color: #fff; }
.g3uf-finish span { color: #ffd563; font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.g3uf-finish h1 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.9rem); line-height: 1.18; }
.g3uf-finish p { margin: 0; color: #d8fffa; font-weight: 800; }

@keyframes g3uf-guide-pulse { 50% { opacity: .42; transform: scale(1.02); } }
@keyframes g3uf-paper-open { from { transform: rotateY(-25deg); opacity: .3; } to { transform: rotateY(0); opacity: 1; } }
@keyframes g3uf-paper-fold-close { 0% { transform: perspective(900px) rotateY(0) scaleX(1); } 55% { transform: perspective(900px) rotateY(-13deg) scaleX(.62); } 100% { transform: perspective(900px) rotateY(-5deg) scaleX(.5); } }
@keyframes g3uf-paper-unfold { from { transform: perspective(900px) rotateY(-6deg) scaleX(.5); opacity: .72; } to { transform: perspective(900px) rotateY(0) scaleX(1); opacity: 1; } }

@media (max-width: 760px) {
  .grade3-unit-fraction-board .board-square { justify-content: flex-start; gap: 8px; padding: 12px; border-radius: 20px; }
  .g3uf-camp-scene { width: 100%; border-width: 2px; border-radius: 18px; }
  .g3uf-story-card,
  .g3uf-relation,
  .g3uf-equation,
  .g3uf-fold-label,
  .g3uf-model-prompt,
  .g3uf-change-label { min-height: 44px; padding: 7px 10px; gap: 7px; font-size: .78rem; }
  .g3uf-fraction { min-width: 34px; font-size: 1rem; }
  .g3uf-cut-track { left: 29.8%; top: 60.5%; width: 40.4%; height: 22%; }
  .g3uf-cut-track > button { width: 22px; min-width: 22px; border-radius: 9px; }
  .g3uf-fair-compare { gap: 8px; }
  .g3uf-fair-compare section { gap: 7px; padding: 9px; border-radius: 14px; }
  .g3uf-strip { height: 78px; border-width: 3px; border-radius: 13px; }
  .g3uf-paper { width: 100%; height: 155px; border-width: 3px; }
  .g3uf-circle-model,
  .g3uf-hex-model { width: min(40vh, 250px); }
  .g3uf-assembly-stage { height: min(48vh, 330px); }
  .g3uf-alternative { inset: auto 8px 8px 8px; grid-template-columns: 1fr; padding: 8px; gap: 6px; }
  .g3uf-alternative .g3uf-paper { height: 54px; }
  .g3uf-alternative p { font-size: .72rem; }
  .g3uf-finish { flex-direction: column !important; }
  .g3uf-finish > img { width: 100%; height: 46%; }
  .g3uf-finish > div { padding: 18px; }
  .g3uf-change-choice { grid-template-columns: auto 1fr; padding: 7px !important; }
  .g3uf-change-choice > i { grid-column: 1 / -1; padding: 3px 5px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .g3uf-camp-scene.mode-focus-plates::after,
  .g3uf-paper i { animation: none !important; }
  .g3uf-bar-piece,
  .g3uf-sixth-piece,
  .g3uf-strip i { transition-duration: .01ms !important; }
}

/* 3. sınıf · sayıları karşılaştırma ve sıralama */
.grade3-compare-board .board-square {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--g3-deep);
  background: linear-gradient(145deg, #f4fffc, #deefeb);
}
.g3co-hero,.g3co-finish { position: relative; isolation: isolate; display: grid; align-items: center; padding: 22px; }
.g3co-center-scene { position: absolute; z-index: 0; inset: 0; overflow: hidden; border-radius: inherit; }
.g3co-center-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(1,39,45,.76),rgba(2,43,49,.12) 58%,transparent); }
.g3co-center-scene > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.g3co-hero-copy,.g3co-finish-card { position: relative; z-index: 4; width: min(47%,420px); padding: 21px; border: 3px solid rgba(255,255,255,.72); border-radius: 25px; color: #fff; background: rgba(4,59,62,.86); box-shadow: 0 16px 35px rgba(4,36,41,.27); backdrop-filter: blur(3px); }
.g3co-hero-copy h1,.g3co-finish-card h1 { margin: 7px 0; font-size: clamp(1.45rem,3vw,2.25rem); line-height: 1.06; }
.g3co-hero-copy p,.g3co-finish-card p { margin: 0; font-weight: 780; line-height: 1.38; }
.g3co-neighbor-board,.g3co-teacher-compare,.g3co-symbol-board,.g3co-question,.g3co-order-board,.g3co-transfer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 18px; text-align: center; }
.g3co-neighbor-slots { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 13px; width: min(100%,620px); }
.g3co-neighbor-slots > span,.g3co-neighbor-slots > b { display: grid; place-items: center; min-height: 96px; border: 4px dashed #98cbc5; border-radius: 22px; background: rgba(255,255,255,.88); color: #6c9190; font-size: 2.5rem; }
.g3co-neighbor-slots > b { min-width: 128px; border-style: solid; border-color: var(--g3-gold); color: var(--g3-deep); }
.g3co-neighbor-slots > span.filled { border-style: solid; border-color: var(--g3-teal); color: var(--g3-teal); transform: translateY(-3px); }
.g3co-neighbor-slots small { font-size: .55rem; font-weight: 950; letter-spacing: .09em; }
.g3co-numberline { position: relative; width: min(94%,760px); height: 92px; margin-top: 12px; }
.g3co-numberline::before { content: ""; position: absolute; top: 42px; left: 1%; right: 1%; height: 7px; border-radius: 8px; background: #8abfb9; }
.g3co-numberline::after { content: ""; position: absolute; top: 35px; right: 0; border: 10px solid transparent; border-left-color: #5e9f99; }
.g3co-numberline > i { position: absolute; z-index: 2; top: 33px; left: var(--tick-position); width: 3px; height: 25px; background: #397b77; }
.g3co-numberline > i small { position: absolute; top: 29px; left: 50%; transform: translateX(-50%); font-size: .65rem; font-style: normal; font-weight: 850; white-space: nowrap; }
.g3co-numberline > span { position: absolute; z-index: 4; top: 0; left: var(--card); transform: translateX(-50%); padding: 6px 10px; border: 3px solid var(--g3-coral); border-radius: 11px; color: var(--g3-deep); background: #fff5dd; font-size: 1rem; font-weight: 950; box-shadow: 0 5px 12px rgba(3,55,56,.22); }
.g3co-range-fill { position: absolute; z-index: 1; top: 36px; left: var(--from); width: calc(var(--to) - var(--from)); height: 19px; border-radius: 9px; background: rgba(241,184,71,.75); }
.g3co-neighbor-board.focus-line .g3co-numberline,
.g3co-neighbor-board.show-right-direction .g3co-numberline,
.g3co-numberline.focus-left-bound,
.g3co-numberline.focus-right-bound,
.g3co-numberline.focus-range { filter: drop-shadow(0 0 14px rgba(241,184,71,.45)); }
.g3co-neighbor-board.focus-left-slot .g3co-neighbor-slots > span:first-child,
.g3co-neighbor-board.focus-right-slot .g3co-neighbor-slots > span:last-child { border-color: var(--g3-gold); background: #fff6d8; box-shadow: 0 0 0 7px rgba(241,184,71,.25); transform: translateY(-4px); }
.g3co-neighbor-board.show-right-direction .g3co-numberline::after,
.g3co-numberline.focus-right-bound::after { border-left-color: var(--g3-coral); filter: drop-shadow(0 0 9px rgba(232,114,74,.55)); }
.g3co-numberline.focus-left-bound > i:first-of-type,
.g3co-numberline.focus-right-bound > i:last-of-type { width: 6px; background: var(--g3-coral); box-shadow: 0 0 0 7px rgba(232,114,74,.22); }
.g3co-numberline.focus-range .g3co-range-fill { background: rgba(232,114,74,.78); box-shadow: 0 0 0 7px rgba(232,114,74,.18); }
.g3co-numberline [data-g3co-line-card].is-target-candidate,
.g3co-order-source button.is-spoken,
.g3co-order-source button.is-target-candidate,
.g3co-order-source button.is-tens-candidate { border-color: var(--g3-gold); background: #fff6d8; box-shadow: 0 0 0 7px rgba(241,184,71,.24); transform: translate(-50%,-4px); }
.g3co-order-source button.is-spoken,
.g3co-order-source button.is-target-candidate,
.g3co-order-source button.is-tens-candidate { transform: translateY(-4px); }
.g3co-compare-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: min(100%,710px); min-height: 230px; padding: 42px 16px 26px; border: 3px solid #abd8d2; border-radius: 26px; background: rgba(255,255,255,.76); overflow: hidden; }
.g3co-number-card { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 10px; border-radius: 19px; background: #fff; box-shadow: 0 10px 24px rgba(8,62,65,.12); }
.g3co-number-card > span { display: grid; place-items: center; min-width: 64px; min-height: 96px; border: 3px solid #b5dad6; border-radius: 15px; color: var(--g3-deep); font-size: 2.65rem; font-weight: 950; transition: .3s; }
.g3co-number-card > span small { font-size: .48rem; letter-spacing: .05em; }
.g3co-relation { display: grid; place-items: center; width: 62px; height: 70px; border-radius: 18px; color: #fff; background: var(--g3-teal); font-size: 2.65rem; font-weight: 950; }
.g3co-place-scanner { position: absolute; top: 8px; left: 17px; right: 17px; display: flex; align-items: center; gap: 8px; padding: 5px 9px; border-radius: 12px; color: #416f70; background: #e5f6f2; font-size: .68rem; font-weight: 950; text-align: left; }
.g3co-place-scanner i { width: 12px; height: 12px; border-radius: 50%; background: var(--g3-gold); box-shadow: 0 0 0 5px rgba(241,184,71,.25); }
.g3co-compare-stage.scan-hundreds [data-place="hundreds"],.g3co-compare-stage.scan-tens [data-place="tens"],.g3co-compare-stage.scan-ones [data-place="ones"] { border-color: var(--g3-gold); background: #fff6d8; box-shadow: 0 0 0 6px rgba(241,184,71,.26); transform: translateY(-4px); }
.g3co-compare-stage.pulse-left-card .g3co-number-card.left,
.g3co-compare-stage.pulse-right-card .g3co-number-card.right,
.g3co-compare-stage.awaiting-relation .g3co-relation { outline: 5px solid rgba(241,184,71,.42); outline-offset: 4px; }
.g3co-question .g3co-compare-stage.g3-method-glow { min-height: 166px; padding-top: 34px; padding-bottom: 14px; }
.g3co-question .g3co-compare-stage.g3-method-glow .g3co-number-card > span { min-height: 62px; font-size: 1.75rem; }
.g3co-question .g3co-compare-stage.g3-method-glow + .g3co-alternate-method { margin-top: -6px; }
.g3co-compare-stage.decision-found [data-place]:not([style]) { transition: .3s; }
.g3co-teacher-compare > p { margin: 0; padding: 7px 14px; border-radius: 999px; background: #fff3ca; font-weight: 850; }
.g3co-symbol-demo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; width: min(100%,560px); }
.g3co-symbol-demo span { display: grid; place-items: center; width: 130px; height: 130px; border: 4px solid currentColor; border-radius: 28px; color: var(--g3-deep); font-size: 4rem; font-weight: 950; box-shadow: 0 13px 26px rgba(4,55,60,.15); }
.g3co-symbol-demo .big { justify-self: end; background: #d7f3ed; }
.g3co-symbol-demo .small { justify-self: start; background: #ffe3d7; }
.g3co-symbol-demo b { color: var(--g3-gold); font-size: 6rem; line-height: 1; text-shadow: 0 5px 0 #fff; }
.g3co-symbol-anatomy { display: flex; gap: 10px; }
.g3co-symbol-anatomy i { padding: 8px 12px; border: 2px solid #a7d3cd; border-radius: 999px; background: #fff; font-style: normal; font-size: .72rem; font-weight: 950; }
.g3co-question h1 { margin: -7px 0 0; font-size: 1.7rem; }
.g3co-alternate-method { width: min(100%,710px); padding: 7px; border: 3px solid var(--g3-gold); border-radius: 20px; background: #fff8dd; }
.g3co-alternate-method .g3co-compare-stage { min-height: 164px; padding-top: 34px; }
.g3co-alternate-method .g3co-number-card > span { min-width: 45px; min-height: 60px; font-size: 1.55rem; }
.g3co-alternate-method p { margin: 4px; font-weight: 900; }
.g3co-order-source { display: grid; grid-template-columns: repeat(var(--source-count), minmax(0,118px)); align-items: stretch; justify-content: center; gap: 10px; min-height: 105px; width: 100%; }
.g3co-order-source button { min-width: 118px; padding: 14px; border: 3px solid #a6d4ce; border-radius: 18px; color: var(--g3-deep); background: #fff; font: inherit; font-size: 1.8rem; font-weight: 950; cursor: pointer; transition: .25s; }
.g3co-order-source button:hover,.g3co-order-source button:focus-visible { border-color: var(--g3-gold); background: #fff6d9; transform: translateY(-3px); box-shadow: 0 0 0 5px rgba(241,184,71,.22); }
.g3co-order-source button small { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.g3co-order-source button small i { width: 20px; padding: 2px 0; border-radius: 5px; color: #fff; background: #5da59e; font-size: .55rem; font-style: normal; }
.g3co-order-board.scan-hundreds .g3co-order-source button small i:first-child,
.g3co-order-board.scan-tens .g3co-order-source button small i:nth-child(2) { background: var(--g3-gold); color: var(--g3-deep); box-shadow: 0 0 0 4px rgba(241,184,71,.22); }
.g3co-order-lanes { display: grid; grid-template-columns: repeat(var(--lane-count),minmax(0,1fr)); gap: 9px; width: min(100%,710px); }
.g3co-order-lanes span { display: grid; place-items: center; min-height: 84px; border: 3px dashed #9dcbc6; border-radius: 17px; color: #73908e; background: rgba(255,255,255,.7); }
.g3co-order-lanes span.filled { border-style: solid; border-color: var(--g3-gold); color: var(--g3-deep); background: #fff7dc; }
.g3co-order-lanes small { font-size: .54rem; font-weight: 950; }
.g3co-order-lanes b { font-size: 1.55rem; }
.g3co-order-board > p { margin: 0; font-weight: 850; }
.g3co-transfer h1 { margin: 0; padding: 9px 18px; border: 3px solid var(--g3-teal); border-radius: 15px; color: var(--g3-deep); background: #fff; font-size: 1.8rem; box-shadow: 0 7px 16px rgba(7,63,76,.12); }
.g3co-transfer h1 b { color: var(--g3-deep); }
.g3co-transfer h1 strong { color: #b64f2e; font-size: 2rem; }
.g3co-transfer .g3co-numberline > span { min-width: 44px; font-size: 1.05rem; }
.g3co-transfer > p { margin: 0; font-weight: 850; }
.g3co-range-support { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.g3co-range-support span { padding: 7px; border-radius: 10px; color: #fff; background: var(--g3-teal); font-weight: 950; }
.g3co-range-support i { padding: 8px; border-radius: 12px; background: #ffe8a7; font-style: normal; font-size: .7rem; font-weight: 950; }
.g3co-finish-card > span { font-size: .7rem; font-weight: 950; letter-spacing: .12em; }
.g3co-finish-card > div { display: flex; align-items: center; gap: 7px; margin: 13px 0; }
.g3co-finish-card > div b,.g3co-finish-card > div strong { padding: 7px 10px; border-radius: 12px; color: var(--g3-deep); background: #fff; }
.g3co-finish-card > div i { color: #ffe17d; font-style: normal; font-weight: 950; }
.lesson-footer.answers-locked [data-g3co-neighbor],.lesson-footer.answers-locked [data-g3co-answer634],.lesson-footer.answers-locked [data-g3co-transfer] { pointer-events: none; opacity: .58; }
.theme4-final-choices [data-g3co-answer634] b { font-size: 1.8rem; line-height: 1; }
.theme4-final-choices [data-g3co-answer634]:hover,.theme4-final-choices [data-g3co-answer634]:focus-visible { border-color: var(--g3-gold); background: #fff6d9; box-shadow: 0 0 0 5px rgba(241,184,71,.22); }

@media (max-width: 1400px) and (min-width: 761px) {
  .g3co-hero,.g3co-finish { padding: 10px; }
  .g3co-hero-copy,.g3co-finish-card { width: 62%; padding: 12px; border-radius: 18px; }
  .g3co-hero-copy h1,.g3co-finish-card h1 { margin: 4px 0; font-size: 1.2rem; }
  .g3co-hero-copy p,.g3co-finish-card p { font-size: .68rem; }
  .g3co-neighbor-board,.g3co-teacher-compare,.g3co-symbol-board,.g3co-question,.g3co-order-board,.g3co-transfer { gap: 7px; padding: 7px; }
  .g3co-neighbor-slots > span,.g3co-neighbor-slots > b { min-height: 64px; border-width: 2px; font-size: 1.6rem; }
  .g3co-numberline { height: 70px; margin-top: 0; }
  .g3co-numberline::before { top: 30px; }
  .g3co-numberline::after { top: 23px; }
  .g3co-numberline > i { top: 22px; }
  .g3co-numberline > i small { top: 27px; font-size: .52rem; }
  .g3co-range-fill { top: 24px; }
  .g3co-numberline > span { top: -5px; font-size: .65rem; }
  .g3co-compare-stage { gap: 7px; min-height: 184px; padding: 33px 7px 10px; }
  .g3co-question .g3co-compare-stage.g3-method-glow { min-height: 118px; padding-top: 25px; padding-bottom: 6px; }
  .g3co-question .g3co-compare-stage.g3-method-glow .g3co-number-card > span { min-height: 43px; font-size: 1.06rem; }
  .g3co-question .g3co-compare-stage.g3-method-glow .g3co-relation { width: 34px; height: 38px; font-size: 1.35rem; }
  .g3co-alternate-method .g3co-compare-stage { min-height: 138px; padding-top: 29px; }
  .g3co-number-card { gap: 3px; padding: 5px; }
  .g3co-number-card > span { min-width: 43px; min-height: 70px; border-width: 2px; font-size: 1.7rem; }
  .g3co-relation { width: 43px; height: 51px; font-size: 1.8rem; }
  .g3co-teacher-compare > p { padding: 4px 8px; font-size: .63rem; }
  .g3co-symbol-demo span { width: 80px; height: 80px; border-radius: 19px; font-size: 2.5rem; }
  .g3co-symbol-demo b { font-size: 4rem; }
  .g3co-order-source { min-height: 72px; gap: 5px; }
  .g3co-order-source button { min-width: 85px; padding: 7px; font-size: 1.25rem; }
  .g3co-order-lanes { gap: 4px; }
  .g3co-order-lanes span { min-height: 59px; border-width: 2px; }
  .g3co-transfer h1 { font-size: 1.55rem; }
  .g3co-transfer .g3co-numberline > span { font-size: .88rem; }
}

@media (max-width: 760px) {
  .grade3-compare-board .board-square { min-height: 390px; overflow: hidden; }
  .g3co-hero,.g3co-finish { padding: 8px; }
  .g3co-hero-copy,.g3co-finish-card { width: 72%; padding: 11px; }
  .g3co-hero-copy h1,.g3co-finish-card h1 { font-size: 1.15rem; }
  .g3co-hero-copy p,.g3co-finish-card p { font-size: .65rem; }
  .g3co-neighbor-board,.g3co-teacher-compare,.g3co-symbol-board,.g3co-question,.g3co-order-board,.g3co-transfer { gap: 7px; padding: 6px; }
  .g3co-neighbor-slots { gap: 5px; }
  .g3co-neighbor-slots > span,.g3co-neighbor-slots > b { min-width: 0; min-height: 67px; border-width: 2px; border-radius: 14px; font-size: 1.45rem; }
  .g3co-neighbor-slots > b { min-width: 82px; }
  .g3co-numberline { width: 92%; height: 75px; margin-top: 0; }
  .g3co-numberline::before { top: 31px; }
  .g3co-numberline::after { top: 24px; }
  .g3co-numberline > i { top: 23px; }
  .g3co-numberline > i small { top: 27px; font-size: .48rem; }
  .g3co-range-fill { top: 25px; }
  .g3co-numberline > span { top: -4px; padding: 3px 5px; font-size: .58rem; }
  .g3co-compare-stage { gap: 4px; min-height: 194px; padding: 37px 5px 10px; border-width: 2px; }
  .g3co-question .g3co-compare-stage.g3-method-glow { min-height: 126px; padding-top: 26px; padding-bottom: 6px; }
  .g3co-question .g3co-compare-stage.g3-method-glow .g3co-number-card > span { min-width: 28px; min-height: 42px; font-size: 1rem; }
  .g3co-question .g3co-compare-stage.g3-method-glow .g3co-relation { width: 32px; height: 38px; font-size: 1.28rem; }
  .g3co-alternate-method { padding: 5px; }
  .g3co-alternate-method .g3co-compare-stage { min-height: 144px; padding-top: 28px; }
  .g3co-alternate-method .g3co-number-card > span { min-width: 29px; min-height: 48px; font-size: 1.08rem; }
  .g3co-number-card { gap: 2px; padding: 4px; border-radius: 13px; }
  .g3co-number-card > span { min-width: 35px; min-height: 68px; border-width: 2px; border-radius: 10px; font-size: 1.42rem; }
  .g3co-number-card > span small { font-size: .34rem; }
  .g3co-relation { width: 37px; height: 48px; font-size: 1.55rem; }
  .g3co-place-scanner { font-size: .56rem; }
  .g3co-teacher-compare > p { padding: 3px 6px; font-size: .58rem; }
  .g3co-symbol-demo { gap: 12px; }
  .g3co-symbol-demo span { width: 84px; height: 84px; border-radius: 18px; font-size: 2.5rem; }
  .g3co-symbol-demo b { font-size: 4.1rem; }
  .g3co-symbol-anatomy { gap: 4px; }
  .g3co-symbol-anatomy i { padding: 5px 7px; font-size: .58rem; }
  .g3co-question h1 { font-size: 1.25rem; }
  .g3co-order-source { min-height: 82px; gap: 5px; }
  .g3co-order-source button { min-width: 76px; padding: 7px; font-size: 1.2rem; }
  .g3co-order-source button small { margin-top: 3px; }
  .g3co-order-source button small i { width: 16px; font-size: .46rem; }
  .g3co-order-lanes { gap: 4px; }
  .g3co-order-lanes span { min-height: 63px; border-width: 2px; }
  .g3co-order-lanes b { font-size: 1.08rem; }
  .g3co-transfer h1 { font-size: 1.3rem; }
  .g3co-transfer .g3co-numberline > span { min-width: 36px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .grade3-compare-board *,
  .grade3-compare-board *::before,
  .grade3-compare-board *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 3. sınıf · en yakın onluk ve yüzlüğe yuvarlama */
.grade3-rounding-board {
  --g3-teal:#087f76;
  --g3-deep:#073f4c;
  --g3-coral:#ee7652;
  --g3-gold:#f1b847;
  height:auto;
}
.grade3-rounding-board .board-square { box-sizing:border-box; width:100%; height:auto; min-height:0; aspect-ratio:4/3; overflow:hidden; color:var(--g3-deep); background:linear-gradient(145deg,#f4fffc,#deefeb); }
.g3r-hero,.g3r-finish { position:relative; display:grid; align-items:center; isolation:isolate; padding:22px; }
.g3r-hero>img,.g3r-finish>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3r-hero::after,.g3r-finish::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(2,45,49,.78),rgba(2,45,49,.08) 62%,transparent); }
.g3r-hero>div,.g3r-finish>div { position:relative; z-index:2; width:min(48%,430px); padding:20px; border:3px solid rgba(255,255,255,.75); border-radius:24px; color:#fff; background:rgba(3,61,62,.86); box-shadow:0 15px 32px rgba(2,35,38,.25); }
.g3r-hero h1,.g3r-finish h1 { margin:0 0 7px; font-size:clamp(1.4rem,3vw,2.2rem); line-height:1.07; }
.g3r-hero p,.g3r-finish p { margin:0; font-weight:800; line-height:1.38; }
.g3r-teacher,.g3r-question,.g3r-mixed { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:10px; text-align:center; }
.g3r-route-stage { --drag-x:0px; position:relative; width:100%; height:286px; overflow:hidden; border:3px solid #a9d6d1; border-radius:24px; background:#dff4ef; touch-action:none; }
.g3r-route-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3r-route-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(7,56,57,.05)); }
.g3r-station { position:absolute; z-index:7; top:19%; display:grid; place-items:center; min-width:96px; min-height:52px; padding:6px 10px; border:3px solid #fff; border-radius:15px; color:#fff; background:var(--g3-teal); font:inherit; cursor:pointer; box-shadow:0 8px 18px rgba(0,35,39,.22); }
.g3r-station.left { left:3%; } .g3r-station.right { right:3%; }
.g3r-station b { font-size:1.35rem; } .g3r-station small { font-size:.47rem; font-weight:950; }
.g3r-numberline { position:absolute; z-index:3; left:12%; right:12%; top:64%; height:48px; }
.g3r-numberline>i { position:absolute; left:0; right:0; top:12px; height:6px; border-radius:8px; background:#fff; box-shadow:0 2px 0 #559c96; }
.g3r-numberline>span { position:absolute; left:calc(var(--step)*10%); top:5px; transform:translateX(-50%); color:#174f51; font-size:.52rem; font-weight:950; }
.g3r-numberline>span::before { content:""; display:block; width:3px; height:18px; margin:0 auto 12px; background:#3e8580; }
.g3r-midpoint { position:absolute; z-index:5; left:50%; top:49%; transform:translateX(-50%); opacity:0; transition:.35s; }
.g3r-midpoint i { display:block; width:3px; height:65px; margin:auto; background:var(--g3-gold); }
.g3r-midpoint span { padding:3px 7px; border-radius:9px; color:#694913; background:#ffe9a9; font-size:.65rem; font-weight:950; }
.g3r-distance { position:absolute; z-index:5; top:79%; display:flex; align-items:center; gap:4px; opacity:0; transition:.35s; }
.g3r-distance.left { left:17%; } .g3r-distance.right { right:17%; }
.g3r-distance i { width:58px; height:5px; border-radius:8px; background:var(--g3-gold); }
.g3r-distance span { padding:3px 6px; border-radius:9px; background:#fff; font-size:.58rem; font-weight:950; }
.g3r-draggable { position:absolute; z-index:8; left:calc(12% + var(--position)*76%); top:41%; transform:translate(-50%,-50%) translateX(var(--drag-x)); display:grid; place-items:center; width:126px; transition:left .8s cubic-bezier(.2,.8,.25,1),transform .25s; }
.g3r-draggable img { width:100%; max-height:100px; object-fit:contain; filter:drop-shadow(0 7px 5px rgba(5,36,37,.28)); pointer-events:none; }
.g3r-draggable b { position:absolute; top:-5px; padding:4px 8px; border:3px solid #fff; border-radius:11px; color:#fff; background:var(--g3-coral); font-size:1rem; }
.g3r-draggable.card { width:78px; height:74px; border:4px solid #fff; border-radius:18px; color:#fff; background:var(--g3-coral); box-shadow:0 9px 20px rgba(2,42,45,.2); }
.g3r-draggable.card b { position:static; border:0; background:transparent; font-size:1.5rem; }
.g3r-draggable.is-draggable { cursor:grab; } .g3r-draggable.dragging { cursor:grabbing; transition:none; scale:1.06; }
.g3r-route-stage.show-left-bound .g3r-station.left,.g3r-route-stage.show-right-bound .g3r-station.right,.g3r-route-stage.bounds .g3r-station,.g3r-station.is-spoken,.g3r-draggable.is-spoken,.g3r-focus-label.is-spoken { border-color:var(--g3-gold); box-shadow:0 0 0 6px rgba(241,184,71,.3); }
.g3r-draggable.is-spoken { filter:drop-shadow(0 0 14px rgba(241,184,71,.72)); }
.g3r-route-stage.show-left-distance .g3r-distance.left,.g3r-route-stage.show-right-distance .g3r-distance.right,.g3r-route-stage.distances .g3r-distance { opacity:1; }
.g3r-route-stage.show-midpoint .g3r-midpoint,.g3r-route-stage.midpoint .g3r-midpoint,.g3r-route-stage.hundred .g3r-midpoint,.g3r-route-stage.question .g3r-midpoint { opacity:1; }
.g3r-route-stage.arrived-left .g3r-draggable { left:14%; } .g3r-route-stage.arrived-right .g3r-draggable { left:86%; }
.g3r-route-stage.equal-distance .g3r-distance { opacity:1; } .g3r-route-stage.equal-distance .g3r-distance i { width:74px; }
.g3r-teacher>p,.g3r-question>p { margin:0; padding:5px 10px; border-radius:999px; background:#fff3c9; font-weight:850; }
.g3r-table-strip { position:relative; display:grid; gap:5px; width:100%; padding:10px; border:3px solid var(--g3-gold); border-radius:18px; background:#fff8dc; }
.g3r-strip-cells { display:grid; grid-template-columns:repeat(11,1fr); gap:3px; width:100%; }
.g3r-strip-cells span { display:grid; place-items:center; min-height:42px; border:2px solid #a8d4ce; border-radius:8px; background:#fff; font-size:.6rem; font-weight:900; }
.g3r-strip-cells span.bound { color:#fff; background:var(--g3-teal); }
.g3r-strip-target { position:absolute; z-index:3; left:calc(10px + var(--target-position)*(100% - 20px)); top:0; transform:translate(-50%,-58%); width:4px; height:19px; border-radius:5px; background:var(--g3-coral); }
.g3r-strip-target b { position:absolute; left:50%; bottom:100%; transform:translateX(-50%); padding:2px 6px; border:2px solid #fff; border-radius:8px; color:#fff; background:var(--g3-coral); font-size:.66rem; font-style:normal; box-shadow:0 4px 9px rgba(74,36,21,.18); }
.g3r-table-strip p { margin:3px; font-size:.65rem; font-weight:850; }
.g3r-strip-destinations { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.g3r-strip-destinations button { min-height:44px; border:3px solid #fff; border-radius:12px; color:#fff; background:var(--g3-teal); font:900 .82rem/1 inherit; box-shadow:0 4px 0 #176b66; cursor:pointer; }
.g3r-strip-destinations button:hover,.g3r-strip-destinations button:focus-visible { outline:4px solid rgba(241,184,71,.52); outline-offset:2px; transform:translateY(-2px); }
.g3r-mixed h1 { margin:0; font-size:1.45rem; }
.g3r-dual-lines { display:grid; gap:5px; width:100%; }
.g3r-dual-lines .g3co-numberline { height:68px; margin:0; }
.g3r-result-slots { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; width:min(100%,480px); }
.g3r-result-slots span { display:grid; place-items:center; min-height:70px; border:3px dashed #9dcac5; border-radius:17px; background:#fff; }
.g3r-result-slots small { font-size:.55rem; font-weight:950; } .g3r-result-slots b { color:var(--g3-teal); font-size:1.6rem; }
.g3r-single-focus { gap:12px; }
.g3r-focus-label { display:grid; place-items:center; gap:3px; min-width:240px; padding:8px 16px; border:3px solid var(--g3-gold); border-radius:16px; color:var(--g3-deep); background:#fff5cd; }
.g3r-focus-label small { font-size:.55rem; font-weight:950; letter-spacing:.08em; }
.g3r-focus-label b { font-size:1.05rem; }
.g3r-donation-context { display:flex; align-items:center; gap:8px; min-height:42px; padding:6px 12px; border:3px solid #b8ddd8; border-radius:16px; background:#fff; color:var(--g3-deep); font-weight:950; box-shadow:0 8px 20px rgba(8,69,73,.12); }
.g3r-donation-context span { width:42px; height:30px; border-radius:7px 7px 5px 5px; background:linear-gradient(90deg,#ee7652 0 30%,#f1b847 30% 62%,#087f76 62%); box-shadow:inset 0 -5px 0 rgba(255,255,255,.45); }
.g3r-donation-context b { color:var(--g3-coral); font-size:1.2rem; }
.g3r-donation-context small { font-size:.7rem; }
.g3r-single-line { width:100%; padding:10px 4px; border:3px solid #acd8d2; border-radius:20px; background:rgba(255,255,255,.85); }
.g3r-single-line .g3co-numberline { height:105px; margin:0 auto; }
.g3r-result-slots.single { grid-template-columns:1fr; width:min(100%,260px); }
.g3r-dual-support { display:grid; gap:5px; } .g3r-dual-support>.g3r-table-strip { border-width:2px; padding:4px; }
.lesson-footer.answers-locked [data-g3r-684],.lesson-footer.answers-locked [data-g3r-752],.lesson-footer.answers-locked~* [data-g3r-destination] { pointer-events:none; opacity:.58; }
@media (max-width:1400px) and (min-width:761px) {
  .g3r-hero,.g3r-finish { padding:10px; } .g3r-hero>div,.g3r-finish>div { width:63%; padding:12px; border-radius:18px; } .g3r-hero h1,.g3r-finish h1 { font-size:1.2rem; }
  .g3r-teacher,.g3r-question,.g3r-mixed { gap:4px; padding:5px; } .g3r-route-stage { height:270px; } .g3r-station { top:13%; min-width:72px; min-height:48px; padding:3px 6px; } .g3r-station b { font-size:.95rem; }
  .g3r-draggable { width:92px; } .g3r-draggable img { max-height:75px; } .g3r-draggable.card { width:59px; height:55px; } .g3r-distance { top:81%; } .g3r-distance i { width:36px; }
  .g3r-teacher>p,.g3r-question>p { font-size:.62rem; } .g3r-mixed h1 { font-size:1rem; } .g3r-dual-lines .g3co-numberline { height:56px; } .g3r-result-slots span { min-height:52px; }
  .g3r-single-focus { gap:5px; } .g3r-focus-label { min-width:190px; padding:5px 10px; } .g3r-single-line { padding:4px; } .g3r-single-line .g3co-numberline { height:74px; }
}
@media (max-width:760px) {
  .grade3-rounding-board .board-square { min-height:390px; overflow:hidden; } .g3r-hero,.g3r-finish { padding:8px; } .g3r-hero>div,.g3r-finish>div { width:73%; padding:11px; } .g3r-hero h1,.g3r-finish h1 { font-size:1.15rem; }
  .g3r-teacher,.g3r-question,.g3r-mixed { gap:5px; padding:5px; } .g3r-route-stage { height:315px; } .g3r-route-background { object-position:center; }
  .g3r-station { top:14%; min-width:68px; min-height:46px; padding:3px 5px; border-width:2px; } .g3r-station b { font-size:.9rem; } .g3r-station small { font-size:.38rem; }
  .g3r-numberline { left:9%; right:9%; } .g3r-numberline>span { font-size:.43rem; } .g3r-draggable { left:calc(9% + var(--position)*82%); width:88px; } .g3r-draggable img { max-height:72px; } .g3r-draggable.card { width:58px; height:56px; }
  .g3r-route-stage.arrived-left .g3r-draggable { left:12%; } .g3r-route-stage.arrived-right .g3r-draggable { left:88%; } .g3r-distance { top:80%; } .g3r-distance.left { left:10%; } .g3r-distance.right { right:10%; } .g3r-distance i { width:32px; }
  .g3r-teacher>p,.g3r-question>p { padding:3px 6px; font-size:.58rem; } .g3r-table-strip { gap:3px; padding:5px; } .g3r-strip-cells { gap:2px; } .g3r-strip-cells span { min-height:34px; font-size:.46rem; } .g3r-strip-target { left:calc(5px + var(--target-position)*(100% - 10px)); } .g3r-strip-destinations button { min-height:44px; }
  .g3r-mixed h1 { font-size:.95rem; } .g3r-dual-lines .g3co-numberline { height:62px; } .g3r-result-slots span { min-height:56px; }
  .g3r-single-focus { gap:6px; } .g3r-focus-label { min-width:180px; padding:5px 8px; } .g3r-single-line { padding:4px 2px; } .g3r-single-line .g3co-numberline { height:82px; }
}
@media (prefers-reduced-motion:reduce) { .grade3-rounding-board *,.grade3-rounding-board *::before,.grade3-rounding-board *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }

/* 3. sınıf · Tema 1 · Basamaklar ve sayıları çözümleme */
.grade3-placevalue-board {
  --g3-teal: #087f76;
  --g3-deep: #073f4c;
  --g3-coral: #ee7652;
  --g3-gold: #f1b847;
  height: auto;
}
.grade3-placevalue-board .board-square {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  color: var(--g3-deep);
  background: linear-gradient(145deg, #f4fffc, #dff3ee);
}
.g3pv-hero,.g3pv-finish { position: relative; display: grid; align-items: center; isolation: isolate; padding: 22px; }
.g3pv-room-scene { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.g3pv-room-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,47,51,.78),rgba(4,47,51,.12) 58%,rgba(4,47,51,.02)); pointer-events: none; }
.g3pv-room-scene > img { width: 100%; height: 100%; object-fit: cover; }
.g3pv-hero-card,.g3pv-finish-card { position: relative; z-index: 5; width: min(47%,430px); padding: 22px; border: 3px solid rgba(255,255,255,.72); border-radius: 25px; color: #fff; background: rgba(4,60,61,.84); box-shadow: 0 16px 35px rgba(4,36,41,.26); backdrop-filter: blur(3px); }
.g3pv-hero-card h1,.g3pv-finish-card h1 { margin: 8px 0; font-size: clamp(1.45rem,3vw,2.25rem); line-height: 1.05; }
.g3pv-hero-card p,.g3pv-finish-card p { margin: 0; font-weight: 780; line-height: 1.4; }
.g3pv-recall,.g3pv-model472,.g3pv-zero-model,.g3pv-question,.g3pv-reverse { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; text-align: center; }
.g3pv-recall .g3-place-model,.g3pv-question .g3-place-model { min-height: 245px; }
.g3pv-recall-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; width: min(100%,760px); }
.g3pv-recall-values span { padding: 7px; border: 2px solid #a9d8d2; border-radius: 14px; background: #fff; font-weight: 900; }
.g3pv-recall-values b { color: var(--g3-teal); font-size: 1.25rem; }
.g3pv-lens-board { position: relative; padding: 10px; }
.g3pv-lens-stage { position: relative; width: 100%; height: 100%; overflow: hidden; border: 3px solid #addbd4; border-radius: 24px; background: linear-gradient(145deg,#e8f8f4,#fff9e8); }
.g3pv-lens-groups { position: absolute; z-index: 4; inset: 27% 7% 14%; display: grid; grid-template-columns: repeat(3,1fr); align-items: end; gap: 9px; }
.g3pv-lens-group { display: grid; grid-template-columns: repeat(3,1fr); place-items: center; align-content: end; min-height: 180px; padding: 7px; border: 3px solid rgba(255,255,255,.86); border-radius: 20px; background: rgba(255,255,255,.84); opacity: .58; transform: scale(.96); transition: .5s; }
.g3pv-lens-group img { width: 100%; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 3px rgba(35,34,24,.18)); }
.g3pv-lens-group.hundreds img { height: 66px; }
.g3pv-lens-group.ones img { height: 44px; }
.g3pv-lens-group span { grid-column: 1/-1; min-width: 80px; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--g3-teal); font-weight: 950; }
.g3pv-lens-stage.show-ones .g3pv-lens-group.ones,.g3pv-lens-stage.show-tens .g3pv-lens-group.tens,.g3pv-lens-stage.show-hundreds .g3pv-lens-group.hundreds { opacity: 1; transform: scale(1); box-shadow: 0 0 0 7px rgba(241,184,71,.35); }
.g3pv-moving-digit { position: absolute; z-index: 8; top: 16%; left: 78.7%; transform: translateX(-50%); display: grid; place-items: center; width: 64px; height: 64px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: var(--g3-coral); box-shadow: 0 10px 25px rgba(8,50,50,.25); transition: left .7s cubic-bezier(.2,.8,.25,1); }
.g3pv-moving-digit b { font-size: 2.2rem; }
.g3pv-lens-stage.show-ones .g3pv-moving-digit { left: 78.7%; }
.g3pv-lens-stage.show-tens .g3pv-moving-digit { left: 50%; }
.g3pv-lens-stage.show-hundreds .g3pv-moving-digit { left: 21.3%; }
.g3pv-lens-value { position: absolute; z-index: 8; top: 4%; right: 3%; display: grid; grid-template-columns: auto auto; gap: 0 7px; min-width: 175px; padding: 7px 11px; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 8px 20px rgba(4,48,52,.18); text-align: left; }
.g3pv-lens-value small { align-self: center; font-weight: 950; }
.g3pv-lens-value strong { grid-row: 1/3; grid-column: 2; align-self: center; color: var(--g3-teal); font-size: 2rem; }
.g3pv-lens-value span { font-size: .68rem; font-weight: 850; }
.g3pv-model472 .g3-place-model,.g3pv-zero-model .g3-place-model { min-height: 225px; }
.g3pv-decomposition { display: flex; align-items: stretch; justify-content: center; gap: 9px; width: min(100%,760px); }
.g3pv-number-card { display: grid; place-items: center; min-width: 96px; padding: 7px; border-radius: 17px; color: #fff; background: var(--g3-teal); }
.g3pv-number-card small { font-size: .62rem; font-weight: 950; }
.g3pv-number-card strong { font-size: 2rem; }
.g3pv-decomposition-parts { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; }
.g3pv-part { display: grid; place-items: center; min-width: 95px; min-height: 66px; border: 3px solid #acd9d3; border-radius: 16px; background: #fff; opacity: .34; transition: .35s; }
.g3pv-part.is-spoken,.g3-place-column.is-spoken,.g3pv-large-number span.is-spoken { opacity: 1; border-color: var(--g3-gold); box-shadow: 0 0 0 6px rgba(241,184,71,.28); }
.g3pv-part b { font-size: 1.35rem; }
.g3pv-part small { font-size: .57rem; font-weight: 950; }
.g3pv-decomposition-parts i { color: var(--g3-coral); font-size: 1.35rem; font-style: normal; font-weight: 950; }
.g3pv-model472.show-hundreds .g3-hundred-column,.g3pv-model472.show-hundreds .g3pv-part.part-0,
.g3pv-model472.show-tens .g3-ten-column,.g3pv-model472.show-tens .g3pv-part.part-1,
.g3pv-model472.show-ones .g3-one-column,.g3pv-model472.show-ones .g3pv-part.part-2 { opacity: 1; border-color: var(--g3-gold); box-shadow: 0 0 0 6px rgba(241,184,71,.28); }
.g3pv-model472.show-complete .g3pv-decomposition { transform: translateY(-2px); filter: saturate(1.12); transition: .4s; }
.g3pv-zero-model > p { margin: 0; padding: 6px 12px; border-radius: 999px; color: #804421; background: #fff1c9; font-weight: 900; }
.g3pv-zero-model > p b,.g3pv-large-number .zero { color: var(--g3-coral); }
.g3pv-question h1,.g3pv-final-question h1 { margin: 0; font-size: clamp(1.2rem,2.4vw,1.8rem); }
.g3pv-question > p { margin: 0; font-weight: 850; color: #496a70; }
.g3pv-place-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; width: min(100%,600px); }
.g3pv-place-slot { display: grid; place-items: center; min-height: 130px; border: 4px dashed #91c9c1; border-radius: 24px; background: rgba(255,255,255,.8); transition: .35s; }
.g3pv-place-slot small { font-size: .7rem; font-weight: 950; letter-spacing: .1em; }
.g3pv-place-slot b { color: #83aba8; font-size: 2.7rem; }
.g3pv-place-slot.filled { border-style: solid; border-color: var(--g3-gold); background: #fff8df; transform: translateY(-3px); }
.g3pv-place-slot.filled b { color: var(--g3-teal); }
.g3pv-built-number { min-width: 180px; padding: 7px 18px; border-radius: 18px; color: #fff; background: var(--g3-teal); font-size: 2.2rem; font-weight: 950; letter-spacing: .08em; }
.g3pv-reverse > p { margin: 0; font-weight: 850; }
.g3pv-large-number { display: flex; gap: 8px; }
.g3pv-large-number span { display: grid; place-items: center; width: 96px; height: 112px; border: 4px solid #a8d7d1; border-radius: 25px; background: #fff; font-size: 4.2rem; font-weight: 950; box-shadow: 0 12px 25px rgba(6,70,66,.11); }
.g3pv-finish-card > span { font-size: .72rem; font-weight: 950; letter-spacing: .13em; }
.g3pv-finish-card > div { display: flex; align-items: center; gap: 7px; margin: 14px 0; }
.g3pv-finish-card > div b,.g3pv-finish-card > div strong { padding: 7px 10px; border-radius: 12px; color: var(--g3-deep); background: #fff; }
.g3pv-finish-card > div i { font-style: normal; }
.g3-place-grid-method section small { color: #577276; font-size: .62rem; font-weight: 850; }
.g3-place-grid-method section.filled { border-color: var(--g3-gold); background: #fff5d8; transform: translateY(-3px); }
.grade3-placevalue-board + .lesson-footer.answers-locked button,
.lesson-footer.answers-locked [data-g3pv-answer346],
.lesson-footer.answers-locked [data-g3pv-answer908],
.lesson-footer.answers-locked [data-g3pv-card] { pointer-events: none; opacity: .58; }

/* Uygulamanın öğretmen paneli açık 1280×720 yerleşiminde ders tahtası
   yaklaşık 460×346 olur. Bu yalnız masaüstüne özgü dar tahta için içerik
   kırpılmadan aynı 4:3 sahnede kalır. */
@media (max-width: 1400px) and (min-width: 761px) {
  .g3pv-hero,.g3pv-finish { padding: 10px; }
  .g3pv-hero-card,.g3pv-finish-card { width: 64%; padding: 13px; border-radius: 18px; }
  .g3pv-hero-card h1,.g3pv-finish-card h1 { margin: 5px 0; font-size: 1.25rem; line-height: 1.02; }
  .g3pv-hero-card p,.g3pv-finish-card p { font-size: .68rem; line-height: 1.25; }
  .g3pv-finish-card > div { margin: 8px 0; }
  .g3pv-recall,.g3pv-model472,.g3pv-zero-model,.g3pv-question,.g3pv-reverse { gap: 3px; padding: 5px 8px; }
  .g3pv-recall .g3-place-model,.g3pv-question .g3-place-model,.g3pv-model472 .g3-place-model,.g3pv-zero-model .g3-place-model { min-height: 158px; }
  .g3pv-recall-values { gap: 4px; }
  .g3pv-recall-values span { padding: 3px; font-size: .65rem; }
  .g3pv-decomposition { gap: 4px; }
  .g3pv-number-card { min-width: 65px; padding: 3px; }
  .g3pv-number-card strong { font-size: 1.3rem; }
  .g3pv-decomposition-parts { gap: 3px; }
  .g3pv-part { min-width: 62px; min-height: 49px; border-width: 2px; }
  .g3pv-part b { font-size: .95rem; }
  .g3pv-part small { font-size: .46rem; }
  .g3pv-zero-model .g3-zero-placeholder { min-height: 72px; }
  .g3pv-zero-model .g3-zero-placeholder strong { padding: 3px 0; font-size: 3rem; line-height: 1.08; }
  .g3pv-zero-model .g3-zero-placeholder small { font-size: .55rem; }
  .g3pv-zero-model > p { padding: 3px 8px; font-size: .64rem; }
  .g3pv-place-slots { gap: 5px; }
  .g3pv-place-slot { min-height: 88px; border-width: 2px; }
  .g3pv-place-slot b { font-size: 1.8rem; }
  .g3pv-built-number { min-width: 130px; padding: 4px 10px; font-size: 1.5rem; }
  .g3pv-reverse > p { font-size: .65rem; }
  .g3pv-large-number span { width: 70px; height: 80px; border-width: 3px; border-radius: 18px; font-size: 2.8rem; }
}

@media (max-width: 760px) {
  .grade3-placevalue-board .board-square { min-height: 390px; overflow: hidden; }
  .g3pv-hero,.g3pv-finish { padding: 8px; }
  .g3pv-hero-card,.g3pv-finish-card { width: 72%; padding: 12px; }
  .g3pv-hero-card h1,.g3pv-finish-card h1 { font-size: 1.18rem; }
  .g3pv-hero-card p,.g3pv-finish-card p { font-size: .66rem; }
  .g3pv-recall,.g3pv-model472,.g3pv-zero-model,.g3pv-question,.g3pv-reverse { gap: 3px; padding: 5px; }
  .g3pv-recall .g3-place-model,.g3pv-question .g3-place-model,.g3pv-model472 .g3-place-model,.g3pv-zero-model .g3-place-model { min-height: 155px; }
  .g3pv-recall-values { gap: 3px; }
  .g3pv-recall-values span { padding: 3px; font-size: .62rem; }
  .g3pv-lens-groups { inset: 29% 2% 13%; gap: 3px; }
  .g3pv-lens-group { min-height: 145px; padding: 3px; border-width: 2px; }
  .g3pv-lens-group img,.g3pv-lens-group.hundreds img { height: 39px; }
  .g3pv-lens-group.ones img { height: 31px; }
  .g3pv-lens-group span { min-width: 60px; padding: 2px 5px; font-size: .58rem; }
  .g3pv-moving-digit { top: 18%; width: 47px; height: 47px; }
  .g3pv-moving-digit b { font-size: 1.45rem; }
  .g3pv-lens-value { top: 3%; min-width: 128px; padding: 4px 7px; }
  .g3pv-lens-value strong { font-size: 1.35rem; }
  .g3pv-lens-value span,.g3pv-lens-value small { font-size: .52rem; }
  .g3pv-decomposition { gap: 3px; }
  .g3pv-number-card { min-width: 60px; }
  .g3pv-number-card strong { font-size: 1.35rem; }
  .g3pv-decomposition-parts { gap: 2px; }
  .g3pv-part { min-width: 58px; min-height: 48px; border-width: 2px; }
  .g3pv-part b { font-size: .9rem; }
  .g3pv-part small { font-size: .45rem; }
  .g3pv-zero-model > p { padding: 3px 7px; font-size: .62rem; }
  .g3pv-zero-model .g3-zero-placeholder strong { line-height: 1.08; }
  .g3pv-place-slots { gap: 4px; }
  .g3pv-place-slot { min-height: 86px; border-width: 2px; }
  .g3pv-place-slot b { font-size: 1.7rem; }
  .g3pv-built-number { min-width: 130px; font-size: 1.45rem; }
  .g3pv-reverse > p { font-size: .64rem; }
  .g3pv-large-number span { width: 68px; height: 78px; border-width: 3px; border-radius: 17px; font-size: 2.7rem; }
  .g3-place-grid-method section small { font-size: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .grade3-placevalue-board *,
  .grade3-placevalue-board *::before,
  .grade3-placevalue-board *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 3. sınıf · 6, 7, 8 ve 9'ar ritmik sayma */
.grade3-rhythm-board {
  --g3-ink:#123c4a;
  --g3-teal:#078b7e;
  --g3-teal-dark:#006d65;
  --g3-mint:#dff5ef;
  --g3-orange:#f27b45;
  --g3-yellow:#ffd86a;
  --g3-line:#9ccfc6;
  --g3-paper:#fffdf8;
}
.grade3-rhythm-board .board-square { position:relative; width:100%; aspect-ratio:4/3; min-height:0; overflow:hidden; border-radius:26px; background:linear-gradient(145deg,#eefaf6,#dff3ee); color:var(--g3-ink); }
.grade3-rhythm-board .board-kicker { z-index:8; }
.g3rh-hero>img,.g3rh-finish>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3rh-hero::after,.g3rh-finish::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,55,62,.72),rgba(8,55,62,.05) 65%); }
.g3rh-hero>div,.g3rh-finish>div { position:absolute; z-index:2; left:6%; top:18%; width:47%; padding:18px; border-radius:22px; color:white; background:rgba(5,64,66,.82); box-shadow:0 15px 38px rgba(7,48,54,.22); }
.g3rh-hero h1,.g3rh-finish h1 { margin:13px 0 8px; font-size:clamp(1.35rem,3vw,2.05rem); line-height:1.1; }
.g3rh-hero p,.g3rh-finish p { margin:0; font-size:.9rem; font-weight:750; line-height:1.45; }
.g3rh-hero .board-kicker { position:static; display:inline-flex; color:#16434a; background:var(--g3-yellow); }
.g3rh-finish>div>span { display:inline-flex; padding:5px 10px; border-radius:999px; color:#163f47; background:var(--g3-yellow); font-size:.7rem; font-weight:950; letter-spacing:.06em; }

.g3rh-pack { display:grid; grid-template-columns:repeat(3,1fr); align-content:center; justify-content:center; gap:2px; width:118px; min-height:94px; padding:6px; border:3px solid rgba(7,139,126,.42); border-radius:16px; background:rgba(255,253,248,.94); box-shadow:0 8px 16px rgba(17,68,72,.14); }
.g3rh-pack.pack-8 { grid-template-columns:repeat(4,1fr); }
.g3rh-pack.pack-7 { grid-template-columns:repeat(4,1fr); }
.g3rh-pack img { display:block; width:100%; height:34px; object-fit:contain; filter:drop-shadow(0 2px 2px rgba(26,61,63,.16)); }
.g3rh-pack.compact { width:64px; min-height:46px; padding:3px; gap:1px; border-width:2px; border-radius:10px; }
.g3rh-pack.compact img { height:17px; }

.g3rh-equal-groups { padding:24px 28px 20px; display:grid; place-items:center; align-content:center; gap:16px; }
.g3rh-group-demo { display:flex; align-items:center; justify-content:center; gap:14px; width:100%; }
.g3rh-group-demo section { display:grid; place-items:center; gap:2px; }
.g3rh-group-demo section>b { font-size:1.45rem; color:var(--g3-teal-dark); }
.g3rh-group-demo section>small { font-weight:850; }
.g3rh-group-demo>i { font-style:normal; color:var(--g3-orange); font-size:2rem; font-weight:950; }
.g3rh-group-demo>strong { width:88px; height:88px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--g3-teal); font-size:2.25rem; box-shadow:0 0 0 10px rgba(7,139,126,.12); }
.g3rh-same-step { display:flex; align-items:center; gap:9px; padding:8px 14px; border-radius:18px; background:white; box-shadow:0 6px 18px rgba(10,73,71,.1); }
.g3rh-same-step span { min-width:54px; padding:8px; border-radius:12px; text-align:center; color:white; background:var(--g3-teal); font-size:1.25rem; font-weight:950; }
.g3rh-same-step i { font-style:normal; color:var(--g3-orange); font-size:.68rem; font-weight:900; }
.g3rh-equal-groups>p { margin:0; max-width:560px; text-align:center; font-weight:800; }

.g3rh-teacher { padding:0; }
.g3rh-teacher>.board-kicker { top:11px; left:14px; }
.g3rh-teacher>p { position:absolute; z-index:7; left:18px; right:18px; bottom:8px; margin:0; padding:7px 12px; border-radius:14px; text-align:center; background:rgba(255,253,248,.94); font-size:.76rem; font-weight:850; }
.g3rh-sequence-stage { position:absolute; inset:12px 12px 43px; overflow:hidden; border:2px solid rgba(7,139,126,.25); border-radius:20px; background:#dcefe9; }
.g3rh-center-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3rh-sequence-stage::after,.g3rh-question-stage::after,.g3rh-mixed::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,rgba(240,252,248,.08),rgba(219,244,237,.78) 71%,rgba(219,244,237,.98)); }
.g3rh-active-pack { position:absolute; z-index:3; left:4%; top:6%; width:156px; display:grid; place-items:center; gap:3px; padding:8px; border-radius:18px; background:rgba(255,253,248,.92); box-shadow:0 9px 25px rgba(5,54,57,.17); }
.g3rh-active-pack>small { font-size:.55rem; font-weight:950; letter-spacing:.04em; }
.g3rh-active-pack>b { color:var(--g3-teal-dark); font-size:.8rem; }
.g3rh-package-counter { position:absolute; z-index:3; left:31%; right:3%; top:8%; display:grid; grid-template-columns:repeat(5,1fr); gap:5px; }
.g3rh-package-counter i { position:relative; min-height:62px; display:grid; place-items:center; border:2px dashed rgba(7,139,126,.35); border-radius:12px; background:rgba(255,255,255,.74); opacity:1; transition:opacity .4s,transform .55s,background .25s,filter .4s; }
.g3rh-package-counter i>.g3rh-pack,.g3rh-package-counter i>small { opacity:0; transition:opacity .22s; }
.g3rh-package-counter i > .g3rh-pack.compact { width:min(100%,64px); min-height:48px; padding:3px; border:0; background:transparent; box-shadow:none; }
.g3rh-package-counter i > .g3rh-pack.compact img { width:100%; height:16px; object-fit:contain; }
.g3rh-package-counter small { position:absolute; right:4px; top:2px; width:17px; height:17px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--g3-teal); font-size:.5rem; font-weight:950; }
.g3rh-package-counter i.filled,.g3rh-sequence-stage.show-all.forward .g3rh-package-counter i { opacity:1; transform:translateY(-2px); border-style:solid; background:#fffdf8; }
.g3rh-package-counter i.filled>.g3rh-pack,.g3rh-package-counter i.filled>small,.g3rh-sequence-stage.show-all.forward .g3rh-package-counter i>.g3rh-pack,.g3rh-sequence-stage.show-all.forward .g3rh-package-counter i>small,.g3rh-sequence-stage.backward .g3rh-package-counter i>.g3rh-pack,.g3rh-sequence-stage.backward .g3rh-package-counter i>small { opacity:1; }
.g3rh-sequence-stage.backward .g3rh-package-counter i { opacity:1; border-style:solid; background:#fffdf8; }
.g3rh-sequence-stage.backward .g3rh-package-counter i.removed,.g3rh-sequence-stage.show-all.backward .g3rh-package-counter i { opacity:0; transform:translate(28px,-18px) scale(.68) rotate(6deg); filter:grayscale(1); border-style:solid; }
.g3rh-number-window { position:absolute; z-index:4; left:2%; right:2%; bottom:4%; height:116px; padding:15px 8px 5px 70px; border-radius:18px; background:rgba(255,253,248,.95); box-shadow:0 8px 20px rgba(10,60,61,.12); }
.g3rh-start-card { position:absolute; left:7px; top:29px; width:61px; height:65px; display:grid; place-items:center; align-content:center; border-radius:14px; color:white; background:var(--g3-teal-dark); }
.g3rh-start-card small { font-size:.45rem; font-weight:900; }
.g3rh-start-card b { font-size:1.35rem; }
.g3rh-number-window svg { position:absolute; left:75px; right:7px; bottom:28px; width:calc(100% - 82px); height:68px; overflow:visible; }
.g3rh-number-window path { fill:none; stroke:var(--g3-orange); stroke-width:4; stroke-linecap:round; stroke-dasharray:9 5; opacity:0; transition:opacity .2s,filter .2s; }
.g3rh-number-window path.revealed,.g3rh-sequence-stage.show-all .g3rh-number-window path { opacity:1; }
.g3rh-number-window path.current { filter:drop-shadow(0 0 4px rgba(242,123,69,.85)); }
.g3rh-number-window.backward path { stroke:var(--g3-teal); transform:scaleX(-1); transform-origin:center; }
.g3rh-nodes { height:100%; display:grid; grid-template-columns:repeat(10,1fr); align-items:end; gap:3px; }
.g3rh-nodes span { position:relative; z-index:2; min-width:0; min-height:45px; display:grid; place-items:center; align-content:center; border:2px solid var(--g3-line); border-radius:12px; background:white; opacity:.14; transform:translateY(7px) scale(.88); transition:opacity .22s,transform .22s,box-shadow .22s; }
.g3rh-nodes span.revealed,.g3rh-sequence-stage.show-all .g3rh-nodes span { opacity:1; transform:none; }
.g3rh-nodes span.current { box-shadow:0 0 0 6px rgba(255,216,106,.72); }
.g3rh-nodes b { font-size:.86rem; }
.g3rh-nodes small { color:var(--g3-orange); font-size:.48rem; font-weight:900; }

.g3rh-question { padding:0; }
.g3rh-question>.board-kicker { top:10px; left:13px; }
.g3rh-question-stage { position:absolute; inset:12px; overflow:hidden; border-radius:20px; background:#dcefe9; }
.g3rh-question-pack { position:absolute; z-index:3; left:4%; top:8%; display:grid; place-items:center; gap:3px; }
.g3rh-question-pack>b { padding:4px 9px; border-radius:999px; color:white; background:var(--g3-teal-dark); font-size:.67rem; }
.g3rh-sequence-cards { position:absolute; z-index:4; left:29%; right:3%; top:16%; display:flex; justify-content:center; align-items:center; gap:8px; }
.g3rh-sequence-cards span { flex:1; max-width:98px; min-height:82px; display:grid; place-items:center; align-content:center; border:3px solid var(--g3-line); border-radius:18px; background:white; box-shadow:0 8px 18px rgba(10,60,61,.12); }
.g3rh-sequence-cards span.missing { border-style:dashed; border-color:var(--g3-orange); background:#fff5df; }
.g3rh-sequence-cards span.faulty { border-style:solid; border-color:#c94d3f; background:#fff0ec; animation:g3rhFaultyPulse 1.4s ease-in-out infinite; }
.g3rh-sequence-cards small { color:var(--g3-orange); font-size:.58rem; font-weight:950; }
.g3rh-sequence-cards b { font-size:1.75rem; }
.g3rh-jump-beads { position:absolute; z-index:4; left:31%; right:4%; top:51%; display:flex; justify-content:center; gap:7px; opacity:0; transform:translateY(-5px); transition:.3s; }
.g3rh-jump-beads i { width:17px; height:17px; border-radius:50%; background:var(--g3-yellow); box-shadow:inset 0 0 0 3px rgba(242,123,69,.38); }
.g3rh-question-stage.show-jump .g3rh-jump-beads { opacity:1; transform:none; }
.g3rh-direct-work { position:absolute; z-index:6; left:27%; right:3%; top:59%; display:flex; align-items:center; justify-content:center; min-height:58px; padding:5px 7px; border:2px solid rgba(7,139,126,.28); border-radius:15px; background:rgba(255,253,248,.94); }
.g3rh-direct-tools { display:grid; grid-template-columns:repeat(3,56px); gap:7px; }
.g3rh-direct-tools button { --drag-x:0px; --drag-y:0px; position:relative; z-index:1; display:grid; place-items:center; align-content:center; min-width:56px; height:50px; padding:3px; border:3px solid var(--g3-line); border-radius:12px; color:var(--g3-ink); background:#fff; box-shadow:0 5px 0 rgba(0,109,101,.25); cursor:grab; touch-action:none; transform:translate(var(--drag-x),var(--drag-y)); }
.g3rh-direct-tools button:hover,.g3rh-direct-tools button:focus-visible { border-color:var(--g3-yellow); outline:3px solid rgba(255,216,106,.48); outline-offset:1px; }
.g3rh-direct-tools button.dragging { z-index:12; cursor:grabbing; scale:1.08; box-shadow:0 12px 22px rgba(7,61,64,.24); }
.g3rh-direct-tools button b { font-size:1.18rem; }
.g3rh-direct-tools button i { color:var(--g3-orange); font-size:.48rem; font-style:normal; font-weight:950; }
.g3rh-direct-work.mode-jump button { border-radius:999px; }
.g3rh-direct-work.mode-repair button { border-color:#e6ad52; }
.g3rh-question-stage.answered .g3rh-sequence-cards .missing { border-style:solid; box-shadow:0 0 0 7px rgba(255,216,106,.65); }
.g3rh-question-stage.answered .g3rh-sequence-cards .missing b { color:var(--g3-teal-dark); }
@keyframes g3rhFaultyPulse { 50% { box-shadow:0 0 0 7px rgba(201,77,63,.18); } }
.g3rh-alternate-method { min-height:100%; display:grid; place-items:center; align-content:center; gap:10px; padding:28px; border-radius:20px; background:linear-gradient(145deg,#e5f8f3,#fff9e9); }
.g3rh-alternate-method>small { font-weight:950; color:var(--g3-teal-dark); letter-spacing:.05em; }
.g3rh-alternate-method>span { display:flex; align-items:center; gap:12px; padding:9px 16px; border-radius:18px; background:white; box-shadow:0 7px 17px rgba(7,73,69,.12); }
.g3rh-alternate-method>span>b,.g3rh-alternate-method>span>strong { min-width:58px; text-align:center; font-size:2rem; }
.g3rh-alternate-method>span>strong { color:var(--g3-orange); }
.g3rh-alternate-method>span>i { font-style:normal; color:var(--g3-orange); font-size:1.5rem; font-weight:950; }
.g3rh-alternate-method>span>em { display:block; font-style:normal; }
.g3-method-source-hidden { display:none !important; }
.grade3-rhythm-board.g3rh-support-open .g3rh-alternate-method { position:absolute; inset:8px 8px 82px; min-height:0; }
.grade3-rhythm-board.g3rh-support-open .g3rh-direct-work { top:auto; bottom:8px; }

.g3rh-mixed { padding:0; }
.g3rh-mixed>.board-kicker { top:10px; left:13px; }
.g3rh-mixed-pack { position:absolute; z-index:4; left:6%; top:13%; display:grid; place-items:center; gap:4px; }
.g3rh-mixed-pack>b { padding:5px 9px; border-radius:999px; background:white; font-size:.7rem; }
.g3rh-mixed-line { position:absolute; z-index:4; left:29%; right:4%; top:28%; display:flex; align-items:center; justify-content:center; gap:10px; }
.g3rh-mixed-line>span,.g3rh-mixed-line>strong { min-width:91px; min-height:88px; display:grid; place-items:center; align-content:center; border:3px solid var(--g3-line); border-radius:18px; background:white; box-shadow:0 7px 18px rgba(10,60,61,.13); }
.g3rh-mixed-line>span small { color:var(--g3-orange); font-size:.55rem; font-weight:950; }
.g3rh-mixed-line>span b,.g3rh-mixed-line>strong { font-size:1.8rem; }
.g3rh-mixed-line>i { color:var(--g3-orange); font-style:normal; font-size:1.65rem; font-weight:950; }
.g3rh-mixed-line .filled { box-shadow:0 0 0 7px rgba(255,216,106,.65); }

@media (max-width:820px) {
  .grade3-rhythm-board .board-square { min-height:390px; }
  .g3rh-hero>div,.g3rh-finish>div { left:4%; top:14%; width:60%; padding:12px; }
  .g3rh-hero h1,.g3rh-finish h1 { font-size:1.18rem; }
  .g3rh-hero p,.g3rh-finish p { font-size:.64rem; }
  .g3rh-equal-groups { padding:16px 7px 8px; gap:8px; }
  .g3rh-group-demo { gap:4px; }
  .g3rh-pack { width:82px; min-height:68px; padding:4px; }
  .g3rh-pack img { height:23px; }
  .g3rh-group-demo>strong { width:61px; height:61px; font-size:1.6rem; }
  .g3rh-group-demo>i { font-size:1.25rem; }
  .g3rh-same-step { gap:4px; padding:5px; }
  .g3rh-same-step span { min-width:42px; font-size:.95rem; }
  .g3rh-same-step i { font-size:.49rem; }
  .g3rh-equal-groups>p { font-size:.65rem; }
  .g3rh-sequence-stage { inset:6px 6px 42px; }
  .g3rh-active-pack { left:2%; top:3%; width:104px; padding:5px; }
  .g3rh-active-pack .g3rh-pack { width:78px; min-height:64px; }
  .g3rh-package-counter { left:31%; right:2%; top:4%; gap:2px; }
  .g3rh-package-counter i { min-height:48px; border-radius:8px; }
  .g3rh-package-counter i > .g3rh-pack.compact { width:min(100%,48px); min-height:38px; padding:2px; }
  .g3rh-package-counter i > .g3rh-pack.compact img { height:11px; }
  .g3rh-package-counter small { width:14px; height:14px; font-size:.42rem; }
  .g3rh-number-window { left:1%; right:1%; bottom:2%; height:111px; padding-left:58px; }
  .g3rh-start-card { left:4px; width:52px; }
  .g3rh-number-window svg { left:61px; width:calc(100% - 65px); }
  .g3rh-nodes { gap:1px; }
  .g3rh-nodes span { min-height:43px; border-width:1px; border-radius:8px; }
  .g3rh-nodes b { font-size:.65rem; }
  .g3rh-nodes small { font-size:.39rem; }
  .g3rh-teacher>p { left:7px; right:7px; font-size:.62rem; }
  .g3rh-question-stage { inset:5px; }
  .g3rh-question-pack { left:2%; top:5%; }
  .g3rh-question-pack .g3rh-pack { width:78px; min-height:64px; }
  .g3rh-sequence-cards { left:27%; right:2%; top:11%; gap:3px; }
  .g3rh-sequence-cards span { min-height:70px; border-width:2px; border-radius:11px; }
  .g3rh-sequence-cards b { font-size:1.18rem; }
  .g3rh-jump-beads { left:29%; gap:3px; }
  .g3rh-jump-beads i { width:12px; height:12px; }
  .g3rh-direct-work { left:24%; right:2%; top:58%; min-height:52px; padding:4px; }
  .g3rh-direct-tools { grid-template-columns:repeat(3,46px); gap:4px; }
  .g3rh-direct-tools button { min-width:46px; height:46px; border-width:2px; }
  .g3rh-direct-tools button b { font-size:1rem; }
  .g3rh-alternate-method { padding:9px; }
  .g3rh-alternate-method>span { gap:5px; padding:6px; }
  .g3rh-alternate-method .g3rh-pack.compact { width:55px; min-height:41px; }
  .g3rh-alternate-method>span>b,.g3rh-alternate-method>span>strong { min-width:40px; font-size:1.35rem; }
  .g3rh-mixed-pack { left:3%; top:16%; }
  .g3rh-mixed-pack .g3rh-pack { width:80px; min-height:70px; }
  .g3rh-mixed-line { left:26%; right:2%; top:25%; gap:3px; }
  .g3rh-mixed-line>span,.g3rh-mixed-line>strong { min-width:59px; min-height:70px; border-width:2px; }
  .g3rh-mixed-line>span b,.g3rh-mixed-line>strong { font-size:1.25rem; }
  .g3rh-mixed-line>i { font-size:1rem; }
  .topic-lesson-shell:has(.grade3-rhythm-board) .teacher-bubble { min-height:82px; font-size:14px; line-height:1.4; }
  .topic-lesson-shell:has(.grade3-rhythm-board) #topic-section-track button { min-height:44px; }
  .topic-lesson-shell:has(.grade3-rhythm-board) .narration-controls button { min-height:44px; font-size:11px; }
  .topic-lesson-shell:has(.grade3-rhythm-board) .lesson-support-dock .mental-subtraction-support>button,
  .topic-lesson-shell:has(.grade3-rhythm-board) .lesson-support-dock .universal-teacher-support>button { min-height:48px; }
  .topic-lesson-shell:has(.grade3-rhythm-board) .raise-hand { min-height:52px; }
}

@media (max-width:900px) and (max-height:500px) {
  .topic-lesson-shell:has(.grade3-rhythm-board) #topic-section-track button { min-height:44px; }
  .topic-lesson-shell:has(.grade3-rhythm-board) .narration-controls button { min-height:44px; font-size:11px; }
}

@media (min-width:821px) and (max-width:1100px) {
  .topic-lesson-shell:has(.grade3-rhythm-board) #topic-section-track button,
  .topic-lesson-shell:has(.grade3-rhythm-board) .narration-controls button { min-height:44px; }
}

@media (prefers-reduced-motion:reduce) {
  .grade3-rhythm-board *,
  .grade3-rhythm-board *::before,
  .grade3-rhythm-board *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* 3. sınıf · Bütün, Yarım ve Çeyrek */
.grade3-whq-board .board-square { position:relative; overflow:hidden; min-height:min(650px,calc(100vh - 325px)); padding:16px; border:2px solid #b9ddd7; border-radius:28px; background:linear-gradient(145deg,#f6fffd,#e7f7f4); }
.g3whq-scene { position:relative; width:min(100%,920px); aspect-ratio:16/9; margin:auto; overflow:hidden; border-radius:24px; background:#e8f6f2; box-shadow:0 18px 38px rgba(18,79,72,.18); }
.g3whq-bakery-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3whq-scene:not(.mode-whole) .g3whq-bakery-bg { filter:saturate(.72); opacity:.48; }
.g3whq-cake-stage { position:absolute; z-index:4; left:50%; top:53.5%; width:40.5%; aspect-ratio:1; transform:translate(-50%,-50%); }
.g3whq-cake-stage > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 10px 11px rgba(87,48,26,.18)); transition:opacity .45s ease,transform .8s cubic-bezier(.22,.9,.32,1); }
.g3whq-cake-whole { z-index:1; }
.g3whq-cake-piece { z-index:2; opacity:0; }
.g3whq-cake-piece.half.left { clip-path:polygon(0 0,50% 0,50% 100%,0 100%); }
.g3whq-cake-piece.half.right { clip-path:polygon(50% 0,100% 0,100% 100%,50% 100%); }
.g3whq-cake-piece.quarter.q1 { clip-path:polygon(0 0,50% 0,50% 50%,0 50%); }
.g3whq-cake-piece.quarter.q2 { clip-path:polygon(50% 0,100% 0,100% 50%,50% 50%); }
.g3whq-cake-piece.quarter.q3 { clip-path:polygon(0 50%,50% 50%,50% 100%,0 100%); }
.g3whq-cake-piece.quarter.q4 { clip-path:polygon(50% 50%,100% 50%,100% 100%,50% 100%); }
.g3whq-cake-piece.unequal.big { clip-path:polygon(0 0,78% 0,78% 100%,0 100%); opacity:1; transform:translateX(-3%); }
.g3whq-cake-piece.unequal.small { clip-path:polygon(78% 0,100% 0,100% 100%,78% 100%); opacity:1; transform:translateX(8%); }
.mode-unequal .g3whq-cake-whole { opacity:0; }
.g3whq-cut-line { position:absolute; z-index:5; left:50%; top:3%; width:4px; height:94%; border-radius:999px; background:repeating-linear-gradient(#ff9e21 0 10px,transparent 10px 18px); opacity:0; transform:translateX(-50%) scaleY(0); transform-origin:top; transition:.8s ease; }
.show-cut-line .g3whq-cut-line,.show-equal-guides .g3whq-cut-line { opacity:1; transform:translateX(-50%) scaleY(1); }
.show-halves .g3whq-cake-whole,.student-cut-complete .g3whq-cake-whole { opacity:0; }
.mode-halves .g3whq-cake-piece.half { opacity:1; }
.g3whq-teacher-cut .mode-halves .g3whq-cake-piece.half,.g3whq-student-cut .mode-halves .g3whq-cake-piece.half { opacity:0; }
.show-halves .g3whq-cake-piece.half,.student-cut-complete .g3whq-cake-piece.half { opacity:1 !important; }
.show-halves .g3whq-cake-piece.half.left,.student-cut-complete .g3whq-cake-piece.half.left { transform:translateX(-4%); }
.show-halves .g3whq-cake-piece.half.right,.student-cut-complete .g3whq-cake-piece.half.right { transform:translateX(4%); }
.compare-halves .g3whq-cake-piece.half.left { transform:translateX(-4%); filter:drop-shadow(0 0 12px #ffb319); }
.compare-halves .g3whq-cake-piece.half.right { transform:translateX(4%); filter:drop-shadow(0 0 12px #ffb319); }
.g3whq-half-proof .g3whq-cake-whole,.g3whq-rejoin .g3whq-cake-whole,.g3whq-independent .mode-halves .g3whq-cake-whole { opacity:.08; }
.g3whq-half-proof .g3whq-cake-piece.half.left,.g3whq-rejoin .g3whq-cake-piece.half.left,.g3whq-independent .mode-halves .g3whq-cake-piece.half.left { transform:translateX(-4%); }
.g3whq-half-proof .g3whq-cake-piece.half.right,.g3whq-rejoin .g3whq-cake-piece.half.right,.g3whq-independent .mode-halves .g3whq-cake-piece.half.right { transform:translateX(4%); }
.rejoin-halves .g3whq-cake-piece.half { opacity:1; transform:none !important; }
.rejoin-halves .g3whq-cake-whole { opacity:.14; }
.mode-quarters .g3whq-cake-whole,.mode-quarter-rejoin .g3whq-cake-whole { opacity:1; }
.g3whq-independent .mode-quarters .g3whq-cake-whole { opacity:.08; }
.g3whq-independent .mode-quarters .g3whq-cake-piece.quarter { opacity:1; }
.g3whq-independent .mode-quarters .q1 { transform:translate(-3%,-3%); }.g3whq-independent .mode-quarters .q2 { transform:translate(3%,-3%); }.g3whq-independent .mode-quarters .q3 { transform:translate(-3%,3%); }.g3whq-independent .mode-quarters .q4 { transform:translate(3%,3%); }
.show-quarter-lines .g3whq-cut-line { opacity:1; transform:translateX(-50%) scaleY(1); box-shadow:0 0 0 2px rgba(255,255,255,.65); }
.show-quarter-lines .g3whq-cake-stage::after { content:""; position:absolute; z-index:6; left:3%; top:50%; width:94%; height:4px; border-radius:999px; background:repeating-linear-gradient(90deg,#ff9e21 0 10px,transparent 10px 18px); }
.show-quarters .g3whq-cake-whole { opacity:0; }
.show-quarters .g3whq-cake-piece.quarter { opacity:1; }
.show-quarters .q1 { transform:translate(-3%,-3%); }.show-quarters .q2 { transform:translate(3%,-3%); }.show-quarters .q3 { transform:translate(-3%,3%); }.show-quarters .q4 { transform:translate(3%,3%); }
.mode-quarter-rejoin .g3whq-cake-whole { opacity:.1; }
.mode-quarter-rejoin .g3whq-cake-piece.quarter { opacity:1; }
.mode-quarter-rejoin .q1 { transform:translate(-20%,-20%); }.mode-quarter-rejoin .q2 { transform:translate(20%,-20%); }.mode-quarter-rejoin .q3 { transform:translate(-20%,20%); }.mode-quarter-rejoin .q4 { transform:translate(20%,20%); }
.mode-quarter-rejoin .g3whq-cake-piece.rejoined { transform:none; }
.g3whq-scene-label { position:absolute; z-index:9; left:50%; bottom:4%; width:max-content; max-width:88%; padding:8px 16px; border-radius:999px; color:#fff; background:#087f72; font-size:clamp(12px,1.3vw,19px); letter-spacing:.04em; transform:translateX(-50%); box-shadow:0 8px 20px rgba(7,91,81,.22); }
.g3whq-story-card { position:absolute; z-index:10; left:50%; bottom:5%; display:grid; justify-items:center; gap:3px; width:min(74%,620px); padding:12px 18px; border:3px solid #ffbd35; border-radius:20px; background:rgba(255,255,255,.95); transform:translateX(-50%); }
.g3whq-story-card b { color:#114f49; font-size:clamp(17px,1.6vw,25px); }.g3whq-story-card span { color:#486c67; font-weight:800; text-align:center; }
.g3whq-name-card { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; justify-content:stretch; gap:10px; width:100%; max-width:220px; min-width:0; padding:8px 13px; overflow:hidden; border:3px solid #acd8d1; border-radius:17px; color:#144f49; background:#fff; box-shadow:0 8px 18px rgba(12,82,74,.12); }
.g3whq-name-card b { font-size:clamp(12px,1.2vw,18px); }.g3whq-name-card span { display:grid; place-items:center; min-width:52px; min-height:44px; border-radius:12px; color:#fff; background:#087f72; font-size:clamp(20px,2vw,30px); font-weight:950; }
.g3whq-whole > .g3whq-name-card { position:absolute; z-index:12; right:5%; top:16%; }
.g3whq-double-label { position:absolute; z-index:12; left:50%; bottom:2%; display:flex; gap:14px; transform:translateX(-50%); }
.g3whq-teacher-cut > p,.g3whq-unequal > p,.g3whq-student-cut > p,.g3whq-assembly > p { position:absolute; z-index:12; left:50%; bottom:2%; width:min(90%,720px); margin:0; padding:8px 14px; border-radius:999px; color:#18524d; background:rgba(255,255,255,.94); font-weight:850; text-align:center; transform:translateX(-50%); }
.g3whq-cut-track { --cut-progress:0; position:absolute; z-index:20; left:50%; top:20%; width:54px; height:52%; border:3px dashed #f29b27; border-radius:999px; transform:translateX(-50%); touch-action:none; cursor:ns-resize; }
.g3whq-cut-track::before { content:""; position:absolute; left:50%; top:0; width:7px; height:calc(var(--cut-progress) * 100%); border-radius:999px; background:#ef754a; transform:translateX(-50%); }
.g3whq-cut-track i { position:absolute; left:50%; top:calc(var(--cut-progress) * 100%); width:30px; height:8px; border-radius:999px; background:#ffb528; transform:translate(-50%,-50%); }.g3whq-cut-track b { position:absolute; left:50%; top:calc(var(--cut-progress) * 100%); font-size:23px; transform:translate(10px,-50%); }
.g3whq-cut-track.is-locked { opacity:.38; cursor:not-allowed; }
.g3whq-size-model { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; width:min(94%,720px); margin:80px auto 0; }
.g3whq-size-model section { display:grid; place-items:center; gap:12px; min-height:360px; padding:18px; border:3px solid #b3dcd5; border-radius:24px; background:#fff; }
.g3whq-size-model img { width:min(85%,290px); aspect-ratio:1; object-fit:contain; }.g3whq-size-model .half-model { clip-path:polygon(0 0,50% 0,50% 100%,0 100%); }.g3whq-size-model .quarter-model { clip-path:polygon(0 0,50% 0,50% 50%,0 50%); }
.g3whq-symbol-row,.g3whq-shape-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; width:min(96%,900px); margin:88px auto 0; }
.g3whq-symbol-row section,.g3whq-shape-row section { display:grid; place-items:center; gap:15px; min-width:0; min-height:340px; padding:18px; overflow:hidden; border:3px solid #b1dcd5; border-radius:24px; background:#fff; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease; }
.g3whq-symbol-row section.spoken-focus,.g3whq-shape-row section.spoken-focus { z-index:2; transform:translateY(-4px) scale(1.025); border-color:#f2a51f; background:#fffaf0; box-shadow:0 0 0 7px rgba(255,177,47,.19),0 14px 30px rgba(111,78,27,.18); }
.g3whq-symbol-row section > i { display:block; width:min(100%,170px); aspect-ratio:1; box-sizing:border-box; border:5px solid #0b8d80; border-radius:50%; background:#72cfbf; }.g3whq-symbol-row section > i.half { clip-path:inset(0 50% 0 0); }.g3whq-symbol-row section > i.quarter { clip-path:polygon(0 0,50% 0,50% 50%,0 50%); }
.g3whq-symbols > p,.g3whq-shapes > p { margin:12px auto 0; color:#2d5d58; font-weight:850; text-align:center; }
.g3whq-shape-row section { min-height:320px; }.g3whq-shape-row .strip { position:relative; display:block; width:min(100%,190px); height:auto; aspect-ratio:19/13; box-sizing:border-box; overflow:hidden; border:5px solid #0b8d80; border-radius:15px; background:#ffcf69; }.g3whq-shape-row .strip::after { content:""; position:absolute; background:#fff; opacity:.9; }.g3whq-shape-row .vertical::after { left:50%; top:0; width:5px; height:100%; }.g3whq-shape-row .horizontal::after { left:0; top:50%; width:100%; height:5px; }.g3whq-shape-row .diagonal::after { left:-15%; top:50%; width:130%; height:5px; transform:rotate(-34deg); }.g3whq-shape-row b { width:100%; color:#17564f; text-align:center; overflow-wrap:anywhere; }
.g3whq-assembly-stage { position:relative; width:min(100%,900px); aspect-ratio:16/9; margin:auto; overflow:hidden; border-radius:24px; }
.g3whq-assembly-target { position:absolute; z-index:4; left:50%; top:53.5%; width:40%; aspect-ratio:1; border:4px dashed #f2a323; border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 8px rgba(255,211,104,.2); }
.g3whq-assemble-piece { position:absolute; z-index:8; width:25%; aspect-ratio:1; padding:0; border:0; background:transparent; cursor:grab; touch-action:none; transition:all .8s cubic-bezier(.22,.9,.32,1); transform:translate(var(--drag-x,0),var(--drag-y,0)); }.g3whq-assemble-piece img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 8px 8px rgba(75,37,19,.25)); }.g3whq-assemble-piece.p1 { left:4%; top:8%; }.g3whq-assemble-piece.p2 { right:4%; top:8%; }.g3whq-assemble-piece.p3 { left:4%; bottom:8%; }.g3whq-assemble-piece.p4 { right:4%; bottom:8%; }.g3whq-assemble-piece.p1 img { clip-path:polygon(0 0,50% 0,50% 50%,0 50%); }.g3whq-assemble-piece.p2 img { clip-path:polygon(50% 0,100% 0,100% 50%,50% 50%); }.g3whq-assemble-piece.p3 img { clip-path:polygon(0 50%,50% 50%,50% 100%,0 100%); }.g3whq-assemble-piece.p4 img { clip-path:polygon(50% 50%,100% 50%,100% 100%,50% 100%); }
.g3whq-assemble-piece.placed { left:50%; top:53.5%; width:40%; transform:translate(-50%,-50%); cursor:default; }.g3whq-assemble-piece.placed img { filter:none; }
.g3whq-independent > h2 { position:absolute; z-index:12; left:50%; bottom:2%; width:min(88%,720px); margin:0; padding:10px 16px; border-radius:18px; color:#154f49; background:rgba(255,255,255,.95); text-align:center; transform:translateX(-50%); }.g3whq-scene.compact { width:min(100%,780px); }
.g3whq-alternative { position:absolute; inset:7% 5%; z-index:30; display:grid; align-content:center; gap:18px; padding:25px; border:4px solid #70c7ba; border-radius:26px; background:rgba(249,255,253,.985); box-shadow:0 18px 40px rgba(12,72,66,.24); }.g3whq-paper-demo { display:grid; grid-template-columns:repeat(4,1fr); width:min(90%,650px); min-height:150px; margin:auto; border:4px solid #087f72; border-radius:18px; background:#fff4c6; }.g3whq-paper-demo i + i { border-left:4px dashed #ef784d; }.g3whq-alternative p { margin:0; color:#315f5a; font-size:clamp(15px,1.4vw,20px); font-weight:850; text-align:center; }
.g3whq-finish { display:grid; place-items:center; min-height:min(650px,calc(100vh - 330px)); text-align:center; }.g3whq-finish > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.45; }.g3whq-finish > div { position:relative; z-index:2; width:min(86%,720px); padding:28px; border-radius:25px; background:rgba(255,255,255,.95); box-shadow:0 18px 38px rgba(16,77,70,.2); }.g3whq-finish span { color:#e46942; font-weight:950; letter-spacing:.08em; }.g3whq-finish h1 { margin:7px 0; color:#164c48; font-size:clamp(23px,2.4vw,36px); line-height:1.08; }.g3whq-finish p { margin:0; color:#087f72; font-size:clamp(18px,2vw,30px); font-weight:950; }
.grade3-whq-footer .final-choice-row { align-items:stretch; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }

@media (max-width:900px) { .grade3-whq-board .board-square { min-height:540px; padding:9px; }.g3whq-cake-stage { width:42%; }.g3whq-symbol-row,.g3whq-shape-row { gap:8px; margin-top:70px; }.g3whq-symbol-row section,.g3whq-shape-row section { min-height:290px; padding:8px; }.g3whq-symbol-row section > i { width:120px; }.g3whq-shape-row .strip { width:135px; height:95px; } }
@media (max-width:620px) { .grade3-whq-board .board-square { min-height:410px; }.g3whq-scene,.g3whq-assembly-stage { width:100%; border-radius:18px; }.g3whq-cake-stage { width:43%; }.g3whq-story-card { bottom:3%; padding:5px 9px; }.g3whq-story-card b { font-size:13px; }.g3whq-story-card span { font-size:10px; }.g3whq-scene-label { bottom:2%; padding:4px 9px; font-size:9px; }.g3whq-whole > .g3whq-name-card { right:3%; top:14%; }.g3whq-name-card { gap:4px; padding:4px 6px; border-width:2px; }.g3whq-name-card b { font-size:9px; }.g3whq-name-card span { min-width:32px; min-height:28px; font-size:15px; }.g3whq-double-label { bottom:1%; gap:5px; }.g3whq-teacher-cut > p,.g3whq-unequal > p,.g3whq-student-cut > p,.g3whq-assembly > p { padding:4px 7px; font-size:9px; }.g3whq-cut-track { top:21%; width:38px; height:48%; }.g3whq-size-model { gap:8px; margin-top:48px; }.g3whq-size-model section { min-height:250px; padding:7px; }.g3whq-symbol-row,.g3whq-shape-row { gap:5px; margin-top:48px; }.g3whq-symbol-row section,.g3whq-shape-row section { min-height:235px; padding:5px; border-width:2px; }.g3whq-symbol-row section > i { width:78px; border-width:3px; }.g3whq-shape-row .strip { width:84px; height:68px; border-width:3px; }.g3whq-shapes > p,.g3whq-symbols > p { font-size:10px; }.g3whq-independent > h2 { padding:6px; font-size:14px; }.g3whq-alternative { inset:4%; padding:12px; }.g3whq-paper-demo { min-height:100px; }.grade3-whq-footer .assessment-choice { min-height:44px; }.grade3-whq-footer .final-choice-row { grid-template-columns:repeat(auto-fit,minmax(95px,1fr)); } }
@media (prefers-reduced-motion:reduce) { .grade3-whq-board *,.grade3-whq-board *::before,.grade3-whq-board *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } }

/* 3. sınıf · 10'ar ve 100'er ritmik sayma */
.grade3-rhythm10100-board { --r101-ink:#123c4a; --r101-teal:#078b7e; --r101-dark:#00655f; --r101-yellow:#ffd76b; --r101-orange:#f27b45; --r101-line:#9bcfc6; }
.grade3-rhythm10100-board .board-square { position:relative; width:100%; aspect-ratio:4/3; min-height:0; overflow:hidden; border-radius:26px; color:var(--r101-ink); background:linear-gradient(145deg,#edf9f5,#dff2ec); }
.grade3-rhythm10100-board .board-kicker { z-index:12; }
.g3r101-tower-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.g3r101-hero>img,.g3r101-finish>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3r101-hero::after,.g3r101-finish::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,54,55,.78),rgba(6,54,55,.08) 70%); }
.g3r101-hero>div,.g3r101-finish>div { position:absolute; z-index:2; left:5%; top:17%; width:49%; padding:18px; border-radius:22px; color:#fff; background:rgba(5,64,66,.86); box-shadow:0 16px 36px rgba(6,46,50,.25); }
.g3r101-hero h1,.g3r101-finish h1 { margin:12px 0 8px; font-size:clamp(1.35rem,3vw,2.1rem); line-height:1.1; }
.g3r101-hero h1,.g3r101-finish h1 { overflow:visible; overflow-wrap:anywhere; }
.g3r101-hero p,.g3r101-finish p { margin:0; font-size:.9rem; font-weight:780; line-height:1.45; }
.g3r101-hero .board-kicker { position:static; display:inline-flex; color:#17444b; background:var(--r101-yellow); }
.g3r101-finish>div>span { display:inline-flex; padding:5px 10px; border-radius:999px; color:#17444b; background:var(--r101-yellow); font-size:.68rem; font-weight:950; letter-spacing:.05em; }

.g3r101-model { padding:0; }
.g3r101-model>.board-kicker { top:10px; left:13px; }
.g3r101-model>p,.g3r101-teacher>p { position:absolute; z-index:11; left:18px; right:18px; bottom:9px; margin:0; padding:8px 12px; border-radius:14px; text-align:center; background:rgba(255,253,248,.96); font-size:.76rem; font-weight:850; box-shadow:0 6px 18px rgba(9,55,56,.12); }
.g3r101-tower { position:absolute; inset:39px 11px 45px; overflow:hidden; border:2px solid rgba(7,139,126,.28); border-radius:20px; background:#dfefe9; }
.g3r101-tower::after,.g3r101-sequence-stage::after,.g3r101-question-method::after,.g3r101-exchange::after,.g3r101-compare::after,.g3r101-mixed::after,.g3r101-ordinal::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(221,245,238,.2) 65%,rgba(221,245,238,.72)); }
.g3r101-shelf { position:absolute; z-index:3; display:flex; align-items:flex-end; justify-content:center; gap:3px; padding:4px; border-radius:13px; background:rgba(255,253,248,.88); box-shadow:0 7px 15px rgba(8,53,55,.15); }
.g3r101-shelf>small { position:absolute; bottom:3px; left:4px; right:4px; text-align:center; color:var(--r101-dark); font-size:.48rem; font-weight:950; }
.g3r101-shelf .g3r101-units { padding-bottom:13px; }
.g3r101-shelf.hundred-shelf { left:4%; top:12%; width:29%; height:38%; }
.g3r101-shelf.ten-shelf { left:35.5%; top:12%; width:29%; height:38%; }
.g3r101-shelf.one-shelf { left:67%; top:12%; width:20%; height:38%; }
.g3r101-units { display:flex; align-items:flex-end; justify-content:center; flex-wrap:wrap; gap:2px; }
.g3r101-units img { display:block; width:43px; height:58px; object-fit:contain; filter:drop-shadow(0 3px 3px rgba(23,50,48,.25)); }
.g3r101-units.ten img { width:34px; height:50px; }
.g3r101-shelf .g3r101-units.hundred img { width:48px; height:57px; }
.g3r101-ones { display:grid; grid-template-columns:repeat(3,14px); gap:4px; padding-bottom:16px; }
.g3r101-ones i { width:13px; height:29px; border-radius:3px; background:linear-gradient(90deg,#ffd76b,#f6a941); box-shadow:0 2px 3px rgba(70,54,20,.25); }
.g3r101-digits { position:absolute; z-index:7; left:18%; right:18%; bottom:3%; display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.g3r101-digits span { position:relative; min-height:61px; display:grid; place-items:center; align-content:center; border:3px solid rgba(7,139,126,.32); border-radius:14px; background:rgba(255,253,248,.97); box-shadow:0 6px 15px rgba(10,58,59,.14); transition:.25s; }
.g3r101-digits small { color:var(--r101-dark); font-size:.49rem; font-weight:950; }
.g3r101-digits b { font-size:1.65rem; line-height:1; }
.g3r101-digits span.focus { border-color:var(--r101-orange); box-shadow:0 0 0 7px rgba(255,215,107,.58); transform:translateY(-3px); }
.g3r101-digits span.locked { opacity:.72; }
.g3r101-digits span.locked i { position:absolute; right:5px; top:5px; color:var(--r101-teal); font-size:.48rem; font-style:normal; }

.g3r101-teacher { padding:0; }
.g3r101-teacher>.board-kicker { left:13px; top:10px; }
.g3r101-sequence-stage { position:absolute; inset:40px 11px 45px; overflow:hidden; border-radius:20px; background:#dcefe9; }
.g3r101-step-unit { position:absolute; z-index:4; left:3%; top:5%; width:112px; display:grid; place-items:center; padding:7px; border-radius:17px; background:rgba(255,253,248,.94); }
.g3r101-step-unit .g3r101-units img { width:68px; height:72px; }
.g3r101-step-unit>b { min-width:65px; padding:4px 8px; border-radius:999px; text-align:center; color:white; background:var(--r101-teal); font-size:1rem; }
.g3r101-sequence-cards { position:absolute; z-index:5; left:24%; right:3%; top:9%; display:flex; align-items:center; justify-content:center; gap:6px; }
.g3r101-sequence-cards>i,.g3r101-question-cards>i,.g3r101-ordinal-row>i { color:var(--r101-orange); font-style:normal; font-size:1.25rem; font-weight:950; }
.g3r101-sequence-cards>span { flex:1; min-width:0; min-height:149px; display:grid; place-items:center; align-content:start; gap:3px; padding:8px 5px; border:3px solid var(--r101-line); border-radius:17px; background:rgba(255,255,255,.95); opacity:.16; transform:translateY(7px) scale(.92); transition:.3s; }
.g3r101-sequence-cards>span.revealed,.g3r101-sequence-stage.show-all .g3r101-sequence-cards>span { opacity:1; transform:none; }
.g3r101-sequence-cards>span.current { border-color:var(--r101-orange); box-shadow:0 0 0 7px rgba(255,215,107,.6); }
.g3r101-sequence-cards>span>small { color:var(--r101-dark); font-size:.52rem; font-weight:950; }
.g3r101-sequence-cards>span>b { font-size:1.65rem; }
.g3r101-sequence-cards .g3r101-digits { position:static; width:100%; gap:2px; }
.g3r101-sequence-cards .g3r101-digits span { min-height:48px; border-width:2px; border-radius:8px; }
.g3r101-sequence-cards .g3r101-digits small { display:none; }
.g3r101-sequence-cards .g3r101-digits b { font-size:1rem; }
.g3r101-moving-units { position:absolute; z-index:5; left:24%; right:3%; bottom:4%; display:flex; justify-content:center; }
.g3r101-moving-units .g3r101-units { gap:35px; }
.g3r101-moving-units img { opacity:.12; transform:translate(95px,-12px) scale(.72); transition:.45s ease-out; }
.g3r101-moving-units img.arrived { opacity:1; transform:none; }
.g3r101-moving-units img.leaving { opacity:.1; transform:translate(95px,25px) scale(.65); }

.g3r101-question { padding:0; }
.g3r101-question>.board-kicker { left:13px; top:10px; }
.g3r101-question-method { position:absolute; inset:40px 10px 10px; overflow:hidden; border-radius:20px; background:#dcefe9; }
.g3r101-question-unit { position:absolute; z-index:4; left:3%; top:7%; width:105px; display:grid; place-items:center; padding:7px; border-radius:17px; background:rgba(255,253,248,.95); }
.g3r101-question-unit img { width:67px; height:72px; }
.g3r101-question-unit>b { padding:4px 9px; border-radius:999px; color:white; background:var(--r101-teal); }
.g3r101-question-cards { position:absolute; z-index:5; left:22%; right:3%; top:13%; display:flex; align-items:center; justify-content:center; gap:6px; }
.g3r101-question-cards span { flex:1; min-width:0; max-width:108px; min-height:83px; display:grid; place-items:center; align-content:center; border:3px solid var(--r101-line); border-radius:16px; background:white; }
.g3r101-question-cards span.missing { border-style:dashed; border-color:var(--r101-orange); background:#fff7df; }
.g3r101-question-cards small { color:var(--r101-dark); font-size:.48rem; font-weight:950; }
.g3r101-question-cards b { font-size:1.55rem; }
.g3r101-question-method>.g3r101-digits { left:31%; right:14%; bottom:19%; }
.g3r101-question-method>.g3r101-digits span.focus { box-shadow:none; border-color:var(--r101-line); }
.g3r101-question-method.show-focus>.g3r101-digits span.focus { border-color:var(--r101-orange); box-shadow:0 0 0 7px rgba(255,215,107,.58); }
.g3r101-question-method>p { position:absolute; z-index:5; left:6%; right:6%; bottom:3%; margin:0; padding:8px; border-radius:13px; text-align:center; background:rgba(255,253,248,.97); font-size:.7rem; font-weight:850; }
.g3r101-question-method.answered .missing { border-style:solid; box-shadow:0 0 0 7px rgba(255,215,107,.6); }
.g3r101-alternate { position:absolute; inset:40px 10px 10px; display:grid; place-items:center; align-content:center; gap:13px; padding:45px 20px 14px; border-radius:20px; background:linear-gradient(145deg,#e7f8f3,#fff7df); }
.g3r101-alternate .board-kicker { top:10px; left:13px; }
.g3r101-pocket-row { position:relative; width:430px; height:72px; }
.g3r101-pocket-row .g3r101-digits { inset:0; }
.g3r101-block-action { display:flex; align-items:center; justify-content:center; gap:12px; }
.g3r101-block-action>b,.g3r101-block-action>strong { min-width:75px; text-align:center; font-size:2rem; }
.g3r101-block-action>strong { color:var(--r101-orange); }
.g3r101-block-action>em { color:var(--r101-orange); font-size:1.5rem; font-style:normal; font-weight:950; }
.g3r101-ten-rod { display:grid; grid-template-columns:repeat(2,10px); gap:1px; padding:5px; border:2px solid var(--r101-teal); border-radius:6px; }
.g3r101-ten-rod i { width:9px; height:9px; background:var(--r101-yellow); }
.g3r101-hundred-grid { display:grid; grid-template-columns:repeat(10,3px); gap:1px; padding:4px; border:2px solid var(--r101-teal); border-radius:5px; }
.g3r101-hundred-grid i { width:3px; height:3px; background:var(--r101-yellow); }
.g3r101-alternate>p { margin:0; text-align:center; font-size:.75rem; font-weight:850; }

.g3r101-exchange-board { padding:0; }
.g3r101-exchange-board>.board-kicker { left:13px; top:10px; }
.g3r101-exchange { position:absolute; inset:40px 10px 10px; overflow:hidden; border-radius:20px; }
.g3r101-exchange-digits { position:absolute; z-index:8; left:34%; right:25%; bottom:3%; height:61px; transition:.35s; }
.g3r101-exchange-digits>.g3r101-digits { inset:0; }
.g3r101-exchange-digits.after { opacity:0; transform:translateY(7px); }
.g3r101-exchange.show-result .g3r101-exchange-digits.before { opacity:0; transform:translateY(-7px); }
.g3r101-exchange.show-result .g3r101-exchange-digits.after { opacity:1; transform:none; }
.g3r101-exchange-tens { position:absolute; z-index:4; left:7%; top:16%; width:47%; padding:7px; border-radius:16px; background:rgba(255,253,248,.92); transition:.5s; }
.g3r101-exchange-tens .g3r101-units img { width:38px; height:52px; transition:.45s; }
.g3r101-exchange-arrow { position:absolute; z-index:5; left:36%; top:49%; padding:6px 10px; border-radius:999px; background:white; font-size:.68rem; font-weight:900; opacity:0; transition:.35s; }
.g3r101-exchange-arrow b { color:var(--r101-orange); font-size:1.2rem; }
.g3r101-exchange-hundred { position:absolute; z-index:5; right:8%; top:15%; width:120px; display:grid; place-items:center; padding:8px; border-radius:17px; background:rgba(255,253,248,.94); opacity:0; transform:translateY(25px) scale(.75); transition:.45s; }
.g3r101-exchange-hundred img { width:90px; height:105px; }
.g3r101-exchange-result { position:absolute; z-index:7; left:38%; top:59%; padding:8px 14px; border-radius:14px; color:white; background:var(--r101-dark); font-size:1.05rem; font-weight:900; opacity:0; transform:translateY(8px); transition:.35s; }
.g3r101-exchange.bundle-tens .g3r101-exchange-tens img { transform:translateX(105px) scale(.5); opacity:.25; }
.g3r101-exchange.bundle-tens .g3r101-exchange-arrow,.g3r101-exchange.make-hundred .g3r101-exchange-arrow { opacity:1; }
.g3r101-exchange.make-hundred .g3r101-exchange-hundred,.g3r101-exchange.show-result .g3r101-exchange-hundred { opacity:1; transform:none; }
.g3r101-exchange.show-result .g3r101-exchange-result { opacity:1; transform:none; }

.g3r101-compare { padding:0; }
.g3r101-compare>.board-kicker,.g3r101-mixed>.board-kicker,.g3r101-ordinal>.board-kicker { left:13px; top:10px; }
.g3r101-compare-method { position:absolute; z-index:5; top:18%; width:39%; min-height:216px; display:grid; place-items:center; align-content:center; gap:6px; padding:10px; border:3px solid var(--r101-line); border-radius:19px; background:rgba(255,253,248,.95); opacity:.12; transform:translateY(10px); transition:.4s; }
.g3r101-compare-method.ten { left:8%; }
.g3r101-compare-method.hundred { right:8%; }
.g3r101-compare.show-ten .ten,.g3r101-compare.show-hundred .hundred { opacity:1; transform:none; }
.g3r101-compare-method>small { color:var(--r101-dark); font-weight:950; }
.g3r101-compare-method>.g3r101-units img { width:65px; height:68px; }
.g3r101-compare-method>b { font-size:1.4rem; }
.g3r101-compare-method>.g3r101-digits { position:static; width:88%; }
.g3r101-compare-method>.g3r101-digits span { min-height:47px; }
.g3r101-compare-method>.g3r101-digits small { display:none; }
.g3r101-compare-method>.g3r101-digits b { font-size:1rem; }
.g3r101-compare>p { position:absolute; z-index:5; left:11%; right:11%; bottom:5%; margin:0; padding:9px; border-radius:14px; text-align:center; background:rgba(255,253,248,.96); font-size:.76rem; font-weight:850; }

.g3r101-mixed { padding:0; }
.g3r101-mixed-center { position:absolute; z-index:5; inset:64px 8% 9%; display:grid; place-items:center; align-content:center; gap:17px; }
.g3r101-mixed-center>.g3r101-digits { position:static; width:52%; }
.g3r101-mixed-center>div { width:100%; display:grid; grid-template-columns:1fr 105px 1fr; align-items:center; gap:12px; }
.g3r101-mixed-center>div>span,.g3r101-mixed-center>div>strong { min-height:92px; display:grid; place-items:center; align-content:center; border:3px solid var(--r101-line); border-radius:17px; background:rgba(255,253,248,.96); }
.g3r101-mixed-center>div>span small { color:var(--r101-dark); font-size:.55rem; font-weight:950; }
.g3r101-mixed-center>div>span b,.g3r101-mixed-center>div>strong { font-size:1.7rem; }
.g3r101-mixed-center .filled { box-shadow:0 0 0 7px rgba(255,215,107,.6); }

.g3r101-ordinal { padding:0; }
.g3r101-ordinal-row { position:absolute; z-index:5; left:5%; right:5%; top:25%; display:flex; align-items:center; justify-content:center; gap:4px; }
.g3r101-ordinal-row>span { flex:1; min-width:0; max-width:112px; min-height:123px; display:grid; place-items:center; align-content:center; gap:3px; border:3px solid var(--r101-line); border-radius:17px; background:rgba(255,253,248,.96); }
.g3r101-ordinal-row>span.missing { border-style:dashed; border-color:var(--r101-orange); }
.g3r101-ordinal-row small { color:var(--r101-dark); font-size:.48rem; font-weight:950; }
.g3r101-ordinal-row b { font-size:1.45rem; }
.g3r101-ordinal-row .g3r101-units img { width:42px; height:45px; }
.g3r101-ordinal>p { position:absolute; z-index:5; left:8%; right:8%; bottom:9%; margin:0; padding:9px; border-radius:14px; text-align:center; background:rgba(255,253,248,.97); font-size:.75rem; font-weight:850; }

@media (max-width:760px) {
  .grade3-rhythm10100-board .board-square { min-height:390px; }
  .g3r101-hero>div,.g3r101-finish>div { left:4%; top:14%; width:62%; padding:12px; }
  .g3r101-hero h1,.g3r101-finish h1 { font-size:1.17rem; }
  .g3r101-hero p,.g3r101-finish p { font-size:.63rem; }
  .g3r101-tower { inset:38px 5px 43px; }
  .g3r101-shelf.hundred-shelf { left:2%; width:31%; }
  .g3r101-shelf.ten-shelf { left:34.5%; width:31%; }
  .g3r101-shelf.one-shelf { left:67%; width:22%; }
  .g3r101-shelf .g3r101-units img { width:31px; height:40px; }
  .g3r101-shelf .g3r101-units.ten img { width:22px; height:35px; }
  .g3r101-shelf>small { font-size:.38rem; }
  .g3r101-ones { grid-template-columns:repeat(3,9px); gap:2px; }
  .g3r101-ones i { width:8px; height:20px; }
  .g3r101-digits { left:10%; right:10%; gap:3px; }
  .g3r101-digits span { min-height:52px; border-width:2px; border-radius:10px; }
  .g3r101-digits small { font-size:.38rem; }
  .g3r101-digits b { font-size:1.35rem; }
  .g3r101-model>p,.g3r101-teacher>p { left:7px; right:7px; font-size:.61rem; }
  .g3r101-sequence-stage { inset:39px 5px 43px; }
  .g3r101-step-unit { left:1%; top:3%; width:76px; padding:4px; }
  .g3r101-step-unit .g3r101-units img { width:48px; height:54px; }
  .g3r101-step-unit>b { min-width:48px; font-size:.76rem; }
  .g3r101-sequence-cards { left:22%; right:1%; top:7%; gap:2px; }
  .g3r101-sequence-cards>i { font-size:.75rem; }
  .g3r101-sequence-cards>span { min-height:137px; padding:5px 2px; border-width:2px; border-radius:10px; }
  .g3r101-sequence-cards>span>b { font-size:1.03rem; }
  .g3r101-sequence-cards>span>small { font-size:.38rem; }
  .g3r101-sequence-cards .g3r101-digits b { font-size:.72rem; }
  .g3r101-moving-units { left:23%; bottom:3%; }
  .g3r101-moving-units .g3r101-units { gap:10px; }
  .g3r101-moving-units img { width:39px; height:47px; }
  .g3r101-question-method { inset:39px 5px 5px; }
  .g3r101-question-unit { left:1%; top:4%; width:73px; padding:4px; }
  .g3r101-question-unit img { width:48px; height:54px; }
  .g3r101-question-cards { left:20%; right:1%; top:9%; gap:2px; }
  .g3r101-question-cards>i { font-size:.65rem; }
  .g3r101-question-cards span { min-height:70px; border-width:2px; border-radius:10px; }
  .g3r101-question-cards b { font-size:1rem; }
  .g3r101-question-method>.g3r101-digits { left:24%; right:7%; }
  .g3r101-question-method>p { left:2%; right:2%; font-size:.58rem; }
  .g3r101-alternate { inset:39px 5px 5px; padding:43px 6px 7px; gap:8px; }
  .g3r101-pocket-row { width:280px; height:60px; }
  .g3r101-block-action { gap:6px; }
  .g3r101-block-action>b,.g3r101-block-action>strong { min-width:50px; font-size:1.35rem; }
  .g3r101-alternate>p { font-size:.58rem; }
  .g3r101-exchange { inset:39px 5px 5px; }
  .g3r101-exchange-tens { left:2%; top:14%; width:52%; }
  .g3r101-exchange-tens .g3r101-units img { width:27px; height:37px; }
  .g3r101-exchange-hundred { right:2%; width:83px; }
  .g3r101-exchange-hundred img { width:65px; height:75px; }
  .g3r101-exchange-arrow { left:30%; font-size:.5rem; }
  .g3r101-exchange-result { left:29%; font-size:.82rem; }
  .g3r101-exchange-digits { left:24%; right:16%; }
  .g3r101-compare-method { top:19%; width:44%; min-height:210px; padding:6px 3px; }
  .g3r101-compare-method.ten { left:3%; }
  .g3r101-compare-method.hundred { right:3%; }
  .g3r101-compare-method>b { font-size:1.02rem; }
  .g3r101-compare-method>.g3r101-units img { width:52px; height:55px; }
  .g3r101-compare>p { left:3%; right:3%; font-size:.59rem; }
  .g3r101-mixed-center { inset:55px 3% 7%; gap:10px; }
  .g3r101-mixed-center>.g3r101-digits { width:70%; }
  .g3r101-mixed-center>div { grid-template-columns:1fr 68px 1fr; gap:4px; }
  .g3r101-mixed-center>div>span,.g3r101-mixed-center>div>strong { min-height:82px; border-width:2px; }
  .g3r101-mixed-center>div>span b,.g3r101-mixed-center>div>strong { font-size:1.15rem; }
  .g3r101-mixed-center>div>span small { font-size:.39rem; }
  .g3r101-ordinal-row { left:2%; right:2%; top:24%; gap:2px; }
  .g3r101-ordinal-row>i { font-size:.62rem; }
  .g3r101-ordinal-row>span { min-height:112px; border-width:2px; border-radius:10px; }
  .g3r101-ordinal-row b { font-size:.92rem; }
  .g3r101-ordinal-row small { font-size:.35rem; }
  .g3r101-ordinal-row .g3r101-units img { width:31px; height:34px; }
  .g3r101-ordinal>p { left:3%; right:3%; font-size:.58rem; }
}

/* 48. ders düzeltme katmanı · temiz raf, deterministik hareket ve tek odak */
.g3r101-ones { grid-template-columns:repeat(3,28px); gap:3px; }
.g3r101-ones img { display:block; width:27px; height:34px; object-fit:contain; filter:drop-shadow(0 2px 2px rgba(23,50,48,.2)); }
.g3r101-clean-shelves { position:absolute; inset:0; overflow:hidden; background:linear-gradient(145deg,#e9f8f3,#d8eee7); }
.g3r101-clean-shelves::before { content:""; position:absolute; inset:8% 3% 17%; border:3px solid rgba(7,139,126,.16); border-radius:20px; background:repeating-linear-gradient(180deg,rgba(255,255,255,.68) 0 29%,rgba(123,85,43,.2) 29% 31%); }
.g3r101-clean-shelves i { position:absolute; z-index:1; top:8%; bottom:17%; width:2px; background:rgba(7,139,126,.14); }
.g3r101-clean-shelves i:nth-child(1) { left:25%; }.g3r101-clean-shelves i:nth-child(2) { left:50%; }.g3r101-clean-shelves i:nth-child(3) { left:75%; }
.g3r101-teacher>.board-kicker { max-width:calc(100% - 26px); white-space:normal; line-height:1.15; }
.g3r101-sequence-stage { background:linear-gradient(145deg,#edf9f5,#dcefe9); }
.g3r101-sequence-cards { left:21%; right:2.5%; top:9%; display:grid; grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr) 72px minmax(0,1fr); gap:5px; }
.g3r101-sequence-cards>span { width:100%; min-height:158px; align-content:start; }
.g3r101-sequence-cards>span.guided-ready { cursor:pointer; border-color:var(--r101-orange); box-shadow:0 0 0 7px rgba(255,215,107,.48); }
.g3r101-sequence-cards>span.guided-ready:focus-visible { outline:3px solid var(--r101-dark); outline-offset:4px; }
.g3r101-sequence-cards>span.guided-confirmed { border-color:var(--r101-teal); }
.g3r101-sequence-connector { min-width:0; display:grid; place-items:center; align-content:center; gap:1px; color:var(--r101-dark); }
.g3r101-sequence-connector img { width:52px; height:62px; object-fit:contain; filter:drop-shadow(0 4px 4px rgba(23,50,48,.22)); transition:opacity .45s,transform .55s; }
.g3r101-sequence-connector small { padding:3px 6px; border-radius:999px; color:#fff; background:var(--r101-teal); font-size:.48rem; font-weight:950; }
.g3r101-sequence-connector i { color:var(--r101-orange); font-size:1.25rem; font-style:normal; font-weight:950; }
.g3r101-sequence-stage.forward .g3r101-sequence-connector img { opacity:0; transform:translate(55px,34px) scale(.68); }
.g3r101-sequence-stage.forward .g3r101-sequence-connector.arrived img,.g3r101-sequence-stage.show-all.forward .g3r101-sequence-connector img { opacity:1; transform:none; }
.g3r101-sequence-stage.backward .g3r101-sequence-connector img { opacity:1; transform:none; }
.g3r101-sequence-stage.backward .g3r101-sequence-connector.leaving img,.g3r101-sequence-stage.show-all.backward .g3r101-sequence-connector img { opacity:0; transform:translate(58px,34px) scale(.64); }
.g3r101-motion-rule { position:absolute; z-index:7; left:24%; right:4%; bottom:4%; display:flex; align-items:center; justify-content:center; gap:14px; padding:7px 10px; border:2px solid rgba(7,139,126,.26); border-radius:14px; background:rgba(255,253,248,.96); font-size:.64rem; }
.g3r101-motion-rule b { color:var(--r101-dark); }.g3r101-motion-rule span { font-weight:850; }

.g3r101-question-method { background:linear-gradient(145deg,#edf9f5,#dcefe9); }
.g3r101-question-cards { top:8%; }
.g3r101-question-method>.g3r101-digits { top:42%; bottom:auto; left:31%; right:14%; }
.g3r101-focus-guide { position:absolute; z-index:7; left:24%; right:8%; top:63%; min-height:56px; display:flex; align-items:center; justify-content:center; gap:12px; padding:6px 11px; border:3px solid var(--r101-line); border-radius:16px; background:rgba(255,253,248,.98); opacity:.32; transform:translateY(8px) scale(.97); transition:.35s; }
.g3r101-focus-guide img { width:52px; height:56px; object-fit:contain; }.g3r101-focus-guide span { display:grid; gap:1px; }
.g3r101-focus-guide small { color:var(--r101-orange); font-size:.46rem; font-weight:950; }.g3r101-focus-guide b { color:var(--r101-dark); font-size:.78rem; }.g3r101-focus-guide em { font-size:.52rem; font-style:normal; font-weight:820; }
.g3r101-question-method.show-focus .g3r101-focus-guide { opacity:1; transform:none; border-color:var(--r101-orange); box-shadow:0 0 0 7px rgba(255,215,107,.45); }
.g3r101-question-method>p { left:4%; right:4%; bottom:1.5%; padding:6px 8px; font-size:.64rem; }

.g3r101-exchange { background:linear-gradient(145deg,#edf9f5,#dcefe9); border:2px solid rgba(7,139,126,.2); }
.g3r101-exchange-tens { left:4%; top:9%; width:54%; min-height:143px; display:grid; align-content:start; }
.g3r101-exchange-tens>small,.g3r101-exchange-incoming>small { display:block; margin-bottom:3px; text-align:center; color:var(--r101-dark); font-size:.52rem; font-weight:950; }
.g3r101-exchange-tens .g3r101-units { display:grid; grid-template-columns:repeat(5,1fr); }
.g3r101-exchange-tens .g3r101-units img { width:34px; height:44px; justify-self:center; }
.g3r101-exchange-incoming { position:absolute; z-index:6; right:26%; top:12%; width:76px; padding:6px; border:3px dashed var(--r101-orange); border-radius:15px; background:#fff8e4; opacity:.18; transform:translate(85px,25px) scale(.72); transition:.55s; }
.g3r101-exchange-incoming img { width:54px; height:65px; }
.g3r101-exchange.add-tenth .g3r101-exchange-incoming { opacity:1; transform:translate(-45px,54px) scale(.82); }
.g3r101-exchange-arrow { left:20%; right:20%; top:50%; display:grid; place-items:center; gap:1px; text-align:center; }
.g3r101-exchange-arrow span { font-size:.58rem; }.g3r101-exchange-arrow b { display:block; }
.g3r101-exchange-hundred { right:6%; top:13%; }
.g3r101-exchange-result { left:50%; top:66%; transform:translate(-50%,8px); white-space:nowrap; }
.g3r101-exchange.show-result .g3r101-exchange-result { transform:translate(-50%,0); }
.g3r101-exchange.bundle-tens .g3r101-exchange-tens { opacity:0; transform:translate(34%,34%) scale(.64); }
.g3r101-exchange.bundle-tens .g3r101-exchange-incoming { opacity:0; transform:translate(-78px,72px) scale(.42); }

.g3r101-compare,.g3r101-mixed,.g3r101-ordinal { background:linear-gradient(145deg,#edf9f5,#dcefe9); }
.g3r101-compare-start { position:absolute; z-index:6; left:39%; right:39%; top:10%; min-height:65px; display:grid; place-items:center; align-content:center; border:3px solid var(--r101-orange); border-radius:16px; background:#fff8e4; }
.g3r101-compare-start small { font-size:.43rem; font-weight:950; text-align:center; }.g3r101-compare-start b { font-size:1.45rem; }
.g3r101-compare-method { top:29%; min-height:205px; }
.g3r101-compare.show-hundred .g3r101-compare-method.ten { opacity:.45; transform:scale(.96); }

.g3r101-mixed-center { inset:60px 8% 7%; align-content:start; }
.g3r101-mixed-center>.g3r101-digits { width:56%; }
.g3r101-mixed-action { width:74% !important; display:flex !important; align-items:center; justify-content:center; gap:18px !important; min-height:130px; padding:12px; border:3px solid var(--r101-line); border-radius:18px; background:rgba(255,253,248,.97); }
.g3r101-mixed-action .g3r101-units img { width:82px; height:92px; }.g3r101-mixed-action span { display:grid; gap:5px; }
.g3r101-mixed-action small { color:var(--r101-orange); font-size:.58rem; font-weight:950; }.g3r101-mixed-action b { font-size:1.45rem; }.g3r101-mixed-action em { color:var(--r101-dark); font-size:.66rem; font-style:normal; font-weight:850; }
.g3r101-mixed-answer { width:130px !important; min-height:58px; display:grid !important; place-items:center; padding:5px; border:3px dashed var(--r101-orange); border-radius:14px; background:#fff8e4; }
.g3r101-mixed-answer small { font-size:.46rem; font-weight:950; }.g3r101-mixed-answer b { font-size:1.45rem; }

.g3r101-ordinal-row { left:3%; right:3%; top:24%; gap:3px; }
.g3r101-ordinal-row>span { max-width:none; min-height:118px; }
.g3r101-ordinal-step { width:54px; display:grid; place-items:center; gap:1px; }
.g3r101-ordinal-step .g3r101-units img { width:46px; height:50px; }.g3r101-ordinal-step small { color:var(--r101-dark); font-weight:950; }.g3r101-ordinal-step>i { color:var(--r101-orange); font-size:1rem; font-style:normal; font-weight:950; }

@media (max-width:760px) {
  .g3r101-ones { grid-template-columns:repeat(3,18px); gap:1px; }.g3r101-ones img { width:17px; height:24px; }
  .g3r101-sequence-cards { left:20%; grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) 42px minmax(0,1fr); gap:2px; }
  .g3r101-sequence-cards>span { min-height:142px; }.g3r101-sequence-connector img { width:34px; height:42px; }.g3r101-sequence-connector small { font-size:.34rem; padding:2px 3px; }
  .g3r101-motion-rule { left:21%; right:2%; gap:5px; padding:5px; font-size:.47rem; }
  .g3r101-question-method>.g3r101-digits { top:40%; left:24%; right:7%; }.g3r101-focus-guide { left:20%; right:3%; top:61%; min-height:49px; gap:5px; padding:4px; }.g3r101-focus-guide img { width:38px; height:43px; }.g3r101-focus-guide b { font-size:.58rem; }.g3r101-focus-guide em { font-size:.4rem; }
  .g3r101-question-method>p { font-size:.49rem; padding:4px; }
  .g3r101-exchange-tens { width:57%; min-height:130px; }.g3r101-exchange-tens .g3r101-units img { width:25px; height:34px; }.g3r101-exchange-incoming { right:18%; width:60px; }.g3r101-exchange-incoming img { width:42px; height:49px; }.g3r101-exchange-hundred { right:1%; }.g3r101-exchange-arrow { left:13%; right:13%; }.g3r101-exchange-result { left:50%; }
  .g3r101-compare-start { left:36%; right:36%; }.g3r101-compare-method { top:29%; min-height:202px; }
  .g3r101-mixed-center { inset:53px 3% 5%; }.g3r101-mixed-center>.g3r101-digits { width:70%; }.g3r101-mixed-action { width:92% !important; min-height:120px; gap:8px !important; }.g3r101-mixed-action .g3r101-units img { width:58px; height:68px; }.g3r101-mixed-action b { font-size:1.05rem; }.g3r101-mixed-answer { width:100px !important; }
  .g3r101-ordinal-row { left:1%; right:1%; }.g3r101-ordinal-step { width:34px; }.g3r101-ordinal-step .g3r101-units img { width:31px; height:35px; }.g3r101-ordinal-step small { font-size:.34rem; }.g3r101-ordinal-row>span { min-height:105px; }
}

/* Grade 3 rhythm 10/100: responsive readability and stable lesson controls. */
.grade3-rhythm10100-board .board-kicker { display:none; }
.grade3-rhythm10100-board .g3r101-tower { top:12px; }
.grade3-rhythm10100-board .g3r101-sequence-stage { top:12px; }
.grade3-rhythm10100-board .g3r101-question-method,
.grade3-rhythm10100-board .g3r101-alternate,
.grade3-rhythm10100-board .g3r101-exchange { top:10px; }
.grade3-rhythm10100-board .g3r101-alternate { padding-top:14px; }
.grade3-rhythm10100-board .g3r101-mixed-center { top:18px; }

.topic-lesson-shell:has(.grade3-rhythm10100-board) [data-theme4-final-help="hint"] { display:none; }
.topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-support-dock .universal-teacher-support:has([data-theme4-final-help="together"]) { grid-template-columns:minmax(0,1fr); }
.topic-lesson-shell:has(.grade3-rhythm10100-board) :is(#exit-lesson,#restart-topic-lesson,#topic-skip-section,#topic-section-track button,.narration-controls button,.lesson-support-dock button,.raise-hand,.lesson-footer button) { min-height:44px; }
.topic-lesson-shell:has(.grade3-rhythm10100-board) :is(#exit-lesson,#restart-topic-lesson) { min-width:44px; }
.topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer { min-height:64px; padding-top:8px; gap:8px; }
.topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer .theme4-final-footer-main,
.topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer .theme4-final-choices { width:100%; min-width:0; box-sizing:border-box; }
.topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer .theme4-final-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(78px,1fr)); gap:8px; align-items:stretch; }
.topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer .theme4-final-choices button { width:100%; min-width:0; min-height:44px; }

.grade3-rhythm10100-board :is(.g3r101-hero p,.g3r101-finish p,.g3r101-model>p,.g3r101-teacher>p,.g3r101-shelf>small,.g3r101-digits small,.g3r101-sequence-cards>span>small,.g3r101-sequence-connector small,.g3r101-motion-rule,.g3r101-question-cards small,.g3r101-focus-guide small,.g3r101-focus-guide b,.g3r101-focus-guide em,.g3r101-question-method>p,.g3r101-alternate>p,.g3r101-exchange-tens>small,.g3r101-exchange-incoming>small,.g3r101-exchange-arrow span,.g3r101-compare-start small,.g3r101-compare-method>small,.g3r101-compare>p,.g3r101-mixed-action small,.g3r101-mixed-action em,.g3r101-mixed-answer small,.g3r101-ordinal-row small,.g3r101-ordinal-step small,.g3r101-ordinal>p) { font-size:14px; line-height:1.2; }

@media (max-width:1024px) {
  .grade3-rhythm10100-board :is(.g3r101-hero p,.g3r101-finish p,.g3r101-model>p,.g3r101-teacher>p,.g3r101-shelf>small,.g3r101-digits small,.g3r101-sequence-cards>span>small,.g3r101-sequence-connector small,.g3r101-motion-rule,.g3r101-question-cards small,.g3r101-focus-guide small,.g3r101-focus-guide b,.g3r101-focus-guide em,.g3r101-question-method>p,.g3r101-alternate>p,.g3r101-exchange-tens>small,.g3r101-exchange-incoming>small,.g3r101-exchange-arrow span,.g3r101-compare-start small,.g3r101-compare-method>small,.g3r101-compare>p,.g3r101-mixed-action small,.g3r101-mixed-action em,.g3r101-mixed-answer small,.g3r101-ordinal-row small,.g3r101-ordinal-step small,.g3r101-ordinal>p) { font-size:14px; line-height:1.2; }
  .grade3-rhythm10100-board .g3r101-tower { inset:10px 7px 51px; }
  .grade3-rhythm10100-board .g3r101-sequence-stage { inset:10px 7px 51px; }
  .grade3-rhythm10100-board .g3r101-question-method,
  .grade3-rhythm10100-board .g3r101-alternate,
  .grade3-rhythm10100-board .g3r101-exchange { inset:10px 7px 7px; }
  .grade3-rhythm10100-board .g3r101-sequence-cards { top:5%; }
  .grade3-rhythm10100-board .g3r101-sequence-cards>span { min-height:150px; }
  .grade3-rhythm10100-board .g3r101-motion-rule { min-height:44px; flex-wrap:wrap; row-gap:2px; }
  .grade3-rhythm10100-board .g3r101-question-cards { top:6%; }
  .grade3-rhythm10100-board .g3r101-question-method>.g3r101-digits { top:39%; }
  .grade3-rhythm10100-board .g3r101-focus-guide { top:60%; min-height:62px; }
  .grade3-rhythm10100-board .g3r101-question-method>p { bottom:1%; }
  .grade3-rhythm10100-board .g3r101-mixed-center { inset:14px 3% 12px; gap:8px; align-content:center; }
  .grade3-rhythm10100-board .g3r101-mixed-center>.g3r101-digits { width:min(70%,300px); }
  .grade3-rhythm10100-board .g3r101-mixed-action { min-height:112px; padding:8px; }
  .grade3-rhythm10100-board .g3r101-mixed-answer { min-height:52px; }
  .grade3-rhythm10100-board .g3r101-ordinal-row { top:18%; }
  .grade3-rhythm10100-board .g3r101-ordinal-row>span { min-height:118px; padding:4px 2px; }
  .grade3-rhythm10100-board .g3r101-ordinal-step { min-width:38px; width:38px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .narration-controls button { min-height:44px; font-size:11px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-support-dock .universal-teacher-support>button { min-height:52px; }
}

@media (max-width:620px) {
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-teacher { position:relative; grid-template-columns:68px minmax(0,1fr); padding-bottom:56px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-avatar { height:96px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .teacher-bubble { min-height:50px; max-height:50px; padding:6px 8px; overflow:auto; font-size:12px; line-height:1.25; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .narration-controls { gap:4px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .narration-controls button { min-height:42px; font-size:10px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-support-dock { position:absolute; left:0; bottom:0; width:49%; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .raise-hand { position:absolute; right:0; bottom:0; width:49%; height:52px; min-height:52px; max-height:52px; padding:4px 6px; grid-template-columns:30px minmax(0,1fr); overflow:hidden; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .raise-hand .hand-meter,
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .raise-hand .hand-copy small,
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .talk-help { display:none; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-screen-meta { min-height:20px; padding-bottom:2px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer { min-height:58px; padding-top:4px; }
  .grade3-rhythm10100-board .board-square { min-height:350px; }
  .grade3-rhythm10100-board .g3r101-sequence-cards { left:19%; right:1%; grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr) 40px minmax(0,1fr); }
  .grade3-rhythm10100-board .g3r101-sequence-connector img { width:30px; height:38px; }
  .grade3-rhythm10100-board .g3r101-question-unit { width:70px; }
  .grade3-rhythm10100-board .g3r101-question-cards { left:20%; right:1%; }
  .grade3-rhythm10100-board .g3r101-focus-guide { left:19%; right:2%; }
  .grade3-rhythm10100-board .g3r101-mixed-action { width:96% !important; }
  .grade3-rhythm10100-board .g3r101-ordinal-row { left:1%; right:1%; gap:2px; }
  .grade3-rhythm10100-board .g3r101-ordinal-step { min-width:34px; width:34px; }
  .topic-lesson-shell:has(.grade3-rhythm10100-board) .lesson-footer .theme4-final-choices { gap:6px; }
}

@media (prefers-reduced-motion:reduce) {
  .grade3-rhythm10100-board *,
  .grade3-rhythm10100-board *::before,
  .grade3-rhythm10100-board *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Grade 3 shared lesson shell: stable Lumi area and uncluttered teaching surface. */
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-step-label,
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .teaching-board .board-kicker {
  display:none !important;
}
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-screen-meta {
  justify-content:flex-end;
}
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) [data-theme4-final-help="hint"] {
  display:none !important;
}
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-support-dock .universal-teacher-support:has([data-theme4-final-help="together"]),
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-support-dock .mental-subtraction-support:has([data-theme4-final-help="together"]) {
  grid-template-columns:minmax(0,1fr);
}
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) :is(
  #exit-lesson,
  #restart-topic-lesson,
  #topic-skip-section,
  #topic-section-track button,
  .narration-controls button,
  .lesson-support-dock button,
  .raise-hand,
  .lesson-footer button
) {
  min-height:44px;
}
.topic-lesson-shell:has(.teaching-board[class*="grade3-"]) :is(#exit-lesson,#restart-topic-lesson) {
  min-width:44px;
}

@media (min-width:721px) and (max-height:800px) {
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .teacher-classroom {
    grid-template-columns:230px minmax(0,700px);
    gap:18px;
    padding:8px 0 14px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-avatar {
    height:190px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .teacher-bubble {
    min-height:86px;
    max-height:138px;
    margin-top:7px;
    padding:11px;
    overflow:auto;
    font-size:12px;
    line-height:1.4;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .narration-controls {
    margin-top:5px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-support-dock {
    margin-top:5px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .raise-hand {
    min-height:50px;
    margin-top:7px;
    padding:5px 10px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .talk-help {
    margin-top:4px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .teaching-area {
    width:min(100%,calc(100vh - 205px));
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-screen-meta {
    min-height:27px;
    padding-bottom:4px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .teaching-board > .board-square {
    min-height:0;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-footer {
    min-height:56px;
    padding-top:5px;
  }
}

@media (max-width:620px) {
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-teacher {
    position:relative;
    grid-template-columns:76px minmax(0,1fr);
    padding-bottom:58px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-avatar {
    height:112px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .teacher-bubble {
    min-height:70px;
    max-height:70px;
    padding:8px;
    overflow:auto;
    font-size:14px;
    line-height:1.3;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .narration-controls {
    gap:3px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .narration-controls button {
    min-height:44px;
    font-size:10px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-support-dock {
    position:absolute;
    left:0;
    bottom:0;
    width:49%;
    margin:0;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .lesson-support-dock button {
    min-height:52px;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .raise-hand {
    position:absolute;
    right:0;
    bottom:0;
    width:49%;
    height:52px;
    min-height:52px;
    max-height:52px;
    margin:0;
    padding:4px 6px;
    grid-template-columns:30px minmax(0,1fr);
    overflow:hidden;
  }
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .raise-hand .hand-meter,
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .raise-hand .hand-copy small,
  .topic-lesson-shell:has(.teaching-board[class*="grade3-"]) .talk-help {
    display:none;
  }
}

/* Grade 3 · Tek ve çift sayılar — ikişerli kabin öğretim sahnesi */
.grade3-odd-even-board {
  --oe-teal:#087f78;
  --oe-dark:#163f4d;
  --oe-line:#a8d8d1;
  --oe-orange:#f4a62a;
  --oe-cream:#fffaf0;
}
.grade3-odd-even-board .board-square {
  min-height:0;
  aspect-ratio:4/3;
  overflow:hidden;
  background:linear-gradient(145deg,#effaf7,#fffaf0);
}
.g3oe-park-stage { position:absolute; inset:0; overflow:hidden; }
.g3oe-park-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3oe-cabin-row { position:absolute; z-index:4; left:5%; right:5%; top:27%; display:flex; justify-content:center; align-items:flex-end; gap:8px; }
.g3oe-cabin { position:relative; width:min(21%,140px); aspect-ratio:1.09; opacity:.22; transform:translateY(58px) scale(.88); transition:opacity .45s,transform .55s; }
.g3oe-cabin>img:first-child { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.g3oe-creature { position:absolute; z-index:2; width:35%; height:53%; object-fit:contain; filter:hue-rotate(var(--hue)) saturate(.88); opacity:0; transition:opacity .35s,transform .55s; }
.g3oe-creature.left-seat { left:18%; top:17%; transform:translate(-115px,92px) scale(.92); }
.g3oe-creature.right-seat { right:18%; top:17%; transform:translate(115px,92px) scale(.92); }
.g3oe-cabin-row .g3oe-cabin:nth-child(odd) { margin-bottom:16px; }
.g3oe-park-stage.pairing-active .g3oe-cabin,.g3oe-park-stage.show-second .g3oe-cabin { opacity:1; transform:none; animation:g3oe-cabin-settle .7s ease both; }
.g3oe-park-stage.show-first .g3oe-cabin:first-child { opacity:1; transform:none; }
.g3oe-park-stage.show-first .g3oe-cabin:first-child .left-seat { opacity:1; transform:none; }
.g3oe-park-stage.show-second .g3oe-cabin:first-child .right-seat,
.g3oe-park-stage.pairing-active .g3oe-cabin .g3oe-creature { opacity:1; transform:none; }
.g3oe-waiting { position:absolute; z-index:7; right:4%; bottom:7%; width:18%; min-width:82px; display:grid; place-items:center; gap:1px; padding:7px 4px; border:3px dashed var(--oe-orange); border-radius:18px; background:rgba(255,250,240,.94); opacity:0; transform:translateX(30px); transition:.45s; }
.g3oe-waiting .g3oe-creature { position:static; width:55px; height:72px; opacity:1; transform:none; }
.g3oe-waiting span { color:var(--oe-dark); font-size:.58rem; font-weight:950; }
.g3oe-park-stage.show-unmatched .g3oe-waiting,.g3oe-park-stage.hint-pairs .g3oe-waiting { opacity:1; transform:none; }
.g3oe-pair-model .g3oe-waiting,
.g3oe-student-pair .g3oe-waiting { left:50%; right:auto; bottom:18%; width:130px; transform:translate(-50%,28px) scale(.9); }
.g3oe-pair-model .g3oe-park-stage.show-unmatched .g3oe-waiting,
.g3oe-pair-model .g3oe-park-stage.hint-pairs .g3oe-waiting,
.g3oe-student-pair .g3oe-park-stage.show-unmatched .g3oe-waiting,
.g3oe-student-pair .g3oe-park-stage.hint-pairs .g3oe-waiting { transform:translate(-50%,0) scale(1); }
.g3oe-queue { position:absolute; z-index:8; left:7%; right:7%; bottom:15%; display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); align-items:end; gap:4px; padding:8px 10px; border:3px solid rgba(244,166,42,.72); border-radius:19px; background:rgba(255,250,240,.93); transition:opacity .35s,transform .55s; }
.g3oe-queue .g3oe-creature { position:static; width:100%; height:62px; opacity:1; transform:none; object-fit:contain; }
.g3oe-park-stage.pairing-active .g3oe-queue { opacity:0; transform:translateY(24px) scale(.92); pointer-events:none; }
.g3oe-count-badge { position:absolute; z-index:7; right:4%; top:8%; min-width:92px; display:grid; place-items:center; padding:7px 10px; border:2px solid var(--oe-line); border-radius:17px; background:rgba(255,255,255,.94); box-shadow:0 8px 20px rgba(22,63,77,.12); }
.g3oe-count-badge b { color:var(--oe-teal); font-size:1.6rem; line-height:1; }
.g3oe-count-badge span { color:var(--oe-dark); font-size:.5rem; font-weight:900; }
.g3oe-park-stage.hint-pairs .g3oe-cabin { opacity:1; transform:none; box-shadow:0 0 0 5px rgba(244,166,42,.42); border-radius:20px; }
@keyframes g3oe-cabin-settle { 55%{transform:translateY(-8px)} 100%{transform:none} }

.g3oe-hero,.g3oe-finish { padding:0; }
.g3oe-hero .g3oe-park-stage,.g3oe-finish>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3oe-hero-copy,.g3oe-finish>div { position:absolute; z-index:9; left:5%; top:13%; width:47%; padding:18px; border:3px solid rgba(255,255,255,.85); border-radius:22px; background:rgba(255,250,240,.94); box-shadow:0 15px 30px rgba(22,63,77,.16); }
.g3oe-hero-copy .board-kicker { position:static; display:inline-flex; }
.g3oe-hero h1,.g3oe-finish h1 { margin:9px 0; color:var(--oe-dark); font-size:1.75rem; line-height:1.06; }
.g3oe-hero p,.g3oe-finish p { margin:0; color:#385967; font-size:.84rem; font-weight:800; }
.g3oe-finish>div { top:20%; }
.g3oe-finish>div>span { color:var(--oe-teal); font-size:.68rem; font-weight:950; letter-spacing:.08em; }

.g3oe-one-two,.g3oe-pair-model,.g3oe-student-pair { padding:0; }
.g3oe-one-two>.board-kicker,.g3oe-pair-model>.board-kicker,.g3oe-student-pair>.board-kicker,
.g3oe-number-path>.board-kicker,.g3oe-ten-bridge>.board-kicker,.g3oe-ones-secret>.board-kicker,
.g3oe-large-numbers>.board-kicker,.g3oe-zero>.board-kicker,.g3oe-classify>.board-kicker,
.g3oe-sort>.board-kicker,.g3oe-build>.board-kicker { position:absolute; display:inline-flex; left:14px; top:10px; z-index:12; max-width:calc(100% - 28px); padding:6px 9px; border-radius:10px; background:rgba(255,255,255,.92); white-space:normal; line-height:1.15; }
.g3oe-one-two .g3oe-cabin-row { left:28%; right:28%; top:25%; }
.g3oe-one-two-rule { position:absolute; z-index:9; left:13%; right:13%; bottom:5%; display:grid; grid-template-columns:1fr 36px 1fr; align-items:center; gap:8px; }
.g3oe-one-two-rule span { min-height:65px; display:flex; align-items:center; justify-content:center; gap:8px; padding:8px; border:2px solid var(--oe-line); border-radius:16px; background:rgba(255,255,255,.96); color:var(--oe-dark); font-size:.72rem; font-weight:900; }
.g3oe-one-two-rule b { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#dff3ef; color:var(--oe-teal); font-size:1.35rem; }
.g3oe-one-two-rule i { color:var(--oe-orange); font-style:normal; font-size:1.4rem; }
.g3oe-pair-model .g3oe-cabin-row { top:24%; }
.g3oe-concept-card { position:absolute; z-index:9; left:19%; right:19%; bottom:4%; display:flex; align-items:center; justify-content:center; gap:13px; padding:9px; border:3px solid var(--oe-line); border-radius:17px; background:rgba(255,255,255,.97); }
.g3oe-concept-card b { display:grid; place-items:center; width:47px; height:47px; border-radius:50%; background:var(--oe-teal); color:white; font-size:1.5rem; }
.g3oe-concept-card span { color:var(--oe-dark); font-size:.8rem; font-weight:950; }
.g3oe-student-pair>p { position:absolute; z-index:9; left:17%; right:17%; bottom:3%; margin:0; padding:8px; border-radius:14px; background:rgba(255,255,255,.94); text-align:center; color:var(--oe-dark); font-size:.72rem; font-weight:850; }
.g3oe-student-pair .g3oe-cabin-row { top:25%; }
.g3oe-student-pair [data-g3oe-pair-stage]:not(.pairing-active) .g3oe-cabin { opacity:1; transform:none; }
.g3oe-student-pair [data-g3oe-pair-stage]:not(.pairing-active) .g3oe-cabin>img:first-child { opacity:.16; }
.g3oe-student-pair [data-g3oe-pair-stage]:not(.pairing-active) .g3oe-cabin .g3oe-creature { opacity:0; transform:translateY(60px) scale(.82); }
.g3oe-student-pair [data-g3oe-pair-stage]:not(.pairing-active) .g3oe-waiting { opacity:0; }

.g3oe-number-path { padding:0; }
.g3oe-path { position:absolute; left:4%; right:4%; top:27%; display:flex; align-items:center; justify-content:center; gap:3px; }
.g3oe-path>span { flex:1; min-width:0; min-height:116px; display:grid; place-items:center; align-content:center; gap:5px; border:3px solid var(--oe-line); border-radius:15px; background:rgba(255,255,255,.95); opacity:.36; transition:.35s; }
.g3oe-path>span.sync-active { opacity:1; transform:translateY(-8px); box-shadow:0 0 0 6px rgba(244,166,42,.35); }
.g3oe-path>span.odd { border-bottom-color:#ef7468; }
.g3oe-path>span.even { border-bottom-color:var(--oe-teal); }
.g3oe-path b { font-size:1.35rem; color:var(--oe-dark); }
.g3oe-path small { font-size:.43rem; color:#476b75; font-weight:900; text-align:center; }
.g3oe-path>i { color:var(--oe-orange); font-style:normal; }
.g3oe-number-path>p { position:absolute; left:13%; right:13%; bottom:8%; margin:0; padding:9px; border-radius:14px; background:#fff4ce; color:var(--oe-dark); text-align:center; font-size:.72rem; font-weight:900; }

.g3oe-ten-bridge,.g3oe-ones-secret,.g3oe-large-numbers,.g3oe-zero,.g3oe-classify,.g3oe-sort,.g3oe-build { padding:0; }
.g3oe-ten-block { position:absolute; left:7%; top:28%; width:20%; min-height:145px; display:grid; place-items:center; align-content:center; border:3px solid var(--oe-line); border-radius:20px; background:rgba(255,255,255,.96); }
.g3oe-ten-block b { color:var(--oe-teal); font-size:2.4rem; }
.g3oe-ten-block span { font-size:.64rem; font-weight:900; }
.g3oe-bridge-examples { position:absolute; left:31%; right:5%; top:22%; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.g3oe-bridge-examples section { display:grid; gap:7px; text-align:center; }
.g3oe-bridge-examples strong { padding:7px; border-radius:13px; background:#fff4ce; color:var(--oe-dark); font-size:.66rem; }
.g3oe-progressive [data-g3oe-reveal] { opacity:0; transform:translateY(14px) scale(.97); transition:opacity .42s ease,transform .48s ease,box-shadow .3s ease; }
.g3oe-progressive [data-g3oe-reveal].is-revealed { opacity:1; transform:none; }
.g3oe-progressive [data-g3oe-reveal].sync-active { opacity:1; transform:translateY(-4px) scale(1.02); box-shadow:0 0 0 6px rgba(244,166,42,.3); border-radius:16px; }
.g3oe-digit-card { display:grid; place-items:center; gap:7px; padding:13px; border:3px solid var(--oe-line); border-radius:19px; background:rgba(255,255,255,.97); }
.g3oe-digit-card>small { min-height:12px; color:#54727c; font-size:.56rem; font-weight:900; }
.g3oe-digit-card>div { display:flex; gap:4px; }
.g3oe-digit-card>div>span { display:grid; place-items:center; min-width:48px; height:58px; border:2px solid #d8e8e4; border-radius:12px; color:var(--oe-dark); font-size:1.65rem; font-weight:950; }
.g3oe-digit-card>div>span.ones { border-color:var(--oe-orange); background:#fff3cf; }
.g3oe-digit-card>div>span.ones.hint-ones { animation:g3oe-pulse 1s ease 2; }
.g3oe-digit-card>b { color:var(--oe-teal); font-size:.65rem; }
@keyframes g3oe-pulse { 50%{box-shadow:0 0 0 8px rgba(244,166,42,.35);transform:scale(1.08)} }
.g3oe-ones-secret>div,.g3oe-large-numbers>div:first-of-type { position:absolute; left:12%; right:12%; top:22%; display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.g3oe-ones-secret>div>section,.g3oe-large-numbers>div:first-of-type>section { min-width:0; }
.g3oe-ones-secret>p { position:absolute; left:13%; right:13%; bottom:8%; margin:0; padding:10px; border-radius:14px; background:#fff4ce; text-align:center; font-size:.72rem; font-weight:900; }
.g3oe-large-numbers>div:first-of-type { left:5%; right:5%; grid-template-columns:repeat(3,1fr); gap:8px; }
.g3oe-large-numbers .g3oe-digit-card { padding-inline:5px; }
.g3oe-large-numbers .g3oe-digit-card>div>span { min-width:36px; }
.g3oe-large-rule { position:absolute; left:8%; right:8%; bottom:6%; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.g3oe-large-rule span { padding:9px; border-radius:12px; background:#fff4ce; text-align:center; color:var(--oe-dark); font-size:.72rem; font-weight:950; }

.g3oe-zero .g3oe-park-stage { position:absolute; inset:42px 0 0; }
.g3oe-zero-scan { position:absolute; z-index:8; left:28%; right:28%; top:34%; display:grid; place-items:center; padding:18px; border:3px dashed var(--oe-teal); border-radius:22px; background:rgba(255,255,255,.92); overflow:hidden; }
.g3oe-zero-scan i { position:absolute; left:0; right:0; top:0; height:5px; background:var(--oe-orange); animation:g3oe-scan 2s ease-in-out infinite alternate; }
.g3oe-zero-scan b { color:var(--oe-teal); font-size:3rem; }
.g3oe-zero-scan span { color:var(--oe-dark); font-size:.6rem; font-weight:950; }
@keyframes g3oe-scan { to{transform:translateY(102px)} }
.g3oe-zero-baskets { position:absolute; z-index:9; left:22%; right:22%; bottom:4%; display:grid; grid-template-columns:1fr 30px 1fr; align-items:center; gap:6px; }
.g3oe-zero-baskets>span { display:flex; align-items:center; justify-content:center; gap:6px; min-height:57px; border:2px solid var(--oe-line); border-radius:14px; background:white; font-size:.65rem; font-weight:900; }
.g3oe-zero-baskets b { color:var(--oe-teal); font-size:1.5rem; }
.g3oe-zero-baskets i { color:var(--oe-orange); font-style:normal; text-align:center; }
.g3oe-zero-baskets strong { grid-column:1/-1; padding:5px; border-radius:9px; background:#fff4ce; text-align:center; font-size:.58rem; }

.g3oe-classify>.g3oe-digit-card,.g3oe-sort>.g3oe-digit-card { position:absolute; left:28%; right:28%; top:21%; }
.g3oe-classify>.g3oe-digit-card { top:31%; }
.g3oe-gates { position:absolute; left:13%; right:13%; bottom:8%; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.g3oe-gates span { min-height:70px; display:grid; place-items:center; border:3px dashed var(--oe-line); border-radius:17px; background:rgba(255,255,255,.9); color:var(--oe-dark); font-size:.76rem; font-weight:950; }
.g3oe-sort-pile { position:absolute; left:7%; right:7%; top:16%; display:flex; justify-content:center; gap:7px; }
.g3oe-sort-pile span { min-width:54px; padding:9px 6px; border:2px solid var(--oe-line); border-radius:12px; background:white; color:var(--oe-dark); text-align:center; font-weight:950; opacity:.35; }
.g3oe-sort-pile span.current { opacity:1; border-color:var(--oe-orange); box-shadow:0 0 0 5px rgba(244,166,42,.25); }
.g3oe-sort-pile span.done { opacity:.65; }
.g3oe-sort-pile span.done.tek { border-color:#ef7468; }
.g3oe-sort-pile span.done.çift { border-color:var(--oe-teal); }
.g3oe-sort>.g3oe-digit-card { top:39%; }
.g3oe-sort>p { position:absolute; left:20%; right:20%; bottom:4%; margin:0; padding:7px; border-radius:12px; background:#fff4ce; text-align:center; font-size:.65rem; font-weight:900; }
.g3oe-build>.g3oe-digit-card { position:absolute; left:25%; right:25%; top:21%; }
.g3oe-build-machine { position:absolute; left:22%; right:22%; top:22%; display:flex; align-items:center; justify-content:center; gap:8px; }
.g3oe-build-machine span,.g3oe-build-machine strong { display:grid; place-items:center; width:76px; height:88px; border:3px solid var(--oe-line); border-radius:17px; background:white; color:var(--oe-dark); font-size:2.2rem; }
.g3oe-build-machine strong { border-style:dashed; border-color:var(--oe-orange); background:#fff3cf; color:var(--oe-teal); }
.g3oe-build>p { position:absolute; left:14%; right:14%; bottom:9%; margin:0; padding:11px; border:2px solid var(--oe-line); border-radius:15px; background:white; text-align:center; font-size:.76rem; font-weight:900; }

.g3oe-alternate { position:absolute; z-index:20; inset:42px 4% 4%; display:grid; place-items:center; align-content:center; gap:9px; padding:42px 18px 12px; border:4px solid var(--oe-orange); border-radius:22px; background:rgba(255,250,240,.98); box-shadow:0 15px 35px rgba(22,63,77,.25); }
.g3oe-alternate>.board-kicker { left:12px; top:10px; }
.g3oe-alternate>p,.g3oe-alternate>small { margin:0; text-align:center; font-size:.7rem; font-weight:850; }
.g3oe-baskets { width:85%; display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.g3oe-baskets section { min-height:105px; display:grid; place-items:center; align-content:center; gap:7px; border:3px solid var(--oe-line); border-radius:18px 18px 38px 38px; background:white; }
.g3oe-baskets strong { color:var(--oe-dark); font-size:.6rem; }
.g3oe-baskets section>div { display:flex; flex-wrap:wrap; justify-content:center; gap:5px; }
.g3oe-baskets i { width:20px; height:20px; border-radius:50%; background:hsl(var(--dot-hue) 58% 65%); border:2px solid white; box-shadow:0 2px 5px rgba(0,0,0,.18); }

.grade3-odd-even-board :is(
  .g3oe-waiting span,
  .g3oe-one-two-rule span,
  .g3oe-student-pair>p,
  .g3oe-path small,
  .g3oe-number-path>p,
  .g3oe-ten-block span,
  .g3oe-bridge-examples strong,
  .g3oe-digit-card>small,
  .g3oe-digit-card>b,
  .g3oe-ones-secret>p,
  .g3oe-large-rule span,
  .g3oe-zero-scan span,
  .g3oe-zero-baskets>span,
  .g3oe-zero-baskets strong,
  .g3oe-gates span,
  .g3oe-sort-pile span,
  .g3oe-sort>p,
  .g3oe-build>p,
  .g3oe-alternate>p,
  .g3oe-alternate>small,
  .g3oe-baskets strong
) { font-size:12px; line-height:1.15; }
.g3oe-finish>div>span { display:none; }

@media (max-width:760px) {
  .grade3-odd-even-board .board-square { min-height:390px; }
  .g3oe-hero-copy,.g3oe-finish>div { left:3%; top:12%; width:61%; padding:11px; border-width:2px; }
  .g3oe-hero h1,.g3oe-finish h1 { font-size:1.08rem; }
  .g3oe-hero p,.g3oe-finish p { font-size:.58rem; }
  .g3oe-cabin-row { left:2%; right:2%; top:27%; gap:2px; }
  .g3oe-cabin { width:22%; }
  .g3oe-waiting { right:2%; bottom:8%; min-width:62px; width:16%; padding:3px; border-width:2px; }
  .g3oe-waiting .g3oe-creature { width:40px; height:53px; }
  .g3oe-waiting span { font-size:.4rem; }
  .g3oe-count-badge { right:2%; top:9%; min-width:70px; padding:5px; }
  .g3oe-count-badge b { font-size:1.25rem; }
  .g3oe-count-badge span { font-size:.38rem; }
  .g3oe-pair-model .g3oe-waiting,.g3oe-student-pair .g3oe-waiting { left:50%; right:auto; bottom:19%; width:88px; }
  .g3oe-queue { left:13%; right:13%; bottom:14%; grid-template-columns:repeat(3,1fr); gap:1px 5px; padding:5px 8px; }
  .g3oe-queue .g3oe-creature { height:31px; }
  .g3oe-one-two .g3oe-cabin-row { left:24%; right:24%; }
  .g3oe-one-two-rule { left:3%; right:3%; grid-template-columns:1fr 20px 1fr; gap:3px; }
  .g3oe-one-two-rule span { min-height:53px; gap:4px; padding:4px; font-size:.5rem; border-width:2px; }
  .g3oe-one-two-rule b { width:31px; height:31px; font-size:1rem; }
  .g3oe-concept-card { left:8%; right:8%; padding:5px; }
  .g3oe-concept-card b { width:38px; height:38px; font-size:1.15rem; }
  .g3oe-concept-card span { font-size:.58rem; }
  .g3oe-student-pair>p { left:5%; right:5%; font-size:.52rem; }
  .g3oe-path { left:2%; right:2%; top:25%; gap:1px; }
  .g3oe-path>span { min-height:96px; padding:2px; border-width:2px; border-radius:8px; }
  .g3oe-path b { font-size:.88rem; }
  .g3oe-path small { font-size:.28rem; }
  .g3oe-path>i { font-size:.48rem; }
  .g3oe-number-path>p { left:4%; right:4%; font-size:.52rem; }
  .g3oe-ten-block { left:3%; width:21%; min-height:120px; }
  .g3oe-ten-block b { font-size:1.55rem; }
  .g3oe-ten-block span { font-size:.43rem; }
  .g3oe-bridge-examples { left:27%; right:2%; gap:4px; }
  .g3oe-bridge-examples strong { font-size:.42rem; padding:5px 2px; }
  .g3oe-digit-card { gap:4px; padding:7px 3px; border-width:2px; border-radius:12px; }
  .g3oe-digit-card>small { font-size:.39rem; }
  .g3oe-digit-card>div>span { min-width:29px; height:42px; font-size:1.12rem; border-radius:8px; }
  .g3oe-digit-card>b { font-size:.43rem; }
  .g3oe-ones-secret>div { left:4%; right:4%; gap:6px; }
  .g3oe-ones-secret>p { left:4%; right:4%; font-size:.52rem; }
  .g3oe-large-numbers>div:first-of-type { left:2%; right:2%; gap:3px; }
  .g3oe-large-numbers .g3oe-digit-card { min-width:0; padding-inline:2px; }
  .g3oe-large-numbers .g3oe-digit-card>div { gap:1px; }
  .g3oe-large-numbers .g3oe-digit-card>div>span { min-width:22px; width:22px; font-size:.92rem; }
  .g3oe-large-rule { left:2%; right:2%; gap:3px; }
  .g3oe-large-rule span { font-size:.5rem; padding:6px 2px; }
  .g3oe-zero-scan { left:19%; right:19%; padding:12px; }
  .g3oe-zero-scan b { font-size:2rem; }
  .g3oe-zero-baskets { left:9%; right:9%; }
  .g3oe-classify>.g3oe-digit-card,.g3oe-sort>.g3oe-digit-card { left:20%; right:20%; }
  .g3oe-gates { left:5%; right:5%; gap:6px; }
  .g3oe-gates span { min-height:55px; font-size:.56rem; border-width:2px; }
  .g3oe-sort-pile { left:2%; right:2%; gap:3px; }
  .g3oe-sort-pile span { min-width:0; flex:1; padding:6px 1px; font-size:.65rem; }
  .g3oe-sort>p { left:5%; right:5%; font-size:.5rem; }
  .g3oe-build>.g3oe-digit-card { left:17%; right:17%; }
  .g3oe-build-machine { left:12%; right:12%; }
  .g3oe-build-machine span,.g3oe-build-machine strong { width:54px; height:63px; font-size:1.45rem; border-width:2px; }
  .g3oe-build>p { left:4%; right:4%; font-size:.55rem; }
  .g3oe-alternate { inset:37px 2% 2%; padding:39px 7px 7px; gap:5px; }
  .g3oe-alternate>p,.g3oe-alternate>small { font-size:.52rem; }
  .g3oe-baskets { width:94%; gap:5px; }
  .g3oe-baskets section { min-height:82px; border-width:2px; }
  .g3oe-baskets i { width:14px; height:14px; }
  .grade3-odd-even-board :is(
    .g3oe-waiting span,
    .g3oe-count-badge span,
    .g3oe-hero p,
    .g3oe-finish p,
    .g3oe-one-two-rule span,
    .g3oe-concept-card span,
    .g3oe-student-pair>p,
    .g3oe-path small,
    .g3oe-number-path>p,
    .g3oe-ten-block span,
    .g3oe-bridge-examples strong,
    .g3oe-digit-card>small,
    .g3oe-digit-card>b,
    .g3oe-ones-secret>p,
    .g3oe-large-rule span,
    .g3oe-zero-scan span,
    .g3oe-zero-baskets>span,
    .g3oe-zero-baskets strong,
    .g3oe-gates span,
    .g3oe-sort>p,
    .g3oe-build>p,
    .g3oe-alternate>p,
    .g3oe-alternate>small,
    .g3oe-baskets strong
  ) { font-size:12px; line-height:1.15; }
}

@media (max-width:620px) {
  .g3oe-path {
    top:17%;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:5px;
  }
  .g3oe-path>i { display:none; }
  .g3oe-path>span { min-height:70px; }
  .g3oe-number-path>p { bottom:3%; }
}

@media (min-width:761px) and (max-height:800px) {
  .grade3-odd-even-board .board-square { min-height:clamp(390px,calc(100vh - 207px),520px); }
}

@media (prefers-reduced-motion:reduce) {
  .grade3-odd-even-board *,
  .grade3-odd-even-board *::before,
  .grade3-odd-even-board *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Grade 3 · Tek ve çift sayıların toplamı — iki iskele kanıt laboratuvarı */
.grade3-odd-even-sums-board {
  --os-teal:#087f78;
  --os-dark:#163f4d;
  --os-line:#a9d9d3;
  --os-orange:#f4a62a;
  --os-cream:#fffaf0;
  --os-blue:#dff5f3;
}
.grade3-odd-even-sums-board .board-square { min-height:520px; overflow:hidden; background:linear-gradient(145deg,#eefaf7,#fffaf0); }
.g3os-dock-stage { position:absolute; inset:0; overflow:hidden; }
.g3os-dock-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3os-group { position:absolute; z-index:5; top:31%; width:41%; height:40%; transition:transform .75s ease,opacity .4s; }
.g3os-group.left { left:2%; }
.g3os-group.right { right:2%; }
.g3os-group-badge { position:absolute; z-index:7; left:50%; top:-9%; transform:translateX(-50%); min-width:105px; display:grid; place-items:center; padding:5px 10px; border:2px solid white; border-radius:15px; background:rgba(255,255,255,.96); box-shadow:0 7px 16px rgba(22,63,77,.15); }
.g3os-group-badge b { color:var(--os-teal); font-size:1.35rem; line-height:1; }
.g3os-group-badge small { color:var(--os-dark); font-size:.43rem; font-weight:950; }
.g3os-boats { position:absolute; left:4%; right:4%; top:20%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); place-items:center; gap:0 2px; }
.g3os-boat { position:relative; width:100%; max-width:115px; aspect-ratio:1.5; filter:drop-shadow(0 5px 6px rgba(22,63,77,.22)); }
.g3os-boat>img:first-child { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.g3os-creature { position:absolute; z-index:3; object-fit:contain; filter:hue-rotate(var(--hue)) saturate(.86); }
.g3os-boat .g3os-creature { width:25%; height:47%; top:13%; }
.g3os-boat .seat-left { left:31%; }
.g3os-boat .seat-right { right:20%; }
.g3os-leftover { position:absolute; z-index:8; left:50%; bottom:1%; transform:translateX(-50%); width:72px; display:grid; place-items:center; padding:4px; border:3px dashed var(--os-orange); border-radius:16px; background:rgba(255,250,240,.97); transition:opacity .35s,transform .7s; }
.g3os-leftover .g3os-creature { position:static; width:44px; height:58px; }
.g3os-leftover small { color:var(--os-dark); font-size:.38rem; font-weight:950; }
.g3os-join-track { position:absolute; z-index:8; left:39%; right:39%; top:43%; display:grid; place-items:center; gap:2px; padding:6px 2px; border-radius:13px; background:rgba(255,250,240,.94); color:var(--os-dark); opacity:.75; }
.g3os-join-track span { font-size:.37rem; font-weight:950; text-align:center; }
.g3os-join-track i { color:var(--os-orange); font-style:normal; font-size:1.15rem; }
.g3os-observe .g3os-group { opacity:.36; }
.g3os-observe .g3os-dock-stage.show-left-group .g3os-group.left,
.g3os-observe .g3os-dock-stage.show-right-group .g3os-group.right { opacity:1; }
.g3os-observe .g3os-dock-stage.joining .g3os-group,
.g3os-observe .g3os-dock-stage.merged .g3os-group { opacity:1; }
.g3os-dock-stage.joining .g3os-group.left,.g3os-dock-stage.merged .g3os-group.left { transform:translateX(20%); }
.g3os-dock-stage.joining .g3os-group.right,.g3os-dock-stage.merged .g3os-group.right { transform:translateX(-20%); }
.g3os-dock-stage.merged .g3os-leftover { opacity:0; transform:translateX(-50%) translateY(35px) scale(.7); }
.g3os-merge-outcome { position:absolute; z-index:12; left:50%; top:39%; transform:translate(-50%,18px) scale(.86); width:150px; min-height:88px; display:grid; place-items:center; align-content:center; padding:5px; border:4px solid var(--os-orange); border-radius:19px; background:rgba(255,250,240,.98); opacity:0; transition:.55s; }
.g3os-dock-stage.merged .g3os-merge-outcome,.g3os-dock-stage.show-outcome .g3os-merge-outcome { opacity:1; transform:translate(-50%,0) scale(1); }
.g3os-merge-outcome.new-pair { top:31%; min-height:0; padding:0; border:0; background:transparent; }
.g3os-merge-outcome.new-pair .g3os-boat { width:124px; }
.g3os-merge-outcome.new-pair>small { padding:5px 8px; border-radius:9px; background:rgba(255,250,240,.96); box-shadow:0 4px 12px rgba(22,63,77,.16); }
.g3os-merge-outcome .g3os-boat { width:105px; }
.g3os-merge-outcome>.g3os-creature { position:static; width:48px; height:62px; }
.g3os-merge-outcome small { color:var(--os-dark); font-size:.42rem; font-weight:950; text-align:center; }
.g3os-merge-outcome.no-one b { color:var(--os-teal); font-size:2rem; }
.g3os-equation { position:absolute; z-index:13; left:17%; right:17%; bottom:3%; display:flex; align-items:center; justify-content:center; gap:9px; }
.g3os-equation>span,.g3os-equation>strong { min-width:77px; min-height:55px; display:grid; place-items:center; align-content:center; border:3px solid var(--os-line); border-radius:15px; background:rgba(255,255,255,.97); }
.g3os-equation b { color:var(--os-dark); font-size:1.35rem; line-height:1; }
.g3os-equation small { color:var(--os-teal); font-size:.42rem; font-weight:950; }
.g3os-equation>i { color:var(--os-orange); font-style:normal; font-size:1.25rem; font-weight:950; }
.g3os-equation>strong { position:relative; border-color:var(--os-orange); }
.g3os-equation>strong b,.g3os-equation>strong small { visibility:hidden; }
.g3os-equation>strong::after { content:"?"; position:absolute; color:var(--os-teal); font-size:1.55rem; }
.g3os-dock-stage.merged .g3os-equation>strong b,.g3os-dock-stage.merged .g3os-equation>strong small,.g3os-dock-stage.show-outcome .g3os-equation>strong b,.g3os-dock-stage.show-outcome .g3os-equation>strong small { visibility:visible; }
.g3os-dock-stage.merged .g3os-equation>strong::after,.g3os-dock-stage.show-outcome .g3os-equation>strong::after { display:none; }
.g3os-observe .g3os-equation>span,.g3os-observe .g3os-equation>i { opacity:.16; transition:opacity .35s,transform .35s; }
.g3os-observe .g3os-dock-stage.show-left-group .g3os-equation>span:first-child,
.g3os-observe .g3os-dock-stage.show-left-group .g3os-equation>span:first-child + i,
.g3os-observe .g3os-dock-stage.show-right-group .g3os-equation>span:nth-of-type(2),
.g3os-observe .g3os-dock-stage.show-right-group .g3os-equation>span:nth-of-type(2) + i { opacity:1; }
.g3os-observe .g3os-dock-stage.joining .g3os-equation>span,
.g3os-observe .g3os-dock-stage.joining .g3os-equation>i,
.g3os-observe .g3os-dock-stage.merged .g3os-equation>span,
.g3os-observe .g3os-dock-stage.merged .g3os-equation>i { opacity:1; }
.g3os-dock-stage.hint-leftovers .g3os-boats { opacity:.18; }
.g3os-dock-stage.hint-leftovers .g3os-leftover { box-shadow:0 0 0 7px rgba(244,166,42,.38); animation:g3os-hint 1s ease 2; }
@keyframes g3os-hint { 50%{transform:translateX(-50%) scale(1.08)} }

.g3os-hero,.g3os-observe,.g3os-student-lab { padding:0; }
.g3os-hero-copy { position:absolute; z-index:20; left:4%; top:12%; width:45%; padding:16px; border:3px solid rgba(255,255,255,.9); border-radius:21px; background:rgba(255,250,240,.95); box-shadow:0 14px 28px rgba(22,63,77,.18); }
.g3os-hero-copy .board-kicker { position:static; display:inline-flex; }
.g3os-hero-copy h1 { margin:8px 0; color:var(--os-dark); font-size:1.55rem; line-height:1.08; }
.g3os-hero-copy p { margin:0; color:#385967; font-size:.75rem; font-weight:850; }
.g3os-intro-groups { position:absolute; z-index:18; left:43%; right:4%; bottom:7%; display:grid; grid-template-columns:1fr 34px 1fr; align-items:center; gap:7px; opacity:0; transform:translateY(18px); transition:opacity .45s,transform .5s; }
.g3os-intro-groups.show-groups { opacity:1; transform:none; }
.g3os-intro-groups>section { min-height:96px; display:grid; align-content:center; gap:5px; padding:8px; border:3px solid rgba(255,255,255,.9); border-radius:18px; background:rgba(255,250,240,.95); box-shadow:0 8px 18px rgba(22,63,77,.17); }
.g3os-intro-groups>section>b { color:var(--os-teal); text-align:center; font-size:.55rem; }
.g3os-intro-groups>section>div { display:flex; justify-content:center; align-items:flex-end; }
.g3os-intro-groups .g3os-creature { position:static; width:30px; height:48px; }
.g3os-intro-groups>i { color:var(--os-orange); font-style:normal; text-align:center; font-size:1.4rem; font-weight:950; }
.g3os-observe>.board-kicker,.g3os-student-lab>.board-kicker,.g3os-recall>.board-kicker,.g3os-rule-question>.board-kicker,.g3os-three-rules>.board-kicker,.g3os-abstract>.board-kicker { z-index:22; left:13px; top:9px; }
.g3os-observe>.board-kicker,.g3os-student-lab>.board-kicker,.g3os-recall>.board-kicker,.g3os-rule-question>.board-kicker,.g3os-three-rules>.board-kicker,.g3os-abstract>.board-kicker { position:absolute; display:inline-flex; max-width:calc(100% - 26px); padding:6px 9px; border-radius:10px; background:rgba(255,255,255,.93); white-space:normal; line-height:1.15; }

.g3os-recall { padding:0; }
.g3os-recall-cards { position:absolute; inset:58px 7% 7%; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.g3os-recall-cards>section { position:relative; display:grid; place-items:center; align-content:end; padding:10px; border:3px solid var(--os-line); border-radius:20px; background:linear-gradient(#e8f8f5,#fffaf0); overflow:hidden; }
.g3os-recall-cards>section[data-g3os-recall] { opacity:.24; transform:translateY(12px) scale(.97); transition:opacity .4s,transform .45s,box-shadow .35s; }
.g3os-recall-cards>section[data-g3os-recall].is-spoken { opacity:1; transform:none; box-shadow:0 0 0 6px rgba(244,166,42,.24); }
.g3os-recall-cards .g3os-group { position:absolute; inset:16px 5% 64px; width:auto; height:auto; }
.g3os-recall-cards .g3os-group-badge { display:none; }
.g3os-recall-cards .g3os-boats { top:4%; }
.g3os-recall-cards .g3os-leftover { bottom:1%; }
.g3os-recall-cards>section>b { color:var(--os-teal); font-size:1rem; }
.g3os-recall-cards>section>small { color:var(--os-dark); font-size:.55rem; font-weight:850; }

.g3os-rule-question { padding:0; }
.g3os-evidence { position:absolute; left:12%; right:12%; top:25%; display:grid; gap:14px; }
.g3os-evidence>span { min-height:75px; display:flex; align-items:center; justify-content:center; gap:6px; padding:10px; border:3px solid var(--os-line); border-radius:17px; background:white; color:var(--os-dark); font-size:1.35rem; font-weight:950; }
.g3os-evidence small { padding:5px 7px; border-radius:8px; background:#dff3ef; color:var(--os-teal); font-size:.55rem; }
.g3os-evidence.odd small { background:#fff0ce; }
.g3os-evidence>span.hint-rule-evidence,.g3os-three-rules section.hint-rule-evidence { animation:g3os-evidence-hint 1s ease 2; }
@keyframes g3os-evidence-hint { 50%{box-shadow:0 0 0 7px rgba(244,166,42,.38);transform:translateY(-2px)} }
.g3os-rule-question>p { position:absolute; left:13%; right:13%; bottom:9%; margin:0; padding:11px; border-radius:15px; background:#fff2c8; color:var(--os-dark); text-align:center; font-size:.78rem; font-weight:950; }

.g3os-three-rules { padding:0; }
.g3os-three-rules>div { position:absolute; left:8%; right:8%; top:20%; display:grid; gap:10px; }
.g3os-three-rules section { min-height:83px; display:grid; grid-template-columns:1fr 32px 1fr 32px 1fr 1.35fr; align-items:center; gap:5px; padding:8px; border:3px solid var(--os-line); border-radius:17px; background:white; }
.g3os-three-rules section>span,.g3os-three-rules section>strong { min-height:49px; display:grid; place-items:center; border-radius:11px; background:#dff3ef; color:var(--os-dark); font-size:.75rem; }
.g3os-three-rules section>i { color:var(--os-orange); font-style:normal; text-align:center; font-size:1.1rem; font-weight:950; }
.g3os-three-rules section>small { color:#496872; font-size:.5rem; font-weight:850; text-align:center; }
.g3os-three-rules section.missing { border-color:var(--os-orange); border-style:dashed; }
.g3os-three-rules section.missing>strong { background:#fff0ce; font-size:1.3rem; }

.g3os-prediction-check { position:absolute; z-index:25; left:22%; right:22%; top:42%; display:grid; grid-template-columns:auto 1fr 28px auto 1fr; align-items:center; gap:5px; padding:8px; border:4px solid var(--os-orange); border-radius:16px; background:rgba(255,250,240,.98); }
.g3os-prediction-check small { color:#54717a; font-size:.42rem; font-weight:950; }
.g3os-prediction-check b,.g3os-prediction-check strong { color:var(--os-dark); font-size:.78rem; }
.g3os-prediction-check i { color:var(--os-orange); font-style:normal; text-align:center; }
.g3os-prediction-check.matched { border-color:var(--os-teal); }

.g3os-abstract { padding:0; }
.g3os-abstract-equation { position:absolute; left:11%; right:11%; top:25%; display:flex; align-items:center; justify-content:center; gap:12px; }
.g3os-abstract-equation>span,.g3os-abstract-equation>strong { min-width:105px; min-height:117px; display:grid; place-items:center; align-content:center; gap:7px; border:3px solid var(--os-line); border-radius:20px; background:white; }
.g3os-abstract-equation b { color:var(--os-dark); font-size:2rem; }
.g3os-abstract-equation small { padding:6px 10px; border-radius:9px; background:#dff3ef; color:var(--os-teal); font-size:.58rem; font-weight:950; }
.g3os-abstract-equation small.hint-parity { animation:g3os-parity 1s ease 2; }
@keyframes g3os-parity { 50%{box-shadow:0 0 0 7px rgba(244,166,42,.38);transform:scale(1.08)} }
.g3os-abstract-equation>i { color:var(--os-orange); font-style:normal; font-size:1.6rem; font-weight:950; }
.g3os-abstract-equation>strong { border-color:var(--os-orange); border-style:dashed; color:var(--os-teal); font-size:2rem; }
.g3os-abstract>p { position:absolute; left:13%; right:13%; bottom:10%; margin:0; padding:10px; border-radius:14px; background:#fff2c8; text-align:center; color:var(--os-dark); font-size:.72rem; font-weight:900; }

.g3os-alternate { position:absolute; z-index:35; inset:41px 4% 4%; display:grid; place-items:center; align-content:center; gap:8px; padding:40px 12px 12px; border:4px solid var(--os-orange); border-radius:22px; background:rgba(255,250,240,.99); box-shadow:0 15px 34px rgba(22,63,77,.25); }
.g3os-alternate>.board-kicker { left:11px; top:9px; }
.g3os-alternate>p,.g3os-alternate>small { margin:0; text-align:center; color:var(--os-dark); font-size:.65rem; font-weight:850; }
.g3os-blocks { width:95%; display:grid; grid-template-columns:1fr 25px 1fr 25px 1fr; align-items:end; gap:7px; }
.g3os-blocks>i { align-self:center; color:var(--os-orange); font-style:normal; text-align:center; font-size:1.2rem; font-weight:950; }
.g3os-block-group { display:grid; place-items:center; gap:5px; padding:8px; border:3px solid var(--os-line); border-radius:17px; background:white; }
.g3os-block-group>strong { color:var(--os-dark); font-size:.6rem; }
.g3os-block-group>small { color:#54717a; font-size:.43rem; font-weight:850; }
.g3os-block-stack { min-height:125px; display:flex; flex-direction:column-reverse; justify-content:flex-start; gap:3px; }
.g3os-block-stack>i { display:flex; justify-content:center; gap:3px; }
.g3os-block-stack b { width:25px; height:20px; border-radius:5px; background:linear-gradient(#68c8bb,#2fa99a); box-shadow:inset 0 -3px rgba(0,0,0,.08); }
.g3os-block-stack .cap { justify-content:flex-start; }
.g3os-block-stack .cap b { background:linear-gradient(#ffd778,#f4a62a); }

.g3os-finish { padding:0; }
.g3os-finish>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g3os-finish>div { position:absolute; z-index:8; left:5%; top:20%; width:54%; padding:18px; border:3px solid white; border-radius:22px; background:rgba(255,250,240,.95); box-shadow:0 15px 30px rgba(22,63,77,.18); }
.g3os-finish>div>span { color:var(--os-teal); font-size:.65rem; font-weight:950; letter-spacing:.08em; }
.g3os-finish h1 { margin:8px 0; color:var(--os-dark); font-size:1.55rem; line-height:1.08; }
.g3os-finish p { margin:0; color:#385967; font-size:.72rem; font-weight:900; }

@media (max-width:760px) {
  .grade3-odd-even-sums-board .board-square { min-height:390px; }
  .g3os-group { top:31%; width:44%; height:39%; }
  .g3os-group.left { left:0; }
  .g3os-group.right { right:0; }
  .g3os-group-badge { min-width:72px; padding:3px 5px; }
  .g3os-group-badge b { font-size:1rem; }
  .g3os-group-badge small { font-size:.29rem; }
  .g3os-boats { left:1%; right:1%; gap:0; }
  .g3os-boat { max-width:78px; }
  .g3os-leftover { width:50px; padding:2px; border-width:2px; }
  .g3os-leftover .g3os-creature { width:31px; height:42px; }
  .g3os-leftover small { font-size:.27rem; }
  .g3os-no-leftover small { font-size:.27rem; }
  .g3os-join-track { left:39%; right:39%; padding:4px 1px; }
  .g3os-join-track span { font-size:.26rem; }
  .g3os-merge-outcome { top:43%; width:105px; min-height:68px; border-width:3px; }
  .g3os-merge-outcome .g3os-boat { width:74px; }
  .g3os-merge-outcome.new-pair .g3os-boat { width:84px; }
  .g3os-merge-outcome>.g3os-creature { width:33px; height:45px; }
  .g3os-merge-outcome small { font-size:.29rem; }
  .g3os-equation { left:4%; right:4%; gap:4px; }
  .g3os-equation>span,.g3os-equation>strong { min-width:52px; min-height:43px; border-width:2px; }
  .g3os-equation b { font-size:1rem; }
  .g3os-equation small { font-size:.31rem; }
  .g3os-equation>i { font-size:.85rem; }
  .g3os-hero-copy { left:2%; top:11%; width:61%; padding:10px; border-width:2px; }
  .g3os-hero-copy h1 { font-size:1.03rem; }
  .g3os-hero-copy p { font-size:.52rem; }
  .g3os-intro-groups { left:40%; right:2%; bottom:5%; grid-template-columns:1fr 19px 1fr; gap:3px; }
  .g3os-intro-groups>section { min-height:75px; padding:4px 2px; border-width:2px; }
  .g3os-intro-groups>section>b { font-size:.38rem; }
  .g3os-intro-groups .g3os-creature { width:20px; height:35px; }
  .g3os-intro-groups>i { font-size:.9rem; }
  .g3os-recall-cards { inset:50px 2% 4%; gap:6px; }
  .g3os-recall-cards>section { border-width:2px; padding:5px; }
  .g3os-recall-cards .g3os-group { inset:13px 1% 57px; }
  .g3os-recall-cards>section>b { font-size:.72rem; }
  .g3os-recall-cards>section>small { font-size:.4rem; }
  .g3os-evidence { left:3%; right:3%; top:24%; gap:8px; }
  .g3os-evidence>span { min-height:62px; padding:5px; border-width:2px; font-size:.9rem; }
  .g3os-evidence small { font-size:.38rem; padding:3px; }
  .g3os-rule-question>p { left:3%; right:3%; font-size:.55rem; }
  .g3os-three-rules>div { left:2%; right:2%; top:19%; gap:6px; }
  .g3os-three-rules section { min-height:72px; grid-template-columns:1fr 18px 1fr 18px 1fr; gap:2px; padding:5px; border-width:2px; }
  .g3os-three-rules section>span,.g3os-three-rules section>strong { min-height:40px; font-size:.52rem; }
  .g3os-three-rules section>small { grid-column:1/-1; font-size:.36rem; }
  .g3os-three-rules section>i { font-size:.72rem; }
  .g3os-prediction-check { left:8%; right:8%; top:42%; border-width:3px; }
  .g3os-abstract-equation { left:3%; right:3%; top:25%; gap:4px; }
  .g3os-abstract-equation>span,.g3os-abstract-equation>strong { min-width:72px; min-height:91px; border-width:2px; }
  .g3os-abstract-equation b { font-size:1.35rem; }
  .g3os-abstract-equation small { font-size:.42rem; padding:4px 6px; }
  .g3os-abstract-equation>i { font-size:1rem; }
  .g3os-abstract>p { left:3%; right:3%; font-size:.52rem; }
  .g3os-alternate { inset:37px 2% 2%; padding:38px 5px 5px; gap:4px; }
  .g3os-alternate>p,.g3os-alternate>small { font-size:.46rem; }
  .g3os-blocks { gap:2px; grid-template-columns:1fr 13px 1fr 13px 1fr; }
  .g3os-block-group { padding:4px 2px; border-width:2px; }
  .g3os-block-stack { min-height:91px; }
  .g3os-block-stack b { width:15px; height:14px; }
  .g3os-block-group>strong { font-size:.42rem; }
  .g3os-block-group>small { font-size:.3rem; }
  .g3os-finish>div { left:3%; top:18%; width:65%; padding:11px; border-width:2px; }
  .g3os-finish h1 { font-size:1.02rem; }
  .g3os-finish p { font-size:.5rem; }
}

@media (min-width:761px) and (max-height:800px) {
  .grade3-odd-even-sums-board .board-square { min-height:clamp(390px,calc(100vh - 207px),520px); }
}

@media (prefers-reduced-motion:reduce) {
  .grade3-odd-even-sums-board *,
  .grade3-odd-even-sums-board *::before,
  .grade3-odd-even-sums-board *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
/* 3. sınıf · Sayı ve Şekil Örüntüleri */
.grade3-number-patterns-board .board-square {
  min-height: min(650px, calc(100vh - 330px));
  overflow: hidden;
  background: linear-gradient(145deg, #effbf8, #fff9e9);
}

.g3np-workshop {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #a9d9d1;
  border-radius: 26px;
  background: #f8ead0;
  box-shadow: 0 18px 34px rgba(21, 83, 78, 0.16);
}

.g3np-workshop > img,
.g3np-create > img,
.g3np-finish > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g3np-belt {
  position: absolute;
  left: 4.8%;
  right: 14.7%;
  bottom: 14.6%;
  height: 25.5%;
  display: grid;
  grid-template-columns: repeat(var(--g3np-columns, 6), minmax(0, 1fr));
  gap: 1.25%;
  align-items: stretch;
  z-index: 2;
}

.g3np-belt:has(> :nth-child(2):last-child) { --g3np-columns: 2; }
.g3np-belt:has(> :nth-child(3):last-child) { --g3np-columns: 3; }
.g3np-belt:has(> :nth-child(4):last-child) { --g3np-columns: 4; }
.g3np-belt:has(> :nth-child(5):last-child) { --g3np-columns: 5; }

.g3np-step-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 5px 5px 4px;
  border: 2px solid rgba(0, 126, 112, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 12px rgba(18, 70, 66, 0.12);
}

.g3np-step-card > small {
  color: #177a70;
  font-size: clamp(8px, 0.75vw, 11px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.g3np-step-card > b {
  justify-self: center;
  min-width: 30px;
  padding: 1px 8px;
  border-radius: 999px;
  color: #fff;
  background: #087f72;
  font-size: clamp(15px, 1.6vw, 24px);
  line-height: 1.35;
}

.g3np-tokens {
  display: grid;
  grid-template-columns: repeat(5, minmax(7px, 1fr));
  align-content: center;
  justify-content: center;
  gap: 3px;
  min-height: 0;
  padding: 2px;
}

.g3np-tokens > i {
  position: relative;
  aspect-ratio: 1;
  max-width: 22px;
  width: 100%;
  justify-self: center;
  border: 2px solid #116f69;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(145deg, #5ad0bd, #1c9c8c);
  box-shadow: inset 0 2px rgba(255,255,255,.65), 0 2px 3px rgba(20,73,68,.18);
  transform-origin: center bottom;
}

.g3np-tokens > i::before {
  content: "";
  position: absolute;
  inset: 22% 28%;
  border-radius: 50%;
  background: rgba(255,255,255,.48);
}

.g3np-tokens > .new-token {
  border-color: #d55f35;
  background: linear-gradient(145deg, #ffb25f, #f07848);
}

.g3np-observe .new-token,
.g3np-test .new-token {
  opacity: .08;
  transform: translateY(-24px) scale(.6);
}

.g3np-workshop.show-added .new-token {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .6s cubic-bezier(.2,.9,.25,1.25);
}

.g3np-differences {
  position: absolute;
  left: 9%;
  right: 20%;
  bottom: 8.8%;
  display: flex;
  justify-content: space-around;
  z-index: 4;
  pointer-events: none;
}

.g3np-differences span {
  min-width: 30px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: #ec7049;
  font-weight: 900;
  opacity: 0;
  transform: translateY(5px);
}

.g3np-workshop.show-differences .g3np-differences span {
  opacity: 1;
  transform: none;
  transition: .35s ease;
}

.g3np-return-tray {
  position: absolute;
  right: 1.2%;
  bottom: 15.5%;
  width: 11.5%;
  height: 23%;
  z-index: 3;
  display: grid;
  place-items: end center;
  padding-bottom: 4px;
  color: #8a3e2c;
  font-size: clamp(7px, .65vw, 10px);
  font-weight: 950;
}

.g3np-step-card.is-hidden {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: #ec7049;
  background: rgba(255,248,228,.92);
}

.g3np-missing-mark {
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: #ec7049;
  font-size: 30px;
  font-weight: 950;
}

.g3np-step-card.repaired,
.g3np-number-cards .repaired {
  outline: 5px solid #f7b928;
  outline-offset: 2px;
  animation: g3np-repair-pop .6s ease;
}

@keyframes g3np-repair-pop {
  50% { transform: scale(1.08); }
}

.g3np-hero,
.g3np-observe,
.g3np-hypothesis,
.g3np-test,
.g3np-bridge,
.g3np-extend,
.g3np-decrease,
.g3np-decrease-check,
.g3np-created {
  display: grid;
  align-content: start;
  gap: 12px;
}

.grade3-number-patterns-board .board-square > .board-kicker {
  box-sizing: border-box;
  position: absolute;
  z-index: 8;
  top: 10px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  white-space: normal;
  line-height: 1.15;
}

.g3np-hero .g3np-workshop {
  width: min(100%, 760px);
  max-height: 470px;
}

.g3np-hero-copy {
  position: absolute;
  left: 7%;
  top: 9%;
  width: min(46%, 430px);
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 25px rgba(25,77,72,.16);
}

.g3np-hero-copy h1,
.g3np-finish h1 { margin: 6px 0; color: #164c48; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.08; }
.g3np-hero-copy p,
.g3np-finish p { margin: 0; color: #46625f; font-weight: 750; }

.g3np-observe-note,
.g3np-rule-ribbon,
.g3np-number-strip,
.g3np-evidence {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 13px;
  border: 2px solid #b1dad4;
  border-radius: 16px;
  background: #fff;
  color: #174e4a;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 900;
}

.g3np-observe-note strong,
.g3np-rule-ribbon i,
.g3np-number-strip i,
.g3np-evidence b { color: #e6643f; }

.g3np-hypothesis > p,
.g3np-missing > p,
.g3np-repair > p,
.g3np-created > p {
  width: min(94%, 760px);
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff4ce;
  color: #5e4b13;
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 850;
  text-align: center;
}

.g3np-bridge [data-g3np-number] { opacity: 0; transform: scale(.5); }
.g3np-bridge .show-number-labels [data-g3np-number] { opacity: 1; transform: none; transition: .35s ease; }

.g3np-transition-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  width: min(96%,760px);
  margin: 0 auto;
}
.g3np-transition-panels section {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border: 2px solid #a8d9d2;
  border-radius: 15px;
  background: #fff;
  opacity: .18;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .45s ease, box-shadow .35s ease;
}
.g3np-transition-panels section.is-revealed { opacity:1; transform:none; box-shadow:0 7px 16px rgba(18,88,80,.14); }
.g3np-transition-panels small { color:#177a70; font-weight:950; letter-spacing:.06em; }
.g3np-transition-panels div { display:flex; align-items:center; justify-content:center; gap:7px; color:#174e4a; font-size:clamp(17px,1.7vw,24px); }
.g3np-transition-panels i { color:#e6643f; font-style:normal; font-weight:950; }
.g3np-transition-panels strong { color:#087f72; }

.g3np-decrease .removed-token {
  opacity: 1;
  border-style: dashed;
  border-color: #dc5938;
  background: #ffc48a;
}
.g3np-decrease .g3np-belt { height:39%; bottom:9%; }
.g3np-decrease .send-removed .removed-token {
  opacity: .22;
  transform: translate(120px, 76px) scale(.7);
  transition: transform .9s cubic-bezier(.25,.8,.25,1), opacity .9s ease;
}
.g3np-decrease .removed-token:nth-last-child(4) { transition-delay:0s; --g3np-depart-x:105px; --g3np-depart-y:70px; }
.g3np-decrease .removed-token:nth-last-child(3) { transition-delay:.13s; --g3np-depart-x:118px; --g3np-depart-y:64px; }
.g3np-decrease .removed-token:nth-last-child(2) { transition-delay:.26s; --g3np-depart-x:130px; --g3np-depart-y:76px; }
.g3np-decrease .removed-token:nth-last-child(1) { transition-delay:.39s; --g3np-depart-x:142px; --g3np-depart-y:68px; }
.g3np-decrease .send-removed .removed-token { transform:translate(var(--g3np-depart-x,120px),var(--g3np-depart-y,76px)) scale(.7); }

.g3np-decrease-check .removed-token { border-color:#dc5938; border-style:dashed; background:#ffc48a; transition:transform .75s ease,opacity .75s ease; }
.g3np-decrease-check .depart-step-1 [data-g3np-step="2"] .removed-token,
.g3np-decrease-check .depart-step-2 [data-g3np-step="3"] .removed-token,
.g3np-decrease-check .depart-step-3 [data-g3np-step="4"] .removed-token { opacity:.12; transform:translate(36px,34px) scale(.55); }
.g3np-decrease-check .removed-token:nth-last-child(4) { transition-delay:0s; }
.g3np-decrease-check .removed-token:nth-last-child(3) { transition-delay:.11s; }
.g3np-decrease-check .removed-token:nth-last-child(2) { transition-delay:.22s; }
.g3np-decrease-check .removed-token:nth-last-child(1) { transition-delay:.33s; }

.g3np-number-cards,
.g3np-jump-arcs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px auto 12px;
}

.g3np-number-cards span {
  display: grid;
  place-items: center;
  min-width: 72px;
  min-height: 72px;
  padding: 8px;
  border: 3px solid #9fd6ce;
  border-radius: 18px;
  background: #fff;
  color: #164c48;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 950;
}

.g3np-number-cards span.missing,
.g3np-number-cards span.suspect { border-style: dashed; border-color: #ed7048; color: #db5735; }
.g3np-number-cards > i { color: #e66d47; font-size: 22px; font-style: normal; font-weight: 950; }
.g3np-number-cards > i.broken { padding: 4px 8px; border-radius: 9px; background: #ffe1d8; color: #bd4325; }
.g3np-number-cards > i.repaired { background: #dff8e9; color: #14785b; }
.g3np-jump-arcs { margin-top: 0; }
.g3np-jump-arcs b { padding: 5px 14px; border-radius: 999px; background: #e1f5f1; color: #087f72; }

.g3np-verbal,
.g3np-missing,
.g3np-repair { display: grid; align-content: center; gap: 16px; }
.g3np-sentence-frame { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; font-size: clamp(18px,2vw,28px); font-weight: 900; color: #174e4a; }
.g3np-sentence-frame strong { min-width: 130px; padding: 8px 16px; border: 3px dashed #ed7048; border-radius: 14px; color: #ed7048; text-align: center; }

.g3np-create {
  display: grid;
  place-items: center;
  min-height: min(650px, calc(100vh - 330px));
}
.g3np-create > img { opacity: .5; }
.g3np-create > .board-kicker { position: absolute; top: 18px; left: 20px; z-index: 2; }
.g3np-create-choice { position: relative; z-index: 2; display: grid; gap: 12px; place-items: center; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.95); box-shadow: 0 15px 30px rgba(16,75,70,.18); }
.g3np-create-choice b { display: grid; place-items:center; width: 90px; aspect-ratio:1; border-radius:50%; background:#087f72; color:#fff; font-size:42px; }
.g3np-create-choice i { color:#315f5b; font-style:normal; font-size:18px; font-weight:850; }

.g3np-alternative {
  position: absolute;
  inset: 9% 6%;
  z-index: 9;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 4px solid #73c5b8;
  border-radius: 25px;
  background: rgba(249,255,253,.98);
  box-shadow: 0 18px 40px rgba(15,74,69,.22);
}
.g3np-alternative > div { display:flex; align-items:end; justify-content:center; gap:14px; min-height:220px; }
.g3np-alternative section { display:grid; grid-template-rows:1fr auto auto; justify-items:center; height:210px; min-width:55px; }
.g3np-alternative section i { align-self:end; width:42px; height:var(--bar); border-radius:12px 12px 4px 4px; background:linear-gradient(#ffb454,#ef7448); }
.g3np-alternative section b { color:#125f58; font-size:22px; }
.g3np-alternative section small { color:#d55834; font-weight:900; }
.g3np-alternative p { margin:0; color:#335f5a; text-align:center; font-weight:800; }

.hint-evidence { outline: 5px solid #ffb51b !important; outline-offset: 3px; animation: g3np-hint-pulse .8s ease 2; }
@keyframes g3np-hint-pulse { 50% { filter: brightness(1.12); transform: scale(1.06); } }

.g3np-finish { display:grid; place-items:center; min-height:min(650px,calc(100vh - 330px)); text-align:center; }
.g3np-finish > img { opacity:.48; }
.g3np-finish > div { position:relative; z-index:2; width:min(84%,700px); padding:26px; border-radius:24px; background:rgba(255,255,255,.94); box-shadow:0 18px 35px rgba(17,72,67,.2); }
.g3np-finish span { color:#e56740; font-weight:950; letter-spacing:.08em; }

@media (max-width: 900px) {
  .grade3-number-patterns-board .board-square { min-height: 540px; padding: 10px; }
  .g3np-workshop { width: 100%; }
  .g3np-step-card { padding: 3px; border-radius: 9px; }
  .g3np-tokens { gap: 1px; }
  .g3np-tokens > i { border-width: 1px; border-radius: 4px; }
  .g3np-step-card > b { min-width: 22px; padding: 0 5px; }
  .g3np-hero-copy { top: 6%; left: 5%; width: 55%; padding: 10px; }
  .g3np-decrease .send-removed .removed-token { transform: translate(45px, 42px) scale(.65); }
}

@media (max-width: 620px) {
  .grade3-number-patterns-board .board-square { min-height: 500px; }
  .g3np-hero-copy h1 { font-size: 18px; }
  .g3np-hero-copy p { display:none; }
  .g3np-step-card > small { display:none; }
  .g3np-number-cards span { min-width:52px; min-height:52px; font-size:25px; }
  .g3np-number-cards { gap:5px; margin-top:16px; }
  .g3np-number-cards > i { font-size:16px; }
  .g3np-transition-panels { gap:4px; }
  .g3np-transition-panels section { padding:5px 3px; }
  .g3np-transition-panels small { font-size:8px; }
  .g3np-transition-panels div { gap:3px; font-size:14px; }
  .g3np-alternative { inset:4%; padding:12px; }
  .g3np-alternative > div { min-height:170px; gap:7px; }
  .g3np-alternative section { min-width:38px; height:165px; }
  .g3np-alternative section i { width:28px; }
}

/* 3. Sınıf · Nesne Sayısını Tahmin Etme */
.grade3-estimate-objects-board .board-square {
  position: relative;
  box-sizing: border-box;
  min-height: min(650px, calc(100vh - 330px));
  padding: 14px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(145deg, #effbf8 0%, #e6f5f2 100%);
}

.grade3-estimate-objects-board .board-square > .board-kicker {
  position: absolute;
  z-index: 12;
  box-sizing: border-box;
  top: 10px;
  left: 12px;
  width: auto;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 5px 10px;
  border-radius: 10px;
  color: #076f66;
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 14px rgba(17,89,81,.12);
  font-size: clamp(10px, .95vw, 14px);
  font-weight: 950;
  letter-spacing: .045em;
  text-align: center;
  white-space: normal;
  line-height: 1.15;
}

.g3eo-intro,
.g3eo-anchor,
.g3eo-estimate,
.g3eo-count,
.g3eo-quarter,
.g3eo-density,
.g3eo-independent {
  display: grid;
  align-content: start;
  gap: 10px;
}

.g3eo-lab-scene {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid rgba(125,199,188,.78);
  border-radius: 24px;
  background: #d9f1ec;
  box-shadow: 0 14px 34px rgba(21,84,77,.18);
  isolation: isolate;
}

.g3eo-lab-scene > img,
.g3eo-finish > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.g3eo-reference-field,
.g3eo-main-field {
  position: absolute;
  z-index: 4;
}

.g3eo-reference-field {
  left: 2.4%;
  top: 70.5%;
  width: 20.5%;
  height: 15.8%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  grid-template-rows: repeat(2, minmax(0,1fr));
  place-items: center;
  gap: 2px;
  padding: 2px 7px;
  box-sizing: border-box;
}

.g3eo-main-field {
  left: 25.2%;
  top: 64.2%;
  width: 54.2%;
  height: 18.7%;
}

.g3eo-seed {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: block;
  width: clamp(7px, 1.05vw, 14px);
  aspect-ratio: 1.25 / 1;
  border: 1px solid rgba(97,65,19,.38);
  border-radius: 62% 38% 58% 42%;
  background: linear-gradient(135deg, #ffe071 0 35%, #e68735 36% 72%, #a64d28 73%);
  box-shadow: 0 2px 3px rgba(79,48,17,.22);
  transform: translate(-50%, -50%) rotate(calc((var(--seed) * 17deg) - 25deg));
}

.g3eo-reference-field .g3eo-seed {
  position: static;
  width: min(100%,10px);
  transform: rotate(calc((var(--seed) * 17deg) - 25deg));
}

.g3eo-reference-label,
.g3eo-density-note,
.g3eo-whole-badge {
  position: absolute;
  z-index: 8;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #087f72;
  box-shadow: 0 5px 12px rgba(9,70,65,.2);
  font-size: clamp(8px, .8vw, 12px);
  font-weight: 950;
}

.g3eo-reference-label { left: 5.5%; bottom: 7%; }
.g3eo-reference-field { opacity: 1; }
.g3eo-anchor .g3eo-reference-field { opacity:.12; transform:translateX(-20px) scale(.84); }
.g3eo-lab-scene.show-reference .g3eo-reference-field,
.g3eo-lab-scene.show-grid-hint .g3eo-reference-field {
  opacity: 1;
  transform:none;
  filter: drop-shadow(0 0 8px #ffd22c);
  animation: g3eo-reference-enter .7s cubic-bezier(.2,.9,.25,1.18),g3eo-reference-pulse .8s .75s ease 2;
}

@keyframes g3eo-reference-pulse { 50% { transform: scale(1.06); } }
@keyframes g3eo-reference-enter { from { opacity:.12; transform:translateX(-20px) scale(.84); } to { opacity:1; transform:none; } }

.g3eo-anchor-copies {
  position: absolute;
  inset: 61% 18% 12% 24%;
  z-index: 7;
  pointer-events: none;
}

.g3eo-anchor-copies i {
  position: absolute;
  left: calc(var(--copy) * 23%);
  top: calc((var(--copy) % 2) * 34%);
  display: grid;
  place-items: center;
  width: 22%;
  height: 52%;
  border: 3px dashed rgba(255,181,27,.96);
  border-radius: 18px;
  color: transparent;
  background: rgba(255,228,113,.23);
  font-style: normal;
  font-weight: 950;
  opacity: 0;
  transform: translateX(-45px) scale(.78);
}
.g3eo-anchor-copies i span { display:none; }

.g3eo-lab-scene.show-anchor-copies .g3eo-anchor-copies i,
.g3eo-lab-scene.show-grid-hint .g3eo-anchor-copies i {
  opacity: 1;
  transform: none;
  transition: .45s calc(var(--copy) * .16s) cubic-bezier(.2,.8,.2,1);
}

.g3eo-question-cloud,
.g3eo-anchor-rule {
  position: absolute;
  z-index: 10;
  left: 4.5%;
  top: 13%;
  display: grid;
  gap: 4px;
  width: min(46%, 430px);
  padding: 14px 16px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(16,73,68,.2);
  color: #184f4a;
}

.g3eo-question-cloud b,
.g3eo-anchor-rule b { font-size: clamp(18px,2vw,30px); line-height:1.05; }
.g3eo-question-cloud span,
.g3eo-anchor-rule span { color:#46635f; font-weight:800; }

.g3eo-estimate > p,
.g3eo-quarter > p,
.g3eo-density > p,
.g3eo-independent > p,
.g3eo-compare > p {
  width: min(94%, 760px);
  margin: 0 auto;
  padding: 9px 14px;
  border-radius: 15px;
  background: #fff4cf;
  color: #5c4a13;
  font-size: clamp(14px,1.3vw,19px);
  font-weight: 850;
  text-align: center;
}

.g3eo-estimate .g3eo-main-field,
.g3eo-independent-estimate-view .g3eo-main-field {
  filter: blur(.55px);
}

.g3eo-lab-scene.is-grouped .g3eo-main-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.g3eo-lab-scene.is-grouped .g3eo-ten-group {
  width: calc((100% - (var(--g3eo-groups, 4) - 1) * 3px) / var(--g3eo-groups, 4));
  max-width: 92px;
}

.g3eo-ten-group {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  width: min(19%, 92px);
  min-height: 62%;
  padding: 4px 3px 15px;
  border: 2px dashed rgba(11,127,114,.55);
  border-radius: 10px;
  background: rgba(255,255,255,.45);
  opacity: .42;
  transform: translateY(7px);
}

.g3eo-ten-group .g3eo-seed {
  position: static;
  width: 100%;
  max-width: 13px;
  margin: auto;
  transform: rotate(calc((var(--seed) * 17deg) - 25deg));
}

.g3eo-ten-group > b {
  position: absolute;
  left: 50%;
  bottom: -10px;
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  background: #087f72;
  font-size: 10px;
  transform: translateX(-50%);
}

.g3eo-ten-group.is-ones > b { background:#eb7047; }
.g3eo-ten-group.is-counted,
.g3eo-lab-scene.show-grid-hint .g3eo-ten-group { opacity:1; transform:none; transition:.35s ease; box-shadow:0 0 0 4px rgba(255,185,40,.25); }
.g3eo-count .g3eo-ten-group,
.g3eo-independent:not(.g3eo-independent-estimate-view) .g3eo-ten-group { opacity:.12; transform:translateY(10px) scale(.9); }
.g3eo-count .g3eo-ten-group.is-counted,
.g3eo-independent:not(.g3eo-independent-estimate-view) .g3eo-ten-group.is-counted { opacity:1; transform:none; }

.g3eo-count-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  width: fit-content;
  max-width: 96%;
  margin: 0 auto;
  padding: 7px 12px;
  border: 2px solid #b5dcd6;
  border-radius: 16px;
  background:#fff;
  color:#174e4a;
  font-size:clamp(16px,1.55vw,23px);
  font-weight:950;
}
.g3eo-count-equation i { color:#e76741; font-style:normal; }
.g3eo-count-equation b { margin-left:5px; color:#087f72; }

.g3eo-compare {
  display:grid;
  align-content:center;
  gap:18px;
}

.g3eo-comparison {
  display:grid;
  gap:16px;
  width:min(92%,700px);
  margin:20px auto 0;
  padding:22px;
  border:3px solid #aedbd4;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 32px rgba(17,82,76,.15);
}

.g3eo-comparison section {
  display:grid;
  grid-template-columns:120px 54px 1fr;
  align-items:center;
  gap:10px;
}
.g3eo-comparison section span { color:#42635f; font-size:12px; font-weight:950; letter-spacing:.04em; }
.g3eo-comparison section b { color:#164c48; font-size:30px; text-align:center; }
.g3eo-comparison section i { position:relative; height:31px; overflow:hidden; border-radius:999px; background:#e8f2f0; }
.g3eo-comparison section i::after { content:""; position:absolute; inset:0 auto 0 0; width:var(--amount); border-radius:inherit; background:linear-gradient(90deg,#14a28f,#64cabd); }
.g3eo-comparison section:first-child i::after { background:linear-gradient(90deg,#f29d4a,#ec7048); }
.g3eo-spoken-compare .g3eo-comparison section { opacity:.42; transition:opacity .35s ease,box-shadow .35s ease,transform .35s ease; }
.g3eo-spoken-compare .g3eo-comparison section.is-spoken { opacity:1; transform:translateX(4px); box-shadow:0 0 0 5px rgba(255,184,31,.2); border-radius:12px; }
.g3eo-comparison > strong { justify-self:center; padding:6px 14px; border-radius:999px; color:#a94b2e; background:#fff1d1; }

.g3eo-quadrant-grid {
  position:absolute;
  z-index:6;
  left:25.4%;
  top:63.7%;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:3px;
  width:54%;
  height:20.5%;
}
.g3eo-quadrant-grid section { position:relative; overflow:hidden; border:2px dashed rgba(10,126,113,.68); border-radius:8px; background:rgba(255,255,255,.38); }
.g3eo-quadrant-grid section > div { position:absolute; inset:2px; display:flex; align-items:center; justify-content:center; }
.g3eo-quadrant-grid .g3eo-ten-group { width:95%; min-height:65%; opacity:1; transform:none; }
.g3eo-quadrant-grid section > b { position:absolute; right:4px; bottom:2px; display:grid; place-items:center; min-width:24px; height:20px; border-radius:999px; color:#fff; background:#087f72; font-size:10px; }
.g3eo-quadrant-grid section > span { display:none; }
.g3eo-quadrant-grid section.is-target::after { content:""; position:absolute; inset:0; background:repeating-linear-gradient(135deg,rgba(255,236,182,.98) 0 8px,rgba(255,248,221,.98) 8px 16px); transition:.75s ease; }
.g3eo-quadrant-grid section.is-target > b { z-index:2; background:#e96d43; }
.g3eo-quadrant-scene.show-quarter .g3eo-quadrant-grid section.is-target::after,
.g3eo-quadrant-scene.animate-quarter-reveal .g3eo-quadrant-grid section.is-target::after { transform:translateY(-110%); }
.g3eo-whole-badge { right:4%; top:14%; }

.g3eo-density-grid {
  position:absolute;
  z-index:6;
  left:25.3%;
  top:63.6%;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  grid-template-rows:repeat(2,1fr);
  gap:2px;
  width:54.1%;
  height:20.7%;
}
.g3eo-density-grid section { position:relative; overflow:hidden; border:1.5px dashed rgba(8,124,111,.55); border-radius:7px; background:rgba(255,255,255,.32); }
.g3eo-density-grid section > div { position:absolute; inset:2px; display:flex; align-items:center; justify-content:center; }
.g3eo-density-grid .g3eo-ten-group { width:100%; min-height:75%; border:0; padding:1px; opacity:1; transform:none; background:transparent; }
.g3eo-density-grid .g3eo-ten-group > b { display:none; }
.g3eo-density-grid section > b { position:absolute; right:2px; bottom:1px; z-index:3; color:#075f57; font-size:9px; }
.g3eo-density-grid section.sample { border:3px solid #ffb41d; background:rgba(255,232,137,.42); box-shadow:0 0 0 3px rgba(255,192,50,.22); }
.g3eo-density-scene.sample-only .g3eo-density-grid section:not(.sample) .g3eo-seed { filter:blur(2.2px); opacity:.48; }
.g3eo-density-note { left:26%; bottom:8%; background:#e56a42; }
.g3eo-density-total { position:absolute; z-index:9; left:50%; bottom:5.5%; width:max-content; max-width:70%; padding:5px 10px; border-radius:999px; color:#fff; background:#087f72; font-size:clamp(8px,.75vw,11px); transform:translateX(-50%); }

.g3eo-strategy {
  display:grid;
  place-content:center;
  gap:22px;
}
.g3eo-strategy-cards { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }
.g3eo-strategy-cards section { display:grid; justify-items:center; gap:7px; min-width:150px; padding:18px; border:3px solid #acd9d2; border-radius:20px; background:#fff; box-shadow:0 9px 20px rgba(15,85,77,.12); }
.g3eo-strategy-cards section i { display:grid; place-items:center; width:66px; aspect-ratio:1; border-radius:50%; color:#fff; background:#087f72; font-size:28px; font-style:normal; font-weight:950; }
.g3eo-strategy-cards section b { color:#184f4a; text-align:center; }
.g3eo-strategy-cards > span { color:#e66d45; font-size:32px; font-weight:950; }
.g3eo-strategy > p { margin:0; color:#375f5b; font-size:20px; font-weight:900; text-align:center; }

.g3eo-alternative {
  position:absolute;
  inset:8% 5%;
  z-index:30;
  display:grid;
  align-content:center;
  gap:16px;
  padding:24px;
  border:4px solid #70c7ba;
  border-radius:26px;
  background:rgba(249,255,253,.985);
  box-shadow:0 18px 40px rgba(12,72,66,.24);
}
.g3eo-alternative > p { margin:0; color:#315f5a; font-size:clamp(15px,1.4vw,20px); font-weight:850; text-align:center; }
.g3eo-alt-grid,
.g3eo-alt-quarters { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; width:min(100%,650px); margin:0 auto; }
.g3eo-alt-quarters { grid-template-columns:repeat(4,1fr); }
.g3eo-alt-grid i,
.g3eo-alt-quarters i { display:grid; place-items:center; min-height:100px; border:3px dashed #98d1c8; border-radius:17px; color:#24615b; background:#eefaf7; font-style:normal; }
.g3eo-alt-grid i.sample { border-color:#ffb51b; background:#fff3c6; }
.g3eo-alt-bars { display:grid; gap:18px; width:min(100%,650px); margin:0 auto; }
.g3eo-alt-bars i { position:relative; display:block; width:var(--w); height:48px; border-radius:999px; background:linear-gradient(90deg,#14a28f,#69cdbf); }
.g3eo-alt-bars i:first-child { background:linear-gradient(90deg,#f39d49,#ed7149); }
.g3eo-alt-bars b { position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-style:normal; }

.g3eo-finish { display:grid; place-items:center; min-height:min(650px,calc(100vh - 330px)); text-align:center; }
.g3eo-finish > img { opacity:.48; }
.g3eo-finish > div { position:relative; z-index:2; width:min(86%,720px); padding:28px; border-radius:25px; background:rgba(255,255,255,.95); box-shadow:0 18px 38px rgba(16,77,70,.2); }
.g3eo-finish span { color:#e46942; font-weight:950; letter-spacing:.08em; }
.g3eo-finish h1 { margin:7px 0; color:#164c48; font-size:clamp(23px,2.4vw,36px); line-height:1.08; }
.g3eo-finish p { margin:0; color:#45635f; font-weight:800; }

.grade3-estimate-objects-footer .final-choice-row {
  align-items:stretch;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
}
.grade3-estimate-objects-footer [data-g3eo-strategy] { min-height:72px; white-space:normal; line-height:1.15; }

@media (max-width:900px) {
  .grade3-estimate-objects-board .board-square { min-height:540px; padding:9px; }
  .g3eo-lab-scene { width:100%; }
  .g3eo-question-cloud,.g3eo-anchor-rule { top:10%; left:3%; width:54%; padding:10px; }
  .g3eo-ten-group { padding-bottom:11px; }
  .g3eo-comparison { margin-top:8px; padding:14px; }
}

@media (max-width:620px) {
  .grade3-estimate-objects-board .board-square { min-height:410px; }
  .grade3-estimate-objects-board .board-square.g3eo-strategy { min-height:330px; }
  .g3eo-question-cloud,.g3eo-anchor-rule { width:59%; padding:8px; border-radius:14px; }
  .g3eo-question-cloud b,.g3eo-anchor-rule b { font-size:15px; }
  .g3eo-question-cloud span,.g3eo-anchor-rule span { font-size:11px; }
  .g3eo-reference-label,.g3eo-density-note,.g3eo-whole-badge { padding:3px 6px; font-size:7px; }
  .g3eo-seed { width:6px; border-width:.5px; }
  .g3eo-ten-group { gap:1px; min-height:54%; padding:2px 1px 8px; border-width:1px; }
  .g3eo-ten-group > b { min-width:18px; height:14px; bottom:-7px; font-size:7px; }
  .g3eo-count-equation { gap:4px; padding:5px 8px; font-size:13px; }
  .g3eo-comparison { width:96%; gap:10px; padding:12px; }
  .g3eo-comparison section { grid-template-columns:78px 38px 1fr; gap:5px; }
  .g3eo-comparison section span { font-size:8px; }
  .g3eo-comparison section b { font-size:21px; }
  .g3eo-comparison section i { height:23px; }
  .g3eo-strategy-cards { gap:5px; }
  .g3eo-strategy-cards section { min-width:88px; padding:9px; font-size:11px; }
  .g3eo-strategy-cards section i { width:40px; font-size:18px; }
  .g3eo-strategy-cards > span { font-size:18px; }
  .g3eo-strategy > p { font-size:15px; }
  .g3eo-alternative { inset:4%; padding:12px; }
  .g3eo-alt-grid i,.g3eo-alt-quarters i { min-height:65px; font-size:10px; }
  .g3eo-alt-bars i { height:35px; }
  .grade3-estimate-objects-footer .final-choice-row { grid-template-columns:1fr; }
  .grade3-estimate-objects-footer .assessment-choice { min-height:44px; }
  .grade3-estimate-objects-footer [data-g3eo-strategy] { min-height:40px; padding:6px 9px; font-size:11px; }
}

@media (prefers-reduced-motion:reduce) {
  .grade3-estimate-objects-board *,
  .grade3-estimate-objects-board *::before,
  .grade3-estimate-objects-board *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* grade4.css */
.lesson-shell[data-grade="4"] .teacher-classroom {
  --g4-ink: #123f4f;
  --g4-teal: #078f80;
  --g4-orange: #ef8b35;
  --g4-cream: #fffaf0;
}

/* MAT.4.1.6 · Basit, bileşik ve tam sayılı kesirleri temsil etme */
.grade4-fraction-shell .topic-board-wrap{background:#e8f7f5}.grade4-fraction-board{padding:0;overflow:hidden}.g4f-scene{position:relative;min-height:100%;padding:20px;color:#173447;isolation:isolate;overflow:hidden}.g4f-ambient{position:absolute;inset:-24px;background:linear-gradient(145deg,rgba(232,247,245,.82),rgba(255,246,218,.7)),var(--g4f-image) center/cover;filter:blur(22px) saturate(.75);opacity:.58;z-index:-2}.g4f-content{position:relative;z-index:2;max-width:1120px;margin:auto}.g4f-content>h1{max-width:780px;margin:5px 0 13px;font-size:clamp(1.35rem,2.9vw,2.35rem);line-height:1.05}.g4f-canvas{position:relative;min-height:520px;border:2px solid rgba(255,255,255,.78);border-radius:32px;overflow:hidden;background:#dceee9;box-shadow:0 24px 54px rgba(29,58,62,.22)}.g4f-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g4f-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:30px;background:linear-gradient(90deg,rgba(18,43,48,.15),transparent 38%,rgba(18,43,48,.08));z-index:2}.g4f-focus{outline:6px solid rgba(255,197,61,.8);outline-offset:-7px}.g4f-hook{display:grid;gap:20px;width:min(940px,95%);padding:24px;border-radius:26px;background:rgba(255,255,255,.9);box-shadow:0 16px 42px rgba(22,59,65,.2)}.g4f-hook>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.g4f-hook span{display:grid;grid-template-columns:repeat(2,1fr);align-items:center;min-height:150px;padding:10px;border-radius:20px;background:#fff5d7;border:2px solid #f4ca59}.g4f-hook img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 8px 5px rgba(78,46,20,.23))}.g4f-hook b{grid-column:1/-1;text-align:center}.g4f-hook>strong{text-align:center;font-size:1.25rem}.g4f-area-model{display:grid;grid-template-columns:repeat(var(--groups),minmax(120px,190px));align-items:center;justify-content:center;gap:16px}.g4f-area-model section{display:grid;grid-template-columns:repeat(var(--den),1fr);height:120px;border:4px solid #315d67;border-radius:22px;overflow:hidden;background:#fff}.g4f-area-model i{border-right:2px solid #315d67;background:#f8fbf7}.g4f-area-model i:last-child{border:0}.g4f-area-model i.filled{background:linear-gradient(145deg,#f9d061,#ee8d48)}.g4f-area-model strong{grid-column:1/-1;text-align:center;font-size:1.45rem;padding:6px 12px;border-radius:14px;background:#fff}.g4f-equal-demo{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;width:min(900px,95%);padding:22px;border-radius:26px;background:rgba(255,255,255,.92)}.g4f-equal-demo section{display:grid;place-items:center;min-height:230px}.g4f-equal-demo .unequal{grid-template-columns:1fr 2fr 3fr;gap:4px;padding:24px;border:3px dashed #d76550;border-radius:20px}.g4f-equal-demo .unequal i{width:100%;height:80px;background:#f2a56f}.g4f-equal-demo .unequal b{grid-column:1/-1;text-align:center;color:#8a2e26}.g4f-label-task,.g4f-kind-model,.g4f-boundary,.g4f-context-card,.g4f-independent,.g4f-create-start,.g4f-oral{display:grid;gap:22px;width:min(760px,94%);padding:28px;border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(25,61,68,.2);text-align:center}.g4f-label-task>div:last-child{display:flex;justify-content:center;gap:14px}.g4f-label-task>div:last-child b,.g4f-kind-model>div,.g4f-boundary p{padding:12px 18px;border-radius:14px;background:#e5f3f0}.g4f-kind-model>div{display:grid;gap:5px}.g4f-kind-model>div b{font-size:1.3rem;color:#b04b2e}.g4f-piece-task{display:grid;gap:18px;width:min(980px,97%);padding:20px;border-radius:26px;background:rgba(255,255,255,.9)}.g4f-plates{display:grid;grid-template-columns:repeat(var(--plates),minmax(220px,1fr));gap:18px}.g4f-plates section{display:grid;gap:8px;padding:15px;border:3px solid #a86e34;border-radius:50% 50% 42% 42%;background:radial-gradient(circle,#fff 45%,#e7f2f0 47%,#90c2bb 52%,#fff 56%);min-height:240px;align-content:center;text-align:center}.g4f-plates section>div{display:grid;grid-template-columns:repeat(2,minmax(58px,86px));justify-content:center;gap:5px}.g4f-plates section i{display:grid;place-items:center;aspect-ratio:1;border:2px dashed rgba(44,98,98,.5);border-radius:16px;background:rgba(255,255,255,.44)}.g4f-plates section i.filled{border-color:transparent;background:transparent}.g4f-plates section img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 5px rgba(58,38,19,.25))}.g4f-piece-source{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.g4f-piece-source [data-g4f-piece]{display:flex;align-items:center;gap:8px;padding:7px 15px;border:0;border-radius:18px;background:#f7c64f;color:#3d321d;font-weight:900;box-shadow:0 8px 0 #bf7a30;cursor:grab}.g4f-piece-source [data-g4f-piece]:active{transform:translateY(5px);box-shadow:0 3px 0 #bf7a30}.g4f-piece-source img{width:72px;height:72px;object-fit:contain}.g4f-piece-source [data-g4f-undo]{padding:10px 15px;border-radius:14px;border:2px solid #5e7f84;background:#fff}.g4f-piece-source strong{min-width:160px;text-align:center}.g4f-number-line{position:relative;width:min(820px,95%);height:130px;margin:auto}.g4f-line-track{position:absolute;left:4%;right:4%;top:48%;height:8px;border-radius:8px;background:#315d67}.g4f-number-line button{position:absolute;left:calc(4% + var(--point) * 92% / var(--steps));top:26%;translate:-50% 0;width:42px;height:78px;border:0;background:transparent}.g4f-number-line button i{display:block;width:5px;height:42px;margin:auto;background:#315d67}.g4f-number-line button span{display:block;font-weight:900}.g4f-number-line button:hover i,.g4f-number-line button.active i{background:#e2583e;transform:scale(1.25)}.g4f-line-task{width:min(900px,95%);padding:30px;border-radius:28px;background:rgba(255,255,255,.93)}.g4f-line-task>strong{display:block;text-align:center;font-size:2rem;color:#b5412a}.g4f-mixed-model{display:grid;grid-template-columns:1fr 1fr 1.2fr;align-items:center;gap:14px;width:min(930px,96%);padding:24px;border-radius:26px;background:rgba(255,255,255,.92)}.g4f-mixed-model>img{width:100%;max-height:210px;object-fit:contain;filter:drop-shadow(0 12px 10px rgba(56,31,20,.28))}.g4f-mixed-model .g4f-area-model{grid-template-columns:minmax(110px,170px)}.g4f-mixed-model>strong{grid-column:1/-1;text-align:center;font-size:1.7rem}.g4f-context-card h2{font-size:1.6rem}.g4f-context-card span,.g4f-independent>span{justify-self:center;padding:7px 12px;border-radius:12px;background:#1c6c72;color:#fff;font-weight:900}.g4f-alternative{position:absolute;right:18px;bottom:16px;width:min(410px,80%);padding:15px;border:3px solid #f3bd46;border-radius:20px;background:#fff9da;box-shadow:0 12px 32px rgba(50,40,20,.25);z-index:6}.g4f-alternative>span{font-weight:950;color:#935024}.g4f-mini-line,.g4f-count-tray,.g4f-two-questions{display:flex;gap:7px;align-items:center;margin:9px 0}.g4f-mini-line i,.g4f-count-tray b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#4c8585;color:#fff}.g4f-count-tray i{font-size:.75rem;font-weight:900}.g4f-two-questions b{flex:1;padding:8px;border-radius:10px;background:#dfeeea}.g4f-oral-ready,.g4f-result,.g4f-finish{display:grid;justify-items:center;gap:16px;width:min(720px,94%);padding:34px;border-radius:28px;background:rgba(255,255,255,.95);text-align:center}.g4f-oral-ready>span,.g4f-result>span{font-size:4rem}.g4f-oral-ready button{padding:14px 20px;border:0;border-radius:16px;background:#e35b40;color:#fff;font-weight:900}.g4f-finish>span{padding:8px 13px;border-radius:13px;background:#286d72;color:#fff;font-weight:900}.g4f-finish>strong{font-size:1.8rem}.g4f-result>strong{font-size:1.35rem}.g4f-create-start strong{font-size:1.6rem}
@media(max-width:720px){.g4f-scene{padding:12px}.g4f-content>h1{font-size:1.28rem;margin-bottom:9px}.g4f-canvas{min-height:500px;border-radius:22px}.g4f-overlay{padding:14px}.g4f-hook{padding:14px}.g4f-hook>div{grid-template-columns:repeat(2,1fr)}.g4f-hook span{min-height:110px}.g4f-hook img{width:44px;height:44px}.g4f-equal-demo{grid-template-columns:1fr;gap:9px;padding:14px}.g4f-equal-demo section{min-height:145px}.g4f-area-model{grid-template-columns:repeat(var(--groups),minmax(82px,125px));gap:8px}.g4f-area-model section{height:86px}.g4f-label-task,.g4f-kind-model,.g4f-boundary,.g4f-context-card,.g4f-independent,.g4f-create-start,.g4f-oral{padding:16px;gap:12px}.g4f-plates{grid-template-columns:repeat(var(--plates),minmax(135px,1fr));gap:7px}.g4f-plates section{min-height:190px;padding:8px}.g4f-plates section>div{grid-template-columns:repeat(2,minmax(42px,62px))}.g4f-piece-task{padding:10px}.g4f-piece-source{gap:8px}.g4f-piece-source img{width:50px;height:50px}.g4f-piece-source strong{font-size:.86rem}.g4f-mixed-model{grid-template-columns:1fr 1fr;padding:13px}.g4f-mixed-model>img{max-height:140px}.g4f-mixed-model>span{grid-column:1/-1}.g4f-alternative{right:8px;bottom:8px;width:calc(100% - 16px);font-size:.83rem}.g4f-number-line button{width:30px}.g4f-line-task{padding:18px 4px}.g4f-oral-ready,.g4f-result,.g4f-finish{padding:20px}.g4f-background{object-position:center}.family-factory .g4f-background{object-position:center 38%}.family-river .g4f-background{object-position:center 48%}}

.grade4-board {
  min-height: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #dff3ef;
}

.g4-scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(420px, 59vh, 650px);
  overflow: hidden;
  border-radius: 28px;
  color: var(--g4-ink);
}

.g4-scene.g4-question {
  min-height: clamp(350px, 50vh, 525px);
}

.g4-scene.g4-complete {
  min-height: clamp(330px, 46vh, 450px);
}

.g4-complete .g4-visual {
  display: none;
}

.g4-scene[data-phase="6"] {
  min-height: 330px;
}

.g4-scene[data-phase="6"] .g4-visual {
  min-height: 165px;
  height: 165px;
  max-height: 165px;
  overflow: hidden;
}

.g4-scene[data-phase="6"] .g4-visual > * {
  transform: scale(.52);
}

.g4-scene[data-phase="6"] .g4-cycle,
.g4-scene[data-phase="6"] .g4-sequence {
  transform: none;
}

.g4-scene[data-phase="6"] .g4-cycle i {
  display: none;
}

.g4-question .g4-visual {
  min-height: clamp(210px, 31vh, 310px);
}

.g4-question .g4-sequence,
.g4-question .g4-cycle {
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
}

.g4-question .g4-sequence b,
.g4-question .g4-cycle b {
  min-width: 0;
  padding: 10px 6px;
  font-size: clamp(13px, 1.55vw, 20px);
}

.g4-question .g4-net {
  transform: scale(.78);
}

.g4-scene-background,
.g4-scene-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.g4-scene-background {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.g4-scene-shade {
  z-index: -2;
  background: linear-gradient(115deg, rgba(240, 251, 248, .97) 0 46%, rgba(240, 251, 248, .82) 72%, rgba(240, 251, 248, .38));
  backdrop-filter: blur(1px);
}

.g4-scene-content {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  width: 94%;
  max-width: 880px;
  min-width: 0;
  min-height: inherit;
  margin: auto;
  padding: clamp(22px, 4vh, 46px) clamp(16px, 4vw, 54px);
  box-sizing: border-box;
}

.g4-scene-content > h2 {
  margin: 0;
  width: 100%;
  max-width: 760px;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.08;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

.g4-scene .board-kicker {
  padding: 7px 13px;
  border-radius: 999px;
  color: #057467;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 18px rgba(22, 78, 76, .12);
}

.g4-visual {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(255px, 39vh, 400px);
  padding: clamp(14px, 2vw, 24px);
  border: 2px solid rgba(110, 189, 178, .68);
  border-radius: 28px;
  background: rgba(255, 255, 255, .89);
  box-shadow: 0 20px 45px rgba(22, 67, 74, .16);
  box-sizing: border-box;
}

.g4-place-model {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  width: 100%;
  max-width: 100%;
}

.g4-place-model section {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 6px;
  min-height: 170px;
  padding: 8px;
  min-width: 0;
  border-radius: 16px;
  background: #ecfaf7;
}

.g4-place-model small { max-width: 100%; font-size: 9px; font-weight: 900; text-align: center; overflow-wrap: anywhere; }
.g4-place-model strong { font-size: clamp(28px, 4vw, 50px); }
.g4-place-model i {
  width: 70%;
  height: calc(var(--height) * 8px + 10px);
  max-height: 82px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(#ffb85d, #ef7c3c);
  transform-origin: bottom;
}
.g4-place-model section:nth-child(n+4) i { background: linear-gradient(#55cab8, #078f80); }
.g4-number-read { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.g4-number-read b { font-size: 30px; }
.g4-number-read span { font-size: 10px; font-weight: 900; color: #57767d; }
.g4-number-read em { color: var(--g4-orange); font-size: 34px; font-style: normal; }

.g4-compare-model, .g4-sequence, .g4-operation-route, .g4-cycle, .g4-measure-ladder,
.g4-estimate, .g4-compensation, .g4-fraction-operation, .g4-mission {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 18px);
  flex-wrap: wrap;
}

.g4-sequence {
  flex-wrap: nowrap;
  gap: 3px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.g4-sequence b {
  min-width: 0;
  padding: 9px 4px;
  font-size: clamp(12px, 1.45vw, 18px);
}

.g4-compare-model b, .g4-sequence b, .g4-operation-route b, .g4-cycle b,
.g4-measure-ladder b, .g4-estimate b, .g4-estimate strong, .g4-compensation b,
.g4-compensation strong, .g4-mission b {
  padding: 15px 18px;
  border: 2px solid #8ed2c7;
  border-radius: 17px;
  background: white;
  font-size: clamp(21px, 3vw, 34px);
  box-shadow: 0 8px 18px rgba(9, 83, 77, .11);
}
.g4-visual .g4-sequence b {
  min-width: 0;
  padding: 9px 4px;
  font-size: clamp(12px, 1.45vw, 18px);
}
.g4-compare-model > span { font-size: 50px; color: var(--g4-orange); font-weight: 900; }
.g4-compare-model > i { flex-basis: 100%; text-align: center; font-style: normal; font-weight: 800; }
.g4-sequence i, .g4-operation-route i, .g4-cycle i, .g4-measure-ladder i { color: var(--g4-orange); font-weight: 900; font-style: normal; }
.g4-sequence .unknown { border-color: var(--g4-orange); color: var(--g4-orange); }

.g4-number-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; }
.g4-number-line > b { font-size: clamp(18px, 2.5vw, 28px); }
.g4-number-line > div { position: relative; height: 12px; border-radius: 999px; background: #0a8d80; }
.g4-number-line > div::before { content: ""; position: absolute; inset: -10px 0; background: repeating-linear-gradient(90deg, transparent 0 9.5%, #5c9f98 10% 10.5%); }
.g4-number-line i { position: absolute; left: var(--point); top: 50%; width: 24px; height: 24px; border: 5px solid white; border-radius: 50%; background: var(--g4-orange); transform: translate(-50%, -50%); box-shadow: 0 4px 13px #9b602e66; }
.g4-number-line i span { position: absolute; left: 50%; bottom: 30px; padding: 7px 10px; border-radius: 10px; background: #fff; font-style: normal; font-weight: 900; transform: translateX(-50%); }

.g4-fraction-pair, .g4-cake-model { display: grid; gap: 16px; width: min(100%, 680px); }
.g4-cake-model { grid-template-columns: repeat(2, 1fr); }
.g4-cake-model > strong { grid-column: 1 / -1; text-align: center; font-size: 25px; }
.g4-fraction-strip { display: grid; grid-template-columns: repeat(var(--parts), 1fr); position: relative; min-height: 70px; overflow: hidden; border: 3px solid #0b8d80; border-radius: 16px; background: white; }
.g4-fraction-strip i { border-right: 2px solid #0b8d80; background: white; }
.g4-fraction-strip i:last-of-type { border-right: 0; }
.g4-fraction-strip i.filled { background: linear-gradient(135deg, #ffba68, #f18a41); }
.g4-fraction-strip b { position: absolute; right: 8px; bottom: 6px; padding: 3px 7px; border-radius: 8px; background: #fff; }
.g4-fraction-operation > b, .g4-fraction-operation > strong { font-size: 34px; }
.g4-fraction-operation .g4-fraction-strip { width: 240px; }

.g4-object-groups { display: grid; gap: 14px; justify-items: center; width: min(100%, 720px); }
.g4-token-bank { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.g4-token-bank i, .g4-array div i { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff5a5 0 12%, #f2a841 18% 58%, #bf6c25); box-shadow: 0 3px 5px #74411155; }
.g4-trays { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 8px; width: 100%; }
.g4-trays section { min-height: 54px; border: 3px solid #73c9bd; border-radius: 50%; background: #e9faf7; }
.g4-trays small { display: block; text-align: center; padding-top: 17px; font-weight: 900; }

.g4-column { display: grid; justify-items: end; min-width: 260px; padding: 22px 35px; border-radius: 20px; background: #f9fffe; font: 800 38px/1.2 ui-monospace, monospace; box-shadow: inset 0 0 0 2px #91d3c9; }
.g4-column b i { margin-right: 24px; color: var(--g4-orange); font-style: normal; }
.g4-column hr { width: 100%; border: 0; border-top: 4px solid #164757; }
.g4-column strong { color: var(--g4-orange); }
.g4-column small { justify-self: center; margin-top: 12px; color: #53757d; font: 800 12px/1.2 system-ui; }
.g4-partial-products { display: grid; justify-items: end; gap: 3px; margin: 5px 0; color: #0a796f; font: 800 14px/1.2 system-ui; }
.g4-compensation i { padding: 7px; border-radius: 9px; background: #ffe3bb; color: #b9621f; font-style: normal; font-weight: 900; }

.g4-division-place { display: grid; justify-items: center; gap: 12px; width: min(100%, 650px); }
.g4-place-bank { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.g4-place-bank section { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4px; min-height: 52px; padding: 5px; border-radius: 13px; background: #effaf8; }
.g4-place-bank i { display: block; background: #f0a34d; box-shadow: inset -3px -3px 4px #9d571b33; }
.g4-place-bank i.hundred { width: 24px; height: 24px; border-radius: 4px; }
.g4-place-bank i.ten { width: 8px; height: 35px; border-radius: 3px; background: #56beaf; }
.g4-place-bank i.one { width: 12px; height: 12px; border-radius: 50%; background: #8a72d4; }
.g4-division-place > strong { font-size: 25px; }
.g4-division-place .g4-trays { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.g4-division-place .g4-trays section { display: grid; place-items: center; min-height: 40px; }
.g4-division-place .g4-trays small { padding-top: 2px; font-size: 9px; }
.g4-division-place .g4-trays b { font-size: 13px; }
.g4-remainder { display: flex; align-items: center; gap: 4px; }
.g4-remainder span { margin-right: 4px; font-size: 10px; font-weight: 900; }
.g4-remainder i { width: 10px; height: 10px; border-radius: 50%; background: #8a72d4; }

.g4-array { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 12px; }
.g4-array > strong, .g4-array > div { grid-column: 1 / -1; justify-self: center; }
.g4-array > div { display: grid; grid-template-columns: repeat(8, 24px); gap: 5px; }
.g4-array div i.remainder { background: #4db8ac; }
.g4-array > b { padding: 10px 14px; border-radius: 12px; background: white; font-size: 24px; }
.g4-array > span { font-size: 30px; color: var(--g4-orange); }

.g4-fact-family { position: relative; display: grid; grid-template-columns: repeat(2, minmax(90px, 130px)); place-items: center; justify-content: center; gap: 14px; width: 100%; }
.g4-fact-family strong { grid-column: 1 / -1; padding: 14px 30px; border-radius: 50%; background: #ffb35d; font-size: 34px; }
.g4-fact-family b { padding: 14px 30px; border-radius: 50%; background: #79d0c4; font-size: 28px; }
.g4-fact-family span { grid-column: 1 / -1; font-size: 20px; font-weight: 900; }

.g4-story-model { display: flex; align-items: center; gap: 20px; }
.g4-story-model section { display: flex; flex-wrap: wrap; width: 190px; gap: 7px; padding: 15px; border: 3px solid #6bc5b9; border-radius: 18px; }
.g4-story-model section i { width: 25px; height: 25px; border-radius: 6px; background: #ffad56; }
.g4-story-model section b { flex-basis: 100%; text-align: center; }
.g4-story-model > strong, .g4-story-model > span { font-size: 28px; }

.g4-balance { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: end; width: min(100%, 400px); }
.g4-balance section { padding: 25px 10px; border-radius: 18px; background: #fff; text-align: center; font-size: 27px; font-weight: 900; box-shadow: 0 8px 20px #183e4744; }
.g4-balance i { position: absolute; left: 50%; bottom: -30px; width: 70%; height: 7px; border-radius: 99px; background: #143f4f; transform: translateX(-50%); }
.g4-balance i::after { content: ""; position: absolute; left: 50%; top: 0; border: 42px solid transparent; border-bottom-color: #143f4f; transform: translate(-50%, -5px); }
.g4-balance strong { position: absolute; left: 50%; top: -50px; font-size: 48px; color: var(--g4-teal); transform: translateX(-50%); }

.g4-solid-transition { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.g4-solid-transition > b { color: var(--g4-orange); font-size: 30px; }
.g4-cube-mini { position: relative; flex: 0 0 70px; width: 70px; height: 110px; transform: rotate(-5deg) scale(.68); }
.g4-cube-mini i { position: absolute; width: 62px; height: 62px; border: 3px solid #184a57; background: #58c2b3; }
.g4-cube-mini i:nth-child(1) { left: 6px; top: 27px; transform: skewY(28deg); }
.g4-cube-mini i:nth-child(2) { left: 37px; top: 9px; transform: skewY(-28deg); background: #f0a14b; }
.g4-cube-mini i:nth-child(3) { left: 37px; top: 63px; transform: skewY(-28deg); background: #8cd8ce; }
.g4-net { position: relative; flex: 0 0 200px; width: 200px; height: 240px; transform: scale(.65); }
.g4-net i { position: absolute; width: 68px; height: 68px; border: 3px solid #174a58; background: #64c9ba; box-sizing: border-box; transform-origin: center; }
.g4-net i:nth-child(1) { left: 91px; top: 76px; }
.g4-net i:nth-child(2) { left: 23px; top: 76px; }
.g4-net i:nth-child(3) { left: 159px; top: 76px; }
.g4-net i:nth-child(4) { left: 91px; top: 8px; }
.g4-net i:nth-child(5) { left: 91px; top: 144px; }
.g4-net i:nth-child(6) { left: 91px; top: 212px; }
.g4-net strong { position: absolute; left: 50%; top: 0; padding: 8px; border-radius: 12px; background: #fff1d5; transform: translateX(-50%); }

.g4-shapes { display: flex; align-items: center; justify-content: space-around; gap: 10px; width: 100%; }
.g4-shapes i { display: block; filter: drop-shadow(0 9px 10px #234f5544); }
.g4-shapes .triangle { width: 0; height: 0; border-left: 46px solid transparent; border-right: 46px solid transparent; border-bottom: 88px solid #f2a14e; }
.g4-shapes .square { width: 82px; height: 82px; background: #48b9aa; }
.g4-shapes .rectangle { width: 108px; height: 72px; background: #8f72d7; }

.g4-perimeter { position: relative; width: min(390px, 80%); height: 230px; border: 9px solid #0b8d80; background: repeating-linear-gradient(45deg, #e9f8f5 0 18px, #d4f1eb 18px 36px); }
.g4-perimeter span { position: absolute; padding: 5px 8px; border-radius: 8px; background: white; font-weight: 900; }
.g4-perimeter span:nth-child(1) { top: -39px; left: 43%; }
.g4-perimeter span:nth-child(2) { right: -58px; top: 43%; }
.g4-perimeter span:nth-child(3) { bottom: -39px; left: 43%; }
.g4-perimeter span:nth-child(4) { left: -58px; top: 43%; }
.g4-perimeter strong { position: absolute; inset: 0; display: grid; place-items: center; }
.g4-area-grid { display: grid; grid-template-columns: repeat(var(--cols), 55px); grid-template-rows: repeat(var(--rows), 55px); }
.g4-area-grid i { border: 2px solid white; background: #54c2b3; }
.g4-area-grid i:nth-child(3n) { background: #f1a553; }

.g4-angles { display: flex; justify-content: center; align-items: end; gap: 8px; width: 100%; }
.g4-angles section { position: relative; flex: 1 1 0; min-width: 0; max-width: 170px; height: 150px; border-radius: 20px; background: #f5fffd; }
.g4-angles section::before, .g4-angles section i { content: ""; position: absolute; left: 20%; bottom: 35px; width: 64%; height: 7px; border-radius: 99px; background: #0d786e; transform-origin: left center; }
.g4-angles section i { transform: rotate(calc(-1 * var(--angle))); background: #ef8b35; }
.g4-angles section b { position: absolute; right: 10px; top: 10px; font-size: 25px; }
.g4-angles section em { position: absolute; left: 45px; bottom: 12px; font-style: normal; font-size: 10px; font-weight: 900; }
.g4-angles section:has(em)::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 28px; height: 58px; border: 4px solid #79cfc3; border-bottom: 0; border-radius: 90px 90px 0 0; background: repeating-conic-gradient(from 270deg at 50% 100%, #174a57 0 1deg, transparent 1deg 10deg); opacity: .65; }

.g4-mirror { display: grid; grid-template-columns: 1fr 8px 1fr; align-items: center; gap: 22px; font-size: 150px; color: #e18b47; }
.g4-mirror i { height: 240px; background: repeating-linear-gradient(#4ab8aa 0 12px, #fff 12px 20px); }
.g4-mirror strong { grid-column: 1 / -1; text-align: center; font-size: 18px; color: var(--g4-ink); }
.g4-symmetry-grid { position: relative; width: min(100%, 390px); height: 280px; border-radius: 14px; background: linear-gradient(#72b9ae55 2px, transparent 2px), linear-gradient(90deg, #72b9ae55 2px, transparent 2px); background-size: 50px 50px; overflow: hidden; }
.g4-symmetry-grid .axis { position: absolute; left: 50%; inset-block: 0; width: 6px; background: #ef8b35; }
.g4-symmetry-grid b { position: absolute; left: calc(var(--x) * 50px - 8px); top: calc(var(--y) * 50px - 9px); color: #087f74; font-size: 35px; }
.g4-symmetry-grid b.mirror { color: #ed8134; }
.g4-code-grid { display: grid; grid-template-columns: 260px auto; align-items: center; gap: 25px; }
.g4-code-grid > div { width: 250px; height: 250px; background: linear-gradient(#74bcb155 2px, transparent 2px), linear-gradient(90deg, #74bcb155 2px, transparent 2px); background-size: 50px 50px; }
.g4-code-grid .robot { display: block; margin: 160px 0 0 60px; color: #ef8b35; font-size: 34px; }
.g4-code-grid section { display: grid; gap: 8px; }
.g4-code-grid section b { padding: 12px 18px; border-radius: 12px; background: white; }

.g4-bag { display: grid; justify-items: center; gap: 10px; }
.g4-bag > div { display: flex; align-items: end; justify-content: center; gap: 15px; width: 250px; height: 220px; padding: 35px 25px 20px; border-radius: 35px 35px 95px 95px; background: rgba(255, 255, 255, .5); border: 8px solid #b57b4b; box-sizing: border-box; }
.g4-bag i { width: 55px; height: 55px; border-radius: 50%; box-shadow: inset -8px -8px 12px #0002; }
.g4-bag i.blue { background: #3b91df; }
.g4-bag i.yellow { background: #f5c542; }
.g4-research-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.g4-research-board > strong { grid-column: 1 / -1; justify-self: center; font-size: 70px; color: var(--g4-orange); }
.g4-research-board b { padding: 25px 38px; border-radius: 20px; background: #58c2b3; color: white; font-size: 28px; }
.g4-research-board span { grid-column: 1 / -1; text-align: center; font-weight: 900; }
.g4-tally { display: grid; width: min(550px, 100%); border: 2px solid #76c8bd; border-radius: 16px; overflow: hidden; }
.g4-tally section { display: grid; grid-template-columns: 1fr 2fr 60px; align-items: center; padding: 12px; border-bottom: 2px solid #bfe6e0; background: white; }
.g4-tally section:last-child { border-bottom: 0; }
.g4-tally i { color: var(--g4-orange); font: 900 26px/1 monospace; letter-spacing: 5px; }
.g4-tally strong { font-size: 25px; }
.g4-bars { display: flex; align-items: end; justify-content: center; gap: 12px; width: min(100%, 280px); height: 260px; padding: 16px 10px 0; border-left: 5px solid #153f4d; border-bottom: 5px solid #153f4d; box-sizing: border-box; }
.g4-bars section { display: grid; align-items: end; justify-items: center; height: 100%; }
.g4-bars i { display: grid; align-items: start; width: 55px; height: calc(var(--value) * 31px); border-radius: 12px 12px 0 0; background: linear-gradient(#ffb55d, #ee843c); }
.g4-bars i b { padding-top: 8px; text-align: center; color: white; font-style: normal; font-size: 20px; }
.g4-bars span { padding: 8px 0; font-weight: 900; }
.g4-cycle { flex-wrap: nowrap; width: 100%; max-width: 100%; min-width: 0; gap: 3px; overflow: hidden; }
.g4-cycle b { min-width: 0; padding: 10px 4px; border-radius: 12px; background: white; text-align: center; font-size: 10px; box-shadow: 0 6px 15px #164a5033; }
.g4-visual .g4-cycle b { min-width: 0; padding: 8px 2px; font-size: 8px; }

.g4-alternate-card, .g4-complete-card {
  width: min(90%, 720px);
  padding: 14px 18px;
  border: 3px solid #f1a44e;
  border-radius: 18px;
  background: #fffaf0;
  box-shadow: 0 10px 30px #81572d33;
  box-sizing: border-box;
}
.g4-visual > .g4-alternate-card { margin-top: 12px; }
.g4-alternate-active .g4-question .g4-visual {
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 220px;
  height: 220px;
  max-height: 220px;
  overflow: hidden;
}
.g4-alternate-active .g4-question .g4-visual > :not(.g4-alternate-card) {
  transform: scale(.68);
}
.g4-alternate-active .g4-question .g4-alternate-card {
  margin-top: 4px;
  padding: 7px 10px;
}
.g4-alternate-active .g4-question .g4-alternate-card p { font-size: 11px; }

.g4-alt-place, .g4-alt-fraction, .g4-alt-operation, .g4-alt-geometry,
.g4-alt-clock, .g4-alt-fold, .g4-alt-data {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: min(100%, 620px);
}
.g4-alt-place strong { padding: 16px 23px; border-radius: 16px; background: white; font-size: 34px; box-shadow: 0 8px 18px #164a5030; }
.g4-alt-place > i { width: 5px; height: 72px; border-radius: 5px; background: var(--g4-orange); }
.g4-alt-place span { width: 42%; text-align: center; font-size: 10px; font-weight: 900; }
.g4-alt-fraction { display: grid; justify-items: center; }
.g4-alt-fraction section { display: flex; width: min(340px, 100%); border: 3px solid #0b8d80; border-radius: 14px; overflow: hidden; }
.g4-alt-fraction section i { flex: 1; min-height: 58px; border-right: 2px solid #0b8d80; background: #ffb45a; }
.g4-alt-fraction section i:last-child { border-right: 0; }
.g4-alt-operation { display: grid; justify-items: center; }
.g4-alt-operation section { display: flex; width: min(430px, 100%); overflow: hidden; border-radius: 15px; }
.g4-alt-operation section i { flex: var(--share); display: grid; place-items: center; min-height: 65px; border-right: 3px solid white; background: #66c7ba; font-style: normal; }
.g4-alt-operation section i:nth-child(even) { background: #f2a34b; }
.g4-alt-operation strong, .g4-alt-geometry strong, .g4-alt-fold strong, .g4-alt-data strong { flex-basis: 100%; text-align: center; font-size: 12px; }
.g4-alt-geometry i { width: 74px; height: 74px; border: 4px solid #0b8d80; background: repeating-linear-gradient(45deg,#f6b158 0 10px,#fff 10px 20px); }
.g4-alt-clock { position: relative; width: 185px; height: 185px; border: 8px solid #0b8d80; border-radius: 50%; }
.g4-alt-clock::before, .g4-alt-clock i { content: ""; position: absolute; left: 50%; top: 50%; width: 65px; height: 7px; border-radius: 8px; background: #ef8b35; transform-origin: left; }
.g4-alt-clock i { transform: rotate(-90deg); background: #174956; }
.g4-alt-clock b { position: absolute; right: 27px; top: 56px; }
.g4-alt-clock strong { position: absolute; left: 50%; bottom: -32px; width: 250px; text-align: center; font-size: 11px; transform: translateX(-50%); }
.g4-alt-fold section { position: relative; width: 110px; height: 150px; border: 3px solid #0b8d80; background: #eaf9f6; }
.g4-alt-fold section i { position: absolute; left: 24px; top: 48px; width: 35px; height: 35px; border-radius: 50%; background: #ef8b35; }
.g4-alt-fold .mirror i { left: 51px; }
.g4-alt-fold > b { color: var(--g4-orange); font-size: 35px; }
.g4-alt-data section:first-child { display: flex; gap: 5px; }
.g4-alt-data section:first-child i { width: 24px; height: 24px; border-radius: 50%; background: #4cbcad; }
.g4-alt-data .tally { color: #df7f33; font: 900 30px/1 monospace; }
.g4-alt-data .bars { display: flex; align-items: end; gap: 5px; height: 70px; }
.g4-alt-data .bars i { width: 18px; background: #0b8d80; }
.g4-alt-data .bars i:nth-child(1) { height: 35px; }
.g4-alt-data .bars i:nth-child(2) { height: 68px; }
.g4-alt-data .bars i:nth-child(3) { height: 48px; }
.g4-alternate-card span { color: #b26021; font-size: 11px; font-weight: 1000; letter-spacing: .08em; }
.g4-alternate-card p, .g4-complete-card p { margin: 5px 0 0; font-weight: 750; line-height: 1.35; }
.g4-complete-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 13px; border-color: #6dc7ba; background: #effcf8; }
.g4-complete-card > span { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0c8e80; color: white; font-size: 30px; }

.g4-support { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
.g4-support button { display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: center; min-height: 56px; padding: 8px 10px; border: 2px solid #a8d9d2; border-radius: 14px; background: white; color: #164454; text-align: left; cursor: pointer; }
.g4-support button:hover { border-color: #efa140; box-shadow: 0 0 0 4px #ffb04f2c; transform: translateY(-1px); }
.g4-support button > span { grid-row: 1 / 3; }
.g4-support button b { font-size: 12px; }
.g4-support button small { font-size: 9px; }

.lesson-shell[data-grade="4"] .theme4-final-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.lesson-shell[data-grade="4"] .theme4-final-choices button {
  min-height: 68px;
  padding: 12px 14px;
  border: 3px solid #a7d8d1;
  border-radius: 17px;
  background: white;
  color: #123f4f;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.lesson-shell[data-grade="4"] .choice-hover-armed .theme4-final-choices button:not(:disabled):hover {
  border-color: #f0a13f;
  box-shadow: 0 0 0 5px #f2a13e2b;
  transform: translateY(-2px);
}
.lesson-shell[data-grade="4"] .theme4-final-choices button.correct-cell {
  border-color: #ed8a31;
  box-shadow: 0 0 0 6px #f3a74640;
  background: #fff9ef;
}
.lesson-shell[data-grade="4"] .theme4-final-choices button.wrong-cell {
  border-color: #d96363;
  animation: g4-shake .28s linear;
}
.lesson-shell[data-grade="4"] .theme4-final-choices button:disabled:not(.correct-cell) { opacity: .68; }

.g4-narrating [data-sync-label] { animation: g4-focus .7s ease both; animation-delay: calc(var(--order, 0) * .16s); }
.g4-narrating .g4-net i { animation: g4-fold 1.1s ease both; animation-delay: calc(var(--cell) * .12s); }
.g4-narrating .g4-angles section i { animation: g4-angle-open 1.3s ease both; }
.g4-narrating .g4-bars i { animation: g4-bar-rise 1.1s ease both; }
.g4-narrating .g4-mirror .left { animation: g4-left-fold 1.2s ease both; }
.g4-narrating .g4-mirror .right { animation: g4-right-fold 1.2s ease both; }

@keyframes g4-focus { 0%, 100% { filter: none; } 48% { filter: drop-shadow(0 0 12px #ff9f28); transform: translateY(-5px) scale(1.045); } }
@keyframes g4-fold { from { transform: perspective(400px) rotateX(0); } to { transform: perspective(400px) rotateX(-18deg); } }
@keyframes g4-angle-open { from { transform: rotate(0); } to { transform: rotate(calc(-1 * var(--angle))); } }
@keyframes g4-bar-rise { from { height: 0; } }
@keyframes g4-left-fold { 50% { transform: translateX(28px) rotateY(35deg); } }
@keyframes g4-right-fold { 50% { transform: translateX(-28px) rotateY(-35deg); } }
@keyframes g4-shake { 33% { transform: translateX(-5px); } 66% { transform: translateX(5px); } }

@media (max-width: 1050px) {
  .g4-place-model { grid-template-columns: repeat(3, minmax(62px, 95px)); }
  .g4-place-model section { min-height: 100px; }
  .g4-place-model i { display: none; }
  .g4-scene { min-height: 440px; }
  .g4-visual { min-height: 270px; }
  .g4-code-grid { grid-template-columns: 1fr; }
  .g4-code-grid > div { width: 220px; height: 200px; }
}

@media (max-width: 720px) {
  .g4-scene { min-height: 390px; border-radius: 20px; }
  .g4-scene-content { width: 100%; padding: 14px 10px; }
  .g4-scene-content > h2 { font-size: 20px; }
  .g4-visual { min-height: 235px; padding: 10px; border-radius: 18px; }
  .g4-scene.g4-question { min-height: 318px; }
  .g4-question .g4-scene-content { gap: 6px; padding-block: 9px; }
  .g4-question .g4-scene-content > h2 { font-size: 18px; line-height: 1.05; }
  .g4-question .g4-visual { min-height: 190px; height: 190px; max-height: 190px; overflow: hidden; }
  .g4-place-model { gap: 4px; }
  .g4-place-model section { min-width: 0; padding: 5px; }
  .g4-question .g4-place-model section { min-height: 52px; gap: 2px; padding: 3px; border-radius: 12px; }
  .g4-place-model strong { font-size: 25px; }
  .g4-question .g4-place-model strong { font-size: 19px; }
  .g4-question .g4-number-read { gap: 5px; margin-top: 4px; }
  .g4-question .g4-number-read b { font-size: 24px; }
  .g4-question .g4-number-read em { font-size: 26px; }
  .g4-number-read span { display: none; }
  .g4-number-line { grid-template-columns: auto minmax(150px, 1fr) auto; }
  .g4-cake-model { grid-template-columns: 1fr; }
  .g4-cake-model > strong { grid-column: 1; }
  .g4-fraction-operation .g4-fraction-strip { width: 105px; min-height: 50px; }
  .g4-shapes { gap: 12px; transform: scale(.72); }
  .g4-angles { gap: 8px; transform: scale(.78); }
  .g4-net { transform: scale(.72); }
  .g4-perimeter { width: 65%; height: 150px; }
  .g4-area-grid { grid-template-columns: repeat(var(--cols), 36px); grid-template-rows: repeat(var(--rows), 36px); }
  .g4-bars { gap: 10px; height: 220px; }
  .g4-bars i { width: 48px; height: calc(var(--value) * 25px); }
  .g4-mirror { font-size: 92px; }
  .g4-mirror i { height: 165px; }
  .g4-symmetry-grid { transform: scale(.72); }
  .lesson-shell[data-grade="4"] .theme4-final-choices { grid-template-columns: 1fr; }
  .lesson-shell[data-grade="4"] .theme4-final-choices button { min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .g4-narrating [data-sync-label], .g4-narrating .g4-net i, .g4-narrating .g4-angles section i,
  .g4-narrating .g4-bars i, .g4-narrating .g4-mirror span { animation: none !important; }
}

/* 4. sınıf · Altı basamağa kadar sayıları temsil etme */
.grade4-read-write-board{--rw-ink:#123d49;--rw-teal:#087f75;--rw-orange:#ee8b35;--rw-gold:#f4b53f;display:grid;place-items:center;background:#dcefe9}
.g4rw-scene{position:relative;isolation:isolate;width:100%;min-height:clamp(410px,58vh,620px);overflow:hidden;border-radius:28px;color:var(--rw-ink);box-shadow:inset 0 0 0 1px #ffffff99}
.g4rw-background,.g4rw-shade{position:absolute;inset:0;width:100%;height:100%}.g4rw-background{z-index:-3;object-fit:cover;object-position:center 54%;transform:scale(1.015)}
.g4rw-shade{z-index:-2;background:linear-gradient(100deg,#f4fcf8f5 0 43%,#f4fcf8cf 70%,#f4fcf868),linear-gradient(0deg,#123f4928,#0000 36%)}
.g4rw-content{box-sizing:border-box;display:grid;align-content:start;justify-items:center;gap:8px;width:100%;min-height:inherit;padding:22px 30px 24px;text-align:center}
.g4rw-content>.board-kicker{padding:6px 12px;border-radius:999px;background:#087f75;color:#fff;font-size:.72rem;font-weight:1000;letter-spacing:.12em;box-shadow:0 6px 15px #18453c35}
.g4rw-content>h1{max-width:760px;margin:0;color:var(--rw-ink);font-size:clamp(1.35rem,2.6vw,2.15rem);line-height:1.08;text-wrap:balance}
.g4rw-method{display:grid;place-items:center;align-content:center;gap:13px;width:min(96%,780px);min-height:300px;padding:18px 22px;box-sizing:border-box;border:2px solid #a7d8ce;border-radius:26px;background:#fbfffcdf;box-shadow:0 16px 36px #174b4430;transition:.25s}
.g4rw-method.g4rw-focus,.g4rw-focus,.g4rw-together-active .g4rw-method{border-color:var(--rw-gold);box-shadow:0 0 0 7px #f4b53f38,0 18px 38px #174b4438}
.g4rw-note{max-width:680px;margin:0;padding:8px 13px;border-radius:14px;background:#fffce9d9;color:#365e61;font-size:.84rem;font-weight:850;line-height:1.25}
.g4rw-city-cards,.g4rw-representation-gallery,.g4rw-map-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}
.g4rw-city-cards section,.g4rw-representation-gallery section,.g4rw-map-cards button{position:relative;display:grid;place-items:center;align-content:center;gap:6px;min-height:142px;padding:13px 8px;border:2px solid #9ed1c8;border-radius:21px;background:#fffef4;color:var(--rw-ink);box-shadow:0 10px 22px #174b4424;overflow:hidden}
.g4rw-city-cards section:nth-child(2),.g4rw-representation-gallery section:nth-child(2),.g4rw-map-cards button:nth-child(2){border-color:#f0ba54;background:#fff9e6}
.g4rw-city-cards small,.g4rw-representation-gallery small,.g4rw-map-cards small{font-size:.68rem;font-weight:1000;letter-spacing:.08em;color:var(--rw-teal)}
.g4rw-city-cards b,.g4rw-representation-gallery b,.g4rw-map-cards b{font-size:clamp(1.45rem,3vw,2.25rem);font-variant-numeric:tabular-nums;letter-spacing:.02em;white-space:nowrap}
.g4rw-representation-gallery span{font-size:.72rem;font-weight:850;color:#3b6764}
.g4rw-representation-gallery section::before{content:"";display:block;width:48px;height:18px;margin-bottom:2px;border-radius:10px;background:repeating-linear-gradient(90deg,#4eb7a9 0 8px,#e9f8f4 8px 12px);box-shadow:0 0 0 3px #fff,0 0 0 5px #73bfb4}
.g4rw-representation-gallery [data-place=stadium]::before{height:24px;border-radius:50%;background:radial-gradient(ellipse,#fff 0 35%,#ed9d40 37% 54%,#368f83 56% 100%)}
.g4rw-representation-gallery [data-place=park]::before{height:32px;background:radial-gradient(circle at 20% 55%,#4caa79 0 25%,#0000 27%),radial-gradient(circle at 50% 30%,#72be78 0 30%,#0000 32%),radial-gradient(circle at 80% 58%,#378e69 0 26%,#0000 28%)}
.g4rw-digit-slots{display:flex;align-items:center;justify-content:center;gap:16px}.g4rw-digit-slots span{display:grid;place-items:center;width:105px;aspect-ratio:1;border:4px dashed #83beb4;border-radius:25px;background:#fff;color:#8aa4a2;font-size:3.5rem;font-weight:1000;box-sizing:border-box;transition:.24s}.g4rw-digit-slots span.filled{border-style:solid;border-color:var(--rw-teal);background:#e5f7f1;color:var(--rw-ink);transform:translateY(-4px)}.g4rw-digit-slots.guided span:not(.filled):first-of-type{border-color:var(--rw-gold);box-shadow:0 0 0 7px #f4b53f45}
.g4rw-digit-choices,.g4rw-keypad{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:7px;width:min(100%,650px);margin:auto}.g4rw-digit-choices button,.g4rw-keypad button,.g4rw-phrase-choices button{min-height:48px;border:2px solid #94cbc2;border-radius:14px;background:#fff;color:var(--rw-ink);font:900 1.05rem inherit;cursor:pointer}.g4rw-digit-choices button:hover,.g4rw-keypad button:hover,.g4rw-phrase-choices button:hover{border-color:var(--rw-gold);transform:translateY(-2px)}.g4rw-keypad .erase{grid-column:span 2;background:#fff2df;color:#934f24}.g4rw-keypad{grid-template-columns:repeat(6,minmax(42px,1fr))}
.g4rw-counter-stage{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;width:min(100%,650px)}.g4rw-counter,.g4rw-record{display:grid;place-items:center;align-content:center;min-height:150px;border-radius:26px}.g4rw-counter{border:4px solid var(--rw-teal);background:#fff;font-size:4.4rem;font-weight:1000;box-shadow:inset 0 -12px #e8f7f3}.g4rw-counter.is-thousand{border-color:var(--rw-gold);background:#fff6ce}.g4rw-record{width:118px;border:3px solid #fff;background:var(--rw-orange);color:#fff;box-shadow:0 0 0 5px #ef8b3540,0 14px 25px #8d4f2535;cursor:pointer;animation:g4rw-ready 1.3s ease-in-out infinite}.g4rw-record span{font-size:2.4rem;font-weight:1000}.g4rw-record small{font-size:.63rem;font-weight:950}.g4rw-counter-target{min-height:150px;border:4px dashed #9bcfc5;border-radius:26px;background:#f6fffc88}.g4rw-flying-record{position:fixed;z-index:9999;margin:0;border:3px solid #fff;border-radius:24px;background:var(--rw-orange,#ee8b35);color:#fff;pointer-events:none}
@keyframes g4rw-ready{50%{transform:translateY(-5px);box-shadow:0 0 0 9px #f4b53f50,0 18px 30px #8d4f2540}}
.g4rw-reading-bridge,.g4rw-zero-model,.g4rw-zero-slots{display:flex;align-items:center;justify-content:center;gap:14px;width:100%}.g4rw-reading-bridge section,.g4rw-zero-slots section{display:grid;place-items:center;min-width:180px;padding:18px;border:3px solid var(--rw-teal);border-radius:23px;background:#fff;box-shadow:0 12px 25px #173f4925}.g4rw-reading-bridge section b,.g4rw-zero-slots b{font-size:3.5rem;font-variant-numeric:tabular-nums}.g4rw-reading-bridge section small,.g4rw-zero-slots small{font-weight:950;color:#537973}.g4rw-reading-bridge>i,.g4rw-zero-model>i,.g4rw-zero-slots>i{position:relative;display:grid;place-items:center;min-width:82px;height:70px;border-radius:18px;background:var(--rw-gold);color:#654c08;font-style:normal;font-weight:1000}.g4rw-reading-bridge>i::before,.g4rw-reading-bridge>i::after{content:"";position:absolute;top:32px;width:22px;border-top:6px solid var(--rw-gold)}.g4rw-reading-bridge>i::before{right:100%}.g4rw-reading-bridge>i::after{left:100%}.g4rw-spoken-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.g4rw-spoken-line>*{padding:7px 10px;border-radius:12px;background:#e6f6f1}.g4rw-spoken-line strong{background:#fff0b8;color:#785800}.g4rw-reading-bridge.compact section{min-width:145px}.g4rw-reading-bridge.compact section b{font-size:3rem}
.g4rw-zero-model>div{display:flex;gap:7px;padding:12px;border:3px solid #8dc9bf;border-radius:22px;background:#fff}.g4rw-zero-model>div>span{position:relative;display:grid;place-items:center;width:70px;height:82px;border-radius:14px;background:#def2ed;font-size:2.8rem;font-weight:1000}.g4rw-zero-model .zero{background:#fff0b9;color:#8a6200}.g4rw-zero-model .zero small{position:absolute;top:88%;white-space:nowrap;padding:3px 6px;border-radius:8px;background:#fff;color:#75580e;font-size:.55rem}.g4rw-full-number{padding:8px 18px;border-radius:15px;background:#123f4f;color:#fff;font-size:2rem;letter-spacing:.08em}
.g4rw-partition-number{display:flex;align-items:center;justify-content:center;padding:26px 16px;border-radius:22px;background:#fff}.g4rw-partition-number>span{font-size:4rem;font-weight:1000;line-height:1}.g4rw-partition-number>button{position:relative;width:24px;height:84px;padding:0;border:0;background:transparent;cursor:pointer}.g4rw-partition-number>button::after{content:"";position:absolute;inset:12px 7px;border-radius:999px;background:#cce6e0;transition:.2s}.g4rw-partition-number>button:hover::after,.g4rw-partition-number>button:focus-visible::after{background:var(--rw-gold);transform:scaleX(1.6)}.g4rw-partition-number.partitioned>button[data-g4rw-gap="1"]::after,.g4rw-partition-number.show-three-from-right>button[data-g4rw-gap="1"]::after{background:var(--rw-orange);transform:scaleX(1.9)}.g4rw-partition-number.show-three-from-right span:nth-of-type(n+3){background:#fff1be;box-shadow:0 0 0 8px #f4b53f30}
.g4rw-reading-route{display:grid;grid-template-columns:1fr auto 1fr auto 1.55fr;align-items:center;gap:8px;width:100%}.g4rw-reading-route span{display:grid;place-items:center;min-height:85px;padding:8px;border:3px dashed #8bc7bd;border-radius:18px;background:#fff;color:#6f918c;font-weight:950}.g4rw-reading-route span.filled{border-style:solid;border-color:var(--rw-teal);color:var(--rw-ink);background:#e2f5ef}.g4rw-reading-route i{font-style:normal;font-size:1.8rem;color:var(--rw-orange)}.g4rw-reading-route.show-bridge-order span:nth-of-type(2){background:#fff0b8;box-shadow:0 0 0 6px #f4b53f3d}.g4rw-phrase-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:min(100%,720px);margin:auto}.g4rw-phrase-choices button{padding:8px;font-size:.86rem}
.g4rw-entry{display:grid;place-items:center;width:min(100%,530px);min-height:105px;border:4px solid var(--rw-teal);border-radius:24px;background:#fff;color:var(--rw-ink);font-size:clamp(2.4rem,6vw,4.2rem);font-weight:1000;letter-spacing:.1em;font-variant-numeric:tabular-nums}.g4rw-entry.show-groups{box-shadow:inset 0 0 0 10px #f4b53f55,0 0 0 7px #f4b53f40}.g4rw-entry-groups{display:flex;align-items:center;gap:8px}.g4rw-entry-groups>*{padding:7px 10px;border-radius:12px;background:#e4f5f0;font-style:normal;font-weight:900}.g4rw-entry-groups i{background:#fff0b8;color:#765700}
.g4rw-zero-slots section{min-width:160px}.g4rw-zero-slots section b{font-size:2.7rem}.show-alternate-reading .g4rw-zero-slots section:last-child,.show-alternate-reading .g4rw-reading-bridge section{box-shadow:0 0 0 8px #f4b53f45}.g4rw-map-cards button{cursor:pointer;font-family:inherit}.g4rw-map-cards button:hover,.g4rw-map-cards button:focus-visible{border-color:var(--rw-orange);transform:translateY(-4px)}.g4rw-map-cards.show-groups button b{letter-spacing:.12em}.g4rw-map-cards.show-groups button:nth-child(2){box-shadow:0 0 0 8px #f4b53f42,0 12px 24px #174b4430}
.g4rw-result{display:grid;place-items:center;gap:15px;width:min(100%,600px);padding:30px;border-radius:26px;background:#fff}.g4rw-result>span{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:#0b947f;color:#fff;font-size:2.5rem;font-weight:1000;box-shadow:0 0 0 9px #0b947f25}.g4rw-result strong{max-width:540px;font-size:1.25rem;line-height:1.3}.g4rw-finish{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;width:min(100%,650px)}.g4rw-finish>span{width:100%;color:var(--rw-teal);font-size:.8rem;font-weight:1000;letter-spacing:.16em}.g4rw-finish strong{padding:13px 17px;border-radius:18px;background:#fff;border:3px solid #96cec4;font-size:1.6rem}.g4rw-finish i{color:var(--rw-orange);font-size:1.6rem;font-style:normal}.g4rw-finish p{width:100%;margin:12px 0 0;padding:15px;border-radius:18px;background:#fff9df;font-weight:850;line-height:1.3}
.g4rw-scene [data-sync-label]{transform-origin:center;will-change:filter,box-shadow}.g4rw-scene button.correct-cell{border-color:#0b967f!important;background:#e1f7f0!important;box-shadow:0 0 0 5px #0b967f30}.g4rw-scene button.wrong-cell,.g4rw-digit-choices button.wrong-cell,.g4rw-keypad button.wrong-cell{border-color:#d75e5e!important;background:#fff0ee!important;animation:g4-shake .28s linear}.student-prompt{margin:0;text-align:center;font-weight:850}.student-prompt span{display:block;color:var(--rw-teal);font-size:.66rem;font-weight:1000;letter-spacing:.12em}
.g4rw-scene{container-type:inline-size}.g4rw-reading-bridge section,.g4rw-zero-slots section{min-width:0;flex:1}.g4rw-reading-bridge.compact section,.g4rw-zero-slots section{min-width:0}

@container(max-width:560px){
  .g4rw-content{gap:5px;padding:11px 8px 13px}.g4rw-content>.board-kicker{font-size:.58rem;padding:4px 8px}.g4rw-content>h1{font-size:1.45rem}.g4rw-method{width:94%;min-height:300px;padding:10px 8px;border-radius:20px;gap:8px}.g4rw-city-cards,.g4rw-representation-gallery,.g4rw-map-cards{gap:6px}.g4rw-city-cards section,.g4rw-representation-gallery section,.g4rw-map-cards button{min-height:126px;padding:8px 3px;border-radius:16px}.g4rw-city-cards b,.g4rw-representation-gallery b,.g4rw-map-cards b{font-size:1.45rem}.g4rw-reading-bridge,.g4rw-zero-model,.g4rw-zero-slots{gap:6px}.g4rw-reading-bridge section,.g4rw-zero-slots section{padding:11px 4px;border-radius:16px}.g4rw-reading-bridge section b,.g4rw-zero-slots b{font-size:2.25rem}.g4rw-reading-bridge>i,.g4rw-zero-model>i,.g4rw-zero-slots>i{min-width:58px;height:54px;font-size:.76rem}.g4rw-reading-bridge>i::before,.g4rw-reading-bridge>i::after{top:25px;width:10px}.g4rw-spoken-line{gap:4px}.g4rw-spoken-line>*{padding:5px 6px;font-size:.72rem}.g4rw-zero-model>div{gap:3px;padding:6px}.g4rw-zero-model>div>span{width:42px;height:64px;font-size:2rem}.g4rw-zero-model .zero small{font-size:.43rem}.g4rw-full-number{font-size:1.5rem}.g4rw-reading-route{gap:3px}.g4rw-reading-route span{padding:5px;font-size:.7rem}.g4rw-counter-stage{gap:8px}.g4rw-counter{font-size:3.1rem}.g4rw-record{width:86px}.g4rw-note{font-size:.71rem}
}

@media(max-width:720px){
  .g4rw-scene{min-height:390px;border-radius:20px}.g4rw-background{object-position:center 52%}.g4rw-shade{background:#f2fbf5e8}.g4rw-content{gap:5px;padding:10px 8px 12px}.g4rw-content>.board-kicker{font-size:.57rem;padding:4px 8px}.g4rw-content>h1{font-size:1.15rem}.g4rw-method{width:100%;min-height:304px;padding:9px 7px;border-radius:19px;gap:8px}.g4rw-note{font-size:.69rem;padding:5px 7px}
  .g4rw-city-cards,.g4rw-representation-gallery,.g4rw-map-cards{gap:5px}.g4rw-city-cards section,.g4rw-representation-gallery section,.g4rw-map-cards button{min-height:105px;padding:6px 3px;border-radius:14px}.g4rw-city-cards b,.g4rw-representation-gallery b,.g4rw-map-cards b{font-size:1.23rem}.g4rw-city-cards small,.g4rw-representation-gallery small,.g4rw-map-cards small{font-size:.52rem}.g4rw-representation-gallery span{font-size:.55rem}.g4rw-representation-gallery section::before{width:34px;height:13px}.g4rw-representation-gallery [data-place=stadium]::before{height:18px}.g4rw-representation-gallery [data-place=park]::before{height:23px}
  .g4rw-digit-slots{gap:9px}.g4rw-digit-slots span{width:78px;border-radius:18px;font-size:2.5rem}.g4rw-digit-choices,.g4rw-keypad{grid-template-columns:repeat(6,minmax(38px,1fr));gap:5px}.g4rw-digit-choices button,.g4rw-keypad button{min-height:42px;border-radius:11px}.g4rw-counter-stage{gap:7px}.g4rw-counter,.g4rw-counter-target{min-height:118px}.g4rw-counter{font-size:2.7rem}.g4rw-record{width:76px;min-height:105px;border-radius:19px}.g4rw-record span{font-size:1.8rem}.g4rw-record small{font-size:.49rem}
  .g4rw-reading-bridge,.g4rw-zero-model,.g4rw-zero-slots{gap:5px}.g4rw-reading-bridge section,.g4rw-zero-slots section{min-width:0;flex:1;padding:11px 5px;border-radius:16px}.g4rw-reading-bridge section b,.g4rw-zero-slots b{font-size:2rem}.g4rw-reading-bridge>i,.g4rw-zero-model>i,.g4rw-zero-slots>i{min-width:54px;height:52px;font-size:.75rem}.g4rw-spoken-line{gap:3px}.g4rw-spoken-line>*{padding:5px;font-size:.68rem}.g4rw-zero-model>div{gap:3px;padding:6px}.g4rw-zero-model>div>span{width:43px;height:63px;font-size:2rem}.g4rw-zero-model .zero small{font-size:.44rem}.g4rw-full-number{font-size:1.5rem}
  .g4rw-partition-number{padding:20px 5px}.g4rw-partition-number>span{font-size:2.8rem}.g4rw-partition-number>button{width:19px}.g4rw-reading-route{gap:3px}.g4rw-reading-route span{min-height:73px;padding:4px;font-size:.63rem}.g4rw-reading-route i{font-size:1rem}.g4rw-phrase-choices{gap:4px}.g4rw-phrase-choices button{min-height:46px;padding:4px;font-size:.67rem}.g4rw-entry{min-height:90px;font-size:2.25rem}.g4rw-entry-groups>*{padding:5px;font-size:.7rem}.g4rw-result{padding:20px 9px}.g4rw-result strong{font-size:1rem}.g4rw-finish strong{font-size:1.15rem;padding:9px}.g4rw-finish p{font-size:.76rem}
}
@media(max-height:760px) and (min-width:721px){.g4rw-scene{min-height:390px}.g4rw-content{padding:12px 22px}.g4rw-method{min-height:285px;padding:11px}.g4rw-city-cards section,.g4rw-representation-gallery section,.g4rw-map-cards button{min-height:120px}.g4rw-counter,.g4rw-counter-target{min-height:125px}.g4rw-reading-bridge section{padding:12px}}
@media(prefers-reduced-motion:reduce){.g4rw-record{animation:none}.g4rw-background{transform:none}.g4rw-scene *{scroll-behavior:auto!important}}

@media(max-width:720px){
  .g4rw-zero-model>div>span{width:36px}
  .g4rw-digit-choices button,.g4rw-keypad button{min-height:46px}
  .g4rw-partition-number>button{width:44px}
}

/* 390×844: öğretmen, ana sahne ve cevap alanı ilk görünümde birlikte kalır. */
@media(max-width:620px){
  .grade4-read-write-shell .teacher-classroom{gap:2px;padding-top:3px;padding-bottom:5px}
  .grade4-read-write-shell .lesson-teacher{row-gap:4px}
  .grade4-read-write-shell .lesson-avatar{height:96px}
  .grade4-read-write-shell .teacher-bubble{min-height:58px;max-height:58px;padding:6px 8px}
  .grade4-read-write-shell .narration-controls{margin-top:3px}
  .grade4-read-write-shell .lesson-support-dock{margin-top:2px}
  .grade4-read-write-shell .lesson-support-dock .g4-support>button{min-height:44px}
  .grade4-read-write-shell .raise-hand{min-height:40px;margin-top:2px}
  .grade4-read-write-shell .talk-help{display:none}
  .grade4-read-write-shell .lesson-screen-meta{min-height:20px;padding-bottom:2px}
  .grade4-read-write-shell .g4rw-scene{height:360px;min-height:360px;max-height:360px}
  .grade4-read-write-shell .g4rw-method{min-height:274px}
  .grade4-read-write-shell .lesson-footer{min-height:50px;padding-top:3px}
  .grade4-read-write-shell .g4rw-choice-footer .theme4-final-choices{display:grid;gap:5px}
  .grade4-read-write-shell .g4rw-choice-footer.number-choices .theme4-final-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grade4-read-write-shell .g4rw-choice-footer.phrase-choices .theme4-final-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grade4-read-write-shell .g4rw-choice-footer.phrase-choices .theme4-final-choices button:last-child{grid-column:1/-1}
  .grade4-read-write-shell .g4rw-choice-footer .theme4-final-choices button{width:100%;min-width:0;min-height:52px;padding:5px}
  .grade4-read-write-shell .g4rw-choice-footer .theme4-final-choices button>b{font-size:.78rem;overflow-wrap:anywhere}
}

/* 4. sınıf · Basamak, bölük ve çözümleme */
.grade4-place-value-board{--pv-ink:#173d49;--pv-teal:#087f78;--pv-coral:#ed7350;--pv-gold:#f3b23b;display:grid;place-items:center;background:#e8f3ee}
.g4pv-scene{position:relative;isolation:isolate;width:100%;min-height:clamp(410px,58vh,620px);overflow:hidden;border-radius:28px;color:var(--pv-ink);box-shadow:inset 0 0 0 1px #ffffffaa}
.g4pv-ambient{position:absolute;inset:-22px;z-index:-2;background-image:linear-gradient(#edf9f4d9,#edf9f4e8),var(--g4pv-image);background-size:cover;background-position:center;filter:blur(14px) saturate(.75);transform:scale(1.08)}
.g4pv-content{box-sizing:border-box;display:grid;align-content:start;justify-items:center;gap:7px;width:100%;min-height:inherit;padding:15px 22px 18px;text-align:center}
.g4pv-content>.board-kicker{padding:5px 11px;border-radius:999px;background:var(--pv-teal);color:#fff;font-size:.68rem;font-weight:1000;letter-spacing:.12em;box-shadow:0 6px 15px #18453c35}
.g4pv-content>h1{max-width:760px;margin:0;color:var(--pv-ink);font-size:clamp(1.28rem,2.4vw,2rem);line-height:1.08;text-wrap:balance}
.g4pv-canvas{position:relative;width:min(100%,335px);aspect-ratio:1;overflow:hidden;border:3px solid #fff;border-radius:26px;background:#fff;box-shadow:0 16px 38px #143e443b;transition:.25s}
.g4pv-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.g4pv-overlay{position:absolute;inset:0}.g4pv-focus,.g4pv-together-active .g4pv-canvas{border-color:var(--pv-gold);box-shadow:0 0 0 7px #f3b23b45,0 18px 40px #143e4445}
.g4pv-caption{position:absolute;left:7%;right:7%;bottom:6%;margin:0;padding:8px 10px;border-radius:13px;background:#fffef0e8;font-size:.72rem;font-weight:900;line-height:1.25;box-shadow:0 7px 18px #203b3c2e}
.g4pv-capacity-cards{position:absolute;left:10%;right:10%;bottom:23%;display:grid;grid-template-columns:repeat(3,1fr) auto;align-items:center;gap:6px}.g4pv-capacity-cards section{display:grid;place-items:center;padding:8px 3px;border:2px solid #fff;border-radius:16px;background:#e5fbf4e8;box-shadow:0 7px 16px #123e4038}.g4pv-capacity-cards section:nth-child(2){background:#fff1c6e8}.g4pv-capacity-cards section:nth-child(3){background:#ffe4d9e8}.g4pv-capacity-cards b{font-size:1.5rem}.g4pv-capacity-cards small{font-size:.52rem;font-weight:1000}.g4pv-capacity-cards>strong{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--pv-coral);color:#fff;font-size:1.2rem}
.g4pv-ten-pack span{position:absolute;left:var(--x);top:var(--y);display:grid;place-items:center;width:8.5%;aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:9px;background:linear-gradient(145deg,#f9b45c,#da6b36);color:#fff;box-shadow:0 5px 8px #61371e5c;font-size:.48rem;font-weight:1000}.g4pv-ten-pack.guided span{animation:g4pv-pulse 1s ease-in-out infinite}.g4pv-pack-target{position:absolute;left:75%;top:28%;display:grid;place-items:center;align-content:center;width:21%;height:18%;transform:translate(-50%,-50%) scale(.55);border-radius:16px;background:#0a817aee;color:#fff;opacity:0;box-shadow:0 8px 18px #173d3e55;transition:.45s}.g4pv-pack-target.revealed{opacity:1;transform:translate(-50%,-50%) scale(1)}.g4pv-pack-target b{font-size:1.7rem}.g4pv-pack-target small{font-size:.55rem;font-weight:1000}.g4pv-action{width:min(100%,430px)}
@keyframes g4pv-pulse{50%{filter:brightness(1.2);box-shadow:0 0 0 5px #ffd36f70,0 7px 12px #61371e5c}}
.g4pv-exchange-ladder{position:absolute;inset:9% 8%;display:grid;align-content:center;gap:8px}.g4pv-exchange-ladder section{display:grid;grid-template-columns:1.2fr auto 1fr;align-items:center;gap:6px;padding:8px;border:2px solid #fff;border-radius:16px;background:#f8fffbe8;box-shadow:0 7px 18px #183a3e30}.g4pv-exchange-ladder section:nth-child(2){background:#fff4d7ed}.g4pv-exchange-ladder section:nth-child(3){background:#ffe7dfed}.g4pv-exchange-ladder b,.g4pv-exchange-ladder strong{font-size:1.02rem}.g4pv-exchange-ladder i{color:var(--pv-coral);font-style:normal;font-weight:1000}.g4pv-exchange-ladder small{grid-column:1/-1;font-size:.54rem;font-weight:1000;letter-spacing:.08em;color:var(--pv-teal)}
.g4pv-archive-digits>*{position:absolute;top:42%;left:var(--x);display:grid;place-items:center;align-content:center;width:11%;height:20%;transform:translate(-50%,-50%);padding:0;border:2px solid #fff;border-radius:14px;background:#ffffffde;color:var(--pv-ink);box-shadow:0 7px 14px #173d4138;font-family:inherit;cursor:default}.g4pv-archive-digits button.g4pv-archive-hit{width:17%;height:24%;border:0;background:transparent;box-shadow:none;cursor:pointer}.g4pv-archive-digits .g4pv-digit-card{display:grid;place-items:center;align-content:center;width:65%;height:84%;border:2px solid #fff;border-radius:14px;background:#ffffffde;box-shadow:0 7px 14px #173d4138}.g4pv-archive-digits>*:nth-child(1){--x:7%}.g4pv-archive-digits>*:nth-child(2){--x:20.5%}.g4pv-archive-digits>*:nth-child(3){--x:33.5%}.g4pv-archive-digits>*:nth-child(4){--x:67.5%}.g4pv-archive-digits>*:nth-child(5){--x:80.5%}.g4pv-archive-digits>*:nth-child(6){--x:93%}.g4pv-archive-digits b{font-size:1.45rem}.g4pv-archive-digits small{font-size:.34rem;font-weight:1000;line-height:1.05}.g4pv-archive-digits .highlighted:not(.g4pv-archive-hit),.g4pv-archive-digits .highlighted .g4pv-digit-card{background:#fff2bceb;border-color:var(--pv-gold);box-shadow:0 0 0 5px #f3b23b48}.g4pv-archive-digits .guided .g4pv-digit-card{animation:g4pv-pulse 1s ease-in-out infinite}
.g4pv-wing-labels{position:absolute;left:4%;right:4%;bottom:8%;display:grid;grid-template-columns:1fr 10% 1fr;align-items:center;gap:5px}.g4pv-wing-labels span{padding:8px;border:2px dashed #fff;border-radius:13px;background:#193d49c9;color:#fff;font-size:.68rem;font-weight:1000}.g4pv-wing-labels span.filled{border-style:solid;background:#087f78e8}.g4pv-wing-labels i{height:3px;background:#fff;border-radius:9px}.g4pv-wing-labels.guided span:first-child{box-shadow:0 0 0 6px #ffd15b73}
.g4pv-rail-token{position:absolute;z-index:4;display:grid;place-items:center;width:10%;aspect-ratio:1;border:3px solid #fff;border-radius:50%;background:var(--pv-coral);color:#fff;font-size:1.5rem;font-weight:1000;box-shadow:0 8px 15px #713a294f;animation:g4pv-travel 12s ease-in-out infinite}
@keyframes g4pv-travel{0%,12%{left:11%;top:25%;transform:scale(.72)}18%,29%{left:26%;top:32%;transform:scale(.76)}35%,46%{left:40%;top:42%;transform:scale(.82)}52%,63%{left:52%;top:53%;transform:scale(.87)}69%,80%{left:65%;top:64%;transform:scale(.94)}86%,100%{left:80%;top:75%;transform:scale(1)}}
.g4pv-rail-values span{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);padding:3px 5px;border-radius:8px;background:#ffffffe8;font-size:.42rem;font-weight:1000;white-space:nowrap}.g4pv-rail-values span:nth-child(1){--x:16%;--y:27%}.g4pv-rail-values span:nth-child(2){--x:30%;--y:35%}.g4pv-rail-values span:nth-child(3){--x:44%;--y:44%}.g4pv-rail-values span:nth-child(4){--x:56%;--y:55%}.g4pv-rail-values span:nth-child(5){--x:68%;--y:66%}.g4pv-rail-values span:nth-child(6){--x:82%;--y:78%}.g4pv-number-value{position:absolute;left:9%;right:9%;top:6%;padding:7px;border-radius:12px;background:#ffffffea;font-size:.64rem;font-weight:900}.g4pv-number-value b{color:var(--pv-coral);font-size:1.1rem}.g4pv-number-value strong{color:var(--pv-teal)}
.g4pv-value-proof{position:absolute;left:18%;right:18%;bottom:9%;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px;border:2px solid #fff;border-radius:16px;background:#173d49dd;color:#fff;box-shadow:0 8px 18px #173d4940}.g4pv-value-proof b,.g4pv-value-proof strong,.g4pv-value-proof em{font-size:1.05rem}.g4pv-value-proof i{color:#ffc452;font-style:normal}.g4pv-value-proof em{color:#ffc452;font-style:normal}.g4pv-value-proof.guided strong{background:#ffc452;color:#563e00;border-radius:8px;padding:3px 6px}
.g4pv-whole{position:absolute;left:50%;top:33%;display:grid;place-items:center;align-content:center;width:38%;aspect-ratio:1;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#fffdf2e8;color:var(--pv-ink);font:1000 1.55rem inherit;box-shadow:0 9px 18px #263a3c3b;cursor:pointer}.g4pv-whole small{font-size:.46rem;color:var(--pv-teal)}.g4pv-whole.guided{animation:g4pv-pulse 1s ease-in-out infinite}.g4pv-parts span{position:absolute;left:var(--x);top:var(--y);display:grid;place-items:center;min-width:19%;min-height:11%;transform:translate(-50%,-50%) scale(.25);border:2px solid #fff;border-radius:14px;background:#173d49e8;color:#fff;font-size:.66rem;font-weight:1000;opacity:0;box-shadow:0 7px 14px #173d4940;transition:.65s cubic-bezier(.2,.8,.2,1)}.g4pv-parts.revealed span{opacity:1;transform:translate(-50%,-50%) scale(1)}.g4pv-parts.revealed span:nth-child(2){transition-delay:.12s}.g4pv-parts.revealed span:nth-child(3){transition-delay:.24s}.g4pv-parts.revealed span:nth-child(4){transition-delay:.36s}
.g4pv-grouped-number{position:absolute;left:31%;right:31%;bottom:7%;display:flex;justify-content:center;gap:5px;padding:5px;border-radius:12px;background:#173d49df;color:#fff;font-size:.86rem;font-weight:1000}.g4pv-grouped-number i{color:#ffc452;font-style:normal}.g4pv-form-stack{position:absolute;left:11%;right:11%;top:18%;display:grid;place-items:center;gap:8px;padding:15px;border:3px solid #fff;border-radius:20px;background:#fffbede9;box-shadow:0 10px 24px #31383a38}.g4pv-form-stack strong{font-size:1.85rem}.g4pv-form-stack span{padding:7px 10px;border-radius:12px;background:#e3f6f1;font-size:1rem;font-weight:1000}.g4pv-form-stack i{font-size:.56rem;font-style:normal;font-weight:900;color:#587573}.g4pv-form-stack.guided span{box-shadow:0 0 0 6px #f3b23b45}
.g4pv-sort-targets button{position:absolute;left:var(--x);top:var(--y);display:grid;place-items:center;align-content:center;width:22%;height:17.2%;transform:translate(-50%,-50%);padding:2px;border:2px solid #fff;border-radius:50%;background:#ffffffcf;color:var(--pv-ink);font-family:inherit;cursor:pointer}.g4pv-sort-targets button:nth-child(1){--x:15%;--y:43%}.g4pv-sort-targets button:nth-child(2){--x:15%;--y:63%}.g4pv-sort-targets button:nth-child(3){--x:35%;--y:78%}.g4pv-sort-targets button:nth-child(4){--x:61%;--y:78%}.g4pv-sort-targets button:nth-child(5){--x:84%;--y:63%}.g4pv-sort-targets button:nth-child(6){--x:85%;--y:43%}.g4pv-sort-targets small{font-size:.34rem;font-weight:1000}.g4pv-sort-targets b{font-size:.6rem}.g4pv-sort-targets .guided{animation:g4pv-pulse 1s ease-in-out infinite}.g4pv-recombined{position:absolute;left:50%;top:29%;transform:translate(-50%,-50%) scale(.4);padding:10px 15px;border-radius:50%;background:#087f78e8;color:#fff;font-size:1.1rem;font-weight:1000;opacity:0;transition:.5s}.g4pv-recombined.visible{opacity:1;transform:translate(-50%,-50%) scale(1)}.g4pv-part-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:min(100%,620px)}.g4pv-part-bank button{min-height:46px;border:2px solid #9acdc4;border-radius:13px;background:#fff;color:var(--pv-ink);font:900 .84rem inherit;cursor:pointer}.g4pv-part-bank button.selected{border-color:var(--pv-gold);background:#fff2c7;box-shadow:0 0 0 4px #f3b23b35}.g4pv-part-bank button.used{opacity:.42;text-decoration:line-through;pointer-events:none}
.g4pv-add-model{position:absolute;inset:12% 9%;display:grid;place-items:center;align-content:center;gap:7px}.g4pv-add-model>strong{padding:10px 18px;border-radius:15px;background:#fff;color:var(--pv-ink);font-size:1.5rem;box-shadow:0 7px 16px #173d4935}.g4pv-add-model>button{display:grid;place-items:center;padding:9px 13px;border:3px solid #fff;border-radius:16px;background:var(--pv-coral);color:#fff;font:1000 1rem inherit;box-shadow:0 8px 16px #723d2e47;cursor:pointer;transition:.5s}.g4pv-add-model>button small{font-size:.45rem}.g4pv-add-model>button.guided{animation:g4pv-pulse 1s ease-in-out infinite}.g4pv-add-model>button.merged{transform:translateY(-20px) scale(.3);opacity:0}.g4pv-add-model>span,.g4pv-add-model>p{margin:0;padding:7px 11px;border-radius:12px;background:#087f78e8;color:#fff;font-weight:1000;opacity:0;transform:scale(.7);transition:.45s}.g4pv-add-model>span{font-size:1.55rem}.g4pv-add-model>p{font-size:.58rem}.g4pv-add-model>[data-g4pv-new].visible{opacity:1;transform:scale(1)}
.g4pv-independent-value{position:absolute;left:13%;right:13%;top:7%;display:grid;gap:8px;padding:12px;border:3px solid #fff;border-radius:18px;background:#ffffffed;box-shadow:0 8px 20px #173d4935}.g4pv-independent-value strong{font-size:1.8rem}.g4pv-independent-value span{font-size:.7rem;font-weight:900}.g4pv-independent-value b{color:var(--pv-coral);font-size:1rem}.g4pv-independent-value.guided b{box-shadow:0 0 0 7px #f3b23b45;border-radius:8px}.g4pv-filled-only{position:absolute;left:11%;right:11%;bottom:7%;display:flex;justify-content:center;gap:5px}.g4pv-filled-only b{padding:6px;border:2px solid #fff;border-radius:11px;background:#173d49dc;color:#fff;font-size:.5rem}.g4pv-filled-only.guided b{background:#087f78}
.g4pv-result{position:absolute;left:10%;right:10%;top:22%;display:grid;place-items:center;gap:12px;padding:20px;border-radius:22px;background:#ffffffe8;box-shadow:0 10px 24px #173d4938}.g4pv-result>span{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--pv-teal);color:#fff;font-size:2rem;font-weight:1000}.g4pv-result strong{font-size:.9rem;line-height:1.3}.g4pv-finish{position:absolute;inset:9%;display:grid;place-items:center;align-content:center;gap:8px;padding:13px;border:3px solid #fff;border-radius:22px;background:#fffdf1e8;box-shadow:0 10px 24px #173d4938}.g4pv-finish>span{font-size:.56rem;font-weight:1000;letter-spacing:.14em;color:var(--pv-teal)}.g4pv-finish>strong{font-size:1.65rem}.g4pv-finish>i{color:var(--pv-coral);font-size:1.35rem;font-style:normal}.g4pv-finish>b{padding:7px;border-radius:12px;background:#e2f6f0;font-size:.68rem}.g4pv-finish>p{margin:0;font-size:.62rem;font-weight:850;line-height:1.3}
.g4pv-choice-footer .theme4-final-choices{gap:6px}.g4pv-choice-footer .theme4-final-choices button{min-height:48px}.g4pv-choice-footer .theme4-final-choices button>b{font-size:.8rem;overflow-wrap:anywhere}
.g4pv-scene button.correct-cell{border-color:#0b967f!important;background:#e1f7f0!important;box-shadow:0 0 0 5px #0b967f30}.g4pv-scene button.wrong-cell{border-color:#d75e5e!important;background:#fff0ee!important;animation:g4-shake .28s linear}

@media(max-width:620px){
  .grade4-place-value-shell .teacher-classroom{gap:2px;padding-top:3px;padding-bottom:5px}.grade4-place-value-shell .lesson-teacher{row-gap:4px}.grade4-place-value-shell .lesson-avatar{height:96px}.grade4-place-value-shell .teacher-bubble{min-height:58px;max-height:58px;padding:6px 8px}.grade4-place-value-shell .narration-controls{margin-top:3px}.grade4-place-value-shell .lesson-support-dock{margin-top:2px}.grade4-place-value-shell .lesson-support-dock .g4-support>button{min-height:44px}.grade4-place-value-shell .raise-hand{min-height:40px;margin-top:2px}.grade4-place-value-shell .talk-help{display:none}.grade4-place-value-shell .lesson-screen-meta{min-height:20px;padding-bottom:2px}.grade4-place-value-shell .lesson-footer{min-height:50px;padding-top:3px}
  .grade4-place-value-shell .g4pv-scene{height:360px;min-height:360px;max-height:360px;border-radius:20px}.grade4-place-value-shell .g4pv-content{gap:4px;padding:7px 5px 8px}.grade4-place-value-shell .g4pv-content>.board-kicker{padding:3px 7px;font-size:.53rem}.grade4-place-value-shell .g4pv-content>h1{font-size:1.04rem}.grade4-place-value-shell .g4pv-canvas{width:278px;border-radius:19px}.grade4-place-value-shell .g4pv-choice-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.grade4-place-value-shell .g4pv-choice-footer .theme4-final-choices button{width:100%;min-width:0;min-height:52px;padding:4px}.grade4-place-value-shell .g4pv-choice-footer .theme4-final-choices button>b{font-size:.64rem}
}
@media(max-width:390px){.grade4-place-value-shell .g4pv-canvas{width:264px}.g4pv-part-bank{gap:2px}.g4pv-part-bank button{font-size:.72rem}.g4pv-archive-digits b{font-size:1.2rem}.g4pv-value-proof{left:12%;right:12%}}
@media(prefers-reduced-motion:reduce){.g4pv-rail-token{animation:none;left:80%;top:75%}.g4pv-ten-pack.guided span,.g4pv-whole.guided,.g4pv-add-model>button.guided{animation:none}}

/* 4. sınıf · Sayıları sıralama ve yuvarlama */
.grade4-order-round-board{--or-ink:#16384d;--or-teal:#087f78;--or-gold:#f4b83f;--or-coral:#e96f58;display:grid;place-items:center;background:#e8f2ee}
.g4or-scene{position:relative;isolation:isolate;width:100%;min-height:clamp(430px,60vh,650px);overflow:hidden;border-radius:28px;color:var(--or-ink);box-shadow:inset 0 0 0 1px #ffffffa6}
.g4or-ambient{position:absolute;inset:-28px;z-index:-2;background-image:linear-gradient(#edf8f3dd,#edf8f3ed),var(--g4or-image);background-position:center;background-size:cover;filter:blur(16px) saturate(.72);transform:scale(1.09)}
.g4or-content{box-sizing:border-box;display:grid;align-content:start;justify-items:center;gap:7px;width:100%;min-height:inherit;padding:14px 20px 18px;text-align:center}
.g4or-content>.board-kicker{padding:5px 11px;border-radius:999px;background:var(--or-teal);color:#fff;font-size:.66rem;font-weight:1000;letter-spacing:.12em;box-shadow:0 6px 15px #18453c35}
.g4or-content>h1{max-width:780px;margin:0;color:var(--or-ink);font-size:clamp(1.23rem,2.3vw,1.95rem);line-height:1.08;text-wrap:balance}
.g4or-canvas{position:relative;width:min(100%,720px);aspect-ratio:16/9;overflow:hidden;border:3px solid #fff;border-radius:25px;background:#fff;box-shadow:0 16px 38px #143e443b;transition:border-color .25s,box-shadow .25s}
.g4or-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g4or-overlay{position:absolute;inset:0}
.g4or-focus,.g4or-together-active .g4or-canvas{border-color:var(--or-gold);box-shadow:0 0 0 7px #f4b83f43,0 18px 42px #143e4446}
.g4or-caption{position:absolute;left:24%;right:24%;bottom:8%;margin:0;padding:8px 10px;border:2px solid #fff;border-radius:14px;background:#fffce9e8;font-size:.7rem;font-weight:950;box-shadow:0 7px 17px #17384532}
.g4or-hook-cards{position:absolute;left:14%;right:14%;top:24%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.g4or-hook-cards span{display:grid;place-items:center;align-content:center;min-height:105px;border:3px solid #fff;border-radius:23px;background:#ffffffe9;box-shadow:0 12px 24px #17384543}.g4or-hook-cards span:last-child{background:#fff1c4ea}.g4or-hook-cards b{font-size:clamp(1.45rem,3.4vw,2.3rem);font-variant-numeric:tabular-nums;white-space:nowrap}.g4or-hook-cards small{color:var(--or-teal);font-size:.6rem;font-weight:1000;letter-spacing:.08em}.g4or-hook-cards i{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--or-coral);color:#fff;font:1000 1.6rem inherit;box-shadow:0 8px 15px #71392f4b}

.g4or-ridge-choice button{position:absolute;z-index:2;display:grid;place-items:center;align-content:center;width:24%;min-width:112px;min-height:76px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:20px;background:#fffef0e8;color:var(--or-ink);font-family:inherit;box-shadow:0 11px 22px #19374450;cursor:pointer}.g4or-ridge-choice button:first-child{left:23%;top:68%}.g4or-ridge-choice button:last-child{left:76%;top:42%}.g4or-ridge-choice b{font-size:1.35rem;font-variant-numeric:tabular-nums}.g4or-ridge-choice small{font-size:.5rem;font-weight:1000;color:var(--or-teal)}.g4or-ridge-choice.aligned button:first-child{box-shadow:0 0 0 7px #e96f5849,0 11px 22px #19374450}.g4or-ridge-choice.aligned button:last-child{box-shadow:0 0 0 7px #f4b83f66,0 11px 22px #19374450}.g4or-ridge-choice.aligned button:last-child::after{content:"daha çok basamak";position:absolute;top:102%;padding:4px 7px;border-radius:8px;background:#fff;color:#21645f;font-size:.48rem;font-weight:1000;white-space:nowrap}

.g4or-digit-columns{position:absolute;left:10%;right:10%;top:23%;display:grid;grid-template-columns:repeat(6,1fr);gap:2.6%;align-items:center}.g4or-digit-columns>div,.g4or-digit-columns>button{position:relative;display:grid;grid-template-rows:1fr 1fr;place-items:center;min-width:0;height:132px;padding:0;border:2px solid #ffffffd9;border-radius:14px;background:#ffffffd6;color:var(--or-ink);font-family:inherit;box-shadow:inset 0 -50% #dff3ef9e,0 8px 16px #153b4942}.g4or-digit-columns>button{cursor:pointer}.g4or-digit-columns span,.g4or-digit-columns i{display:grid;place-items:center;width:100%;height:100%;font:1000 1.45rem/1 inherit;font-style:normal}.g4or-digit-columns span{border-bottom:2px dashed #5ca9a1}.g4or-digit-columns .highlighted{border-color:var(--or-gold);background:#fff2b9e8;box-shadow:0 0 0 5px #f4b83f55,0 8px 16px #153b4942}.g4or-digit-columns.clickable>button:hover,.g4or-digit-columns.clickable>button:focus-visible{border-color:var(--or-gold);transform:translateY(-3px)}.g4or-digit-columns.curtain-method>button:nth-child(-n+2){opacity:.46}.g4or-digit-columns.curtain-method>button:nth-child(3){border-color:var(--or-gold);background:#fff2b9ee;box-shadow:0 0 0 6px #f4b83f5b}.g4or-scan-note{position:absolute;left:11%;right:11%;bottom:13%;display:grid;grid-template-columns:1fr 1fr 4fr;gap:2.6%}.g4or-scan-note>*{padding:5px;border-radius:9px;background:#ffffffdd;font-size:.55rem;font-weight:1000}.g4or-scan-note strong{background:var(--or-coral);color:#fff}.g4or-symbol-slot{position:absolute;left:50%;bottom:8%;display:grid;place-items:center;width:56px;height:56px;transform:translateX(-50%);border:3px dashed #fff;border-radius:18px;background:#17394adf;color:#fff;font-size:2rem;font-weight:1000}.g4or-symbol-slot.guided{background:var(--or-gold);color:#604600;box-shadow:0 0 0 7px #f4b83f4b}.g4or-proof-prompt{position:absolute;left:20%;right:20%;bottom:7%;padding:8px 10px;border:3px solid #fff;border-radius:15px;background:#17394ae5;color:#fff;font-size:.78rem;font-weight:900;box-shadow:0 8px 18px #17394a43}.g4or-proof-prompt b{color:#ffcf57}.g4or-proof-prompt.guided{box-shadow:0 0 0 7px #f4b83f55,0 8px 18px #17394a43}

.g4or-ridge-slots{position:absolute;inset:0}.g4or-ridge-slots span{position:absolute;display:grid;place-items:center;align-content:center;width:22%;min-height:62px;transform:translate(-50%,-50%);border:3px dashed #fff;border-radius:18px;background:#17394ab8;color:#fff;box-shadow:0 9px 18px #17394a45}.g4or-ridge-slots span:nth-child(1){left:19%;top:73%}.g4or-ridge-slots span:nth-child(2){left:39%;top:58%}.g4or-ridge-slots span:nth-child(3){left:61%;top:45%}.g4or-ridge-slots span:nth-child(4){left:81%;top:30%}.g4or-ridge-slots span.filled{border-style:solid;background:#fffef0eb;color:var(--or-ink)}.g4or-ridge-slots small{font-size:.45rem;font-weight:1000}.g4or-ridge-slots b{font-size:.84rem;font-variant-numeric:tabular-nums}.g4or-ridge-slots.scanner-method span:not(.filled):first-of-type{border-color:var(--or-gold);box-shadow:0 0 0 6px #f4b83f55}.g4or-card-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:min(100%,650px);margin:auto}.g4or-card-bank button{min-height:46px;padding:5px;border:2px solid #91c9c1;border-radius:13px;background:#fff;color:var(--or-ink);font:950 .86rem inherit;cursor:pointer}.g4or-card-bank button.used{opacity:.38;text-decoration:line-through;pointer-events:none}.g4or-card-bank button:hover,.g4or-card-bank button:focus-visible{border-color:var(--or-gold);transform:translateY(-2px)}

.g4or-number-line{position:absolute;left:13%;right:13%;top:28%;height:45%}.g4or-line{position:absolute;left:7%;right:7%;top:48%;height:6px;border:2px solid #fff;border-radius:999px;background:#18394a;box-shadow:0 5px 12px #17394a55}.g4or-line>i{position:absolute;left:calc(var(--tick) * 10%);top:50%;width:3px;height:22px;transform:translate(-50%,-50%);border-radius:3px;background:#fff}.g4or-line>i:first-child,.g4or-line>i:last-of-type{height:30px;background:var(--or-gold)}.g4or-end{position:absolute;top:22px;transform:translateX(-50%);padding:4px 6px;border:2px solid #fff;border-radius:9px;background:#17394add;color:#fff;font-size:.58rem;font-weight:1000;white-space:nowrap}.g4or-end.start{left:0}.g4or-end.end{left:100%}.g4or-pod{position:absolute;z-index:3;left:calc(7% + var(--position) * .86);top:48%;display:grid;place-items:center;align-content:center;min-width:76px;min-height:62px;padding:5px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:var(--or-coral);color:#fff;font-family:inherit;box-shadow:0 8px 15px #71392f59;transition:left .68s cubic-bezier(.2,.8,.2,1),transform .68s}.g4or-pod b{font-size:.8rem;white-space:nowrap}.g4or-pod small{font-size:.4rem;font-weight:1000;white-space:nowrap}.g4or-pod.travel-start{left:7%;transform:translate(-50%,-50%) scale(.82)}.g4or-pod.travel-end{left:93%;transform:translate(-50%,-50%) scale(.82)}.g4or-number-line.guided,.g4or-number-line.distance-method,.g4or-number-line.fold-method{filter:drop-shadow(0 0 9px #ffd56f)}.g4or-number-line.distance-method .g4or-line::before,.g4or-number-line.fold-method .g4or-line::before{content:"";position:absolute;left:0;right:50%;top:-4px;height:10px;border-radius:8px;background:#f4b83f}.g4or-number-line.fold-method .g4or-line::before{left:50%;right:0}.g4or-line-rule{position:absolute;left:27%;right:27%;bottom:10%;padding:6px;border:2px solid #fff;border-radius:12px;background:#fffce9e7;font-size:.58rem;font-weight:1000}.g4or-boundary-cards{position:absolute;left:11%;right:11%;bottom:9%;display:flex;justify-content:space-between}.g4or-boundary-cards span{padding:7px 9px;border:2px solid #fff;border-radius:12px;background:#17394add;color:#fff;font-size:.45rem;font-weight:1000}.g4or-boundary-cards b{font-size:.75rem}.g4or-target-buttons button{position:absolute;bottom:7%;display:grid;place-items:center;min-width:92px;min-height:48px;transform:translateX(-50%);border:3px solid #fff;border-radius:15px;background:#fffef0eb;color:var(--or-ink);font:1000 .78rem inherit;box-shadow:0 7px 15px #17394a45;cursor:pointer}.g4or-target-buttons button:first-child{left:20%}.g4or-target-buttons button:last-child{left:80%}.g4or-distance-pair{position:absolute;left:16%;right:16%;bottom:8%;display:flex;justify-content:space-between}.g4or-distance-pair span{padding:6px 9px;border:2px solid #fff;border-radius:11px;background:#17394add;color:#fff;font-size:.55rem;font-weight:1000}

.g4or-group-model{position:absolute;left:17%;right:17%;top:20%;display:grid;grid-template-columns:1fr auto 1fr;place-items:center;gap:8px;padding:16px;border:3px solid #fff;border-radius:22px;background:#fffdf0e8;box-shadow:0 11px 22px #17394a3c}.g4or-group-model strong{grid-column:1/-1;padding:6px 13px;border-radius:13px;background:#17394a;color:#fff;font-size:1.6rem}.g4or-group-model span{padding:10px 8px;border-radius:14px;background:#dff4ef;font-size:.83rem;font-weight:1000}.g4or-group-model i{color:var(--or-coral);font:1000 1.2rem inherit}.g4or-group-model.guided span:first-of-type{box-shadow:0 0 0 6px #f4b83f50}.g4or-group-wings{position:absolute;left:13%;right:13%;top:24%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.g4or-group-wings section{display:grid;place-items:center;align-content:center;min-height:130px;border:3px dashed #fff;border-radius:21px;background:#17394acd;color:#fff;box-shadow:0 10px 21px #17394a48}.g4or-group-wings section.filled{border-style:solid;background:#fffef0e9;color:var(--or-ink)}.g4or-group-wings b{font-size:2rem}.g4or-group-wings small{font-size:.52rem;font-weight:1000}.g4or-group-wings i{font:1000 2rem inherit;color:var(--or-gold)}.g4or-group-wings.from-right section:last-child{box-shadow:0 0 0 7px #f4b83f55,0 10px 21px #17394a48}

.g4or-depot-bays{position:absolute;inset:0}.g4or-depot-bays button{position:absolute;top:68%;display:grid;place-items:center;align-content:center;width:22%;min-height:68px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:17px;background:#17394acb;color:#fff;font-family:inherit;box-shadow:0 9px 19px #17394a47;cursor:pointer}.g4or-depot-bays button:nth-child(1){left:20%}.g4or-depot-bays button:nth-child(2){left:50%}.g4or-depot-bays button:nth-child(3){left:80%}.g4or-depot-bays b{font-size:1rem}.g4or-depot-bays small{font-size:.5rem;font-weight:1000}.g4or-depot-bays button:has(small:not(:empty)){transition:.25s}.g4or-depot-bays.line-method button{box-shadow:0 0 0 6px #f4b83f4c,0 9px 19px #17394a47}
.g4or-ridge-choice button:hover,.g4or-ridge-choice button:focus-visible,.g4or-digit-columns>button:hover,.g4or-digit-columns>button:focus-visible,.g4or-target-buttons button:hover,.g4or-target-buttons button:focus-visible,.g4or-depot-bays button:hover,.g4or-depot-bays button:focus-visible{border-color:var(--or-gold);outline:0;box-shadow:0 0 0 6px #f4b83f52,0 11px 22px #17394a48}

.g4or-result{position:absolute;left:16%;right:16%;top:25%;display:grid;place-items:center;gap:13px;padding:26px 20px;border:3px solid #fff;border-radius:24px;background:#ffffffe9;box-shadow:0 11px 24px #17394a40}.g4or-result>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--or-teal);color:#fff;font-size:2rem;font-weight:1000;box-shadow:0 0 0 8px #087f7836}.g4or-result strong{max-width:520px;font-size:.9rem;line-height:1.3}.g4or-finish{position:absolute;inset:13% 12%;display:grid;place-items:center;align-content:center;gap:8px;padding:16px;border:3px solid #fff;border-radius:24px;background:#fffdf0e9;box-shadow:0 11px 24px #17394a40}.g4or-finish>span{font-size:.55rem;font-weight:1000;letter-spacing:.16em;color:var(--or-teal)}.g4or-finish>strong{font-size:1.55rem}.g4or-finish>i{color:var(--or-coral);font:1000 1.2rem inherit}.g4or-finish>b{padding:7px 10px;border-radius:12px;background:#dff4ef;font-size:.85rem}.g4or-finish>p{margin:0;font-size:.64rem;font-weight:850;line-height:1.3}.g4or-choice-footer .theme4-final-choices{gap:6px}.g4or-choice-footer .theme4-final-choices button{min-height:48px;padding:6px}.g4or-choice-footer .theme4-final-choices button>b{font-size:.78rem;overflow-wrap:anywhere}.g4or-scene button.correct-cell{border-color:#0b967f!important;background:#e1f7f0!important;color:var(--or-ink)!important;box-shadow:0 0 0 5px #0b967f30}.g4or-scene button.wrong-cell{border-color:#d75e5e!important;background:#fff0ee!important;color:#7e3030!important;animation:g4-shake .28s linear}

@media(max-width:620px){
  .grade4-order-round-shell .teacher-classroom{gap:2px;padding-top:3px;padding-bottom:5px}.grade4-order-round-shell .lesson-teacher{row-gap:4px}.grade4-order-round-shell .lesson-avatar{height:96px}.grade4-order-round-shell .teacher-bubble{min-height:58px;max-height:58px;padding:6px 8px}.grade4-order-round-shell .narration-controls{margin-top:3px}.grade4-order-round-shell .lesson-support-dock{margin-top:2px}.grade4-order-round-shell .lesson-support-dock .g4-support>button{min-height:44px}.grade4-order-round-shell .raise-hand{min-height:40px;margin-top:2px}.grade4-order-round-shell .talk-help{display:none}.grade4-order-round-shell .lesson-screen-meta{min-height:20px;padding-bottom:2px}.grade4-order-round-shell .lesson-footer{min-height:50px;padding-top:3px}
  .grade4-order-round-shell .g4or-scene{height:360px;min-height:360px;max-height:360px;border-radius:20px}.grade4-order-round-shell .g4or-content{gap:4px;padding:7px 5px 8px}.grade4-order-round-shell .g4or-content>.board-kicker{padding:3px 7px;font-size:.52rem}.grade4-order-round-shell .g4or-content>h1{font-size:1.02rem}.grade4-order-round-shell .g4or-canvas{width:min(100%,342px);border-radius:18px}.grade4-order-round-shell .g4or-choice-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.grade4-order-round-shell .g4or-choice-footer .theme4-final-choices button{width:100%;min-width:0;min-height:52px;padding:4px}.grade4-order-round-shell .g4or-choice-footer .theme4-final-choices button>b{font-size:.61rem}
  .g4or-hook-cards{left:9%;right:9%;gap:6px}.g4or-hook-cards span{min-height:68px;border-radius:15px}.g4or-hook-cards b{font-size:1.15rem}.g4or-hook-cards i{width:36px;height:36px;font-size:1.1rem}.g4or-caption{left:14%;right:14%;padding:5px;font-size:.53rem}.g4or-ridge-choice button{width:28%;min-width:88px;min-height:54px;border-radius:14px}.g4or-ridge-choice b{font-size:.92rem}.g4or-ridge-choice button:first-child{left:22%;top:68%}.g4or-ridge-choice button:last-child{left:77%;top:41%}
  .g4or-digit-columns{left:4%;right:4%;top:18%;gap:1%}.g4or-digit-columns>div,.g4or-digit-columns>button{height:96px;border-radius:9px}.g4or-digit-columns span,.g4or-digit-columns i{font-size:1rem}.g4or-scan-note{left:5%;right:5%;bottom:11%;gap:1%}.g4or-scan-note>*{padding:3px;font-size:.42rem}.g4or-symbol-slot{bottom:5%;width:44px;height:44px;border-radius:12px;font-size:1.4rem}.g4or-proof-prompt{left:8%;right:8%;bottom:4%;padding:5px;font-size:.57rem}
  .g4or-ridge-slots span{width:25%;min-height:48px;border-radius:12px}.g4or-ridge-slots b{font-size:.62rem}.g4or-card-bank{gap:4px}.g4or-card-bank button{min-height:46px;padding:3px;font-size:.67rem}
  .g4or-number-line{left:7%;right:7%;top:20%;height:48%}.g4or-line{left:9%;right:9%}.g4or-end{top:18px;font-size:.43rem}.g4or-pod{left:calc(9% + var(--position) * .82);min-width:60px;min-height:47px}.g4or-pod b{font-size:.62rem}.g4or-pod small{font-size:.31rem}.g4or-pod.travel-start{left:9%}.g4or-pod.travel-end{left:91%}.g4or-line-rule{left:16%;right:16%;bottom:6%;padding:4px;font-size:.45rem}.g4or-boundary-cards{left:6%;right:6%;bottom:5%}.g4or-boundary-cards span{padding:4px;font-size:.37rem}.g4or-target-buttons button{bottom:4%;min-width:75px;min-height:46px;font-size:.63rem}.g4or-distance-pair{left:9%;right:9%;bottom:5%}.g4or-distance-pair span{font-size:.43rem;padding:4px}
  .g4or-group-model{left:8%;right:8%;top:14%;padding:10px;gap:5px}.g4or-group-model strong{font-size:1.2rem}.g4or-group-model span{padding:8px 4px;font-size:.66rem}.g4or-group-wings{left:7%;right:7%;top:18%;gap:6px}.g4or-group-wings section{min-height:96px;border-radius:15px}.g4or-group-wings b{font-size:1.5rem}.g4or-group-wings small{font-size:.42rem}.g4or-depot-bays button{width:25%;min-height:52px;border-radius:12px}.g4or-depot-bays b{font-size:.76rem}.g4or-depot-bays small{font-size:.4rem}.g4or-result{left:8%;right:8%;top:17%;padding:15px 8px}.g4or-result>span{width:48px;height:48px;font-size:1.45rem}.g4or-result strong{font-size:.7rem}.g4or-finish{inset:8% 7%;padding:8px}.g4or-finish>strong{font-size:1.15rem}.g4or-finish>p{font-size:.5rem}
}
@media(max-width:390px){.grade4-order-round-shell .g4or-canvas{width:328px}.g4or-choice-footer .theme4-final-choices button>b{font-size:.57rem}.g4or-ridge-slots span{width:26%}.g4or-ridge-slots b{font-size:.57rem}.g4or-line>i{height:18px}.g4or-line>i:first-child,.g4or-line>i:last-of-type{height:25px}}
@media(max-height:760px) and (min-width:621px){.grade4-order-round-shell .teacher-classroom{padding-top:20px;padding-bottom:15px}}
@media(prefers-reduced-motion:reduce){.g4or-pod{transition:none}.g4or-scene *{scroll-behavior:auto!important}}

/* 4. sınıf · Yüzer ve biner ileri/geri ritmik sayma */
.grade4-rhythmic-count-board{--rc-ink:#173b48;--rc-teal:#087f78;--rc-gold:#f2b63f;--rc-coral:#e96e51;display:grid;place-items:center;background:#e8f3ee}
.g4rc-scene{position:relative;isolation:isolate;width:100%;min-height:clamp(430px,60vh,650px);overflow:hidden;border-radius:28px;color:var(--rc-ink);box-shadow:inset 0 0 0 1px #ffffffa6}
.g4rc-ambient{position:absolute;inset:-28px;z-index:-2;background-image:linear-gradient(#edf8f3dd,#edf8f3ed),var(--g4rc-image);background-position:center;background-size:cover;filter:blur(16px) saturate(.72);transform:scale(1.09)}
.g4rc-content{box-sizing:border-box;display:grid;align-content:start;justify-items:center;gap:7px;width:100%;min-height:inherit;padding:14px 20px 18px;text-align:center}
.g4rc-content>.board-kicker{padding:5px 11px;border-radius:999px;background:var(--rc-teal);color:#fff;font-size:.66rem;font-weight:1000;letter-spacing:.12em;box-shadow:0 6px 15px #18453c35}
.g4rc-content>h1{max-width:780px;margin:0;color:var(--rc-ink);font-size:clamp(1.23rem,2.3vw,1.95rem);line-height:1.08;text-wrap:balance}
.g4rc-canvas{position:relative;width:min(100%,720px);aspect-ratio:16/9;overflow:hidden;border:3px solid #fff;border-radius:25px;background:#fff;box-shadow:0 16px 38px #143e443b;transition:border-color .25s,box-shadow .25s}
.g4rc-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g4rc-overlay{position:absolute;inset:0}
.g4rc-focus,.g4rc-together-active .g4rc-canvas{border-color:var(--rc-gold);box-shadow:0 0 0 7px #f2b63f43,0 18px 42px #143e4446}
.g4rc-three-keys{position:absolute;left:14%;right:14%;top:21%;display:grid;grid-template-columns:1.25fr .8fr 1fr;align-items:center;gap:10px}.g4rc-three-keys span{display:grid;place-items:center;align-content:center;min-height:92px;border:3px solid #fff;border-radius:20px;background:#ffffffe8;box-shadow:0 10px 22px #173b4840}.g4rc-three-keys span:nth-child(2){background:#e1f6f0e9}.g4rc-three-keys span:nth-child(3){background:#fff1c7ec}.g4rc-three-keys b{font-size:1.55rem}.g4rc-three-keys small{color:var(--rc-teal);font-size:.5rem;font-weight:1000;letter-spacing:.1em}
.g4rc-counter-number{position:absolute;left:50%;top:8%;transform:translateX(-50%);padding:7px 12px;border:2px solid #fff;border-radius:13px;background:#173b48df;color:#fff;font-size:1rem;font-weight:1000;box-shadow:0 7px 16px #173b4848}.g4rc-counter-number i{margin-left:6px;padding:3px 6px;border-radius:8px;background:var(--rc-gold);color:#5d4300;font-style:normal}
.g4rc-counter-windows{position:absolute;left:28%;right:28%;top:16%;bottom:47%;display:grid;grid-template-columns:repeat(4,1fr);gap:5%}.g4rc-counter-windows button{display:grid;place-items:center;align-content:center;min-width:0;padding:0;border:3px solid #fff;border-radius:14px;background:#fffdf0e7;color:var(--rc-ink);font-family:inherit;box-shadow:0 8px 17px #173b4840;cursor:pointer}.g4rc-counter-windows b{font-size:1.65rem}.g4rc-counter-windows small{font-size:.42rem;font-weight:1000}.g4rc-counter-windows button.guided{animation:g4rc-pulse 1s ease-in-out infinite}
@keyframes g4rc-pulse{50%{box-shadow:0 0 0 7px #f2b63f67,0 8px 17px #173b4840;filter:brightness(1.08)}}
.g4rc-hierarchy{position:absolute;left:19%;right:19%;top:16%;display:grid;gap:10px}.g4rc-hierarchy section{display:grid;grid-template-columns:1fr auto 1fr;place-items:center;gap:8px;padding:12px;border:3px solid #fff;border-radius:19px;background:#fffdf0e9;box-shadow:0 9px 20px #173b4838}.g4rc-hierarchy span,.g4rc-hierarchy b{font-size:1.42rem}.g4rc-hierarchy b{color:var(--rc-teal)}.g4rc-hierarchy i{padding:5px 8px;border-radius:10px;background:var(--rc-coral);color:#fff;font-style:normal;font-weight:1000}.g4rc-hierarchy small{grid-column:1/-1;color:#536e70;font-size:.51rem;font-weight:1000}.g4rc-hierarchy section:has(.spoken-highlight){box-shadow:0 0 0 7px #f2b63f4d,0 9px 20px #173b4838}
.g4rc-path{position:absolute;left:9%;right:9%;top:31%;height:42%}.g4rc-path-rail{position:absolute;left:3%;right:3%;top:54%;height:5px;border:2px solid #fff;border-radius:99px;background:#173b48;box-shadow:0 6px 13px #173b4850}.g4rc-path>button,.g4rc-path>span{position:absolute;z-index:2;top:54%;display:grid;place-items:center;min-width:94px;min-height:55px;transform:translate(-50%,-50%);padding:4px 8px;border:3px solid #fff;border-radius:50%;background:#fffdf0e8;color:var(--rc-ink);font:1000 .78rem/1 inherit;box-shadow:0 8px 16px #173b4849;white-space:nowrap}.g4rc-path>button{cursor:pointer}.g4rc-path>.start{background:var(--rc-teal);color:#fff}.g4rc-path>.picked{background:#dcf5ee;border-color:#fff;box-shadow:0 0 0 5px #0b967f36,0 8px 16px #173b4849}.g4rc-path-marker{position:absolute;z-index:4;top:31%;width:27px;height:27px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:var(--rc-coral);box-shadow:0 7px 13px #71392f58;transition:left .45s cubic-bezier(.2,.8,.2,1)}.g4rc-path-marker::after{content:"";position:absolute;left:50%;top:100%;width:3px;height:33px;transform:translateX(-50%);background:#fff}.g4rc-direction-card{position:absolute;left:30%;right:30%;bottom:7%;display:grid;grid-template-columns:1fr 1fr;place-items:center;padding:7px;border:2px solid #fff;border-radius:14px;background:#173b48df;color:#fff}.g4rc-direction-card b{font-size:.72rem}.g4rc-direction-card i{color:#ffd15b;font-style:normal;font-weight:1000}.g4rc-direction-card small{grid-column:1/-1;font-size:.42rem;font-weight:900}.g4rc-path.counter-method{filter:drop-shadow(0 0 9px #ffd76d)}
.g4rc-grid{position:absolute;left:18%;right:18%;top:18%;bottom:21%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}.g4rc-grid>button,.g4rc-grid>span{display:grid;place-items:center;min-width:0;min-height:46px;padding:3px;border:2px solid #ffffffed;border-radius:10px;background:#ffffffce;color:var(--rc-ink);font:950 .69rem/1 inherit;box-shadow:0 5px 10px #173b4836}.g4rc-grid>button{cursor:pointer}.g4rc-grid>.picked{background:#dff6ef;border-color:#0b967f}.g4rc-grid.place-mask>*{opacity:.42}.g4rc-grid.place-mask>*:nth-child(3n+1){opacity:1;box-shadow:0 0 0 5px #f2b63f4f}.g4rc-grid-rule{position:absolute;left:34%;right:34%;bottom:7%;display:flex;justify-content:center;gap:7px;padding:6px;border:2px solid #fff;border-radius:12px;background:#173b48df;color:#fff;font-size:.66rem;font-weight:1000}.g4rc-grid-rule i{color:#ffd15b;font-style:normal}
.g4rc-route{position:absolute;inset:0}.g4rc-route-end{position:absolute;top:51%;display:grid;place-items:center;align-content:center;width:20%;min-height:68px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#fffdf0e8;color:var(--rc-ink);box-shadow:0 9px 18px #173b4846}.g4rc-route-end.start{left:15%}.g4rc-route-end.target{left:85%;background:#fff0c7ed}.g4rc-route-end small{font-size:.4rem;font-weight:1000}.g4rc-route-end b{font-size:.9rem}.g4rc-route-slots button{position:absolute;top:51%;display:grid;place-items:center;align-content:center;width:13%;min-height:64px;transform:translate(-50%,-50%);padding:2px;border:3px dashed #fff;border-radius:50%;background:#173b48c8;color:#fff;font-family:inherit;cursor:pointer;box-shadow:0 8px 16px #173b4845}.g4rc-route-slots button.filled{border-style:solid;background:var(--rc-teal)}.g4rc-route-slots button.drop-ready,.g4rc-route.guided .g4rc-route-slots button:not(.filled):first-of-type{border-color:var(--rc-gold);box-shadow:0 0 0 7px #f2b63f50,0 8px 16px #173b4845}.g4rc-route-slots small{font-size:.35rem;font-weight:1000}.g4rc-route-slots b{font-size:.58rem}.g4rc-route-slots i{font-size:.38rem;font-style:normal}.g4rc-step-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:min(100%,620px);margin:auto}.g4rc-step-bank button{min-height:46px;border:2px solid #91c9c1;border-radius:13px;background:#fff;color:var(--rc-ink);font:1000 .82rem inherit;cursor:grab}.g4rc-step-bank button.selected{border-color:var(--rc-gold);background:#fff1c5;box-shadow:0 0 0 5px #f2b63f38}
.g4rc-target-proof{position:absolute;left:17%;right:17%;top:20%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:16px;border:3px solid #fff;border-radius:22px;background:#fffdf0e9;box-shadow:0 10px 22px #173b483d}.g4rc-target-proof span{display:grid;gap:3px}.g4rc-target-proof small{font-size:.46rem;font-weight:1000;color:var(--rc-teal)}.g4rc-target-proof b{font-size:1.45rem}.g4rc-target-proof>i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--rc-coral);color:#fff;font:1000 1.5rem inherit}.g4rc-target-proof p{grid-column:1/-1;margin:0;padding:6px;border-radius:10px;background:#e0f5ef;font-size:.63rem;font-weight:900}.g4rc-target-proof.number-line-method{box-shadow:0 0 0 7px #f2b63f4d,0 10px 22px #173b483d}
.g4rc-error-row{position:absolute;left:8%;right:8%;top:28%;display:grid;grid-template-columns:repeat(7,auto);align-items:center;justify-content:center;gap:5px}.g4rc-error-row button{min-width:104px;min-height:62px;border:3px solid #fff;border-radius:16px;background:#ffffffe4;color:var(--rc-ink);font:1000 .85rem inherit;box-shadow:0 8px 16px #173b4844;cursor:pointer}.g4rc-error-row i{font-size:.48rem;font-style:normal;font-weight:1000;color:#fff;text-shadow:0 2px 4px #173b48}.g4rc-error-row.difference-method i{color:#ffcf58;font-size:.6rem}.g4rc-error-correction{position:absolute;left:28%;right:28%;bottom:12%;padding:8px;border:2px solid #fff;border-radius:13px;background:#173b48df;color:#fff;font-size:.72rem;font-weight:1000;opacity:0;transform:translateY(10px);transition:.35s}.g4rc-error-correction.visible{opacity:1;transform:none}.g4rc-error-correction b{color:#ffcf58}
.g4rc-result{position:absolute;left:16%;right:16%;top:25%;display:grid;place-items:center;gap:13px;padding:26px 20px;border:3px solid #fff;border-radius:24px;background:#ffffffe9;box-shadow:0 11px 24px #173b4840}.g4rc-result>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--rc-teal);color:#fff;font-size:2rem;font-weight:1000;box-shadow:0 0 0 8px #087f7836}.g4rc-result strong{max-width:520px;font-size:.9rem;line-height:1.3}.g4rc-finish{position:absolute;inset:13% 12%;display:grid;place-items:center;align-content:center;gap:8px;padding:16px;border:3px solid #fff;border-radius:24px;background:#fffdf0e9;box-shadow:0 11px 24px #173b4840}.g4rc-finish>span{font-size:.55rem;font-weight:1000;letter-spacing:.16em;color:var(--rc-teal)}.g4rc-finish>strong{font-size:1.35rem}.g4rc-finish>i{color:var(--rc-coral);font:1000 1.2rem inherit}.g4rc-finish>b{padding:7px 10px;border-radius:12px;background:#dff4ef;font-size:.8rem}.g4rc-finish>p{margin:0;font-size:.64rem;font-weight:850;line-height:1.3}
.g4rc-scene button:hover,.g4rc-scene button:focus-visible,.g4rc-step-bank button:hover,.g4rc-step-bank button:focus-visible{outline:0;border-color:var(--rc-gold);box-shadow:0 0 0 6px #f2b63f52,0 9px 19px #173b4848}.g4rc-scene button.correct-cell{border-color:#0b967f!important;background:#e1f7f0!important;color:var(--rc-ink)!important;box-shadow:0 0 0 5px #0b967f30}.g4rc-scene button.wrong-cell{border-color:#d75e5e!important;background:#fff0ee!important;color:#7e3030!important;animation:g4-shake .28s linear}

@media(max-width:620px){
  .grade4-rhythmic-count-shell .teacher-classroom{gap:2px;padding-top:3px;padding-bottom:5px}.grade4-rhythmic-count-shell .lesson-teacher{row-gap:4px}.grade4-rhythmic-count-shell .lesson-avatar{height:96px}.grade4-rhythmic-count-shell .teacher-bubble{min-height:58px;max-height:58px;padding:6px 8px}.grade4-rhythmic-count-shell .narration-controls{margin-top:3px}.grade4-rhythmic-count-shell .lesson-support-dock{margin-top:2px}.grade4-rhythmic-count-shell .lesson-support-dock .g4-support>button{min-height:44px}.grade4-rhythmic-count-shell .raise-hand{min-height:40px;margin-top:2px}.grade4-rhythmic-count-shell .talk-help{display:none}.grade4-rhythmic-count-shell .lesson-screen-meta{min-height:20px;padding-bottom:2px}.grade4-rhythmic-count-shell .lesson-footer{min-height:50px;padding-top:3px}
  .grade4-rhythmic-count-shell .g4rc-scene{height:360px;min-height:360px;max-height:360px;border-radius:20px}.grade4-rhythmic-count-shell .g4rc-content{gap:4px;padding:7px 5px 8px}.grade4-rhythmic-count-shell .g4rc-content>.board-kicker{padding:3px 7px;font-size:.52rem}.grade4-rhythmic-count-shell .g4rc-content>h1{font-size:1.02rem}.grade4-rhythmic-count-shell .g4rc-canvas{width:min(100%,342px);border-radius:18px}
  .g4rc-three-keys{left:8%;right:8%;top:17%;gap:5px}.g4rc-three-keys span{min-height:64px;border-radius:14px}.g4rc-three-keys b{font-size:1rem}.g4rc-three-keys small{font-size:.36rem}.g4rc-counter-number{top:5%;font-size:.75rem}.g4rc-counter-windows{left:20%;right:20%;top:16%;bottom:45%;gap:2%}.g4rc-counter-windows button{border-radius:9px}.g4rc-counter-windows b{font-size:1rem}.g4rc-counter-windows small{font-size:.28rem}.g4rc-hierarchy{left:10%;right:10%;top:12%;gap:7px}.g4rc-hierarchy section{padding:8px;border-radius:14px}.g4rc-hierarchy span,.g4rc-hierarchy b{font-size:1rem}.g4rc-hierarchy small{font-size:.4rem}
  .g4rc-path{left:5%;right:5%;top:28%;height:44%}.g4rc-path>button,.g4rc-path>span{min-width:70px;min-height:46px;padding:2px 4px;font-size:.58rem}.g4rc-path-marker{width:22px;height:22px}.g4rc-direction-card{left:22%;right:22%;bottom:4%;padding:4px}.g4rc-grid{left:11%;right:11%;top:15%;bottom:20%;gap:3px}.g4rc-grid>button,.g4rc-grid>span{min-height:44px;border-radius:7px;font-size:.53rem}.g4rc-grid-rule{left:27%;right:27%;bottom:4%;font-size:.5rem}
  .g4rc-route-end{top:53%;width:23%;min-height:54px}.g4rc-route-end b{font-size:.64rem}.g4rc-route-slots button{top:53%;width:15%;min-height:48px}.g4rc-route-slots small{font-size:.28rem}.g4rc-route-slots b{font-size:.43rem}.g4rc-route-slots i{font-size:.3rem}.g4rc-step-bank{gap:4px}.g4rc-step-bank button{min-height:46px;font-size:.67rem}.g4rc-target-proof{left:8%;right:8%;top:13%;padding:10px}.g4rc-target-proof b{font-size:1.05rem}.g4rc-target-proof p{font-size:.5rem}.g4rc-error-row{left:3%;right:3%;top:22%;gap:2px}.g4rc-error-row button{min-width:66px;min-height:50px;padding:2px;font-size:.56rem}.g4rc-error-row i{font-size:.34rem}.g4rc-error-correction{left:17%;right:17%;bottom:7%;font-size:.55rem}.g4rc-result{left:8%;right:8%;top:17%;padding:15px 8px}.g4rc-result>span{width:48px;height:48px;font-size:1.45rem}.g4rc-result strong{font-size:.7rem}.g4rc-finish{inset:8% 7%;padding:8px}.g4rc-finish>strong{font-size:.9rem}.g4rc-finish>p{font-size:.5rem}
  .grade4-rhythmic-count-shell .lesson-footer:has(.g4rc-step-bank),.grade4-rhythmic-count-shell .lesson-footer:has(.g4rc-step-bank) .theme4-final-footer-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;max-height:none!important}.grade4-rhythmic-count-shell .lesson-footer:has(.g4rc-step-bank) .g4rc-step-bank,.grade4-rhythmic-count-shell .lesson-footer:has(.g4rc-step-bank) .student-prompt{grid-column:1/-1!important;width:100%;max-width:100%;margin:0;box-sizing:border-box}.grade4-rhythmic-count-shell .lesson-footer:has(.g4rc-step-bank) .student-prompt{font-size:.78rem;line-height:1.2}.g4rc-step-bank button{white-space:nowrap}
}
@media(max-width:390px){.grade4-rhythmic-count-shell .g4rc-canvas{width:328px}.g4rc-path>button,.g4rc-path>span{min-width:67px}.g4rc-error-row button{min-width:58px}.g4rc-error-row i{padding:2px 1px;border-radius:99px;background:#fff9;color:#173b48;font-size:.42rem;text-shadow:0 1px 0 #fff}.g4rc-step-bank button{font-size:.62rem}}
@media(max-height:760px) and (min-width:621px){.grade4-rhythmic-count-shell .teacher-classroom{padding-top:20px;padding-bottom:15px}.grade4-rhythmic-count-shell .g4rc-scene{min-height:400px}.grade4-rhythmic-count-shell .g4rc-content{padding-top:8px;gap:4px}.grade4-rhythmic-count-shell .g4rc-canvas{width:min(100%,640px)}}
@media(prefers-reduced-motion:reduce){.g4rc-path-marker{transition:none}.g4rc-counter-windows button.guided{animation:none}}

/* MAT.4.1.5 · sayı ve şekil örüntülerindeki değişimi genelleme */
.grade4-pattern-board{--p-ink:#183c46;--p-teal:#087f78;--p-gold:#f0b43c;--p-coral:#df684d;--p-paper:#fffdf4;display:grid;place-items:center;background:#e9f3ee}
.g4p-scene{position:relative;isolation:isolate;width:100%;min-height:clamp(430px,60vh,650px);overflow:hidden;border-radius:28px;color:var(--p-ink);box-shadow:inset 0 0 0 1px #ffffffa6}
.g4p-ambient{position:absolute;inset:-28px;z-index:-2;background-image:linear-gradient(#edf8f3df,#edf8f3ef),var(--g4p-image);background-position:center;background-size:cover;filter:blur(17px) saturate(.72);transform:scale(1.1)}
.g4p-content{box-sizing:border-box;display:grid;align-content:start;justify-items:center;gap:7px;width:100%;min-height:inherit;padding:14px 20px 18px;text-align:center}
.g4p-content>.board-kicker{padding:5px 11px;border-radius:999px;background:var(--p-teal);color:#fff;font-size:.66rem;font-weight:1000;letter-spacing:.12em;box-shadow:0 6px 15px #18453c35}
.g4p-content>h1{max-width:790px;margin:0;color:var(--p-ink);font-size:clamp(1.2rem,2.25vw,1.92rem);line-height:1.08;text-wrap:balance}
.g4p-canvas{position:relative;width:min(100%,720px);aspect-ratio:16/9;overflow:hidden;border:3px solid #fff;border-radius:25px;background:#fff;box-shadow:0 16px 38px #143e443b;transition:.25s}
.g4p-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.g4p-overlay{position:absolute;inset:0}
.g4p-focus,.g4p-together-active .g4p-canvas{border-color:var(--p-gold);box-shadow:0 0 0 7px #f2b63f43,0 18px 42px #143e4446}
.g4p-world-row{position:absolute;left:3%;right:3%;bottom:10%;height:55%;display:grid;grid-template-columns:repeat(var(--g4p-count),minmax(0,1fr));align-items:end;gap:1.2%;pointer-events:none}.g4p-world-row>section{position:relative;display:grid;place-items:center;align-content:end;min-width:0;height:100%;padding:0 2px 12%;box-sizing:border-box}.g4p-world-row>section>b{position:absolute;left:50%;bottom:-3%;transform:translateX(-50%);min-width:38px;padding:3px 6px;border:2px solid #fff;border-radius:10px;background:#183c46e8;color:#fff;font-size:.7rem;box-shadow:0 5px 11px #183c464d}.g4p-world-row>section>small{position:absolute;left:50%;bottom:-12%;transform:translateX(-50%);color:#fff;font-size:.36rem;font-weight:1000;text-shadow:0 2px 4px #183c46;white-space:nowrap}.g4p-world-row>section.is-hidden{display:grid;place-items:center}.g4p-question-mark{display:grid;place-items:center;width:55px;height:55px;margin-bottom:22%;border:3px dashed #fff;border-radius:50%;background:#183c46c9;color:#fff;font-size:1.5rem;box-shadow:0 0 0 6px #f0b43c55}
.g4p-change-row{position:absolute;left:7%;right:7%;bottom:10%;display:grid;grid-template-columns:repeat(calc(var(--g4p-count) - 1),1fr);gap:5%}.g4p-change-row span{justify-self:end;transform:translateX(55%);padding:3px 6px;border:2px solid #fff;border-radius:99px;background:#f0b43ce8;color:#4c3a08;font-size:.52rem;font-weight:1000;box-shadow:0 4px 9px #183c463d}
.g4p-objects{position:relative;width:92%;height:140px;filter:drop-shadow(0 5px 3px #183c4655)}.g4p-objects i{position:absolute;left:var(--x);bottom:var(--y);width:13%;aspect-ratio:1;transform-origin:50% 100%;animation:g4p-place .42s both;animation-delay:calc(var(--token) * 18ms)}
.g4p-objects.kind-leaf i{border-radius:85% 15% 85% 15%;background:#5cae65;transform:rotate(calc(-36deg + (var(--token) % 5) * 18deg));box-shadow:inset -2px -2px #2f785033}.g4p-objects.kind-leaf i:nth-child(3n){background:#8bc96b}.g4p-objects.kind-crate i{width:16%;border:1px solid #7a491e;border-radius:2px;background:linear-gradient(135deg,#dc9850,#a9652e);box-shadow:inset 0 0 0 2px #f2bf7844}.g4p-objects.kind-cookie i{width:15%;border:1px solid #8b4b25;border-radius:50%;background:radial-gradient(circle at 35% 35%,#6a351d 0 7%,transparent 8%),radial-gradient(circle at 65% 60%,#6a351d 0 6%,transparent 7%),#d99651}.g4p-objects.kind-tile i{width:15%;transform:rotate(45deg);border-radius:3px;background:#18a4a0}.g4p-objects i.is-new{background-color:#ef765a!important;filter:saturate(1.15);animation:g4p-new .65s both}.g4p-objects i.is-removed{opacity:.28;transform:translateY(-35px) rotate(12deg);filter:grayscale(.5)}
.g4p-objects.kind-leaf i::after{content:"";position:absolute;left:46%;bottom:-8px;width:2px;height:11px;border-radius:99px;background:#3f7f4d;transform-origin:50% 0}
@keyframes g4p-place{from{opacity:0;transform:translateY(-12px) scale(.8)}to{opacity:1}}@keyframes g4p-new{0%{opacity:0;transform:translateY(-22px) scale(.7)}70%{transform:translateY(2px) scale(1.08)}100%{opacity:1}}
.family-harbor .g4p-world-row{bottom:9%;height:59%}.family-harbor .g4p-world-row>section{padding-bottom:9%}.family-bakery .g4p-world-row{bottom:8%;height:53%}.family-bakery .g4p-world-row>section{padding-bottom:10%}.family-mosaic .g4p-world-row{bottom:8%;height:50%}
.family-greenhouse .g4p-world-row .g4p-objects{transform:translateY(-50px)}.family-harbor .g4p-world-row .g4p-objects{transform:translateY(-38px)}.family-bakery .g4p-world-row .g4p-objects{transform:translateY(-56px)}
.g4p-number-strip{position:absolute;left:7%;right:7%;top:29%;display:flex;align-items:center;justify-content:center;gap:5px}.g4p-number-strip>span{display:flex;align-items:center;gap:5px}.g4p-number-strip b{display:grid;place-items:center;min-width:78px;min-height:62px;padding:4px;border:3px solid #fff;border-radius:17px;background:#fffdf0e9;color:var(--p-ink);font-size:1.18rem;box-shadow:0 8px 17px #183c4642}.g4p-number-strip span.is-hidden b{border-style:dashed;background:#183c46d7;color:#fff}.g4p-number-strip i{padding:4px 7px;border:2px solid #fff;border-radius:99px;background:var(--p-gold);color:#503b05;font-size:.6rem;font-style:normal;font-weight:1000;white-space:nowrap}
.g4p-direct-operations{position:absolute;left:25%;right:25%;bottom:15%;display:flex;justify-content:center;gap:10px}.g4p-direct-operations button{min-width:78px;min-height:54px;border:3px solid #fff;border-radius:16px;background:#fffdf0e8;color:var(--p-ink);font:1000 1rem inherit;box-shadow:0 8px 16px #183c4644;cursor:pointer}.g4p-hook-card{position:absolute;inset:18% 22%;display:grid;grid-template-columns:1fr auto 1fr;place-items:center;gap:12px;padding:15px;border:3px solid #fff;border-radius:24px;background:#fffdf0e3;box-shadow:0 10px 22px #183c4640}.g4p-hook-card b{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--p-teal);color:#fff;font-size:1.6rem}.g4p-hook-card span{font-size:.66rem;font-weight:1000;letter-spacing:.13em}.g4p-empty-pots{position:absolute;left:6%;right:6%;bottom:12%;display:grid;grid-template-columns:repeat(4,1fr);gap:6%}.g4p-empty-pots i{height:10px;border-radius:50%;background:#824a2b55;box-shadow:0 8px 8px #183c4648}
.g4p-stage-prompt,.g4p-two-way-proof{position:absolute;left:24%;right:24%;bottom:7%;padding:7px 10px;border:2px solid #fff;border-radius:13px;background:#183c46df;color:#fff;font-size:.64rem;font-weight:900;box-shadow:0 7px 14px #183c4640}.g4p-stage-prompt b{color:#ffcf58}.g4p-two-way-proof{display:flex;left:20%;right:20%;justify-content:center;gap:8px}.g4p-two-way-proof span{padding:4px 7px;border-radius:9px;background:#ffffff1d}
.g4p-compare{position:absolute;inset:12% 7% 12%;display:grid;grid-template-columns:1fr 1fr;gap:4%}.g4p-compare section{position:relative;border:3px solid #fff;border-radius:20px;background:#ffffffc8;box-shadow:0 9px 20px #183c463b}.g4p-compare .g4p-number-strip{left:3%;right:3%;top:28%}.g4p-compare .g4p-number-strip b{min-width:45px;min-height:45px;font-size:.75rem}.g4p-compare .g4p-number-strip i{font-size:.42rem}.g4p-compare section>small{position:absolute;left:0;right:0;bottom:8%;font-size:.48rem;font-weight:1000;color:var(--p-teal)}
.g4p-shape-groups{position:absolute;left:5%;right:5%;top:13%;bottom:10%;display:grid;grid-template-columns:repeat(4,1fr);gap:2%}.g4p-shape-groups section{position:relative;display:grid;place-items:center;align-content:center;gap:3px;min-width:0;border:3px solid #fff;border-radius:18px;background:#fffdf0b8;box-shadow:0 8px 18px #183c463c}.g4p-shape-groups section>div{position:relative;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:4px;width:80%;min-height:62%;padding:4px}.g4p-shape-groups i,.g4p-create-mats i,.g4p-create-bank i{display:inline-block;width:20px;aspect-ratio:1;border:1px solid #116f6e;border-radius:3px;background:#1ba5a2;box-shadow:0 3px 4px #183c4640}.g4p-shape-groups .shape-diamond,.g4p-create-mats .shape-diamond,.g4p-create-bank .shape-diamond{transform:rotate(45deg);margin:3px}.g4p-shape-groups .shape-circle,.g4p-create-mats .shape-circle,.g4p-create-bank .shape-circle{border-radius:50%;background:#e66f52;border-color:#914432}.g4p-shape-groups .shape-triangle,.g4p-build-zone .shape-triangle{width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:20px solid #e7a72c;background:none;box-shadow:none}.g4p-shape-groups section>b{font-size:.82rem}.g4p-shape-groups section>small{font-size:.4rem;font-weight:1000}.g4p-shape-groups section.is-hidden>div>strong{font-size:2rem}.g4p-shape-rule{position:absolute;left:23%;right:23%;bottom:5%;padding:5px;border:2px solid #fff;border-radius:12px;background:#183c46df;color:#fff;font-weight:1000;font-size:.63rem}.g4p-shape-rule i{margin:0 5px;color:#ffcf58;font-style:normal}
.g4p-build-zone{position:absolute;right:4%;bottom:5%;display:flex;align-items:center;gap:5px;padding:5px;border:2px solid #fff;border-radius:13px;background:#183c46dd;color:#fff}.g4p-build-zone button{display:flex;align-items:center;gap:5px;min-height:38px;border:0;border-radius:9px;background:#fff;color:var(--p-ink);font:900 .45rem inherit;cursor:grab}.g4p-build-zone span{font-size:.42rem;font-weight:1000}
.g4p-representation-compare{position:absolute;inset:6% 4% 14%;display:grid;grid-template-rows:1fr 1.18fr;gap:3%}.g4p-representation-compare>section{position:relative;border:3px solid #fff;border-radius:18px;background:#ffffffc8;box-shadow:0 7px 15px #183c4635}.g4p-representation-compare .g4p-number-strip{left:10%;right:10%;top:19%}.g4p-representation-compare .g4p-number-strip b{min-width:48px;min-height:36px;font-size:.68rem}.g4p-representation-compare .g4p-number-strip i{font-size:.38rem}.g4p-representation-compare .g4p-shape-groups{left:8%;right:8%;top:10%;bottom:9%}.g4p-representation-compare .g4p-shape-groups section{border-width:2px}.g4p-representation-compare .g4p-shape-groups section>b,.g4p-representation-compare .g4p-shape-groups section>small{display:none}.g4p-representation-compare>section>b{position:absolute;right:2%;bottom:2%;font-size:.4rem;color:var(--p-teal)}
.g4p-independent-dots{position:absolute;left:40%;right:40%;bottom:8%;display:flex;justify-content:center;gap:7px}.g4p-independent-dots i{width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#183c4677}.g4p-independent-dots i.current{background:var(--p-gold)}.g4p-independent-dots i.done{background:var(--p-teal)}
.g4p-create-config{position:absolute;inset:16% 17%;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:12px;padding:18px;border:3px solid #fff;border-radius:24px;background:#fffdf0dc;box-shadow:0 10px 22px #183c4642}.g4p-create-config>span{grid-column:1/-1;color:var(--p-teal);font-size:.6rem;font-weight:1000;letter-spacing:.12em}.g4p-create-config button{min-height:70px;border:2px solid #8ecbc0;border-radius:16px;background:#fff;color:var(--p-ink);font:1000 .68rem inherit;cursor:pointer}
.g4p-create-mats{position:absolute;left:3%;right:28%;top:27%;bottom:11%;display:grid;grid-template-columns:repeat(4,1fr);gap:2%}.g4p-create-mats section{position:relative;display:grid;align-content:center;justify-items:center;min-width:0;padding:5px;border:3px dashed #fff;border-radius:14px;background:#fffdf0a6}.g4p-create-mats section.active{border-color:var(--p-gold);box-shadow:0 0 0 6px #f0b43c40}.g4p-create-mats section.filled{border-style:solid;border-color:var(--p-teal)}.g4p-create-mats section small{font-size:.33rem;font-weight:1000}.g4p-create-mats section>div{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:2px;min-height:75px}.g4p-create-mats section>b{font-size:.5rem}.g4p-create-rule{position:absolute;right:3%;top:24%;bottom:14%;width:22%;display:grid;align-content:center;gap:9px;padding:7px;border:3px solid #fff;border-radius:16px;background:#183c46dc;color:#fff}.g4p-create-rule span,.g4p-create-rule strong{font-size:.45rem}.g4p-create-rule span b{font-size:1rem}.g4p-create-rule i{padding:5px;border-radius:9px;background:var(--p-gold);color:#513b04;font-size:.55rem;font-style:normal;font-weight:1000}.g4p-create-bank{display:flex;justify-content:center;gap:8px;width:100%}.g4p-create-bank button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:130px;min-height:48px;border:2px solid #8ecbc0;border-radius:14px;background:#fff;color:var(--p-ink);font:1000 .58rem inherit;cursor:pointer}.g4p-create-bank button:first-child{cursor:grab}
.g4p-oral{position:absolute;inset:14% 8%;display:grid;place-items:center;align-content:center;gap:12px;padding:15px;border:3px solid #fff;border-radius:23px;background:#fffdf0dc;box-shadow:0 10px 22px #183c4640}.g4p-oral>span{color:var(--p-teal);font-size:.58rem;font-weight:1000;letter-spacing:.14em}.g4p-oral>div{display:flex;align-items:center;gap:7px}.g4p-oral b{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:var(--p-teal);color:#fff;font-size:1rem}.g4p-oral i{color:var(--p-coral);font:1000 .6rem inherit}.g4p-oral p{margin:0;font-size:.62rem;font-weight:800}.g4p-oral-ready,.g4p-finish{position:absolute;inset:12% 10%;display:grid;place-items:center;align-content:center;gap:10px;padding:16px;border:3px solid #fff;border-radius:24px;background:#fffdf0df;box-shadow:0 11px 24px #183c4640}.g4p-oral-ready>span{font-size:2.4rem}.g4p-oral-ready strong{font-size:.82rem}.g4p-oral-ready p{margin:0;font-size:.6rem}.g4p-oral-ready button{min-height:48px;padding:8px 14px;border:2px solid #fff;border-radius:14px;background:var(--p-teal);color:#fff;font:1000 .65rem inherit;cursor:pointer}.g4p-finish>span{color:var(--p-teal);font-size:.58rem;font-weight:1000;letter-spacing:.15em}.g4p-finish>strong{font-size:1.25rem}.g4p-finish>p{margin:0;max-width:560px;font-size:.62rem;font-weight:850;line-height:1.35}
.g4p-result{position:absolute;left:16%;right:16%;top:24%;display:grid;place-items:center;gap:12px;padding:25px 18px;border:3px solid #fff;border-radius:23px;background:#fffdf0e9;box-shadow:0 11px 24px #183c4640}.g4p-result>span{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--p-teal);color:#fff;font-size:1.9rem;font-weight:1000;box-shadow:0 0 0 8px #087f7836}.g4p-result strong{max-width:520px;font-size:.82rem;line-height:1.3}
.g4p-alternative{position:absolute;z-index:20;left:8%;right:8%;bottom:5%;display:grid;gap:5px;padding:8px 10px;border:3px solid #fff;border-radius:16px;background:#183c46f2;color:#fff;box-shadow:0 10px 22px #183c4660}.g4p-alternative>span{color:#ffcf58;font-size:.45rem;font-weight:1000;letter-spacing:.1em}.g4p-alternative p{margin:0;font-size:.48rem;font-weight:750}.g4p-alternative.number-line>div{display:flex;justify-content:center;gap:7px}.g4p-alternative.number-line i,.g4p-alternative.number-line b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fff;color:var(--p-ink);font-size:.45rem;font-style:normal}.g4p-alternative.operation-lanes>div{display:flex;align-items:center;justify-content:center;gap:7px}.g4p-alternative.operation-lanes b,.g4p-alternative.operation-lanes strong{padding:4px 7px;border-radius:8px;background:#fff;color:var(--p-ink);font-size:.48rem}.g4p-alternative.compare-table>div{display:grid;grid-template-columns:1fr 1fr;gap:3px}.g4p-alternative.compare-table b,.g4p-alternative.compare-table i{padding:3px;border-radius:7px;background:#ffffff18;font-size:.43rem;font-style:normal}.g4p-alternative.concrete>div{height:35px}
.g4p-scene button:hover,.g4p-scene button:focus-visible,.g4p-create-bank button:hover,.g4p-create-bank button:focus-visible{outline:0;border-color:var(--p-gold);box-shadow:0 0 0 6px #f2b63f52,0 9px 19px #183c4648}.g4p-scene button.correct-cell{border-color:#0b967f!important;background:#e1f7f0!important;color:var(--p-ink)!important}.g4p-scene button.wrong-cell{border-color:#d75e5e!important;background:#fff0ee!important;color:#7e3030!important;animation:g4-shake .28s linear}

@media(max-width:620px){
  .grade4-pattern-shell .g4p-scene{height:360px;min-height:360px;max-height:360px;border-radius:20px}.grade4-pattern-shell .g4p-content{gap:4px;padding:7px 5px 8px}.grade4-pattern-shell .g4p-content>.board-kicker{padding:3px 7px;font-size:.5rem}.grade4-pattern-shell .g4p-content>h1{font-size:1rem}.grade4-pattern-shell .g4p-canvas{width:min(100%,342px);border-radius:18px}
  .g4p-world-row{left:1%;right:1%;bottom:12%;height:52%;gap:0}.g4p-world-row>section{padding-bottom:14%}.g4p-world-row>section>b{min-width:27px;padding:2px 3px;font-size:.48rem}.g4p-world-row>section>small{font-size:.27rem}.g4p-change-row{left:4%;right:4%;gap:2%}.g4p-change-row span{padding:2px 3px;font-size:.36rem}.g4p-objects{height:92px}.g4p-objects i{width:15%}.g4p-question-mark{width:42px;height:42px;font-size:1.1rem}
  .family-greenhouse .g4p-world-row .g4p-objects{transform:translateY(-31px)}.family-harbor .g4p-world-row .g4p-objects{transform:translateY(-24px)}.family-bakery .g4p-world-row .g4p-objects{transform:translateY(-36px)}
  .g4p-number-strip{left:2%;right:2%;top:27%;gap:2px}.g4p-number-strip>span{gap:2px}.g4p-number-strip b{min-width:45px;min-height:46px;border-radius:12px;font-size:.72rem}.g4p-number-strip i{padding:3px;font-size:.4rem}.g4p-direct-operations{left:12%;right:12%;bottom:12%}.g4p-direct-operations button{min-width:60px;min-height:44px;font-size:.75rem}.g4p-hook-card{inset:14% 10% 27%}.g4p-hook-card b{width:48px;height:48px}.g4p-hook-card span{font-size:.5rem}.g4p-stage-prompt{left:12%;right:12%;bottom:5%;font-size:.48rem}.g4p-two-way-proof{left:8%;right:8%;font-size:.4rem}
  .g4p-compare{inset:8% 3% 16%;gap:2%}.g4p-compare .g4p-number-strip b{min-width:30px;min-height:38px;font-size:.5rem}.g4p-compare .g4p-number-strip i{font-size:.3rem}.g4p-shape-groups{left:2%;right:2%;top:9%;bottom:12%;gap:1%}.g4p-shape-groups section{border-radius:12px}.g4p-shape-groups section>div{width:90%;gap:2px}.g4p-shape-groups i,.g4p-create-mats i{width:13px}.g4p-shape-groups section>b{font-size:.6rem}.g4p-shape-groups section>small{font-size:.3rem}.g4p-shape-rule{left:15%;right:15%;font-size:.48rem}.g4p-build-zone{right:2%;bottom:3%;max-width:45%}.g4p-build-zone button{padding:3px;font-size:.34rem}.g4p-build-zone span{font-size:.32rem}
  .g4p-representation-compare{inset:3% 2% 15%}.g4p-representation-compare .g4p-number-strip b{min-width:34px}.g4p-create-config{inset:10% 6%;gap:7px;padding:10px}.g4p-create-config button{min-height:54px;font-size:.52rem}.g4p-create-mats{left:2%;right:25%;top:22%;bottom:12%;gap:1%}.g4p-create-mats section{padding:2px}.g4p-create-mats section small{font-size:.23rem}.g4p-create-mats section>div{min-height:60px}.g4p-create-rule{right:2%;top:20%;bottom:13%;width:20%;padding:4px}.g4p-create-rule span,.g4p-create-rule strong{font-size:.32rem}.g4p-create-rule i{font-size:.4rem}.g4p-create-bank button{min-width:105px;min-height:44px;font-size:.48rem}
  .g4p-oral{inset:8% 4% 14%;padding:8px}.g4p-oral b{width:40px;height:40px;font-size:.72rem}.g4p-oral i{font-size:.42rem}.g4p-oral p{font-size:.46rem}.g4p-oral-ready,.g4p-finish{inset:7% 4%;padding:8px}.g4p-oral-ready strong{font-size:.62rem}.g4p-oral-ready p,.g4p-finish>p{font-size:.45rem}.g4p-finish>strong{font-size:.82rem}.g4p-result{left:6%;right:6%;top:16%;padding:14px 7px}.g4p-result>span{width:48px;height:48px;font-size:1.4rem}.g4p-result strong{font-size:.62rem}.g4p-alternative{left:3%;right:3%;bottom:2%;padding:5px}.g4p-alternative p{font-size:.38rem}
  .grade4-pattern-shell .lesson-footer:has(.g4p-create-bank),.grade4-pattern-shell .lesson-footer:has(.g4p-create-bank) .theme4-final-footer-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;max-height:none!important}.g4p-create-bank{grid-column:1/-1}
}
@media(max-width:390px){.grade4-pattern-shell .g4p-canvas{width:328px}.g4p-number-strip b{min-width:42px}.g4p-create-mats section>div{min-height:54px}.g4p-create-mats i{width:11px}}
@media(max-height:760px) and (min-width:621px){.grade4-pattern-shell .teacher-classroom{padding-top:20px;padding-bottom:15px}.grade4-pattern-shell .g4p-scene{min-height:400px}.grade4-pattern-shell .g4p-content{padding-top:8px;gap:4px}.grade4-pattern-shell .g4p-canvas{width:min(100%,640px)}}
@media(prefers-reduced-motion:reduce){.g4p-objects i{animation:none}.g4p-canvas{transition:none}}
.g4p-create-mats i{width:14px}
.g4p-create-mats section small{font-size:.4rem;line-height:1.05}
@media(max-width:620px){.g4p-create-mats i{width:11px}.g4p-create-mats section small{font-size:.3rem}}

/* MAT.4.1.6 dar ders sütunu düzeltmeleri */
.g4f-hook>div{grid-template-columns:repeat(2,minmax(0,1fr))}
.g4f-plates{grid-template-columns:repeat(var(--plates),minmax(0,1fr));gap:12px}
.g4f-number-line button{width:48px}
@media(max-width:720px){.g4f-plates{grid-template-columns:repeat(var(--plates),minmax(0,1fr))}.g4f-number-line button{width:44px}}

/* MAT.4.1.7 · Denk kesirleri temsil etme */
.grade4-equivalent-shell .topic-board-wrap{background:#e9f6f2}
.grade4-equivalent-board{padding:0;overflow:hidden}
.g4e-scene{position:relative;min-height:100%;padding:20px;color:#183b46;isolation:isolate;overflow:hidden}
.g4e-ambient{position:absolute;inset:-24px;background:linear-gradient(145deg,rgba(225,246,241,.78),rgba(255,245,211,.7)),var(--g4e-image) center/cover;filter:blur(22px) saturate(.76);opacity:.6;z-index:-2}
.g4e-content{position:relative;z-index:2;max-width:1120px;margin:auto}
.g4e-content>h1{max-width:820px;margin:5px 0 13px;font-size:clamp(1.35rem,2.9vw,2.35rem);line-height:1.05}
.g4e-canvas{position:relative;width:100%;aspect-ratio:1536/900;container-type:inline-size;border:2px solid rgba(255,255,255,.82);border-radius:32px;overflow:hidden;background:#dceee9;box-shadow:0 24px 54px rgba(28,58,62,.22)}
.g4e-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.g4e-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:28px;z-index:2}
.g4e-focus{outline:6px solid rgba(255,197,61,.85);outline-offset:-7px}
.g4e-strip{display:grid;gap:6px;width:min(760px,94%);filter:drop-shadow(0 8px 8px rgba(35,47,45,.2))}
.g4e-strip>div{display:grid;grid-template-columns:repeat(var(--g4e-den),minmax(0,1fr));height:72px;border:4px solid #245e68;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.94)}
.g4e-strip i{border-right:2px solid #245e68;background:rgba(249,253,250,.92)}
.g4e-strip i:last-child{border-right:0}
.g4e-strip i.filled{background:linear-gradient(145deg,#39bfc0,#147a8a)}
.g4e-strip>strong{justify-self:center;padding:4px 10px;border-radius:10px;background:rgba(255,255,255,.94);font-size:1.08rem}
.g4e-hook{position:relative;display:grid;gap:28px;width:min(850px,82%);padding:18px}
.family-ribbon .g4e-hook{position:absolute;left:13%;right:13%;top:43%;width:auto;padding:0;gap:5.7%}
.family-ribbon .g4e-hook .g4e-strip{position:relative;width:100%}
.family-ribbon .g4e-hook .g4e-strip>div{height:clamp(30px,4.5cqw,50px);border-radius:14px;border-width:3px}
.family-ribbon .g4e-hook .g4e-strip>strong{position:absolute;right:8px;top:50%;translate:0 -50%;z-index:3}
.g4e-common-boundary{position:absolute;left:50%;top:-8%;bottom:-8%;width:4px;background:#ef6b3d;border-radius:4px;filter:drop-shadow(0 0 5px white)}
.g4e-common-boundary span{position:absolute;right:10px;top:0;width:max-content;padding:4px 8px;border-radius:8px;background:#fff4c7;color:#8b3b23;font-size:.72rem;font-weight:950}
.g4e-fair-start{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:min(900px,95%);padding:20px;border-radius:26px;background:rgba(255,255,255,.92);box-shadow:0 18px 42px rgba(28,65,66,.2)}
.g4e-fair-start section{position:relative;display:grid;align-content:center;gap:10px;min-height:230px;padding:14px;border:3px solid #c8dcd7;border-radius:20px;background:#f7fcfa;text-align:center}
.g4e-fair-start section>b{position:absolute;left:10px;top:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#1d7480;color:#fff}
.g4e-fair-start .g4e-strip{width:100%}.g4e-fair-start .g4e-strip>div{height:58px}
.g4e-unequal-wholes{display:grid;grid-template-columns:1fr .72fr;align-items:end;gap:9px}.g4e-unequal-wholes i{height:90px;border:3px solid #a65b4b;background:#f0b06a}.g4e-unequal-wholes i:last-child{height:65px}
.g4e-unequal-parts{display:grid;grid-template-columns:1fr 2fr 3fr;height:82px;border:3px solid #a65b4b}.g4e-unequal-parts i{border-right:2px solid #a65b4b;background:#f0b06a}.g4e-unequal-parts i:last-child{border:0}
.g4e-fold-work{position:absolute;left:17%;right:17%;top:28%;display:grid;gap:8px;perspective:1200px}
.g4e-paper{position:relative;height:clamp(125px,15cqw,170px);border:3px solid #d6d1c2;border-radius:7px;background:linear-gradient(150deg,#fffdf5,#ede8d8);box-shadow:0 14px 20px rgba(29,56,51,.28);transform-style:preserve-3d;overflow:visible}
.g4e-paper-fill{position:absolute;inset:0 50% 0 0;background:linear-gradient(145deg,rgba(51,190,190,.92),rgba(23,121,140,.93));border-radius:5px 0 0 5px}
.g4e-crease{position:absolute;left:var(--g4e-crease);top:0;bottom:0;width:2px;background:repeating-linear-gradient(to bottom,#4e6966 0 6px,transparent 6px 12px);translate:-50% 0;z-index:4}
.g4e-crease.new{opacity:0}.g4e-crease.old{opacity:.68}
.g4e-fold-flap{position:absolute;left:var(--g4e-left);top:0;width:var(--g4e-width);height:100%;transform-origin:left center;background:linear-gradient(145deg,rgba(255,253,245,.98),rgba(222,218,203,.98));border-left:1px solid rgba(65,87,83,.25);z-index:5;backface-visibility:visible;opacity:0}
.g4e-fold-flap.filled{background:linear-gradient(145deg,rgba(47,181,183,.96),rgba(20,113,132,.96))}
.g4e-press-line{position:absolute;left:0;top:50%;width:100%;height:8px;border-radius:8px;background:rgba(255,203,80,.88);opacity:0;z-index:8;box-shadow:0 4px 10px rgba(78,53,12,.25)}
.g4e-fold-labels{display:flex;justify-content:center;align-items:center;gap:12px}.g4e-fold-labels span,.g4e-fold-labels b{padding:7px 12px;border-radius:12px;background:rgba(255,255,255,.94)}.g4e-fold-labels span{font-size:1.45rem;font-weight:950;color:#0d7682}.g4e-fold-labels b{font-size:.8rem}
.g4e-fold-work.folding .g4e-fold-flap{opacity:1;animation:g4e-fold-flap 2.25s ease-in-out forwards}.g4e-fold-work.folding .g4e-press-line{animation:g4e-press 2.25s ease-in-out forwards}.g4e-fold-work.folding .g4e-crease.new{animation:g4e-crease-show 2.25s ease-in-out forwards}.g4e-fold-work.done .g4e-fold-flap{opacity:0}.g4e-fold-work.done .g4e-crease.new{opacity:.9}
@keyframes g4e-fold-flap{0%,8%{transform:translateX(0) scaleX(1) rotateY(0);filter:brightness(1)}35%,54%{transform:translateX(-100%) scaleX(-1) rotateY(-10deg);filter:brightness(.9);box-shadow:-12px 0 14px rgba(24,45,43,.34)}82%,100%{transform:translateX(0) scaleX(1) rotateY(0);filter:brightness(1);opacity:0}}
@keyframes g4e-press{0%,39%{opacity:0;translate:0 -80px}48%{opacity:1;translate:0 0}62%{opacity:.9;translate:0 45px}72%,100%{opacity:0;translate:0 70px}}
@keyframes g4e-crease-show{0%,64%{opacity:0}78%,100%{opacity:.9}}
.g4e-align-task,.g4e-nonexample,.g4e-independent,.g4e-oral,.g4e-create-start,.g4e-result,.g4e-finish,.g4e-oral-ready{display:grid;justify-items:center;gap:16px;width:min(820px,94%);padding:24px;border-radius:26px;background:rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(24,59,61,.22);text-align:center}
.g4e-align-mark{position:absolute;left:33.333%;top:8%;bottom:8%;width:4px;background:#ef6a3e;border-radius:4px}.g4e-align-task{position:relative}.g4e-align-task .g4e-strip{width:100%}
.g4e-market-task{position:absolute;inset:0}
.g4e-market-task>section{position:absolute;top:59%;width:33%;height:22%;display:grid;align-items:center}.g4e-market-task>section:first-child{left:13%}.g4e-market-task>section:nth-child(2){right:13%}
.g4e-market-task>section>span{position:absolute;left:50%;top:-28px;translate:-50% 0;padding:4px 8px;border-radius:8px;background:rgba(255,255,255,.92);font-size:.68rem;font-weight:950}
.g4e-market-task .g4e-strip{width:91%;place-self:center}.g4e-market-task .g4e-strip>div{height:clamp(42px,9cqw,106px);border-radius:50%;border-color:#7b4a20;box-shadow:inset 0 6px 8px rgba(255,255,255,.28);transform:perspective(500px) rotateX(10deg)}.g4e-market-task .g4e-strip i{border-color:#7b4a20}.g4e-market-task .g4e-strip>strong{font-size:.9rem}
.g4e-block-source{position:absolute;left:50%;top:23%;translate:-50% 0;display:flex;align-items:center;gap:10px;padding:8px;border-radius:16px;background:rgba(255,255,255,.9)}
.g4e-block-source button{min-height:44px;border:2px solid #996033;border-radius:13px;background:#fff8db;font-weight:900}.g4e-block-source [data-g4e-add-block]{display:flex;align-items:center;gap:8px;padding:6px 12px;cursor:grab}.g4e-block-source [data-g4e-add-block] i{width:48px;height:38px;border-radius:8px;background:linear-gradient(145deg,#36bdbe,#177b8a);box-shadow:0 5px 7px rgba(30,62,61,.25)}
.g4e-ribbon-task{position:absolute;left:13%;right:13%;top:45%;display:grid;gap:8%;height:31%}.g4e-ribbon-task>.g4e-strip{width:100%}.g4e-ribbon-task>.g4e-strip>div{height:clamp(44px,5cqw,54px);border-radius:14px}.g4e-build-strip{display:grid;grid-template-columns:repeat(var(--g4e-den),1fr);height:clamp(44px,5cqw,54px);border:4px solid #245e68;border-radius:14px;overflow:hidden;background:#fff}.g4e-build-strip button{min-width:44px;min-height:44px;border:0;border-right:2px solid #245e68;background:rgba(255,255,255,.85)}.g4e-build-strip button:last-child{border:0}.g4e-build-strip button.filled{background:linear-gradient(145deg,#39bfc0,#147a8a)}.g4e-ribbon-task>strong{justify-self:center;padding:5px 9px;border-radius:9px;background:#fff}
.g4e-split-task,.g4e-create-task{display:grid;justify-items:center;gap:15px;width:min(850px,94%);padding:24px;border-radius:26px;background:rgba(255,255,255,.93);box-shadow:0 18px 44px rgba(26,62,61,.2)}
.g4e-split-before,.g4e-split-after{width:100%;display:grid;place-items:center}.g4e-split-after{opacity:.32;clip-path:inset(0 calc(100% - var(--g4e-reveal,0%)) 0 0);transition:clip-path .2s}.g4e-split-after.revealed{opacity:1;clip-path:none}.g4e-split-task label,.g4e-create-task label{display:grid;gap:7px;width:min(620px,92%);font-weight:950}.g4e-split-task input,.g4e-create-task input{width:100%;height:44px;accent-color:#148c95}
.g4e-number-line{position:relative;width:min(900px,92%);height:110px;margin:auto}.g4e-line-rail{position:absolute;left:5%;right:5%;top:47%;height:7px;border-radius:8px;background:#fff4ca;box-shadow:0 2px 0 #6f4c2b,0 4px 9px rgba(64,42,21,.32)}
.g4e-number-line button{position:absolute;left:calc(5% + var(--g4e-point) * 90% / var(--g4e-den));top:24%;translate:-50% 0;width:48px;height:72px;border:0;background:transparent}.g4e-number-line button i{display:block;width:5px;height:38px;margin:auto;background:#6f4c2b;border-radius:4px}.g4e-number-line button span{display:block;font-weight:950;color:#183b46;text-shadow:0 1px 2px white}.g4e-number-line button.active i,.g4e-number-line button:not(:disabled):hover i{background:#ed643e;transform:scale(1.3)}
.g4e-line-demo,.g4e-line-place{position:absolute;left:8%;right:8%;top:20%;display:grid;gap:5px;padding:14px;border-radius:22px;background:rgba(255,255,255,.48)}.g4e-line-demo>div{display:grid;grid-template-columns:70px 1fr;align-items:center}.g4e-line-demo>div>b{justify-self:center;padding:5px 8px;border-radius:8px;background:#fff}.g4e-line-demo .g4e-number-line{height:clamp(44px,6cqw,70px)}.g4e-line-demo .g4e-number-line button{top:4%;height:44px}.g4e-same-point{position:absolute;left:50%;top:-14px;translate:-50% 0;padding:5px 9px;border-radius:10px;background:#ed643e;color:#fff;font-weight:950}.g4e-line-place{top:38%;background:rgba(255,255,255,.72);text-align:center}.family-rope .g4e-line-place{top:7%}.g4e-marker-pair{display:flex;justify-content:center;gap:7px}.g4e-marker-pair span{padding:5px 9px;border-radius:9px;background:#ed643e;color:#fff;font-weight:950}
.g4e-end-rays{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%}.g4e-end-rays i{height:4px;background:linear-gradient(90deg,#167f8b 50%,#ef6b3d 50%)}
.g4e-context-card{display:grid;gap:18px;width:min(760px,94%);padding:28px;border-radius:26px;background:rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(26,62,61,.2);text-align:center}.g4e-context-card>span,.g4e-independent>span{padding:6px 10px;border-radius:10px;background:#167f8b;color:#fff;font-weight:950}.g4e-context-card h2{font-size:1.45rem}
.g4e-independent .g4e-strip,.g4e-oral .g4e-strip{width:100%}.g4e-create-pair{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%}.g4e-create-pair .g4e-strip{width:100%}.g4e-create-pair .ghost{opacity:.25}.g4e-create-pair .revealed{opacity:1}.g4e-create-task>button{min-height:44px;padding:8px 13px;border:2px solid #3c7377;border-radius:12px;background:#fff}
.g4e-alternative{position:absolute;right:18px;bottom:16px;width:min(430px,82%);padding:14px;border:3px solid #f0b941;border-radius:20px;background:#fff9d9;box-shadow:0 12px 32px rgba(55,42,20,.25);z-index:8}.g4e-alternative>span{font-weight:950;color:#8f4a24}.g4e-alternative .g4e-strip{width:100%;gap:2px;margin:7px 0}.g4e-alternative .g4e-strip>div{height:36px;border-width:2px;border-radius:8px}.g4e-alternative .g4e-strip>strong{display:none}.g4e-clear-overlay{display:grid;grid-template-columns:repeat(4,1fr);height:48px;margin:8px 0;border:3px solid #27707a;background:rgba(53,187,190,.22)}.g4e-clear-overlay i{border-right:2px dashed #27707a}.g4e-clear-overlay i:last-child{border:0}.g4e-checks{display:flex;gap:6px;margin:8px 0}.g4e-checks b{flex:1;padding:6px;border-radius:8px;background:#dcefeb;font-size:.75rem}
.g4e-result>span,.g4e-oral-ready>span{font-size:4rem}.g4e-result>strong{font-size:1.3rem}.g4e-finish>span{padding:8px 12px;border-radius:12px;background:#167f8b;color:#fff;font-weight:950}.g4e-finish>strong{font-size:1.7rem}.g4e-oral-ready button{min-height:48px;padding:10px 17px;border:0;border-radius:15px;background:#ed643e;color:#fff;font-weight:950}.g4e-fold-button{min-height:48px}

@media(max-width:720px){
  .g4e-scene{padding:10px}.g4e-content>h1{margin-bottom:8px;font-size:1.22rem}.g4e-canvas{min-height:420px;aspect-ratio:auto;border-radius:22px}.g4e-overlay{padding:10px}.g4e-strip>div{height:54px;border-width:3px}.g4e-strip>strong{font-size:.9rem}
  .g4e-fair-start{grid-template-columns:1fr;gap:8px;padding:10px}.g4e-fair-start section{min-height:105px}.g4e-fair-start section:nth-child(n+2){grid-template-columns:1fr 1fr;align-items:center}.g4e-unequal-wholes i{height:55px}.g4e-unequal-wholes i:last-child{height:40px}.g4e-unequal-parts{height:55px}
  .g4e-fold-work{left:6%;right:6%;top:47%}.g4e-paper{height:125px}.g4e-fold-labels{flex-wrap:wrap;gap:5px}.g4e-fold-labels b{font-size:.65rem}
  .family-ribbon .g4e-canvas,.family-market .g4e-canvas,.family-rope .g4e-canvas{min-height:0;aspect-ratio:4/3}.family-market .g4e-canvas{aspect-ratio:1536/900}.family-market .g4e-background{object-fit:cover}
  .family-ribbon .g4e-hook{left:8%;right:8%;top:43%;gap:5.8%}.family-ribbon .g4e-hook .g4e-strip>div{height:30px;border-width:2px}.family-ribbon .g4e-hook .g4e-strip>strong{display:block;right:4px;padding:2px 5px;font-size:.62rem}.g4e-common-boundary span{display:none}
  .g4e-market-task>section{top:59%;height:23%;width:34%}.g4e-market-task>section:first-child{left:12%}.g4e-market-task>section:nth-child(2){right:12%}.g4e-market-task .g4e-strip>div{height:42px;border-width:2px}.g4e-market-task .g4e-strip>strong{font-size:.65rem;padding:1px 4px}.g4e-market-task>section>span{top:-19px;font-size:.5rem}.g4e-block-source{top:20%;gap:4px;padding:4px}.g4e-block-source button{min-height:44px;font-size:.58rem}.g4e-block-source [data-g4e-add-block] i{width:32px;height:27px}.g4e-block-source [data-g4e-add-block] b{max-width:70px}
  .g4e-ribbon-task{left:8%;right:8%;top:40%;height:46%;gap:4%}.g4e-ribbon-task>.g4e-strip>div,.g4e-build-strip{height:44px;border-width:2px}.g4e-ribbon-task>.g4e-strip>strong{display:none}.g4e-build-strip button{min-width:44px;min-height:44px}.g4e-ribbon-task>strong{font-size:.65rem}
  .g4e-line-demo,.g4e-line-place{left:3%;right:3%;top:25%;padding:6px}.g4e-line-demo>div{grid-template-columns:45px 1fr}.g4e-line-demo .g4e-number-line{height:50px}.g4e-line-demo .g4e-number-line button{height:48px}.g4e-number-line{height:92px;width:96%}.g4e-number-line button{width:44px}.g4e-line-place{top:29%}.family-rope .g4e-line-place{top:15%}.g4e-line-place p{font-size:.72rem}
  .g4e-align-task,.g4e-nonexample,.g4e-independent,.g4e-oral,.g4e-create-start,.g4e-result,.g4e-finish,.g4e-oral-ready,.g4e-split-task,.g4e-create-task,.g4e-context-card{padding:13px;gap:9px}.g4e-create-pair{grid-template-columns:1fr}.g4e-create-pair>span{rotate:90deg}.g4e-alternative{right:6px;bottom:6px;width:88%;padding:8px}.g4e-alternative p{font-size:.72rem;margin:4px 0}.g4e-checks{flex-direction:column}
}
@media(max-width:390px){.g4e-scene{padding:7px}.g4e-content>h1{font-size:1.08rem}.g4e-market-task .g4e-strip>div{height:36px}.g4e-number-line button{width:44px}.g4e-fair-start section{min-height:96px}}
@media(prefers-reduced-motion:reduce){.g4e-fold-work.folding .g4e-fold-flap,.g4e-fold-work.folding .g4e-press-line,.g4e-fold-work.folding .g4e-crease.new{animation-duration:.01ms}.g4e-split-after{transition:none}}

/* MAT.4.1.8 · Birim kesirleri karşılaştırma */
.grade4-unit-shell .topic-board-wrap{background:#eef7f0}
.grade4-unit-board{padding:0;overflow:hidden}
.g4u-scene{position:relative;min-height:100%;padding:20px;color:#173b42;isolation:isolate;overflow:hidden}
.g4u-ambient{position:absolute;inset:-28px;background:linear-gradient(145deg,rgba(229,247,241,.78),rgba(255,244,208,.66)),var(--g4u-image) center/cover;filter:blur(24px) saturate(.72);opacity:.62;z-index:-2}
.g4u-content{position:relative;z-index:2;max-width:1120px;margin:auto}
.g4u-content>h1{max-width:860px;margin:5px 0 13px;font-size:clamp(1.35rem,2.9vw,2.35rem);line-height:1.05}
.g4u-canvas{position:relative;width:100%;aspect-ratio:16/9;container-type:inline-size;border:2px solid rgba(255,255,255,.84);border-radius:32px;overflow:hidden;background:#e8efe6;box-shadow:0 24px 54px rgba(32,57,48,.23)}
.g4u-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.g4u-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:2.2cqw;z-index:2}
.g4u-focus{outline:6px solid rgba(255,194,54,.9);outline-offset:-7px}
.g4u-strip{display:grid;gap:.5cqw;width:min(760px,94%);filter:drop-shadow(0 .7cqw .65cqw rgba(35,48,39,.2))}
.g4u-strip>div{position:relative;display:grid;grid-template-columns:repeat(var(--g4u-den),minmax(0,1fr));height:6.2cqw;min-height:34px;border:.34cqw solid #296c72;border-radius:1.25cqw;overflow:hidden;background:rgba(255,255,255,.95)}
.g4u-strip i,.g4u-strip [data-g4u-unit]{min-width:0;border:0;border-right:2px solid #296c72;background:rgba(251,255,251,.94)}
.g4u-strip i:last-child,.g4u-strip [data-g4u-unit]:last-child{border-right:0}
.g4u-strip i.filled,.g4u-strip [data-g4u-unit].filled{background:linear-gradient(145deg,#35bdba,#147b8a);box-shadow:inset 0 .35cqw .4cqw rgba(255,255,255,.25)}
.g4u-strip .g4u-unit-hit{position:absolute;left:0;top:50%;translate:0 -50%;z-index:3;width:44px;min-width:44px;height:44px;min-height:44px;border:0;background:transparent;cursor:pointer}
.g4u-strip>strong{justify-self:center;padding:.35cqw .75cqw;border-radius:.7cqw;background:rgba(255,255,255,.96);font-size:clamp(.72rem,1.45cqw,1.05rem)}
.g4u-hook{position:absolute;left:9%;right:9%;top:33%;bottom:8%;display:grid;align-content:center;gap:4.4%;padding:1% 4%}
.g4u-hook .g4u-strip{width:100%}.g4u-hook .g4u-strip>div{height:4.4cqw;min-height:26px}
.g4u-size-arrows{display:flex;justify-content:center;align-items:center;gap:1.2cqw;padding:.4cqw;border-radius:1cqw;background:rgba(255,255,255,.9);font-size:clamp(.46rem,1.05cqw,.82rem);font-weight:950}.g4u-size-arrows i{font-size:1.5em;color:#e6633b}
.g4u-build-unit{position:absolute;left:14%;right:14%;top:38%;display:grid;justify-items:center;gap:1.1cqw;padding:1.6cqw;border-radius:1.8cqw;background:rgba(255,255,255,.93);box-shadow:0 1.5cqw 3cqw rgba(42,59,49,.22)}
.g4u-build-unit>div{display:grid;grid-template-columns:repeat(6,1fr);width:100%;height:8cqw;min-height:74px;border:.36cqw solid #8b5d3e;border-radius:1.3cqw;overflow:hidden;background:#f8e1b5}
.g4u-build-unit>div.g4u-whole-slab{display:block;background:linear-gradient(145deg,#f8e1b5,#e7bd7a);box-shadow:inset 0 0 0 .35cqw rgba(255,255,255,.35)}
.g4u-build-unit .g4u-divide-button{min-width:190px;min-height:48px;padding:.65cqw 1.2cqw;border:0;border-radius:1cqw;background:#167f82;color:#fff;font-weight:950;box-shadow:0 .7cqw 1.2cqw rgba(24,91,91,.22)}
.g4u-build-unit button{min-width:44px;min-height:44px;border:0;border-right:2px solid #8b5d3e;background:rgba(255,247,219,.78)}.g4u-build-unit button:last-child{border:0}.g4u-build-unit button.filled{background:linear-gradient(145deg,#35bdba,#147b8a)}
.g4u-build-unit strong{font-size:clamp(.72rem,1.7cqw,1.2rem)}.g4u-build-unit p{margin:0;font-weight:850}
.g4u-fair-start{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1cqw;width:min(920px,96%);padding:1.4cqw;border-radius:2cqw;background:rgba(255,255,255,.94);box-shadow:0 1.5cqw 3.4cqw rgba(38,62,51,.2)}
.g4u-fair-start section{position:relative;display:grid;align-content:center;gap:.7cqw;min-height:17cqw;padding:1cqw;border:3px solid #cadbd1;border-radius:1.4cqw;background:#f8fcf8;text-align:center}.g4u-fair-start section>b{position:absolute;left:.7cqw;top:.7cqw;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#1d7a82;color:#fff}.g4u-fair-start .g4u-strip{width:100%}.g4u-fair-start .g4u-strip>div{height:4.2cqw;min-height:34px}.g4u-fair-start section>span{font-size:clamp(.5rem,1cqw,.76rem);font-weight:850}
.g4u-different-wholes{display:grid;grid-template-columns:1fr .7fr;align-items:end;gap:.7cqw}.g4u-different-wholes i{height:7cqw;border:3px solid #a65c49;background:#f1b36d}.g4u-different-wholes i:last-child{height:4.8cqw}
.g4u-unequal-parts{display:grid;grid-template-columns:1fr 2fr 3fr;height:6.4cqw;border:3px solid #a65c49}.g4u-unequal-parts i{border-right:2px solid #a65c49;background:#f1b36d}.g4u-unequal-parts i:last-child{border:0}
.g4u-teacher-model,.g4u-direct-overlay,.g4u-textile-compare,.g4u-den-slider,.g4u-result,.g4u-context,.g4u-independent,.g4u-create-pick,.g4u-create-model,.g4u-oral,.g4u-oral-ready,.g4u-finish{display:grid;justify-items:center;gap:1.1cqw;width:min(850px,94%);padding:1.7cqw;border-radius:2cqw;background:rgba(255,255,255,.94);box-shadow:0 1.5cqw 3.5cqw rgba(34,60,51,.22);text-align:center}
.g4u-teacher-model>div{position:relative;width:100%;display:grid;place-items:center}.g4u-teacher-model .g4u-strip{width:100%}.g4u-teacher-model>strong{display:flex;align-items:center;gap:1cqw;font-size:clamp(1.05rem,2.5cqw,1.9rem)}.g4u-teacher-model>strong b{padding:.35cqw .75cqw;border-radius:.7cqw;background:#e7f7f1}.g4u-teacher-model>strong i{color:#e56138;font-size:1.35em}.g4u-teacher-model p{margin:0;font-weight:800}.g4u-drop-shadow{position:absolute;left:0;top:0;width:33.333%;height:6.2cqw;border-right:4px solid #e46038;background:rgba(39,180,180,.18);pointer-events:none}.g4u-drop-shadow.short{width:16.666%}
.g4u-direct-overlay{position:absolute;left:13%;right:13%;top:36%;width:auto}.g4u-direct-overlay>div{display:grid;gap:1.3cqw;width:100%}.g4u-direct-overlay .g4u-strip{width:100%}.g4u-common-start{position:absolute;left:1.8cqw;top:11%;bottom:25%;width:4px;background:#e7623b;color:transparent}.g4u-direct-overlay p,.g4u-textile-compare p{margin:0;font-weight:850}
.g4u-textile-compare{position:absolute;left:14%;right:9%;top:40%;width:auto;padding:1cqw 2cqw;gap:1.2cqw;background:rgba(255,255,255,.82)}.g4u-textile-compare .g4u-strip{width:100%}.g4u-textile-compare .g4u-strip>div{height:4.2cqw;min-height:32px}.g4u-textile-compare p{display:none}.g4u-baseline{position:absolute;left:2cqw;top:10%;bottom:10%;width:4px;background:#eb663b;border-radius:4px}
.g4u-order{position:absolute;left:10%;right:8%;top:34%;display:grid;gap:1cqw;padding:1.2cqw;border-radius:1.7cqw;background:rgba(255,255,255,.88)}
.g4u-order-bank{display:grid;grid-template-columns:repeat(3,1fr);gap:.8cqw}.g4u-order-bank>button{min-width:44px;min-height:64px;padding:.5cqw;border:3px solid #c4d9d1;border-radius:1.1cqw;background:#fff}.g4u-order-bank>button.placed{opacity:.3}.g4u-order-bank .g4u-strip{width:100%}.g4u-order-bank .g4u-strip>div{height:3.8cqw;min-height:30px;border-width:2px}.g4u-order-slots{display:flex;justify-content:center;align-items:center;gap:.7cqw}.g4u-order-slots span{display:grid;place-items:center;min-width:7.5cqw;min-height:44px;padding:.5cqw;border:2px dashed #27747a;border-radius:.8cqw;background:#f5fcf9;font-weight:950}.g4u-order-slots span.filled{border-style:solid;background:#d9f2ea}.g4u-order>p{margin:0;font-weight:850}
.g4u-den-slider .g4u-strip{width:100%}.g4u-den-slider label{display:grid;gap:.6cqw;width:90%;font-weight:950}.g4u-den-slider input{width:100%;height:44px;accent-color:#148b91}.g4u-den-slider p{margin:0;font-weight:800}
.g4u-symbol-demo,.g4u-symbol-task{position:absolute;left:7%;right:7%;top:35%;display:grid;grid-template-columns:1fr 15% 1fr;align-items:center;gap:1.2cqw;padding:1.4cqw;border-radius:1.8cqw;background:rgba(255,255,255,.9);box-shadow:0 1.4cqw 3cqw rgba(35,51,44,.2)}.g4u-symbol-demo section,.g4u-symbol-task section{display:grid;justify-items:center;gap:.7cqw}.g4u-symbol-demo .g4u-strip,.g4u-symbol-task .g4u-strip{width:100%}.g4u-symbol-demo .g4u-strip>div,.g4u-symbol-task .g4u-strip>div{height:5cqw;min-height:38px}.g4u-symbol-demo>p,.g4u-symbol-task>p{grid-column:1/-1;margin:0;text-align:center;font-weight:850}.g4u-rods{position:relative;display:grid;place-items:center;height:9cqw;min-height:75px}.g4u-rods i{position:absolute;right:0;top:50%;width:8cqw;height:.75cqw;border-radius:1cqw;background:#e15f39;transform-origin:right center}.g4u-rods i:first-child{rotate:-25deg}.g4u-rods i:nth-child(2){rotate:25deg}.g4u-rods b{display:none}.g4u-pivot{display:grid;place-items:center;width:64px;height:64px;justify-self:center;border-radius:50%;background:#fff0b5;border:4px solid #d99c2d;font-size:2rem;font-weight:950}.g4u-symbol-task section>b{padding:.3cqw .7cqw;border-radius:.7cqw;background:#e7f6f0}
.g4u-number-line{position:relative;width:100%;height:7.2cqw;min-height:72px}.g4u-line-rail{position:absolute;left:5%;right:5%;top:46%;height:7px;border-radius:8px;background:#fff1bd;box-shadow:0 2px 0 #6f4c2b,0 4px 9px rgba(64,42,21,.3)}.g4u-number-line button{position:absolute;left:calc(5% + var(--g4u-point) * 90% / var(--g4u-den));top:12%;translate:-50% 0;width:48px;height:64px;border:0;background:transparent}.g4u-number-line button i{display:block;width:5px;height:35px;margin:auto;background:#6f4c2b;border-radius:4px}.g4u-number-line button span{display:block;font-weight:950;color:#173b42;text-shadow:0 1px 2px white}.g4u-number-line button.active i{background:#e75f38;transform:scale(1.2)}
.g4u-line-demo,.g4u-line-task{position:absolute;left:9%;right:9%;top:26%;display:grid;gap:.7cqw;padding:1.3cqw;border-radius:1.8cqw;background:rgba(255,255,255,.82)}.g4u-line-demo section,.g4u-line-task section{display:grid;grid-template-columns:8cqw 1fr;align-items:center}.g4u-line-demo section>b,.g4u-line-task section>b{justify-self:center;padding:.35cqw .7cqw;border-radius:.7cqw;background:#fff;font-size:clamp(.7rem,1.5cqw,1.1rem)}.g4u-line-demo>span{position:absolute;left:50%;top:-1cqw;translate:-50% 0;padding:.4cqw .8cqw;border-radius:.7cqw;background:#e55f38;color:#fff;font-size:clamp(.45rem,1cqw,.76rem);font-weight:950}.g4u-line-demo>strong{justify-self:center;font-size:clamp(1rem,2cqw,1.5rem)}.g4u-line-task>p{margin:0;text-align:center;font-weight:850}
.g4u-context>span,.g4u-independent>span,.g4u-create-model>span,.g4u-oral>span,.g4u-finish>span{padding:.4cqw .8cqw;border-radius:.75cqw;background:#167d84;color:#fff;font-weight:950}.g4u-context h2{font-size:clamp(.75rem,1.6cqw,1.22rem);margin:0}.g4u-context>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1cqw;width:100%}.g4u-context .g4u-strip{width:100%}.g4u-context>div>b,.g4u-independent-strips>b,.g4u-create-model>b{font-size:clamp(1.2rem,2.5cqw,2rem)}
.g4u-independent-strips,.g4u-create-model{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1cqw;width:100%}.g4u-independent-strips .g4u-strip,.g4u-create-model .g4u-strip{width:100%}.g4u-independent-lines{display:grid;gap:.2cqw;width:100%}.g4u-independent p,.g4u-create-model p{margin:0;font-weight:850}.g4u-create-model>span,.g4u-create-model>p{grid-column:1/-1}
.g4u-create-pick>div{display:flex;justify-content:center;flex-wrap:wrap;gap:.6cqw}.g4u-create-pick button{min-width:48px;min-height:48px;border:3px solid #28757b;border-radius:.8cqw;background:#fff;color:#17454b;font-weight:950}.g4u-create-pick p{margin:0;font-weight:800}.g4u-oral>strong,.g4u-oral-ready>strong,.g4u-finish>strong{font-size:clamp(1rem,2.2cqw,1.7rem)}.g4u-oral-ready>span,.g4u-result>span{font-size:3.4rem}.g4u-oral-ready button{min-height:48px;padding:.7cqw 1.2cqw;border:0;border-radius:1cqw;background:#e45f39;color:#fff;font-weight:950}.g4u-result>strong{font-size:clamp(.9rem,1.8cqw,1.35rem)}
.g4u-alternative{position:absolute;right:1.3cqw;bottom:1.2cqw;width:min(430px,82%);padding:1cqw;border:3px solid #efb83e;border-radius:1.4cqw;background:#fff9d8;box-shadow:0 1cqw 2.5cqw rgba(55,42,20,.25);z-index:9}.g4u-alternative>span{font-weight:950;color:#8e4822}.g4u-alternative p{margin:.5cqw 0 0;font-size:clamp(.58rem,1.05cqw,.78rem)}.g4u-overlay-proof{display:grid;gap:.25cqw;margin:.5cqw 0}.g4u-overlay-proof .g4u-strip{width:100%}.g4u-overlay-proof .g4u-strip>div{height:2.8cqw;min-height:28px;border-width:2px}.g4u-overlay-proof .g4u-strip>strong{display:none}.g4u-symbol-guide{display:flex;justify-content:center;align-items:center;gap:.8cqw;margin:.6cqw}.g4u-symbol-guide i{font-size:2rem;color:#e35f38}.g4u-checks{display:flex;gap:.5cqw;margin:.6cqw 0}.g4u-checks b{flex:1;padding:.45cqw;border-radius:.7cqw;background:#ddf1eb;font-size:.75rem}.g4u-zero-guide{display:flex;align-items:center;gap:.6cqw;margin:.6cqw}.g4u-zero-guide>i{flex:1;height:5px;background:#755334}.g4u-zero-guide>span{font-size:.7rem}

@media(max-width:720px){
  .g4u-scene{padding:9px}.g4u-content>h1{margin-bottom:7px;font-size:1.14rem}.g4u-canvas{border-radius:20px}.g4u-overlay{padding:1.5cqw}.g4u-strip>div{min-height:26px;border-width:2px}.g4u-strip>strong{font-size:.58rem;padding:2px 5px}
  .g4u-hook{left:7%;right:7%;top:29%;bottom:5%;gap:3%}.g4u-size-arrows{font-size:.42rem}
  .g4u-build-unit{left:7%;right:7%;top:30%;padding:7px;gap:5px}.g4u-build-unit>div{min-height:52px}.g4u-build-unit button{min-width:44px;min-height:44px}.g4u-build-unit strong,.g4u-build-unit p{font-size:.58rem}
  .g4u-fair-start{gap:4px;padding:5px}.g4u-fair-start section{min-height:95px;padding:4px}.g4u-fair-start section>b{left:3px;top:3px;width:28px;height:28px}.g4u-fair-start .g4u-strip>div{min-height:26px}.g4u-fair-start section>span{font-size:.38rem}.g4u-different-wholes i{height:40px}.g4u-different-wholes i:last-child{height:28px}.g4u-unequal-parts{height:36px}
  .g4u-teacher-model,.g4u-den-slider,.g4u-result,.g4u-context,.g4u-independent,.g4u-create-pick,.g4u-create-model,.g4u-oral,.g4u-oral-ready,.g4u-finish{gap:5px;padding:7px}.g4u-teacher-model p,.g4u-den-slider p,.g4u-context h2,.g4u-independent p,.g4u-create-model p,.g4u-create-pick p,.g4u-oral p,.g4u-oral-ready p,.g4u-finish p{font-size:.5rem}.g4u-teacher-model>strong{font-size:.8rem}.g4u-drop-shadow{height:26px}
  .g4u-direct-overlay{left:7%;right:7%;top:26%;padding:7px;gap:4px}.g4u-direct-overlay>div{gap:5px}.g4u-direct-overlay p,.g4u-textile-compare p{font-size:.52rem}.g4u-common-start{left:7px}
  .g4u-textile-compare{left:9%;right:6%;top:34%;padding:6px;gap:7px}.g4u-baseline{left:6px}.g4u-order{left:4%;right:4%;top:25%;padding:6px;gap:5px}.g4u-order-bank{gap:3px}.g4u-order-bank>button{min-height:50px;padding:2px}.g4u-order-slots span{min-width:55px;min-height:44px;font-size:.55rem}.g4u-order>p{font-size:.48rem}
  .g4u-symbol-demo,.g4u-symbol-task{left:4%;right:4%;top:24%;gap:4px;padding:6px}.g4u-symbol-demo .g4u-strip>div,.g4u-symbol-task .g4u-strip>div{min-height:28px}.g4u-symbol-demo>p,.g4u-symbol-task>p{font-size:.48rem}.g4u-rods{min-height:50px}.g4u-rods b{font-size:1.4rem}.g4u-pivot{width:46px;height:46px;font-size:1.3rem}
  .g4u-number-line{min-height:52px}.g4u-number-line button{width:44px;height:52px;top:4%}.g4u-number-line button i{height:25px}.g4u-number-line button span{font-size:.45rem}.g4u-line-demo,.g4u-line-task{left:4%;right:4%;top:17%;padding:5px;gap:2px}.g4u-line-demo section,.g4u-line-task section{grid-template-columns:42px 1fr}.g4u-line-demo>strong{font-size:.72rem}.g4u-line-task>p{font-size:.48rem}
  .g4u-context>div,.g4u-independent-strips,.g4u-create-model{gap:4px}.g4u-context .g4u-strip>div,.g4u-independent .g4u-strip>div,.g4u-create-model .g4u-strip>div{min-height:25px}.g4u-context>div>b,.g4u-independent-strips>b,.g4u-create-model>b{font-size:1rem}.g4u-create-pick button{min-width:44px;min-height:44px}.g4u-oral-ready>span,.g4u-result>span{font-size:2rem}
  .g4u-alternative{right:4px;bottom:4px;width:90%;padding:5px}.g4u-alternative p{font-size:.45rem}.g4u-checks{gap:2px}.g4u-checks b{padding:3px;font-size:.43rem}
}
@media(max-width:390px){.g4u-scene{padding:6px}.g4u-content>h1{font-size:1rem}.g4u-strip>strong{font-size:.52rem}.g4u-fair-start section{min-height:88px}.g4u-order-slots span{min-width:50px}.g4u-create-pick button{min-width:44px}}
@media(prefers-reduced-motion:reduce){.g4u-strip,.g4u-number-line button i{transition:none}.g4u-den-slider input{scroll-behavior:auto}}

/* grade4-same-denominator.css */
.grade4-same-shell .topic-board-wrap{background:#edf3ed}
.topic-lesson-shell .grade4-same-board{padding:0;overflow:visible;width:100%;max-width:none}
.gs-scene{padding:18px;color:#173a40;max-width:1120px;margin:auto}
.gs-scene header{margin-bottom:12px}.gs-scene header>span{font-size:12px;font-weight:900;letter-spacing:.12em;color:#38736e}
.gs-scene h1{font-size:clamp(21px,2.4vw,34px);line-height:1.12;margin:5px 0}
.gs-canvas{position:relative;aspect-ratio:16/9;width:100%;container-type:inline-size;border-radius:20px;isolation:isolate;overflow:hidden;box-shadow:0 10px 25px #27473826}
.gs-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1}
.gs-surface{position:absolute;inset:12% 9%;display:grid;place-items:center;gap:8px}
.gs-surface p{font-size:clamp(12px,1.7cqw,20px);font-weight:700;text-align:center;margin:0}
.gs-two-trays{display:grid;grid-template-columns:1fr 1fr;gap:3cqw;width:100%;align-items:center}
.gs-two-trays>p,.gs-two-trays>.gs-equation{grid-column:1/-1;text-align:center;justify-self:center}
.gs-tray-wrap{display:grid;justify-items:center;gap:1cqw;min-width:0;width:100%}
.gs-tray-object{position:relative;width:100%;aspect-ratio:3/2;filter:drop-shadow(2px 4px 3px #553a222a)}
.gs-pan-object{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;mask-image:url('/demo/assets/generated/grade4/theme2/same-denominator/tray-full-v1.png');mask-mode:alpha;mask-size:100% 100%;mask-repeat:no-repeat}
.gs-tray{position:absolute;inset:12% 10% 14%;display:grid;grid-template-columns:repeat(var(--columns),1fr);box-sizing:border-box;padding:0}
.gs-piece{position:relative;min-width:0;min-height:0;border:0;padding:0;background:transparent;display:block}
.gs-tray.gs-unequal-parts{grid-template-columns:1fr 2fr 3fr}
.gs-colour{position:absolute;inset:0;opacity:0;pointer-events:none}.gs-colour.filled{opacity:1}.gs-colour>img{position:absolute;left:-3.1%;top:-6.1%;width:106.3%;height:112.2%;pointer-events:none}.gs-colour[data-gs-piece-cue]{opacity:0;z-index:2}
.gs-cut{position:absolute;inset:0;border:.7px solid #e9c38bc7;box-shadow:inset 0 0 0 .6px #67432b;pointer-events:none}
.gs-match-ring{position:absolute;inset:2px;border:3px solid #ffbf42;border-radius:3px;box-shadow:0 0 0 1px #654015;pointer-events:none;z-index:3;opacity:0}
[data-gs-fill]{clip-path:inset(0 100% 0 0)}
.gs-piece[aria-pressed=true]{box-shadow:inset 0 0 0 3px #ffd36c}.gs-piece:focus-visible{outline:3px solid #e76434;outline-offset:2px;z-index:2}
.gs-fraction{display:inline-grid;grid-template-rows:1fr 1fr;text-align:center;line-height:1.05;min-width:24px;font-size:clamp(16px,2.8cqw,32px);vertical-align:middle}
.gs-fraction>b{padding:1px 4px}.gs-fraction>b:first-child{border-bottom:2px solid currentColor}
.gs-pair{display:grid;width:100%;grid-template-columns:1fr auto 1fr;gap:3cqw;align-items:center}
.gs-relation{font-size:clamp(22px,4cqw,48px);color:#a74c2c;justify-self:center}
.gs-equation{font-size:clamp(21px,3.3cqw,38px);color:#174f53}
.gs-pair.strip{grid-template-columns:1fr;gap:1.2cqw}.gs-pair.strip .gs-relation{font-size:22px;line-height:1}
.gs-strip-row{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;width:100%}
.gs-strip{position:relative;display:grid;grid-template-columns:repeat(var(--columns),1fr);height:5.3cqw;min-height:25px;border:2px solid #95682e;background:#cfac62;box-shadow:2px 4px 5px #2f513529;isolation:isolate;overflow:hidden}
.gs-plank-object{position:absolute;left:-1%;top:-43.5%;width:102%;height:194%;z-index:-1;pointer-events:none}
.gs-strip.material-ribbon{border:0;background:transparent;box-shadow:none;overflow:hidden}
.material-ribbon .gs-plank-object{left:-1.4%;top:-124%;width:102.8%;height:348%}
.gs-strip>i{min-width:0;border-right:1px solid #66472e}.gs-strip>i:last-child{border-right:0}.gs-strip>i.filled{background:#087c69b8;mix-blend-mode:multiply}
.gs-rails{width:90%;display:grid;gap:3cqw}.gs-rails>.gs-equation{text-align:center}.gs-rails>div{border-left:4px solid #d67c37;padding-left:8px}
[data-gs-reveal]{opacity:0}
.gs-fair{display:grid;grid-template-columns:repeat(3,1fr);gap:4cqw;width:100%}.gs-fair section{display:grid;justify-items:center;gap:2cqw;min-width:0}.gs-fair section>b{font-size:clamp(18px,3cqw,32px)}
.gs-fair .gs-tray{border-width:2px}.gs-short-whole{width:65%;justify-self:start}.gs-unequal{display:grid;grid-template-columns:1fr 2fr 3fr;aspect-ratio:2/1;width:100%;border:2px solid #845837;background:#f5dba6}.gs-unequal i{border-right:1px solid #845837}.gs-unequal i:last-child{border:0}
.gs-paint-task{width:74%;display:grid;text-align:center}.gs-paint-task .gs-piece{cursor:pointer;min-height:44px}
.gs-controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:100%;padding:10px 4px;color:#183e43}
.gs-button{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:10px 18px;border:2px solid #4c8279;border-radius:13px;background:#fffaf0;color:#183e43;font:inherit;font-size:16px;font-weight:800;cursor:pointer;touch-action:manipulation;line-height:1.25}
.gs-button:hover{border-color:#b86c31;background:#fff0c7}.gs-button:focus-visible{outline:3px solid #e8753d;outline-offset:3px}.gs-button.symbol{font-size:30px;min-width:76px}.gs-button.sentence{max-width:340px;flex:1 1 210px}
.gs-button[aria-pressed=true],.gs-button.selected{background:#ffdb86;border-color:#98552e}.gs-button.placed{background:#d8e8de}
.gs-support{display:flex;gap:10px;justify-content:center}.gs-support .gs-button{font-size:14px}
.gs-result:empty,.gs-inline-help:empty{display:none}.gs-result{padding:12px 0 0;font-size:16px;text-align:center}.gs-result p{margin:0}.gs-result small{display:block;color:#4d655f;margin-top:6px}.gs-result blockquote{margin:12px 0;padding:12px;border-left:4px solid #61948a;background:#fffaf0;text-align:left;overflow-wrap:anywhere}
.gs-help{margin-top:14px;padding:16px;border:2px solid #d5a852;border-radius:16px;background:#fff6db;display:grid;gap:10px;font-size:16px}.gs-help>div:first-child{display:flex;justify-content:space-between;align-items:center}.gs-help .gs-tray-wrap{max-width:260px;justify-self:center}.gs-help .gs-strip{height:30px}.gs-help p{margin:0}.gs-help small{color:#795329}.gs-help .gs-number-line{min-height:90px}.gs-help .gs-button{font-size:14px}
.gs-frame-proof{position:relative;height:84px;display:grid;place-items:center}.gs-frame-proof i{position:absolute;width:150px;height:68px;border:3px solid #317e73}.gs-frame-proof i:last-child{border-style:dashed;border-color:#c57635}
.gs-order-scene{display:grid;gap:2cqw;width:100%}.gs-order-evidence{display:grid;gap:1.3cqw}.gs-order-evidence .gs-strip-row{grid-template-columns:36px 1fr;gap:9px}.gs-order-evidence .gs-fraction{font-size:clamp(14px,2cqw,24px)}.gs-order-evidence .gs-strip{height:3.5cqw;min-height:22px}
.gs-order-bank{display:flex;justify-content:center;gap:10px}.gs-order-bank .gs-button{font-size:clamp(15px,2cqw,24px);padding:5px 15px}
.gs-order-bank [data-gs-card]{touch-action:none;user-select:none}
.gs-dragging{opacity:.35}
.gs-drag-card{position:fixed;transform:translate(-50%,-50%) rotate(-3deg);z-index:1000;pointer-events:none;box-shadow:0 8px 14px #173a4044}
.gs-slots .gs-drop-target{outline:3px solid #df8a3d;outline-offset:2px}
.gs-slots{display:flex;justify-content:center;align-items:center;gap:7px;flex-basis:100%}.gs-slots .gs-button{min-width:72px;border-style:dashed}
.gs-beyond{display:grid;grid-template-columns:1fr auto 1fr;gap:3cqw;align-items:center;width:66%}.gs-beyond section{display:grid;gap:.6cqw;justify-items:center}.gs-empty-reserve{visibility:hidden;width:100%}
.gs-line-demo,.gs-line-task{width:100%;display:grid;gap:2cqw;justify-items:center}
.gs-number-line{position:relative;width:100%;height:18cqw;min-height:80px}
.gs-axis{position:absolute;left:5%;right:5%;top:60%;height:1px}.gs-axis-line{position:absolute;left:0;right:0;top:-2px;height:4px;background:#406e60}
.gs-tick{position:absolute;top:-10px;transform:translateX(-50%);width:2px;height:20px;background:#406e60}.gs-tick>b{position:absolute;top:23px;left:50%;transform:translateX(-50%);font-size:clamp(14px,2cqw,23px)}
.gs-point{position:absolute;top:0;transform:translate(-50%,-50%);z-index:2;display:grid;place-items:center}.gs-point>i{height:16px;width:16px;border-radius:50%;background:#cf6835;border:2px solid #fff3d0}.gs-point>b{position:absolute;bottom:23px;font-size:clamp(14px,2.2cqw,25px);white-space:nowrap;color:#173e42}.gs-point.colour-1>i{background:#216f85}.gs-point.colour-2>i{background:#84543e}
.gs-cursor{position:absolute;top:0;transform:translate(-50%,-50%);width:48px;height:48px;border:0;background:transparent;touch-action:none;cursor:grab;z-index:4;display:grid;place-items:center}.gs-cursor>i{width:24px;height:24px;border:4px solid #a74921;background:#ffca6c;border-radius:50%;box-shadow:0 3px 4px #4c502736}.gs-cursor:focus-visible{outline:2px solid #b36432}
.gs-morph-strip{position:absolute;bottom:0;left:0;height:8cqw;display:grid;grid-template-columns:repeat(3,1fr);background:#38a08c;border:2px solid #236e62;transform-origin:bottom;z-index:1}.gs-morph-strip>i{border-right:1px solid #236e62}
.gs-stepper{display:flex;align-items:center;justify-content:center;gap:8px}.gs-stepper output{min-width:65px;text-align:center;font-size:16px;font-weight:800}.gs-stepper .gs-button{font-size:24px;padding:4px;min-width:48px}
.gs-context-label{position:absolute;bottom:-7%;left:0;right:0}
.gs-create-intro{text-align:center;width:100%;display:grid;gap:3cqw}.gs-create-intro>strong{font-size:clamp(16px,3cqw,32px)}.gs-blank-pair{display:grid;grid-template-columns:1fr 1fr;gap:3cqw}.gs-blank-pair i{height:10cqw;background:#ebdcae;border:3px solid #49685e;box-shadow:2px 4px 6px #35483330}
.gs-create-steppers{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;flex-basis:100%}.gs-create-steppers>div{display:grid;gap:8px;text-align:center}
.gs-writing{display:grid;gap:8px;width:100%;max-width:720px;font-weight:800}.gs-writing textarea{width:100%;font:inherit;min-height:90px;padding:12px;border:2px solid #73978b;border-radius:12px;resize:vertical;box-sizing:border-box}.gs-controls>small{flex-basis:100%;text-align:center;font-size:13px}
.grade4-same-shell .gs-scene.explain .gs-canvas{max-width:360px;margin:auto}
@media(max-width:720px){
  .gs-scene{padding:10px}.gs-scene header{margin-bottom:9px}.gs-scene header>span{font-size:10px}.gs-scene h1{font-size:20px}
  .gs-canvas{border-radius:12px}.gs-surface{inset:10% 8%}.gs-tray{border-width:2px}.gs-two-trays{gap:9px}.gs-two-trays>p{font-size:11px}.gs-two-trays .gs-equation{font-size:20px}
  .gs-strip-row{grid-template-columns:30px 1fr;gap:8px}.gs-fraction{font-size:16px}.gs-pair.strip{gap:5px}.gs-pair.strip .gs-relation{font-size:18px}.gs-strip{min-height:26px}.gs-rails{width:90%;gap:12px}
  .gs-paint-task{width:78%}
  .gs-controls{gap:8px;padding:8px 0}.gs-button{padding:9px 12px;font-size:15px}.gs-button.symbol{min-width:72px}.gs-button.sentence{flex-basis:100%;max-width:none;text-align:left}
  .gs-order-scene{gap:5px}.gs-order-bank{gap:8px}.gs-order-bank .gs-button{min-height:44px;min-width:54px;padding:3px 9px}.gs-order-evidence{gap:5px}.gs-order-evidence .gs-strip-row{grid-template-columns:28px 1fr}.gs-order-evidence .gs-fraction{font-size:13px}.gs-order-evidence .gs-strip{min-height:22px}
  .gs-number-line{height:85px;min-height:85px}.gs-point>i{width:12px;height:12px}.gs-point>b{bottom:18px;font-size:14px}.gs-line-task p{font-size:12px}.gs-morph-strip{height:36px}
  .gs-beyond{width:69%;gap:8px}.gs-beyond section{gap:3px}.gs-beyond .gs-fraction{font-size:14px}.gs-context-label{font-size:11px!important;bottom:-8%}
  .gs-two-trays{gap:4px}.gs-two-trays .gs-tray-wrap{gap:1px}.area-model .gs-two-trays>p{font-size:10px;line-height:1.1}
  .gs-create-steppers{gap:14px}.gs-create-steppers .gs-stepper{gap:4px}.gs-create-steppers output{min-width:44px}.gs-create-steppers>div>b{font-size:13px}
  .gs-help{padding:12px;font-size:14px}.gs-help .gs-strip{height:28px}.gs-result{font-size:14px}.gs-help small,.gs-result small{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.gs-button,.gs-cursor{transition:none}}

/* The alternative model stays with the teacher, never below the main task. */
.grade4-same-shell .gs-help{margin-top:6px;padding:8px;gap:5px;container-type:inline-size}
.grade4-same-shell .gs-help>div:first-child>b{font-size:10px;letter-spacing:.03em}
.grade4-same-shell .gs-help .gs-button{min-height:44px;padding:4px 9px}
.grade4-same-shell .gs-help .gs-strip-row{grid-template-columns:24px 1fr;gap:5px}
.grade4-same-shell .gs-help .gs-fraction{font-size:14px}
.grade4-same-shell .gs-help .gs-strip{height:22px;min-height:22px}
.grade4-same-shell .gs-help .gs-tray-wrap{width:120px}
.grade4-same-shell .gs-help-trays{display:flex;gap:6px;width:100%}
.grade4-same-shell .gs-help-trays .gs-tray-wrap{width:calc((100% - 6px)/2)}
.grade4-same-shell .gs-help .gs-frame-proof{height:58px}
.grade4-same-shell .gs-help .gs-frame-proof i{width:120px;height:48px}
.grade4-same-shell .gs-help .gs-number-line{height:74px;min-height:74px}
.grade4-same-shell .gs-button:hover,.grade4-same-shell .gs-piece:hover{outline:3px solid #e8753d;outline-offset:2px;z-index:3}
.grade4-same-shell .gs-idle-focus{outline:3px solid #df8a3d;outline-offset:3px;border-radius:10px}
@media(min-width:721px){
 .grade4-same-shell .teacher-classroom{padding:12px 18px;grid-template-columns:240px minmax(0,740px);gap:24px}
 .grade4-same-shell .lesson-avatar{height:180px}
 .grade4-same-shell .lesson-teacher:has(.gs-help) .lesson-avatar{height:120px}
 .grade4-same-shell .lesson-teacher:has(.gs-help) .teacher-bubble{max-height:110px}
 .grade4-same-shell .teacher-bubble{min-height:65px;max-height:125px;overflow:auto;font-size:13px;line-height:1.4;padding:10px;margin-top:8px}
 .grade4-same-shell .narration-controls{margin-top:5px}
 .grade4-same-shell .narration-controls button{min-height:44px}
 .grade4-same-shell .raise-hand{min-height:52px;padding:6px 10px}
 .grade4-same-shell .talk-help{margin:4px 0;font-size:10px}
 .grade4-same-shell .teaching-area{width:100%;max-width:680px}
 .grade4-same-shell .lesson-footer{padding-top:4px;min-height:0}
 .grade4-same-shell .lesson-screen-meta{min-height:24px;padding-bottom:4px}
 .grade4-same-shell .gs-scene{padding:12px}
 .grade4-same-shell .gs-scene h1{font-size:25px}
 .grade4-same-shell .gs-canvas{max-width:570px;margin:auto}
 .grade4-same-shell .gs-result{font-size:13px;padding-top:6px}
 .grade4-same-shell .gs-button.sentence{font-size:14px;padding:8px 10px}
}
body:has(.grade4-same-shell) .feedback-launcher{left:8px;right:auto;bottom:8px;width:44px;height:44px;padding:8px}
body:has(.grade4-same-shell) .feedback-launcher b{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:721px){
 body:has(.grade4-same-shell) .feedback-launcher{left:auto;right:8px}
}
@media(min-width:721px) and (max-height:760px){
 .grade4-same-shell .lesson-teacher:has(.gs-help) .lesson-avatar{height:96px}
 .grade4-same-shell .lesson-teacher:has(.gs-help) .teacher-bubble{max-height:96px}
}
@media(max-width:720px){
 .grade4-same-shell .section-track{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
 .grade4-same-shell .section-track::-webkit-scrollbar{display:none}
 .grade4-same-shell .section-segment{flex:0 0 96px;min-height:44px}
 .grade4-same-shell .section-segment span{display:block;font-size:10px;line-height:1.2}
 .grade4-same-shell .narration-controls button{min-height:44px;font-size:9px}
 .grade4-same-shell .raise-hand{min-height:44px}
 .grade4-same-shell .teacher-bubble{max-height:74px;overflow:auto}
 .grade4-same-shell .gs-scene header>span{display:none}
 .grade4-same-shell .gs-scene h1{font-size:18px}
 .grade4-same-shell .gs-scene.explain .gs-canvas{max-width:228px}
 .grade4-same-shell:has(.gs-scene.explain) .gs-controls{padding-top:0}
 .grade4-same-shell .lesson-support-dock:has(.gs-help){display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:6px}
 .grade4-same-shell .lesson-support-dock:has(.gs-help) .gs-support{flex-direction:column;gap:6px}
 .grade4-same-shell .lesson-support-dock:has(.gs-help) .gs-support .gs-button{min-height:44px;padding:4px;font-size:12px}
 .grade4-same-shell .lesson-support-dock:has(.gs-help) .gs-help-slot{grid-column:2}
 .grade4-same-shell .lesson-support-dock:has(.gs-help) .gs-help{margin-top:0;grid-template-columns:62px minmax(0,1fr);gap:4px;padding:5px}
 .grade4-same-shell .lesson-support-dock:has(.gs-help) .gs-help>div:first-child>b{font-size:8px}
 .grade4-same-shell .lesson-support-dock:has(.gs-help) .gs-help .gs-tray-wrap{width:100%;max-width:100px}
 .grade4-same-shell .lesson-teacher:has(.gs-help) .talk-help{display:none}
 .grade4-same-shell .gs-help-slot{grid-column:1/-1}
 .grade4-same-shell .gs-help{grid-template-columns:1fr 1fr;align-items:center}
 .grade4-same-shell .gs-help>div:first-child{grid-row:1/3;display:grid;gap:4px}
 .grade4-same-shell .gs-help .gs-tray-wrap{width:100px}
 .grade4-same-shell .gs-help .gs-number-line{grid-column:2}
 .grade4-same-shell .lesson-support-dock{margin-top:3px}
 .grade4-same-shell .gs-controls{gap:6px}
 .grade4-same-shell .gs-controls:has(.sentence){padding-left:48px;box-sizing:border-box}
 .grade4-same-shell .gs-button.sentence{font-size:14px;padding:6px 10px;min-height:44px}
}

/* grade4-fraction-quantity.css */
.topic-lesson-shell .grade4-fq-board{padding:0!important;min-width:0;width:100%;max-width:none;overflow:visible!important;background:#fbfaf6!important;color:#263d39}
.grade4-fq-shell .teaching-area{width:100%;max-width:none;min-width:0}
.fq-groups>.fq-group{width:100%;max-width:100%;aspect-ratio:auto!important;height:112px}
.fq-groups.beads>.fq-group{height:80px;min-height:80px}
.fq-groups.beads>.fq-group:has(.fq-token:nth-child(n+5)){height:105px;min-height:105px}
.fq-groups.beads>.fq-group:has(.fq-token:nth-child(n+9)){height:134px;min-height:134px}
.fq-groups.beads .fq-inside{display:grid;grid-template-columns:repeat(var(--fq-bead-cols),26px);grid-auto-rows:28px;gap:2px;justify-content:center;align-content:center}
.fq-groups.beads .fq-inside:before{display:none}
.fq-groups.beads .fq-token:before{content:'';position:absolute;left:-3px;right:-3px;top:50%;height:2px;background:#9c7b50;z-index:-1}
.fq-copy-source{display:flex;align-items:center;gap:12px}.fq-copy-items{display:flex;gap:3px;pointer-events:none}.fq-copy-items .fq-token{width:27px;height:30px;flex-basis:27px}
.fq-model-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px}
.fq-model-controls .fq-button{background:#e1eee6;border:2px solid #287467;min-height:44px}
.grade4-fq-shell:has(.fq-model-controls) #lesson-footer:empty{display:none}
.fq-asset-gate{padding:24px;text-align:center}.fq-asset-gate h1{font-size:22px}
.fq-scene{--fq-accent:#287467;--fq-paper:#f6eedc;display:flex;flex-direction:column;gap:10px;padding:18px 22px;min-width:0}
.fq-scene header{text-align:center}.fq-scene header>span{font-size:11px;letter-spacing:.14em;color:#5d746b;font-weight:800}.fq-scene h1{font-size:clamp(19px,2.2vw,27px);line-height:1.18;margin:5px 0 0}
.fq-workspace{position:relative;isolation:isolate;min-width:0;display:flex;flex-direction:column;gap:12px;align-items:stretch;border-radius:20px;padding:14px;background:var(--fq-paper);border:1px solid #dfd6bd}
.family-strand{--fq-paper:#e6f1ee;--fq-accent:#197f81}.family-library{--fq-paper:#f4e6dc;--fq-accent:#a64936}.family-rebuild{--fq-paper:#edf0fb;--fq-accent:#5968a8}.family-diagram,.family-create{--fq-paper:#edf3f4;--fq-accent:#426886}
.fq-caption{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;font-size:16px}.fq-caption>span{display:inline-flex;align-items:center;gap:8px}.fq-fraction{display:inline-flex;flex-direction:column;vertical-align:middle;align-items:center;min-width:22px;line-height:1.15;font-size:21px}.fq-fraction b:first-child{border-bottom:2px solid currentColor;width:100%;text-align:center;padding:0 4px 2px}.fq-fraction b:last-child{padding-top:2px}
.fq-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;width:100%;align-items:start}.fq-group{position:relative;min-height:110px;aspect-ratio:1.45;min-width:0;border:3px solid transparent;border-radius:14px;isolation:isolate;transition:border-color .18s,background .18s;background:#ffffff50;outline-offset:2px}.fq-group[role=button]{cursor:pointer}.fq-group.chosen{border-color:var(--fq-accent);background:#e0f2de}.fq-group.unknown{border:2px dashed #8c91a6;background:#cdd3e1}.fq-tray{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:fill;pointer-events:none;border-radius:13px}.fq-inside{position:absolute;inset:13% 9% 19%;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;align-items:center;gap:2px}.fq-group-label{position:absolute;bottom:1%;left:0;right:0;text-align:center;font-size:11px;font-weight:700;color:#4b4c3d;pointer-events:none}.fq-selected-mark{position:absolute;top:-9px;right:-9px;background:var(--fq-accent);color:white;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;z-index:3}
.fq-token{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:40px;flex:0 0 38px;background:none;border:0;padding:0;border-radius:8px;color:inherit;z-index:1;filter:drop-shadow(0 1px 1px #54362433)}button.fq-token{cursor:grab;touch-action:none}button.fq-token.selected{outline:3px solid #da912c;background:#fff3bd;z-index:4}.fq-object{display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}.fq-token svg{max-height:100%;max-width:100%}
.fq-pool,.fq-model-pool{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px;min-height:54px;padding:9px;border-radius:14px;background:#fffdf6;border:2px dashed #d2bd8e}.fq-pool>span:not(.fq-token){font-size:12px;color:#64716c}.fq-model-pool{border-style:solid}.fq-manipulation-note,.fq-unit-key{font-size:12px;text-align:center;margin:0;color:#52655e}.fq-model-caption{font-size:16px;line-height:1.4;text-align:center;margin:0;font-weight:650}
.fq-groups.beads{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.beads .fq-group{min-height:85px;aspect-ratio:auto;background:#fffef7;border-radius:8px;border-bottom:4px solid #789da1}.beads .fq-inside{inset:7px 6px 22px;flex-wrap:nowrap;gap:2px}.beads .fq-token{width:28px;height:30px;flex:0 1 28px}.beads .fq-inside:before{content:'';position:absolute;left:0;right:0;top:50%;height:3px;background:#9c7b50;z-index:-1}.beads .fq-group.chosen{background:#cdebea;border-bottom-color:var(--fq-accent)}
.fq-groups.shelves{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.shelves .fq-group{aspect-ratio:1.5;min-height:110px;border-bottom:9px solid #b57e53;background:#ead1b6;border-radius:6px;box-shadow:inset 0 8px 10px #6f482820}.shelves .fq-inside{inset:10% 4% 18%;flex-wrap:nowrap;align-items:flex-end;gap:4px}.shelves .fq-token{width:52px;flex:0 1 52px;height:60px}.fq-bundle{position:relative;display:flex;width:100%;height:100%;gap:0;align-items:flex-end;pointer-events:none}.fq-bundle>.fq-object{width:10%;height:95%;flex:none}.fq-bundle>b{position:absolute;bottom:18%;left:0;right:0;background:#e5c47b;box-shadow:0 1px 2px #40251c55;text-align:center;font-size:13px;line-height:18px}.fq-covered{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;z-index:2;background:repeating-linear-gradient(135deg,#d5d9e7,#d5d9e7 8px,#cbd0df 8px,#cbd0df 16px);border-radius:10px}.fq-covered>b{font-size:30px}.fq-covered>small{font-size:11px;max-width:85%;text-align:center}.unknown .fq-group-label{z-index:3}
.fq-controls{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;padding:8px 14px;min-width:0}.fq-button{min-height:44px;border:1px solid #a8b8ad;background:#fffdf5;color:#294a40;border-radius:12px;padding:10px 16px;font:700 14px/1.2 inherit;cursor:pointer;touch-action:manipulation;max-width:100%}.fq-button:hover{background:#e2ede3}.fq-button.selected{outline:3px solid #d9a43f;background:#fff0bf}.fq-number-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650}.fq-number-label input{width:76px;height:44px;padding:6px 10px;border:2px solid #94b1a6;border-radius:10px;background:white;color:#1a443a;font-size:22px;text-align:center}.fq-result p{margin:0;font-size:14px;color:#2e5c4f;text-align:center}.fq-result small{display:block;text-align:center;margin-top:5px;font-size:12px}.fq-result blockquote{margin:8px 0;background:#edf3ef;padding:10px;border-radius:10px;font-size:14px;overflow-wrap:anywhere}
.fq-support{display:flex;gap:8px;justify-content:center}.fq-support .fq-button{min-width:96px}.fq-help{padding:12px;border:1px solid #bcc9c0;border-radius:14px;background:#fffdf7;box-shadow:0 8px 22px #1d33251c;max-width:420px;margin:8px auto;font-size:13px}.fq-help>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.fq-help p{margin:8px 0}.fq-help-grid{display:grid!important;grid-template-columns:repeat(4,1fr);gap:6px!important;max-width:200px;margin:auto}.fq-help-grid svg{height:28px;border-left:1px dashed #bbc7c4;border-right:1px dashed #bbc7c4}.fq-bar{display:grid;grid-template-columns:repeat(var(--fq-groups),1fr);gap:3px;margin:8px 0}.fq-bar>span{display:grid;place-items:center;min-height:42px;border:1px solid #afc1b7;background:#fff;border-radius:4px;font-size:17px;font-weight:700}.fq-bar .chosen{background:#b9ded5;border-color:#487f70}.fq-matching{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fq-matching article{padding:10px;border:1px solid #bccbcc;border-radius:13px;background:#fffdf9;min-width:0;text-align:center}.fq-matching .fq-caption{gap:5px;font-size:12px}.fq-matching .fq-caption>span{gap:4px}.fq-matching p{font-size:12px}.fq-matching .fq-button{font-size:12px;padding:9px;min-height:50px;width:100%}.fq-cards{display:flex;justify-content:center;gap:12px;min-height:50px}.fq-cards .fq-button{min-width:70px;touch-action:none}.fq-copy-source{align-self:center;touch-action:none}.fq-create-controls{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.fq-create-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px}.fq-create-controls select{height:42px;border-radius:8px;padding:8px;border:1px solid #8ea9a6;background:white;font-size:16px}.fq-writing{display:flex;flex-direction:column;gap:5px;width:min(100%,560px);font-size:14px}.fq-writing textarea{width:100%;padding:10px;border:1px solid #a1b7ae;border-radius:10px;font:inherit;resize:vertical}.fq-controls>small{font-size:11px;flex-basis:100%;text-align:center}
.fq-package-demo{position:relative;display:flex;gap:15px;align-items:center;justify-content:center;min-height:150px;padding:10px;transition:gap .5s}.fq-package-demo>span{height:110px;width:27px;flex:0 1 27px}.fq-package-demo.packed{gap:0}.fq-package-band{position:absolute;top:55%;left:calc(50% - 135px);width:270px;background:#e5c47b;color:#473923;text-align:center;line-height:25px;border-radius:5px;box-shadow:0 2px 5px #56322644}.fq-focus{outline:3px solid #d8a344!important;outline-offset:3px}.fq-drag-ghost{position:fixed!important;transform:translate(-50%,-50%);z-index:10000!important;pointer-events:none!important;filter:drop-shadow(0 10px 5px #33241666);opacity:.95}
@media(min-width:760px){.fq-groups:not(.beads):has(>.fq-group:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr));max-width:680px;margin-inline:auto}.fq-groups:not(.beads):has(>.fq-group:nth-child(5)) .fq-group{aspect-ratio:2;min-height:98px}.fq-groups:not(.beads):not(:has(>.fq-group:nth-child(5))) .fq-group{max-height:165px}.fq-workspace:has(.fq-model-pool) .fq-group{min-height:98px;max-height:135px}.fq-workspace:has(.fq-pool) .fq-group{min-height:98px;max-height:120px}}
@media(max-width:820px){.fq-scene{padding:13px 10px;gap:8px}.fq-workspace{padding:10px;gap:10px}.fq-groups,.fq-groups.shelves{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fq-group{min-height:105px;aspect-ratio:1.35}.fq-token{width:31px;height:35px;flex-basis:31px}.fq-inside{gap:1px;inset:13% 9% 19%}.fq-groups.beads{grid-template-columns:repeat(2,minmax(0,1fr))}.beads .fq-token{width:26px;flex-basis:26px;height:28px}.fq-caption{font-size:14px;gap:12px}.fq-model-caption{font-size:14px}.fq-matching{grid-template-columns:1fr;gap:9px}.fq-matching article{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;align-items:center;padding:8px}.fq-matching .fq-caption{font-size:12px;flex-direction:column;grid-row:span 2}.fq-matching .fq-bar{margin:2px 0}.fq-matching p{margin:0}.fq-matching .fq-button{grid-column:1/-1;min-height:44px}.fq-controls{padding:8px;gap:8px}.fq-controls .fq-button{font-size:13px;padding:9px 12px}.fq-number-label{font-size:13px}.fq-group-label{font-size:10px}.fq-package-demo{gap:5px}.fq-package-demo>span{height:100px;width:22px;flex-basis:22px}.fq-package-band{left:calc(50% - 110px);width:220px}.fq-manipulation-note{font-size:11px}.fq-covered>small{font-size:10px}.fq-create-controls{gap:8px}.fq-create-controls label{font-size:11px}.fq-create-controls select{font-size:14px;padding:5px}}
@media(prefers-reduced-motion:reduce){.fq-scene *{transition:none!important;scroll-behavior:auto!important}.fq-drag-ghost{filter:none}}

/* The transcript has its own keyboard-accessible scroll region, never 10px text. */
.grade4-fq-shell .teacher-bubble{font-size:14px;line-height:1.35;max-height:160px;overflow:auto}
.grade4-fq-shell .teacher-transcript{font-size:14px;line-height:1.35}
.fq-cards:empty{display:none}
.fq-button:disabled{cursor:default}.fq-button:disabled:hover{background:#fffdf5}
/* The temporary reporting widget must never cover a learner's answer target. */
body:has(.grade4-fq-shell) .feedback-launcher{position:relative;right:auto;bottom:auto;width:max-content;max-width:calc(100% - 24px);margin:8px 12px 12px auto}
@media(min-width:760px) and (max-width:1100px){
  .grade4-fq-shell .lesson-header{grid-template-columns:44px minmax(0,1fr) auto auto;gap:8px;padding:8px 15px}
  .grade4-fq-shell .lesson-header>.back-button{grid-column:1;grid-row:1}
  .grade4-fq-shell .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
  .grade4-fq-shell .skip-section{grid-column:3;grid-row:1}
  .grade4-fq-shell .restart-lesson{grid-column:4;grid-row:1}
  .grade4-fq-shell .lesson-time{display:none}
  .grade4-fq-shell .section-track{grid-column:1/-1;grid-row:2;min-width:0;width:100%;grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(min-width:760px) and (max-height:800px){
  .grade4-fq-shell .fq-scene{padding:12px 16px;gap:7px}
  .grade4-fq-shell .fq-groups>.fq-group{height:96px;min-height:96px}
  .grade4-fq-shell .fq-groups.beads{gap:8px}
  .grade4-fq-shell .fq-groups.beads>.fq-group{height:64px;min-height:64px}
  .grade4-fq-shell .fq-groups.beads:has(.fq-token:nth-child(5))>.fq-group{height:100px;min-height:100px}
  .grade4-fq-shell .fq-groups.beads:has(.fq-token:nth-child(9))>.fq-group{height:130px;min-height:130px}
}
.fq-help-grid>span{display:flex;flex-direction:column;align-items:center;border:1px dashed #bcc9c0;border-radius:5px}.fq-help-grid>span.chosen{background:#b9ded5;border:2px solid #487f70}.fq-help-grid>span svg{border:0;width:28px}
.grade4-fq-shell button.fq-token:is(:hover,:focus-visible,.selected){outline:none;background:none;filter:drop-shadow(2px 0 0 #e69327) drop-shadow(-2px 0 0 #e69327) drop-shadow(0 2px 0 #e69327) drop-shadow(0 -2px 0 #e69327)}
.grade4-fq-shell .fq-group[role=button]:is(:hover,:focus-visible),.grade4-fq-shell .fq-button:focus-visible{outline:3px solid #e69327;outline-offset:2px}
@media(max-width:820px){
  .grade4-fq-shell .lesson-teacher{position:relative;top:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .grade4-fq-shell .lesson-avatar{grid-column:1;grid-row:1;width:62px;height:72px;align-self:start}
  .grade4-fq-shell .teacher-bubble{grid-column:1/-1;grid-row:1;margin:0 0 0 68px;height:72px;min-height:72px;max-height:72px;padding:6px;font-size:14px;overflow:auto}
  .grade4-fq-shell .teacher-visual-cues{display:none}
  .grade4-fq-shell .narration-controls{grid-column:1;grid-row:2;margin:0;align-self:stretch}
  .grade4-fq-shell .narration-controls button{height:44px;min-height:44px;font-size:10px;padding:2px}
  .grade4-fq-shell .raise-hand{grid-column:2;grid-row:2;min-height:44px;height:44px;grid-template-columns:26px 1fr;padding:4px}
  .grade4-fq-shell .hand-copy strong{font-size:12px}.grade4-fq-shell .hand-copy small,.grade4-fq-shell .sound-bars{display:none}
  .grade4-fq-shell .talk-help{font-size:11px;line-height:14px;grid-column:1/-1;grid-row:4}
  .grade4-fq-shell .lesson-support-dock{grid-column:1/-1;grid-row:3;margin:0}
  .grade4-fq-shell .fq-support{gap:8px}.grade4-fq-shell .fq-support .fq-button{flex:1;padding:7px;min-height:44px}
  /* An alternative model occupies the teacher's explanation region. It does not
     cover the child's question, quantities, answer field or microphone control. */
  .grade4-fq-shell .lesson-teacher:has(.fq-help) .teacher-bubble{height:148px;min-height:148px;max-height:148px;visibility:hidden}
  .grade4-fq-shell .lesson-teacher:has(.fq-help) .lesson-avatar{visibility:hidden}
  .grade4-fq-shell .fq-help-slot:not(:empty){position:absolute;inset:0 0 auto;height:148px}
  .grade4-fq-shell .fq-help{box-sizing:border-box;margin:0;padding:5px 8px;height:148px;max-width:none;box-shadow:none;font-size:14px;line-height:1.2}
  .grade4-fq-shell .fq-help>div:first-child{height:44px}.grade4-fq-shell .fq-help>div:first-child .fq-button{min-height:44px;height:44px;padding:6px 12px}
  .grade4-fq-shell .fq-help p{margin:3px 0}.grade4-fq-shell .fq-help-grid{gap:0!important}.grade4-fq-shell .fq-help-grid svg{height:22px}
  .grade4-fq-shell .fq-help .fq-bar{margin:4px 0}.grade4-fq-shell .fq-help .fq-bar>span{min-height:30px}
  .grade4-fq-shell .fq-scene{padding:4px 8px;gap:4px}.grade4-fq-shell .fq-scene header>span{display:none}
  .grade4-fq-shell .fq-scene h1{font-size:19px;margin:0}.grade4-fq-shell .fq-workspace{padding:6px;gap:5px}
  .grade4-fq-shell .fq-groups:not(.shelves){grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .grade4-fq-shell .fq-groups>.fq-group{height:90px;min-height:90px}
  /* Before the teacher distributes the pool, empty model targets can be compact.
     Populated trays/shelves keep their full object-placement dimensions. */
  .grade4-fq-shell .fq-workspace:has(.fq-model-pool) .fq-groups>.fq-group{height:64px;min-height:64px}
  .grade4-fq-shell .fq-groups:not(.beads):has(.fq-token:nth-child(5))>.fq-group{height:117px;min-height:117px}
  .grade4-fq-shell .fq-groups:not(.shelves):not(.beads) .fq-token{width:25px;flex-basis:25px;height:29px}
  /* Four trays get two wide columns: four strawberries fit in one row inside
     each tray, retaining their scale without wasting a third-column row. */
  .grade4-fq-shell .fq-groups:not(.shelves):not(.beads):has(>.fq-group:nth-child(4)):not(:has(>.fq-group:nth-child(5))){grid-template-columns:repeat(2,minmax(0,1fr))}
  .grade4-fq-shell .fq-groups:not(.shelves):not(.beads):has(>.fq-group:nth-child(4)):not(:has(>.fq-group:nth-child(5)))>.fq-group{height:74px;min-height:74px}
  .grade4-fq-shell .fq-covered{bottom:16px}.grade4-fq-shell .fq-covered>b{font-size:26px;line-height:1}.grade4-fq-shell .fq-covered>small{font-size:10px;line-height:1.1}
  .grade4-fq-shell .fq-groups.beads>.fq-group{height:64px;min-height:64px}
  .grade4-fq-shell .fq-groups.beads:has(.fq-token:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .grade4-fq-shell .fq-groups.beads:has(.fq-token:nth-child(5))>.fq-group{height:88px;min-height:88px}
  .grade4-fq-shell .fq-groups.beads:has(.fq-token:nth-child(9))>.fq-group{height:118px;min-height:118px}
  .grade4-fq-shell .fq-groups.beads:has(>.fq-group:nth-child(7)){grid-template-columns:repeat(4,minmax(0,1fr))}
  .grade4-fq-shell .fq-groups.beads:has(>.fq-group:nth-child(7))>.fq-group{height:88px;min-height:88px}
  .grade4-fq-shell .fq-groups.beads:has(>.fq-group:nth-child(7)) .fq-inside{grid-template-columns:repeat(2,26px)}
  .grade4-fq-shell .fq-groups.shelves:has(>.fq-group:nth-child(5))>.fq-group{height:84px;min-height:84px}
  .grade4-fq-shell .fq-groups.shelves:has(>.fq-group:nth-child(5)) .fq-token{height:52px}
  .grade4-fq-shell .fq-pool,.grade4-fq-shell .fq-model-pool{padding:4px;min-height:40px;gap:2px}
  .grade4-fq-shell .fq-controls{padding:4px;gap:5px}.grade4-fq-shell .fq-controls .fq-button{padding:8px;font-size:13px}
  .grade4-fq-shell .fq-number-label input{width:60px;padding-inline:8px}
  .grade4-fq-shell .fq-controls:has([data-fq-undo]) .fq-button{flex:1}
  .grade4-fq-shell .fq-result blockquote{max-height:72px;overflow:auto;margin:5px 0;padding:6px}
  .grade4-fq-shell .fq-matching article{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;padding:6px;gap:3px 7px}
  .grade4-fq-shell .fq-matching .fq-caption{grid-column:1;grid-row:1;flex-direction:row;gap:4px;font-size:12px}
  .grade4-fq-shell .fq-matching .fq-caption>span{gap:3px}.grade4-fq-shell .fq-matching .fq-fraction{font-size:16px}
  .grade4-fq-shell .fq-matching .fq-bar{grid-column:2;grid-row:1;align-self:center}
  .grade4-fq-shell .fq-matching .fq-bar>span{min-height:32px}
  .grade4-fq-shell .fq-matching p{grid-column:2;grid-row:2;align-self:center}
  .grade4-fq-shell .fq-matching .fq-button{grid-column:1;grid-row:2;font-size:12px;padding:5px}
  .grade4-fq-shell .fq-matching article:not(:has(.fq-caption)) .fq-bar{grid-column:1;grid-row:1}
  .grade4-fq-shell .fq-matching article:not(:has(.fq-caption)) p{grid-column:1;grid-row:2}
  .grade4-fq-shell .fq-matching article:not(:has(.fq-caption)) .fq-button{grid-column:2;grid-row:1/3}
  .grade4-fq-shell .fq-quantity-matching .fq-caption{grid-column:1/-1;grid-row:1;justify-content:space-between;flex-wrap:nowrap;font-size:12px}
  .grade4-fq-shell .fq-quantity-matching .fq-match-model{grid-column:1;grid-row:2}
  .grade4-fq-shell .fq-quantity-matching .fq-button{grid-column:2;grid-row:2}
}

/* grade4-fraction-operations.css */
.grade4-fo-shell .teaching-area{width:100%;max-width:100%}
.grade4-fo-board{--fo-ink:#27443f;--fo-teal:#267e78;--fo-coral:#d96550;--fo-cream:#fffaf0;width:100%;max-width:100%;min-width:0;box-sizing:border-box;color:var(--fo-ink);overflow:auto}
.fo-scene{width:100%;max-width:100%;min-width:0;min-height:100%;box-sizing:border-box;padding:18px 22px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;background:radial-gradient(circle at 10% 0,#fff 0 8%,transparent 28%),linear-gradient(145deg,#f4ead4,#fffaf0 55%,#dcece6);border-radius:22px}
.fo-scene header{text-align:center}.fo-scene header>span{font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--fo-coral)}.fo-scene h1{font-size:clamp(20px,2.7vw,30px);margin:2px 0}
.fo-workspace{width:100%;max-width:100%;min-width:0;min-height:0;box-sizing:border-box;border:1px solid #cfbea0;border-radius:18px;background:#fffcf5;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:15px;box-shadow:inset 0 2px 12px #5f44220c}
.fo-workspace>*{min-width:0;max-width:100%;box-sizing:border-box}
.fo-workspace>p,.fo-scene-note{text-align:center;margin:0;font-size:14px}.fo-result p,.fo-result small{display:block;text-align:center;margin:4px 0}.fo-result p{color:#246d56;font-weight:700}.fo-result small{font-size:12px}
.fo-frac{display:inline-grid;grid-template-rows:1fr 1fr;vertical-align:middle;min-width:36px;text-align:center;font-size:21px;line-height:1}.fo-frac b{padding:2px 7px}.fo-frac b:first-child{border-bottom:2px solid currentColor}
.fo-expression{display:flex;align-items:center;justify-content:center;gap:12px;font-size:25px;font-weight:800}.fo-expression>strong{display:grid;place-items:center;width:46px;height:54px;border:2px dashed #b9a57f;border-radius:10px}
.fo-strip-wrap{position:relative;width:min(100%,650px);max-width:100%;min-width:0;box-sizing:border-box;margin:auto}.fo-strip{display:grid;grid-template-columns:repeat(var(--fo-total),minmax(0,1fr));grid-auto-rows:100%;align-items:stretch;height:82px;border:4px solid #7e603c;border-radius:13px;background:#f5e1b7;overflow:visible;box-shadow:0 6px 0 #5b452b,0 11px 16px #3d2d1b26}.fo-strip-wrap.two-wholes .fo-strip:after{content:'';position:absolute;left:50%;top:-4px;bottom:-10px;width:4px;background:#d96550;border-radius:3px}.fo-slot{position:relative;display:grid;place-items:center;height:100%;min-width:0;min-height:0;box-sizing:border-box;border-right:2px solid #9c8059;padding:2px}.fo-slot:nth-child(var(--fo-den)){border-right:4px solid #d96550}.fo-slot:last-child{border-right:0}.fo-slot.selected{background:#ffe5a7}.fo-whole-labels{display:grid;grid-template-columns:1fr 1fr;text-align:center;margin-top:10px;font-size:11px;font-weight:800;color:#68736c}
.fo-tile{display:block;position:relative;width:100%;height:100%;min-height:0;max-height:100%;box-sizing:border-box;padding:0;border:0;background:none;touch-action:none;filter:drop-shadow(0 2px 2px #35271944);z-index:2}.fo-tile img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:fill;pointer-events:none}.fo-tile:is(button){cursor:grab}.fo-tile.selected{outline:3px solid #e29a2a;outline-offset:1px;border-radius:8px}.fo-tile.removed{opacity:.35}
.fo-hook{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end}.fo-hook section{display:grid;gap:8px;text-align:center}.fo-hook section.result{grid-column:1/-1}.fo-hook>i{display:none}.fo-demo,.fo-create,.fo-create-final{display:grid;gap:18px}.fo-demo-sources{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fo-demo-sources section{text-align:center}.fo-source-bank{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;max-width:100%;min-height:82px;border:2px dashed #bba77e;border-radius:14px;background:#f7eedc;padding:8px;box-sizing:border-box}.fo-source-bank .fo-tile{width:78px;min-width:0;height:54px;flex:0 1 78px}.fo-source-bank>span{font-size:13px}.fo-target{min-width:0;max-width:100%;box-sizing:border-box;padding:8px;border-radius:15px;background:#e6f3ee}.fo-target .fo-strip{height:88px}
.fo-misconception{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fo-misconception section{display:grid;gap:10px;text-align:center}.fo-misconception .fo-strip{height:65px}.fo-misconception b{font-size:12px}
.fo-numberline{position:relative;width:min(100%,720px);height:128px;margin:auto}.fo-rail{position:absolute;left:3%;right:3%;top:73%;height:5px;background:#426c68;border-radius:3px}.fo-numberline button{position:absolute;left:calc(3% + var(--fo-index) * (94% / var(--fo-points)));top:calc(73% - 13px);transform:translateX(-50%);width:30px;height:70px;border:0;background:none;padding:0;color:#334b47}.fo-numberline button i{display:block;width:5px;height:27px;background:#426c68;margin:auto;border-radius:3px}.fo-numberline button span{font-size:10px;white-space:nowrap}.fo-numberline button:not(:disabled){cursor:pointer}.fo-numberline button.start i{background:#df9a2a}.fo-numberline button.end i{background:#d96550}.fo-numberline svg{position:absolute;left:3%;top:2%;width:94%;height:60%;overflow:visible;pointer-events:none}.fo-numberline path{fill:none;stroke:#df9a2a;stroke-width:2.2;vector-effect:non-scaling-stroke}.fo-numberline path.second{stroke:#d96550}.fo-numberline path.back{stroke-dasharray:4 3}
.fo-remove-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,.8fr);gap:22px;align-items:center}.fo-tray{position:relative;min-height:130px;display:flex;align-items:center;justify-content:center;gap:3px;padding:22px 15px}.fo-tray>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0}.fo-tray .fo-tile{width:55px;height:44px;flex:0 1 55px;z-index:2}.fo-tray>span{position:absolute;bottom:9px;left:0;right:0;text-align:center;z-index:3;font-size:10px;font-weight:800}.fo-tray.mini{height:90px;min-height:90px}.fo-tray.mini>span{bottom:12px}
.fo-family,.fo-match,.fo-three-proof{display:grid;gap:18px;text-align:center}.fo-family>span{font-size:24px}.fo-family>strong,.fo-unknown{font-size:26px;border:2px dashed #c1a97d;padding:10px;border-radius:10px}.fo-big-op{font-size:28px;align-self:center}.fo-workspace:has(.fo-unknown){align-items:center}.fo-match>section{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:center}.fo-area-proof{padding:20px;background:linear-gradient(90deg,#d7a45a 0 60%,#eaf1e8 60%);border-radius:16px}
.fo-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:8px}.fo-button{min-height:46px;border:1px solid #9caa9f;border-radius:12px;background:#fffdf6;color:#24463e;padding:10px 16px;font:700 14px/1.2 inherit;cursor:pointer}.fo-button:hover{background:#e3f0e9}.fo-button:focus-visible,.fo-tile:focus-visible,.fo-numberline button:focus-visible{outline:3px solid #e49b2c;outline-offset:2px}.fo-support{display:flex;gap:8px;justify-content:center}.fo-support .fo-button{min-width:100px}.fo-help{padding:10px;border:1px solid #b9c8bd;border-radius:14px;background:#fffdf7;box-shadow:0 7px 20px #2f46351c;max-width:440px;margin:8px auto;font-size:13px}.fo-help>div:first-child{display:flex;justify-content:space-between;align-items:center}.fo-help p{margin:7px 0}.fo-help-strip .fo-strip{height:48px}.fo-focus{outline:3px solid #dda139!important;outline-offset:3px}
.fo-drag-ghost{position:fixed!important;transform:translate(-50%,-50%);z-index:10000!important;pointer-events:none!important;opacity:.94;filter:drop-shadow(0 12px 6px #35271966)}
.fo-create-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fo-create-controls label{display:grid;gap:5px;font-size:11px;font-weight:800}.fo-create-controls select{height:44px;border:1px solid #91aaa0;border-radius:9px;background:#fff;padding:6px;font:inherit}.fo-create-model{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;text-align:center}.fo-create-final label{display:grid;gap:6px;font-weight:700}.fo-create-final textarea{box-sizing:border-box;width:100%;border:2px solid #91aaa0;border-radius:11px;padding:10px;font:inherit;resize:vertical}.fo-asset-gate{margin:auto;max-width:520px;text-align:center;padding:30px;border-radius:20px;background:#fffaf0;border:2px dashed #b9aa88}
@media(max-width:820px){.fo-scene{padding:7px;gap:6px}.fo-scene header>span{display:none}.fo-scene h1{font-size:19px;margin:0}.fo-workspace{padding:8px;gap:8px}.fo-strip{height:55px;border-width:3px;border-radius:9px;box-shadow:0 4px 0 #5b452b,0 7px 10px #3d2d1b20}.fo-slot{padding:0}.fo-expression{font-size:20px;gap:7px}.fo-frac{font-size:17px;min-width:30px}.fo-hook,.fo-demo-sources,.fo-misconception{gap:8px}.fo-source-bank{min-height:56px;padding:4px;gap:3px;flex-wrap:wrap}.fo-source-bank .fo-tile{width:44px;min-width:44px;height:44px;flex:0 0 44px}.fo-target .fo-strip{height:58px}.fo-remove-layout{grid-template-columns:1fr;gap:8px}.fo-tray{min-height:86px;height:86px;padding:12px}.fo-tray .fo-tile{width:42px;height:32px}.fo-numberline{height:100px}.fo-numberline button span{font-size:8px}.fo-controls{padding:4px;gap:6px}.fo-controls .fo-button{min-width:44px}.fo-button{padding:8px 10px;font-size:12px;min-height:44px}.fo-create,.fo-create-final{gap:8px}.fo-create-controls{grid-template-columns:1fr 1fr;gap:7px}.fo-create-model{grid-template-columns:1fr;gap:7px}.fo-match>section{grid-template-columns:1fr 150px;gap:8px}.fo-misconception .fo-strip{height:45px}.fo-family>span{font-size:18px}.fo-scene-note,.fo-workspace>p{font-size:12px}.grade4-fo-shell .teacher-bubble{font-size:14px;line-height:1.3;max-height:78px;overflow:auto}.grade4-fo-shell .lesson-teacher{position:relative}.grade4-fo-shell .lesson-support-dock{grid-column:1/-1}.grade4-fo-shell .fo-help-slot:not(:empty){position:absolute;z-index:5;left:0;right:0;top:0}.grade4-fo-shell .fo-help{margin:0;max-height:150px;overflow:auto}.grade4-fo-shell .section-track{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:760px) and (max-height:800px){.fo-scene{padding:10px 16px;gap:7px}.fo-workspace{padding:10px;gap:9px}.fo-strip{height:62px}.fo-tray{min-height:104px}.grade4-fo-shell .teacher-bubble{max-height:130px;overflow:auto}}
@media(prefers-reduced-motion:reduce){.fo-scene *{transition:none!important}.fo-drag-ghost{filter:none}}
body:has(.grade4-fo-shell) .feedback-launcher{position:relative;right:auto;bottom:auto;width:max-content;max-width:calc(100% - 24px);margin:8px 12px 12px auto}

/* grade4-fraction-problems.css */
.grade4-fp-shell{--fp-ink:#25324a;--fp-paper:#fffaf0;--fp-coral:#f28b73;--fp-teal:#37b9b2;--fp-gold:#f1c75b;--fp-line:#334764}
.grade4-fp-board{padding:8px!important;overflow:hidden;background:linear-gradient(155deg,#fffdf6,#edf8f5)!important}
.fp-scene{height:100%;min-height:0;display:grid;grid-template-rows:auto 1fr auto;gap:7px;color:var(--fp-ink)}
.fp-scene>header{display:flex;align-items:baseline;gap:10px;padding:0 5px}
.fp-scene>header span{font-size:11px;font-weight:900;letter-spacing:.11em;color:#a24d3f}
.fp-scene>header h1{margin:0;font-size:clamp(17px,2vw,26px);line-height:1.08}
.fp-workspace{min-height:0;border:2px solid #c8ded8;border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 9px 22px #43597118;display:grid;place-items:center;padding:10px;overflow:hidden;position:relative}
.fp-result{min-height:0;text-align:center}.fp-result p{margin:0;font-weight:900;color:#29796f}.fp-result small{display:block}
.fp-button{min-width:48px;min-height:48px;border:2px solid #314967;border-radius:14px;background:#fff;color:var(--fp-ink);font:800 14px/1.15 inherit;padding:8px 14px;box-shadow:0 4px 0 #c7d6df;cursor:pointer;touch-action:manipulation}
.fp-button:hover,.fp-button:focus-visible{transform:translateY(-1px);outline:3px solid #f1c75b;outline-offset:2px}.fp-button:active{transform:translateY(2px);box-shadow:0 2px 0 #c7d6df}.fp-button.selected{background:#fff0c9}
.fp-controls{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;width:100%}.fp-support{display:flex;gap:8px;justify-content:center}.fp-support .fp-button{min-height:44px;padding:6px 12px;font-size:13px}
.fp-help{margin-top:6px;border:2px solid #e4b756;border-radius:14px;background:#fff8dc;padding:9px;display:grid;gap:7px}.fp-help>div{display:flex;justify-content:space-between;align-items:center}.fp-help p{margin:0;font-size:13px;line-height:1.28}.fp-help .fp-button{min-height:36px}.fp-mini-model{max-width:260px}
.fp-focus{outline:4px solid #f1c75b;outline-offset:-4px}
.fp-frac{display:inline-grid;grid-template-rows:1fr 1fr;vertical-align:middle;min-width:30px;text-align:center;font-weight:900}.fp-frac b:first-child{border-bottom:2px solid currentColor}.fp-frac b{padding:0 4px}
.fp-strip{width:min(660px,96%);display:grid;grid-template-columns:repeat(var(--fp-den),minmax(24px,1fr));gap:4px;padding:7px;border:3px solid #415776;border-radius:14px;background:#f6f1df;box-shadow:inset 0 4px 10px #2d37521c}
.fp-cell{min-width:0;height:64px;border:2px dashed #94a4ae;border-radius:8px;background:#fffef7;box-shadow:none;padding:0}.fp-cell.filled{border-style:solid;background:#f1c75b}.fp-cell.coral{background:var(--fp-coral)}.fp-cell.teal{background:var(--fp-teal)}.fp-cell.removed{opacity:.18;transform:translateY(9px)}
.fp-mural-hook,.fp-build-mural,.fp-notebook,.fp-rewind,.fp-mosaic,.fp-pitcher,.fp-trail,.fp-create,.fp-final-proof{width:min(850px,100%);display:grid;place-items:center;gap:10px}.fp-mural-wall{width:100%;padding:22px 12px 14px;border-radius:16px;background:linear-gradient(#f5ead4,#e9d6b2);box-shadow:inset 0 0 0 5px #9d7650}
.fp-story-arrow{display:flex;align-items:center;gap:13px;font-size:23px;font-weight:900}.fp-story-arrow>strong{font-size:28px}
.fp-sort{width:min(850px,100%);display:grid;grid-template-columns:.85fr 1.15fr;gap:16px}.fp-card-bank{display:flex;flex-direction:column;gap:8px;justify-content:center}.fp-buckets{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fp-bucket{min-height:190px;border:3px dashed #6d8ca0;border-radius:18px;background:#f7fbff;padding:10px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:flex-start;color:var(--fp-ink);font:800 14px inherit}.fp-bucket b{background:#dff1ec;border-radius:999px;padding:7px 10px}.fp-bucket span{background:white;border:1px solid #c7d6df;border-radius:9px;padding:7px}
.fp-sign-choice{display:grid;place-items:center;gap:12px}.fp-sign-choice>div{font-size:34px;display:flex;gap:15px;align-items:center}.fp-sign-choice p,.fp-notebook p,.fp-rewind p,.fp-mosaic p,.fp-kite p,.fp-pitcher p,.fp-trail p,.fp-garden p{margin:0;text-align:center;font-weight:800}
.fp-paint-pots{display:flex;gap:10px;min-height:58px}.fp-paint-piece{width:72px;background:var(--fp-teal);position:relative}.fp-paint-piece:after{content:'BOYA';font-size:10px;letter-spacing:.1em}.fp-mural-drop{width:100%;padding:20px 8px 10px;border-radius:14px;background:#eee0c7}.fp-drag-ghost{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-50%) rotate(-4deg);opacity:.88}
.fp-rewind-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.fp-rewind-row span{display:flex;align-items:center;gap:7px;border:2px solid #afc6c1;border-radius:12px;background:#fff;padding:7px 10px;font-weight:900}
.fp-error-card,.fp-detective{min-width:min(720px,96%);padding:22px;border:3px solid #e39b81;border-radius:18px;background:#fff2e9;display:grid;place-items:center;gap:14px}.fp-error-card>div{font-size:30px;display:flex;align-items:center;gap:9px}.fp-error-card p,.fp-detective p{margin:0;font-size:18px;font-weight:800;text-align:center}.fp-magnifier{font-size:55px;line-height:1;color:#385274;animation:fp-scan 2s ease-in-out infinite}
.fp-garden{width:min(850px,100%);display:grid;gap:10px}.fp-garden-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;padding:12px;background:#a96f43;border:8px solid #8a5738;border-radius:16px}.fp-garden-grid button{min-width:0;height:74px;border:2px solid #795039;border-radius:7px;background:#6f472e;color:#fff;font-size:27px}.fp-garden-grid button.tulip{background:#663d2a}.fp-garden-grid button.daisy{background:#76533c}.fp-garden-grid button span{filter:drop-shadow(0 4px 2px #2b1b1666)}
.fp-kite{width:min(900px,100%);display:grid;grid-template-columns:1.25fr .75fr;gap:14px;align-items:center}.fp-ribbon-line{display:flex;gap:2px;align-items:center;padding:13px;border-radius:16px;background:linear-gradient(160deg,#e7f6ff,#cfeaf2)}.fp-ribbon-line button{flex:1;min-width:0;height:66px;border:0;background:transparent;padding:0;transition:.3s}.fp-ribbon-line button.removed{opacity:.15;transform:translateY(22px) rotate(8deg)}.fp-ribbon-line img,.fp-break-tray img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #2c496644)}.fp-break-tray{min-height:120px;border:3px dashed #637b96;border-radius:16px;padding:8px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;align-items:center}.fp-break-tray b{grid-column:1/-1;text-align:center}.fp-break-tray img{height:35px}
.fp-mosaic-pieces{display:flex;gap:8px}.fp-mosaic-pieces .fp-button{font-size:26px;color:var(--fp-teal)}
.fp-pitcher{grid-template-columns:minmax(180px,.55fr) 1fr;align-items:center}.fp-pitcher img{width:min(280px,100%);height:220px;object-fit:contain;filter:drop-shadow(0 9px 6px #275c6b44);animation:fp-pour 1.5s ease-in-out both}.fp-pitcher p{grid-column:1/-1}.fp-pitcher.poured img{transform:rotate(0);opacity:.88}
.fp-trail-rail{width:96%;display:grid;grid-template-columns:repeat(8,1fr);position:relative;padding-top:45px}.fp-trail-rail:before{content:'';position:absolute;left:5%;right:5%;top:63px;height:9px;border-radius:9px;background:#8b7658}.fp-trail-rail button{min-width:0;min-height:70px;border:0;background:transparent;z-index:1;color:var(--fp-ink)}.fp-trail-rail i{display:block;width:18px;height:18px;border-radius:50%;background:#fff;border:4px solid #d9915a;margin:0 auto 6px}.fp-trail-rail span{font-weight:800;font-size:12px}.fp-hiker{position:absolute!important;left:calc((100% / 7) * var(--fp-step));top:0;font-size:37px;transition:.5s;filter:drop-shadow(0 5px 3px #32405544)}
.fp-route-map{width:min(780px,100%);display:grid;gap:14px;place-items:center}.fp-route-map>span,.fp-detective>span{justify-self:start;background:#e8f2ef;border-radius:999px;padding:5px 10px;font-weight:900}.fp-route-map>p{font-size:22px;font-weight:900;text-align:center;margin:0}.fp-route-map>div{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px}.fp-route-map b{padding:24px;border-radius:18px;text-align:center;background:#f4d9b7}.fp-route-map b+ b{background:#cce9ea}
.fp-create-controls{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.fp-create-controls label{display:grid;gap:3px;font-size:10px;font-weight:900;color:#66758a}.fp-create-controls select{min-width:92px;min-height:44px;border:2px solid #6b8299;border-radius:10px;background:#fff;padding:4px;color:var(--fp-ink);font:800 14px inherit}.fp-created-story{width:100%;display:grid;gap:8px;background:#fff6da;border:2px solid #e1b75b;border-radius:16px;padding:12px;text-align:center}.fp-created-story b,.fp-created-story span{font-size:16px}.fp-created-story .fp-strip{margin:auto}
.fp-final-equation{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:900}.fp-final-proof label{display:grid;gap:5px;width:100%;font-weight:900}.fp-final-proof textarea{width:100%;resize:none;border:2px solid #7890a2;border-radius:12px;padding:9px;font:600 14px/1.35 inherit;box-sizing:border-box}
.fp-finish{display:grid;place-items:center;text-align:center;gap:10px;padding:25px}.fp-finish>span{background:#f1c75b;border-radius:999px;padding:8px 15px;font-weight:900;letter-spacing:.06em}.fp-finish h2,.fp-finish p{margin:0;max-width:700px}
.fp-asset-gate{height:100%;display:grid;place-items:center;align-content:center;text-align:center}.fp-asset-gate h1,.fp-asset-gate p{margin:5px}
.fp-report{border:1px solid #ccdcd8;border-radius:12px;padding:10px}.fp-report h3,.fp-report p{margin:0 0 4px}
@keyframes fp-scan{50%{transform:translateX(45px) rotate(8deg)}}@keyframes fp-pour{0%{transform:rotate(-4deg)}50%{transform:rotate(5deg)}100%{transform:rotate(0)}}
@media(max-width:700px){
  .grade4-fp-board{padding:4px!important;overflow:auto}.fp-scene{gap:4px}.fp-scene>header{align-items:center}.fp-scene>header span{font-size:9px}.fp-scene>header h1{font-size:16px}.fp-workspace{padding:7px;border-radius:14px;min-height:260px}.fp-button{min-height:44px;padding:7px 9px;font-size:12px}.fp-controls{gap:6px}.fp-strip{gap:2px;padding:4px;border-width:2px}.fp-cell{height:46px;border-width:1px}.fp-story-arrow{font-size:17px;gap:7px}.fp-sort{grid-template-columns:1fr;gap:7px}.fp-card-bank{flex-direction:row;flex-wrap:wrap}.fp-card-bank .fp-button{flex:1 1 100px}.fp-bucket{min-height:98px;font-size:12px;padding:6px}.fp-bucket span{padding:4px}.fp-garden-grid{gap:2px;padding:6px;border-width:5px}.fp-garden-grid button{height:48px;font-size:18px}.fp-kite{grid-template-columns:1fr}.fp-ribbon-line button{height:42px}.fp-break-tray{min-height:70px}.fp-pitcher{grid-template-columns:120px 1fr}.fp-pitcher img{height:130px}.fp-route-map>p{font-size:17px}.fp-route-map b{padding:14px}.fp-error-card,.fp-detective{min-width:0;width:100%;padding:12px}.fp-error-card>div{font-size:21px}.fp-create-controls{gap:4px}.fp-create-controls select{min-width:76px}.fp-final-equation{font-size:19px}.fp-help p{font-size:11px}
}
@media(max-width:420px){.fp-workspace{min-height:250px}.fp-controls .fp-button{flex:1 1 105px}.fp-pitcher{grid-template-columns:105px 1fr}.fp-pitcher img{height:115px}.fp-garden-grid button{height:44px}.fp-trail-rail span{font-size:10px}.fp-frac{min-width:24px}.fp-break-tray{grid-template-columns:repeat(4,1fr)}}
/* Dokunmatik görev nesneleri: görsel oranı korurken gerçek hedef en az 44 px kalır. */
.fp-help .fp-button{min-height:44px}
.fp-garden-grid{grid-template-columns:repeat(10,minmax(44px,1fr));overflow-x:auto}
.fp-garden-grid button{min-width:44px}
.fp-ribbon-line{overflow-x:auto}
.fp-ribbon-line button{flex:1 0 44px;min-width:44px;min-height:44px}
.fp-kite{grid-template-columns:1fr;gap:8px}
.fp-ribbon-line{gap:1px;padding:8px;overflow:visible}
.fp-ribbon-line button{height:50px}
.fp-break-tray{min-height:70px}
.fp-pitcher{grid-template-columns:minmax(130px,.45fr) minmax(0,1fr)}
.fp-pitcher .fp-strip{width:100%;grid-template-columns:repeat(var(--fp-den),minmax(18px,1fr))}
@media(max-width:700px){
  .fp-garden-grid{grid-template-columns:repeat(5,minmax(44px,1fr));overflow:visible}
  .fp-ribbon-line{display:grid;grid-template-columns:repeat(5,44px);justify-content:center;overflow:visible}
  .fp-ribbon-line button{width:44px}
  .fp-pitcher{grid-template-columns:105px minmax(0,1fr)}
  .fp-pitcher .fp-strip{width:100%;grid-template-columns:repeat(var(--fp-den),minmax(18px,1fr))}
  .fp-trail-rail{width:100%;grid-template-columns:repeat(8,minmax(44px,1fr));overflow-x:auto}
  .fp-trail-rail button{min-width:44px}
}
@media(prefers-reduced-motion:reduce){.fp-hiker,.fp-ribbon-line button,.fp-pitcher img,.fp-magnifier{animation:none!important;transition:none!important}}

/* grade4-metric-conversions.css */
.grade4-mc-shell{--mc-ink:#173b4c;--mc-teal:#27a8a0;--mc-coral:#ef8069;--mc-gold:#f5c84d;--mc-blue:#4f83cf;--mc-paper:#fffdf5}
.grade4-mc-board{padding:8px!important;overflow:hidden;background:linear-gradient(145deg,#fffdf5,#eaf8f6)!important}
.mc-scene{height:100%;min-height:0;display:grid;grid-template-rows:auto 1fr auto;gap:7px;color:var(--mc-ink)}
.mc-scene>header{display:flex;align-items:baseline;gap:10px;padding:0 5px}.mc-scene>header span{font-size:11px;font-weight:900;letter-spacing:.11em;color:#9a493e}.mc-scene>header h1{margin:0;font-size:clamp(17px,2vw,26px);line-height:1.08}
.mc-workspace{min-height:0;border:2px solid #bfddd8;border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 9px 22px #28465b18;display:grid;place-items:center;padding:10px;overflow:hidden;position:relative}.mc-result{text-align:center}.mc-result p{margin:0;font-weight:900;color:#23766f}.mc-result small{display:block}
.mc-button{min-width:48px;min-height:48px;border:2px solid #2f5870;border-radius:14px;background:#fff;color:var(--mc-ink);font:800 14px/1.15 inherit;padding:8px 14px;box-shadow:0 4px 0 #bfd3dc;cursor:pointer;touch-action:manipulation}.mc-button:hover,.mc-button:focus-visible{transform:translateY(-1px);outline:3px solid var(--mc-gold);outline-offset:2px}.mc-button:active{transform:translateY(2px);box-shadow:0 2px 0 #bfd3dc}.mc-button.selected{background:#fff0bd}
.mc-controls,.mc-support{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;width:100%}.mc-support .mc-button{min-height:44px;padding:6px 12px;font-size:13px}.mc-help{margin-top:6px;border:2px solid #e1b74d;border-radius:14px;background:#fff8d9;padding:9px;display:grid;gap:7px}.mc-help>div{display:flex;justify-content:space-between;align-items:center}.mc-help p{margin:0;font-size:13px;line-height:1.28}.mc-help .mc-button{min-height:44px}.mc-focus{outline:4px solid var(--mc-gold);outline-offset:-4px}
.mc-groups{width:min(720px,96%);display:grid;grid-template-columns:repeat(var(--mc-count),minmax(32px,1fr));gap:5px}.mc-groups i{height:54px;border:2px dashed #8ca6b3;border-radius:8px;background:#fff}.mc-groups i.filled{background:linear-gradient(#ffd96d,#f5bd35);border-style:solid}.mc-groups span{font:700 10px inherit}.mc-groups.mini{width:230px}.mc-groups.mini i{height:28px}
.mc-tape-hook,.mc-tailor{width:min(860px,100%);display:grid;place-items:center;gap:7px}.mc-tape-hook img,.mc-tailor img{width:min(690px,92%);height:230px;object-fit:contain;filter:drop-shadow(0 10px 6px #173b4c40);animation:mc-tape-arrive .7s ease-out}.mc-endpoints{width:min(690px,88%);display:grid;grid-template-columns:16px 1fr 16px;align-items:center;margin-top:-38px;z-index:2}.mc-endpoints:before{content:'';height:5px;background:#375f74;grid-column:1/-1;grid-row:1}.mc-endpoints i{width:15px;height:15px;border-radius:50%;background:var(--mc-coral);z-index:1}.mc-endpoints i:last-child{justify-self:end}.mc-endpoints b{justify-self:center;z-index:2;background:#fff;border:2px solid #375f74;border-radius:999px;padding:7px 14px}.mc-tape-hook p,.mc-tailor p{margin:0;font-weight:800;text-align:center}
.mc-unit-station{width:min(900px,100%);display:grid;grid-template-columns:.75fr 1.25fr;gap:14px}.mc-object-bank{display:grid;align-content:center;gap:8px}.mc-tool-targets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mc-tool-targets button,.mc-mass-targets button{min-height:180px;border:3px dashed #6e91a0;border-radius:17px;background:#f2fbfa;color:var(--mc-ink);display:grid;align-content:start;gap:10px;padding:12px;font:800 13px inherit}.mc-tool-targets b,.mc-mass-targets b{background:#d9f1ee;border-radius:999px;padding:7px}.mc-tool-targets span,.mc-mass-targets span{line-height:1.35}
.mc-meter-bench{width:min(900px,100%);display:grid;gap:12px}.mc-meter-line{display:grid;grid-template-columns:auto repeat(10,1fr);gap:3px;align-items:end;padding:18px 10px 10px;border-radius:16px;background:linear-gradient(#debe8e,#b9804d);box-shadow:inset 0 -8px #81552f}.mc-meter-line>b{align-self:center;padding:9px;background:#fff7dd;border-radius:10px}.mc-meter-line button{min-width:44px;min-height:92px;border:2px solid #48677c;background:#fff8e7;border-radius:7px;color:#6a7882;transition:.25s}.mc-meter-line button.placed{background:var(--mc-gold);color:var(--mc-ink);transform:translateY(-7px);box-shadow:0 7px #b97b2b}.mc-meter-line span{writing-mode:vertical-rl;font:800 11px inherit}.mc-meter-bench p{margin:0;text-align:center;font-size:19px;font-weight:900}
.mc-length-tags{display:flex;align-items:center;gap:8px;margin-top:-36px;z-index:2}.mc-length-tags span,.mc-length-tags strong{background:#fff;border:2px solid #3b6177;border-radius:12px;padding:8px 12px;font-size:19px}.mc-length-tags strong{background:#fff2b9;font-size:25px}
.mc-ruler{width:min(760px,96%);height:115px;border:3px solid #a47631;border-radius:12px;background:linear-gradient(#fff0a9,#e9bd57);display:grid;grid-template-columns:repeat(11,1fr);align-items:start;padding:0 9px;box-shadow:0 8px 16px #5d452333;transition:.5s}.mc-ruler i{height:47px;border-left:2px solid #253f51;position:relative}.mc-ruler i:nth-child(even){height:34px}.mc-ruler i.cm{height:75px;border-width:4px}.mc-ruler span{position:absolute;top:77px;left:-12px;white-space:nowrap;font:800 12px inherit}.mc-ruler.zoomed{transform:scale(1.04);box-shadow:0 0 0 10px #72c8c855,0 12px 25px #2e5a5c33}.mc-magnifier-lab{width:min(880px,100%);display:grid;place-items:center;gap:18px}.mc-magnifier{width:88px;height:88px;border:8px solid #3c7087;border-radius:50%;background:#d9f9ff99;color:#214b60;font-size:50px;line-height:1;box-shadow:13px 15px 0 -6px #3c7087;transition:.45s}.mc-magnifier.active{transform:translateY(-75px) scale(1.15);margin-bottom:-70px}.mc-magnifier-lab p{margin:0;font-weight:900}
.mc-jewelry{width:min(850px,100%);display:grid;place-items:center;gap:10px}.mc-pendant{width:170px;height:90px;border-radius:50% 50% 45% 45%;background:radial-gradient(circle at 50% 35%,#ffe898,#dc9c24);border:4px solid #7d5b24;box-shadow:0 10px 0 #72511a33;display:grid;place-items:center;position:relative}.mc-pendant i{position:absolute;width:24px;height:24px;border:5px solid #7d5b24;border-radius:50%;top:-25px}.mc-pendant span{background:#fff9;border-radius:9px;padding:5px;font-weight:900}
.mc-precision-chain{width:min(850px,100%);display:grid;place-items:center;gap:12px}.mc-precision-chain>div:first-child{display:flex;align-items:center;gap:13px}.mc-precision-chain b,.mc-precision-chain>div:first-child span{border:2px solid #417087;border-radius:12px;padding:12px 16px;background:#fff;font-size:19px;font-weight:900}.mc-precision-chain>div:first-child span:last-child{background:#d9f2ef}.mc-precision-chain p{margin:0;text-align:center;font-weight:800}
.mc-route-build,.mc-route-check{width:min(900px,100%);display:grid;gap:16px}.mc-map-road{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;position:relative;padding:48px 8px 14px;border-radius:18px;background:linear-gradient(#c8ecbf 0 39%,#6c7680 40% 76%,#b5e0a8 77%)}.mc-map-road i{height:52px;border-left:2px dashed #fff8;display:grid;place-items:end center}.mc-map-road i.done{background:#f8d65a55}.mc-map-road i span{font:800 10px inherit;background:#fff9;padding:2px;border-radius:4px}.mc-car{position:absolute;left:calc(2% + (var(--mc-step) * 9.2%));top:34px;font-size:40px;filter:drop-shadow(0 7px 3px #22394455);transition:.5s}.mc-odometer{justify-self:center;display:flex;gap:4px;align-items:center;border:5px solid #244b5f;border-radius:14px;background:#102d3a;color:#bfffe9;padding:10px 15px;font-family:ui-monospace,monospace}.mc-odometer b,.mc-odometer strong{font-size:23px}.mc-odometer strong{color:#ffe278}.mc-map-pin{min-height:155px;border-radius:18px;background:linear-gradient(150deg,#d5efc7,#b9d9f1);display:flex;align-items:center;justify-content:space-around;font-size:28px;font-weight:900}.mc-map-pin span{background:#fff;border-radius:12px;padding:10px;color:#37637a}
.mc-market-sort{width:min(880px,100%);display:grid;grid-template-columns:.7fr 1.3fr;gap:14px}.mc-mass-bank{display:grid;align-content:center;gap:8px}.mc-mass-targets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mc-mass-targets button{min-height:170px}.mc-mass-targets b{font-size:28px}
.mc-scale-lab{width:min(900px,100%);display:grid;grid-template-columns:.9fr 1.1fr;gap:14px;align-items:center}.mc-pack-bank{display:flex;gap:8px;align-items:end;justify-content:center;min-height:215px}.mc-pack{width:120px;height:190px;min-width:80px;border:2px solid #315e72;border-radius:14px;background-image:url('/demo/assets/generated/grade4/theme2/metric-conversions/mass-packages-v1.png');background-repeat:no-repeat;background-color:#fff;background-size:315% auto;box-shadow:0 8px 10px #2442542b;padding:0}.mc-pack.p500{background-position:56% 48%;height:170px}.mc-pack.p250{background-position:100% 48%;height:145px}.mc-pack img{display:none}.mc-scale{min-height:245px;border:0;border-radius:28px 28px 16px 16px;background:linear-gradient(#9fd2d5 0 52%,#365f6f 53%);box-shadow:0 12px 0 #294d5a;display:grid;align-content:end;justify-items:center;padding:15px;color:#fff}.mc-scale>span{align-self:end;display:flex;gap:5px;min-height:70px}.mc-scale i{background:#fff;color:var(--mc-ink);border-radius:8px;padding:6px;font:900 11px inherit}.mc-scale b,.mc-scale strong{font:900 25px ui-monospace,monospace}.mc-scale strong{color:#ffe16a}
.mc-parcel{width:min(780px,100%);display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}.mc-box{height:180px;border:4px solid #8a5c2c;background:linear-gradient(135deg,#dca867,#b87b3e);clip-path:polygon(5% 12%,95% 0,100% 86%,0 100%);display:grid;place-items:center;font-size:25px;font-weight:900;color:#5c3218}.mc-box small{background:#fff9;padding:8px;border-radius:9px}.mc-digital-scale{border:7px solid #31596d;border-radius:20px;background:#102c39;color:#c9ffe8;padding:25px;display:grid;place-items:center}.mc-digital-scale span{font:900 42px ui-monospace,monospace}.mc-digital-scale b{color:#ffe06b}
.mc-weighbridge{width:min(900px,100%);display:grid;gap:12px}.mc-truck{height:140px;border-bottom:16px solid #4e5961;display:flex;align-items:end;justify-content:center;font-size:105px;line-height:1;position:relative}.mc-truck span{position:absolute;top:3px;background:#fff;border:3px solid #335a6d;border-radius:12px;padding:7px;font:900 18px inherit}.mc-load-blocks{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}.mc-load-blocks i{min-height:50px;border:2px solid #9e672e;border-radius:6px;background:#f1b65e;display:grid;place-items:center;font:800 10px inherit}.mc-load-blocks i.loaded{background:#5bbab1;color:#fff}.mc-weighbridge p{margin:0;text-align:center;font-weight:900}
.mc-freight{width:min(820px,100%);display:grid;gap:15px}.mc-ton-bays{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:17px;border-radius:18px;background:#e4edf1}.mc-ton-bays i{height:120px;border:3px solid #455f6c;border-radius:10px;background:linear-gradient(#f5c75b,#e99b3f);display:grid;place-items:center;font-weight:900;box-shadow:0 7px #334b57}.mc-ton-bays i.remainder{background:linear-gradient(#64c2bb,#32968f)}.mc-freight p{margin:0;text-align:center;font-size:27px;font-weight:900}
.mc-detective{width:min(760px,100%);padding:22px;border:3px solid #df947a;border-radius:18px;background:#fff0e6;display:grid;place-items:center;gap:10px}.mc-detective>span{justify-self:start;background:#fff;border-radius:999px;padding:6px 10px;font-weight:900}.mc-detective p{margin:0;font-size:20px;font-weight:900;text-align:center}.mc-lens{font-size:65px;color:#355f73;animation:mc-scan 2s ease-in-out infinite}
.mc-final-proof{width:min(780px,100%);display:grid;gap:13px}.mc-create-controls{display:flex;justify-content:center}.mc-create-controls label{display:grid;gap:4px;font-size:11px;font-weight:900}.mc-create-controls select{min-height:44px;border:2px solid #527488;border-radius:10px;background:#fff;padding:6px;font:800 14px inherit}.mc-proof-card{display:grid;grid-template-columns:1fr 1fr auto 1fr;gap:8px;align-items:center;padding:18px;border:3px solid #4e7b8d;border-radius:17px;background:#e8f5f2;text-align:center}.mc-proof-card b{grid-column:1/-1;font-size:20px}.mc-proof-card span{background:#fff;border-radius:10px;padding:10px;font-size:21px;font-weight:900}.mc-final-proof>label{display:grid;gap:5px;font-weight:900}.mc-final-proof textarea{width:100%;box-sizing:border-box;resize:none;border:2px solid #678496;border-radius:12px;padding:9px;font:600 14px/1.35 inherit}.mc-finish{display:grid;place-items:center;text-align:center;gap:10px;padding:25px}.mc-finish>span{background:var(--mc-gold);border-radius:999px;padding:8px 15px;font-weight:900}.mc-finish h2,.mc-finish p{margin:0;max-width:700px}.mc-asset-gate{height:100%;display:grid;place-items:center;align-content:center;text-align:center}.mc-report{border:1px solid #c6dcd8;border-radius:12px;padding:10px}.mc-report h3,.mc-report p{margin:0 0 4px}.mc-drag-ghost{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-50%) rotate(-3deg);opacity:.9}
@keyframes mc-tape-arrive{from{transform:translateY(18px) rotate(-2deg);opacity:.2}}@keyframes mc-scan{50%{transform:translateX(50px) rotate(8deg)}}
@media(max-width:700px){.grade4-mc-board{padding:4px!important;overflow:auto}.mc-scene{gap:4px}.mc-scene>header{align-items:center}.mc-scene>header span{font-size:9px}.mc-scene>header h1{font-size:16px}.mc-workspace{padding:7px;border-radius:14px;min-height:270px;overflow:auto}.mc-button{min-height:44px;padding:7px 9px;font-size:12px}.mc-controls{gap:5px}.mc-tape-hook img,.mc-tailor img{height:145px}.mc-endpoints{margin-top:-25px}.mc-unit-station,.mc-market-sort{grid-template-columns:1fr;gap:7px}.mc-object-bank,.mc-mass-bank{grid-template-columns:repeat(3,1fr)}.mc-tool-targets button,.mc-mass-targets button{min-height:96px;padding:6px}.mc-meter-line{grid-template-columns:repeat(5,minmax(44px,1fr));overflow:auto}.mc-meter-line>b{grid-column:1/-1}.mc-meter-line button{min-width:44px;min-height:55px}.mc-meter-line span{writing-mode:horizontal-tb;font-size:9px}.mc-ruler{height:90px}.mc-ruler i{height:36px}.mc-ruler i.cm{height:58px}.mc-ruler span{top:60px}.mc-magnifier{width:68px;height:68px;font-size:38px}.mc-magnifier.active{transform:translateY(-58px) scale(1.1);margin-bottom:-53px}.mc-precision-chain>div:first-child{gap:5px}.mc-precision-chain b,.mc-precision-chain>div:first-child span{padding:8px;font-size:14px}.mc-map-road{overflow-x:auto;grid-template-columns:repeat(10,minmax(44px,1fr))}.mc-car{left:calc(2% + (var(--mc-step) * 43px));font-size:34px}.mc-scale-lab{grid-template-columns:1fr}.mc-pack-bank{min-height:130px}.mc-pack{width:86px;height:125px}.mc-pack.p500{height:120px}.mc-pack.p250{height:100px}.mc-scale{min-height:160px}.mc-parcel{grid-template-columns:1fr}.mc-box{height:110px}.mc-truck{height:100px;font-size:75px}.mc-load-blocks{grid-template-columns:repeat(5,minmax(44px,1fr))}.mc-ton-bays{grid-template-columns:repeat(3,minmax(72px,1fr));overflow:auto}.mc-ton-bays i{height:75px}.mc-proof-card{grid-template-columns:1fr 1fr auto 1fr}.mc-help p{font-size:11px}}
@media(max-width:420px){.mc-workspace{min-height:255px}.mc-controls .mc-button{flex:1 1 105px}.mc-tool-targets,.mc-mass-targets{grid-template-columns:repeat(3,minmax(82px,1fr));overflow-x:auto}.mc-ruler{width:100%}.mc-map-pin{font-size:19px}.mc-odometer b,.mc-odometer strong{font-size:18px}.mc-proof-card span{font-size:16px;padding:7px}.mc-meter-line{grid-template-columns:repeat(5,minmax(44px,1fr))}}
@media(prefers-reduced-motion:reduce){.mc-tape-hook img,.mc-tailor img,.mc-car,.mc-lens,.mc-meter-line button,.mc-ruler{animation:none!important;transition:none!important}}
.mc-scale .mc-loaded-pack{position:relative;width:78px;height:106px;padding:0;background-image:url('/demo/assets/generated/grade4/theme2/metric-conversions/mass-packages-v1.png');background-repeat:no-repeat;background-color:#fff;background-size:315% auto;box-shadow:0 5px 8px #1b344c3b}.mc-pack.p500,.mc-scale .mc-loaded-pack.p500{background-position:67% 48%}.mc-scale .mc-loaded-pack.p250{height:106px;background-position:100% 48%}.mc-pack.p250,.mc-scale .mc-loaded-pack.p250{background-size:340% auto}.mc-loaded-pack em{position:absolute;left:4px;right:4px;bottom:3px;padding:2px;border-radius:5px;background:#ffffffde;color:var(--mc-ink);font-style:normal}
.mc-alt-visual{padding:8px;border-radius:12px;background:#f6fbfa;color:var(--mc-ink)}.mc-alt-tools,.mc-alt-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.mc-alt-tools span,.mc-alt-checks span,.mc-alt-chain span,.mc-alt-chain b,.mc-alt-chain strong{display:grid;place-items:center;min-height:42px;padding:5px;border:2px solid #9bcac4;border-radius:9px;background:#fff;text-align:center;font-size:11px}.mc-alt-tools b{color:#087d78}.mc-alt-segments,.mc-alt-route,.mc-alt-packs{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.mc-alt-segments>b,.mc-alt-route>strong,.mc-alt-packs>strong{flex:1 0 100%;text-align:center}.mc-alt-segments i,.mc-alt-route i,.mc-alt-packs i{flex:1;min-width:38px;padding:6px 2px;border-radius:7px;background:#65bdb4;color:#fff;text-align:center;font:800 9px inherit}.mc-alt-sum,.mc-alt-chain{display:grid;grid-template-columns:repeat(5,auto);gap:5px;align-items:center}.mc-alt-sum>*{padding:5px;border-radius:7px;background:#fff;text-align:center;font-size:10px}.mc-alt-sum strong{background:#ffe7a8}.mc-alt-chain{grid-template-columns:repeat(3,1fr)}.mc-alt-marks{display:grid;grid-template-columns:repeat(10,1fr);gap:3px;align-items:end}.mc-alt-marks b,.mc-alt-marks strong{grid-column:1/-1;text-align:center}.mc-alt-marks i{height:25px;border-left:2px solid #315e72}

/* grade4-mental-add-subtract.css */
.grade4-mas-shell{--mas-ink:#17324a;--mas-teal:#087f83;--mas-orange:#e36c32;--mas-yellow:#f2b93b;--mas-blue:#318ac7;--mas-paper:#fffdf7;--mas-line:#cfddd9}.grade4-mas-board{overflow:hidden;background:linear-gradient(145deg,#effaf7 0%,#fff8e9 58%,#edf5ff 100%);color:var(--mas-ink)}
.mas-scene{min-height:100%;display:flex;flex-direction:column;padding:clamp(12px,2vw,24px);box-sizing:border-box}.mas-scene>header{display:flex;align-items:center;gap:12px;margin-bottom:10px}.mas-scene>header span{flex:none;padding:6px 10px;border-radius:999px;background:#17324a;color:white;font:800 11px/1.1 system-ui;letter-spacing:.08em}.mas-scene>header h1{margin:0;font:800 clamp(19px,2.4vw,30px)/1.1 system-ui}.mas-workspace{flex:1;min-height:0;display:grid;place-items:center;padding:6px;transition:filter .2s,outline .2s}.mas-workspace.mas-focus{outline:4px solid #f2b93b99;outline-offset:-4px;border-radius:22px}.mas-result{min-height:0}.mas-result p{margin:8px 0 0;padding:9px 12px;border-radius:14px;background:#e2f6ed;color:#176646;font-weight:800}.mas-result small{display:block;margin-top:4px}.mas-controls{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}.mas-button{min-height:44px;min-width:92px;border:1px solid #9eb9b4;border-radius:14px;background:#fffdf9;color:#17324a;padding:9px 14px;font:800 14px/1.2 system-ui;box-shadow:0 3px 0 #c8d9d5;cursor:pointer}.mas-button:hover,.mas-button:focus-visible,.mas-button.selected{border-color:#087f83;outline:3px solid #8cdad3;background:#e7fbf7}.mas-button:disabled{opacity:.68;cursor:default}.mas-instruction{font-weight:800;color:#38536a}.mas-asset-gate{min-height:300px;display:grid;place-content:center;text-align:center;padding:24px}.mas-asset-gate h1{margin:0 0 8px}.mas-asset-gate p{margin:0 0 18px}.mas-support{display:flex;justify-content:center;gap:8px;margin-top:6px}.mas-support .mas-focus{outline:4px solid #f2b93b}.mas-help-slot{position:relative}.mas-help{position:absolute;z-index:20;right:8px;bottom:8px;width:min(560px,calc(100vw - 32px));max-height:min(62vh,440px);overflow:auto;box-sizing:border-box;padding:14px;border:2px solid #85bdb7;border-radius:18px;background:#fffdf7;box-shadow:0 15px 40px #17324a33}.mas-help>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.mas-help>div:first-child>b{font-size:12px;letter-spacing:.08em}.mas-help p{margin:10px 0;color:#29475e}.mas-alt-visual{display:grid;place-items:center;min-height:104px;padding:10px;border-radius:14px;background:#edf8f6}.mas-alt-place{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;width:100%}.mas-alt-place span{display:grid;place-items:center;min-height:58px;border-radius:10px;background:#fff;border:1px solid #b9d8d4;font-size:20px}.mas-alt-place b{font-size:11px}.mas-parts{display:flex;justify-content:center;align-items:stretch;gap:8px;flex-wrap:wrap}.mas-parts span{display:grid;place-items:center;min-width:92px;padding:9px;border-radius:13px;background:#fff;border:2px solid #b8d7d3}.mas-parts b{font-size:18px}.mas-parts small{margin-top:3px;color:#557080}.mas-alt-transfer,.mas-alt-down,.mas-alt-work{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.mas-alt-transfer span,.mas-alt-down span,.mas-alt-down strong,.mas-alt-work span,.mas-alt-work strong{padding:9px 11px;border-radius:11px;background:#fff;border:1px solid #b8d7d3}.mas-alt-transfer i,.mas-alt-down i,.mas-alt-work i{font-style:normal;color:#b55329;font-weight:900}.mas-alt-transfer strong,.mas-alt-work b{width:100%;text-align:center}.mas-number-route{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}.mas-number-route>div{display:flex;align-items:center;opacity:.28;transition:.3s}.mas-number-route>div.active{opacity:1}.mas-number-route b,.mas-number-route strong{padding:8px;border-radius:10px;background:white}.mas-number-route i{min-width:60px;border-bottom:4px solid #e36c32;text-align:center;font-style:normal;font-weight:900;color:#b55329}.mas-report{margin:12px 0;padding:12px 14px;border-radius:16px;background:#edf8f6}.mas-report h3,.mas-report p{margin:0 0 5px}.mas-report small{color:#536c79}
.mas-hook-routes{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.mas-hook-question{grid-column:1/-1;text-align:center}.mas-hook-question b{display:block;font-size:clamp(27px,4vw,44px)}.mas-hook-question span{display:block;margin-top:4px}.mas-hook-routes>button{min-height:210px;border:2px solid #b9d6d1;border-radius:22px;background:#fff;padding:14px;color:var(--mas-ink);cursor:pointer;box-shadow:0 8px 18px #17324a14}.mas-hook-routes>button.seen{border-color:#087f83;background:#e8fbf7}.mas-hook-routes>button>strong{display:block;margin-bottom:12px;color:#087f83}.mas-hook-routes>button>b{display:block;margin-top:12px;font-size:20px}.mas-mini-transfer{display:flex;align-items:center;justify-content:center;gap:8px}.mas-mini-transfer span{padding:9px;border-radius:10px;background:#eef5ff;font-weight:900}.mas-mini-transfer i{font-style:normal;color:#e36c32;font-weight:900}.mas-route-cover{display:grid;place-items:center;min-height:108px;padding:12px;border:2px dashed #b7d5d0;border-radius:16px;color:#536c79;font-weight:800}
.mas-scanner{width:min(900px,100%);display:grid;grid-template-columns:1fr 1.2fr;gap:10px;align-items:center}.mas-digit-row{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.mas-digit-row button{aspect-ratio:1;border:2px solid #9fc6c0;border-radius:15px;background:white;font:900 clamp(28px,4vw,46px)/1 system-ui;color:#17324a;cursor:pointer}.mas-crate-stage{grid-row:span 2;position:relative;min-width:0}.mas-crate-stage img,.mas-cargo>img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;filter:drop-shadow(0 8px 8px #17324a20)}.mas-crate-labels{display:grid;grid-template-columns:34% 27% 21% 18%;text-align:center;margin-top:-7px;font-size:12px}.mas-scan-value{padding:10px;border-radius:12px;background:#fff;border:1px solid #c4dad7;text-align:center}.mas-value-bank{grid-column:1/-1;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.mas-cargo{width:min(880px,100%);display:grid;grid-template-columns:1fr 1.3fr;gap:12px;align-items:center}.mas-cargo-inputs{display:grid;gap:10px}.mas-cargo-inputs div{padding:13px;border-radius:15px;background:white;border:2px solid #b7d5d0}.mas-cargo-inputs b{display:block;font-size:26px}.mas-cargo-inputs span{color:#536c79}.mas-cargo>img{grid-row:span 2}.mas-merge-track{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,auto);justify-content:center;align-items:center;gap:7px}.mas-merge-track>*{padding:8px 10px;border-radius:10px;background:#fff}.mas-merge-track b{background:#17324a;color:white;font-size:20px}
.mas-transfer,.mas-transfer-lab,.mas-proof-complete{width:min(760px,100%);display:grid;place-items:center;gap:14px}.mas-transfer-equation,.mas-transfer-lab>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;width:100%}.mas-transfer-equation>span,.mas-transfer-lab span{display:grid;place-items:center;min-height:110px;padding:12px;border-radius:22px;background:white;border:3px solid #acd0cb}.mas-transfer-equation b,.mas-transfer-lab b{font-size:clamp(29px,5vw,48px)}.mas-transfer-equation small,.mas-transfer-lab small{color:#617885}.mas-moving-hundreds{display:flex;gap:4px;transition:transform .55s}.mas-moving-hundreds.moved{transform:translateX(-48px)}.mas-moving-hundreds i,.mas-transfer-lab>div>i,.mas-proof-token{display:grid;place-items:center;width:58px;height:58px;border-radius:12px;background:#f5b83f;color:#563e00;font-style:normal;font-weight:900;box-shadow:0 5px 0 #c88b1d}.mas-transfer-arrow{font-weight:800;color:#b55329}.mas-transfer>strong,.mas-transfer-lab>strong,.mas-proof-complete>strong{padding:10px 16px;border-radius:13px;background:#17324a;color:white;font-size:24px}.mas-transfer-lab>div>i.moved,.mas-proof-token.moved{transform:translateX(-38px)}
.mas-subtract-rail{width:min(820px,100%);display:grid;gap:20px}.mas-rail-stops{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;position:relative}.mas-rail-stops:before{content:"";position:absolute;left:10%;right:10%;height:8px;border-radius:99px;background:#bed2dc}.mas-rail-stops>*{z-index:1;justify-self:center;padding:14px;border-radius:50%;background:#fff;border:4px solid #94afb9;font-style:normal;font-size:22px}.mas-rail-stops .passed{border-color:#e36c32;background:#fff1ea}.mas-removed{display:flex;justify-content:center;gap:12px}.mas-removed b{padding:10px 18px;border-radius:12px;background:#fff;border:2px dashed #e36c32}.mas-bridge,.mas-route-lab,.mas-proof-difference{width:min(820px,100%);display:grid;gap:16px}.mas-bridge-label{display:flex;justify-content:space-between;font-size:26px}.mas-bridge p,.mas-proof-difference p{text-align:center;font-size:24px;font-weight:900}
.mas-sorting-bay{width:min(850px,100%);display:grid;gap:17px}.mas-bay-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mas-bay-row span{display:grid;place-items:center;min-height:90px;border-radius:16px;background:#fff;border:2px solid #bdd7d3}.mas-bay-row b{font-size:24px}.mas-sorting-bay p{text-align:center}.mas-step-down{display:grid;grid-template-columns:auto 1fr 1fr;align-items:end;gap:10px;width:min(780px,100%)}.mas-step-down>b{font-size:32px;align-self:start}.mas-down-step{min-height:110px;display:grid;place-items:center;padding:12px;border:3px dashed #b6cbd4;border-radius:17px;background:#fff}.mas-down-step:nth-child(3){transform:translateY(35px)}.mas-down-step.done{border-color:#e36c32}.mas-down-step i{font-style:normal;color:#b55329;font-weight:900}.mas-route-total{text-align:center;padding:12px;border-radius:14px;background:white;font-size:20px}
.mas-workbench{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.mas-workbench>div{padding:14px;border:2px solid #c2d6d3;border-radius:18px;background:#fff}.mas-workbench>.preferred{border-color:#e19a32;background:#fff9e8}.mas-workbench h2{margin:0 0 10px;font-size:16px}.mas-workbench strong,.mas-workbench small{display:block;margin-top:10px;text-align:center}.mas-workbench>p{grid-column:1/-1;margin:0;text-align:center}.mas-distance-choice{width:min(760px,100%);display:grid;gap:18px}.mas-distance-choice>div:first-child{display:flex;justify-content:center;gap:14px;align-items:center;font-size:36px}.mas-distance-ruler{display:grid;grid-template-columns:auto 1fr auto;align-items:center}.mas-distance-ruler i{width:18px;height:18px;border-radius:50%;background:#e36c32}.mas-distance-ruler strong{border-bottom:6px solid #e36c32;text-align:center;padding:9px}.mas-distance-choice p{text-align:center}
.mas-proof-add{width:min(800px,100%);display:grid;gap:16px}.mas-proof-add h2,.mas-proof-difference h2{text-align:center;font-size:32px}.mas-proof-chip-bank{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.mas-proof-tray{min-height:70px;display:grid;place-items:center;border:3px dashed #8ebeb7;border-radius:18px;background:#fff}.mas-proof-complete .mas-transfer-equation>i{transition:transform .5s}.mas-final{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.mas-final-operations,.mas-final-methods,.mas-final-model{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:11px;border-radius:16px;background:#fff}.mas-final-operations{grid-column:1/-1}.mas-final label{display:grid;gap:6px;grid-column:1/-1;font-weight:800}.mas-final textarea{resize:none;box-sizing:border-box;width:100%;min-height:86px;padding:10px;border:2px solid #a8c8c3;border-radius:14px;font:500 15px/1.35 system-ui}.mas-final>small{grid-column:1/-1;text-align:center}.mas-finish{width:min(760px,100%);padding:28px;border-radius:24px;background:white;border:3px solid #8dc6bd;text-align:center}.mas-finish>span{font-weight:900;letter-spacing:.1em;color:#087f83}.mas-finish h2{font-size:clamp(25px,4vw,42px)}
@media(max-width:700px){.mas-scene{padding:9px}.mas-scene>header{gap:7px;margin-bottom:5px}.mas-scene>header span{padding:5px 7px;font-size:9px}.mas-scene>header h1{font-size:18px}.mas-workspace{padding:2px}.mas-hook-routes{grid-template-columns:1fr;gap:7px}.mas-hook-question{grid-column:auto}.mas-hook-question b{font-size:28px}.mas-hook-routes>button{min-height:126px;padding:8px}.mas-hook-routes>button .mas-parts{gap:4px}.mas-hook-routes>button .mas-parts span{min-width:72px;padding:5px}.mas-scanner,.mas-cargo{grid-template-columns:1fr;gap:5px}.mas-digit-row{width:min(300px,100%);justify-self:center}.mas-crate-stage{grid-row:auto}.mas-crate-stage img,.mas-cargo>img{max-height:130px}.mas-crate-labels{font-size:9px}.mas-value-bank{grid-column:auto}.mas-cargo-inputs{grid-template-columns:1fr 1fr}.mas-cargo-inputs div{padding:7px}.mas-cargo-inputs b{font-size:20px}.mas-cargo>img{grid-row:auto}.mas-merge-track{grid-column:auto;grid-template-columns:repeat(3,auto);gap:4px;font-size:11px}.mas-transfer-equation,.mas-transfer-lab>div{gap:7px}.mas-transfer-equation>span,.mas-transfer-lab span{min-height:75px;padding:6px}.mas-transfer-equation b,.mas-transfer-lab b{font-size:27px}.mas-moving-hundreds{flex-direction:column}.mas-moving-hundreds i{width:42px;height:32px}.mas-moving-hundreds.moved{transform:translateX(-22px)}.mas-subtract-rail{gap:8px}.mas-rail-stops>*{padding:9px;font-size:17px}.mas-removed{gap:5px}.mas-removed b{padding:7px 9px}.mas-number-route{gap:2px}.mas-number-route>div{font-size:12px}.mas-number-route b,.mas-number-route strong{padding:5px}.mas-number-route i{min-width:42px}.mas-bay-row{gap:4px}.mas-bay-row span{min-height:64px;font-size:10px}.mas-bay-row b{font-size:18px}.mas-step-down{grid-template-columns:auto 1fr;gap:5px}.mas-step-down>b{grid-row:1/3}.mas-down-step{min-height:60px}.mas-down-step:nth-child(3){transform:none}.mas-workbench{grid-template-columns:1fr;gap:5px}.mas-workbench>div{padding:8px}.mas-workbench>p{grid-column:auto}.mas-workbench .mas-parts span{min-width:75px;padding:5px}.mas-distance-choice{gap:8px}.mas-distance-choice>div:first-child{font-size:27px}.mas-proof-add{gap:7px}.mas-proof-add h2,.mas-proof-difference h2{font-size:25px;margin:0}.mas-proof-tray{min-height:52px}.mas-final{grid-template-columns:1fr;gap:6px}.mas-final-operations,.mas-final-methods,.mas-final-model{grid-column:auto;padding:6px}.mas-final label,.mas-final>small{grid-column:auto}.mas-final textarea{min-height:68px}.mas-help{right:2px;bottom:2px;width:calc(100vw - 12px);max-height:min(54vh,260px);padding:10px}.mas-alt-visual{min-height:78px;padding:6px}.mas-parts span{min-width:74px;padding:6px}.mas-button{min-height:44px;padding:8px 10px;min-width:78px}.mas-controls{gap:6px}}
@media(max-width:420px){.mas-scene>header h1{font-size:16px}.mas-crate-stage img,.mas-cargo>img{max-height:105px}.mas-hook-routes>button{min-height:112px}.mas-transfer>strong,.mas-transfer-lab>strong,.mas-proof-complete>strong{font-size:19px}.mas-rail-stops>*{font-size:14px}.mas-help p{font-size:13px}.family-final .mas-final{gap:3px}.family-final .mas-final-operations,.family-final .mas-final-methods,.family-final .mas-final-model{padding:4px}.family-final .mas-final textarea{min-height:48px}.family-final .mas-final>small{line-height:1.05}.mas-controls .mas-button{font-size:12px}}
@media(max-width:420px){.grade4-mas-shell:has(.family-final) .mas-controls{width:calc(100% - 104px);margin-right:104px}.grade4-mas-shell:has(.family-final) .mas-controls .mas-button{white-space:normal}}
@media(min-width:701px) and (max-height:760px){.mas-scene{padding:10px 18px}.mas-scene>header{margin-bottom:4px}.family-workbench .mas-workbench{gap:7px}.family-workbench .mas-workbench>div{padding:7px}.family-workbench .mas-workbench h2{margin-bottom:5px}.family-workbench .mas-workbench .mas-parts span{padding:5px;min-width:78px}.family-workbench .mas-workbench strong,.family-workbench .mas-workbench small{margin-top:4px}.family-final .mas-final{gap:5px}.family-final .mas-final-operations,.family-final .mas-final-methods,.family-final .mas-final-model{padding:6px}.family-final .mas-final textarea{min-height:58px}}
@media(prefers-reduced-motion:reduce){.grade4-mas-board *{animation:none!important;transition:none!important}}

/* grade4-written-add-subtract.css */
.grade4-was-shell{--was-ink:#19324a;--was-blue:#2578a8;--was-teal:#0a8179;--was-coral:#e36c4c;--was-gold:#efb536;--was-paper:#fffdf8;--was-line:#bfd3d7}.grade4-was-board{overflow:hidden;background:radial-gradient(circle at 85% 12%,#fff0c9 0 12%,transparent 32%),linear-gradient(145deg,#eef9f7,#f7f4ff 54%,#fff7ea);color:var(--was-ink)}
.was-scene{min-height:100%;display:flex;flex-direction:column;padding:clamp(11px,2vw,23px);box-sizing:border-box}.was-scene>header{display:flex;align-items:center;gap:11px;margin-bottom:8px}.was-scene>header span{flex:none;padding:6px 10px;border-radius:999px;background:var(--was-ink);color:#fff;font:900 11px/1.1 system-ui;letter-spacing:.08em}.was-scene>header h1{margin:0;font:850 clamp(19px,2.4vw,30px)/1.1 system-ui}.was-workspace{flex:1;min-height:0;display:grid;place-items:center;padding:5px}.was-workspace.was-focus{outline:4px solid #efb53699;outline-offset:-4px;border-radius:22px}.was-result p{margin:7px 0 0;padding:9px 12px;border-radius:14px;background:#ddf4e9;color:#176348;font-weight:850}.was-result small{display:block;margin-top:4px}.was-controls{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}.was-button{min-height:44px;min-width:92px;border:1px solid #98b7bd;border-radius:14px;background:#fffdf9;color:var(--was-ink);padding:9px 13px;font:800 14px/1.2 system-ui;box-shadow:0 3px 0 #c4d5d8;cursor:pointer}.was-button:hover,.was-button:focus-visible,.was-button.selected{border-color:var(--was-teal);outline:3px solid #8edbd3;background:#e7fbf7}.was-button:disabled{opacity:.68;cursor:default}.was-instruction{font-weight:800;color:#425e70}.was-asset-gate{min-height:300px;display:grid;place-content:center;text-align:center;padding:24px}.was-support{display:flex;justify-content:center;gap:8px;margin-top:6px}.was-support .was-focus{outline:4px solid var(--was-gold)}.was-help-slot{position:relative}.was-help{position:absolute;z-index:30;right:8px;bottom:8px;width:min(590px,calc(100vw - 32px));max-height:min(62vh,445px);overflow:auto;box-sizing:border-box;padding:14px;border:2px solid #83bbb5;border-radius:18px;background:var(--was-paper);box-shadow:0 15px 40px #19324a33}.was-help>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.was-help>div:first-child>b{font-size:12px;letter-spacing:.08em}.was-help p{margin:10px 0;color:#29475d}.was-alt-visual{display:grid;place-items:center;min-height:110px;padding:10px;border-radius:14px;background:#eef8f6}.was-report{margin:12px 0;padding:12px 14px;border-radius:16px;background:#edf8f6}.was-report h3,.was-report p{margin:0 0 5px}.was-report small{color:#536c79}
.was-place-table{width:min(520px,100%);display:grid;gap:4px;padding:8px;border-radius:17px;background:#fff;border:2px solid #adc9ce}.was-place-head,.was-place-row{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.was-place-head b{text-align:center;padding:5px;border-radius:8px;background:#e7f1f5;font-size:11px}.was-place-row span{display:grid;place-items:center;min-height:46px;border-radius:9px;background:#fdfaf2;border:1px solid #cfddd9;font:900 23px/1 system-ui}.was-column{width:min(300px,100%);display:grid;grid-template-columns:1fr;position:relative;padding:8px 12px;border-radius:18px;background:#fff;border:2px solid #b6cdd2;box-shadow:0 8px 18px #19324a14}.was-column>div{display:grid;grid-template-columns:repeat(4,48px);justify-content:end}.was-column span{display:grid;place-items:center;height:40px;font:900 28px/1 ui-monospace,monospace}.was-column span.ghost{color:transparent}.was-column .was-second{position:relative}.was-column .was-second i{position:absolute;left:4px;top:8px;font:900 25px/1 system-ui;color:var(--was-coral)}.was-column hr{width:100%;border:0;border-top:4px solid var(--was-ink);margin:3px 0}.was-column .was-carry{min-height:23px}.was-column .was-carry span{height:23px;font-size:15px;color:var(--was-coral)}.was-column .was-answer span{color:var(--was-teal)}
.was-hook{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;gap:11px}.was-hook-operation{grid-column:1/-1;text-align:center}.was-hook-operation b{display:block;font-size:clamp(27px,4vw,42px)}.was-hook-operation span{display:block}.was-hook>button{min-height:200px;padding:12px;border:2px solid #b9d2d5;border-radius:21px;background:#fff;color:var(--was-ink);cursor:pointer}.was-hook>button.seen{border-color:var(--was-teal);background:#ebfbf7}.was-hook>button>strong,.was-hook>button>i{display:block;margin-bottom:8px}.was-hook>button>i{margin-top:55px;color:#587080}.was-align-lab{width:min(780px,100%);display:grid;gap:11px;place-items:center}.was-number-cards{display:flex;gap:10px}.was-number-cards b{padding:10px 18px;border-radius:12px;background:#fff;border:2px solid var(--was-blue);font-size:25px}.was-placement-track{width:min(520px,100%);display:flex;justify-content:space-between;padding:8px 12px;border-radius:12px;background:#e8f2ff;box-sizing:border-box}.was-column-stage{width:min(760px,100%);display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}.was-column-progress{display:grid;gap:7px}.was-column-progress span{padding:9px 12px;border-radius:11px;background:#fff;border:1px solid #bdd0d4}.was-column-progress span.done{background:#e1f5eb;border-color:#5dae8d}
.was-exchange-workshop,.was-regroup-workshop{width:min(930px,100%);display:grid;grid-template-columns:1.35fr .8fr;gap:15px;align-items:center}.was-workshop-figure{position:relative;min-height:250px}.was-workshop-figure>img{display:block;width:100%;height:250px;object-fit:contain;filter:drop-shadow(0 10px 8px #19324a25);pointer-events:none}.was-workshop-figure>.was-units.one{position:absolute;left:2%;bottom:19%;width:25%}.was-workshop-figure>.was-units.ten{position:absolute;left:29%;bottom:23%;width:18%}.was-units{display:flex;justify-content:center;align-items:flex-end;gap:3px;flex-wrap:wrap}.was-units i{display:block;width:13px;height:13px;border-radius:4px;background:#2e8fc5;box-shadow:0 2px 0 #16628e;animation:was-pop .32s both;animation-delay:calc(var(--i)*18ms)}.was-units.ten i{width:11px;height:62px;border-radius:5px;background:#efbd3b;box-shadow:0 3px 0 #bf8420}.was-exchange-ledger,.was-regroup-ledger{display:grid;gap:9px}.was-exchange-ledger>b,.was-regroup-ledger>b{font-size:28px;text-align:center}.was-exchange-ledger>span,.was-regroup-ledger>span{padding:9px;border-radius:11px;background:#fff5dc;text-align:center;font-weight:750}.was-carry-chain{width:min(860px,100%);display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}.was-route{display:flex;align-items:stretch;justify-content:center;gap:5px;flex-wrap:wrap}.was-route>div{min-width:92px;padding:8px;border-radius:12px;background:#fff;border:2px solid #c4d6da;opacity:.34;text-align:center;transition:.25s}.was-route>div.active{opacity:1;border-color:var(--was-teal);transform:translateY(-2px)}.was-route small,.was-route b{display:block}.was-route>i{align-self:center;color:var(--was-coral);font-style:normal;font-weight:900}
.was-removal-stage{width:min(850px,100%);display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}.was-removal-trays{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.was-removal-trays span{display:grid;place-items:center;min-height:72px;padding:7px;border-radius:13px;background:#fff;border:2px dashed #bdccd0}.was-removal-trays span.cleared{border-style:solid;border-color:var(--was-teal);background:#e8f8f2}.was-removal-trays b{font-size:21px}.was-zero-chain,.was-guided-subtract,.was-inverse-mirror,.was-proof{width:min(900px,100%);display:grid;gap:13px;place-items:center}.was-zero-number{text-align:center}.was-zero-number b{display:block;font-size:36px}.was-guided-subtract{grid-template-columns:auto 1fr}.was-decision-cards{display:grid;gap:8px}.was-decision-cards>*{padding:11px;border-radius:12px;background:#fff;border:2px solid #c4d6da}.was-decision-cards .done{border-color:var(--was-teal);background:#e8f8f2}
.was-commutative,.was-grouping{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.was-commutative>button{min-height:230px;display:grid;place-items:center;padding:12px;border:2px solid #bfd1d5;border-radius:19px;background:#fff;color:var(--was-ink);cursor:pointer}.was-commutative>button.seen{border-color:var(--was-teal);background:#edfaf7}.was-commutative>button>strong{font-size:22px}.was-grouping>div{display:grid;place-items:center;gap:10px;padding:18px;border:2px solid #bfd1d5;border-radius:19px;background:#fff}.was-grouping>div.done{border-color:var(--was-teal);background:#e8f8f2}.was-grouping b{font-size:20px}.was-grouping span,.was-grouping strong{padding:8px 12px;border-radius:10px;background:#eff5ff}.was-proof h2{margin:0;font-size:31px}.was-proof-meter{width:min(420px,100%);height:24px;border-radius:99px;background:#dce8eb;overflow:hidden}.was-proof-meter span{display:block;width:calc(var(--done)*20%);min-width:20%;height:100%;padding-left:8px;background:var(--was-teal);color:#fff;font-size:12px;line-height:24px;white-space:nowrap}.was-final{width:min(900px,100%);display:grid;gap:13px}.was-error-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.was-error-cards button{min-height:115px;padding:10px;border:2px solid #b9ced2;border-radius:16px;background:#fff;color:var(--was-ink);cursor:pointer}.was-error-cards button.selected{outline:4px solid #8ad9d1;border-color:var(--was-teal)}.was-error-cards b,.was-error-cards span{display:block}.was-error-cards b{font-size:25px;color:var(--was-coral)}.was-final label{display:grid;gap:6px;font-weight:800}.was-final textarea{resize:none;box-sizing:border-box;width:100%;min-height:90px;padding:10px;border:2px solid #a8c8c3;border-radius:14px;font:500 15px/1.35 system-ui}.was-final>small{text-align:center}.was-finish{width:min(760px,100%);padding:28px;border-radius:24px;background:#fff;border:3px solid #86c4bb;text-align:center}.was-finish>span{font-weight:900;letter-spacing:.1em;color:var(--was-teal)}.was-finish h2{font-size:clamp(25px,4vw,41px)}
.was-alt-exchange,.was-alt-chain,.was-alt-groups,.was-alt-pair{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.was-alt-exchange>i,.was-alt-chain>i{font-style:normal;color:var(--was-coral);font-weight:900}.was-alt-chain span,.was-alt-groups>*{padding:7px;border-radius:9px;background:#fff;border:1px solid #c5d7da}.was-alt-pair .was-column{transform:scale(.72);margin:-25px}.was-alt-groups{display:grid;grid-template-columns:1fr 1fr}.was-alt-groups b{color:var(--was-teal)}
@keyframes was-pop{from{transform:translateY(-18px) scale(.65);opacity:0}to{transform:none;opacity:1}}
@media(max-width:700px){.was-scene{padding:8px}.was-scene>header{gap:6px;margin-bottom:4px}.was-scene>header span{padding:5px 7px;font-size:9px}.was-scene>header h1{font-size:17px}.was-workspace{padding:2px}.was-hook,.was-column-stage,.was-exchange-workshop,.was-regroup-workshop,.was-carry-chain,.was-removal-stage,.was-guided-subtract,.was-commutative,.was-grouping{grid-template-columns:1fr;gap:6px}.was-hook-operation{grid-column:auto}.was-hook>button{min-height:112px;padding:6px}.was-hook>button>i{margin-top:24px}.was-hook .was-place-table{padding:3px}.was-place-row span{min-height:34px;font-size:19px}.was-place-head b{font-size:8px;padding:3px}.was-number-cards b{font-size:20px;padding:7px 11px}.was-column{transform:scale(.82);margin:-18px auto;padding:6px 9px}.was-column>div{grid-template-columns:repeat(4,41px)}.was-column span{height:34px;font-size:24px}.was-column-progress{grid-template-columns:1fr 1fr;gap:4px}.was-column-progress span{padding:5px;font-size:11px}.was-workshop-figure{min-height:135px}.was-workshop-figure>img{height:145px}.was-workshop-figure>.was-units.one{bottom:16%}.was-workshop-figure>.was-units.ten{bottom:18%}.was-units{gap:2px}.was-units i{width:9px;height:9px}.was-units.ten i{height:40px}.was-exchange-ledger,.was-regroup-ledger{gap:4px}.was-exchange-ledger>b,.was-regroup-ledger>b{font-size:21px}.was-exchange-ledger>span,.was-regroup-ledger>span{padding:5px;font-size:12px}.was-route{gap:2px}.was-route>div{min-width:63px;padding:5px;font-size:11px}.was-route>i{font-size:11px}.was-removal-trays{gap:4px}.was-removal-trays span{min-height:46px;padding:3px;font-size:10px}.was-zero-chain{gap:5px}.was-zero-number b{font-size:26px}.was-commutative>button{min-height:105px;padding:4px}.was-commutative>button>strong{font-size:16px}.was-grouping>div{padding:7px;gap:4px}.was-grouping b{font-size:15px}.was-grouping span,.was-grouping strong{padding:5px;font-size:12px}.was-proof{gap:5px}.was-proof h2{font-size:23px}.was-error-cards{gap:4px}.was-error-cards button{min-height:82px;padding:5px;font-size:11px}.was-final{gap:5px}.was-final textarea{min-height:62px}.was-help{right:2px;bottom:2px;width:calc(100vw - 12px);max-height:min(54vh,270px);padding:9px}.was-alt-visual{min-height:76px;padding:5px}.was-button{min-height:44px;min-width:76px;padding:8px 9px;font-size:12px}.was-controls{gap:5px}}
@media(max-width:700px){.was-alt-pair{flex-wrap:nowrap}.was-alt-pair .was-column{transform:none;margin:0;zoom:.66}}
@media(max-width:420px){.was-scene>header h1{font-size:15px}.was-error-cards button{font-size:10px}.family-final .was-final textarea{min-height:48px}.family-final .was-final>small{line-height:1.05}.grade4-was-shell:has(.family-final) .was-controls{width:calc(100% - 100px);margin-right:100px}}
@media(min-width:701px) and (max-height:760px){.was-scene{padding:9px 16px}.was-workshop-figure,.was-workshop-figure>img{height:205px;min-height:205px}.family-grouping .was-grouping>div{padding:9px}.family-final .was-final{gap:6px}.family-final .was-final textarea{min-height:58px}}
@media(prefers-reduced-motion:reduce){.grade4-was-board *{animation:none!important;transition:none!important}}
.was-place-table{min-width:0;box-sizing:border-box}.was-place-head,.was-place-row{min-width:0;grid-template-columns:repeat(4,minmax(0,1fr))}.was-hook>button,.was-commutative>button{min-width:0;overflow:hidden}.was-commutative .was-column{width:100%;box-sizing:border-box}
@media(max-width:1400px) and (min-width:701px){.was-commutative .was-column>div{grid-template-columns:repeat(4,38px)}.was-commutative .was-column span{font-size:23px}.was-hook>button{padding:8px}.was-hook>button .was-place-table{padding:4px}.was-hook>button .was-place-head b{font-size:8px}}
@media(min-width:701px) and (max-height:760px){.family-zero-chain .was-zero-chain{gap:4px}.family-zero-chain .was-column{transform:scale(.76);margin:-28px auto}.family-zero-chain .was-route>div{padding:4px}.family-final .was-finish{padding:14px}.family-final .was-finish h2{margin:8px 0;font-size:27px}.family-final .was-finish p{margin:7px 0}}
@media(max-width:700px){.family-exchange:has(.was-result p) .was-workshop-figure,.family-regroup:has(.was-result p) .was-workshop-figure{min-height:102px}.family-exchange:has(.was-result p) .was-workshop-figure>img,.family-regroup:has(.was-result p) .was-workshop-figure>img{height:102px}.family-exchange:has(.was-result p) .was-exchange-ledger>span,.family-regroup:has(.was-result p) .was-regroup-ledger>span{display:none}.family-exchange:has(.was-result p) .was-column,.family-regroup:has(.was-result p) .was-column{transform:scale(.74);margin:-28px auto}}

/* grade4-estimate-multiply-divide.css */
.grade4-emd-board{--emd-ink:#173449;--emd-teal:#0f8e99;--emd-orange:#e97835;--emd-blue:#377cc4;--emd-cream:#fff8e7;--emd-green:#3f9e78;background:radial-gradient(circle at 12% 5%,#fff6db 0 13%,transparent 33%),linear-gradient(145deg,#eefbfb,#fffaf0);color:var(--emd-ink);overflow:hidden}.emd-scene{box-sizing:border-box;height:100%;min-height:0;padding:12px 18px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;position:relative}.emd-scene>header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.emd-scene>header span{padding:7px 11px;border-radius:999px;background:var(--emd-orange);color:#fff;font-size:11px;font-weight:950;letter-spacing:.08em}.emd-scene>header h1{margin:0;font-size:clamp(20px,3vw,31px)}.emd-workspace{min-height:0;display:grid;place-items:center;position:relative;padding:3px}.emd-result{min-height:28px;text-align:center}.emd-result p{display:inline-block;margin:4px;padding:7px 12px;border-radius:11px;background:#dff5e9;color:#175c43;font-weight:850}.emd-controls{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}.emd-button{min-height:46px;min-width:98px;padding:9px 13px;border:2px solid #aac9ca;border-radius:14px;background:#fff;color:var(--emd-ink);font:800 14px/1.2 system-ui;cursor:pointer;box-shadow:0 4px 0 #aac9ca;transition:.18s}.emd-button:hover,.emd-button:focus-visible{transform:translateY(-2px);border-color:var(--emd-teal);outline:3px solid #78d8d055}.emd-button:disabled{opacity:.68;cursor:default;transform:none}.emd-support{position:absolute;right:14px;bottom:12px;z-index:8;display:flex;gap:6px}.emd-support .emd-button{min-width:auto;min-height:42px;padding:8px 10px}.emd-help{position:absolute;right:12px;bottom:62px;z-index:15;width:min(390px,calc(100vw - 30px));max-height:min(55vh,330px);overflow:auto;padding:12px;border:2px solid #7dbfba;border-radius:17px;background:#fffdf6;box-shadow:0 14px 40px #17344933}.emd-help>div:first-child{display:flex;justify-content:space-between;gap:8px}.emd-help p{margin:8px 0;line-height:1.35}.emd-help .emd-button{min-height:34px;min-width:58px;padding:5px}.emd-alt-visual{min-height:92px;display:grid;place-items:center;padding:8px;border-radius:13px;background:#eaf8f7}.emd-focus{outline:4px solid #f3ba4b;outline-offset:3px;border-radius:16px}.emd-asset-gate{display:grid;place-items:center;height:100%;text-align:center}.emd-asset-gate h1{margin-bottom:4px}.emd-instruction{font-weight:850;color:#536a76}
.emd-toolkit{width:min(980px,100%);display:grid;grid-template-columns:1.1fr 1fr;gap:18px;align-items:center}.emd-toolkit-sheet{width:100%;filter:drop-shadow(0 14px 10px #17344922);animation:emd-float 3s ease-in-out infinite}.emd-ticket-bank{display:grid;gap:9px}.emd-ticket-bank button{min-height:82px;padding:12px;border:2px dashed #9ebdbd;border-radius:15px;background:#fff;color:var(--emd-ink);cursor:pointer}.emd-ticket-bank button.open{border-style:solid;border-color:var(--emd-teal);background:#e8f8f6}.emd-ticket-bank b,.emd-ticket-bank span{display:block}.emd-ticket-bank b{font-size:20px;color:var(--emd-orange)}
.emd-sprite{background-image:url('/demo/assets/generated/grade4/theme3/estimate-multiply-divide/estimation-toolkit-sprites-v1.png');background-repeat:no-repeat;filter:drop-shadow(0 8px 7px #17344922);animation:emd-pop .35s both}.emd-sprite.scanner{width:220px;aspect-ratio:480/540;background-size:346.7% 173.3%;background-position:0 0}.emd-sprite.scale{width:310px;aspect-ratio:650/400;background-size:256% 234%;background-position:49% 32%}.emd-sprite.magnet{width:245px;aspect-ratio:504/500;background-size:330% 187%;background-position:100% 9%}.emd-sprite.boxes{width:390px;aspect-ratio:900/396;background-size:185% 236%;background-position:0 100%}.emd-sprite.tape{width:390px;aspect-ratio:744/376;background-size:224% 249%;background-position:100% 100%}
.emd-neighbor-lab,.emd-single-round,.emd-strategy-lab,.emd-tape-lab,.emd-price-lab,.emd-time-lab,.emd-division-trap,.emd-magnet-lab,.emd-division-scale,.emd-packing,.emd-judgment,.emd-proof,.emd-final{width:min(920px,100%);display:grid;gap:14px;align-items:center}.emd-neighbor-lab{grid-template-columns:1fr 1fr}.emd-number-line{position:relative;height:112px;padding:25px 18px 0;background:#fff;border:2px solid #b9d1d1;border-radius:18px}.emd-number-line:before{content:'';position:absolute;left:8%;right:8%;top:60px;height:5px;border-radius:9px;background:#294d65}.emd-number-line .emd-marks{position:absolute;left:8%;right:8%;top:42px;display:flex;justify-content:space-between}.emd-number-line i{width:4px;height:34px;background:#294d65}.emd-number-line b{position:absolute;top:80px;transform:translateX(-50%)}.emd-number-line .point{position:absolute;left:62%;top:42px;width:22px;height:22px;border-radius:50%;background:var(--emd-orange);transform:translate(-50%,-40%);box-shadow:0 0 0 7px #e9783533}.emd-distance-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.emd-distance-cards>div{padding:12px;border-radius:14px;background:#fff;border:2px solid #b8cece;text-align:center}.emd-distance-cards b{display:block;font-size:26px}.emd-distance-cards span{font-size:12px}
.emd-equation{padding:13px 18px;border-radius:17px;background:#fff;border:2px solid #b7cfd1;text-align:center}.emd-equation b{display:block;font-size:clamp(27px,5vw,43px)}.emd-equation span{display:block;margin-top:4px;color:#5d6d75}.emd-single-round{grid-template-columns:.9fr 1.1fr}.emd-round-track{display:grid;gap:8px}.emd-round-track>div{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 12px;border-radius:13px;background:#fff;border:2px solid #bed2d2}.emd-round-track>div.done{border-color:var(--emd-green);background:#e4f6ed}.emd-round-track b{font-size:21px}.emd-gap{height:22px;border-radius:99px;background:#dce9eb;overflow:hidden}.emd-gap span{display:block;width:var(--gap);height:100%;background:linear-gradient(90deg,var(--emd-teal),#f0b34e);transition:.35s}.emd-strategy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.emd-strategy-card{min-height:180px;padding:14px;border:2px solid #b4cece;border-radius:18px;background:#fff;text-align:center;cursor:pointer}.emd-strategy-card.open{border-color:var(--emd-teal);background:#eefaf8}.emd-strategy-card b,.emd-strategy-card strong{display:block}.emd-strategy-card b{font-size:29px}.emd-strategy-card strong{margin:8px;font-size:23px;color:var(--emd-orange)}.emd-strategy-card .emd-gap{margin-top:10px}.emd-tape-lab{grid-template-columns:.9fr 1.1fr}.emd-tape-board{display:grid;gap:8px}.emd-flex-number{display:grid;grid-template-columns:72px 1fr 58px;align-items:center;gap:8px}.emd-flex-number b{font-size:25px}.emd-flex-number div{height:18px;border-radius:99px;background:#d6e6e8;overflow:hidden}.emd-flex-number span{display:block;width:var(--len);height:100%;background:var(--color);transition:.4s}.emd-warning{padding:12px;border-radius:14px;background:#fff1dc;border:2px solid #edb769;font-weight:800}
.emd-price-lab{grid-template-columns:auto 1fr}.emd-price-screen{position:relative;display:grid;place-items:center}.emd-price-screen .emd-sprite{width:180px}.emd-price-screen b{position:absolute;top:26%;left:38%;transform:rotate(-3deg);font-size:22px;color:#fff;z-index:2}.emd-receipts{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.emd-receipts>div{padding:12px;border:2px solid #b9cfd1;border-radius:15px;background:#fff}.emd-receipts b,.emd-receipts strong{display:block}.emd-receipts strong{font-size:27px;color:var(--emd-orange)}.emd-time-lab{grid-template-columns:auto 1fr}.emd-calendar{display:grid;grid-template-columns:repeat(7,36px);gap:5px}.emd-calendar i{display:grid;place-items:center;aspect-ratio:1;border-radius:9px;background:#fff;border:2px solid #b8d0d0;font-style:normal;font-size:11px}.emd-calendar i.active{background:#e8f7f4;border-color:var(--emd-teal)}
.emd-division-trap{grid-template-columns:1fr 1fr}.emd-trap-board{display:grid;gap:8px}.emd-candidate{display:grid;grid-template-columns:64px 1fr auto;gap:8px;align-items:center;padding:10px;border-radius:13px;background:#fff;border:2px solid #b9cfd1}.emd-candidate.good{border-color:var(--emd-green);background:#e7f7ee}.emd-candidate b{font-size:23px}.emd-candidate small{font-weight:800}.emd-magnet-lab{grid-template-columns:auto 1fr}.emd-magnet-wrap{position:relative}.emd-magnet-wrap b{position:absolute;inset:34% 20% auto;text-align:center;font-size:28px}.emd-multiple-track{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.emd-multiple-track span{padding:9px 11px;border-radius:12px;background:#fff;border:2px solid #b7cecf;font-weight:850}.emd-multiple-track span.near{border-color:var(--emd-orange);transform:translateY(-4px)}.emd-scale-wrap{position:relative;display:grid;place-items:center}.emd-scale-wrap .emd-scale-labels{position:absolute;top:5%;left:11%;right:11%;display:flex;justify-content:space-between}.emd-scale-labels b{padding:5px 9px;border-radius:9px;background:#173449;color:#fff}.emd-quotient-bars{display:grid;gap:8px}.emd-quotient-bars>div{display:grid;grid-template-columns:110px 1fr 36px;align-items:center;gap:8px}.emd-quotient-bars i{height:18px;border-radius:99px;background:var(--bar);width:var(--w)}.emd-packing{grid-template-columns:.9fr 1.1fr}.emd-box-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.emd-box-grid i{height:40px;border-radius:8px;background:#db9a51;border:2px solid #a9652d;animation:emd-pop .3s both;animation-delay:calc(var(--i)*20ms)}.emd-judge-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.emd-judge-cards>div{padding:13px;border-radius:16px;background:#fff;border:2px solid #b8cece}.emd-judge-cards b,.emd-judge-cards strong{display:block}.emd-judge-cards strong{font-size:25px;color:var(--emd-orange)}
.emd-proof{place-items:center}.emd-proof h2{margin:0;font-size:clamp(28px,5vw,44px)}.emd-proof-meter{width:min(470px,100%);height:24px;border-radius:99px;background:#dbe8e9;overflow:hidden}.emd-proof-meter span{display:block;width:calc(var(--done)*33.33%);min-width:16%;height:100%;padding-left:9px;background:var(--emd-teal);color:#fff;line-height:24px;font-size:12px}.emd-final{grid-template-columns:1fr 1fr}.emd-final-cards{display:grid;gap:8px}.emd-final-cards button{padding:12px;border:2px solid #b7cdcf;border-radius:15px;background:#fff;color:var(--emd-ink);cursor:pointer}.emd-final-cards button.selected{outline:4px solid #7bd4cc;border-color:var(--emd-teal)}.emd-final-cards b,.emd-final-cards span{display:block}.emd-final-cards b{font-size:25px;color:var(--emd-orange)}.emd-final label{display:grid;gap:7px;font-weight:850}.emd-final textarea{box-sizing:border-box;width:100%;min-height:130px;resize:none;padding:11px;border:2px solid #a8c9c7;border-radius:14px;font:500 15px/1.35 system-ui}.emd-finish{width:min(760px,100%);padding:27px;border:3px solid #79bbb4;border-radius:24px;background:#fff;text-align:center}.emd-finish>span{font-weight:950;letter-spacing:.1em;color:var(--emd-teal)}.emd-finish h2{font-size:clamp(25px,4vw,40px)}
.emd-alt-numberline,.emd-alt-multiples,.emd-alt-bars,.emd-alt-cards{width:100%;display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}.emd-alt-numberline span,.emd-alt-multiples span,.emd-alt-cards span{padding:7px 9px;border-radius:9px;background:#fff;border:1px solid #b9cecf}.emd-alt-numberline b,.emd-alt-multiples b{color:var(--emd-orange)}.emd-alt-bars{display:grid}.emd-alt-bars i{height:15px;border-radius:9px;background:var(--emd-teal);width:var(--w)}
.emd-report{margin:10px 0;padding:12px;border:1px solid #c9dcdd;border-radius:14px;background:#f1fbfa}.emd-report h3,.emd-report p{margin:3px 0}
@keyframes emd-pop{from{opacity:0;transform:scale(.72) translateY(10px)}to{opacity:1;transform:none}}@keyframes emd-float{50%{transform:translateY(-5px)}}
@media(max-width:700px){.emd-scene{padding:8px}.emd-scene>header{gap:6px;margin-bottom:3px}.emd-scene>header span{padding:5px 7px;font-size:9px}.emd-scene>header h1{font-size:17px}.emd-workspace{padding:1px}.emd-toolkit,.emd-neighbor-lab,.emd-single-round,.emd-tape-lab,.emd-price-lab,.emd-time-lab,.emd-division-trap,.emd-magnet-lab,.emd-packing,.emd-final{grid-template-columns:1fr;gap:6px}.emd-toolkit-sheet{height:155px;object-fit:contain}.emd-ticket-bank{grid-template-columns:repeat(3,1fr);gap:4px}.emd-ticket-bank button{min-height:66px;padding:5px;font-size:10px}.emd-ticket-bank b{font-size:14px}.emd-number-line{height:86px;padding:12px}.emd-number-line:before{top:42px}.emd-number-line .emd-marks{top:27px}.emd-number-line b{top:61px;font-size:11px}.emd-distance-cards>div{padding:5px}.emd-distance-cards b{font-size:20px}.emd-equation{padding:7px}.emd-equation b{font-size:25px}.emd-round-track{gap:4px}.emd-round-track>div{padding:5px}.emd-round-track b{font-size:17px}.emd-strategy-grid,.emd-receipts,.emd-judge-cards{gap:5px}.emd-strategy-card{min-height:122px;padding:6px}.emd-strategy-card b{font-size:21px}.emd-strategy-card strong{font-size:18px}.emd-sprite.scanner{width:110px}.emd-sprite.scale{width:190px}.emd-sprite.magnet{width:135px}.emd-sprite.boxes,.emd-sprite.tape{width:230px}.emd-price-screen b{top:25%;font-size:13px}.emd-receipts>div{padding:6px}.emd-receipts strong{font-size:20px}.emd-calendar{grid-template-columns:repeat(7,28px);gap:3px}.emd-candidate{grid-template-columns:45px 1fr auto;padding:6px}.emd-candidate b{font-size:18px}.emd-multiple-track span{padding:5px 7px;font-size:11px}.emd-scale-wrap .emd-scale-labels{top:2%;font-size:11px}.emd-quotient-bars>div{grid-template-columns:86px 1fr 28px;font-size:11px}.emd-box-grid i{height:26px}.emd-proof{gap:6px}.emd-proof h2{font-size:25px}.emd-final textarea{min-height:76px}.emd-button{min-height:44px;min-width:78px;padding:8px;font-size:12px}.emd-controls{gap:5px}.emd-has-support .emd-controls{box-sizing:border-box;padding-right:150px;justify-content:flex-end}.emd-help{right:4px;bottom:58px;width:calc(100vw - 16px);max-height:min(54vh,275px);padding:9px}.emd-alt-visual{min-height:72px;padding:5px}}
@media(max-width:420px){.emd-scene>header h1{font-size:15px}.family-hook .emd-toolkit-sheet{height:125px}.emd-ticket-bank button{font-size:9px}.emd-strategy-card{min-height:105px}.emd-final textarea{min-height:60px}.grade4-emd-shell:has(.family-final) .emd-controls{width:calc(100% - 98px);margin-right:98px}}
@media(min-width:701px) and (max-height:760px){.emd-scene{padding:8px 14px}.emd-toolkit-sheet{height:300px;object-fit:contain}.emd-strategy-card{min-height:145px}.emd-sprite.scanner{width:165px}.emd-sprite.scale{width:245px}.emd-sprite.magnet{width:190px}.emd-final textarea{min-height:88px}.emd-finish{padding:15px}}
@media(prefers-reduced-motion:reduce){.grade4-emd-board *{animation:none!important;transition:none!important}}
.emd-support .emd-button{min-height:44px}
@media(max-width:700px){.emd-help{right:4px;width:calc(100% - 8px)}}

/* grade4-mental-multiply-divide.css */
.grade4-mmd-shell{--mmd-ink:#17354b;--mmd-teal:#0f9ca2;--mmd-blue:#287bc4;--mmd-violet:#8a49c7;--mmd-gold:#f4b83f;--mmd-coral:#ef7957;--mmd-paper:#fffdf7}.grade4-mmd-board{overflow:hidden;background:radial-gradient(circle at 18% 8%,#fff9d8 0 16%,transparent 36%),linear-gradient(145deg,#effbf8,#f7f4ff 52%,#fff6eb);color:var(--mmd-ink)}
.mmd-scene{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:18px;box-sizing:border-box}.mmd-scene>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.mmd-scene>header span{font:800 12px/1.1 system-ui;letter-spacing:.13em;color:#147c83}.mmd-scene>header h1{margin:0;text-align:right;font:800 clamp(20px,2.6vw,32px)/1.05 system-ui;max-width:72%}.mmd-workspace{min-height:0;display:grid;place-items:center;transition:.25s}.mmd-workspace.mmd-focus{filter:drop-shadow(0 0 8px #f4b83faa)}.mmd-result{min-height:24px}.mmd-result p{margin:0;padding:8px 12px;border-radius:12px;background:#e4f8e7;color:#165f2d;font-weight:750}.mmd-result small{display:block;margin-top:4px;color:#4f6471}
.mmd-asset-gate{height:100%;display:grid;place-content:center;text-align:center}.mmd-button{min-height:48px;border:0;border-radius:16px;padding:11px 17px;background:#fff;color:var(--mmd-ink);box-shadow:0 8px 20px #17354b18,inset 0 0 0 1px #17354b18;font:750 15px/1.2 system-ui;cursor:pointer;touch-action:manipulation}.mmd-button:hover,.mmd-button:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px #17354b28,inset 0 0 0 2px #1a9ca3}.mmd-button.done{background:#dff7ea}.mmd-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.mmd-instruction{padding:12px 16px;border-radius:14px;background:#fff9e2;font-weight:750}
.mmd-tool{display:block;object-fit:contain;max-width:100%;max-height:100%;filter:drop-shadow(0 9px 10px #17354b24);user-select:none;pointer-events:none}.mmd-tool.active{animation:mmd-pulse 1s ease-in-out infinite alternate}.mmd-tool.open{animation:mmd-open .55s both}.mmd-tool.move-right{animation:mmd-right .7s both}.mmd-equation{display:grid;gap:4px;text-align:center;padding:12px 16px;border-radius:18px;background:#fffdf2dd;box-shadow:inset 0 0 0 1px #17354b12}.mmd-equation b{font:850 clamp(22px,3vw,36px)/1 system-ui}.mmd-equation span{font-weight:650;color:#567080}
.mmd-cars{display:flex;align-items:end;justify-content:center;gap:4px;transition:transform .65s cubic-bezier(.2,.8,.2,1)}.mmd-cars.moved-1{transform:translateX(-42px)}.mmd-cars.moved-2{transform:translateX(-70px)}.mmd-cars.moved-3{transform:translateX(-96px)}.mmd-cars.moved--1{transform:translateX(42px)}.mmd-cars.moved--2{transform:translateX(70px)}.mmd-cars.moved--3{transform:translateX(96px)}.mmd-car{position:relative;width:132px;aspect-ratio:1.2}.mmd-car img{width:100%;height:100%}.mmd-car b{position:absolute;inset:21% 20% auto;text-align:center;font:900 32px/1 system-ui;color:#17354b}.mmd-zero-live{position:relative;width:76px;aspect-ratio:1;animation:mmd-zero-in .55s both}.mmd-zero-live img{width:100%;height:100%}.mmd-zero-live b{position:absolute;inset:31% 0 auto;text-align:center;font:900 24px/1 system-ui;color:#663d00}
.mmd-place-grid{width:min(100%,720px);display:grid;grid-template-columns:repeat(var(--cols),minmax(56px,1fr));gap:5px}.mmd-place-grid>div{min-height:74px;display:grid;place-items:center;padding:6px;border-radius:12px;background:#ffffffbb;box-shadow:inset 0 0 0 1px #2f6b8d22}.mmd-place-grid>div.active{background:#fff1b8;animation:mmd-pulse .8s infinite alternate}.mmd-place-grid small{font-size:11px;color:#607584}.mmd-place-grid b{font:900 27px/1 system-ui}.mmd-hook,.mmd-shift-lab,.mmd-divide-shift{width:min(900px,100%);display:grid;place-items:center;gap:14px}.mmd-hook-track,.mmd-track-window{min-height:170px;width:100%;display:flex;align-items:center;justify-content:center;border-radius:28px;background:linear-gradient(180deg,#dbf5f7 0 62%,#9f7754 63% 68%,#5e6e77 69% 74%,#dbf5f7 75%);overflow:visible}.mmd-hook-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.mmd-multi-shift{width:min(920px,100%);display:grid;gap:14px}.mmd-gates{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mmd-gates>div{position:relative;min-height:250px;display:grid;place-items:center;border-radius:24px;background:#ffffffb8;box-shadow:inset 0 0 0 1px #17354b18;overflow:hidden}.mmd-gates span{position:absolute;top:12px;left:14px;font-weight:900;color:#167b82}.mmd-gates .mmd-car{width:120px}.mmd-gates b{font:900 28px/1 system-ui}.mmd-gates>div.open{background:#e5fae9}
.mmd-factor-lab,.mmd-power-lab{width:min(900px,100%);display:grid;grid-template-columns:minmax(180px,.8fr) 1.3fr;gap:22px;align-items:center}.mmd-factor-lab>.mmd-tool{width:330px}.mmd-factor-cards{display:grid;gap:9px}.mmd-factor-cards>div{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:13px 16px;border-radius:16px;background:#fff;box-shadow:0 7px 18px #17354b14}.mmd-factor-cards span{font-weight:650}.mmd-factor-cards b{text-align:right;font:850 26px/1 system-ui;color:#0f858b}.mmd-workbench{position:relative;min-height:280px;display:grid;grid-template-columns:1fr 1fr;place-items:center}.mmd-workbench .crate{width:175px}.mmd-workbench .gears{width:230px}.mmd-workbench span{grid-column:1/-1;font-weight:850}
.mmd-half-lab,.mmd-quarter-lab{width:min(920px,100%);display:grid;grid-template-columns:minmax(190px,.8fr) 1.2fr;gap:18px;align-items:center}.mmd-half-lab>.half{width:270px}.mmd-half-flow,.mmd-quarter-flow{display:grid;gap:11px;place-items:center}.mmd-half-flow>span,.mmd-quarter-flow>span{font-weight:800}.mmd-half-flow>b,.mmd-quarter-flow>b{font:900 34px/1 system-ui}.mmd-halves{width:min(460px,100%);display:grid;grid-template-columns:1fr 1fr;gap:10px}.mmd-halves i,.mmd-quarters i{padding:18px;border-radius:18px;background:#c8f3f4;text-align:center;font:900 24px/1 system-ui;font-style:normal;transform:scale(.9);opacity:.55}.mmd-halves.open i,.mmd-quarters.open i{transform:scale(1);opacity:1;transition:.45s}.mmd-quarter-lab{grid-template-columns:180px 150px 1fr}.mmd-quarter-lab>.quarter{width:170px}.mmd-quarter-lab>.crate{width:135px}.mmd-quarters{width:min(470px,100%);display:grid;grid-template-columns:1fr 1fr;gap:8px}.mmd-quarters i{background:#ffd8ca}
.mmd-route-lab{width:min(920px,100%);display:grid;grid-template-columns:1fr 1fr 180px;gap:14px;align-items:center}.mmd-route-card{min-height:180px;display:grid;place-content:center;gap:8px;text-align:center;border-radius:22px;background:#fff;padding:16px;box-shadow:inset 0 0 0 1px #17354b1f}.mmd-route-card.blocked{background:#fff0ef}.mmd-route-card.good{background:#e6f8eb}.mmd-route-card span{font-size:12px;font-weight:900;letter-spacing:.1em}.mmd-route-card b{font:850 23px/1.15 system-ui}.mmd-route-card small{color:#596c78}.mmd-route-lab>.chain{width:180px}
.mmd-divide-shift>.chain{width:300px;height:120px}.mmd-divide-shift>.mmd-cars .mmd-car{width:98px}.mmd-pattern-lab{width:min(920px,100%);display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:center}.mmd-pattern-rows{display:grid;gap:9px}.mmd-pattern-rows>div{display:grid;grid-template-columns:1.2fr 1fr .7fr;align-items:center;padding:13px;border-radius:16px;background:#fff}.mmd-pattern-rows>div.done{background:#e4f8e7}.mmd-pattern-rows b{font:850 24px/1 system-ui}.mmd-pattern-rows i{text-align:right;color:#647985}.mmd-pattern-lab>.mmd-cars{flex-wrap:wrap}.mmd-pattern-lab .mmd-car{width:82px}
.mmd-pack-lab{width:min(900px,100%);display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:center}.mmd-pack-lab .crate{width:180px;margin:auto}.mmd-pack-stack{display:grid;grid-template-columns:repeat(6,16px);gap:5px;justify-content:center}.mmd-pack-stack i{width:16px;height:16px;border-radius:4px;background:#f4b83f;animation:mmd-pack .45s calc(var(--i)*35ms) both}.mmd-shift-arrow{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:16px}.mmd-shift-arrow span,.mmd-shift-arrow b{font:900 31px/1 system-ui}.mmd-shift-arrow i{font-size:30px;color:#0f9ca2}
.mmd-proof{width:min(820px,100%);display:grid;grid-template-columns:180px 1fr;align-items:center;gap:16px;padding:18px;border-radius:26px;background:#ffffffb8}.mmd-proof h2{grid-column:1/-1;margin:0;text-align:center;font:900 34px/1 system-ui}.mmd-proof>.mmd-tool{width:170px}.mmd-proof-flow{display:grid;grid-template-columns:1fr 1fr;gap:9px;align-items:center}.mmd-proof-flow span,.mmd-proof-flow i{font-weight:700}.mmd-proof-flow b,.mmd-proof-flow strong{font:900 28px/1 system-ui;color:#0d7d84}.mmd-proof-meter{grid-column:1/-1;height:12px;border-radius:999px;background:#d9e4e8;overflow:hidden}.mmd-proof-meter span{display:block;width:calc(var(--done)*50%);height:100%;overflow:hidden;background:#38b778;color:transparent;transition:.4s}.divide-proof .chain{width:260px}.mmd-proof-shift{display:flex;align-items:center;justify-content:center;gap:14px}.mmd-proof-shift span,.mmd-proof-shift b{font:900 31px/1 system-ui}.mmd-proof-shift i{font-weight:750;color:#0f858b}
.mmd-final{width:min(880px,100%);display:grid;gap:16px}.mmd-final-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mmd-final-cards button{min-height:140px;border:0;border-radius:20px;background:#fff;padding:14px;display:grid;place-content:center;gap:7px;box-shadow:inset 0 0 0 1px #17354b1c}.mmd-final-cards button.selected{background:#e2f8e8;box-shadow:inset 0 0 0 3px #2a9f68}.mmd-final-cards b{font-size:12px}.mmd-final-cards span{font:800 18px/1.25 system-ui}.mmd-final label{display:grid;gap:7px;font-weight:800}.mmd-final textarea{width:100%;box-sizing:border-box;resize:none;border:2px solid #bed2d9;border-radius:16px;padding:13px;font:650 16px/1.4 system-ui}.mmd-finish{max-width:760px;text-align:center;padding:28px;border-radius:28px;background:#ffffffcf}.mmd-finish span{font-size:12px;font-weight:900;letter-spacing:.13em;color:#117d84}.mmd-finish h2{font:900 clamp(26px,4vw,42px)/1.08 system-ui}.mmd-finish p{font-weight:650;line-height:1.55}.mmd-finish small{color:#607481}
.mmd-support{display:flex;gap:8px;justify-content:center}.mmd-help{margin:8px auto 0;max-width:820px;padding:14px;border-radius:18px;background:#fffdf1;box-shadow:0 8px 22px #17354b20}.mmd-help>div:first-child{display:flex;align-items:center;justify-content:space-between}.mmd-help p{margin:8px 0}.mmd-alt-visual{min-height:96px;display:grid;place-items:center}.mmd-alt-place,.mmd-alt-gears,.mmd-alt-crates,.mmd-alt-half,.mmd-alt-balance,.mmd-alt-quarter,.mmd-alt-route,.mmd-alt-train,.mmd-alt-packs{width:min(620px,100%);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px}.mmd-alt-place{display:grid}.mmd-alt-half b,.mmd-alt-quarter b,.mmd-alt-route span,.mmd-alt-gears span,.mmd-alt-crates span,.mmd-alt-train span,.mmd-alt-train b,.mmd-alt-packs span{padding:9px 12px;border-radius:12px;background:#e2f5f6;font-style:normal}.mmd-alt-quarter b{background:#ffd7c8}.mmd-alt-quarter span{width:100%;text-align:center}.mmd-alt-balance i{width:130px;height:6px;background:#17354b;border-radius:4px}
@keyframes mmd-pulse{to{transform:scale(1.04);filter:drop-shadow(0 12px 13px #f4b83f66)}}@keyframes mmd-open{from{transform:scaleX(.65);opacity:.65}to{transform:scaleX(1);opacity:1}}@keyframes mmd-right{to{transform:translateX(54px)}}@keyframes mmd-zero-in{from{transform:translateY(-38px) scale(.6);opacity:0}to{transform:none;opacity:1}}@keyframes mmd-pack{from{transform:translateY(-22px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:820px){.mmd-scene{padding:12px;gap:8px}.mmd-scene>header{display:grid}.mmd-scene>header h1{max-width:100%;text-align:left;font-size:21px}.mmd-button{min-height:46px;padding:10px 12px;font-size:14px}.mmd-workspace{align-content:start;overflow:auto;padding:2px}.mmd-car{width:84px}.mmd-car b{font-size:23px}.mmd-cars.moved-1{transform:translateX(-20px)}.mmd-cars.moved-2{transform:translateX(-35px)}.mmd-cars.moved-3{transform:translateX(-48px)}.mmd-cars.moved--1{transform:translateX(20px)}.mmd-cars.moved--2{transform:translateX(35px)}.mmd-cars.moved--3{transform:translateX(48px)}.mmd-hook-track,.mmd-track-window{min-height:118px}.mmd-place-grid>div{min-height:58px}.mmd-place-grid small{font-size:9px}.mmd-place-grid b{font-size:21px}.mmd-gates{grid-template-columns:1fr 1fr}.mmd-gates>div{min-height:190px}.mmd-factor-lab,.mmd-power-lab,.mmd-half-lab,.mmd-quarter-lab,.mmd-pattern-lab,.mmd-pack-lab,.mmd-proof{grid-template-columns:1fr;gap:10px}.mmd-factor-lab>.mmd-tool{width:170px;margin:auto}.mmd-workbench{min-height:170px}.mmd-workbench .crate{width:105px}.mmd-workbench .gears{width:140px}.mmd-half-lab>.half{width:150px;margin:auto}.mmd-half-flow>b,.mmd-quarter-flow>b{font-size:27px}.mmd-quarter-lab>.quarter{width:110px;margin:auto}.mmd-quarter-lab>.crate{width:90px;margin:auto}.mmd-route-lab{grid-template-columns:1fr 1fr}.mmd-route-lab>.chain{grid-column:1/-1;width:120px;margin:auto}.mmd-route-card{min-height:135px;padding:10px}.mmd-route-card b{font-size:17px}.mmd-divide-shift>.chain{width:190px;height:75px}.mmd-divide-shift>.mmd-cars .mmd-car{width:65px}.mmd-pattern-lab>.mmd-cars{order:-1}.mmd-pattern-rows>div{padding:10px;font-size:13px}.mmd-pattern-rows b{font-size:20px}.mmd-pack-lab .crate{width:115px}.mmd-proof{padding:12px}.mmd-proof h2{grid-column:1;font-size:27px}.mmd-proof>.mmd-tool{width:120px;margin:auto}.mmd-proof-meter{grid-column:1}.mmd-final-cards{grid-template-columns:1fr}.mmd-final-cards button{min-height:74px}.mmd-final textarea{font-size:15px}.mmd-help{margin-inline:6px}.mmd-zero-live{width:54px}.mmd-equation b{font-size:23px}}
@media(max-height:720px) and (min-width:761px){.mmd-scene{padding:12px}.mmd-tool{max-height:210px}.mmd-hook-track,.mmd-track-window{min-height:135px}.mmd-route-card{min-height:145px}.mmd-final-cards button{min-height:105px}}
@media(prefers-reduced-motion:reduce){.mmd-tool,.mmd-cars,.mmd-zero-live,.mmd-pack-stack i{animation:none!important;transition:none!important}}

/* grade4-multiply-divide-relations.css */
.grade4-mdr-shell{--mdr-ink:#143653;--mdr-teal:#079bb5;--mdr-deep:#075a73;--mdr-violet:#7444c4;--mdr-amber:#ffb21c;--mdr-orange:#ed701f}.grade4-mdr-board{overflow:hidden;background:radial-gradient(circle at 10% 12%,#fff3be 0 12%,transparent 32%),linear-gradient(145deg,#e8fbff,#f7f0ff 56%,#fff3e5);color:var(--mdr-ink)}
.mdr-scene{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:18px}.mdr-scene>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.mdr-scene>header span{font:900 12px/1 system-ui;letter-spacing:.13em;color:#087a91}.mdr-scene>header h1{margin:0;max-width:72%;text-align:right;font:900 clamp(20px,2.7vw,32px)/1.05 system-ui}.mdr-workspace{min-height:0;display:grid;place-items:center;overflow:visible}.mdr-result{min-height:24px}.mdr-result p{margin:0;padding:8px 12px;border-radius:12px;background:#dcf7e8;color:#165f34;font-weight:800}.mdr-result small{display:block;margin-top:4px;color:#536c7a}.mdr-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.mdr-button{min-height:48px;border:0;border-radius:16px;padding:11px 17px;background:#fff;color:var(--mdr-ink);box-shadow:0 8px 20px #14365318,inset 0 0 0 1px #14365318;font:800 15px/1.2 system-ui;cursor:pointer;touch-action:manipulation}.mdr-button:hover,.mdr-button:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px #1436532b,inset 0 0 0 2px #079bb5}.mdr-button.done{background:#dcf7e8}.mdr-instruction{padding:11px 15px;border-radius:14px;background:#fff6cf;font-weight:800}.mdr-tool{display:block;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 10px 9px #14365328);user-select:none;pointer-events:none}.mdr-tool.pop{animation:mdr-pop .5s both}.mdr-equation{display:grid;gap:3px;text-align:center;padding:11px 16px;border-radius:18px;background:#fffff2df;box-shadow:inset 0 0 0 1px #14365314}.mdr-equation b{font:900 clamp(22px,3vw,36px)/1 system-ui}.mdr-equation small{color:#59717e;font-weight:700}
.mdr-hook,.mdr-groups,.mdr-array,.mdr-equal-products,.mdr-tower,.mdr-parts,.mdr-missing,.mdr-family,.mdr-sharing,.mdr-grouping,.mdr-check,.mdr-proof,.mdr-final{width:min(920px,100%);display:grid;place-items:center;gap:14px}.mdr-trays{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:min(760px,100%)}.mdr-tray{position:relative;min-height:190px;display:grid;place-items:center}.mdr-tray img{width:100%;height:100%;object-fit:contain;transition:.45s}.mdr-tray.filled img{animation:mdr-fill .55s both}.mdr-group-strip{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.mdr-group-strip span{padding:10px 14px;border-radius:14px;background:#fff;font-weight:900}.mdr-array-stage{position:relative;width:min(460px,70vw);height:min(360px,42vh);display:grid;place-items:center;perspective:900px}.mdr-array-stage img{width:100%;height:100%;object-fit:contain;transform-origin:50% 55%;transition:.65s cubic-bezier(.2,.85,.2,1)}.mdr-array-stage.rotated img{transform:rotate(90deg) scale(.82);filter:drop-shadow(10px -8px 9px #14365330)}.mdr-array-labels{display:flex;gap:9px}.mdr-array-labels b{padding:9px 13px;border-radius:14px;background:#d6f6fb}.mdr-array-labels b:last-child{background:#eadcff}.mdr-counter{position:absolute;right:4%;top:8%;padding:8px 11px;border-radius:999px;background:#fff;font-weight:900;box-shadow:0 7px 20px #14365325}.mdr-product-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.mdr-product-cards button{min-height:120px;border:0;border-radius:20px;background:#fff;font:900 25px/1 system-ui;box-shadow:inset 0 0 0 1px #1436531c}.mdr-product-cards button.selected{background:#dcf7e8;box-shadow:inset 0 0 0 3px #2ca66a}.mdr-tower{grid-template-columns:.8fr 1.2fr}.mdr-tower>.mdr-tool{width:290px;max-height:350px}.mdr-tower-meter{display:grid;gap:8px;width:100%}.mdr-tower-meter span{padding:14px;border-radius:15px;background:#fff;font-weight:850}.mdr-tower-meter span.active{background:#fff0ad;animation:mdr-pop .45s both}.mdr-parts-grid{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:12px;width:100%}.mdr-parts-grid>div{min-height:150px;display:grid;place-content:center;text-align:center;border-radius:22px;background:#fff}.mdr-parts-grid b{font:900 34px/1 system-ui}.mdr-parts-grid small{margin-top:8px;color:#5a7280;font-weight:750}.mdr-missing-flow,.mdr-check-flow{display:flex;align-items:center;justify-content:center;gap:11px;flex-wrap:wrap}.mdr-missing-flow span,.mdr-missing-flow b,.mdr-check-flow span,.mdr-check-flow b{padding:13px 17px;border-radius:16px;background:#fff;font:900 23px/1 system-ui}.mdr-family{grid-template-columns:.85fr 1.15fr}.mdr-family>.mdr-tool{width:310px;max-height:360px}.mdr-family-lines{display:grid;gap:8px;width:100%}.mdr-family-lines>div{padding:12px 16px;border-radius:15px;background:#fff;font:900 22px/1 system-ui;opacity:.45;transform:translateX(12px)}.mdr-family-lines>div.active{opacity:1;transform:none;transition:.45s}.mdr-sharing,.mdr-grouping{grid-template-columns:1fr 1fr}.mdr-sharing .pods,.mdr-grouping .pods{width:420px;max-height:250px}.mdr-sharing .stars,.mdr-grouping .stars{width:300px;max-height:260px}.mdr-star-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;width:100%}.mdr-star-counts span{padding:16px 8px;border-radius:16px;background:#fff;text-align:center;font:900 22px/1 system-ui}.mdr-circles{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.mdr-circles span{padding:18px;border:3px solid #079bb5;border-radius:999px;background:#fff;font:900 18px/1 system-ui}.mdr-remainder{display:grid;grid-template-columns:1fr 140px;gap:10px;align-items:center}.mdr-remainder .stars{width:300px}.mdr-remainder .pocket{width:130px}.mdr-proof{padding:17px;border-radius:26px;background:#ffffffbd}.mdr-proof h2{margin:0;font:900 32px/1 system-ui}.mdr-proof-meter{height:12px;width:100%;border-radius:999px;background:#d8e7ec;overflow:hidden}.mdr-proof-meter i{display:block;width:var(--progress);height:100%;background:#2caf72;transition:.45s}.mdr-final-cards{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mdr-final-cards button{min-height:130px;border:0;border-radius:20px;padding:12px;background:#fff;display:grid;place-content:center;gap:6px;box-shadow:inset 0 0 0 1px #1436531c}.mdr-final-cards button.selected{background:#dcf7e8;box-shadow:inset 0 0 0 3px #2ca66a}.mdr-final-cards b{font:900 22px/1 system-ui}.mdr-final label{display:grid;gap:7px;width:100%;font-weight:850}.mdr-final textarea{width:100%;box-sizing:border-box;resize:none;border:2px solid #bed5dd;border-radius:16px;padding:13px;font:650 16px/1.4 system-ui}.mdr-finish{max-width:760px;text-align:center;padding:28px;border-radius:28px;background:#ffffffd5}.mdr-finish span{font-size:12px;font-weight:900;letter-spacing:.13em;color:#087a91}.mdr-finish h2{font:900 clamp(26px,4vw,42px)/1.08 system-ui}.mdr-finish p{font-weight:650;line-height:1.55}.mdr-support{display:flex;gap:8px;justify-content:center}.mdr-help{margin:8px auto 0;max-width:820px;padding:14px;border-radius:18px;background:#fffdf1;box-shadow:0 8px 22px #14365320}.mdr-help>div:first-child{display:flex;align-items:center;justify-content:space-between}.mdr-help p{margin:8px 0}.mdr-alt{min-height:90px;display:grid;place-items:center}.mdr-alt>div{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.mdr-alt span,.mdr-alt b{padding:9px 12px;border-radius:12px;background:#dcf4f7}
.mdr-asset-gate{height:100%;display:grid;place-content:center;text-align:center}@keyframes mdr-pop{from{transform:scale(.72);opacity:.25}to{transform:none;opacity:1}}@keyframes mdr-fill{from{transform:translateY(-20px) scale(.9);opacity:.35}to{transform:none;opacity:1}}
@media(max-width:820px){.mdr-scene{padding:11px;gap:8px}.mdr-scene>header{display:grid}.mdr-scene>header h1{max-width:100%;text-align:left;font-size:20px}.mdr-workspace{align-content:start;overflow:auto;padding:2px}.mdr-button{min-height:46px;padding:10px 12px;font-size:14px}.mdr-trays{gap:3px}.mdr-tray{min-height:105px}.mdr-array-stage{width:min(310px,82vw);height:220px}.mdr-product-cards{grid-template-columns:1fr 1fr}.mdr-product-cards button{min-height:76px;font-size:20px}.mdr-tower,.mdr-family,.mdr-sharing,.mdr-grouping{grid-template-columns:1fr;gap:8px}.mdr-tower>.mdr-tool,.mdr-family>.mdr-tool{width:150px;max-height:190px}.mdr-parts-grid{grid-template-columns:1fr 1fr 1fr;gap:5px}.mdr-parts-grid>div{min-height:92px}.mdr-parts-grid b{font-size:25px}.mdr-sharing .pods,.mdr-grouping .pods{width:260px;max-height:130px}.mdr-sharing .stars,.mdr-grouping .stars{width:170px;max-height:120px}.mdr-circles span{padding:11px;font-size:15px}.mdr-remainder{grid-template-columns:1fr 90px}.mdr-remainder .stars{width:180px}.mdr-remainder .pocket{width:80px}.mdr-final-cards{grid-template-columns:1fr}.mdr-final-cards button{min-height:68px}.mdr-final textarea{font-size:15px}.mdr-help{margin-inline:5px}.mdr-equation b{font-size:22px}}
@media(max-height:720px) and (min-width:761px){.mdr-scene{padding:12px}.mdr-tray{min-height:145px}.mdr-array-stage{height:260px}.mdr-final-cards button{min-height:90px}}
@media(prefers-reduced-motion:reduce){.mdr-tool,.mdr-tray img,.mdr-array-stage img{animation:none!important;transition:none!important}}

/* grade4-multiply-divide-relations-layout.css */
.mdr-family,
.mdr-family-lines,
.mdr-family-lines > div,
.mdr-proof {
  box-sizing: border-box;
  max-width: 100%;
}

.mdr-workspace {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.mdr-hook,
.mdr-groups,
.mdr-array,
.mdr-equal-products,
.mdr-tower,
.mdr-parts,
.mdr-missing,
.mdr-family,
.mdr-sharing,
.mdr-grouping,
.mdr-check,
.mdr-proof,
.mdr-final {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 920px;
}

.mdr-array-stage,
.mdr-proof-meter {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.mdr-array-stage {
  max-width: 420px;
}

.mdr-family-lines > div {
  transform: none;
}

@media (max-width: 760px) {
  .mdr-family-lines > div {
    transform: none;
  }

  .mdr-proof {
    width: calc(100% - 30px);
  }

  .mdr-proof .mdr-array-stage,
  .mdr-proof-meter {
    width: 100%;
    max-width: 270px;
  }

  .mdr-array > .mdr-array-stage {
    max-width: 310px;
  }
}

/* grade4-operation-instructions.css */
.grade4-oi-shell{--oi-ink:#123c56;--oi-cyan:#08a7c2;--oi-violet:#7445c7;--oi-orange:#f5821f;--oi-green:#2bab69}.grade4-oi-board{overflow:hidden;background:radial-gradient(circle at 12% 10%,#fff2ad 0 8%,transparent 29%),linear-gradient(145deg,#e9fbff,#f8f2ff 56%,#fff5e8);color:var(--oi-ink)}
.oi-scene{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;padding:16px}.oi-scene>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.oi-scene>header span{font:900 12px/1 system-ui;letter-spacing:.13em;color:#087f94}.oi-scene>header h1{margin:0;max-width:74%;text-align:right;font:900 clamp(20px,2.7vw,31px)/1.05 system-ui}.oi-workspace{min-height:0;display:grid;place-items:center;overflow:visible}.oi-result{min-height:20px}.oi-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.oi-button{min-height:48px;border:0;border-radius:16px;padding:11px 16px;background:#fff;color:var(--oi-ink);box-shadow:0 8px 20px #123c561c,inset 0 0 0 1px #123c561a;font:800 15px/1.2 system-ui;cursor:pointer;touch-action:manipulation}.oi-button:hover,.oi-button:focus-visible{transform:translateY(-2px);box-shadow:0 11px 24px #123c5630,inset 0 0 0 2px var(--oi-cyan)}.oi-button.primary{background:#145f79;color:#fff}.oi-button.done,.oi-button.selected{background:#d8f7e7;box-shadow:inset 0 0 0 3px var(--oi-green)}.oi-equation{display:grid;gap:4px;text-align:center;padding:10px 15px;border-radius:18px;background:#fffff1d9}.oi-equation b{font:900 clamp(22px,3vw,34px)/1 system-ui}.oi-equation small{font-weight:750;color:#5b7280}.oi-complete-stamp{padding:7px 14px;border-radius:999px;background:#d9f7e7;color:#17643a;font-weight:900;letter-spacing:.08em}
.oi-robot-stage{position:relative;width:min(760px,94%);aspect-ratio:3/2;isolation:isolate}.oi-robot-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 13px 11px #173f5922);z-index:2}.oi-product{position:absolute;left:77%;top:64%;width:11%;aspect-ratio:1.35;border-radius:13px;background:linear-gradient(145deg,#ffe27c,#ff9624);box-shadow:0 10px 14px #173f5940;z-index:3;transition:1s cubic-bezier(.2,.8,.2,1)}.oi-product i{position:absolute;inset:24%;border-radius:6px;background:#fff6ce}.oi-robot-stage[style*="--oi-step:1"] .oi-product{left:61%;top:48%;transform:translate(-50%,-50%) rotate(-6deg)}.oi-robot-stage[style*="--oi-step:2"] .oi-product,.oi-robot-stage[style*="--oi-step:3"] .oi-product,.oi-robot-stage[style*="--oi-step:4"] .oi-product{left:54%;top:57%;transform:translate(-50%,-50%) scale(.78);z-index:1}.oi-lid{position:absolute;left:37.5%;top:41%;width:31%;height:12%;border-radius:14px;background:linear-gradient(#9557ec,#7133ba);transform-origin:bottom;transform:perspective(500px) rotateX(68deg);opacity:0;z-index:4;transition:.7s}.oi-robot-stage[style*="--oi-step:3"] .oi-lid,.oi-robot-stage[style*="--oi-step:4"] .oi-lid,.oi-robot-stage.packed .oi-lid{opacity:1;transform:perspective(500px) rotateX(0)}.oi-label-token{position:absolute;left:49%;top:49%;width:13%;height:7%;border-radius:8px;background:#fff6cf;border:2px solid #f1a02b;opacity:0;z-index:5;transform:rotate(-5deg);transition:.5s}.oi-robot-stage[style*="--oi-step:4"] .oi-label-token,.oi-robot-stage.packed .oi-label-token,.oi-robot-stage.error .oi-label-token{opacity:1}.oi-robot-stage.error .oi-label-token{left:47%;top:38%;transform:rotate(18deg);box-shadow:0 0 0 5px #ef554b88}.oi-robot-stage>ol{position:absolute;right:2%;top:5%;display:grid;gap:5px;margin:0;padding:0;list-style:none;z-index:6}.oi-robot-stage>ol li{display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:12px;background:#ffffffd9;font:800 11px/1.15 system-ui;opacity:.48}.oi-robot-stage>ol li.done,.oi-robot-stage>ol li.active{opacity:1}.oi-robot-stage>ol li.done{background:#d8f7e7}.oi-robot-stage>ol span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#d7f4f9}.oi-instruction-card,.oi-error-note,.oi-missing-slot{position:absolute;left:50%;bottom:7%;translate:-50% 0;z-index:7;padding:9px 13px;border-radius:14px;background:#fff;font-weight:850;box-shadow:0 8px 20px #123c5626}.oi-error-note{background:#ffe0dd;color:#8f2f2b}.oi-missing-slot{background:#fff2ad}
.oi-number-track{position:relative;width:min(850px,96%);display:grid;grid-template-columns:repeat(var(--count,7),1fr);gap:8px;padding:54px 14px 18px;border-radius:34px;background:linear-gradient(165deg,#d4f7fc,#e8defb);box-shadow:inset 0 -10px 22px #123c5614}.oi-number-track span{display:grid;place-items:center;min-height:78px;border-radius:22px;background:#fff;font:900 24px/1 system-ui;box-shadow:0 8px 15px #123c561a;transition:.45s}.oi-number-track span.visited{background:#fff0a9;transform:translateY(-5px)}.oi-number-track span.active{background:#bff3d7;box-shadow:0 0 0 4px #2bab6955}.oi-number-track.even{--count:5}.oi-number-track.rhythm{--count:5}.oi-runner{position:absolute;left:calc(3% + (var(--oi-index) * 23%));top:5px;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:linear-gradient(145deg,#ffb733,#ed6e20);color:#fff;font:900 17px/1 system-ui;box-shadow:0 9px 15px #b14d2538;transition:.7s cubic-bezier(.2,.86,.2,1);z-index:3}.oi-number-track:not(.even):not(.rhythm) .oi-runner{left:calc(3% + (var(--oi-index) * 15.7%))}
.oi-order-board{width:min(820px,96%);display:grid;grid-template-columns:120px repeat(3,1fr) 120px;gap:10px;align-items:center}.oi-order-board span,.oi-order-board strong,.oi-order-board i{display:grid;place-items:center;min-height:100px;border-radius:23px;background:#fff;font:900 28px/1 system-ui}.oi-order-board i{border:3px dashed #66bfd0;color:#86a3ae}.oi-order-board strong{background:#d9f7e7}
.oi-console-stage{position:relative;width:min(610px,86%);aspect-ratio:1.1}.oi-console-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 11px 10px #123c5622)}.oi-console-digits{position:absolute;left:17.6%;right:17.6%;top:21%;height:37%;display:grid;grid-template-columns:repeat(4,1fr);gap:5.8%}.oi-console-digits b{display:grid;place-items:center;font:900 clamp(32px,6vw,62px)/1 system-ui;color:#123c56;text-shadow:0 3px #fff}.oi-selector{position:absolute;left:42%;bottom:30%;width:17%;height:7%;border-radius:999px;background:#bff8ff88;box-shadow:0 0 0 3px #01bdd9;transition:.8s}.oi-console-stage.complete .oi-selector{left:56%}.oi-console-caption{position:absolute;left:50%;bottom:3%;translate:-50% 0;width:max-content;max-width:90%;padding:8px 12px;border-radius:12px;background:#ffffffdc;text-align:center;font-weight:850}
.oi-pipeline-stage{position:relative;width:min(900px,96%);aspect-ratio:1.75}.oi-pipeline-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 10px #123c5626)}.oi-operation-slots{position:absolute;left:18.3%;right:8%;top:27%;display:grid;grid-template-columns:repeat(4,1fr);gap:6.5%}.oi-operation-slots span{display:grid;place-items:center;gap:2px;min-height:58px;border-radius:13px;background:#fff2bd;font-weight:900;box-shadow:0 7px 12px #123c5620;opacity:.5}.oi-operation-slots span.active,.oi-operation-slots span.done{opacity:1}.oi-operation-slots span.done{background:#d8f7e7}.oi-operation-slots small{font-size:10px;color:#63808c}.oi-operation-slots b{font-size:21px}.oi-number-token{position:absolute;left:calc(20% + var(--oi-progress) * 69%);top:54%;translate:-50% -50%;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3ac,#ff991e 45%,#de6315);color:#fff;font:900 17px/1 system-ui;box-shadow:0 9px 17px #8b461c66;transition:.8s cubic-bezier(.2,.85,.2,1);z-index:4}.oi-value-trace{position:absolute;left:50%;bottom:2%;translate:-50% 0;display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.oi-value-trace b{padding:6px 9px;border-radius:10px;background:#fff;font-size:14px}.oi-pipeline-stage.five{aspect-ratio:1.65;padding-top:68px}.oi-pipeline-stage.five .oi-operation-slots{left:5%;right:5%;top:1%;grid-template-columns:repeat(5,1fr);gap:5px}.oi-pipeline-stage.five .oi-number-token{top:61%}
.oi-route-stage{position:relative;width:min(650px,86%);aspect-ratio:1.25}.oi-route-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 9px #123c5628)}.oi-route-start,.oi-route-target,.oi-route-card,.oi-route-token{position:absolute;z-index:3;display:grid;place-items:center}.oi-route-start{left:47%;bottom:12%;width:8%;aspect-ratio:1;border-radius:50%;background:#fff;font-weight:900}.oi-route-target{left:47%;top:5%;width:8%;aspect-ratio:1;border-radius:50%;background:#fff5bd;font-weight:900}.oi-route-card{width:11%;aspect-ratio:1.55;border-radius:50%;background:#fff;font:900 15px/1 system-ui}.oi-route-card.blue.a{left:18%;top:49%}.oi-route-card.blue.b{left:27%;top:21%}.oi-route-card.purple.a{right:18%;top:49%}.oi-route-card.purple.b{right:27%;top:21%}.oi-route-token{left:48%;bottom:16%;width:45px;height:45px;border-radius:50%;color:#fff;font-weight:900;opacity:0;transition:1s}.oi-route-token.blue{background:#08a7c2}.oi-route-token.purple{background:#7445c7}.oi-route-stage.blue-done .oi-route-token.blue{left:31%;bottom:69%;opacity:1}.oi-route-stage.purple-done .oi-route-token.purple{left:63%;bottom:69%;opacity:1}.oi-route-equations{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.oi-route-equations span{padding:8px 11px;border-radius:12px;background:#fff;font-weight:800}
.oi-final,.oi-finish{width:min(820px,96%);display:grid;gap:11px;place-items:center;text-align:center;padding:18px;border-radius:26px;background:#ffffffcf}.oi-final h2,.oi-finish h2{margin:0;font:900 clamp(25px,4vw,39px)/1.08 system-ui}.oi-final-mini{width:220px;height:125px;overflow:hidden}.oi-final-mini .oi-robot-stage{width:220px}.oi-final-mini .oi-robot-stage>ol{display:none}.oi-paraphrase-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}.oi-final label{display:grid;gap:6px;width:100%;text-align:left;font-weight:850}.oi-final textarea{width:100%;box-sizing:border-box;min-height:84px;resize:none;border:2px solid #bfd7df;border-radius:15px;padding:12px;font:650 15px/1.4 system-ui}.oi-finish span{font-size:12px;font-weight:900;letter-spacing:.13em;color:#087f94}.oi-finish p{font-weight:650;line-height:1.5}.oi-finish small{color:#617780}
.oi-support{display:flex;gap:8px;justify-content:center}.oi-help{margin:8px auto 0;max-width:820px;padding:13px;border-radius:18px;background:#fffdf1;box-shadow:0 8px 22px #123c5620}.oi-help p{margin:7px 0}.oi-alt{min-height:72px;display:grid;place-items:center}.oi-alt>div{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.oi-alt span,.oi-alt b{padding:8px 10px;border-radius:11px;background:#ddf4f7}.oi-asset-gate{height:100%;display:grid;place-content:center;text-align:center}
@media(max-width:820px){.oi-scene{padding:10px;gap:7px}.oi-scene>header{display:grid}.oi-scene>header h1{max-width:100%;text-align:left;font-size:20px}.oi-workspace{align-content:start;overflow:auto;padding:2px}.oi-button{min-height:46px;padding:10px 12px;font-size:14px}.oi-robot-stage{width:100%;min-height:250px}.oi-robot-stage>ol{right:0;top:0}.oi-robot-stage>ol li{font-size:9px;padding:4px}.oi-instruction-card,.oi-error-note,.oi-missing-slot{bottom:1%;font-size:12px}.oi-number-track{gap:4px;padding:48px 6px 10px}.oi-number-track span{min-height:56px;border-radius:14px;font-size:18px}.oi-runner{width:42px;height:42px}.oi-order-board{grid-template-columns:58px repeat(3,1fr) 58px;gap:4px}.oi-order-board span,.oi-order-board strong,.oi-order-board i{min-height:68px;font-size:19px}.oi-console-stage{width:100%;min-height:310px}.oi-pipeline-stage{width:100%;min-height:260px}.oi-operation-slots span{min-height:42px}.oi-operation-slots b{font-size:15px}.oi-number-token{width:42px;height:42px;font-size:14px}.oi-route-stage{width:100%;min-height:330px}.oi-route-card{font-size:12px}.oi-paraphrase-cards{grid-template-columns:1fr}.oi-final-mini{display:none}.oi-help{margin-inline:4px}.oi-equation b{font-size:22px}}
@media(max-height:720px) and (min-width:761px){.oi-scene{padding:11px}.oi-robot-stage{width:min(610px,88%)}.oi-console-stage{width:min(460px,70%)}.oi-pipeline-stage{width:min(720px,88%)}.oi-route-stage{width:min(500px,72%)}}
@media(prefers-reduced-motion:reduce){.oi-product,.oi-lid,.oi-label-token,.oi-runner,.oi-number-track span,.oi-selector,.oi-number-token,.oi-route-token{transition:none!important;animation:none!important}}
.oi-robot-stage.is-closed>img{transform:translate(1%,1%) scale(1.04)}

/* Keep the taller visual machines inside the lesson canvas at common desktop
   and phone viewports; the scene remains scrollable on unusually short screens. */
@media(min-width:761px){.oi-console-stage{width:min(470px,72%)}}
@media(max-width:820px){.oi-workspace{overflow-y:auto;overflow-x:hidden}.oi-robot-stage,.oi-console-stage,.oi-pipeline-stage,.oi-route-stage{min-height:0}.oi-console-stage{width:min(340px,100%)}}

@media(min-width:761px){.oi-final{padding:12px;gap:7px}.oi-final-mini{width:170px;height:82px}.oi-final-mini .oi-robot-stage{width:170px}.oi-final h2{font-size:30px}.oi-final p{margin:2px}.oi-paraphrase-cards .oi-button{min-height:72px;padding:7px 9px;font-size:13px}.oi-final textarea{min-height:64px}}

/* Completed route tokens sit above every operation card and meet at the shared
   target without covering one another. */
.oi-route-token{z-index:5;box-shadow:0 0 0 4px #fff,0 8px 15px #123c5655}
.oi-route-stage.blue-done .oi-route-token.blue{left:39%;bottom:74%;opacity:1}
.oi-route-stage.purple-done .oi-route-token.purple{left:55%;bottom:74%;opacity:1}

@media(max-height:720px) and (min-width:761px){.oi-scene{padding:7px;gap:5px}.oi-final{padding:8px;gap:4px}.oi-final-mini{width:140px;height:64px}.oi-final-mini .oi-robot-stage{width:140px}.oi-final h2{font-size:27px}.oi-final textarea{min-height:54px}.oi-paraphrase-cards .oi-button{min-height:60px;padding:5px 7px;font-size:12px}.oi-help{padding:7px;margin-top:4px;font-size:13px}.oi-help p{margin:3px 0}.oi-alt{min-height:44px}.oi-alt span,.oi-alt b{padding:5px 7px}}

/* grade4-operation-problems.css */
.grade4-sop-shell{--sop-ink:#173b4d;--sop-teal:#138ca0;--sop-orange:#ef8125;--sop-green:#2caa70;--sop-red:#d8574f;--sop-violet:#7054b7}.grade4-sop-board{overflow:hidden;background:radial-gradient(circle at 12% 9%,#fff2b3 0 7%,transparent 26%),linear-gradient(145deg,#e9faff,#f6f1ff 55%,#fff7e8);color:var(--sop-ink)}
.sop-scene{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:14px}.sop-scene>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.sop-scene>header span{font:900 12px/1 system-ui;letter-spacing:.13em;color:#087d91}.sop-scene>header h1{margin:0;max-width:75%;text-align:right;font:900 clamp(20px,2.6vw,31px)/1.05 system-ui}.sop-workspace{position:relative;min-height:0;display:grid;place-items:center;overflow:visible}.sop-result{min-height:18px}.sop-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.sop-button{min-height:48px;border:0;border-radius:16px;padding:11px 16px;background:#fff;color:var(--sop-ink);box-shadow:0 8px 20px #173b4d1c,inset 0 0 0 1px #173b4d1a;font:800 15px/1.22 system-ui;cursor:pointer;touch-action:manipulation}.sop-button:hover,.sop-button:focus-visible{transform:translateY(-2px);box-shadow:0 11px 24px #173b4d30,inset 0 0 0 2px var(--sop-teal)}.sop-button.primary{background:#17617a;color:#fff}.sop-button.done,.sop-button.selected{background:#d8f7e7;box-shadow:inset 0 0 0 3px var(--sop-green)}.sop-equation{display:grid;gap:4px;text-align:center;padding:9px 14px;border-radius:17px;background:#fffff1e8}.sop-equation b{font:900 clamp(21px,3vw,33px)/1 system-ui}.sop-equation small{font-weight:750;color:#5f7681}.sop-complete-stamp{position:absolute;right:4%;bottom:3%;padding:7px 13px;border-radius:999px;background:#d9f7e7;color:#17643a;font-weight:900;letter-spacing:.08em;z-index:10}
.sop-photo-stage{position:relative;width:min(760px,94%);aspect-ratio:1;isolation:isolate;border-radius:28px;overflow:hidden;box-shadow:0 15px 30px #183f5529}.sop-scene-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.sop-sprite{position:absolute;z-index:4;object-fit:contain;filter:drop-shadow(0 9px 7px #143e5550);transition:1s cubic-bezier(.2,.85,.2,1)}.sop-sprite.apple{left:17%;top:56%;width:12%}.sop-sprite.bottle{left:32%;top:49%;width:10%}.sop-sprite.nuts{left:45%;top:55%;width:12%}.sop-sprite.apple.moved{left:73%;top:71%;width:8%;transform:rotate(-8deg)}.sop-sprite.bottle.moved{left:79%;top:64%;width:7%;transform:rotate(5deg)}.sop-sprite.nuts.moved{left:84%;top:72%;width:8%;transform:rotate(8deg)}.sop-target-label{position:absolute;right:4%;bottom:5%;z-index:5;padding:7px 10px;border-radius:10px;background:#fff8d8e8;font:900 11px/1 system-ui;letter-spacing:.08em}.sop-live-ledger{position:absolute;left:3%;top:3%;z-index:5;display:grid;gap:5px}.sop-live-ledger span{padding:6px 9px;border-radius:11px;background:#fffffff0;font:850 12px/1 system-ui;box-shadow:0 5px 12px #173b4d24}.sop-scene-caption,.sop-independent-label{position:absolute;left:50%;bottom:3%;translate:-50% 0;z-index:8;width:max-content;max-width:82%;padding:8px 12px;border-radius:13px;background:#ffffffe8;text-align:center;font:850 13px/1.25 system-ui;box-shadow:0 7px 18px #173b4d28}
.sop-card-sort,.sop-sort-bins{position:absolute;right:3%;top:17%;z-index:7;width:30%;display:grid;gap:8px}.sop-card-sort>div,.sop-sort-bins>div{min-height:72px;padding:9px;border-radius:15px;background:#fffffff0;box-shadow:0 8px 18px #173b4d28}.sop-card-sort b,.sop-sort-bins b{display:block;margin-bottom:5px;color:#087d91;font:900 11px/1 system-ui;letter-spacing:.08em}.sop-card-sort span,.sop-sort-bins span{display:block;font:760 11px/1.3 system-ui}
.sop-model-lab{width:min(850px,96%);display:grid;gap:14px}.sop-token-tray{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;padding:13px;border-radius:25px;background:linear-gradient(145deg,#cceff4,#fff8dc)}.sop-apple-token{position:relative;min-width:0;aspect-ratio:1;border:0;border-radius:17px;background:#fff;box-shadow:0 7px 13px #173b4d20;transition:.65s cubic-bezier(.2,.8,.2,1)}.sop-apple-token img{width:82%;height:82%;object-fit:contain}.sop-apple-token small{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#17617a;color:#fff;font-weight:900}.sop-apple-token.distributed{transform:translateY(12px) rotate(-8deg);background:#ffe4dd;box-shadow:0 0 0 3px #d8574f88}.sop-bar-model{display:grid;grid-template-columns:var(--away,0%) 1fr;grid-template-rows:auto auto;overflow:hidden;border-radius:19px;background:#fff;box-shadow:0 8px 18px #173b4d1e}.sop-bar-model .whole{grid-column:1/-1;padding:7px;text-align:center;background:#d5f2f6;font-weight:900}.sop-bar-model .away{min-width:6px;padding:13px 5px;background:#f8a095;text-align:center;font-weight:850;transition:.7s}.sop-bar-model .left{padding:13px 5px;background:#bfeecf;text-align:center;font-weight:850}.sop-speech-card{padding:12px 17px;border-radius:18px;background:#fff;font-weight:900;box-shadow:0 8px 20px #173b4d25}.sop-estimate{width:min(860px,96%);display:grid;gap:10px}.sop-estimate .sop-model-lab{width:100%}.sop-estimate .sop-token-tray{display:none}.sop-range{position:relative;display:grid;grid-template-columns:repeat(3,1fr);padding:32px 8px 8px;border-radius:22px;background:#fff}.sop-range span{padding:11px;text-align:center;border-right:1px solid #bfd6de;font-weight:850}.sop-range span:last-of-type{border:0}.sop-range i{position:absolute;left:var(--left);top:8px;width:26px;height:26px;border-radius:50%;background:var(--sop-orange);box-shadow:0 5px 10px #9e571f55;transition:.9s cubic-bezier(.2,.8,.2,1)}
.sop-strategy{position:relative;width:min(900px,96%);min-height:210px;padding:25px 20px 55px;box-sizing:border-box;border-radius:28px;background:linear-gradient(150deg,#cdeff3,#eee7ff);box-shadow:inset 0 -9px 20px #173b4d11}.sop-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px}.sop-flow span{display:grid;place-items:center;gap:5px;min-height:100px;border-radius:19px;background:#ffffffa8;opacity:.55;transition:.45s}.sop-flow span.active,.sop-flow span.done{opacity:1;background:#fff}.sop-flow span.done{box-shadow:inset 0 0 0 3px #2caa7066}.sop-flow small{font-weight:800;color:#6e838c}.sop-flow b{font-size:26px}.sop-flow i{font-style:normal;font-weight:900;color:#18734a}.sop-flow em{font-style:normal;font-size:26px;color:#66818d}.sop-capsule{position:absolute;left:calc(5% + var(--progress) * 87%);bottom:10px;translate:-50% 0;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3ad,#ff9b21 46%,#dd6418);color:#fff;font-weight:900;box-shadow:0 8px 14px #a4562855;transition:.8s cubic-bezier(.2,.85,.2,1)}.sop-strategy.error{background:linear-gradient(150deg,#ffe1de,#fff4d0)}.sop-check-board{width:min(880px,96%);display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:10px}.sop-check-board>div{display:grid;gap:8px;place-items:center;text-align:center;padding:16px;border-radius:22px;background:#fff;box-shadow:0 8px 18px #173b4d1c}.sop-check-board span{font:900 11px/1 system-ui;letter-spacing:.09em;color:#a5413b}.sop-check-board b{font:900 20px/1.1 system-ui}.sop-check-board small{font-weight:650;line-height:1.35;color:#667d87}.sop-gauge{position:relative;overflow:hidden}.sop-gauge:before{content:"";width:130px;height:65px;border-radius:130px 130px 0 0;background:conic-gradient(from 270deg at 50% 100%,#2caa70 0 33%,#f4bd38 33% 66%,#d8574f 66% 100%);opacity:.85}.sop-gauge i{position:absolute;left:50%;top:53px;width:58px;height:4px;background:#173b4d;transform-origin:left;transform:rotate(48deg);border-radius:5px}.sop-dual-model{width:min(900px,96%);display:grid;grid-template-columns:.85fr 1.15fr;gap:10px}.sop-dual-model>div{min-width:0}.sop-dual-model .sop-token-tray{grid-template-columns:repeat(6,1fr)}.sop-dual-model .sop-apple-token:nth-child(n+7){display:none}.sop-dual-model .sop-strategy{width:100%;min-height:260px}.sop-dual-model .sop-flow{grid-template-columns:1fr}.sop-dual-model .sop-flow em{display:none}.sop-dual-model .sop-flow span{min-height:53px}
.sop-photo-stage.trail .sop-scene-image{object-position:center}.sop-route-line{position:absolute;inset:0;z-index:3;width:100%;height:100%;pointer-events:none}.sop-route-line path{fill:none;stroke:#f6bf36;stroke-width:2.3;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:calc(100 - min(100,var(--trail-step) * 34));filter:drop-shadow(0 2px 2px #183f55aa);transition:.8s}.sop-route-line circle{fill:#fff;stroke:#17617a;stroke-width:1}.sop-hiker{position:absolute;left:calc(15% + min(3,var(--trail-step)) * 19%);top:calc(76% - min(3,var(--trail-step)) * 18%);z-index:6;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f58225;color:#fff;font:900 10px/1 system-ui;box-shadow:0 0 0 4px #fff,0 8px 14px #173b4d55;transition:.8s cubic-bezier(.2,.8,.2,1)}.sop-distance{position:absolute;z-index:5;padding:7px 10px;border-radius:11px;background:#ffffffe8;font-weight:900}.sop-distance.a{left:24%;bottom:23%}.sop-distance.b{right:22%;top:29%}.sop-scale-card{position:absolute;right:3%;bottom:3%;z-index:6;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-items:center;gap:2px 7px;padding:7px 9px;border-radius:14px;background:#fffffff0}.sop-scale-card img{grid-row:1/3;width:42px;height:42px;object-fit:contain}.sop-scale-card b{font-size:16px}.sop-scale-card small{font-size:10px}.sop-sort-bins{left:3%;right:auto;top:4%}.sop-route-steps{position:absolute;left:50%;bottom:2%;translate:-50% 0;z-index:8;display:flex;gap:6px;width:max-content;max-width:92%}.sop-route-steps span{padding:7px 9px;border-radius:11px;background:#ffffffdf;font:800 12px/1.2 system-ui}.sop-route-steps span.done{background:#d8f7e7;box-shadow:inset 0 0 0 2px #2caa7060}
.sop-photo-stage.market{aspect-ratio:1}.sop-market-apple{position:absolute;z-index:4;width:7%;height:7%;object-fit:contain;filter:drop-shadow(0 4px 3px #173b4d55);transition:.8s cubic-bezier(.2,.8,.2,1)}.sop-market-apple.a0,.sop-market-apple.a4{left:11%;top:65%}.sop-market-apple.a1,.sop-market-apple.a5{left:27%;top:65%}.sop-market-apple.a2,.sop-market-apple.a6{right:27%;top:65%}.sop-market-apple.a3,.sop-market-apple.a7{right:11%;top:65%}.sop-market-apple.a4,.sop-market-apple.a5,.sop-market-apple.a6,.sop-market-apple.a7{top:69%;transform:scale(.9)}.sop-market-apple.weighed{left:48%;right:auto;top:65%;transform:translate(-50%,-50%) scale(.7)}.sop-crate-labels{position:absolute;left:7%;right:7%;bottom:19%;z-index:6;display:grid;grid-template-columns:repeat(4,1fr);gap:7%}.sop-crate-labels span{display:grid;place-items:center;width:31px;height:31px;margin:auto;border-radius:50%;background:#fff5b8;font-weight:900;box-shadow:0 5px 10px #173b4d38}.sop-digital-scale{position:absolute;left:50%;bottom:6%;translate:-50% 0;z-index:7;display:grid;place-items:center;padding:7px 13px;border-radius:11px;background:#173b4de8;color:#d8fff0}.sop-digital-scale b{font:900 22px/1 system-ui}.sop-digital-scale small{font:800 9px/1 system-ui}.sop-independent-label{bottom:2%}
.sop-kitchen-ledger{width:min(850px,96%);display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.sop-kitchen-ledger span{display:grid;gap:8px;place-items:center;min-height:130px;padding:13px;border-radius:22px;background:#fff;font-weight:800;box-shadow:0 9px 19px #173b4d1c}.sop-kitchen-ledger b{font-size:28px}.sop-kitchen-ledger .out{background:#ffe4df}.sop-kitchen-ledger .in{background:#d9f5e6}.sop-kitchen-ledger strong{grid-column:1/-1;padding:11px;border-radius:14px;background:#fff5bd;text-align:center;font-size:21px}.sop-plan-repair{width:min(840px,96%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.sop-plan-repair>div{display:grid;place-items:center;gap:11px;min-height:250px;padding:18px;border-radius:26px;background:#fff;text-align:center}.sop-plan-repair .bad{background:#ffe2de;box-shadow:inset 0 0 0 3px #d8574f44}.sop-plan-repair .bad span{font:900 11px/1 system-ui;letter-spacing:.1em;color:#a33d37}.sop-plan-repair .bad b{font-size:27px;text-decoration:line-through}.sop-plan-repair .target img{width:90px;height:120px;object-fit:contain}.sop-plan-repair .target b{font-size:20px}.sop-transfer,.sop-finish{width:min(880px,96%);display:grid;grid-template-columns:1fr 1fr;gap:10px}.sop-transfer>div{display:grid;gap:8px;place-items:center;padding:15px;border-radius:22px;background:#fff;text-align:center}.sop-transfer>div span,.sop-finish span{font:900 11px/1 system-ui;letter-spacing:.1em;color:#087d91}.sop-transfer>div p{margin:0;font-weight:700;line-height:1.4}.sop-transfer>div b{font:900 26px/1 system-ui}.sop-transfer label{grid-column:1/-1;display:grid;gap:6px;padding:12px;border-radius:18px;background:#fff;text-align:left;font-weight:850}.sop-transfer textarea{width:100%;box-sizing:border-box;min-height:76px;resize:none;border:2px solid #bfd8df;border-radius:14px;padding:11px;font:650 15px/1.4 system-ui}.sop-transfer>small{grid-column:1/-1;text-align:center;color:#647984}.sop-finish{grid-template-columns:1fr;place-items:center;padding:22px;border-radius:27px;background:#ffffffdd;text-align:center}.sop-finish h2{margin:0;font:900 clamp(25px,4vw,39px)/1.08 system-ui}.sop-finish p{margin:4px 0;font-weight:680;line-height:1.45}.sop-finish small{color:#617780}
.sop-support{display:flex;gap:8px;justify-content:center}.sop-help{margin:7px auto 0;max-width:820px;padding:12px;border-radius:18px;background:#fffdf1;box-shadow:0 8px 22px #173b4d20}.sop-help p{margin:6px 0}.sop-alt{min-height:65px;display:grid;place-items:center}.sop-alt>div{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.sop-alt span,.sop-alt b{padding:8px 10px;border-radius:11px;background:#ddf4f7}.sop-asset-gate{height:100%;display:grid;place-content:center;text-align:center}
@media(max-width:820px){.sop-scene{padding:9px;gap:6px}.sop-scene>header{display:grid}.sop-scene>header h1{max-width:100%;text-align:left;font-size:20px}.sop-workspace{align-content:start;overflow-y:auto;overflow-x:hidden;padding:2px}.sop-button{min-height:46px;padding:10px 12px;font-size:14px}.sop-photo-stage{width:min(360px,100%);border-radius:19px}.sop-live-ledger span{font-size:9px;padding:4px 6px}.sop-target-label{font-size:8px}.sop-card-sort,.sop-sort-bins{width:38%;top:9%}.sop-card-sort>div,.sop-sort-bins>div{min-height:54px;padding:6px}.sop-card-sort b,.sop-sort-bins b{font-size:8px}.sop-card-sort span,.sop-sort-bins span{font-size:8px}.sop-scene-caption,.sop-independent-label{font-size:10px;padding:6px 8px}.sop-token-tray{grid-template-columns:repeat(6,1fr);padding:8px}.sop-apple-token{border-radius:11px}.sop-apple-token small{width:17px;height:17px;font-size:9px}.sop-bar-model{font-size:12px}.sop-strategy{min-height:250px;padding:12px 10px 53px}.sop-flow{gap:3px}.sop-flow span{min-height:76px;border-radius:13px}.sop-flow small{font-size:8px}.sop-flow b{font-size:16px}.sop-flow em{font-size:16px}.sop-check-board{grid-template-columns:1fr}.sop-check-board>div{padding:10px}.sop-check-board b{font-size:17px}.sop-gauge:before,.sop-gauge i{display:none}.sop-dual-model{grid-template-columns:1fr}.sop-dual-model .sop-model-lab{display:none}.sop-dual-model .sop-strategy{min-height:250px}.sop-distance{font-size:9px;padding:4px 6px}.sop-scale-card{grid-template-columns:28px 1fr}.sop-scale-card img{width:28px;height:28px}.sop-scale-card b{font-size:12px}.sop-route-steps{gap:3px}.sop-route-steps span{padding:5px;font-size:8px}.sop-crate-labels span{width:22px;height:22px;font-size:10px}.sop-digital-scale b{font-size:16px}.sop-kitchen-ledger{grid-template-columns:1fr 1fr}.sop-kitchen-ledger span{min-height:82px;padding:8px}.sop-kitchen-ledger b{font-size:20px}.sop-plan-repair{grid-template-columns:1fr}.sop-plan-repair>div{min-height:150px;padding:10px}.sop-plan-repair .target{grid-template-columns:72px 1fr}.sop-plan-repair .target img{grid-row:1/3;width:65px;height:80px}.sop-transfer{grid-template-columns:1fr}.sop-transfer>div,.sop-transfer label,.sop-transfer>small{grid-column:1}.sop-transfer>div{padding:10px}.sop-transfer textarea{min-height:66px}.sop-help{margin-inline:3px}.sop-equation b{font-size:21px}}
@media(max-height:720px) and (min-width:761px){.sop-scene{padding:7px;gap:5px}.sop-photo-stage{width:min(560px,73%)}.sop-scene[data-sop-phase="1"] .sop-photo-stage,.sop-scene[data-sop-phase="10"] .sop-photo-stage{width:min(290px,66%)}.sop-button{min-height:44px;padding:8px 11px}.sop-controls,.sop-support{gap:4px}.sop-model-lab,.sop-estimate{width:min(700px,88%)}.sop-strategy{min-height:176px;padding-top:13px}.sop-flow span{min-height:78px}.sop-check-board>div{padding:9px}.sop-kitchen-ledger span{min-height:92px}.sop-plan-repair>div{min-height:180px}.sop-transfer>div{padding:9px}.sop-transfer textarea{min-height:54px}.sop-help{padding:7px;margin-top:3px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.sop-sprite,.sop-apple-token,.sop-range i,.sop-flow span,.sop-capsule,.sop-route-line path,.sop-hiker,.sop-market-apple{transition:none!important;animation:none!important}}
.sop-button{min-width:44px}
@media(max-width:820px){
  .sop-scene[data-sop-phase="1"] .sop-photo-stage,.sop-scene[data-sop-phase="10"] .sop-photo-stage,.sop-scene[data-sop-phase="12"] .sop-photo-stage{width:min(250px,74%)}
  .sop-scene[data-sop-phase="11"] .sop-photo-stage{width:min(300px,89%)}
  .sop-scene[data-sop-phase="2"] .sop-token-tray{grid-template-columns:repeat(12,1fr);gap:2px;padding:6px}
  .sop-scene[data-sop-phase="2"] .sop-apple-token small{display:none}
  .sop-scene[data-sop-phase="3"] .sop-token-tray{display:none}
  .sop-scene[data-sop-phase="3"] .sop-model-lab{gap:7px}
  .sop-scene[data-sop-phase="8"] .sop-check-board{grid-template-columns:1fr 1fr;gap:5px}
  .sop-scene[data-sop-phase="8"] .sop-check-board>div{padding:7px;gap:4px}
  .sop-scene[data-sop-phase="8"] .sop-check-board>div:last-child{grid-column:1/-1;grid-template-columns:auto 1fr 1fr;text-align:left}
  .sop-scene[data-sop-phase="8"] .sop-check-board b{font-size:14px}
  .sop-scene[data-sop-phase="8"] .sop-check-board small{font-size:10px}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair{grid-template-columns:1fr 1fr;gap:6px}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair>div{min-height:135px;padding:7px;gap:5px}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair .bad b{font-size:17px}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair .target{display:grid;grid-template-columns:48px 1fr}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair .target img{grid-row:1/3;width:45px;height:66px}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair .target b{font-size:13px}
  .sop-scene[data-sop-phase="14"] .sop-plan-repair .target small{font-size:9px}
  .sop-scene[data-sop-phase="15"] .sop-transfer{grid-template-columns:1fr 1fr;gap:6px}
  .sop-scene[data-sop-phase="15"] .sop-transfer>div{grid-column:auto;padding:7px;gap:4px}
  .sop-scene[data-sop-phase="15"] .sop-transfer>div p{font-size:11px;line-height:1.25}
  .sop-scene[data-sop-phase="15"] .sop-transfer>div b{font-size:19px}
  .sop-scene[data-sop-phase="15"] .sop-transfer label,.sop-scene[data-sop-phase="15"] .sop-transfer>small{grid-column:1/-1}
  .sop-scene[data-sop-phase="15"] .sop-transfer label{padding:7px;font-size:12px}
  .sop-scene[data-sop-phase="15"] .sop-transfer textarea{min-height:52px;padding:7px;font-size:12px}
}

/* grade4-problem-posing.css */
.grade4-pp-shell{--pp-ink:#163044;--pp-navy:#17395b;--pp-cyan:#54d7df;--pp-coral:#ff765f;--pp-cream:#fff8e8;--pp-green:#45b58a}.grade4-pp-board{background:linear-gradient(145deg,#edfafa,#fff8ed);color:var(--pp-ink);overflow:hidden}.pp-scene{min-height:100%;display:grid;grid-template-rows:auto 1fr;gap:12px;padding:18px}.pp-scene>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.pp-scene>header span{font-size:.72rem;font-weight:900;letter-spacing:.14em;color:#168394}.pp-scene>header h1{margin:0;max-width:760px;font-size:clamp(1.22rem,2.5vw,2rem);line-height:1.08;text-align:right}.pp-workspace{position:relative;min-height:400px;display:grid;place-items:center}.pp-photo-stage{position:relative;width:min(100%,960px);aspect-ratio:16/9;border-radius:25px;overflow:hidden;isolation:isolate;box-shadow:0 22px 55px rgba(25,67,85,.2);background:#bde8e9}.pp-photo-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.pp-stage-overlay{position:absolute;inset:0;z-index:2;pointer-events:none}.pp-stage-overlay button,.pp-stage-overlay textarea,.pp-stage-overlay input{pointer-events:auto}.pp-button{appearance:none;border:2px solid rgba(24,73,94,.17);border-radius:18px;background:#fff;color:var(--pp-ink);font:inherit;font-weight:850;line-height:1.15;padding:12px 16px;box-shadow:0 8px 20px rgba(24,61,79,.1);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.pp-button:hover,.pp-button:focus-visible{transform:translateY(-2px);box-shadow:0 12px 24px rgba(24,61,79,.17);border-color:var(--pp-cyan);outline:none}.pp-button.primary{background:var(--pp-navy);color:#fff}.pp-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.pp-support{display:flex;justify-content:center;gap:8px;margin-top:10px}.pp-support .pp-button{padding:8px 13px;font-size:.84rem}.pp-help{max-width:850px;margin:9px auto 0;padding:12px 16px;border:1px solid #9bdde0;border-radius:16px;background:#efffff;color:#184052}.pp-help b{color:#087783}.pp-help p{margin:5px 0 0;line-height:1.45}.pp-alt{margin-top:9px}.pp-alt>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.pp-alt span,.pp-alt b{padding:7px 10px;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(26,76,92,.1)}.pp-complete-stamp{position:absolute;right:20px;bottom:18px;padding:9px 14px;border:3px solid #199169;border-radius:14px;background:#ecfff7;color:#087554;font-weight:950;transform:rotate(-3deg);box-shadow:0 8px 18px rgba(0,0,0,.12)}.pp-asset-gate{display:grid;place-items:center;align-content:center;min-height:360px;text-align:center}.pp-asset-gate h1{margin:0}.pp-result{position:absolute;clip-path:inset(50%)}

.pp-architecture,.pp-blueprint{position:absolute;left:9%;right:9%;bottom:10%;display:grid;grid-template-columns:repeat(3,1fr);gap:4%;align-items:end}.pp-layer{min-height:108px;padding:13px;border:2px dashed rgba(73,220,228,.5);border-radius:16px;background:rgba(7,35,63,.72);color:#d9fbff;opacity:.4;transform:translateY(18px) scale(.94);transition:.4s ease;box-shadow:inset 0 0 18px rgba(76,223,234,.13)}.pp-layer.active{opacity:1;transform:none;border-style:solid;box-shadow:0 12px 26px rgba(7,26,46,.28),inset 0 0 18px rgba(76,223,234,.22)}.pp-layer span{display:block;font-size:.65rem;font-weight:950;letter-spacing:.13em;color:#65e5e7}.pp-layer b{display:block;margin-top:10px;font-size:clamp(.8rem,1.5vw,1.08rem)}.pp-layer.relation{margin-bottom:7%}.pp-layer.question{margin-bottom:14%}.pp-scanner{position:absolute;left:35%;width:30%;top:22%;height:24%;display:grid;place-items:center;color:#d7f7ff;font-weight:950;letter-spacing:.08em;text-align:center}.pp-scanner i{position:absolute;inset:0;border:3px solid rgba(89,224,230,.25);border-radius:18px;box-shadow:inset 0 0 25px rgba(80,228,236,.15)}.pp-scanner.ready i{border-color:#5cf0bd;box-shadow:0 0 30px rgba(64,240,184,.62),inset 0 0 22px rgba(64,240,184,.28);animation:ppScan 1.1s ease both}.pp-scanner b{position:relative;text-shadow:0 2px 7px #10243b}@keyframes ppScan{0%{clip-path:inset(0 100% 0 0)}100%{clip-path:inset(0)}}

.pp-timeline{position:absolute;left:27%;right:18%;top:50%;height:27%;display:grid;grid-template-columns:repeat(4,1fr);align-items:start}.pp-timeline span{position:relative;display:grid;place-items:center;text-align:center;min-width:0;opacity:.38;transform:translateY(-30px) scale(.84);transition:.42s ease}.pp-timeline span.placed{opacity:1;transform:none}.pp-timeline b{display:grid;place-items:center;width:clamp(54px,7vw,84px);aspect-ratio:1;border-radius:50%;background:#fff4db;border:4px solid #1299a8;color:#173b55;box-shadow:0 10px 20px rgba(14,59,80,.2)}.pp-timeline small{margin-top:5px;padding:4px 7px;border-radius:9px;background:rgba(255,255,255,.88);font-weight:900}.pp-noise-card{position:absolute;left:4%;bottom:9%;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.92);color:#8c4763;font-weight:850;transform:rotate(-4deg);box-shadow:0 7px 16px rgba(37,48,62,.18)}

.pp-hierarchy{width:min(900px,96%);display:grid;grid-template-rows:auto auto auto auto;gap:13px;padding:22px;border-radius:26px;background:linear-gradient(180deg,#173e61,#0d2942);color:#fff;box-shadow:0 22px 50px rgba(15,44,63,.25)}.pp-h-root,.pp-h-change,.pp-h-question{justify-self:center;padding:12px 20px;border-radius:15px;background:#fff;color:#173b55;font-weight:950}.pp-h-groups{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.pp-h-groups span{display:grid;place-items:center;padding:13px;border:2px dashed #5dcbd4;border-radius:18px;opacity:.4;transform:scale(.9);transition:.35s}.pp-h-groups span.on{opacity:1;transform:none;background:#164f6d}.pp-h-groups b{font-size:1.45rem}.pp-h-groups small{font-weight:800}.pp-h-change,.pp-h-question{opacity:.4;transform:translateY(-8px);transition:.35s}.pp-h-change.on,.pp-h-question.on{opacity:1;transform:none}.pp-h-change{background:#ffdfd7;color:#9a3f30}.pp-h-question{background:#d9fff1;color:#087456}

.pp-problem-strip{position:absolute;left:22%;right:20%;top:10%;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.95);font-weight:900;text-align:center;box-shadow:0 9px 20px rgba(31,63,44,.15)}.pp-market-card{position:absolute;padding:8px 10px;border-radius:12px;background:#fff8e5;text-align:center;opacity:.38;transition:.4s;box-shadow:0 8px 16px rgba(45,42,24,.18)}.pp-market-card.placed{opacity:1;transform:translate(0,0)!important}.pp-market-card b,.pp-market-card small{display:block}.pp-market-card.price{right:17%;top:38%;transform:translateY(-30px)}.pp-market-card.mass{left:13%;top:48%;transform:translateY(-30px)}.pp-market-card.length{left:45%;bottom:19%;transform:rotate(-2deg)}.pp-market-target{position:absolute;left:37%;right:34%;top:20%;padding:8px;border-radius:11px;background:rgba(248,255,239,.92);font-weight:900;text-align:center}.pp-filter{width:min(900px,96%);display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:22px;border-radius:25px;background:linear-gradient(145deg,#fdf4d7,#e8fbf3);box-shadow:0 20px 45px rgba(42,68,57,.2)}.pp-filter article{display:grid;place-items:center;min-height:130px;padding:14px;border:2px solid #81c9ad;border-radius:18px;background:#fff;text-align:center;transition:.35s}.pp-filter article.gone{opacity:.17;filter:grayscale(1);transform:scale(.86) rotate(5deg)}.pp-filter small{margin-top:7px;color:#3b7f68;font-weight:850}.pp-filter strong{grid-column:1/-1;text-align:center}.pp-unit-gate{display:flex;align-items:center;justify-content:center;gap:20px;width:min(760px,96%);padding:32px;border-radius:26px;background:linear-gradient(145deg,#dffbfc,#f2eaff);box-shadow:0 20px 45px rgba(53,75,93,.17)}.pp-unit-gate span{padding:18px 22px;border-radius:18px;background:#fff;font-size:clamp(1.2rem,3vw,2rem);font-weight:950;box-shadow:0 8px 19px rgba(37,64,81,.13)}.pp-unit-gate i{font-style:normal;font-size:2.4rem;color:#b95252}.pp-unit-gate i.open{color:#16a579;animation:ppGate .7s ease}@keyframes ppGate{50%{transform:scale(1.25) rotate(180deg)}}.pp-unit-cards{position:absolute;bottom:18%;padding:10px 14px;border-radius:14px;background:#fff;text-align:center}.pp-unit-cards b,.pp-unit-cards small{display:block}.pp-question-compass{position:absolute;left:25%;bottom:8%;display:flex;gap:10px}.pp-question-compass span{padding:7px 10px;border-radius:11px;background:#fff;font-weight:850}

.pp-bottle,.pp-jug{position:absolute;display:grid;place-items:center;opacity:.9;transition:.55s cubic-bezier(.2,.8,.2,1)}.pp-bottle{left:calc(4% + var(--i)*12%);top:12%;transform:translateY(-12px)}.pp-bottle.docked{left:calc(5% + var(--i)*10.4%);top:64%;transform:none}.pp-bottle i,.pp-jug i{display:block;width:32px;height:65px;border:3px solid #0e8392;border-radius:9px 9px 13px 13px;background:linear-gradient(to top,#6fe0e7 0 60%,#eaffff 60%);box-shadow:0 8px 14px rgba(7,70,80,.2)}.pp-bottle b,.pp-jug b{margin-top:3px;padding:3px 6px;border-radius:8px;background:#fff;font-size:.68rem}.pp-jug{right:9%;top:14%}.pp-jug.docked{right:17%;top:66%}.pp-jug i{width:44px;height:62px;background:linear-gradient(to top,#6fe0e7 0 72%,#eaffff 72%)}.pp-liquid-fill{position:absolute;left:38.4%;width:24.1%;bottom:16%;height:var(--fill);max-height:47%;border-radius:0 0 25px 25px;background:linear-gradient(#7de7edcc,#37bdcfdd);transition:.7s ease;box-shadow:inset 0 8px 13px rgba(255,255,255,.48)}.pp-liquid-question{position:absolute;right:5%;top:7%;max-width:28%;padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.94);font-weight:850}.pp-liquid-question b{color:#087d8a}.pp-money-builder{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:min(850px,96%);padding:25px;border-radius:26px;background:linear-gradient(145deg,#173b5a,#235b78);color:#fff;box-shadow:0 20px 48px rgba(20,50,72,.28)}.pp-money-builder span{padding:18px;border:2px solid #69e1e4;border-radius:17px;text-align:center;font-weight:950}.pp-money-builder strong{grid-column:1/-1;padding:13px;border-radius:14px;background:#fff2d4;color:#173b55;text-align:center}.pp-title-card{position:absolute;left:4%;right:4%;bottom:4%;padding:10px 13px;border-radius:13px;background:rgba(255,255,255,.95);box-shadow:0 9px 18px rgba(32,56,74,.16)}.pp-title-card label{display:flex;align-items:center;gap:12px;font-weight:900}.pp-title-card input{flex:1;min-width:0;padding:9px 11px;border:2px solid #93d9dc;border-radius:10px;font:inherit}.pp-title-card small{display:block;margin-top:4px;color:#57717f}.pp-repair-board{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:min(870px,96%)}.pp-repair-board article{display:grid;align-content:center;min-height:240px;padding:24px;border:3px solid #e28c80;border-radius:24px;background:#fff4f1;text-align:center;transition:.4s;box-shadow:0 15px 32px rgba(68,48,44,.14)}.pp-repair-board article.muted{opacity:.42;filter:grayscale(.65);transform:scale(.94)}.pp-repair-board article.fixed{border-color:#4bc394;background:#eafff7;transform:translateY(-5px)}.pp-repair-board span{font-size:.7rem;font-weight:950;letter-spacing:.13em}.pp-repair-board p{font-size:1.1rem;font-weight:850}.pp-repair-board b{font-size:1.25rem}

.pp-final-builder{position:absolute;left:4%;right:4%;bottom:4%;display:grid;gap:7px;padding:11px;border-radius:18px;background:rgba(7,28,50,.9);color:#fff;box-shadow:0 13px 30px rgba(0,0,0,.25)}.pp-builder-row{display:grid;grid-template-columns:72px repeat(3,1fr);gap:6px;align-items:center}.pp-builder-row>span{font-size:.67rem;font-weight:950;letter-spacing:.1em;color:#74e8eb}.pp-builder-row button,.pp-checklist button{border:1px solid #5c91a6;border-radius:9px;background:#173e5b;color:#fff;font:inherit;font-size:.72rem;font-weight:800;padding:6px;cursor:pointer}.pp-builder-row button.selected,.pp-checklist button.checked{border-color:#64e5b8;background:#0f745c;box-shadow:0 0 0 2px rgba(90,230,185,.15)}.pp-final-builder label{display:grid;grid-template-columns:110px 1fr;gap:8px;align-items:center;font-size:.73rem;font-weight:900}.pp-final-builder textarea{height:52px;resize:none;padding:7px 9px;border:2px solid #6acbd2;border-radius:9px;font:inherit}.pp-checklist{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.pp-final-builder+.pp-scanner{left:37%;top:20%;width:23%;height:22%}.pp-finish{width:min(800px,94%);padding:36px;border-radius:28px;background:linear-gradient(145deg,#173b5b,#0d776d);color:#fff;text-align:center;box-shadow:0 24px 55px rgba(17,59,72,.28)}.pp-finish span{font-weight:950;letter-spacing:.15em;color:#81f0cf}.pp-finish h2{font-size:clamp(1.4rem,3vw,2.2rem)}.pp-finish p{line-height:1.55}.pp-finish small{color:#c9f7ef}

@media (max-width:720px){.pp-scene{padding:10px;gap:8px}.pp-scene>header{display:block}.pp-scene>header h1{text-align:left;margin-top:3px;font-size:1.15rem}.pp-workspace{min-height:340px;align-content:start}.pp-photo-stage{width:100%;border-radius:18px;aspect-ratio:4/3}.pp-photo-stage>img{object-position:center}.pp-controls{gap:7px}.pp-button{padding:10px 11px;font-size:.83rem;border-radius:13px}.pp-architecture,.pp-blueprint{left:4%;right:4%;bottom:7%;gap:2%}.pp-layer{min-height:74px;padding:7px}.pp-layer b{font-size:.65rem}.pp-layer span{font-size:.55rem}.pp-scanner{top:19%;height:23%;font-size:.68rem}.pp-timeline{left:23%;right:8%;top:48%}.pp-timeline b{width:45px;font-size:.66rem;border-width:2px}.pp-timeline small{font-size:.55rem}.pp-noise-card{font-size:.62rem;left:2%;bottom:4%}.pp-hierarchy{padding:13px;gap:8px}.pp-h-groups{gap:5px}.pp-h-groups span{padding:8px 3px}.pp-filter{grid-template-columns:1fr 1fr;padding:13px;gap:8px}.pp-filter article{min-height:82px;padding:8px}.pp-unit-gate{padding:19px;gap:9px}.pp-unit-gate span{padding:12px;font-size:1rem}.pp-problem-strip{left:5%;right:5%;top:4%;font-size:.7rem}.pp-market-target{left:33%;right:25%;top:18%;font-size:.62rem}.pp-market-card{font-size:.58rem}.pp-question-compass{left:5%;bottom:3%;font-size:.63rem}.pp-liquid-question{right:2%;top:3%;font-size:.6rem}.pp-bottle{top:7%}.pp-bottle.docked{top:63%}.pp-jug{top:9%}.pp-jug.docked{top:65%}.pp-liquid-fill{left:38%;width:24.5%;bottom:14%}.pp-money-builder{padding:14px;gap:7px}.pp-money-builder span{padding:10px 4px;font-size:.68rem}.pp-title-card{font-size:.67rem}.pp-title-card label{display:grid;gap:4px}.pp-repair-board{grid-template-columns:1fr;gap:8px}.pp-repair-board article{min-height:110px;padding:12px}.pp-repair-board p{font-size:.84rem}.pp-final-builder{left:2%;right:2%;bottom:2%;padding:7px;gap:4px}.pp-builder-row{grid-template-columns:45px repeat(3,1fr);gap:3px}.pp-builder-row button,.pp-checklist button{font-size:.54rem;padding:4px 2px}.pp-final-builder label{grid-template-columns:70px 1fr;font-size:.58rem}.pp-final-builder textarea{height:40px}.pp-checklist{gap:3px}.pp-final-builder+.pp-scanner{top:13%;font-size:.56rem}.pp-complete-stamp{font-size:.7rem;right:8px;bottom:8px}}

@media (max-width:420px){.pp-photo-stage{aspect-ratio:1/1}.pp-photo-stage.time>img{object-position:48% center}.pp-photo-stage.market>img{object-position:center}.pp-timeline{left:12%;right:5%;top:50%}.pp-timeline b{width:39px}.pp-market-card.length{display:none}.pp-bottle i{width:22px;height:43px}.pp-jug i{width:30px;height:44px}.pp-bottle.docked{left:calc(4% + var(--i)*10%)}.pp-liquid-fill{bottom:11%;max-height:42%}.pp-final-builder{max-height:60%;overflow:auto}.pp-scanner{top:16%}.pp-finish{padding:24px 17px}}

.pp-liquid-fill{clip-path:inset(0 round 0 0 24px 24px)}
.pp-final-builder+.pp-scanner{left:65%;width:30%;top:2%;height:11%;font-size:.68rem}
@media (min-width:721px){.pp-photo-stage.studio{aspect-ratio:16/10}.pp-final-builder{padding:8px;gap:5px}.pp-builder-row button,.pp-checklist button{font-size:.66rem;padding:5px}.pp-final-builder textarea{height:44px}.pp-final-builder label{grid-template-columns:100px 1fr}}
@media (max-width:720px){.pp-liquid-fill{bottom:18%;max-height:38%}.pp-final-builder+.pp-scanner{left:64%;width:32%;top:3%;height:12%;font-size:.56rem}}
@media (max-width:420px){.pp-liquid-fill{bottom:17%;max-height:38%}.pp-final-builder+.pp-scanner{left:64%;width:32%;top:3%;height:12%;font-size:.54rem}}

@media (prefers-reduced-motion:reduce){.grade4-pp-board *{animation:none!important;transition:none!important}}

/* grade4-operation-equality.css */
.grade4-oe-board{padding:0!important;overflow:hidden;background:#e8fff9}.oe-scene{min-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:10px;color:#123846}.oe-scene>header{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 6px}.oe-scene>header span{font-size:.72rem;font-weight:900;letter-spacing:.08em;color:#c85227}.oe-scene>header h1{margin:0;font-size:clamp(.92rem,1.8vw,1.28rem);line-height:1.05;text-align:right}.oe-workspace{min-height:360px;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:20px;background:linear-gradient(145deg,#f9fffd,#d9f7ef);box-shadow:inset 0 0 0 2px rgba(20,91,98,.12)}.oe-photo{position:relative;width:100%;height:100%;min-height:360px;overflow:hidden;border-radius:20px;isolation:isolate}.oe-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}.oe-overlay{position:absolute;inset:0;z-index:2;pointer-events:none}.oe-overlay button{pointer-events:auto}.oe-button,.oe-controls button,.oe-support button{min-height:46px;border:2px solid #177b82;border-radius:14px;padding:9px 14px;background:#fff;color:#123846;font:800 .92rem/1.1 system-ui;box-shadow:0 4px 0 #a9d8d4;cursor:pointer}.oe-button:hover,.oe-button:focus-visible,.oe-overlay button:hover,.oe-overlay button:focus-visible{outline:3px solid #ff9d42;outline-offset:2px}.oe-button.primary{background:#177b82;color:white}.oe-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.oe-support{display:flex;gap:8px;justify-content:center;margin-top:7px}.oe-help{margin:7px auto 0;max-width:760px;border-radius:14px;padding:8px 12px;background:#fff7e5;border:2px solid #f4b15d;color:#5c3b13}.oe-help b{display:block;color:#a94a22}.oe-help p{margin:3px 0;font-size:.88rem}.oe-alt>div{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:6px}.oe-alt span,.oe-alt b{padding:5px 9px;border-radius:9px;background:white}.oe-asset-gate,.oe-finish{display:grid;place-items:center;text-align:center;min-height:360px;padding:24px}.oe-asset-gate h1,.oe-finish h2{margin:.2rem}.oe-finish{background:radial-gradient(circle,#fff 0,#dcfff4 58%,#aee9dc 100%)}.oe-finish span{font-weight:1000;color:#c75528}.oe-finish p{max-width:720px}.oe-finish small{font-weight:800;color:#43626b}

.oe-bridge-expression{position:absolute;top:22%;width:24%;padding:8px;border-radius:14px;background:rgba(255,255,255,.94);border:3px solid #d5862e;text-align:center;font:1000 clamp(1.1rem,3vw,2rem)/1 system-ui;opacity:.15;transform:scale(.82);transition:.45s}.oe-bridge-expression.left{left:13%}.oe-bridge-expression.right{right:13%}.oe-bridge-expression.on{opacity:1;transform:scale(1)}.oe-relation-socket{position:absolute;left:45%;top:28%;width:10%;aspect-ratio:1.4;display:grid;place-items:center;border-radius:18px;background:#fff;border:4px solid #d5862e;font:1000 2rem system-ui;color:#5d3278;opacity:.35}.oe-relation-socket.on{opacity:1;box-shadow:0 0 22px #ffb94e}.oe-value-tower{position:absolute;bottom:13%;width:9%;height:calc(var(--value,0) * 5%);max-height:34%;background:linear-gradient(#ffbe5c,#ed7f2a);border-radius:12px 12px 4px 4px;box-shadow:0 4px 12px rgba(0,0,0,.22);transition:height .6s}.oe-value-tower.left{left:31%}.oe-value-tower.right{right:31%}.oe-two-readings{position:absolute;left:20%;right:20%;bottom:4%;display:flex;gap:10px;justify-content:center}.oe-two-readings span{padding:7px 11px;border-radius:10px;background:rgba(255,255,255,.9);font-weight:900;opacity:.45}.oe-two-readings span.on{opacity:1;box-shadow:0 0 0 3px #ff9d42}

.oe-recycle-groups{position:absolute;top:34%;width:32%;display:grid;gap:6px}.oe-recycle-groups.left{left:7%;grid-template-columns:repeat(2,1fr)}.oe-recycle-groups.right{right:7%;grid-template-columns:repeat(2,1fr)}.oe-group{min-height:56px;border:2px dashed rgba(255,255,255,.72);border-radius:12px;display:flex;flex-wrap:wrap;gap:3px;align-content:center;justify-content:center;padding:4px;background:rgba(11,66,69,.18)}.oe-group.filled{background:rgba(255,255,255,.9);box-shadow:0 5px 12px rgba(0,0,0,.18)}.oe-group b{width:100%;text-align:center;font-size:.72rem}.oe-bottle{display:block;width:9px;height:24px;border-radius:3px 3px 5px 5px;background:linear-gradient(90deg,#2e9bb7,#9be2ed);box-shadow:1px 2px 2px rgba(0,0,0,.25)}.oe-bottle:before{content:"";display:block;width:5px;height:4px;margin:-3px auto 0;background:#247889}.oe-recycle-label{position:absolute;top:17%;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.92);font-weight:900}.oe-recycle-label.left{left:13%}.oe-recycle-label.right{right:13%}.oe-independent-model{position:absolute;inset:15% 10% 8%;display:flex;flex-wrap:wrap;gap:5px;align-content:center;justify-content:center;padding:18px;border-radius:18px;background:rgba(255,255,255,.86)}.oe-independent-model span{width:42%;padding:8px;background:#e8fff8;border-radius:10px;text-align:center;font-weight:900}

.oe-trays{position:absolute;left:5%;bottom:18%;width:34%;display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.oe-crates{position:absolute;right:7%;bottom:18%;width:30%;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.oe-tray,.oe-crate{min-height:56px;border-radius:10px;display:flex;flex-wrap:wrap;gap:3px;align-content:center;justify-content:center}.oe-tray.filled,.oe-crate.filled{background:rgba(255,255,255,.42);box-shadow:inset 0 0 0 3px rgba(213,100,51,.42)}.oe-snack{width:12px;height:12px;border-radius:50% 50% 46% 46%;background:#e67f3c;box-shadow:0 2px 2px rgba(0,0,0,.2)}.oe-kitchen-equation{position:absolute;left:34%;right:34%;top:50%;padding:10px 5px;border-radius:14px;background:rgba(255,255,255,.94);text-align:center;font:1000 clamp(.9rem,2vw,1.35rem) system-ui}.oe-story-strip,.oe-box-story{position:absolute;left:22%;right:22%;top:9%;padding:9px;border-radius:13px;background:rgba(255,255,255,.94);text-align:center;font-weight:900}.oe-box-story{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.oe-box-story>*{padding:7px;border-radius:8px;background:#eafff7}

.oe-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;width:min(92%,760px);padding:14px;border-radius:18px;background:#eefbf7}.oe-photo+.oe-compare{position:absolute;left:8%;right:8%;bottom:4%;z-index:5;width:auto}.oe-compare article{display:grid;gap:4px;text-align:center;padding:10px;border-radius:14px;background:white;border:2px solid #a9d8d4}.oe-compare article span{font-size:.67rem;font-weight:900;color:#6a7d80}.oe-compare article b{font-size:1.15rem}.oe-compare article strong{font-size:1.35rem;color:#bf542b}.oe-compare>i{font-style:normal;font:1000 1.8rem system-ui;color:#754188}.oe-compare>i.locked{padding:4px 9px;border-radius:10px;background:#fff1d4;box-shadow:0 0 0 3px #f0a64c}.oe-repair-gap{padding:8px 14px;border-radius:12px;background:#fff1da;font-weight:900;color:#a94c22}

.oe-lab-cards{position:absolute;inset:18% 9% 24%;display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.oe-lab-cards button{border:3px solid rgba(255,255,255,.8);border-radius:15px;background:rgba(255,255,255,.75);display:flex;align-items:center;justify-content:space-between;padding:9px 14px;color:#173b46;font-weight:1000}.oe-lab-cards button.active{background:#fff;box-shadow:0 0 0 4px #ffad45}.oe-lab-cards button b{font-size:1.35rem;color:#bd532a}.oe-lab-target{position:absolute;left:39%;right:39%;bottom:8%;display:grid;place-items:center;padding:7px;border-radius:50%;aspect-ratio:1;background:rgba(255,255,255,.94);box-shadow:0 8px 20px rgba(0,0,0,.2)}.oe-lab-target small{font-size:.58rem;font-weight:1000}.oe-lab-target b{font-size:1.5rem}.oe-final-builder{position:absolute;left:5%;right:5%;top:3%;bottom:4%;display:grid;align-content:start;gap:6px;padding:8px 8px 48px;border-radius:16px;background:rgba(255,255,255,.94);overflow:auto}.oe-builder-row{display:grid;grid-template-columns:72px repeat(4,minmax(0,1fr));gap:5px;align-items:center}.oe-builder-row>span{font-size:.66rem;font-weight:1000;color:#ad4d28}.oe-builder-row button,.oe-checklist button{min-height:44px;border:2px solid #afd8d4;border-radius:9px;background:#fff;font-weight:850;color:#153944}.oe-builder-row button.selected,.oe-checklist button.checked{border-color:#ed8e35;background:#fff1d9;box-shadow:0 0 0 2px #ffc36b}.oe-final-builder label{display:grid;gap:4px;font-size:.72rem;font-weight:900}.oe-final-builder textarea{min-height:54px;resize:none;border:2px solid #afd8d4;border-radius:10px;padding:7px;font:700 .78rem system-ui}.oe-checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.oe-final-lock{position:absolute;right:6%;bottom:5%;padding:6px 10px;border-radius:10px;background:#fff5dd;font-size:.64rem;font-weight:1000}.oe-final-lock.ready{background:#d7ffe9;color:#187147}

@media (max-width:720px){.grade4-oe-board{min-height:0}.oe-scene{padding:7px;gap:5px}.oe-workspace,.oe-photo,.oe-asset-gate,.oe-finish{min-height:330px}.oe-scene>header{align-items:center}.oe-scene>header span{font-size:.58rem}.oe-scene>header h1{font-size:.85rem}.oe-photo>img{object-fit:cover}.oe-bridge-expression{top:18%;width:28%;font-size:.88rem}.oe-bridge-expression.left{left:7%}.oe-bridge-expression.right{right:7%}.oe-relation-socket{left:43%;width:14%;top:27%;font-size:1.4rem}.oe-recycle-groups{top:31%;width:38%}.oe-recycle-groups.left{left:2%}.oe-recycle-groups.right{right:2%}.oe-group{min-height:44px;padding:2px}.oe-bottle{width:7px;height:18px}.oe-recycle-label{top:15%;font-size:.7rem}.oe-recycle-label.left{left:7%}.oe-recycle-label.right{right:7%}.oe-trays{left:1%;width:42%;bottom:18%}.oe-crates{right:2%;width:38%;bottom:18%}.oe-tray,.oe-crate{min-height:45px}.oe-snack{width:9px;height:9px}.oe-kitchen-equation{left:31%;right:31%;top:43%;font-size:.76rem}.oe-photo+.oe-compare{left:2%;right:2%;bottom:2%;padding:7px;gap:6px}.oe-compare article{padding:6px}.oe-compare article b{font-size:.84rem}.oe-compare article strong{font-size:1rem}.oe-lab-cards{inset:18% 4% 25%;gap:5px}.oe-lab-cards button{padding:6px;font-size:.72rem}.oe-lab-target{left:38%;right:38%;bottom:6%}.oe-story-strip,.oe-box-story{left:8%;right:8%;top:5%;font-size:.72rem}.oe-final-builder{left:2%;right:2%;top:2%;bottom:2%;gap:4px;padding:6px 6px 48px}.oe-builder-row{grid-template-columns:56px repeat(2,minmax(0,1fr));}.oe-builder-row>span{grid-row:span 2}.oe-builder-row button{min-height:44px;font-size:.66rem}.oe-final-builder textarea{min-height:48px}.oe-checklist button{min-height:44px;font-size:.62rem}.oe-final-lock{right:4%;bottom:3%}.oe-help p{font-size:.78rem}.oe-button,.oe-controls button,.oe-support button{min-height:44px;font-size:.78rem;padding:7px 9px}}
@media (max-width:420px){.oe-photo.bridge>img{object-position:50% 50%}.oe-photo.recycle>img{object-position:50% 50%}.oe-photo.kitchen>img{object-position:50% 50%}.oe-photo.lab>img{object-position:50% 50%}.oe-workspace{border-radius:14px}.oe-photo{border-radius:14px}.oe-two-readings{left:5%;right:5%;bottom:2%;font-size:.68rem}.oe-independent-model{inset:13% 4% 7%;padding:9px}.oe-independent-model .oe-bottle{width:6px;height:15px}.oe-lab-cards{inset:14% 3% 25%}.oe-lab-target{left:37%;right:37%}}
@media (prefers-reduced-motion:reduce){.oe-bridge-expression,.oe-value-tower{transition:none!important}}

/* grade4-solid-nets.css */
.grade4-sn-shell{--sn-ink:#15384a;--sn-blue:#2676bd;--sn-teal:#22a9a3;--sn-coral:#f06f55;--sn-gold:#e6a92c;--sn-paper:#fffdf4}.grade4-sn-board{padding:0!important;overflow:hidden;background:#102a3a}.sn-asset-gate{min-height:360px;display:grid;place-content:center;text-align:center;padding:30px;color:white;background:linear-gradient(145deg,#102d48,#184b59)}.sn-asset-gate h1{margin:0 0 8px}.sn-scene{position:relative;isolation:isolate;min-height:360px;height:360px;overflow:hidden;color:white}.sn-background,.sn-shade{position:absolute;inset:0;width:100%;height:100%}.sn-background{z-index:0;object-fit:cover;object-position:center}.sn-shade{z-index:1;background:linear-gradient(180deg,rgba(8,24,35,.18),rgba(8,24,35,.02) 38%,rgba(8,24,35,.24))}.sn-scene>header{position:absolute;z-index:5;left:14px;right:14px;top:10px;display:flex;align-items:center;gap:10px;pointer-events:none}.sn-scene>header span{flex:0 0 auto;padding:5px 8px;border-radius:9px;background:rgba(8,31,45,.88);color:#fff;font-size:.66rem;font-weight:950;letter-spacing:.06em}.sn-scene>header h1{margin:0;max-width:75%;padding:5px 9px;border-radius:10px;background:rgba(255,255,255,.93);color:var(--sn-ink);font-size:.88rem;line-height:1.15}.sn-workspace{position:absolute;z-index:2;inset:48px 10px 8px;display:grid;place-items:center;min-height:0}.sn-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.sn-button,.sn-choices button{min-width:44px;min-height:44px;border:2px solid #25768e;border-radius:13px;padding:8px 13px;background:white;color:#14384a;font:850 .8rem/1.15 inherit;box-shadow:0 4px 0 rgba(13,60,75,.15);cursor:pointer}.sn-button:hover,.sn-button:focus-visible{transform:translateY(-1px);border-color:#e5a51d}.sn-button.primary,.sn-button.ready{background:#177f77;color:white;border-color:#0d5f59}.sn-button:disabled{opacity:.48;cursor:not-allowed;transform:none}.sn-button.selected,.sn-button.checked{background:#dff8ee;border-color:#188468}.sn-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;max-width:980px}.sn-support{display:flex;justify-content:center;gap:8px;margin-top:7px}.sn-support .sn-button{min-height:44px;background:#eef9ff}.sn-help{margin:7px auto 0;max-width:900px;padding:8px 12px;border-radius:13px;background:#fff9df;color:#284554;border:2px solid #efc75e;font-size:.75rem}.sn-help p{margin:3px 0}.sn-alt{margin-top:6px;display:grid;place-items:center}.sn-result{position:absolute;z-index:8;inset:auto 10px 8px;pointer-events:none}.sn-net-svg{width:min(430px,94%);max-height:220px;filter:drop-shadow(0 7px 5px rgba(27,47,59,.25));overflow:visible}.sn-net-face rect,.sn-net-face polygon{stroke:#17394a;stroke-width:3;transition:.25s ease}.sn-net-face text,.sn-net-svg>text{fill:#17394a;font:900 13px sans-serif;text-anchor:middle;pointer-events:none}.sn-net-face.active rect,.sn-net-face.active polygon{stroke:#fff;stroke-width:6;filter:drop-shadow(0 0 8px #ffd768)}.sn-net-svg.invalid .sn-net-face rect{stroke:#7f2c36}.sn-fold-lines{fill:none;stroke:#fff;stroke-width:2;stroke-dasharray:4 4}.sn-observe{width:min(760px,92%);height:100%;display:grid;grid-template-columns:minmax(260px,1fr) 150px;align-items:center;gap:8px}.sn-three-host{width:100%;height:270px;min-height:220px;border-radius:24px;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(0,30,55,.1) 58%,transparent 70%);touch-action:none}.sn-three-host canvas{display:block;width:100%!important;height:100%!important;touch-action:none;cursor:grab}.sn-three-host canvas:active{cursor:grabbing}.sn-observe-legend{display:grid;grid-template-columns:1fr 1fr;gap:7px}.sn-observe-legend span{display:grid;place-items:center;min-height:44px;border:2px solid rgba(255,255,255,.8);border-radius:12px;background:rgba(9,44,62,.78);font-weight:950}.sn-observe p{grid-column:1/-1;margin:-20px 0 0;text-align:center;font-weight:900}.sn-face-print{position:relative;width:min(540px,88%);height:280px;display:grid;place-items:center}.sn-cube-stamp{position:absolute;top:4px;width:105px;height:105px;transform:rotateX(-12deg) rotateY(24deg) rotateZ(-3deg);transform-style:preserve-3d}.sn-cube-stamp i{position:absolute;inset:0;border:4px solid #17394a;background:#4a90e2}.sn-cube-stamp i:nth-child(2){transform-origin:right;transform:rotateY(62deg);background:#64d9d1}.sn-cube-stamp i:nth-child(3){transform-origin:top;transform:rotateX(-55deg);background:#f6c85f}.sn-motion-arrow{font-size:36px;transform:translateY(8px);color:#ffdf69}.sn-print-paper{position:absolute;bottom:3px;width:220px;height:82px;display:grid;place-items:center;border-radius:8px;background:#fffef5;box-shadow:0 14px 18px rgba(0,0,0,.25);transform:perspective(500px) rotateX(58deg)}.sn-print-paper b{width:64px;height:64px;display:grid;place-items:center;border:4px dashed #4a90e2;color:#4a90e2;font-size:28px}.sn-predict-grid{width:min(920px,96%);display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.sn-predict-grid article{min-height:230px;display:grid;grid-template-rows:1fr auto auto;place-items:center;padding:7px;border-radius:17px;background:rgba(255,255,255,.92);color:var(--sn-ink)}.sn-predict-grid .sn-net-svg{width:100%;max-height:165px}.sn-predict-grid b{font-size:.72rem}.sn-predict-grid small{text-align:center;font-size:.55rem}.sn-predict-grid .sphere i{width:104px;height:104px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff 0,#7e8cff 18%,#283a91 70%);box-shadow:inset -14px -18px 22px rgba(0,0,0,.25),0 12px 18px rgba(0,0,0,.2)}.sn-build-net,.sn-prism-build,.sn-prism-choice,.sn-triangle-build{width:min(900px,96%);height:100%;display:grid;grid-template-columns:1fr 200px;align-items:center;gap:10px}.sn-build-ledger,.sn-pair-ledger,.sn-triangle-status,.sn-inventory{display:grid;gap:8px}.sn-build-ledger span,.sn-pair-ledger span,.sn-triangle-status span,.sn-inventory span{min-height:44px;display:grid;place-items:center;padding:6px;border:2px dashed #7a969f;border-radius:12px;background:rgba(255,255,255,.92);color:#31525e;font-weight:900}.sn-build-ledger span.done,.sn-pair-ledger span.done,.sn-triangle-status span.done{border-style:solid;border-color:#20836a;background:#dbfaed}.sn-inventory{padding:10px;border-radius:16px;background:rgba(9,47,61,.82);color:white}.sn-inventory strong{text-align:center}.sn-fold-stage{position:relative;width:min(640px,92%);height:285px;display:grid;place-items:center;perspective:900px}.sn-fold-shadow{position:absolute;left:28%;right:28%;bottom:32px;height:28px;border-radius:50%;background:rgba(0,0,0,.3);filter:blur(8px);transform:scaleX(calc(1 - min(var(--fold,0),.6)))}.sn-cube-fold{--s:72px;position:relative;width:var(--s);height:var(--s);transform-style:preserve-3d;transform:rotateX(58deg) rotateZ(-8deg) translateY(25px)}.sn-face,.sn-hinge{position:absolute;width:var(--s);height:var(--s);transform-style:preserve-3d}.sn-face{inset:0;display:grid;place-items:center;border:3px solid #18394c;border-radius:4px;background:#4a90e2;color:#17384a;box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}.sn-face b{font-size:.62rem}.sn-hinge{transition:transform .55s cubic-bezier(.25,1,.5,1)}.sn-hinge.left{left:calc(-1 * var(--s));transform-origin:right center}.sn-hinge.left .sn-face{background:#64d9d1}.sn-hinge.right{left:var(--s);transform-origin:left center}.sn-hinge.right .sn-face{background:#f6c85f}.sn-hinge.back{left:var(--s);transform-origin:left center}.sn-hinge.back .sn-face{background:#ff8e72}.sn-hinge.top{top:calc(-1 * var(--s));transform-origin:center bottom}.sn-hinge.top .sn-face{background:#9b8cff}.sn-hinge.bottom{top:var(--s);transform-origin:center top}.sn-hinge.bottom .sn-face{background:#78d98b}.sn-fold-stage[data-fold-step="1"] .sn-hinge.left{transform:rotateY(90deg)}.sn-fold-stage[data-fold-step="1"]>.sn-cube-fold>.sn-hinge.right,.sn-fold-stage[data-fold-step="2"]>.sn-cube-fold>.sn-hinge.right,.sn-fold-stage[data-fold-step="3"]>.sn-cube-fold>.sn-hinge.right{transform:rotateY(-90deg)}.sn-fold-stage[data-fold-step="2"]>.sn-cube-fold>.sn-hinge.right>.sn-hinge.back,.sn-fold-stage[data-fold-step="3"]>.sn-cube-fold>.sn-hinge.right>.sn-hinge.back{transform:rotateY(-90deg)}.sn-fold-stage[data-fold-step="2"]>.sn-cube-fold>.sn-hinge.left,.sn-fold-stage[data-fold-step="3"]>.sn-cube-fold>.sn-hinge.left{transform:rotateY(90deg)}.sn-fold-stage[data-fold-step="3"]>.sn-cube-fold>.sn-hinge.top{transform:rotateX(-90deg)}.sn-fold-stage[data-fold-step="3"]>.sn-cube-fold>.sn-hinge.bottom{transform:rotateX(90deg)}.sn-error-beacon{position:absolute;bottom:0;left:50%;transform:translateX(-50%);min-width:220px;padding:7px 10px;border:2px solid #ffb0a5;border-radius:12px;background:#7e2732;color:white;text-align:center;font-weight:950;opacity:0;transition:.3s}.sn-fold-stage[data-fold-step="3"].collision .sn-error-beacon,.sn-fold-stage[data-fold-step="3"].gap .sn-error-beacon{opacity:1;animation:sn-evidence .55s ease 2}.sn-opposite{width:min(700px,94%);height:100%;display:grid;grid-template-columns:1fr 180px;align-items:center}.sn-opposite-key,.sn-independent-opposite>div{display:grid;place-items:center;gap:8px;padding:12px;border-radius:17px;background:rgba(255,255,255,.92);color:var(--sn-ink)}.sn-opposite-key span,.sn-independent-opposite .blue{padding:8px 12px;border-radius:10px;background:#4a90e2;color:white;font-weight:950}.sn-opposite-key b{width:58px;height:58px;display:grid;place-items:center;border-radius:9px;background:#fff;border:4px dashed #17384a;font-size:28px}.sn-error-lab{width:min(900px,96%);height:100%;display:grid;grid-template-columns:1fr 1fr;place-items:center}.sn-error-lab>.sn-fold-stage{width:100%;transform:scale(.84)}.sn-prism-build .sn-pair-ledger{grid-row:1;grid-column:2}.sn-prism-build .sn-inventory{grid-row:1;grid-column:2;align-self:start;transform:translateY(-72px)}.sn-triangle-build{grid-template-columns:1fr 220px}.sn-cylinder-build{width:min(900px,96%);height:100%;display:grid;grid-template-columns:1fr 280px;place-items:center}.sn-cylinder-model{position:relative;width:170px;height:220px;perspective:700px}.sn-cylinder-model i{position:absolute;left:25px;width:120px;transition:.6s cubic-bezier(.25,1,.5,1)}.sn-cylinder-model .wall{top:45px;height:125px;border-radius:10px;background:linear-gradient(90deg,#3b8c8a,#83ebe3,#3b8c8a);border:3px solid #17384a;transform:scaleX(.12)}.sn-cylinder-model .cap{height:42px;border-radius:50%;background:#f6c85f;border:3px solid #17384a;opacity:.2}.sn-cylinder-model .top{top:22px;transform:translateY(-60px)}.sn-cylinder-model .bottom{bottom:26px;transform:translateY(60px);background:#ff8e72}.sn-cylinder-build[data-step="1"] .wall,.sn-cylinder-build[data-step="2"] .wall,.sn-cylinder-build[data-step="3"] .wall{transform:scaleX(1);border-radius:50%/10%}.sn-cylinder-build[data-step="2"] .top,.sn-cylinder-build[data-step="3"] .top{transform:translateY(0);opacity:1}.sn-cylinder-build[data-step="3"] .bottom{transform:translateY(0);opacity:1}.sn-independent-opposite{width:min(720px,94%);height:100%;display:grid;grid-template-columns:1fr 180px;place-items:center}.sn-independent-opposite .sn-net-svg{max-height:280px}.sn-match-board{width:min(920px,96%);height:100%;display:grid;grid-template-columns:230px 1fr;align-items:center;gap:12px}.sn-match-progress{display:grid;gap:7px}.sn-match-progress span{min-height:44px;display:flex;align-items:center;padding:6px 10px;border-radius:11px;background:rgba(255,255,255,.9);color:#405c65;font-weight:850}.sn-match-progress span.active{outline:4px solid #ffd966}.sn-match-progress span.done{background:#dff8e9;color:#15664f}.sn-match-current{display:grid;place-items:center;height:280px;border:2px solid rgba(255,255,255,.65);border-radius:18px;background:rgba(255,255,255,.64)}.sn-audit-pair{width:min(900px,96%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.sn-audit-pair article{display:grid;place-items:center;padding:9px;border:3px solid transparent;border-radius:17px;background:rgba(255,255,255,.92);color:var(--sn-ink);opacity:.68}.sn-audit-pair article.active{border-color:#ffca54;opacity:1}.sn-audit-pair .sn-net-svg{height:190px}.sn-audit-pair span{min-height:28px;font-weight:900;color:#a64046}.sn-final-builder{width:min(1000px,98%);height:100%;overflow:auto;padding:5px 8px 70px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.sn-builder-row{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:6px;border-radius:13px;background:rgba(255,255,255,.92)}.sn-builder-row>span{min-width:85px;color:var(--sn-ink);font-weight:950}.sn-builder-row .sn-button{min-height:44px;padding:6px 8px;font-size:.66rem}.sn-builder-row.compact{grid-column:auto;align-content:start}.sn-builder-preview{min-height:190px;display:grid;place-items:center;border-radius:15px;background:rgba(255,255,255,.75);color:var(--sn-ink)}.sn-fold-verdict{display:grid;place-items:center;min-height:60px;border-radius:15px;border:3px dashed #9a8580;background:rgba(255,255,255,.85);color:#765c57;font-weight:950}.sn-fold-verdict.folded{border-style:solid;border-color:#16816b;background:#dcfaec;color:#176953}.sn-final-builder label{display:grid;gap:4px;padding:7px;border-radius:13px;background:rgba(255,255,255,.92);color:var(--sn-ink);font-weight:900}.sn-final-builder textarea{min-height:72px;resize:vertical;border:2px solid #3b8292;border-radius:9px;padding:8px;font:inherit}.sn-checklist{display:grid;grid-template-columns:1fr 1fr;gap:5px}.sn-checklist .sn-button{font-size:.65rem;padding:5px}.sn-finish{max-width:720px;padding:24px;border:3px solid rgba(255,255,255,.8);border-radius:24px;background:rgba(13,64,70,.9);text-align:center;box-shadow:0 18px 40px rgba(0,0,0,.28)}.sn-finish span{color:#ffd96a;font-weight:950}.sn-finish h2{margin:8px 0}.sn-finish p{margin:6px 0}.sn-finish small{display:block;margin-top:10px}.sn-alt-doors,.sn-alt-inventory,.sn-alt-label,.sn-alt-tent{display:flex;align-items:center;justify-content:center;gap:6px;min-height:60px;color:#23444f}.sn-alt-doors i{width:34px;height:48px;border:3px solid #276b7b;background:#8fe4d8;transform-origin:left}.sn-alt-doors i:nth-child(2){transform:rotateY(45deg);background:#ffb27a}.sn-alt-doors i:nth-child(3){transform:rotateY(-35deg);background:#9b8cff}.sn-alt-doors span,.sn-alt-label span,.sn-alt-label b,.sn-alt-tent span,.sn-alt-tent b,.sn-alt-inventory span{padding:5px 7px;border-radius:8px;background:white;font-size:.65rem}.sn-alt-tent i{width:70px;height:55px;background:#f6c85f;clip-path:polygon(50% 0,100% 100%,0 100%)}.sn-alt-label i{width:80px;height:46px;border-radius:6px;background:#64d9d1;box-shadow:inset 0 0 0 3px #276b7b}.wrong-cell{animation:sn-wrong .3s ease 2!important}.correct-cell{outline:4px solid #45b383!important}.sn-scene.family-workbench .sn-shade{background:linear-gradient(180deg,rgba(48,49,39,.12),transparent 30%,rgba(71,48,26,.08))}.sn-scene.family-lightbox .sn-workspace{inset-top:55px}.sn-scene.family-design .sn-workspace{inset-top:55px}@keyframes sn-evidence{50%{transform:translateX(-50%) scale(1.04);filter:brightness(1.25)}}@keyframes sn-wrong{50%{transform:translateX(4px);border-color:#d94d5b}}@media (max-width:720px){.sn-scene{height:330px;min-height:330px}.sn-scene>header{left:7px;right:7px;top:6px;gap:5px}.sn-scene>header span{font-size:.49rem;padding:4px 5px}.sn-scene>header h1{max-width:78%;font-size:.66rem;padding:4px 6px}.sn-workspace{inset:41px 4px 4px}.sn-observe{grid-template-columns:1fr 105px}.sn-three-host{height:230px}.sn-observe-legend{gap:4px}.sn-observe-legend span{min-height:44px;font-size:.56rem}.sn-observe p{font-size:.65rem;margin:-15px 0 0}.sn-predict-grid{grid-template-columns:1fr 1fr;gap:4px}.sn-predict-grid article{min-height:129px;padding:3px}.sn-predict-grid .sn-net-svg{max-height:95px}.sn-predict-grid .sphere i{width:62px;height:62px}.sn-build-net,.sn-prism-build,.sn-prism-choice,.sn-triangle-build{grid-template-columns:1fr 125px;gap:3px}.sn-build-ledger span,.sn-pair-ledger span,.sn-triangle-status span,.sn-inventory span{font-size:.52rem;padding:3px}.sn-prism-build .sn-inventory{transform:translateY(-55px)}.sn-net-svg{max-height:205px}.sn-error-lab{grid-template-columns:1fr 1fr}.sn-error-lab>.sn-fold-stage{transform:scale(.65)}.sn-cube-fold{--s:58px}.sn-opposite{grid-template-columns:1fr 112px}.sn-opposite-key{font-size:.6rem;padding:6px}.sn-cylinder-build{grid-template-columns:1fr 170px}.sn-cylinder-model{transform:scale(.72)}.sn-independent-opposite{grid-template-columns:1fr 115px}.sn-match-board{grid-template-columns:135px 1fr;gap:4px}.sn-match-progress span{font-size:.55rem;padding:3px 5px}.sn-match-current{height:245px}.sn-audit-pair{gap:4px}.sn-audit-pair article{padding:3px}.sn-audit-pair .sn-net-svg{height:155px}.sn-final-builder{grid-template-columns:1fr 1fr;font-size:.62rem;padding-bottom:85px}.sn-builder-row{gap:3px;padding:4px}.sn-builder-row>span{min-width:55px}.sn-builder-row .sn-button,.sn-checklist .sn-button{font-size:.55rem;padding:4px 5px}.sn-builder-preview{min-height:145px}.sn-final-builder textarea{min-height:60px}.sn-finish{padding:15px}.sn-finish h2{font-size:1rem}.sn-finish p{font-size:.74rem}}@media (max-width:420px){.sn-scene{height:330px}.sn-three-host{height:218px}.sn-observe{grid-template-columns:1fr 92px}.sn-cube-fold{--s:52px}.sn-fold-stage{height:245px}.sn-error-lab>.sn-fold-stage{transform:scale(.57)}.sn-cylinder-build{grid-template-columns:1fr 125px}.sn-cylinder-model{transform:scale(.58)}.sn-choices .sn-button{font-size:.68rem;padding:6px 8px}.sn-final-builder{grid-template-columns:1fr}.sn-builder-row,.sn-builder-row.compact,.sn-builder-preview,.sn-fold-verdict,.sn-final-builder label,.sn-checklist{grid-column:1}.sn-builder-preview{min-height:128px}.sn-final-builder .sn-net-svg{max-height:120px}}@media (prefers-reduced-motion:reduce){.sn-hinge,.sn-cylinder-model i,.sn-net-face rect,.sn-net-face polygon{transition-duration:.01ms!important}.sn-error-beacon,.wrong-cell{animation:none!important}}

/* grade4-solid-nets-fixes.css */
.sn-fold-stage[data-fold-step="3"].collision > .sn-cube-fold > .sn-hinge.bottom { transform: rotateX(-90deg); }
.sn-fold-stage[data-fold-step="3"].gap > .sn-cube-fold > .sn-hinge.bottom { transform: rotateX(0deg); }
.sn-scene.family-lightbox .sn-workspace,
.sn-scene.family-design .sn-workspace { top: 55px; }
.sn-three-fallback { width:100%; height:100%; display:grid; place-items:center; align-content:center; gap:22px; }
.sn-fallback-solid { --quarter:0; position:relative; width:112px; height:112px; transform-style:preserve-3d; transform:rotateX(-18deg) rotateY(calc(32deg + var(--quarter) * 90deg)); transition:transform .45s ease; }
.sn-fallback-solid i { position:absolute; inset:0; border:4px solid #17364a; border-radius:7px; background:#4a90e2; box-shadow:inset 0 0 0 3px rgba(255,255,255,.35); }
.sn-fallback-solid i:nth-child(2) { transform-origin:right; transform:rotateY(90deg); background:#64d9d1; }
.sn-fallback-solid i:nth-child(3) { transform-origin:top; transform:rotateX(-90deg); background:#f6c85f; }

/* grade4-shape-properties.css */
.grade4-sp-shell{--sp-ink:#183b49;--sp-blue:#2b79b8;--sp-teal:#1b9b8f;--sp-coral:#e86b55;--sp-gold:#e4aa2e;--sp-paper:#fffdf4}.grade4-sp-board{padding:0!important;overflow:hidden;background:#163647}.sp-asset-gate{min-height:360px;display:grid;place-content:center;text-align:center;padding:28px;color:#fff;background:linear-gradient(145deg,#15384d,#1b675f)}.sp-asset-gate h1{margin:0 0 8px}.sp-scene{position:relative;isolation:isolate;container-type:inline-size;height:360px;min-height:360px;overflow:hidden;color:var(--sp-ink);background:linear-gradient(145deg,#e8f8f2,#fff3d5 58%,#f6e6d1)}.sp-scene-grid{position:absolute;inset:0;z-index:0;opacity:.32;background-image:linear-gradient(rgba(28,104,107,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(28,104,107,.14) 1px,transparent 1px);background-size:24px 24px}.sp-scene>header{position:absolute;z-index:5;top:9px;left:12px;right:12px;display:flex;align-items:center;gap:9px;pointer-events:none}.sp-scene>header span{flex:0 0 auto;padding:5px 8px;border-radius:9px;background:#173f4d;color:#fff;font-size:.63rem;font-weight:950;letter-spacing:.06em}.sp-scene>header h1{margin:0;max-width:78%;padding:5px 9px;border:2px solid rgba(24,75,82,.13);border-radius:10px;background:rgba(255,255,255,.94);font-size:.86rem;line-height:1.15}.sp-workspace{position:absolute;z-index:2;inset:48px 8px 7px;display:grid;place-items:center;min-height:0}.sp-result{position:absolute;z-index:8;inset:auto 10px 7px;pointer-events:none}.sp-controls,.sp-choices{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px}.sp-button{min-width:44px;min-height:44px;border:2px solid #28778a;border-radius:13px;padding:8px 12px;background:#fff;color:#173b48;font:850 .78rem/1.15 inherit;box-shadow:0 4px 0 rgba(23,64,74,.14);cursor:pointer}.sp-button:hover,.sp-button:focus-visible{transform:translateY(-1px);border-color:var(--sp-gold)}.sp-button.primary,.sp-button.ready{border-color:#12685f;background:#187d73;color:#fff}.sp-button.selected,.sp-button.checked{border-color:#16745f;background:#dff8ec}.sp-prompt{margin:0;font-weight:850;text-align:center}.sp-support{display:flex;justify-content:center;gap:7px;margin-top:7px}.sp-support .sp-button{background:#edfaff}.sp-help{max-width:900px;margin:7px auto 0;padding:8px 12px;border:2px solid #e9c35d;border-radius:13px;background:#fff9de;color:#294956;font-size:.74rem}.sp-help p{margin:3px 0}.sp-alt{margin-top:5px}.sp-alt-rope,.sp-alt-bars,.sp-alt-frames{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px}.sp-alt-rope i{width:90px;height:32px;border:4px dashed #298079;border-radius:50%}.sp-alt-bars i{width:46px;height:8px;border-radius:8px;background:#298079}.sp-alt-bars i:nth-child(2){width:62px;background:#e1a72a}.sp-alt-bars i:nth-child(3){width:78px;background:#e46c55}.sp-alt-frames i{width:58px;height:38px;border:4px solid #28788a}.sp-alt-frames i:nth-child(2){width:78px;border-color:#e0a42b}.sp-alt span{padding:5px 7px;border-radius:8px;background:#fff;font-weight:850;font-size:.63rem}
.sp-frame{position:relative;width:150px;aspect-ratio:1;display:grid;place-items:center;filter:drop-shadow(0 10px 8px rgba(26,55,64,.23));touch-action:none}.sp-frame.kind-rectangle{width:190px;aspect-ratio:1.35}.sp-frame.rotated{transform:rotate(-13deg)}.sp-frame[data-sp-source]{cursor:grab}.sp-frame[data-sp-source]:active,.sp-frame.dragging{cursor:grabbing;z-index:20}.sp-frame img,.sp-frame svg{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.sp-frame img{z-index:1}.sp-frame svg{z-index:2;overflow:visible}.sp-exact-path{fill:none;stroke:rgba(255,255,255,.001);stroke-width:8}.sp-hit{position:absolute;z-index:4;left:var(--x);top:var(--y);width:44px;height:44px;padding:0;border:3px solid transparent;background:transparent;transform:translate(-50%,-50%);cursor:pointer}.sp-hit.corner{border-radius:50%}.sp-hit.edge{border-radius:10px}.sp-hit.marked{border-color:#fff;background:#1ca37f;box-shadow:0 0 0 4px #173d4c,0 0 20px #ffe069}.sp-match{width:min(900px,96%);height:100%;display:grid;grid-template-rows:1fr 1fr;gap:5px}.sp-match-sources,.sp-match-targets{display:flex;align-items:center;justify-content:space-around;gap:9px}.sp-match-sources .sp-frame{transform:scale(.72)}.sp-match-sources .sp-frame.rotated{transform:scale(.72) rotate(-13deg)}.sp-target{position:relative;width:150px;height:120px;display:grid;place-items:center;border:3px dashed #367f89;border-radius:15px;background:rgba(255,255,255,.6)}.sp-target svg{width:90%;height:90%}.sp-target path{fill:none;stroke:#4d8790;stroke-width:5;stroke-dasharray:5 5}.sp-target span{position:absolute;font-size:1.1rem;font-weight:950}.sp-target.done{border-style:solid;border-color:#16816a;background:#dff8ec}.sp-mark-task{width:min(700px,94%);height:100%;display:grid;grid-template-columns:1fr 160px;place-items:center}.sp-mark-task>.sp-frame{width:min(280px,70vw)}.sp-mark-task>.kind-rectangle{width:min(340px,72vw)}.sp-ledger,.sp-measure-ledger{display:grid;gap:8px}.sp-ledger span,.sp-measure-ledger span{min-height:44px;display:grid;place-items:center;padding:6px 10px;border:2px dashed #688c93;border-radius:11px;background:#fff;font-weight:900}.sp-ledger span.done,.sp-measure-ledger span.done{border-style:solid;border-color:#15806b;background:#dff8ec}.sp-name-path{position:relative;width:min(450px,92%);height:100%;display:grid;place-items:center}.sp-name-path .sp-frame{width:270px}.sp-name-path p{position:absolute;bottom:1px;margin:0;padding:5px 8px;border-radius:9px;background:rgba(255,255,255,.9);font-weight:850}.sp-letter{position:absolute;width:44px;height:44px;display:grid;place-items:center;border:3px solid #173c4a;border-radius:50%;background:#ffe170;font-weight:950}.sp-letter.a{top:2%;left:47%}.sp-letter.b{left:13%;bottom:13%}.sp-letter.c{right:13%;bottom:13%}.sp-table-task{width:min(780px,96%);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.sp-mini-frames{display:grid;grid-template-columns:repeat(3,1fr);place-items:center}.sp-mini-frames .sp-frame{width:100px}.sp-mini-frames .kind-rectangle{width:120px}.sp-table-task table{width:100%;border-collapse:separate;border-spacing:4px}.sp-table-task th,.sp-table-task td{height:44px;padding:5px;border:2px solid #347986;border-radius:8px;background:#fff;text-align:center;font-weight:900}
.sp-stick-build{position:relative;width:min(680px,94%);height:100%}.sp-pegs i{position:absolute;z-index:4;width:34px;height:34px;border:5px solid #fff;border-radius:50%;background:#e1a72a;box-shadow:0 0 0 4px #173d4c}.sp-pegs i:nth-child(1){left:50%;top:8%}.sp-pegs i:nth-child(2){left:19%;bottom:19%}.sp-pegs i:nth-child(3){right:19%;bottom:19%}.sp-stick-slots .slot{position:absolute;z-index:2;height:23px;border:4px dashed #487d83;border-radius:18px;background:rgba(255,255,255,.55)}.sp-stick-slots .s0{width:39%;left:24%;top:45%;transform:rotate(-56deg)}.sp-stick-slots .s1{width:52%;left:24%;bottom:23%}.sp-stick-slots .s2{width:39%;right:24%;top:45%;transform:rotate(56deg)}.sp-stick-slots .done{border-style:solid;background:#73c8bc}.sp-stick-pool{position:absolute;right:2%;top:8%;display:grid;gap:8px}.sp-stick{width:100px;height:24px;min-height:44px;border:0;border-radius:18px;background:linear-gradient(#ffcf5f,#c67b27);box-shadow:inset 0 0 0 4px #704315,0 5px 8px rgba(0,0,0,.22);cursor:grab;touch-action:none}.sp-stick.source-1{background:linear-gradient(#76ded1,#268b84)}.sp-stick.source-2{background:linear-gradient(#f4927f,#bd493c)}.sp-triangle-lab{position:relative;width:min(450px,78vw);aspect-ratio:1}.sp-triangle-lab svg{width:100%;height:100%;overflow:visible}.sp-triangle-lab .shape{fill:rgba(255,255,255,.62);stroke:#173d4b;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.sp-triangle-lab .edge{fill:none;stroke:transparent;stroke-width:10;stroke-linecap:round}.sp-triangle-lab .edge.measured{stroke:#1c9d88}.sp-length{position:absolute;opacity:0;padding:4px 6px;border:2px solid #287b86;border-radius:8px;background:#fff;font-size:.65rem;font-weight:900;transition:.25s}.sp-length.shown{opacity:1}.sp-length.l0{left:5%;top:43%;transform:rotate(-63deg)}.sp-length.l1{left:40%;bottom:0}.sp-length.l2{right:4%;top:43%;transform:rotate(63deg)}.sp-length b{color:#ca512f}.sp-measure-strip{position:absolute;z-index:5;width:52%;opacity:0;filter:drop-shadow(0 5px 4px rgba(0,0,0,.25));transition:.45s cubic-bezier(.2,.8,.2,1);pointer-events:none}.sp-measure-strip.active{opacity:1}.sp-measure-strip.m0{left:0;top:42%;transform:rotate(-63deg)}.sp-measure-strip.m1{left:23%;bottom:3%}.sp-measure-strip.m2{right:0;top:42%;transform:rotate(63deg)}.sp-measure-task,.sp-stamp-task{width:min(760px,96%);height:100%;display:grid;grid-template-columns:1fr 160px;place-items:center}.sp-stamp-progress{display:grid;gap:7px}.sp-stamp-progress span{min-height:44px;display:grid;place-items:center;padding:5px 8px;border:2px dashed #658b92;border-radius:10px;background:#fff;font-weight:900}.sp-stamp-progress .active{outline:4px solid #f2c54f}.sp-stamp-progress .done{border-style:solid;border-color:#16816c;background:#dff8ec}
.sp-elastic{width:min(760px,95%);height:100%;display:grid;grid-template-columns:1fr 190px;place-items:center}.sp-elastic-frame{position:relative;width:min(330px,55vw);aspect-ratio:var(--ratio);transition:aspect-ratio .28s ease}.sp-elastic-frame i{position:absolute;background:linear-gradient(#f7cf70,#b76d28);border:4px solid #754417;border-radius:14px}.sp-elastic-frame i:nth-child(1),.sp-elastic-frame i:nth-child(3){left:0;right:0;height:22px}.sp-elastic-frame i:nth-child(1){top:0}.sp-elastic-frame i:nth-child(3){bottom:0}.sp-elastic-frame i:nth-child(2),.sp-elastic-frame i:nth-child(4){top:0;bottom:0;width:22px}.sp-elastic-frame i:nth-child(2){right:0}.sp-elastic-frame i:nth-child(4){left:0}.sp-elastic-frame b{position:absolute;width:22px;height:22px;border-radius:50%;background:#1d8f85;border:4px solid #fff;box-shadow:0 0 0 3px #173b49}.sp-elastic-frame b:nth-of-type(1){left:-7px;top:-7px}.sp-elastic-frame b:nth-of-type(2){right:-7px;top:-7px}.sp-elastic-frame b:nth-of-type(3){right:-7px;bottom:-7px}.sp-elastic-frame b:nth-of-type(4){left:-7px;bottom:-7px}.sp-elastic-proof{display:grid;gap:7px}.sp-elastic-proof span,.sp-elastic-proof strong{min-height:44px;display:grid;place-items:center;padding:5px;border-radius:10px;background:#fff;border:2px solid #397b87;font-size:.68rem;text-align:center}.sp-elastic-proof strong{background:#173f4d;color:#fff}.sp-slider{display:flex;align-items:center;gap:8px;font-weight:900}.sp-slider input{width:min(360px,58vw);min-height:44px}.sp-relation-cards{width:min(780px,96%);display:grid;grid-template-columns:1fr 1fr;gap:10px}.sp-relation-cards article{display:grid;grid-template-columns:1fr 1fr;place-items:center;padding:8px;border:2px solid #41828a;border-radius:16px;background:rgba(255,255,255,.88);font-weight:850;text-align:center}.sp-relation-cards .sp-frame{width:150px}.sp-independent-shape{width:min(680px,94%);display:grid;grid-template-columns:1fr 190px;place-items:center}.sp-independent-shape>.sp-frame{width:270px}.sp-proof-mask{display:grid;gap:8px}.sp-proof-mask span{min-height:44px;display:grid;place-items:center;border:2px dashed #426f78;border-radius:10px;background:#fff;font-weight:900}.sp-rule-proof{width:min(680px,94%);height:100%;display:grid;grid-template-columns:1fr 180px;place-items:center}.sp-rule-proof p{padding:12px;border:2px solid #3c7e88;border-radius:14px;background:#fff;font-weight:900}.sp-rule-proof.relation{grid-template-columns:1fr 1fr 180px}.sp-rule-proof.relation .sp-frame{width:165px}.sp-final-builder{width:min(900px,98%);height:100%;overflow:auto;padding:4px 7px 72px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.sp-builder-row{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;border-radius:13px;background:rgba(255,255,255,.9)}.sp-builder-row>span{min-width:70px;font-weight:950}.sp-builder-row .sp-button,.sp-checklist .sp-button{font-size:.64rem;padding:5px 7px}.sp-builder-preview{min-height:165px;display:grid;place-items:center;border:2px dashed #4b8188;border-radius:15px;background:rgba(255,255,255,.67)}.sp-builder-preview .sp-frame{width:180px}.sp-checklist{display:grid;grid-template-columns:1fr 1fr;gap:5px}.sp-final-builder label{display:grid;gap:4px;padding:7px;border-radius:13px;background:#fff;font-weight:900}.sp-final-builder textarea{min-height:72px;resize:vertical;border:2px solid #377d88;border-radius:9px;padding:7px;font:inherit}.sp-finish{max-width:720px;padding:22px;border:3px solid rgba(255,255,255,.82);border-radius:23px;background:rgba(17,75,75,.91);color:#fff;text-align:center;box-shadow:0 18px 36px rgba(0,0,0,.25)}.sp-finish span{color:#ffdb68;font-weight:950}.sp-finish h2{margin:7px 0}.sp-finish p{margin:5px 0}.wrong-cell{animation:sp-wrong .3s ease 2!important}.correct-cell{outline:4px solid #41ad89!important}@keyframes sp-wrong{50%{transform:translateX(4px);border-color:#d44e5b}}
@media(max-width:720px){.sp-scene{height:330px;min-height:330px}.sp-scene>header{top:5px;left:6px;right:6px;gap:5px}.sp-scene>header span{padding:4px 5px;font-size:.48rem}.sp-scene>header h1{max-width:80%;padding:4px 6px;font-size:.64rem}.sp-workspace{inset:40px 3px 3px}.sp-button{padding:7px 9px;font-size:.67rem}.sp-help{font-size:.64rem}.sp-match-sources .sp-frame{transform:scale(.52)}.sp-match-sources .sp-frame.rotated{transform:scale(.52) rotate(-13deg)}.sp-target{width:105px;height:95px}.sp-mark-task{grid-template-columns:1fr 105px}.sp-mark-task>.sp-frame{width:225px}.sp-ledger span,.sp-measure-ledger span{padding:3px;font-size:.57rem}.sp-name-path .sp-frame{width:220px}.sp-table-task{grid-template-columns:1fr 1.2fr;gap:4px}.sp-mini-frames .sp-frame{width:68px}.sp-mini-frames .kind-rectangle{width:82px}.sp-table-task th,.sp-table-task td{padding:2px;font-size:.58rem}.sp-stick-pool{right:0}.sp-stick{width:76px}.sp-measure-task,.sp-stamp-task{grid-template-columns:1fr 110px}.sp-triangle-lab{width:min(330px,68vw)}.sp-length{font-size:.48rem;padding:2px}.sp-stamp-progress span{font-size:.56rem;padding:3px}.sp-elastic{grid-template-columns:1fr 115px}.sp-elastic-frame{width:min(260px,56vw)}.sp-elastic-proof span,.sp-elastic-proof strong{font-size:.55rem;padding:3px}.sp-relation-cards article{grid-template-columns:1fr;font-size:.6rem;padding:4px}.sp-relation-cards .sp-frame{width:105px}.sp-independent-shape{grid-template-columns:1fr 115px}.sp-independent-shape>.sp-frame{width:210px}.sp-proof-mask span{font-size:.56rem}.sp-rule-proof{grid-template-columns:1fr 130px}.sp-rule-proof.relation{grid-template-columns:1fr 1fr 130px}.sp-rule-proof.relation .sp-frame{width:110px}.sp-rule-proof p{font-size:.62rem;padding:7px}.sp-final-builder{font-size:.62rem}.sp-builder-preview{min-height:135px}.sp-builder-preview .sp-frame{width:140px}.sp-final-builder textarea{min-height:58px}.sp-finish{padding:15px}.sp-finish h2{font-size:1rem}.sp-finish p{font-size:.73rem}}
@media(max-width:420px){.sp-scene{height:330px}.sp-match-sources,.sp-match-targets{gap:2px}.sp-target{width:96px}.sp-mark-task>.sp-frame{width:195px}.sp-name-path .sp-frame{width:200px}.sp-stick-slots .s0{left:18%}.sp-stick-slots .s2{right:18%}.sp-elastic-frame{width:210px}.sp-relation-cards{gap:4px}.sp-independent-shape>.sp-frame{width:180px}.sp-rule-proof.relation{grid-template-columns:1fr 1fr}.sp-rule-proof.relation p{grid-column:1/-1}.sp-final-builder{grid-template-columns:1fr}.sp-builder-row,.sp-builder-preview,.sp-checklist,.sp-final-builder label{grid-column:1}.sp-builder-preview{min-height:118px}}
@media(prefers-reduced-motion:reduce){.sp-measure-strip,.sp-elastic-frame,.sp-length{transition-duration:.01ms!important}.wrong-cell{animation:none!important}}
@media(max-width:420px){
  .sp-match{width:100%;}
  .sp-match-sources,.sp-match-targets{width:100%;justify-content:space-evenly;gap:2px;}
  .sp-match-sources .sp-frame{flex:0 0 auto;width:92px;transform:none;}
  .sp-match-sources .sp-frame.kind-rectangle{width:112px;}
  .sp-match-sources .sp-frame.rotated{transform:rotate(-13deg);}
  .sp-target{flex:0 0 auto;width:94px;height:94px;}
}

/* The lesson panel remains narrow beside the teacher even on wide windows. Scale
   teaching objects from the panel's real width so no mathematical evidence is clipped. */
@container (max-width:640px){
  .sp-workspace>*{box-sizing:border-box;min-width:0;max-width:100%;}
  .sp-match,.sp-mark-task,.sp-table-task,.sp-stick-build,.sp-measure-task,.sp-stamp-task,.sp-elastic,.sp-relation-cards,.sp-independent-shape,.sp-rule-proof,.sp-final-builder{width:100%;min-width:0;max-width:100%;}
  .sp-match-sources,.sp-match-targets{width:100%;justify-content:space-evenly;gap:2px;}
  .sp-match-sources .sp-frame{flex:0 0 auto;width:24cqw;transform:none;}
  .sp-match-sources .sp-frame.kind-rectangle{width:29cqw;}
  .sp-match-sources .sp-frame.rotated{transform:rotate(-13deg);}
  .sp-target{flex:0 0 auto;width:27cqw;height:94px;}
  .sp-mark-task{grid-template-columns:minmax(0,1fr) 104px;}
  .sp-mark-task>.sp-frame{width:min(225px,55cqw);}
  .sp-mark-task>.kind-rectangle{width:min(250px,59cqw);}
  .sp-ledger,.sp-measure-ledger,.sp-stamp-progress,.sp-elastic-proof,.sp-proof-mask{min-width:0;}
  .sp-ledger span,.sp-measure-ledger span{padding:3px;font-size:.57rem;}
  .sp-name-path .sp-frame{width:min(220px,57cqw);}
  .sp-table-task{grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:4px;}
  .sp-mini-frames{min-width:0;}
  .sp-mini-frames .sp-frame{width:15cqw;}
  .sp-mini-frames .kind-rectangle{width:18cqw;}
  .sp-table-task table{min-width:0;table-layout:fixed;}
  .sp-table-task th,.sp-table-task td{padding:2px;font-size:.58rem;}
  .sp-stick{width:76px;}
  .sp-measure-task,.sp-stamp-task{height:100%;}
  .sp-measure-task{grid-template-columns:minmax(0,1fr) 104px;}
  .sp-stamp-task{grid-template-columns:104px minmax(0,1fr);}
  .sp-triangle-lab{width:min(286px,68cqw);max-height:100%;}
  .sp-length{font-size:.48rem;padding:2px;}
  .sp-stamp-progress span{font-size:.56rem;padding:3px;}
  .sp-elastic{grid-template-columns:minmax(0,1fr) 112px;}
  .sp-elastic-frame{width:min(250px,58cqw);}
  .sp-elastic-proof span,.sp-elastic-proof strong{font-size:.55rem;padding:3px;}
  .sp-relation-cards{gap:5px;}
  .sp-relation-cards article{min-width:0;grid-template-columns:1fr;font-size:.6rem;padding:4px;}
  .sp-relation-cards .sp-frame{width:min(105px,24cqw);}
  .sp-independent-shape{grid-template-columns:minmax(0,1fr) 112px;}
  .sp-independent-shape>.sp-frame{width:min(205px,50cqw);}
  .sp-proof-mask span{font-size:.56rem;}
  .sp-rule-proof{height:100%;grid-template-columns:minmax(0,1fr) 126px;}
  .sp-rule-proof.relation{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 126px;}
  .sp-rule-proof.relation .sp-frame{width:min(108px,24cqw);}
  .sp-rule-proof p{min-width:0;font-size:.6rem;padding:6px;}
}

/* grade4-measure-perimeter.css */
.grade4-pm-shell{--pm-ink:#14384a;--pm-teal:#15978c;--pm-blue:#397ec4;--pm-coral:#ed6b55;--pm-gold:#e8af32;--pm-paper:#fffdf4}.grade4-pm-board{padding:0!important;overflow:hidden;background:#153646}.pm-asset-gate{min-height:360px;display:grid;place-content:center;text-align:center;padding:28px;color:#fff;background:linear-gradient(145deg,#15384d,#17665f)}.pm-asset-gate h1{margin:0 0 8px}.pm-scene{position:relative;isolation:isolate;container-type:inline-size;height:360px;min-height:360px;overflow:hidden;color:var(--pm-ink);background:linear-gradient(145deg,#e8f8f3,#fff5d8 58%,#f5e3cf)}.pm-scene-grid{position:absolute;inset:0;z-index:0;opacity:.32;background-image:linear-gradient(rgba(28,104,107,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(28,104,107,.14) 1px,transparent 1px);background-size:24px 24px}.pm-scene.family-boundary{background:linear-gradient(#dff5f0,#fff1c8)}.pm-scene.family-hangar{background:linear-gradient(145deg,#dcecf8,#fdf2cf)}.pm-scene.family-ruler{background:linear-gradient(145deg,#edf9f4,#fff0d6)}.pm-scene.family-tape{background:linear-gradient(145deg,#dff2e7,#f8e8c7)}.pm-scene.family-compass{background:linear-gradient(145deg,#efe7fb,#e4f7ef)}.pm-scene.family-digital{background:linear-gradient(145deg,#dceaf8,#e5fbf5)}.pm-scene.family-prove{background:linear-gradient(145deg,#fff0d2,#e2f7ef)}.pm-scene>header{position:absolute;z-index:7;top:9px;left:12px;right:12px;display:flex;align-items:center;gap:9px;pointer-events:none}.pm-scene>header span{flex:0 0 auto;padding:5px 8px;border-radius:9px;background:#173f4d;color:#fff;font-size:.63rem;font-weight:950;letter-spacing:.06em}.pm-scene>header h1{margin:0;max-width:78%;padding:5px 9px;border:2px solid rgba(24,75,82,.13);border-radius:10px;background:rgba(255,255,255,.94);font-size:.86rem;line-height:1.15}.pm-workspace{position:absolute;z-index:2;inset:48px 8px 7px;display:grid;place-items:center;min-height:0}.pm-result{position:absolute;z-index:8;inset:auto 10px 7px;pointer-events:none}.pm-controls,.pm-choices{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px}.pm-button{min-width:44px;min-height:44px;border:2px solid #28778a;border-radius:13px;padding:8px 12px;background:#fff;color:#173b48;font:850 .78rem/1.15 inherit;box-shadow:0 4px 0 rgba(23,64,74,.14);cursor:pointer}.pm-button:hover,.pm-button:focus-visible{transform:translateY(-1px);border-color:var(--pm-gold)}.pm-button.primary,.pm-button.ready{border-color:#12685f;background:#187d73;color:#fff}.pm-button.selected,.pm-button.checked{border-color:#16745f;background:#dff8ec}.pm-prompt{margin:0;font-weight:850;text-align:center}.pm-support{display:flex;justify-content:center;gap:7px;margin-top:7px}.pm-support .pm-button{background:#edfaff}.pm-help{max-width:900px;margin:7px auto 0;padding:8px 12px;border:2px solid #e9c35d;border-radius:13px;background:#fff9de;color:#294956;font-size:.74rem}.pm-help p{margin:3px 0}.pm-alt{margin-top:5px}.pm-alt-rope,.pm-alt-bars,.pm-alt-strip,.pm-alt-compass,.pm-alt-digital{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px}.pm-alt-rope i{width:94px;height:32px;border:4px dashed #298079;border-radius:50%}.pm-alt-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.pm-alt-tools b{min-height:40px;display:grid;place-items:center;border:2px solid #33808a;border-radius:8px;background:#fff;font-size:.56rem;text-align:center}.pm-alt-bars i{height:9px;border-radius:8px;background:#298079}.pm-alt-bars i:nth-child(1){width:42px}.pm-alt-bars i:nth-child(2){width:53px;background:#e1a72a}.pm-alt-bars i:nth-child(3){width:64px;background:#e46c55}.pm-alt-strip i{width:46px;height:9px;border-radius:2px;background:#eb765c}.pm-alt-strip i:nth-child(even){background:#2e9d91}.pm-alt-compass i{width:8px;height:40px;border-radius:8px;background:#7350bd;transform-origin:top}.pm-alt-compass i:first-child{transform:rotate(18deg)}.pm-alt-compass i:nth-child(2){transform:rotate(-18deg)}.pm-alt-digital i{width:105px;height:38px;border:4px solid #327f90;border-radius:9px}.pm-alt span{padding:5px 7px;border-radius:8px;background:#fff;font-weight:850;font-size:.63rem}.pm-tool{display:block;max-width:none;object-fit:contain;pointer-events:none;filter:drop-shadow(0 7px 6px rgba(17,48,61,.25));user-select:none}.pm-tool-ruler{width:250px}.pm-tool-tape{width:165px}.pm-tool-compass{width:120px}.pm-shape-svg{width:100%;height:100%;overflow:visible}.pm-shape-fill{fill:rgba(255,255,255,.66)}.pm-shape-edge{fill:none;stroke:#173e4d;stroke-width:5;stroke-linejoin:round;stroke-linecap:round}.pm-tool-progress{display:grid;gap:6px}.pm-tool-progress span{min-height:40px;display:grid;place-items:center;padding:4px 7px;border:2px dashed #628b93;border-radius:10px;background:#fff;font-size:.65rem;font-weight:900;text-align:center}.pm-tool-progress span.active{outline:4px solid #f1c54f}.pm-tool-progress span.done{border-style:solid;border-color:#16816c;background:#dff8ec}
.pm-lap{position:relative;width:min(650px,94%);height:100%;display:grid;grid-template-columns:1fr 150px;place-items:center}.pm-lap>.pm-shape-svg{width:390px;height:260px}.pm-lap .pm-shape-fill{fill:rgba(255,255,255,.55)}.pm-lap-segment{fill:none;stroke:#e8b12f;stroke-width:9;stroke-linecap:round;opacity:.18}.pm-lap-segment.active{opacity:1;stroke-dasharray:7 7;animation:pm-dash 1s linear infinite}.pm-lap-segment.done{opacity:1;stroke:#139a87}.pm-flag{position:absolute;z-index:4;left:13%;top:19%;padding:5px 7px;border-radius:8px;background:#e75d50;color:#fff;font-size:.6rem;font-weight:950}.pm-lap-ledger{display:grid;gap:6px}.pm-lap-ledger span{min-width:100px;min-height:40px;display:grid;place-items:center;border:2px dashed #557d84;border-radius:9px;background:#fff;font-size:.66rem;font-weight:900}.pm-lap-ledger .active{outline:4px solid #f0c447}.pm-lap-ledger .done{border-style:solid;border-color:#16816c;background:#dff8ec}.pm-boundary-choice{width:min(690px,95%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.pm-boundary-choice article{height:230px;display:grid;grid-template-rows:1fr auto;place-items:center;padding:8px;border:3px solid #2b7883;border-radius:18px;background:rgba(255,255,255,.78)}.pm-boundary-choice .pm-shape-svg{width:220px}.pm-boundary-choice .filled .pm-shape-fill{fill:#f1a96d}.pm-boundary-choice span{padding:5px 8px;border-radius:8px;background:#173f4d;color:#fff;font-size:.68rem;font-weight:900}.pm-tool-identify,.pm-situation{width:min(720px,95%);height:100%;display:grid;grid-template-columns:1fr 175px;place-items:center;gap:10px}.pm-tool-stage{width:100%;height:235px;display:grid;place-items:center;border:3px solid #4b8790;border-radius:20px;background:rgba(255,255,255,.72)}.pm-tool-stage .pm-tool-ruler{width:min(390px,75cqw)}.pm-tool-stage .pm-tool-tape{width:240px}.pm-tool-stage .pm-tool-compass{height:220px;width:180px}.pm-digital-probe{position:relative;width:210px;height:130px;border:4px solid #255f82;border-radius:18px;background:linear-gradient(#0f3148,#184c62);box-shadow:inset 0 0 0 8px #d9f5ef}.pm-digital-probe i{position:absolute;top:50%;width:25px;height:25px;border:5px solid #ffdc66;border-radius:50%;transform:translateY(-50%)}.pm-digital-probe i:first-child{left:28px}.pm-digital-probe i:nth-child(2){right:28px}.pm-digital-probe b{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:2rem}.pm-situation{grid-template-columns:1fr 190px}.pm-situation>strong{position:absolute;bottom:8px;padding:5px 9px;border-radius:9px;background:#173f4d;color:#fff;font-size:.72rem}.pm-case-icon{width:420px;height:235px;display:grid;place-items:center;border:3px solid #4a8490;border-radius:20px;background:rgba(255,255,255,.73)}.pm-case-icon .pm-shape-svg{width:260px;height:210px}.pm-case-icon .pm-tool-compass{height:210px;width:170px}.pm-screen-shape{width:310px;height:190px;padding:12px;border:12px solid #183e55;border-radius:16px;background:#dff8f0}
.pm-estimate{width:min(650px,94%);height:100%;display:grid;grid-template-columns:180px 1fr;place-items:center;gap:20px}.pm-reference{display:grid;gap:14px;width:100%}.pm-reference i{display:block;width:var(--w);min-width:90px;height:24px;padding:3px;border-radius:4px;background:#2e9087;color:#fff;font-style:normal;font-size:.62rem;font-weight:900}.pm-estimate-edge{position:relative;width:350px;height:170px;display:grid;place-items:center;border:3px solid #57858b;border-radius:18px;background:#fff}.pm-estimate-edge b{width:55%;height:8px;border-radius:8px;background:#173e4d}.pm-estimate-edge span{position:absolute;top:38px;font-size:2rem;font-weight:950;color:#e36a52}.pm-estimate p{grid-column:1/-1;margin:0;font-weight:900}.pm-zero-bench{position:relative;width:min(720px,96%);height:100%;display:grid;grid-template-rows:95px 120px 40px;place-items:center}.pm-edge-to-measure{position:relative;width:330px;height:70px}.pm-edge-to-measure>i{position:absolute;top:32px;width:25px;height:25px;border:5px solid #e65e50;border-radius:50%;background:#fff;z-index:3}.pm-edge-to-measure>i:first-child{left:0}.pm-edge-to-measure>i:nth-child(2){right:0}.pm-edge-to-measure:after{content:'';position:absolute;left:12px;right:12px;top:42px;height:7px;border-radius:7px;background:#183e4d}.pm-edge-to-measure b{position:absolute;left:50%;top:5px;transform:translateX(-50%);font-size:.64rem}.pm-ruler-track{position:relative;width:520px;height:100px;overflow:visible}.pm-ruler-track .pm-tool-ruler{position:absolute;z-index:2;left:50%;top:4px;width:430px;transform:translateX(calc(-50% + var(--shift,0%)));transition:transform .18s ease}.pm-zero-marker{position:absolute;z-index:4;left:calc(6% + var(--p)*.88);top:4px;width:26px;height:26px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:#e75e50;color:#fff;font-size:.62rem;font-weight:950;box-shadow:0 0 0 3px #173e4d}.pm-contact{padding:6px 10px;border:2px dashed #a47528;border-radius:9px;background:#fff8db;font-size:.68rem;font-weight:900}.pm-contact.ready{border-style:solid;border-color:#13816e;background:#dff8ec}.pm-slider{display:flex;align-items:center;gap:8px;font-weight:900}.pm-slider input{width:min(360px,58vw);min-height:44px}.pm-triangle-measure{position:relative;width:min(680px,94%);height:100%;display:grid;grid-template-columns:1fr 145px;place-items:center}.pm-triangle-measure>svg{width:360px;height:265px;overflow:visible}.pm-triangle-measure .edge{fill:none;stroke:#173e4d;stroke-width:7;stroke-linecap:round}.pm-triangle-measure .edge.active{stroke:#e8ad2c;stroke-dasharray:7 6;animation:pm-dash 1s linear infinite}.pm-triangle-measure .edge.done{stroke:#139a87}.pm-triangle-measure>span{position:absolute;opacity:0;padding:4px 7px;border:2px solid #2c7885;border-radius:8px;background:#fff;font-size:.66rem;font-weight:900}.pm-triangle-measure>span.shown{opacity:1}.pm-triangle-measure .l0{left:12%;top:41%;transform:rotate(-64deg)}.pm-triangle-measure .l1{left:37%;bottom:5%}.pm-triangle-measure .l2{left:57%;top:41%;transform:rotate(64deg)}.pm-triangle-measure>.pm-tool-ruler{position:absolute;z-index:4;left:13%;top:39%;width:220px;transform:rotate(-64deg);transition:.35s ease}.pm-triangle-measure>.pm-tool-ruler.at-1{left:28%;top:66%;transform:rotate(0)}.pm-triangle-measure>.pm-tool-ruler.at-2{left:49%;top:39%;transform:rotate(64deg)}.pm-measure-ledger{display:grid;gap:7px}.pm-measure-ledger span{min-height:40px;display:grid;place-items:center;border:2px dashed #668c93;border-radius:9px;background:#fff;font-size:.66rem;font-weight:900}.pm-measure-ledger span.done{border-style:solid;border-color:#16816d;background:#dff8ec}.pm-unfold{width:min(720px,96%);height:100%;display:grid;grid-template-columns:190px 1fr;grid-template-rows:1fr auto;place-items:center;gap:10px}.pm-origin-shape{width:180px;height:190px}.pm-strip{width:100%;display:flex;align-items:stretch;height:65px}.pm-strip i{flex:var(--n,1);display:grid;place-items:center;border:3px solid #fff;border-radius:4px;background:#2c998b;color:#fff;font-style:normal;font-size:.68rem;font-weight:950;box-shadow:0 0 0 2px #173e4d}.pm-strip i:nth-child(2){background:#e4a82d}.pm-strip i:nth-child(3){background:#e76d57}.pm-unfold strong{grid-column:1/-1;padding:7px 12px;border-radius:10px;background:#173f4d;color:#fff}.pm-strip.four i{flex:1}.pm-strip.four i:nth-child(4){background:#397fc1}
.pm-courtyard{width:min(740px,96%);height:100%;display:grid;grid-template-columns:1fr 220px;place-items:center}.pm-floor-square{width:300px;height:250px;padding:8px;border-radius:18px;background:repeating-linear-gradient(45deg,#d7b578 0 10px,#e2c792 10px 20px);box-shadow:inset 0 0 0 5px #9c743d,0 13px 20px rgba(44,53,48,.2)}.pm-floor-square .pm-shape-edge{stroke:#17695f;stroke-width:7}.pm-tool-rack{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px}.pm-tool-rack .pm-tool-ruler{width:160px}.pm-tool-rack .pm-tool-tape{width:120px}.pm-tool-rack .pm-tool-compass{height:145px;width:95px}.pm-courtyard p{grid-column:1/-1;margin:0;font-weight:900}.pm-tape-lap{position:relative;width:min(700px,95%);height:100%;display:grid;grid-template-columns:1fr 145px;place-items:center}.pm-tape-lap .pm-floor-square{width:330px;height:260px}.pm-tape-lap .lap{fill:none;stroke:#efb52e;stroke-width:9;stroke-linecap:round;opacity:.25}.pm-tape-lap .lap.active{opacity:1;stroke-dasharray:7 6;animation:pm-dash 1s linear infinite}.pm-tape-lap .lap.done{opacity:1;stroke:#159b88}.pm-tape-lap>.pm-tool-tape{position:absolute;z-index:4;width:160px;transition:.35s ease}.pm-tape-lap>.side-0{left:20%;top:2%;transform:rotate(0)}.pm-tape-lap>.side-1{left:52%;top:30%;transform:rotate(90deg)}.pm-tape-lap>.side-2{left:20%;bottom:1%;transform:rotate(180deg)}.pm-tape-lap>.side-3{left:0;top:30%;transform:rotate(-90deg)}
.pm-compass-station{position:relative;width:min(720px,96%);height:100%;display:grid;grid-template-columns:1fr 1fr;place-items:center}.pm-slanted-edge{position:relative;width:290px;height:170px}.pm-slanted-edge i{position:absolute;left:46px;right:46px;top:82px;height:8px;border-radius:8px;background:#173e4d;transform:rotate(-25deg)}.pm-slanted-edge button{position:absolute;z-index:5;width:48px;height:48px;border:4px solid #173e4d;border-radius:50%;background:#fff;color:#173e4d;font-weight:950;cursor:pointer}.pm-slanted-edge button:first-child{left:31px;bottom:19px}.pm-slanted-edge button:last-child{right:31px;top:19px}.pm-slanted-edge button.done{background:#45b99d;color:#fff}.pm-compass-station>.pm-tool-compass{position:absolute;z-index:4;left:21%;top:16%;height:220px;width:150px;opacity:.35;transform:rotate(-4deg);transition:.45s ease}.pm-compass-station>.pm-tool-compass.captured{opacity:1;transform:rotate(-25deg) scale(.78)}.pm-compass-station>.pm-tool-compass.transferred{left:58%;top:12%;transform:rotate(0) scale(.72)}.pm-transfer-ruler{position:relative;width:310px;height:160px;display:grid;place-items:center;border:3px solid #4e8490;border-radius:18px;background:#fff}.pm-transfer-ruler .pm-tool-ruler{width:270px}.pm-transfer-ruler span{position:absolute;bottom:17px;opacity:0;padding:4px 7px;border-radius:8px;background:#173f4d;color:#fff;font-size:.66rem;font-weight:900}.pm-transfer-ruler span.shown{opacity:1}.pm-compass-station>p{position:absolute;left:50%;bottom:2px;transform:translateX(-50%);width:max-content;max-width:90%;margin:0;padding:5px 8px;border-radius:8px;background:#fff;font-size:.68rem;font-weight:900}.pm-digital-lab{width:min(740px,96%);height:100%;display:grid;grid-template-columns:1fr 190px;place-items:center}.pm-monitor{position:relative;width:420px;height:245px;padding:15px;border:14px solid #173e55;border-radius:18px;background:#dff7f1;box-shadow:0 13px 20px rgba(25,52,63,.25)}.pm-monitor .pm-shape-svg{width:100%;height:100%}.pm-monitor .pm-digital-probe{position:absolute;right:18px;bottom:13px;width:130px;height:75px}.pm-digital-tool{min-width:120px;min-height:88px;display:grid;place-items:center;padding:6px;border:4px solid #2d7187;border-radius:16px;background:linear-gradient(#18445d,#102e42);color:#fff;font-size:.7rem;font-weight:950;text-align:center}.pm-digital-measure{position:relative;width:min(650px,94%);height:100%;display:grid;place-items:center}.pm-digital-measure>svg{width:450px;height:265px;overflow:visible}.pm-digital-measure .edge{fill:none;stroke:#173e4d;stroke-width:7;stroke-linecap:round}.pm-digital-measure .edge.active{stroke:#e5aa2c;stroke-dasharray:7 6;animation:pm-dash 1s linear infinite}.pm-digital-measure .edge.done{stroke:#159b88}.pm-digital-measure>span{position:absolute;opacity:0;padding:4px 7px;border:2px solid #2b7885;border-radius:8px;background:#fff;font-size:.66rem;font-weight:900}.pm-digital-measure>span.shown{opacity:1}.pm-digital-measure .l0{top:7%;left:46%}.pm-digital-measure .l1{right:12%;top:45%}.pm-digital-measure .l2{bottom:10%;left:46%}.pm-digital-measure .l3{left:12%;top:45%}.pm-digital-readout{position:absolute;bottom:2px;min-width:210px;padding:7px 10px;border-radius:9px;background:#173f4d;color:#fff;font-size:.72rem;font-weight:950;text-align:center}
.pm-independent-tools{width:min(720px,96%);height:100%;display:grid;grid-template-columns:1fr 160px;place-items:center}.pm-independent-tools article{width:380px;height:230px;display:grid;grid-template-rows:1fr auto;place-items:center;padding:8px;border:3px solid #4a8590;border-radius:18px;background:rgba(255,255,255,.75)}.pm-independent-tools article .pm-shape-svg{width:260px}.pm-independent-tools article strong{font-size:.72rem}.pm-independent-tools .pm-tool-rack{position:absolute;right:24%;bottom:4px}.pm-independent-tools .pm-tool-rack .pm-tool-ruler{width:130px}.pm-independent-tools .pm-tool-rack .pm-tool-tape{width:100px}.pm-independent-sum{position:relative;width:430px;height:260px;display:grid;place-items:center}.pm-independent-sum .pm-shape-svg{width:100%;height:100%}.pm-independent-sum>span{position:absolute;padding:4px 6px;border:2px solid #2f7985;border-radius:8px;background:#fff;font-size:.65rem;font-weight:900}.pm-independent-sum .top{top:7%;left:46%}.pm-independent-sum .right{right:3%;top:45%}.pm-independent-sum .bottom{bottom:7%;left:46%}.pm-independent-sum .left{left:3%;top:45%}.pm-independent-sum strong{position:absolute;padding:7px 10px;border-radius:9px;background:#173f4d;color:#fff}.pm-final-builder{width:min(900px,98%);height:100%;overflow:auto;padding:4px 7px 72px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.pm-builder-row{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;border-radius:13px;background:rgba(255,255,255,.9)}.pm-builder-row>span{min-width:65px;font-weight:950}.pm-builder-row .pm-button,.pm-checklist .pm-button{font-size:.61rem;padding:5px 7px}.pm-builder-preview{position:relative;min-height:160px;display:grid;place-items:center;border:2px dashed #4b8188;border-radius:15px;background:rgba(255,255,255,.67)}.pm-builder-preview .pm-shape-svg{width:180px;height:145px}.pm-length-cloud{position:absolute;inset:6px;display:flex;align-items:flex-start;justify-content:space-around;pointer-events:none}.pm-length-cloud span{padding:3px 5px;border-radius:7px;background:#173f4d;color:#fff;font-size:.56rem;font-weight:900}.pm-checklist{display:grid;grid-template-columns:1fr 1fr;gap:5px}.pm-final-builder label{display:grid;gap:4px;padding:7px;border-radius:13px;background:#fff;font-size:.7rem;font-weight:900}.pm-final-builder textarea{min-height:72px;resize:vertical;border:2px solid #377d88;border-radius:9px;padding:7px;font:inherit}.pm-finish{max-width:720px;padding:22px;border:3px solid rgba(255,255,255,.82);border-radius:23px;background:rgba(17,75,75,.91);color:#fff;text-align:center;box-shadow:0 18px 36px rgba(0,0,0,.25)}.pm-finish span{color:#ffdb68;font-weight:950}.pm-finish h2{margin:7px 0}.pm-finish p{margin:5px 0}@keyframes pm-dash{to{stroke-dashoffset:-26px}}@media(prefers-reduced-motion:reduce){.pm-lap-segment.active,.pm-triangle-measure .edge.active,.pm-tape-lap .lap.active,.pm-digital-measure .edge.active{animation:none}.pm-tool{transition-duration:.01ms!important}}
@media(max-width:720px){.pm-scene{height:330px;min-height:330px}.pm-scene>header{top:5px;left:6px;right:6px;gap:5px}.pm-scene>header span{padding:4px 5px;font-size:.48rem}.pm-scene>header h1{max-width:80%;padding:4px 6px;font-size:.64rem}.pm-workspace{inset:40px 3px 3px}.pm-button{padding:7px 9px;font-size:.67rem}.pm-help{font-size:.64rem}.pm-lap{grid-template-columns:1fr 105px}.pm-lap>.pm-shape-svg{width:280px}.pm-boundary-choice article{height:210px}.pm-boundary-choice .pm-shape-svg{width:180px}.pm-tool-identify,.pm-situation{grid-template-columns:1fr 115px}.pm-tool-stage{height:210px}.pm-tool-stage .pm-tool-ruler{width:300px}.pm-tool-stage .pm-tool-tape{width:185px}.pm-tool-stage .pm-tool-compass{height:190px;width:145px}.pm-case-icon{width:300px;height:205px}.pm-case-icon .pm-shape-svg{width:220px}.pm-estimate{grid-template-columns:125px 1fr;gap:7px}.pm-estimate-edge{width:270px}.pm-zero-bench{grid-template-rows:90px 110px 36px}.pm-edge-to-measure{width:280px}.pm-ruler-track{width:380px}.pm-ruler-track .pm-tool-ruler{width:340px}.pm-triangle-measure{grid-template-columns:1fr 105px}.pm-triangle-measure>svg{width:285px}.pm-triangle-measure>.pm-tool-ruler{width:170px}.pm-unfold{grid-template-columns:140px 1fr}.pm-origin-shape{width:135px}.pm-courtyard{grid-template-columns:1fr 150px}.pm-floor-square{width:245px;height:220px}.pm-tape-lap{grid-template-columns:1fr 105px}.pm-tape-lap .pm-floor-square{width:260px;height:225px}.pm-tape-lap>.pm-tool-tape{width:125px}.pm-compass-station>.pm-tool-compass{height:180px;width:125px}.pm-slanted-edge{width:220px}.pm-transfer-ruler{width:240px}.pm-transfer-ruler .pm-tool-ruler{width:220px}.pm-digital-lab{grid-template-columns:1fr 125px}.pm-monitor{width:330px;height:220px}.pm-digital-measure>svg{width:340px}.pm-independent-tools{grid-template-columns:1fr 110px}.pm-independent-tools article{width:290px;height:210px}.pm-independent-tools article .pm-shape-svg{width:220px}.pm-independent-tools .pm-tool-rack{right:18%;bottom:1px}.pm-independent-sum{width:340px}.pm-final-builder{font-size:.62rem}.pm-builder-preview{min-height:135px}.pm-final-builder textarea{min-height:58px}.pm-finish{padding:15px}.pm-finish h2{font-size:1rem}.pm-finish p{font-size:.73rem}}
@media(max-width:420px){.pm-boundary-choice{gap:5px}.pm-boundary-choice article{height:190px;padding:4px}.pm-boundary-choice .pm-shape-svg{width:145px}.pm-tool-stage{height:190px}.pm-case-icon{width:250px}.pm-estimate-edge{width:220px}.pm-ruler-track{width:330px}.pm-ruler-track .pm-tool-ruler{width:305px}.pm-triangle-measure>svg{width:240px}.pm-unfold{grid-template-columns:110px 1fr}.pm-origin-shape{width:105px}.pm-floor-square{width:210px}.pm-tape-lap .pm-floor-square{width:220px}.pm-slanted-edge{width:190px}.pm-transfer-ruler{width:205px}.pm-transfer-ruler .pm-tool-ruler{width:190px}.pm-monitor{width:270px}.pm-digital-measure>svg{width:290px}.pm-independent-tools article{width:245px}.pm-independent-sum{width:295px}.pm-final-builder{grid-template-columns:1fr}.pm-builder-row,.pm-builder-preview,.pm-checklist,.pm-final-builder label{grid-column:1}.pm-builder-preview{min-height:118px}}
@container (max-width:640px){.pm-workspace>*{box-sizing:border-box;min-width:0;max-width:100%}.pm-lap,.pm-boundary-choice,.pm-tool-identify,.pm-situation,.pm-estimate,.pm-zero-bench,.pm-triangle-measure,.pm-unfold,.pm-courtyard,.pm-tape-lap,.pm-compass-station,.pm-digital-lab,.pm-digital-measure,.pm-independent-tools,.pm-independent-sum,.pm-final-builder{width:100%;min-width:0;max-width:100%}.pm-lap{grid-template-columns:minmax(0,1fr) 100px}.pm-lap>.pm-shape-svg{width:min(280px,66cqw)}.pm-lap-ledger span{min-width:0;font-size:.56rem}.pm-boundary-choice article{height:205px;min-width:0}.pm-boundary-choice .pm-shape-svg{width:min(175px,39cqw)}.pm-tool-identify,.pm-situation{grid-template-columns:minmax(0,1fr) 110px}.pm-tool-stage,.pm-case-icon{width:100%;min-width:0}.pm-tool-stage .pm-tool-ruler{width:min(300px,67cqw)}.pm-tool-stage .pm-tool-tape{width:min(180px,43cqw)}.pm-tool-stage .pm-tool-compass{height:185px;width:140px}.pm-tool-progress span{font-size:.54rem}.pm-case-icon .pm-shape-svg{width:min(220px,53cqw)}.pm-estimate{grid-template-columns:120px minmax(0,1fr)}.pm-estimate-edge{width:min(270px,62cqw)}.pm-ruler-track{width:min(385px,89cqw)}.pm-ruler-track .pm-tool-ruler{width:min(340px,79cqw)}.pm-triangle-measure{grid-template-columns:minmax(0,1fr) 100px}.pm-triangle-measure>svg{width:min(285px,66cqw)}.pm-triangle-measure>.pm-tool-ruler{width:min(170px,39cqw)}.pm-unfold{grid-template-columns:120px minmax(0,1fr)}.pm-origin-shape{width:115px}.pm-strip i{font-size:.55rem}.pm-courtyard{grid-template-columns:minmax(0,1fr) 135px}.pm-floor-square{width:min(235px,55cqw)}.pm-tape-lap{grid-template-columns:minmax(0,1fr) 100px}.pm-tape-lap .pm-floor-square{width:min(245px,57cqw)}.pm-tape-lap>.pm-tool-tape{width:115px}.pm-compass-station{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pm-slanted-edge{width:min(210px,48cqw)}.pm-transfer-ruler{width:min(225px,50cqw)}.pm-transfer-ruler .pm-tool-ruler{width:min(205px,46cqw)}.pm-compass-station>.pm-tool-compass{height:170px;width:115px}.pm-digital-lab{grid-template-columns:minmax(0,1fr) 115px}.pm-monitor{width:min(315px,73cqw)}.pm-monitor .pm-digital-probe{width:105px}.pm-digital-measure>svg{width:min(330px,77cqw)}.pm-independent-tools{grid-template-columns:minmax(0,1fr) 100px}.pm-independent-tools article{width:min(280px,65cqw)}.pm-independent-tools article .pm-shape-svg{width:min(205px,48cqw)}.pm-independent-sum{width:min(330px,77cqw)}}
.pm-button:hover,.pm-button:focus-visible{outline:3px solid #f28b30;outline-offset:2px;box-shadow:0 0 0 5px rgba(242,139,48,.24),0 4px 0 rgba(23,64,74,.14)}

/* grade4-estimate-area.css */
.grade4-ea-board{--ea-ink:#173f4b;--ea-teal:#27a9a2;--ea-coral:#f47755;--ea-gold:#f5b83d;--ea-cream:#fff9e9;container-type:inline-size;overflow:hidden;background:#eaf8f4;color:var(--ea-ink)}
.ea-scene{position:relative;min-height:100%;padding:clamp(12px,2.6cqw,28px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(10px,2cqw,20px);isolation:isolate}
.ea-scene-pattern{position:absolute;inset:0;z-index:-2;opacity:.34;background:radial-gradient(circle at 15% 18%,#fff 0 2px,transparent 3px),linear-gradient(135deg,rgba(255,255,255,.65),transparent 55%)}
.ea-scene header{z-index:50;display:flex;align-items:end;justify-content:space-between;gap:14px;border-bottom:2px solid rgba(23,63,75,.14);padding-bottom:9px}.ea-scene header span{font:800 .72rem/1.1 system-ui;letter-spacing:.14em;color:#a8402b}.ea-scene h1{margin:0;max-width:72%;font:900 clamp(1rem,3cqw,1.55rem)/1.05 system-ui;text-align:right}
.ea-workspace{position:relative;z-index:20;display:grid;place-items:center;min-height:310px}.ea-result{z-index:50;min-height:28px;text-align:center}.ea-result strong{display:inline-block;padding:8px 14px;border-radius:999px;background:#dff7e7;color:#17653c}
.family-discover{background:linear-gradient(145deg,#dff7ec,#fff3d9)}.family-estimate{background:linear-gradient(160deg,#fff0c8,#ffe0d9)}.family-mosaic{background:linear-gradient(145deg,#e5f8f7,#dfe9ff)}.family-compare{background:linear-gradient(145deg,#fff4dc,#e5f3ff)}.family-parquet{background:linear-gradient(145deg,#f5e0bd,#d3f1e5)}.family-glass{background:linear-gradient(145deg,#e9e1ff,#fff0c9)}.family-garden{background:linear-gradient(145deg,#e3f6d5,#e1f1ff)}.family-studio{background:linear-gradient(145deg,#ffe7d7,#e0f6f2)}
.ea-button,.ea-choices button,.ea-unit-options button,.ea-independent-steps button,.ea-builder-row button{border:2px solid rgba(23,63,75,.18);border-radius:15px;background:#fff;color:var(--ea-ink);font:800 .88rem/1.15 system-ui;padding:11px 15px;cursor:pointer;box-shadow:0 4px 0 rgba(23,63,75,.12);transition:transform .16s ease,box-shadow .16s ease}.ea-button:hover,.ea-button:focus-visible,.ea-choices button:hover,.ea-choices button:focus-visible,.ea-unit-options button:hover,.ea-unit-options button:focus-visible,.ea-builder-row button:hover,.ea-builder-row button:focus-visible{outline:3px solid #f28b30;outline-offset:2px;transform:translateY(-2px);box-shadow:0 6px 0 rgba(23,63,75,.14)}.ea-button.primary{background:#1d827c;color:#fff;border-color:#176b67}.ea-button:disabled{opacity:.5;cursor:not-allowed;transform:none}
.ea-controls,.ea-support-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.ea-help{margin:9px auto 0;max-width:720px;padding:11px;border-radius:14px;background:#fff7dd;text-align:center}.ea-help p{margin:7px}.ea-choices{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.ea-tile{position:relative;z-index:30;display:block;width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(23,63,75,.2));pointer-events:none}.ea-rectangle{width:88px;height:44px}.ea-triangle{width:64px;height:64px}.tile-pop{animation:ea-pop .32s cubic-bezier(.2,1.45,.45,1)}.ea-tile.double{position:absolute;inset:4px 0 0 5px;z-index:35}.ea-tile.mirror{transform:scaleX(-1)}@keyframes ea-pop{from{transform:scale(.2) translateY(-24px);opacity:.2}to{transform:scale(1);opacity:1}}
.ea-interior-scene{width:min(620px,94%);display:grid;place-items:center}.ea-interior-scene svg{width:min(510px,90%);filter:drop-shadow(0 12px 12px rgba(23,63,75,.13))}.ea-bank{fill:#f3c779}.ea-water{fill:#65d0d2}.ea-boundary{fill:none;stroke:#176d73;stroke-width:5;stroke-dasharray:10 6}.ea-region-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.ea-cover-options{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:14px;width:min(760px,96%)}.ea-cover-card{border:0;border-radius:20px;padding:14px;background:#fff;cursor:pointer}.ea-cover-card>span{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;aspect-ratio:4/3;padding:7px;background:#d5eef1;border:3px solid #327983}.ea-cover-card i{display:block;background:#35b7ad;border-radius:4px}.ea-cover-card i.missing{visibility:hidden}.ea-cover-card i.stacked{outline:6px double #e94f37;transform:translate(6px,-5px)}.ea-cover-card b{display:block;margin-top:9px}
.ea-unit-basket{display:grid;gap:18px;width:min(720px,96%)}.ea-target-swatch{text-align:center;padding:16px;border:3px dashed #218a84;border-radius:22px;background:rgba(255,255,255,.66);font-weight:900}.ea-unit-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ea-unit-options button{min-height:130px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px}.ea-unit-options b{flex-basis:100%}.ea-unit-options i{width:42px;height:42px;background:#c7d0d3;border-radius:50%}.ea-unit-options i+ i{width:58px;height:34px;border-radius:5px}
.ea-estimate-ticket{width:min(600px,94%);display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;padding:20px;border:3px dashed #d46b48;border-radius:26px;background:#fff8e8;box-shadow:0 14px 30px rgba(113,75,30,.12)}.ea-preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;filter:blur(2.7px);opacity:.65}.ea-preview-grid i{aspect-ratio:1;background:#4cb8ad;border-radius:5px}.ea-estimate-ticket label,.ea-independent-lab label,.ea-final-builder label{display:grid;gap:6px;font-weight:900}.ea-estimate-ticket input,.ea-independent-lab input,.ea-final-builder input,.ea-final-builder textarea{border:2px solid #4e7d86;border-radius:12px;background:#fff;padding:10px;font:800 1rem system-ui}.ea-estimate-ticket p{grid-column:1/-1;margin:0;text-align:center}
.ea-mosaic-bench,.ea-error-bench,.ea-gap-bench,.ea-big-unit-lab,.ea-parquet-room{width:min(760px,96%);display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:22px;align-items:center}.ea-grid{display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr);gap:4px;aspect-ratio:var(--cols)/var(--rows);padding:8px;background:#e8d4aa;border:8px solid #7d5635;border-radius:18px;box-shadow:inset 0 0 0 3px #f8e8c8,0 12px 20px rgba(23,63,75,.16)}.ea-cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0;border:2px dashed rgba(23,63,75,.27);border-radius:8px;background:rgba(255,255,255,.64);padding:2px;overflow:visible}.ea-cell.filled{border-style:solid;border-color:#2b918b;background:#d7f4f1}.ea-cell.gap{background:repeating-linear-gradient(135deg,#fff,#fff 7px,#d7dde0 8px,#d7dde0 13px);animation:ea-gap 1.2s ease-in-out infinite}.ea-cell.overlap{outline:6px double #e84931;z-index:38}.ea-cell.outside{visibility:hidden}.ea-cell.painted{background:#69bf65;color:#fff;font-size:1.4rem}@keyframes ea-gap{50%{box-shadow:inset 0 0 0 7px rgba(245,184,61,.55)}}.ea-cell .ea-tile{width:min(64px,90%);height:min(64px,90%)}.ea-cell .ea-rectangle{width:min(105px,96%);height:min(54px,86%)}.ea-palette{display:grid;place-items:center;gap:8px;border:2px solid #1e827c;border-radius:20px;background:#fff;padding:14px;cursor:pointer}.ea-palette .ea-tile{width:74px;height:74px}.ea-palette .ea-rectangle{width:125px;height:64px}.ea-palette b{font-size:1.1rem}.ea-error-bench p,.ea-gap-bench p{font-weight:900;text-align:center}.ea-big-unit-lab small{grid-column:1/-1;text-align:center;font-weight:800}.ea-grid.large-units .ea-cell .ea-rectangle{width:96%;height:88%}
.ea-compare-dock{width:min(720px,96%);display:grid;grid-template-columns:120px 1fr 120px;align-items:center;gap:15px}.ea-compare-dock article,.ea-closeness article{padding:14px;text-align:center;border-radius:18px;background:#fff;box-shadow:0 8px 16px rgba(23,63,75,.12)}.ea-compare-dock article b,.ea-closeness article b{display:block;font-size:2rem}.ea-number-line{position:relative;height:24px;border-radius:99px;background:linear-gradient(90deg,#ffe0bc,#84d5cd)}.ea-number-line i{position:absolute;left:var(--p);top:-19px;transform:translateX(-50%);font-style:normal;font-weight:900}.ea-number-line i:after{content:'';display:block;width:4px;height:28px;margin:auto;background:#244f57}.ea-compare-dock p{grid-column:1/-1;text-align:center}.ea-surface-balance{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;width:min(720px,96%)}.ea-surface-balance article{text-align:center}.ea-mini{display:grid;gap:3px;padding:8px;border:5px solid #735236;border-radius:14px;background:#f4e4bd;aspect-ratio:4/3}.ea-mini.small{grid-template-columns:repeat(4,1fr)}.ea-mini.big{grid-template-columns:repeat(3,1fr)}.ea-mini i{background:#35afa7;border-radius:4px}.ea-mini.big i{background:#f4b34b}.ea-equals{font-weight:1000;color:#a84630}
.ea-parquet-floor .ea-grid{background:#d4b589}.ea-glass-lab{width:min(700px,95%);display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:24px;align-items:center}.ea-triangle-window{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:18px;border:10px solid #543c79;border-radius:24px;background:linear-gradient(135deg,#b6e1ff,#e6d4ff);box-shadow:inset 0 0 25px rgba(255,255,255,.85)}.ea-triangle-window>i{display:grid;place-items:center;aspect-ratio:1;border:2px dashed #745d99;clip-path:polygon(0 0,100% 100%,0 100%);background:rgba(255,255,255,.45)}.ea-triangle-window>i.turn-1{transform:scaleX(-1)}.ea-triangle-window>i.turn-1 .ea-tile{transform:scaleX(-1)}.ea-glass-tool{display:grid;place-items:center;gap:12px}.ea-glass-tool>.ea-tile{width:105px;height:105px;transform:rotate(var(--turn));transition:transform .25s}.ea-glass-tool div{display:flex;gap:8px}.ea-half-workshop{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:25px;width:min(700px,95%);align-items:center}.ea-half-pairs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.ea-half-pairs button{border:2px dashed #6b52a0;border-radius:14px;background:#fff;padding:8px;cursor:pointer}.ea-half-pairs button.used{opacity:.28;transform:scale(.78)}.ea-half-pairs span{display:block}.ea-whole-meter{text-align:center;padding:20px;border-radius:50%;background:#fff}.ea-whole-meter b{display:block;font-size:2.2rem}
.ea-paper-garden{width:min(650px,95%);display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:20px;align-items:center}.ea-paper-garden .ea-grid{aspect-ratio:1;background-color:#fff;background-image:linear-gradient(#cfd9dd 1px,transparent 1px),linear-gradient(90deg,#cfd9dd 1px,transparent 1px);background-size:24px 24px;border-color:#49836a}.ea-paint-count{text-align:center;padding:17px;border-radius:20px;background:#fff}.ea-paint-count b{display:block;font-size:2rem}.ea-closeness{display:grid;grid-template-columns:70px 1fr 1fr;gap:16px;align-items:center;width:min(590px,92%)}.ea-thermometer{position:relative;width:48px;height:210px;border:5px solid #416875;border-radius:30px;background:#fff;overflow:hidden}.ea-thermometer i{position:absolute;inset:auto 5px 5px;display:block;height:var(--level);border-radius:20px;background:linear-gradient(#59c3a9,#f3c342,#ef7756)}.ea-closeness p{grid-column:2/-1}
.ea-independent-lab,.ea-final-builder{width:min(760px,96%);display:grid;gap:12px;grid-template-columns:1fr 1fr}.ea-independent-steps,.ea-builder-row{display:flex;gap:8px;flex-wrap:wrap}.ea-independent-steps{grid-column:1/-1}.ea-independent-steps button,.ea-builder-row button{display:flex;align-items:center;gap:6px}.ea-independent-steps .ea-tile,.ea-builder-row .ea-tile{width:36px;height:36px}.ea-independent-steps .ea-rectangle{width:64px}.ea-independent-lab>label,.ea-final-builder>label{align-self:center}.ea-independent-lab>.ea-grid,.ea-final-builder>.ea-grid{grid-column:1/2}.ea-independent-lab>.ea-palette,.ea-final-builder>.ea-palette{grid-column:2/3}.ea-independent-lab>.ea-choices,.ea-final-builder>.ea-choices{grid-column:1/-1}.ea-independent-steps button.selected,.ea-builder-row button.selected{border-color:#1d827c;background:#dff7ef}.ea-final-builder .ea-builder-row{grid-column:1/-1}.ea-final-builder .ea-empty-stage{grid-column:1/-1;display:grid;place-items:center;min-height:120px;border:3px dashed #bf7c61;border-radius:20px;background:rgba(255,255,255,.55);font-weight:900}.ea-explain{grid-column:1/-1}.ea-explain textarea{min-height:70px;resize:vertical}.ea-final-builder>[data-ea-publish]{grid-column:1/-1;justify-self:center}.ea-estimate-entry{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.ea-estimate-entry label{display:grid;gap:5px;font-weight:900}.ea-estimate-entry .ea-button{padding:9px 11px}
.ea-alt-card,.ea-alt-rows,.ea-alt-scale,.ea-alt-halves,.ea-alt-cycle{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.ea-alt-card i{width:90px;height:60px;border:5px solid #347b7d;background:#8ed8cf}.ea-alt-rows i{width:54px;height:18px;background:#39afa7;border-radius:4px}.ea-alt-scale b{padding:8px;border-radius:10px;background:#fff}.ea-alt-halves i{width:42px;height:42px;background:#8059c8;clip-path:polygon(0 0,100% 100%,0 100%)}.ea-alt-halves i+ i{transform:scaleX(-1)}.ea-alt-cycle b{padding:6px 9px;border-radius:9px;background:#fff}
.ea-grid.large-units{aspect-ratio:calc(var(--cols) * 2)/var(--rows)}.ea-final-builder>.ea-triangle-window{grid-column:1/2}.ea-builder-row button:disabled{opacity:.38;cursor:not-allowed}.ea-glass-tool div{flex-wrap:wrap;justify-content:center}.ea-palette[draggable="true"]{cursor:grab;touch-action:manipulation}.ea-palette.dragging{cursor:grabbing;opacity:.72;transform:scale(.96)}.ea-grid.drag-ready,.ea-triangle-window.drag-ready{outline:6px solid #ff8a2b;outline-offset:4px}
.ea-asset-gate{display:grid;place-items:center;min-height:340px;text-align:center}.ea-asset-gate h1{margin:0}.grade4-ea-board button{touch-action:manipulation}.grade4-ea-board img{max-width:100%}
@media(max-width:820px){.ea-scene{padding:10px}.ea-scene header{align-items:start}.ea-scene h1{max-width:66%;font-size:1rem}.ea-workspace{min-height:300px}.ea-cover-options{grid-template-columns:1fr 1fr}.ea-cover-card:last-child{grid-column:1/-1}.ea-mosaic-bench,.ea-error-bench,.ea-gap-bench,.ea-big-unit-lab,.ea-parquet-room,.ea-glass-lab,.ea-half-workshop,.ea-paper-garden{grid-template-columns:minmax(0,1fr) 125px;gap:10px}.ea-palette{padding:8px;font-size:.72rem}.ea-palette .ea-tile{width:50px;height:50px}.ea-palette .ea-rectangle{width:84px;height:43px}.ea-grid{padding:5px;border-width:5px}.ea-cell .ea-tile{width:90%;height:90%}.ea-unit-options{gap:6px}.ea-unit-options button{min-height:100px;padding:7px}.ea-unit-options .ea-tile{width:42px;height:42px}.ea-estimate-ticket{padding:13px}.ea-compare-dock{grid-template-columns:84px 1fr 84px}.ea-surface-balance{gap:7px}.ea-equals{font-size:.68rem}.ea-triangle-window{padding:8px;border-width:6px}.ea-glass-tool>.ea-tile{width:72px;height:72px}.ea-independent-lab,.ea-final-builder{width:100%;gap:8px}.ea-final-builder textarea{min-height:60px}}
@media(max-width:430px){.ea-scene{min-height:100%;gap:7px}.ea-scene header span{font-size:.55rem}.ea-workspace{min-height:270px}.ea-cover-options{gap:7px}.ea-cover-card{padding:7px}.ea-cover-card b{font-size:.7rem}.ea-unit-options button{font-size:.65rem}.ea-estimate-ticket{grid-template-columns:110px 1fr}.ea-mosaic-bench,.ea-error-bench,.ea-gap-bench,.ea-big-unit-lab,.ea-parquet-room{grid-template-columns:minmax(0,1fr) 105px}.ea-grid{gap:2px}.ea-cell{border-radius:4px}.ea-palette span{font-size:.62rem}.ea-compare-dock{grid-template-columns:64px 1fr 64px;gap:6px}.ea-compare-dock article{padding:7px}.ea-compare-dock article b{font-size:1.35rem}.ea-surface-balance article b{font-size:.67rem}.ea-half-pairs{grid-template-columns:repeat(2,1fr)}.ea-paper-garden{grid-template-columns:minmax(0,1fr) 90px}.ea-paint-count{padding:8px;font-size:.66rem}.ea-closeness{grid-template-columns:52px 1fr 1fr}.ea-thermometer{height:150px;width:38px}.ea-independent-lab,.ea-final-builder{grid-template-columns:minmax(0,1fr) 105px}.ea-independent-steps button,.ea-builder-row button{padding:7px;font-size:.66rem}.ea-final-builder label{font-size:.72rem}}

/* grade4-angle-as-turn.css */
.grade4-at-board{--at-ink:#193e52;--at-blue:#238fa0;--at-teal:#27a999;--at-coral:#ef765d;--at-gold:#f4bd45;container-type:inline-size;overflow:hidden;background:#e8f7f5;color:var(--at-ink)}
.at-scene{position:relative;min-height:100%;padding:clamp(12px,2.5cqw,28px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(9px,1.8cqw,18px);isolation:isolate}.at-scene:before{content:"";position:absolute;inset:0;z-index:-2;opacity:.32;background:radial-gradient(circle at 16% 20%,#fff 0 3px,transparent 4px),linear-gradient(145deg,rgba(255,255,255,.8),transparent 58%)}
.at-scene header{position:relative;z-index:60;display:flex;align-items:end;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:2px solid rgba(25,62,82,.14)}.at-scene header span{font:850 .7rem/1.1 system-ui;letter-spacing:.14em;color:#a2412e}.at-scene h1{max-width:72%;margin:0;font:950 clamp(1rem,3cqw,1.55rem)/1.05 system-ui;text-align:right}.at-workspace{position:relative;z-index:20;display:grid;place-items:center;min-height:310px}.at-result{position:relative;z-index:60;min-height:28px;text-align:center}.at-result strong{display:inline-block;padding:8px 14px;border-radius:999px;background:#dcf6e6;color:#17613a}
.at-family-door{background:linear-gradient(145deg,#fff0ca,#d7eef4)}.at-family-arm{background:linear-gradient(145deg,#e0f5f1,#fce0d8)}.at-family-clock{background:linear-gradient(145deg,#e4e6ff,#fff1c9)}.at-family-lab{background:linear-gradient(145deg,#dff4ff,#e8f6da)}.at-family-transfer{background:linear-gradient(145deg,#fce5cf,#ddf6f0)}.at-family-studio{background:linear-gradient(145deg,#eee0ff,#fff0d7)}
.at-button,.at-choices button,.at-turn-controls button,.at-object-row button,.at-builder-row button{border:2px solid rgba(25,62,82,.18);border-radius:15px;background:#fff;color:var(--at-ink);padding:11px 15px;font:850 .88rem/1.15 system-ui;box-shadow:0 4px 0 rgba(25,62,82,.12);cursor:pointer;touch-action:manipulation;transition:.16s}.at-button:hover,.at-button:focus-visible,.at-choices button:hover,.at-choices button:focus-visible,.at-turn-controls button:hover,.at-turn-controls button:focus-visible,.at-builder-row button:hover,.at-builder-row button:focus-visible{outline:3px solid #f28b30;outline-offset:2px;transform:translateY(-2px)}.at-button.primary{background:#167d79;color:#fff;border-color:#126865}.at-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.at-controls,.at-support-actions,.at-choices,.at-turn-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.at-choices{margin-top:12px}.at-help{max-width:720px;margin:9px auto 0;padding:11px;border-radius:14px;background:#fff7db;text-align:center}.at-help p{margin:6px}.at-asset-gate{display:grid;place-items:center;min-height:340px;text-align:center}
.at-door-lab{position:relative;width:min(680px,95%);height:330px;border:8px solid #75523c;border-radius:26px;background:linear-gradient(#d7eff4 0 74%,#c89b69 75%);overflow:hidden;box-shadow:inset 0 0 0 4px #ffe6b7,0 14px 24px rgba(25,62,82,.16)}.at-door-lab:after{content:"";position:absolute;left:13%;top:9%;bottom:8%;width:8px;border-radius:9px;background:#6a4938;z-index:12}.at-door-wrap{position:absolute;left:calc(13% + 4px);top:50%;width:clamp(86px,18cqw,150px);height:240px;transform:translateY(-50%);transform-origin:0 50%;rotate:var(--turn,0deg);transition:rotate .55s cubic-bezier(.16,.82,.25,1);z-index:30;filter:drop-shadow(9px 12px 7px rgba(44,39,35,.22))}.at-door{width:100%;height:100%;object-fit:fill;display:block;pointer-events:none}.at-door-ghost{opacity:.2;filter:saturate(.2);z-index:16}.at-door-target{position:absolute;left:calc(13% + 4px);top:50%;width:clamp(86px,18cqw,150px);height:240px;border:5px dashed #ef765d;border-left:0;border-radius:0 18px 18px 0;transform:translateY(-50%);transform-origin:0 50%;rotate:var(--target,55deg);z-index:18;pointer-events:none}.at-pivot{position:absolute;left:13%;top:50%;z-index:55;width:34px;height:34px;translate:-50% -50%;border:6px solid #fff;border-radius:50%;background:var(--at-coral);box-shadow:0 0 0 5px rgba(239,118,93,.25),0 5px 8px rgba(25,62,82,.25);cursor:pointer}.at-door-tip{position:absolute;right:7%;top:48%;z-index:24;width:45px;height:45px;border:4px solid #fff;border-radius:50%;background:#61bcb4;cursor:pointer}.at-wall-pick{position:absolute;left:8%;top:12%;z-index:24;width:45px;height:45px;border:4px solid #fff;border-radius:50%;background:#f4bd45;cursor:pointer}.at-trail{position:absolute;left:13%;top:50%;z-index:22;width:230px;height:150px;border:6px solid transparent;border-top-color:#f4bd45;border-radius:50%;transform-origin:0 0;rotate:-10deg;pointer-events:none}.at-door-note{position:absolute;right:4%;bottom:4%;z-index:55;padding:8px 11px;border-radius:12px;background:#ffffffdc;font-weight:850}
.at-arm-lab{position:relative;width:min(700px,95%);height:320px;border-radius:28px;background:linear-gradient(145deg,#fffaf0,#d4efe9);overflow:hidden;box-shadow:inset 0 0 0 4px #fff,0 14px 24px rgba(25,62,82,.13)}.at-body{position:absolute;left:4%;top:50%;width:110px;height:220px;translate:0 -50%;border-radius:55px 55px 24px 24px;background:#f1bd54;z-index:12}.at-arm-wrap{position:absolute;left:15%;top:50%;width:min(72%,480px);height:120px;translate:0 -50%;transform-origin:0 50%;rotate:var(--turn,0deg);transition:rotate .5s cubic-bezier(.16,.82,.25,1);z-index:32;filter:drop-shadow(8px 9px 7px rgba(25,62,82,.18))}.at-arm-wrap img{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}.at-arm-wrap.ghost{opacity:.18;filter:grayscale(1);z-index:18}.at-arm-lab .at-pivot{left:15%}.at-arm-hand-pick{position:absolute;right:4%;top:45%;z-index:45;width:42px;height:42px;border:4px solid #fff;border-radius:50%;background:#57bcb2;cursor:pointer}.at-arm-target{position:absolute;left:15%;top:50%;width:min(72%,480px);height:8px;transform-origin:0 50%;rotate:var(--target,-48deg);background:repeating-linear-gradient(90deg,#ef765d 0 13px,transparent 13px 22px);z-index:21}
.at-clock{position:relative;width:280px;aspect-ratio:1;border:13px solid #5b4a87;border-radius:50%;background:radial-gradient(circle,#fff 0 58%,#f0e8ff 59%);box-shadow:inset 0 0 0 6px #fff,0 14px 26px rgba(25,62,82,.17)}.at-clock-mark{position:absolute;left:50%;top:4%;width:7px;height:12%;border-radius:99px;background:#6984c6;transform-origin:50% 383%;transform:translateX(-50%) rotate(var(--r))}.at-clock-hand{position:absolute;left:50%;top:50%;width:10px;height:37%;border-radius:99px;background:#ef765d;transform-origin:50% 100%;transform:translate(-50%,-100%) rotate(var(--turn));transition:transform .45s ease}.at-clock-hand.short{height:27%;width:13px;background:#24a393}.at-clock .at-pivot{left:50%;top:50%}.at-clock-edge{position:absolute;right:6%;top:46%;width:38px;height:38px;border:4px solid #fff;border-radius:50%;background:#f3bd46;cursor:pointer}.at-position-tags{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(620px,94%)}.at-position-tags button{min-height:80px;border:3px dashed #6d82bf;border-radius:18px;background:#fff;font-weight:900;cursor:pointer}.at-position-tags .selected{border-style:solid;background:#e0f6ef}
.at-clock-hand.ghost{z-index:0;background:#8a9da5;opacity:.22}.at-clock-hand:not(.ghost){z-index:2}
.at-equal-turns{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:min(720px,95%)}.at-mini-turn{position:relative;height:190px;border-radius:22px;background:#fff;overflow:hidden}.at-mini-turn .base,.at-mini-turn .mover{position:absolute;left:18%;top:70%;height:9px;border-radius:99px;transform-origin:0 50%}.at-mini-turn .base{width:68%;background:#bdd0d4}.at-mini-turn .mover{width:var(--len);rotate:-52deg;background:#24a393}.at-mini-turn .dot{position:absolute;left:18%;top:70%;width:24px;height:24px;translate:-50% -50%;border-radius:50%;background:#ef765d;z-index:3}.at-mini-turn b{position:absolute;inset:auto 0 10px;text-align:center}.at-misconception{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:min(700px,94%)}.at-misconception article{padding:16px;border-radius:22px;background:#fff}.at-misconception .path{height:70px;border-bottom:7px dotted #ef765d;border-radius:50%}.at-misconception .turn{height:70px;background:conic-gradient(from 0turn at 10% 90%,#27a999 0 .14turn,transparent .14turn);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}
.at-scissors{position:relative;width:min(560px,92%);height:290px;border-radius:28px;background:#fff3d8;overflow:hidden}.at-scissor-half{position:absolute;left:34%;top:50%;width:52%;height:22px;border-radius:4px 90% 90% 4px;background:#7892a0;transform-origin:0 50%;rotate:var(--turn);transition:rotate .45s ease;z-index:20}.at-scissor-half:after{content:"";position:absolute;left:-118px;top:-37px;width:105px;height:82px;border:17px solid #ef765d;border-radius:50%}.at-scissor-half.fixed{rotate:18deg;background:#4f6e7b;z-index:18}.at-scissor-half.move{rotate:var(--turn,-26deg)}.at-scissors .at-pivot{left:34%}.at-scissor-target{position:absolute;left:34%;top:50%;width:52%;height:8px;transform-origin:0 50%;rotate:-35deg;background:repeating-linear-gradient(90deg,#f4bd45 0 12px,transparent 12px 20px)}
.at-sign{position:relative;width:min(600px,92%);height:300px;border-radius:28px;background:linear-gradient(#d9f0f7 0 75%,#efd2a5 76%);overflow:hidden}.at-sign-post{position:absolute;left:50%;top:8%;width:20px;height:110px;translate:-50% 0;border-radius:12px;background:#5b6c77}.at-sign-board{position:absolute;left:50%;top:43%;width:260px;height:100px;translate:-50% 0;transform-origin:50% 0;rotate:var(--turn,18deg);border:7px solid #714d3b;border-radius:18px;background:#f3bd46;box-shadow:0 10px 13px rgba(25,62,82,.2);transition:rotate .45s ease;cursor:pointer}.at-sign .at-pivot{left:50%;top:43%}.at-sign-ground{position:absolute;left:12%;bottom:9%;width:44px;height:44px;border:4px solid #fff;border-radius:50%;background:#27a999;cursor:pointer}
.at-object-map{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(760px,96%)}.at-object-map button{display:grid;place-items:center;min-height:155px;border:3px solid #c8dce0;border-radius:22px;background:#fff;cursor:pointer}.at-object-map button.done{border-color:#32a86e;background:#e1f6e9}.at-object-map small{font-weight:800}.at-map-object{position:relative;display:block;width:88px;height:68px}.at-map-door i{position:absolute;left:10px;top:4px;width:6px;height:60px;border-radius:5px;background:#75523c}.at-map-door img{position:absolute;left:13px;top:4px;width:42px;height:60px;object-fit:fill;transform-origin:0 50%;rotate:-28deg;filter:drop-shadow(4px 5px 3px rgba(25,62,82,.2))}.at-map-clock{width:66px;height:66px;border:6px solid #5b4a87;border-radius:50%;background:#f2edff}.at-map-clock i,.at-map-clock b{position:absolute;left:50%;top:50%;width:5px;border-radius:6px;transform-origin:50% 100%}.at-map-clock i{height:24px;translate:-50% -100%;rotate:-42deg;background:#ef765d}.at-map-clock b{height:18px;translate:-50% -100%;rotate:28deg;background:#27a999}.at-map-clock em,.at-map-scissors em{position:absolute;left:50%;top:50%;width:12px;height:12px;translate:-50% -50%;border-radius:50%;background:#ef765d}.at-map-scissors i,.at-map-scissors b{position:absolute;left:34%;top:50%;width:55px;height:8px;border-radius:7px 90% 90% 7px;transform-origin:0 50%;background:#607d8b}.at-map-scissors i{rotate:20deg}.at-map-scissors b{rotate:-25deg}.at-map-scissors em{left:34%}.at-direction{position:relative;width:min(590px,92%);height:280px;border-radius:27px;background:#fff;overflow:hidden}.at-direction .base,.at-direction .finish{position:absolute;left:20%;top:72%;width:60%;height:10px;transform-origin:0 50%;border-radius:99px}.at-direction .base{background:#c5d4d8}.at-direction .finish{rotate:-62deg;background:#27a999}.at-direction .arc{position:absolute;left:20%;top:18%;width:210px;height:160px;border:8px solid transparent;border-right-color:#ef765d;border-radius:50%;transform:rotate(32deg)}.at-direction .arc:after{content:"➤";position:absolute;right:-25px;bottom:5px;color:#ef765d;font-size:34px;rotate:75deg}
.at-transfer{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:min(720px,96%)}.at-transfer article{position:relative;min-height:240px;border-radius:24px;background:#fff;overflow:hidden}.at-transfer .simple-door,.at-transfer .simple-hand{position:absolute;left:20%;top:70%;width:62%;height:12px;border-radius:99px;transform-origin:0 50%}.at-transfer .simple-door{background:#d59643;rotate:-44deg}.at-transfer .simple-hand{background:#28a69a;rotate:var(--turn,0deg);transition:rotate .4s ease}.at-transfer .start{position:absolute;left:20%;top:70%;width:62%;border-top:7px dashed #b7c8cd}.at-transfer .center{position:absolute;left:20%;top:70%;width:27px;height:27px;translate:-50% -50%;border-radius:50%;background:#ef765d}.at-transfer article b{position:absolute;inset:12px 0 auto;text-align:center}
.at-final-builder{display:grid;grid-template-columns:1fr 1fr;gap:11px;width:min(760px,96%)}.at-builder-row{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.at-builder-row button.selected{border-color:#167d79;background:#dcf6ef}.at-final-preview{grid-column:1/-1;position:relative;min-height:190px;border:3px dashed #7f76ac;border-radius:22px;background:#ffffffb9;overflow:hidden}.at-final-preview .at-transfer{width:100%;height:100%;grid-template-columns:1fr}.at-final-preview .at-transfer article{min-height:184px}.at-final-builder label{display:grid;gap:5px;font-weight:850}.at-final-builder textarea{grid-column:1/-1;min-height:70px;border:2px solid #526f7c;border-radius:12px;padding:10px;font:800 .95rem system-ui;resize:vertical}.at-final-builder>[data-at-publish]{grid-column:1/-1;justify-self:center}.at-alt-model{display:grid;place-items:center;min-height:92px}.at-alt-model>span{position:relative;display:block;width:170px;height:78px}.at-alt-model i,.at-alt-model b,.at-alt-model em,.at-alt-model strong{position:absolute;display:block}.at-alt-model i,.at-alt-model b{left:26px;top:55px;width:116px;height:8px;border-radius:99px;transform-origin:0 50%}.at-alt-model i{background:#b7c8cd}.at-alt-model b{rotate:-42deg;background:#27a999}.at-alt-model em{left:17px;top:46px;width:24px;height:24px;border-radius:50%;background:#ef765d}.at-alt-hinge:before{content:"";position:absolute;left:21px;top:12px;width:8px;height:54px;border-radius:8px;background:#75523c}.at-alt-paper:after{content:"";position:absolute;left:26px;top:19px;width:95px;height:48px;border:3px dashed #ef765d;border-left:0;transform-origin:0 75%;rotate:-20deg}.at-alt-opening:after,.at-alt-fan:after{content:"";position:absolute;left:26px;top:7px;width:108px;height:58px;background:conic-gradient(from .75turn at 0 100%,rgba(244,189,69,.58) 0 .16turn,transparent .16turn);border-radius:0 100% 0 0}.at-alt-shoulder:before{content:"";position:absolute;left:3px;top:19px;width:42px;height:56px;border-radius:23px;background:#f1bd54}.at-alt-clock-center{width:78px!important;height:78px!important;border:7px solid #5b4a87;border-radius:50%;background:#fff}.at-alt-clock-center i,.at-alt-clock-center b{left:50%;top:50%;width:5px;height:29px;translate:-50% -100%}.at-alt-clock-center em{left:50%;top:50%;translate:-50% -50%}.at-alt-before-after i{border-top:7px dashed #9aaeb5;background:transparent}.at-alt-before-after b{rotate:-55deg}.at-alt-equal-arms strong,.at-alt-two-lengths strong{left:26px;top:55px;width:82px;height:8px;border-radius:99px;transform-origin:0 50%;rotate:-42deg;background:#f4bd45}.at-alt-path-turn:after{content:"uç yolu";position:absolute;right:-2px;top:2px;padding:4px 7px;border-radius:9px;background:#fff;color:#a2412e;font:800 .65rem system-ui}.at-alt-split-pin i,.at-alt-split-pin b{left:35px;width:104px}.at-alt-split-pin i{rotate:18deg}.at-alt-split-pin b{rotate:-30deg}.at-alt-sign-pin:after{content:"";position:absolute;left:26px;top:13px;width:112px;height:38px;border:5px solid #714d3b;border-radius:9px;background:#f3bd46;transform-origin:50% 100%;rotate:12deg}.at-alt-map{display:flex!important;align-items:center;justify-content:center;gap:5px;width:230px!important}.at-alt-map .at-map-object{scale:.72}.at-alt-direction:after{content:"➤";position:absolute;left:113px;top:5px;color:#ef765d;font-size:28px;rotate:-20deg}.at-alt-overlay i{background:#d59643}.at-alt-overlay b{background:#27a999;opacity:.75}.at-alt-target:after{content:"";position:absolute;left:26px;top:55px;width:116px;border-top:6px dashed #ef765d;transform-origin:0 50%;rotate:-42deg}.at-alt-proof:after{content:"merkez · başlangıç · bitiş";position:absolute;inset:2px 0 auto;text-align:center;color:#5b4a87;font:900 .65rem system-ui;letter-spacing:.03em}
.at-narrating .at-door-wrap:not(.at-door-ghost),.at-narrating .at-arm-wrap:not(.ghost),.at-narrating .at-sign-board{animation:at-breathe 1.4s ease-in-out infinite alternate}@keyframes at-breathe{to{filter:drop-shadow(0 0 13px rgba(244,189,69,.9));transform:scale(1.02)}}
@media(max-width:820px){.at-scene{padding:10px}.at-scene header{align-items:start}.at-scene h1{max-width:66%;font-size:1rem}.at-workspace{min-height:300px}.at-door-lab,.at-arm-lab{height:300px}.at-door-wrap,.at-door-target{height:210px}.at-arm-wrap{width:76%;height:94px}.at-equal-turns,.at-transfer{gap:8px}.at-object-map{gap:7px}.at-object-map button{min-height:125px}.at-final-builder{width:100%}}
@media(max-width:430px){.at-scene{gap:6px}.at-scene header span{font-size:.54rem}.at-workspace{min-height:270px}.at-door-lab,.at-arm-lab{height:270px}.at-door-wrap,.at-door-target{height:185px;width:78px}.at-door-lab:after{left:10%}.at-door-wrap,.at-door-target{left:calc(10% + 3px)}.at-door-lab .at-pivot{left:10%}.at-trail{left:10%;width:180px}.at-arm-wrap{left:17%;width:78%;height:78px}.at-arm-lab .at-pivot,.at-arm-target{left:17%}.at-body{width:75px;height:175px}.at-clock{width:225px}.at-equal-turns{grid-template-columns:1fr}.at-mini-turn{height:115px}.at-misconception{gap:7px}.at-misconception article{padding:9px;font-size:.72rem}.at-object-map button{min-height:105px;font-size:.72rem}.at-object-map .icon{font-size:2.1rem}.at-transfer article{min-height:190px}.at-final-builder{grid-template-columns:1fr}.at-final-builder>*{grid-column:1!important}}
@media(prefers-reduced-motion:reduce){.grade4-at-board *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* grade4-standard-angle-need.css */
.grade4-san-shell{--san-ink:#20304a;--san-blue:#3767d6;--san-cyan:#63d9d0;--san-orange:#ffad57;--san-paper:#fffaf0}.grade4-san-board{background:linear-gradient(145deg,#f4fbff,#fff9ef);color:var(--san-ink);min-height:0}.san-scene{min-height:100%;padding:clamp(12px,2.4vw,28px);box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;overflow:hidden}.san-scene header{text-align:center}.san-scene header span{display:inline-block;color:#246071;font-size:12px;font-weight:900;letter-spacing:.13em}.san-scene header h1{margin:4px auto 0;max-width:900px;font-size:clamp(20px,3vw,34px);line-height:1.08}.san-workspace{min-height:0;display:grid;place-items:center;align-content:center;gap:14px;position:relative}.san-result{text-align:center;color:#17684e;min-height:22px}.san-result strong{display:inline-block;background:#e5fff1;border:2px solid #70d3a4;border-radius:999px;padding:7px 14px}.san-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px}.san-button,.san-choices button{min-height:46px;border:2px solid #bfd1ed;background:#fff;color:#1d3557;border-radius:15px;padding:10px 16px;font:800 15px/1.2 system-ui;box-shadow:0 5px 0 #dce8f7;cursor:pointer;touch-action:manipulation}.san-button:hover,.san-choices button:hover{transform:translateY(-1px);border-color:#5484dd}.san-button.primary{background:#315fca;color:#fff;border-color:#254da9;box-shadow:0 5px 0 #173e98}.san-choices{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.san-support-actions{display:flex;justify-content:center;gap:8px;margin-top:9px}.san-support-actions .san-button{min-height:38px;padding:7px 12px;font-size:13px}.san-help{margin:10px auto 0;max-width:880px;border:2px solid #d2c0f0;background:#fbf7ff;border-radius:18px;padding:10px;text-align:center}.san-help p{margin:0 0 8px;font-weight:700}.san-alt-model{min-height:120px;max-height:200px;display:grid;place-items:center;overflow:hidden}.san-narrating [data-san-cue]{animation:sanPulse 1.2s ease-in-out infinite alternate}@keyframes sanPulse{to{filter:drop-shadow(0 0 12px #ffd277);transform:scale(1.018)}}

.san-sector-tool{width:min(420px,80vw);position:relative;display:grid;place-items:center}.san-sector-tool.compact{width:min(235px,31vw)}.san-sector-tool svg{display:block;width:100%;filter:drop-shadow(0 12px 8px #26456b24)}.san-sector-tool strong{margin-top:-4px;color:#274b74;font-size:14px}.san-paper{fill:#fffaf0;stroke:#294b76;stroke-width:4}.san-sector-fill{fill:hsl(calc(175 + var(--i)*15) 67% 70%);opacity:.86}.san-radials line{stroke:#466b97;stroke-width:2.6}.san-baseline{stroke:#ef7b45;stroke-width:7;stroke-linecap:round}.san-center-mark{fill:#ffcc61;stroke:#263f66;stroke-width:4}.san-opening-ray{stroke:#d94c61;stroke-width:6;stroke-linecap:round;fill:none}.san-sector-tool.uneven .san-paper{fill:#fff0f1}.san-sector-tool.uneven .san-radials line{stroke:#cf6370}.san-result-cards{display:flex;justify-content:center;align-items:flex-end;gap:clamp(8px,2vw,24px);width:100%}.san-result-cards article{background:#fff;border:2px solid #d7e4f4;border-radius:22px;padding:12px;box-shadow:0 14px 30px #253b5e16}.san-result-cards .san-sector-tool strong{font-size:15px}.san-criterion-cards{display:flex;gap:16px;align-items:flex-end}.san-criterion-cards article{border:3px solid #efb0b9;background:#fff7f8;border-radius:20px;padding:10px;text-align:center}.san-criterion-cards article.valid{border-color:#72c9a3;background:#f3fff9}.san-criterion-cards b{display:block;margin-top:6px}

.san-fold-paper{width:min(390px,76vw);aspect-ratio:1.8/1;border-radius:190px 190px 16px 16px;background:#fff8e8;border:4px solid #35577e;position:relative;overflow:hidden;box-shadow:0 18px 35px #22375622}.san-fold-paper:after{content:"";position:absolute;left:50%;bottom:0;width:3px;height:100%;background:#58a9d9;transform:scaleY(calc(var(--show,0)));transform-origin:bottom}.san-fold-paper i,.san-fold-paper b,.san-fold-paper em{position:absolute;left:50%;bottom:0;width:3px;height:110%;background:#58a9d9;transform-origin:bottom}.san-fold-paper i{transform:rotate(-45deg);opacity:0}.san-fold-paper b{transform:rotate(45deg);opacity:0}.san-fold-paper.step-1:after,.san-fold-paper.step-2:after,.san-fold-paper.step-3:after{--show:1}.san-fold-paper.step-2 i,.san-fold-paper.step-2 b,.san-fold-paper.step-3 i,.san-fold-paper.step-3 b{opacity:1}.san-fold-paper em{right:auto;left:0;bottom:50%;width:100%;height:2px;background:#ffffffaa;transform:none;animation:sanFold 1.4s ease-in-out infinite}.san-fold-paper.step-3 em{display:none}.san-fold-paper span{position:absolute;inset:auto 0 12px;text-align:center;font-weight:900;color:#2c5076}@keyframes sanFold{50%{transform:translateY(36px) scaleX(.85)}}

.san-align-scene{width:min(680px,94vw);height:clamp(260px,43vh,390px);position:relative;border-radius:28px;background:linear-gradient(#eaf7ff,#fff);border:2px solid #c7def1;overflow:hidden}.san-movable-tool{position:absolute;width:58%;left:38%;top:28%;transform:translate(-50%,-10%) rotate(-8deg);transform-origin:50% 91%;transition:.5s ease;z-index:10}.san-align-scene.offset .san-movable-tool{left:47%;top:18%;transform:translate(-50%,-10%) rotate(-16deg)}.san-align-scene.centered .san-movable-tool{left:38%;top:28%}.san-align-scene.based .san-movable-tool{transform:translate(-50%,-10%) rotate(0)}.san-fixed-opening{position:absolute;left:38%;bottom:18%;width:46%;height:48%;z-index:20;pointer-events:none}.san-fixed-opening i,.san-fixed-opening b{position:absolute;left:0;bottom:0;height:7px;width:100%;border-radius:7px;background:#d94c61;transform-origin:left center}.san-fixed-opening b{transform:rotate(-90deg);width:64%;background:#dd5266}.san-fixed-opening em{position:absolute;left:-10px;bottom:-10px;width:20px;height:20px;border:5px solid #8b3150;border-radius:50%;background:#fff}.san-target-ring{position:absolute;left:calc(38% - 14px);bottom:calc(18% - 14px);width:28px;height:28px;border:3px dashed #2e89b9;border-radius:50%;z-index:30;animation:sanRing 1.2s infinite}.san-guide-base{position:absolute;left:38%;bottom:18%;width:46%;border-top:3px dashed #2a9e9b;z-index:30}.san-align-scene.centered .san-target-ring{border-style:solid;background:#72d5af55}.san-align-scene.based .san-guide-base{border-top-style:solid}@keyframes sanRing{50%{transform:scale(1.25)}}.san-live-count{position:absolute;right:5%;top:5%;display:grid;place-items:center;background:#fff;border:3px solid #5cb7b0;border-radius:18px;padding:8px 13px;z-index:40}.san-live-count b{font-size:32px}.san-live-count span{font-size:12px;font-weight:800}.san-split-stage{position:relative;display:grid;place-items:center}.san-split-flashes{position:absolute;inset:10% 20%;border:3px dashed #ff9a55;border-radius:50%}.san-comparison{display:grid;grid-template-columns:1fr 150px 1fr;align-items:center;gap:14px;width:min(900px,96vw)}.san-comparison article{display:grid;place-items:center;background:#fff;border:2px solid #d3e0ef;border-radius:20px;padding:12px}.san-comparison article>b{color:#24567d}.san-same-shadow{height:150px;position:relative;display:grid;place-items:end center}.san-same-shadow i,.san-same-shadow b{position:absolute;left:50%;bottom:34px;width:70px;height:6px;background:#d74d67;transform-origin:left center}.san-same-shadow i{transform:rotate(180deg)}.san-same-shadow b{transform:rotate(-90deg)}.san-same-shadow span{font-size:11px;font-weight:900;color:#8a3552}.san-equation-flow,.san-alt-number-flow{display:flex;align-items:center;justify-content:center;gap:12px}.san-equation-flow b,.san-alt-number-flow b{display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#fff;border:3px solid #4b83d5;font-size:24px}.san-equation-flow i,.san-alt-number-flow i{font-size:27px;color:#ef844e}.san-alt-number-flow{flex-wrap:wrap}.san-alt-number-flow span{flex-basis:100%;font-weight:800}.san-sentence{min-width:min(660px,90vw);min-height:100px;border:3px dashed #78a7d5;background:#fff;border-radius:24px;display:grid;place-items:center;padding:12px}.san-sentence span{font-size:clamp(20px,3vw,31px);font-weight:900}.san-common-tools{display:flex;gap:8px;align-items:center}.san-common-tools i{display:block;width:72px;height:42px;border:3px solid #6a8db5;border-radius:50% 50% 8px 8px;background:#fff}.san-common-tools b{font-size:34px;color:#d45867}

.san-tool-shelf{display:flex;align-items:flex-end;justify-content:center;gap:20px;width:min(900px,95vw)}.san-tool-shelf article{width:30%;min-height:190px;display:grid;place-items:center;align-content:end;background:#fff;border:2px solid #d4e0ee;border-radius:24px;padding:16px;box-sizing:border-box}.san-tool-shelf article>b{margin-top:12px}.san-ruler{width:90%;height:50px;border:4px solid #4774a6;border-radius:8px;background:repeating-linear-gradient(90deg,#fff 0 12px,#7eb4df 13px 15px)}.san-set-square{width:0;height:0;border-left:95px solid transparent;border-right:0 solid transparent;border-bottom:130px solid #85c9d8;filter:drop-shadow(0 4px 1px #406684)}.san-protractor{width:min(410px,78vw);position:relative}.san-protractor svg{display:block;width:100%;filter:drop-shadow(0 12px 10px #1433572a)}.san-pro-body{fill:#bceff0cc;stroke:#27597b;stroke-width:4}.san-pro-ticks line{stroke:#396984;stroke-width:2}.san-pro-base{stroke:#ef7c48;stroke-width:7;stroke-linecap:round}.san-pro-center{fill:#ffd164;stroke:#294867;stroke-width:4}.san-pro-map{position:relative;display:grid;place-items:center}.san-pro-map>button{position:absolute;z-index:20;border:3px dashed #1f628d;background:#ffffff55;cursor:pointer}.san-pro-map>button.center{left:calc(50% - 28px);bottom:4%;width:56px;height:56px;border-radius:50%}.san-pro-map>button.base{left:14%;bottom:8%;width:72%;height:34px;border-radius:15px}.san-pro-map>button.arc{left:13%;top:5%;width:74%;height:48%;border-radius:50% 50% 20% 20%}.san-pro-map>button.found{border-color:#218e6c;background:#65dda838}.san-part-list{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.san-part-list span{padding:7px 10px;background:#edf3fa;border-radius:999px;font-weight:800}.san-part-list span.done{background:#d9f7e7;color:#17684e}.san-action-prompt{text-align:center;font-weight:800}.san-role-match{display:grid;place-items:center;grid-template-columns:minmax(240px,420px) minmax(200px,300px);gap:24px}.san-role-match>strong{position:absolute;background:#fff2c8;border-radius:999px;padding:8px 14px}.san-role-match>div{display:grid;gap:9px}.san-role-match span{border:2px solid #ccd9e9;background:#fff;border-radius:14px;padding:10px;font-weight:800}.san-role-match span.done{border-color:#57bc91;background:#e8fff3}.san-final{display:grid;place-items:center;gap:12px;width:100%}.san-final-checks{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.san-final-checks span{padding:6px 9px;border-radius:999px;background:#eef2f7;font-size:12px;font-weight:900}.san-final-checks span.done{background:#d9f7e7;color:#17684e}.san-final-tools{display:flex;gap:15px}.san-final-tools button{width:min(300px,43vw);background:#fff;border:3px solid #cad8e9;border-radius:20px;padding:10px;cursor:pointer}.san-final-tools b{display:block}.san-final-statement{display:grid;gap:5px;text-align:center}.san-final-statement b,.san-final-statement strong{background:#fff;border-radius:12px;padding:7px 10px}.san-final-statement strong{color:#17684e}

.san-alt-equal,.san-alt-split{display:flex;align-items:center;gap:12px}.san-alt-split>b{font-size:28px}.san-alt-fold{width:210px;height:110px;border-radius:120px 120px 8px 8px;background:#fff5d9;border:3px solid #395f87;position:relative}.san-alt-fold i,.san-alt-fold b,.san-alt-fold em{position:absolute;left:50%;bottom:0;height:100%;width:2px;background:#4b91c2;transform-origin:bottom}.san-alt-fold i{transform:rotate(-45deg)}.san-alt-fold b{transform:rotate(45deg)}.san-alt-target{width:150px;height:100px;position:relative}.san-alt-target i,.san-alt-target b{position:absolute;left:50%;top:50%;border-radius:50%}.san-alt-target i{width:55px;height:55px;border:5px dashed #4993c6;transform:translate(-50%,-50%)}.san-alt-target b{width:14px;height:14px;background:#ffbb55;transform:translate(-50%,-50%)}.san-alt-rail{width:260px;border-top:8px solid #ef7b45;position:relative}.san-alt-rail i{position:absolute;left:46%;top:-24px;width:48%;border-top:5px dashed #299d99}.san-alt-common{display:flex;align-items:center;gap:8px}.san-alt-common i{width:55px;height:32px;border:3px solid #6c8cab;border-radius:50% 50% 6px 6px}.san-alt-common b{background:#315fca;color:#fff;border-radius:12px;padding:10px}.san-alt-parts{position:relative;display:grid;place-items:center}.san-alt-parts span{position:absolute;background:#fff;border:2px solid #3c799b;border-radius:999px;padding:4px 8px;font-weight:900}.san-alt-parts span:nth-of-type(1){bottom:4%;left:44%}.san-alt-parts span:nth-of-type(2){bottom:4%;left:10%}.san-alt-parts span:nth-of-type(3){top:7%;right:10%}.san-alt-roles{display:grid;gap:7px}.san-alt-roles b{background:#fff;border:2px solid #b9cde0;border-radius:12px;padding:8px}.san-alt-proof-chain{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:center}.san-alt-proof-chain b{background:#fff;border:2px solid #76b8b3;border-radius:12px;padding:7px}.san-alt-proof-chain i{color:#ee8050}

@media(max-width:700px){.san-scene{padding:10px;gap:7px}.san-scene header h1{font-size:20px}.san-result-cards{gap:5px}.san-result-cards article{padding:5px;border-radius:13px}.san-sector-tool.compact{width:29vw}.san-sector-tool strong{font-size:10px}.san-criterion-cards{gap:5px}.san-criterion-cards article{padding:4px}.san-comparison{grid-template-columns:1fr 70px 1fr;gap:5px}.san-same-shadow{height:90px}.san-same-shadow i,.san-same-shadow b{width:35px}.san-same-shadow span{font-size:8px}.san-tool-shelf{gap:6px}.san-tool-shelf article{padding:6px;min-height:130px;border-radius:14px}.san-ruler{height:30px}.san-set-square{border-left-width:48px;border-bottom-width:70px}.san-role-match{grid-template-columns:1fr;gap:4px}.san-role-match .san-protractor{width:min(270px,72vw)}.san-role-match>div{grid-template-columns:1fr;gap:4px}.san-role-match span{padding:5px;font-size:11px}.san-align-scene{height:270px}.san-movable-tool{width:76%;left:34%}.san-align-scene.offset .san-movable-tool{left:45%}.san-fixed-opening{left:34%;width:58%}.san-target-ring{left:calc(34% - 14px)}.san-guide-base{left:34%;width:58%}.san-live-count{right:2%;top:2%}.san-live-count b{font-size:24px}.san-button,.san-choices button{min-height:42px;padding:8px 10px;font-size:13px}.san-help{max-height:210px;overflow:auto}.san-alt-model{min-height:90px}.san-final-checks{gap:4px}.san-final-checks span{font-size:10px;padding:4px 6px}}
@media(max-width:430px){.san-scene{overflow:auto}.san-workspace{align-content:start}.san-result-cards .san-sector-tool strong{font-size:9px}.san-fold-paper{width:88vw}.san-sentence{min-width:84vw;min-height:72px}.san-sentence span{font-size:18px}.san-common-tools i{width:48px;height:29px}.san-pro-map .san-protractor{width:88vw}.san-final-tools button{width:44vw;padding:4px}.san-controls{gap:6px}.san-support-actions{margin-top:6px}}
@media(prefers-reduced-motion:reduce){.san-narrating [data-san-cue],.san-target-ring,.san-fold-paper em{animation:none!important}.san-movable-tool{transition:none!important}}

/* The lesson board shares the viewport with Lumi. Size every teaching object from
   the board itself so desktop split layouts cannot crop the right-hand content. */
.san-scene{width:100%;max-width:100%}.san-scene header{min-width:0}.san-scene header h1{max-width:100%;overflow-wrap:anywhere}.san-workspace{width:100%;max-width:100%;min-width:0;overflow:hidden}.san-sector-tool{width:min(420px,100%)}.san-sector-tool.compact{width:min(210px,100%)}.san-result-cards{max-width:100%;min-width:0;gap:clamp(5px,1.2vw,12px)}.san-result-cards article{flex:1 1 0;min-width:0;padding:8px}.san-result-cards .san-sector-tool{width:100%}.san-criterion-cards{width:100%;min-width:0;gap:8px}.san-criterion-cards article{flex:1 1 0;min-width:0;padding:7px}.san-criterion-cards .san-sector-tool{width:100%}.san-align-scene,.san-comparison,.san-tool-shelf{width:100%;max-width:100%}.san-sentence{width:min(660px,100%);min-width:0}.san-protractor{width:min(410px,100%)}.san-final-tools{width:100%}.san-final-tools button{flex:1 1 0;width:auto;min-width:0}
.san-pro-map>button.center{z-index:23}.san-pro-map>button.base{z-index:22}.san-pro-map>button.arc{z-index:21}.san-pro-map>button.found{pointer-events:none}
.san-pro-map .san-part-list{margin-top:34px;position:relative;z-index:30;pointer-events:none}

/* grade4-classify-angles.css */
.grade4-ca-shell{--ca-ink:#22304b;--ca-blue:#315fca;--ca-teal:#28a4a0;--ca-coral:#e9645f;--ca-gold:#f1b84b;--ca-paper:#fffdf7}.grade4-ca-board{background:linear-gradient(145deg,#eefaff,#fff8e9);color:var(--ca-ink);min-height:0}.ca-scene{box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-height:100%;padding:clamp(10px,2vw,24px);overflow:hidden}.ca-scene header{text-align:center;min-width:0}.ca-scene header span{color:#206a75;font:900 11px/1.2 system-ui;letter-spacing:.14em}.ca-scene header h1{max-width:100%;margin:3px auto 0;font-size:clamp(19px,2.7vw,32px);line-height:1.08;overflow-wrap:anywhere}.ca-workspace{position:relative;display:grid;place-items:center;align-content:center;gap:10px;min-width:0;min-height:0;width:100%;overflow:hidden}.ca-result{min-height:21px;text-align:center;color:#17684e}.ca-result strong{display:inline-block;padding:6px 13px;border:2px solid #70d3a4;border-radius:999px;background:#e5fff1}.ca-controls,.ca-choices,.ca-support-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px}.ca-action,.ca-choices button{min-height:44px;padding:9px 14px;border:2px solid #bfd1ed;border-radius:14px;background:#fff;color:#1d3557;box-shadow:0 5px 0 #dce8f7;cursor:pointer;touch-action:manipulation;font:800 14px/1.2 system-ui}.ca-action:hover,.ca-choices button:hover{border-color:#5484dd;transform:translateY(-1px)}.ca-action.primary{border-color:#254da9;background:var(--ca-blue);color:#fff;box-shadow:0 5px 0 #173e98}.ca-prompt{margin:0;font-weight:800;text-align:center}.ca-support-actions{margin-top:8px}.ca-support-actions .ca-action{min-height:36px;padding:6px 11px;font-size:12px}.ca-help{max-width:860px;margin:8px auto 0;padding:9px;border:2px solid #d2c0f0;border-radius:16px;background:#fbf7ff;text-align:center}.ca-help p{margin:0 0 7px;font-weight:700}.ca-alternative{display:grid;place-items:center;gap:6px;max-height:210px;overflow:auto}.ca-alternative>span{color:#76529d;font-size:11px;font-weight:900;letter-spacing:.08em}.ca-alternative>p{margin:0;font-size:12px}.ca-narrating [data-ca-cue]{animation:caPulse 1.1s ease-in-out infinite alternate}@keyframes caPulse{to{filter:drop-shadow(0 0 10px #ffd071);transform:scale(1.018)}}

.ca-angle-wrap{position:relative;width:min(390px,100%);display:grid;place-items:center}.ca-angle-wrap svg{display:block;width:100%;max-height:38vh;overflow:visible}.ca-angle-geometry{transform-box:fill-box;transform-origin:center}.ca-arm{stroke:#d64e63;stroke-width:8;stroke-linecap:round}.ca-base-arm{stroke:#365fca}.ca-moving-arm{transition:transform .35s cubic-bezier(.2,.8,.2,1)}.ca-vertex{fill:#ffcc61;stroke:#263f66;stroke-width:4}.ca-set-square{fill:#95e0dd99;stroke:#237a83;stroke-width:4;stroke-linejoin:round}.ca-set-square-cut{fill:#f9fbf5;stroke:#237a83;stroke-width:3}.ca-right-mark{fill:none;stroke:#f08d35;stroke-width:5}.ca-angle-hit{position:absolute;inset:10%;border:0;background:transparent;cursor:pointer}.ca-daily-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(780px,100%)}.ca-daily-card{display:grid;place-items:center;min-width:0;padding:8px;border:3px solid #d3e0ee;border-radius:20px;background:#fff;box-shadow:0 10px 24px #28426317;color:var(--ca-ink);cursor:pointer}.ca-daily-card svg{display:block;width:100%;max-height:165px;fill:none;stroke:#3c668e;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.ca-daily-card .focus{stroke:var(--ca-coral);stroke-width:9}.ca-daily-card.selected{border-color:#55b78d;background:#effff7}.ca-daily-card strong{font:900 14px/1.1 system-ui}.ca-property-model,.ca-length-test,.ca-length-overlay{display:flex;align-items:center;justify-content:center;gap:10px;width:min(760px,100%)}.ca-property-model>div{display:grid;gap:7px}.ca-property-model b{padding:7px 10px;border-radius:999px;background:#fff;border:2px solid #78a7d5;font-size:12px}.ca-comparison-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:min(760px,100%)}.ca-comparison-strip .ca-angle-wrap{width:100%}.ca-comparison-strip .ca-angle-wrap svg{max-height:180px}.ca-cardboard-model{position:relative;width:min(330px,78vw);height:145px}.ca-cardboard-model i,.ca-cardboard-model b,.ca-cardboard-model em{position:absolute;left:50%;bottom:18px;width:43%;height:8px;border-radius:8px;background:#315fca;transform-origin:left center}.ca-cardboard-model b{transform:rotate(-90deg);background:#e9645f}.ca-cardboard-model em{width:80px;height:80px;border:4px dashed #29a4a0;background:transparent}.ca-cardboard-model span{position:absolute;right:0;top:10px;font-size:11px;font-weight:900}.ca-builder,.ca-turner,.ca-rotated-proof,.ca-create-angle,.ca-independent,.ca-final{display:grid;place-items:center;gap:8px;width:100%}.ca-builder-track{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:900}.ca-builder-track i{position:relative;width:130px;border-top:7px solid #d5dfeb}.ca-builder-track i:after{content:"";position:absolute;left:calc(var(--p)*50% - 9px);top:-13px;width:19px;height:19px;border-radius:50%;background:#e9645f;transition:left .3s ease-out}.ca-turner-log,.ca-align-status,.ca-final-checks{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.ca-turner-log span,.ca-align-status span,.ca-final-checks span{padding:5px 8px;border-radius:999px;background:#eef2f7;font-size:11px;font-weight:900}.ca-turner-log span.done,.ca-align-status span.done,.ca-final-checks span.done{background:#d9f7e7;color:#17684e}.ca-rotated-proof>span,.ca-length-test>span,.ca-task-count,.ca-independent>span,.ca-create-angle>span{padding:6px 10px;border-radius:999px;background:#fff2c8;color:#674d15;font-size:11px;font-weight:900;letter-spacing:.07em}.ca-length-test .ca-angle-wrap,.ca-length-overlay .ca-angle-wrap{width:48%}.ca-object-scene,.ca-property-sort,.ca-sort,.ca-final-angle,.ca-final-length{display:grid;place-items:center;gap:7px;width:100%}.ca-object-scene>b,.ca-sort>strong{font-size:13px;letter-spacing:.09em}.ca-sort-bays{display:flex;gap:7px}.ca-sort-bays span{padding:7px 10px;border:2px dashed #a9bdd4;border-radius:12px;background:#fff;font-size:12px;font-weight:900}.ca-sort-bays span.filled{border-style:solid;border-color:#59bd91;background:#e9fff4}.ca-position-dots{display:flex;gap:9px}.ca-position-dots button{width:40px;height:40px;border:2px solid #b8cbe3;border-radius:50%;background:#fff;font-weight:900;cursor:pointer}.ca-position-dots button.active{border-color:#315fca;background:#e8efff;color:#315fca}.ca-independent p,.ca-property-sort p{margin:0;text-align:center;font-weight:700}.ca-final-checks{max-width:760px}.ca-final-length{grid-template-columns:1fr 1fr}.ca-final-length strong{grid-column:1/-1;padding:7px 10px;border-radius:12px;background:#fff}.ca-final-length .ca-angle-wrap{width:100%}

.ca-align{display:grid;place-items:center;gap:8px;width:100%}.ca-drag-stage{position:relative;width:min(680px,100%);height:clamp(235px,37vh,350px);overflow:hidden;border:2px solid #c7deef;border-radius:25px;background:linear-gradient(#eaf8ff,#fffdf7)}.ca-target-angle{position:absolute;left:64%;bottom:19%;width:25%;height:45%}.ca-target-angle i,.ca-target-angle b{position:absolute;left:0;bottom:0;width:100%;height:8px;border-radius:8px;background:#315fca;transform-origin:left center}.ca-target-angle b{width:77%;transform:rotate(-66deg);background:#d64e63}.ca-target-angle em{position:absolute;left:-15px;bottom:-15px;width:30px;height:30px;border:4px dashed #28a4a0;border-radius:50%;background:#fff8;animation:caTarget 1.2s infinite}.ca-drag-tool{--drag-x:0px;--drag-y:0px;position:absolute;left:6%;top:12%;width:29%;z-index:20;display:grid;place-items:center;transform:translate(var(--drag-x),var(--drag-y)) rotate(-8deg);transform-origin:9% 90%;cursor:grab;touch-action:none;transition:transform .28s ease-out,left .28s ease-out,top .28s ease-out}.ca-drag-tool.dragging{cursor:grabbing;transition:none;filter:drop-shadow(0 15px 10px #18365244)}.ca-drag-tool svg{display:block;width:100%;filter:drop-shadow(0 7px 3px #18365227)}.ca-drag-tool path{fill:#91dedbba;stroke:#237a83;stroke-width:5;stroke-linejoin:round}.ca-drag-tool path.cut{fill:#f8fbf6}.ca-drag-tool circle{fill:#ffcc61;stroke:#263f66;stroke-width:4}.ca-drag-tool strong{font-size:11px}.ca-align.step-1 .ca-drag-tool,.ca-align.step-2 .ca-drag-tool{left:60.7%;top:33%;transform:rotate(-17deg)}.ca-align.step-2 .ca-drag-tool{transform:rotate(0)}.ca-align.step-1 .ca-target-angle em,.ca-align.step-2 .ca-target-angle em{border-style:solid;background:#75dab866}@keyframes caTarget{50%{transform:scale(1.2)}}

@media(max-width:700px){.ca-scene{padding:9px;gap:6px}.ca-scene header h1{font-size:19px}.ca-angle-wrap{width:min(310px,100%)}.ca-angle-wrap svg{max-height:30vh}.ca-daily-grid{gap:5px}.ca-daily-card{padding:4px;border-radius:13px}.ca-daily-card strong{font-size:11px}.ca-comparison-strip{gap:3px}.ca-comparison-strip .ca-angle-wrap svg{max-height:120px}.ca-property-model,.ca-length-test,.ca-length-overlay{gap:3px}.ca-property-model>div{gap:3px}.ca-property-model b{padding:4px 6px;font-size:10px}.ca-drag-stage{height:245px}.ca-drag-tool{width:40%;left:3%;top:10%}.ca-align.step-1 .ca-drag-tool,.ca-align.step-2 .ca-drag-tool{left:56.5%;top:34%}.ca-target-angle{left:61%;width:34%}.ca-action,.ca-choices button{min-height:40px;padding:7px 10px;font-size:12px}.ca-help{max-height:190px;overflow:auto}.ca-final-checks{gap:3px}.ca-final-checks span{padding:4px 5px;font-size:9px}}
@media(max-width:900px) and (min-width:701px){.grade4-ca-shell{max-width:100%;overflow-x:hidden}.grade4-ca-shell .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px 12px}.grade4-ca-shell .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}.grade4-ca-shell .restart-lesson{grid-column:3;grid-row:1}.grade4-ca-shell .skip-section,.grade4-ca-shell .lesson-time{display:none}}
@media(max-width:430px){.ca-scene{overflow:auto}.ca-workspace{align-content:start;overflow:visible}.ca-daily-grid{grid-template-columns:repeat(3,1fr)}.ca-daily-card svg{max-height:90px}.ca-drag-stage{height:220px}.ca-drag-tool{width:42%}.ca-align.step-1 .ca-drag-tool,.ca-align.step-2 .ca-drag-tool{left:55%;top:34%}.ca-target-angle{left:60%;bottom:17%;width:36%}.ca-sort-bays span{padding:4px 6px;font-size:9px}.ca-final-length strong{font-size:11px}.ca-support-actions{margin-top:5px}.ca-alternative{max-height:170px}}
@media(prefers-reduced-motion:reduce){.ca-narrating [data-ca-cue],.ca-target-angle em{animation:none!important}.ca-drag-tool,.ca-moving-arm,.ca-builder-track i:after{transition:none!important}}

/* grade4-mirror-symmetry.css */
.grade4-ms-shell{--ms-ink:#17354a;--ms-blue:#2e86ab;--ms-coral:#ef6f6c;--ms-gold:#f4c95d;--ms-mint:#80d3b4}.grade4-ms-board{overflow-x:hidden;background:linear-gradient(145deg,#f5fbff 0%,#fff8ec 100%);color:var(--ms-ink)}
.ms-scene{min-height:520px;padding:20px clamp(14px,3vw,34px) 24px;box-sizing:border-box}.ms-scene>header{text-align:center;margin-bottom:16px}.ms-scene>header>span{display:inline-block;padding:5px 12px;border-radius:999px;background:#dff3f8;color:#17617e;font-size:.76rem;font-weight:900;letter-spacing:.08em}.ms-scene h1{margin:7px 0 0;font-size:clamp(1.25rem,3vw,2rem);line-height:1.15}.ms-workspace{width:min(100%,1040px);margin:0 auto}.ms-result{margin:16px auto 0;text-align:center;color:#176b55}.ms-result strong{display:inline-block;padding:10px 16px;border-radius:14px;background:#e0f5ed}.ms-controls{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}.ms-action,.ms-choices button,.ms-gallery>button,.ms-word-bank button{min-height:48px;border:2px solid #b8d9e7;border-radius:15px;background:#fff;color:var(--ms-ink);font:inherit;font-weight:800;cursor:pointer;box-shadow:0 5px 0 #d4e8ef;transition:transform .16s,border-color .16s}.ms-action:hover,.ms-choices button:hover,.ms-gallery>button:hover,.ms-word-bank button:hover{transform:translateY(-2px);border-color:var(--ms-blue)}.ms-action.primary{background:#176d8c;color:#fff;border-color:#176d8c;box-shadow:0 5px 0 #0c4d65}.ms-choices{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.ms-choices button{padding:9px 18px}.ms-prompt{text-align:center;font-weight:800;margin:6px}.ms-support-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:10px}.ms-support-actions .ms-action{min-height:40px;padding:6px 12px;box-shadow:none;background:#f6fbfd}.ms-help{max-width:920px;margin:12px auto 0;padding:12px;border-radius:16px;background:#eff9fc;border:1px solid #b8dbe8}.ms-help>p{text-align:center;margin:0 0 10px;font-weight:700}.ms-alternative{display:grid;gap:10px}.ms-alternative>span{font-size:.72rem;font-weight:900;letter-spacing:.08em;color:#17617e}.ms-alternative>p{margin:0;text-align:center}.ms-narrating [data-ms-cue]{animation:msPulse 1.2s ease-in-out infinite alternate}@keyframes msPulse{to{filter:brightness(1.15);transform:translateY(-2px)}}
.ms-rail{position:relative;height:220px;min-width:0;border-radius:24px;background:linear-gradient(#ebf8fc 0 67%,#dce7d5 67% 72%,#f1d6aa 72%);overflow:hidden;box-shadow:inset 0 0 0 2px #c5e1eb}.ms-track{position:absolute;left:8%;right:8%;bottom:44px;display:flex;justify-content:space-between;border-top:5px solid #5b7180}.ms-track i{width:3px;height:13px;background:#5b7180}.ms-object,.ms-reflection{position:absolute;bottom:54px;width:92px;text-align:center;z-index:3}.ms-object{left:calc(50% - var(--ms-gap) - 92px)}.ms-reflection{left:calc(50% + var(--ms-gap))}.ms-object svg,.ms-reflection svg{display:block;width:92px;height:92px;overflow:visible}.ms-object span,.ms-reflection span{display:inline-block;margin-top:-7px;padding:2px 7px;border-radius:7px;background:#fff9;font-size:.66rem;font-weight:900}.ms-mirror{position:absolute;z-index:5;left:calc(50% - 9px);bottom:38px;width:18px;height:170px;border:2px solid #8ac6dc;border-radius:9px;background:linear-gradient(90deg,#effcffcc,#8dd2e9aa,#fff9);box-shadow:8px 7px 12px #31596b2c}.ms-mirror:before,.ms-mirror:after{content:"";position:absolute;bottom:-10px;width:20px;height:8px;border-radius:6px;background:#466b79}.ms-mirror:before{left:-13px}.ms-mirror:after{right:-13px}.ms-mirror span{position:absolute;top:8px;left:50%;transform:translateX(-50%) rotate(-90deg);font-size:.62rem;font-weight:900;color:#155d79}.ms-arrow{fill:var(--ms-coral);stroke:#9d3f42;stroke-width:4;stroke-linejoin:round}.ms-dot{fill:var(--ms-gold);stroke:#795e15;stroke-width:2}.ms-glove path{fill:#ffd29a;stroke:#aa6940;stroke-width:4}.ms-glove .ms-cuff{fill:var(--ms-coral)}.ms-reflection{filter:saturate(.72);opacity:.78}.ms-distance{position:absolute;bottom:13px;font-size:.7rem;font-weight:900;color:#315668}.left-distance{right:calc(50% + 22px)}.right-distance{left:calc(50% + 22px)}
.ms-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ms-gallery>button{min-width:0;padding:9px}.ms-gallery>button.selected{border-color:var(--ms-coral);background:#fff8f5}.ms-gallery .ms-rail{height:190px;--ms-gap:15px!important}.ms-gallery .ms-object,.ms-gallery .ms-reflection{transform:scale(.76);transform-origin:bottom center}.ms-gallery .ms-object{left:calc(50% - 85px)}.ms-gallery .ms-reflection{left:calc(50% + 15px)}.ms-gallery .ms-mirror{height:140px}.ms-gallery>button>strong{display:block;padding:6px}.ms-gallery .ms-distance{display:none}
.ms-mirror-drop{position:relative;height:350px;border-radius:26px;background:repeating-linear-gradient(90deg,#fff 0 39px,#e8f1f5 40px),repeating-linear-gradient(0deg,transparent 0 39px,#e8f1f5 40px);box-shadow:inset 0 0 0 2px #c6dde6}.ms-fold-target{position:absolute;left:calc(50% - 34px);top:24px;bottom:24px;width:68px;border-left:4px dashed var(--ms-coral);border-right:4px dashed var(--ms-coral);display:grid;place-items:center}.ms-fold-target span{writing-mode:vertical-rl;background:#fff;padding:6px;border-radius:8px;font-weight:900;color:#9c4343}.ms-drag-mirror{--drag-x:0px;--drag-y:0px;position:absolute;left:11%;top:70px;width:42px;height:220px;border:3px solid #5697b0;border-radius:12px;background:linear-gradient(90deg,#e9fbffdd,#8fd9eeee,#fff);box-shadow:12px 12px 16px #153a4c33;transform:translate(var(--drag-x),var(--drag-y));touch-action:none;cursor:grab;z-index:4}.ms-drag-mirror.dragging{cursor:grabbing;filter:drop-shadow(0 14px 12px #27586c44)}.ms-drag-mirror b{position:absolute;left:-18px;right:-18px;bottom:-10px;height:12px;border-radius:8px;background:#466b79}.ms-drag-mirror span{position:absolute;left:50%;top:20px;transform:translateX(-50%) rotate(-90deg);font-weight:900;color:#155d79}
.ms-distance-lab label{display:grid;grid-template-columns:auto minmax(120px,480px) auto;gap:12px;align-items:center;justify-content:center;margin-top:16px;font-weight:800}.ms-distance-lab input{width:100%;accent-color:var(--ms-coral)}.ms-distance-lab output{min-width:60px}.ms-equal-distance,.ms-size-lab,.ms-glove-lab,.ms-fake-check{display:grid;gap:12px}.ms-tape{display:grid;grid-template-columns:repeat(7,1fr);max-width:720px;margin:auto;border-radius:14px;overflow:hidden;border:2px solid #9fc9d8}.ms-tape span,.ms-tape b{padding:10px;text-align:center;background:#fff}.ms-tape span:nth-child(-n+3){background:#ffe1da}.ms-tape span:nth-child(n+5){background:#dff5ef}.ms-tape b{background:#287d9b;color:#fff}.ms-size-template{position:absolute;left:calc(50% - 240px);margin-top:34px;width:90px;height:112px;border:5px dashed #f3b400;border-radius:18px;z-index:6;pointer-events:none}.ms-size-template span{position:absolute;top:-28px;left:-18px;white-space:nowrap;font-size:.65rem;font-weight:900}.ms-size-lab{position:relative}.ms-size-lab>p,.ms-direction-arrows{text-align:center;font-weight:900}.ms-direction-arrows{display:flex;justify-content:center;gap:18px;align-items:center}.ms-direction-arrows b{font-size:1.8rem;color:var(--ms-coral)}.ms-fake-check>span,.ms-daily-scene>span,.ms-independent>span,.ms-inspector>span{justify-self:center;padding:5px 12px;border-radius:999px;background:#e4f5fa;font-weight:900;font-size:.72rem}.ms-fake-check>strong,.ms-daily-scene>strong{text-align:center}
.ms-fold-lab{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:center;gap:20px}.ms-fold-paper{position:relative;width:min(100%,620px);height:310px;margin:auto;perspective:900px}.ms-paper-left,.ms-paper-right{position:absolute;top:24px;width:50%;height:230px;background:#fff7d7;border:3px solid #d1ad52;box-shadow:0 13px 20px #74551c22;transform-style:preserve-3d}.ms-paper-left{left:0;border-radius:20px 0 0 20px;transform-origin:right}.ms-paper-right{right:0;border-radius:0 20px 20px 0;transform-origin:left}.ms-paper-left span,.ms-paper-right span{position:absolute;top:48px;width:90px;height:130px;border-radius:60% 15% 60% 20%;background:var(--ms-mint);border:3px solid #347c64}.ms-paper-left span{right:18px}.ms-paper-right span{left:18px;transform:scaleX(-1)}.ms-paper-left i,.ms-paper-right i{position:absolute;top:88px;width:36px;height:22px;background:var(--ms-gold);border-radius:50%}.ms-paper-left i{right:42px}.ms-paper-right i{left:42px}.ms-paper-left b,.ms-paper-right b{position:absolute;top:20px;width:18px;height:18px;border-radius:50%;background:var(--ms-coral)}.ms-paper-left b{right:38px}.ms-paper-right b{left:38px}.ms-fold-line{position:absolute;left:50%;top:6px;bottom:36px;border-left:4px dashed var(--ms-coral);z-index:5}.ms-fold-paper.stage-1 .ms-paper-left{animation:msFoldLeft .9s ease forwards}.ms-fold-paper.stage-2 .ms-paper-left{transform:rotateY(178deg);opacity:.82}.ms-fold-paper.stage-2 .ms-paper-right{filter:drop-shadow(0 0 9px #38a47a)}.ms-fold-paper p{position:absolute;bottom:0;left:0;right:0;text-align:center;font-weight:900}.ms-fold-log{display:grid;gap:12px}.ms-fold-log span,.ms-inspector-log b,.ms-final-checks span{padding:10px;border-radius:12px;background:#eef4f6;font-weight:800}.ms-fold-log .done,.ms-inspector-log .done,.ms-final-checks .done{background:#dff4eb;color:#176a52}@keyframes msFoldLeft{to{transform:rotateY(140deg)}}
.ms-mirror-to-line{position:relative;display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:16px}.ms-lifting-mirror{height:260px;border:4px solid #69a8bf;border-radius:18px;background:linear-gradient(90deg,#e8fbff,#98dcedcc,#fff);box-shadow:13px 14px 16px #23495b30;transform:translateY(-28px);animation:msLiftMirror 1.4s ease-out both}.ms-lifting-mirror span{display:block;text-align:center;margin-top:100px;transform:rotate(-90deg);font-weight:900;color:#17617e}.ms-mirror-to-line>p{grid-column:1/-1;text-align:center;font-weight:900}.ms-relation-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ms-relation-card{border-radius:22px;background:#fff;border:2px solid #b9dbe6;overflow:hidden}.ms-relation-card>span{display:block;text-align:center;padding:8px;background:#e6f5f9;font-weight:900;font-size:.76rem}.ms-relation-card svg{display:block;width:100%;height:auto}.ms-axis{stroke:#ef6f6c;stroke-width:4;stroke-dasharray:8 6}.ms-glass{fill:#bcecff99;stroke:#4b98b2;stroke-width:3}.ms-equal{stroke:#237795;stroke-width:5}.ms-property-console{display:grid;gap:18px;max-width:740px;margin:auto}.ms-three-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ms-three-checks span{padding:16px 10px;border-radius:15px;background:#e8f4f7;text-align:center;font-weight:900}.ms-three-checks .done{background:#d9f2e7;color:#176b55}.ms-reject-bin{padding:14px;border:2px dashed #c87373;border-radius:14px;text-align:center;background:#fff1ef;color:#8f3d3d;font-weight:800}.ms-property-console>strong{text-align:center}.ms-daily-scene{display:grid;gap:14px}.ms-leaf-mirror,.ms-train-mirror{position:relative;display:grid;grid-template-columns:1fr 36px 1fr;align-items:center;justify-items:center;min-height:260px;border-radius:24px;background:#edf8fb;font-size:6rem}.ms-leaf-mirror b,.ms-train-mirror b{width:18px;height:220px;border-radius:8px;background:linear-gradient(90deg,#bde9f5,#69b6ce,#fff)}.ms-leaf-mirror i{font-style:normal;transform:scaleX(-1)}.ms-train-mirror{font-size:4.5rem}.ms-train-mirror em{position:absolute;bottom:16px;font-size:.8rem;font-style:normal;font-weight:900}.ms-sentence-builder{display:grid;gap:16px}.ms-built-sentence{min-height:70px;padding:14px;border-radius:16px;background:#fff;border:2px dashed #86b8c8;display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center}.ms-built-sentence span{padding:7px 10px;border-radius:9px;background:#dff3f8;font-weight:800}.ms-built-sentence i{color:#6c8792}.ms-word-bank{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.ms-word-bank button{padding:8px 14px}.ms-sentence-builder .ms-relation-card{max-width:480px;margin:auto}.ms-inspector{display:grid;gap:14px}.ms-inspector-log{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ms-inspector-log b{text-align:center}.ms-independent{display:grid;gap:14px}.ms-mini-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ms-mini-options i{padding:10px;border-radius:12px;background:#fff;border:1px solid #c3dbe4;text-align:center;font-style:normal}.ms-fold-proof{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.ms-fold-proof>p{grid-column:1/-1;text-align:center;font-weight:900}.ms-fold-proof .ms-fold-paper{transform:scale(.86)}@keyframes msLiftMirror{from{transform:translateY(42px);opacity:.92}to{transform:translateY(-28px);opacity:1}}
.ms-final{display:grid;gap:18px}.ms-final-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ms-final-checks span{text-align:center}.ms-final-mirror{position:relative;height:300px;border-radius:24px;background:#edf8fb}.ms-axis-target{position:absolute;left:calc(50% - 25px);top:20px;bottom:20px;width:50px;border:4px dashed var(--ms-coral);border-radius:14px}.ms-glass-token{position:absolute;left:calc(50% - 10px);top:30px;width:20px;height:240px;border-radius:9px;background:linear-gradient(90deg,#e8fbff,#7cc9e0,#fff)}.ms-final-relation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ms-final-relation>strong{grid-column:1/-1;text-align:center}.ms-template-demo{display:grid;grid-template-columns:1fr 4px 1fr;gap:10px;text-align:center}.ms-template-demo i{background:#e7ae20}.ms-template-demo div{padding:15px;border:3px dashed #e7ae20;border-radius:14px}
@media(max-width:820px){.ms-scene{min-height:500px;padding:14px 10px}.ms-gallery{grid-template-columns:1fr}.ms-gallery .ms-rail{height:155px}.ms-gallery .ms-object{left:calc(50% - 113px)}.ms-gallery .ms-reflection{left:calc(50% + 45px)}.ms-gallery>button>strong{font-size:.78rem}.ms-rail{height:190px}.ms-object,.ms-reflection{width:68px}.ms-object{left:calc(50% - var(--ms-gap) - 68px)}.ms-object svg,.ms-reflection svg{width:68px;height:68px}.ms-mirror{height:142px}.ms-distance-lab label{grid-template-columns:1fr auto}.ms-distance-lab label input{grid-column:1/-1;grid-row:2}.ms-fold-lab{grid-template-columns:1fr}.ms-fold-log{grid-template-columns:repeat(3,1fr)}.ms-fold-log span{font-size:.72rem;padding:8px}.ms-fold-paper{height:260px}.ms-paper-left,.ms-paper-right{height:190px}.ms-paper-left span,.ms-paper-right span{top:36px;width:62px;height:106px}.ms-paper-left span{right:12px}.ms-paper-right span{left:12px}.ms-relation-pair,.ms-fold-proof,.ms-final-relation{grid-template-columns:1fr}.ms-mirror-to-line{grid-template-columns:72px 1fr}.ms-lifting-mirror{height:210px}.ms-lifting-mirror span{font-size:.66rem}.ms-three-checks,.ms-inspector-log{grid-template-columns:1fr 1fr}.ms-leaf-mirror,.ms-train-mirror{min-height:210px;font-size:4rem}.ms-leaf-mirror b,.ms-train-mirror b{height:170px}.ms-final-checks{grid-template-columns:1fr}.ms-final-relation>strong,.ms-fold-proof>p{grid-column:1}.ms-size-template{left:calc(50% - 170px);transform:scale(.75)}.ms-mini-options{grid-template-columns:1fr}.ms-drag-mirror{left:6%}}
@media(max-width:430px){.ms-scene h1{font-size:1.15rem}.ms-rail{height:170px}.ms-track{bottom:35px}.ms-object,.ms-reflection{bottom:42px;transform:scale(.82);transform-origin:bottom center}.ms-mirror{bottom:30px;height:125px}.ms-distance{bottom:8px}.ms-gallery .ms-rail{height:142px}.ms-gallery .ms-object,.ms-gallery .ms-reflection{transform:scale(.63)}.ms-gallery .ms-mirror{height:112px}.ms-tape span,.ms-tape b{padding:7px 3px;font-size:.74rem}.ms-paper-left,.ms-paper-right{height:170px}.ms-fold-paper{height:230px}.ms-three-checks{grid-template-columns:1fr}.ms-choices button{width:100%;min-height:44px}.ms-relation-card>span{font-size:.66rem}.ms-mirror-drop{height:300px}.ms-drag-mirror{height:180px;top:58px}.ms-final-mirror{height:250px}}
@media(prefers-reduced-motion:reduce){.grade4-ms-board *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.ms-size-template{left:calc(50% - 176px);transition:left .55s ease}.ms-size-template.on-reflection{left:calc(50% + 84px)}
@media(max-width:820px){.ms-size-template{left:calc(50% - 152px)}.ms-size-template.on-reflection{left:calc(50% + 84px)}}
@media(max-width:900px) and (min-width:621px){.grade4-ms-shell{max-width:100%;overflow-x:hidden}.grade4-ms-shell .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px 12px}.grade4-ms-shell .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}.grade4-ms-shell .restart-lesson{grid-column:3;grid-row:1}.grade4-ms-shell .skip-section,.grade4-ms-shell .lesson-time{display:none}}
@media(max-height:760px) and (min-width:901px){.grade4-ms-shell .teacher-classroom{padding:8px 0 10px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade4-ms-shell .lesson-avatar{height:190px}.grade4-ms-shell .teacher-bubble{min-height:82px;max-height:126px;overflow:auto;margin-top:7px;padding:10px;font-size:11px;line-height:1.35}.grade4-ms-shell .narration-controls{margin-top:5px}.grade4-ms-shell .raise-hand{min-height:50px;padding:5px 10px}.grade4-ms-shell .teaching-area{width:min(100%,700px)}.grade4-ms-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade4-ms-shell .ms-scene{min-height:420px;padding:10px 16px 12px}.grade4-ms-shell .ms-scene>header{margin-bottom:8px}.grade4-ms-shell .ms-scene h1{font-size:1.35rem}.grade4-ms-shell .ms-rail{height:170px}.grade4-ms-shell .ms-mirror{height:130px}.grade4-ms-shell .ms-fold-paper{height:260px}.grade4-ms-shell .ms-paper-left,.grade4-ms-shell .ms-paper-right{height:190px}.grade4-ms-shell .ms-paper-left span,.grade4-ms-shell .ms-paper-right span{top:36px;width:62px;height:106px}.grade4-ms-shell .ms-paper-left span{right:12px}.grade4-ms-shell .ms-paper-right span{left:12px}.grade4-ms-shell .ms-final-mirror{height:230px}.grade4-ms-shell .ms-glass-token{top:20px;height:190px}.grade4-ms-shell .lesson-footer{min-height:56px;padding-top:5px}.grade4-ms-shell .ms-controls{width:100%}.grade4-ms-shell .ms-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}.grade4-ms-shell .ms-choices button{min-width:0;padding:6px;font-size:.78rem;white-space:normal}.grade4-ms-shell .ms-support-actions{margin-top:5px}}
.ms-rail>.ms-object{left:calc(50% - var(--ms-left-gap,var(--ms-gap)) - 92px)}.ms-rail>.ms-reflection{left:calc(50% + var(--ms-right-gap,var(--ms-gap)))}.ms-gallery .ms-object{left:calc(50% - 85px)}.ms-gallery .ms-reflection{left:calc(50% + 15px)}
@media(max-width:820px){.ms-rail>.ms-object{left:calc(50% - var(--ms-left-gap,var(--ms-gap)) - 68px)}.ms-gallery .ms-object{left:calc(50% - 113px)}.ms-gallery .ms-reflection{left:calc(50% + 45px)}}

/* grade4-construct-symmetry.css */
.grade4-cs-shell{--cs-ink:#17344a;--cs-blue:#247ba0;--cs-coral:#ef6f6c;--cs-gold:#f4c95d;--cs-mint:#68c5a7;--cs-violet:#6b5ca5}.grade4-cs-board{overflow-x:hidden;background:linear-gradient(145deg,#f5fbff,#fff9ef);color:var(--cs-ink)}
.cs-scene{min-height:520px;padding:18px clamp(12px,3vw,32px) 22px;box-sizing:border-box}.cs-scene>header{text-align:center;margin-bottom:12px}.cs-scene>header>span{display:inline-block;padding:5px 12px;border-radius:999px;background:#dff3f8;color:#17617e;font-size:.72rem;font-weight:900;letter-spacing:.08em}.cs-scene h1{margin:6px 0 0;font-size:clamp(1.22rem,3vw,1.9rem);line-height:1.16}.cs-workspace{width:min(100%,1020px);margin:auto}.cs-result{text-align:center;margin:12px auto 0;color:#16664f}.cs-result strong{display:inline-block;padding:9px 15px;border-radius:13px;background:#ddf4eb}.cs-controls{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}.cs-action,.cs-choices button,.cs-word-bank button,.cs-bridge-card{min-height:46px;border:2px solid #b8d9e7;border-radius:15px;background:#fff;color:var(--cs-ink);font:inherit;font-weight:800;cursor:pointer;box-shadow:0 5px 0 #d5e7ee;transition:transform .15s,border-color .15s,box-shadow .15s}.cs-action:hover,.cs-choices button:hover,.cs-word-bank button:hover,.cs-bridge-card:hover{transform:translateY(-2px);border-color:var(--cs-blue)}.cs-action.primary{background:#176d8c;color:#fff;border-color:#176d8c;box-shadow:0 5px 0 #0c4d65}.cs-choices{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.cs-choices button{padding:8px 16px}.cs-prompt{text-align:center;font-weight:800;margin:5px}.cs-support-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:9px}.cs-support-actions .cs-action{min-height:38px;padding:6px 11px;box-shadow:none;background:#f6fbfd}.cs-help{max-width:920px;margin:10px auto 0;padding:11px;border-radius:15px;background:#eff9fc;border:1px solid #b8dbe8}.cs-help>p{text-align:center;margin:0 0 8px;font-weight:700}.cs-alternative{display:grid;gap:8px}.cs-alternative>span{font-size:.7rem;font-weight:900;letter-spacing:.08em;color:#17617e}.cs-alternative>p{margin:0;text-align:center}.cs-narrating [data-cs-cue]{animation:csCuePulse 1.2s ease-in-out infinite alternate}@keyframes csCuePulse{to{filter:brightness(1.14);transform:translateY(-2px)}}
.cs-grid-shell{position:relative;width:min(100%,700px);margin:auto;border-radius:24px;overflow:hidden;border:2px solid #b8d6e3;box-shadow:0 12px 24px #193b4d1e;background:#fff}.cs-grid{display:block;width:100%;height:auto;max-height:355px;touch-action:none}.cs-grid-lines line{stroke:#cbdde4;stroke-width:1.3}.cs-axis{stroke:var(--cs-coral);stroke-width:7;stroke-dasharray:13 8;filter:drop-shadow(0 0 4px #ef6f6c66)}.cs-axis-label{font-size:11px;font-weight:900;fill:#a13e40;letter-spacing:.05em}.cs-source-node circle{fill:var(--cs-blue);stroke:#fff;stroke-width:4;filter:drop-shadow(0 4px 3px #173c4d55)}.cs-source-node text,.cs-built-node text,.cs-target-node text{font-size:15px;font-weight:900;fill:#17344a}.cs-built-node>circle:first-child{fill:var(--cs-mint);stroke:#fff;stroke-width:4}.cs-pulse{fill:none;stroke:#39a57f;stroke-width:3;animation:csPointPulse 1.1s ease-out infinite}@keyframes csPointPulse{0%{r:10;opacity:1}100%{r:23;opacity:0}}.cs-source-shape,.cs-built-shape{fill:none;stroke:var(--cs-blue);stroke-width:8;stroke-linecap:round;stroke-linejoin:round}.cs-built-shape{stroke:var(--cs-mint);animation:csDraw .45s ease both}@keyframes csDraw{from{stroke-dasharray:500;stroke-dashoffset:500}to{stroke-dasharray:500;stroke-dashoffset:0}}.cs-target-node{cursor:pointer;outline:none}.cs-hit{fill:#fff;fill-opacity:.001}.cs-target-ring{fill:#fff;stroke:#849da8;stroke-width:4;stroke-dasharray:5 4;transition:fill .15s,stroke .15s}.cs-target-node:hover .cs-target-ring,.cs-target-node:focus .cs-target-ring{stroke:var(--cs-gold);fill:#fff6c8}.cs-target-node.selected .cs-target-ring{stroke:var(--cs-mint);fill:#d9f3e9}.cs-drag-node{cursor:grab;outline:none}.cs-drag-node.dragging{cursor:grabbing}.cs-drag-node>circle:nth-child(2){fill:var(--cs-gold);stroke:#fff;stroke-width:4}.cs-drag-halo{fill:#fff0;stroke:#d39b0c;stroke-width:3;stroke-dasharray:5 4;animation:csHalo 1s ease-in-out infinite alternate}.cs-drag-node text{font-size:18px;font-weight:900;fill:#7d5b00}@keyframes csHalo{to{r:26;opacity:.55}}.cs-measure line{stroke:#8f4cbd;stroke-width:5;marker-end:none}.cs-measure text{font-size:14px;font-weight:900;fill:#64328a}.cs-measure.ok line{stroke:#24886b}.cs-measure.ok text{fill:#17684f}
.cs-point-lab,.cs-prior-bridge,.cs-route-lab,.cs-anchor-lab,.cs-segment-lab,.cs-contour-lab,.cs-detail-lab,.cs-error-lab,.cs-rug-lab,.cs-independent-lab{display:grid;gap:10px}.cs-live-coordinate,.cs-equation,.cs-route-key,.cs-distance-compare,.cs-detail-tag{justify-self:center;padding:8px 13px;border-radius:12px;background:#fff;border:1px solid #c9dce4;font-weight:900}.cs-equation{display:flex;gap:15px;align-items:center}.cs-equation i{font-size:1.6rem;color:var(--cs-coral)}.cs-theme-mirror{background:linear-gradient(90deg,#e7f5fa 0 49%,#fff4e5 51%)}.cs-theme-neon{background:radial-gradient(circle at 50% 50%,#edfbff,#e3f3f8)}.cs-theme-neon .cs-axis{filter:drop-shadow(0 0 8px #ef6f6c)}.cs-theme-sunset{background:linear-gradient(#fff0da,#ffe5e0)}.cs-theme-anchor{background:#fff8df}.cs-theme-quiet{background:#f5f7fa}.cs-theme-bridge{background:linear-gradient(#e6f5fb 0 70%,#d3eadb 70%)}.cs-theme-vitray{background:linear-gradient(135deg,#fff6df,#e8f4ff)}.cs-theme-leaf{background:linear-gradient(#e6f5ff,#f2f9e6)}.cs-theme-window{background:#edf4fa}.cs-theme-error{background:#fff0ee}.cs-theme-rug{background:#fff3db}.cs-theme-indigo{background:#eef0ff}.cs-theme-coral{background:#fff0ed}.cs-theme-final{background:linear-gradient(135deg,#edf8ff,#fff6dd)}
.cs-route{fill:none;stroke-width:8;stroke-linecap:round}.cs-route.correct{stroke:#2b9b77}.cs-route.diagonal{stroke:#f3a542;stroke-dasharray:10 7}.cs-route.parallel{stroke:#8899a4;stroke-dasharray:7 8}.cs-right-angle{fill:none;stroke:#2b9b77;stroke-width:5}.cs-route-key{display:flex;gap:18px}.cs-route-key span{display:flex;gap:5px;align-items:center}.cs-route-key span:before{content:'✓';color:#218262}.cs-anchor-pin circle{fill:var(--cs-gold);stroke:#9e7410;stroke-width:3}.cs-anchor-pin path{stroke:#7a5600;stroke-width:4}.cs-zero-badge{justify-self:center;display:grid;text-align:center;padding:10px 20px;border-radius:18px;background:#fff;border:2px solid var(--cs-gold)}.cs-zero-badge b{font-size:1.4rem}.cs-zero-badge span{font-size:.76rem}.cs-rule-machine{display:grid;gap:18px;max-width:860px;margin:auto}.cs-rule-belt{min-height:86px;padding:14px;border-radius:18px;border:3px dashed #89b9ca;background:#fff;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.cs-rule-belt span{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:11px;background:#e5f5f9;font-weight:800}.cs-rule-belt b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--cs-blue);color:#fff}.cs-rule-belt i{color:#728995}.cs-word-bank{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.cs-word-bank button{padding:8px 13px}.cs-rule-icons{display:flex;justify-content:center;gap:24px}.cs-rule-icons span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#fff0ca;font-size:1.8rem;font-weight:900;color:#875e00}
.cs-segment-lab>span,.cs-contour-lab>span,.cs-rug-lab>span,.cs-independent-lab>span{justify-self:center;padding:5px 11px;border-radius:999px;background:#e3f4f8;font-size:.72rem;font-weight:900}.cs-segment-log,.cs-restoration-log{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cs-segment-log b,.cs-restoration-log b,.cs-final-checks span{padding:9px;border-radius:11px;background:#eef3f5;text-align:center}.cs-segment-log .done,.cs-restoration-log .done,.cs-final-checks .done{background:#d9f2e7;color:#17684f}.cs-bridge-beam{stroke-width:12;filter:drop-shadow(0 5px 3px #31516244)}.cs-glass-fill{fill:#58b7d733;stroke:#3284a1;stroke-width:3}.cs-vitray .cs-grid:after{content:''}.cs-leaf-fill{fill:#7acb783c;stroke:#489044;stroke-width:4}.cs-house-outline{fill:none;stroke:#526b7a;stroke-width:8;stroke-linejoin:round}.cs-window-source{fill:#58b9d8;stroke:#246e8b;stroke-width:4}.cs-detail-tag{background:#dff3f8}.cs-wrong-cross path{stroke:#c54343;stroke-width:8;stroke-linecap:round}.cs-distance-compare{display:grid;grid-template-columns:auto auto auto;gap:12px;align-items:center}.cs-distance-compare i{color:#c54343;font-size:1.5rem}.cs-distance-compare span{grid-column:1/-1;text-align:center;color:#a13e40}
.cs-copy-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:820px;margin:auto}.cs-bridge-card{padding:9px;min-width:0}.cs-bridge-card svg{display:block;width:100%;height:auto;border-radius:13px;background:#edf7fb}.cs-mini-axis{stroke:var(--cs-coral);stroke-width:5;stroke-dasharray:8 6}.cs-mini-source{fill:#77b9d0;stroke:#246f8c;stroke-width:5}.cs-mini-copy{fill:#ef9b79;stroke:#a75036;stroke-width:5}.cs-copy-rule{grid-column:1/-1;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.cs-copy-rule span{padding:8px 12px;border-radius:11px;background:#fff;border:1px solid #cbdbe2;font-weight:800}.cs-rug-source{fill:#d3654e33;stroke:#b5523e;stroke-width:5}.cs-rug-motif{fill:#f4c95d;stroke:#916c12;stroke-width:4}.cs-alt-fold{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:8px}.cs-alt-fold span,.cs-alt-fold i,.cs-alt-fold b{padding:8px;border-radius:9px;text-align:center}.cs-alt-fold span{background:#dff3f8}.cs-alt-fold i{background:#fff0c6;font-style:normal}.cs-alt-fold b{background:#ef6f6c;color:#fff}.cs-alt-anchor{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.cs-alt-anchor i{border-top:4px solid #78a3b3}.cs-alt-anchor b{padding:12px;border-radius:50%;background:#f4c95d}.cs-alt-endpoints{display:grid;grid-template-columns:auto auto auto;gap:6px;justify-content:center}.cs-alt-endpoints span,.cs-alt-endpoints i{padding:6px 10px;border-radius:8px;background:#e6f4f8;font-style:normal}.cs-alt-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.cs-alt-proof span{padding:8px;border-radius:9px;background:#e8f4f7;text-align:center;font-size:.72rem;font-weight:900}
.cs-final{display:grid;gap:14px}.cs-final-checks{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.cs-final-proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:310px;align-items:center}.cs-final-proof>.cs-grid-shell,.cs-final-proof>.cs-final-sentence{grid-column:1/-1}.cs-final-sentence{display:grid;gap:12px;max-width:720px;margin:auto}.cs-final-sentence span{padding:15px 18px;border-radius:16px;background:#fff;border-left:8px solid var(--cs-mint);font-weight:900;animation:csProofIn .45s ease both}.cs-final-sentence span:nth-child(2){animation-delay:.12s}.cs-final-sentence span:nth-child(3){animation-delay:.24s}@keyframes csProofIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:none}}
@media(max-width:820px){.cs-scene{min-height:500px;padding:13px 8px 16px}.cs-scene>header{margin-bottom:8px}.cs-grid-shell{border-radius:17px}.cs-grid{max-height:310px}.cs-choices{display:grid;grid-template-columns:1fr;width:100%}.cs-choices button{width:100%;min-height:44px;padding:7px 10px}.cs-segment-log,.cs-restoration-log{grid-template-columns:1fr 1fr}.cs-segment-log b:last-child,.cs-restoration-log b:last-child{grid-column:1/-1}.cs-copy-compare{grid-template-columns:1fr}.cs-copy-rule{grid-column:1}.cs-route-key{font-size:.78rem}.cs-word-bank{display:grid}.cs-word-bank button{width:100%}.cs-rule-icons span{width:46px;height:46px}.cs-final-checks{grid-template-columns:1fr 1fr}.cs-final-proof{grid-template-columns:1fr;min-height:280px}.cs-alt-proof{grid-template-columns:1fr}.cs-distance-compare{font-size:.8rem}.cs-live-coordinate{font-size:.8rem}}
@media(max-width:430px){.cs-scene h1{font-size:1.1rem}.cs-scene>header>span{font-size:.64rem}.cs-grid{max-height:270px}.cs-support-actions{display:grid}.cs-support-actions .cs-action{width:100%}.cs-rule-belt{min-height:70px;padding:9px}.cs-rule-belt span{font-size:.75rem}.cs-route-key{display:grid;gap:5px}.cs-target-ring{stroke-width:5}.cs-final-checks span{font-size:.72rem;padding:7px}.cs-final-proof{min-height:250px}.cs-alt-fold{grid-template-columns:1fr}.cs-alt-fold b{border-radius:8px}.cs-distance-compare{grid-template-columns:1fr}.cs-distance-compare i{display:none}.cs-distance-compare span{grid-column:1}.cs-segment-log b,.cs-restoration-log b{font-size:.72rem}}
@media(max-width:900px) and (min-width:621px){.grade4-cs-shell{max-width:100%;overflow-x:hidden}.grade4-cs-shell .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px 12px}.grade4-cs-shell .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}.grade4-cs-shell .restart-lesson{grid-column:3;grid-row:1}.grade4-cs-shell .skip-section,.grade4-cs-shell .lesson-time{display:none}}
@media(max-height:760px) and (min-width:901px){.grade4-cs-shell .teacher-classroom{padding:8px 0 10px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade4-cs-shell .lesson-avatar{height:190px}.grade4-cs-shell .teacher-bubble{min-height:82px;max-height:126px;overflow:auto;margin-top:7px;padding:10px;font-size:11px;line-height:1.35}.grade4-cs-shell .narration-controls{margin-top:5px}.grade4-cs-shell .raise-hand{min-height:50px;padding:5px 10px}.grade4-cs-shell .teaching-area{width:min(100%,700px)}.grade4-cs-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade4-cs-shell .cs-scene{min-height:420px;padding:8px 14px 10px}.grade4-cs-shell .cs-scene>header{margin-bottom:5px}.grade4-cs-shell .cs-scene h1{font-size:1.25rem}.grade4-cs-shell .cs-grid{max-height:270px}.grade4-cs-shell .cs-workspace{max-height:310px}.grade4-cs-shell .cs-final-proof{min-height:260px}.grade4-cs-shell .lesson-footer{min-height:56px;padding-top:5px}.grade4-cs-shell .cs-controls{width:100%}.grade4-cs-shell .cs-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}.grade4-cs-shell .cs-choices button{min-width:0;padding:6px;font-size:.76rem;white-space:normal}.grade4-cs-shell .cs-support-actions{margin-top:5px}}
.cs-grid-shell{z-index:0}.cs-live-coordinate,.cs-distance-compare,.cs-final-checks{position:relative;z-index:2}
@media(prefers-reduced-motion:reduce){.grade4-cs-board *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* grade4-geometry-coding.css */
.grade4-gc-shell{--gc-ink:#183449;--gc-blue:#277da1;--gc-mint:#55b99a;--gc-gold:#f4bf4f;--gc-coral:#ef6f61;--gc-violet:#7466b4}.grade4-gc-board{overflow-x:hidden;background:linear-gradient(145deg,#f4fbff,#fff9ed);color:var(--gc-ink)}
.gc-scene{min-height:520px;padding:17px clamp(11px,3vw,30px) 21px;box-sizing:border-box}.gc-scene>header{text-align:center;margin-bottom:10px}.gc-scene>header>span{display:inline-block;padding:5px 12px;border-radius:999px;background:#dff3f8;color:#17617e;font-size:.72rem;font-weight:900;letter-spacing:.08em}.gc-scene h1{margin:6px 0 0;font-size:clamp(1.2rem,3vw,1.85rem);line-height:1.16}.gc-workspace{width:min(100%,1040px);margin:auto}.gc-result{text-align:center;margin:10px auto 0;color:#16664f}.gc-result strong{display:inline-block;padding:9px 15px;border-radius:13px;background:#ddf4eb}.gc-controls{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}.gc-action,.gc-choices button,.gc-command-bank button,.gc-card-stack button,.gc-final-rail button,.gc-final-contact button{min-height:46px;border:2px solid #b8d9e7;border-radius:15px;background:#fff;color:var(--gc-ink);font:inherit;font-weight:800;cursor:pointer;box-shadow:0 5px 0 #d5e7ee;transition:transform .15s,border-color .15s,box-shadow .15s}.gc-action:hover,.gc-choices button:hover,.gc-command-bank button:hover,.gc-card-stack button:hover,.gc-final-rail button:hover,.gc-final-contact button:hover{transform:translateY(-2px);border-color:var(--gc-blue)}.gc-action.primary,.gc-final-rail button,.gc-final-contact button{background:#176d8c;color:#fff;border-color:#176d8c;box-shadow:0 5px 0 #0c4d65}.gc-choices{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.gc-choices button{padding:8px 15px}.gc-prompt{text-align:center;font-weight:800;margin:5px}.gc-support-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:9px}.gc-support-actions .gc-action{min-height:38px;padding:6px 11px;box-shadow:none;background:#f6fbfd}.gc-help{max-width:920px;margin:10px auto 0;padding:11px;border-radius:15px;background:#eff9fc;border:1px solid #b8dbe8}.gc-help>p{text-align:center;margin:0 0 8px;font-weight:700}.gc-alternative{display:grid;gap:8px}.gc-alternative>span{font-size:.7rem;font-weight:900;letter-spacing:.08em;color:#17617e}.gc-alternative>p{margin:0;text-align:center}.gc-narrating [data-gc-cue]{animation:gcCuePulse 1.2s ease-in-out infinite alternate}@keyframes gcCuePulse{to{filter:brightness(1.14);transform:translateY(-2px)}}
.gc-structure-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:min(100%,820px);margin:auto;border:2px solid #bdd7df;border-radius:23px;background:linear-gradient(#edf9ff 0 52%,#f7f0da 52%);overflow:hidden;box-shadow:0 12px 24px #193b4d1d}.gc-structure{display:block;width:100%;height:auto;max-height:315px;touch-action:none}.gc-ground{fill:url(#gc-ground);stroke:#75aa9b;stroke-width:3}.gc-block{filter:drop-shadow(0 7px 5px #18344935);transition:opacity .2s,filter .2s}.gc-block text{font-size:10px;font-weight:900;text-anchor:middle;fill:#183449;pointer-events:none}.gc-face{stroke-width:2.5}.gc-tone-blue .gc-front{fill:#68b8d4}.gc-tone-blue .gc-top{fill:#a5dceb}.gc-tone-blue .gc-side{fill:#3988aa}.gc-tone-violet .gc-front{fill:#a89cdb}.gc-tone-violet .gc-top{fill:#d2cbef}.gc-tone-violet .gc-side{fill:#7362b3}.gc-tone-gold .gc-front{fill:#f6c85f}.gc-tone-gold .gc-top{fill:#ffe7a5}.gc-tone-gold .gc-side{fill:#d79929}.gc-tone-coral .gc-front{fill:#ef8d7f}.gc-tone-coral .gc-top{fill:#ffc5b9}.gc-tone-coral .gc-side{fill:#ca594c}.gc-tone-mint .gc-front{fill:#70c7ab}.gc-tone-mint .gc-top{fill:#b6ead9}.gc-tone-mint .gc-side{fill:#3b9b7c}.gc-tone-orange .gc-front{fill:#ef9d55}.gc-tone-orange .gc-top{fill:#ffd0a0}.gc-tone-orange .gc-side{fill:#c86d27}.gc-block.active{filter:drop-shadow(0 0 10px #f4bf4f) drop-shadow(0 6px 4px #18344935);animation:gcBlockActive .75s ease-in-out infinite alternate}@keyframes gcBlockActive{to{transform:translateY(-4px)}}.gc-block.ghost{filter:none;cursor:pointer}.gc-block.ghost .gc-face{fill:#fff9;stroke:#4c8196;stroke-width:3;stroke-dasharray:9 7}.gc-block.ghost text{fill:#31596b}.gc-block.ghost:hover .gc-face,.gc-block.ghost:focus .gc-face{fill:#fff5c9cc;stroke:#ca8a10}.gc-target-hit{fill:#fff;fill-opacity:.001;stroke:none}.gc-block.fault{filter:drop-shadow(17px 0 0 #ef6f613d)}.gc-block.fault .gc-face{stroke:#c33e35;stroke-width:5}.gc-contact-line{stroke:#4aa98b;stroke-width:4;stroke-dasharray:8 7;opacity:.65}.gc-contact{stroke:#fff;stroke-width:3}.gc-contact.ok{fill:#37a47e}.gc-contact.bad{fill:#d9473f;animation:gcBad .6s ease-in-out infinite alternate}@keyframes gcBad{to{r:15}}.gc-block[data-gc-drag]{cursor:grab;outline:none}.gc-block[data-gc-drag].dragging{cursor:grabbing;filter:drop-shadow(0 12px 8px #18344966)}.gc-live-trace{margin:8px 10px 8px 0;padding:0;list-style:none;display:grid;gap:6px;min-width:180px}.gc-live-trace li{display:flex;align-items:center;gap:7px;padding:7px;border-radius:10px;background:#fff;border:1px solid #cbdde4;font-size:.72rem;font-weight:800}.gc-live-trace b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#8ca4ae;color:#fff}.gc-live-trace li.active{border-color:var(--gc-gold);background:#fff8d9}.gc-live-trace li.active b{background:#c48910}
.gc-xray,.gc-role-yard,.gc-blueprint,.gc-placement-lab,.gc-dependency,.gc-repeat-lab,.gc-connector-lab,.gc-reverse-read,.gc-execution,.gc-fault-lab,.gc-repair,.gc-independent-build{display:grid;gap:9px}.gc-relation-chain,.gc-repeat-trace,.gc-role-callout,.gc-blueprint-log,.gc-running-command,.gc-fault-zoom,.gc-patch-card{justify-self:center;display:flex;align-items:center;gap:10px;padding:8px 13px;border-radius:13px;background:#fff;border:1px solid #c8dce4;font-weight:800}.gc-relation-chain span{display:grid;text-align:center;font-size:1.45rem}.gc-relation-chain b{font-size:.7rem}.gc-relation-chain i,.gc-repeat-trace i{font-size:1.5rem;color:var(--gc-coral)}.gc-face-lab{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:center;max-width:850px;margin:auto}.gc-shape-token{display:grid;place-items:center;gap:12px;padding:20px;border-radius:22px;background:#fff4c9;border:2px solid #e5b740}.gc-shape-token span{display:block;width:90px;height:76px;background:#5dafca;border:5px solid #277da1}.gc-shape-token .shape-0{width:76px}.gc-shape-token .shape-2{width:0;height:0;background:none;border-left:47px solid transparent;border-right:47px solid transparent;border-bottom:82px solid #5dafca;border-top:0}.gc-solid-carousel{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gc-solid{display:grid;place-items:center;min-height:145px;border-radius:20px;background:#eaf6fa;border:2px solid #a9cedc;text-align:center;font-size:.72rem;font-weight:900;position:relative}.gc-solid:before{content:'';width:62px;height:62px;background:#65b4ce;box-shadow:14px -14px 0 #a8d9e7;transform:skewY(-8deg);margin-bottom:8px}.gc-solid.prism:before{width:90px}.gc-solid.tri:before{width:0;height:0;background:none;box-shadow:none;border-left:42px solid transparent;border-right:42px solid transparent;border-bottom:70px solid #9b8bd3;transform:none}.gc-match-log{grid-column:1/-1;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.gc-match-log span,.gc-independent-log b{padding:7px 10px;border-radius:10px;background:#dff4eb;color:#17664f;font-size:.75rem}.gc-role-callout,.gc-blueprint-log{display:grid;text-align:center}.gc-blueprint-log span{color:#17664f}.gc-blueprint-log b{color:#704f00}.gc-placement-lab>span,.gc-independent-build>span{justify-self:center;padding:5px 11px;border-radius:999px;background:#e3f4f8;font-size:.72rem;font-weight:900}.gc-command-bank,.gc-card-stack{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.gc-command-bank button,.gc-card-stack button{padding:7px 11px}.gc-repeat-card{justify-self:center;display:flex;align-items:center;gap:12px;padding:10px 18px;border-radius:18px;background:#fff;border:3px solid var(--gc-gold);font-weight:900}.gc-repeat-card b{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--gc-gold);font-size:1.35rem}.gc-repeat-trace span{padding:6px 10px;border-radius:9px;background:#e5f5f9}.gc-contact-meter{justify-self:center;display:grid;grid-template-columns:auto 160px auto;align-items:center;gap:8px;font-size:.72rem;font-weight:900}.gc-contact-meter i{border-top:6px solid #55b99a;position:relative}.gc-contact-meter i:before,.gc-contact-meter i:after{content:'';position:absolute;top:-9px;width:14px;height:14px;border-radius:50%;background:#55b99a}.gc-contact-meter i:before{left:0}.gc-contact-meter i:after{right:0}.gc-rewind,.gc-rail{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.gc-rewind span,.gc-rail span,.gc-rail i{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #bdd7df;font-size:.75rem;font-weight:800}.gc-rewind b,.gc-rail b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--gc-blue);color:#fff}.gc-rewind>i{padding:12px;font-style:normal;font-weight:900;color:#627b86}.gc-command-rail{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);gap:18px;align-items:center;max-width:950px;margin:auto}.gc-rail{min-height:230px;padding:16px;border:3px dashed #7cb3c6;border-radius:22px;background:#eaf7fb;align-content:center}.gc-rail span,.gc-rail i{width:100%;justify-content:flex-start}.gc-rail i{color:#718894;font-style:normal}.gc-card-stack{display:grid}.gc-running-command b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--gc-gold)}
.gc-fault-zoom{display:grid;text-align:center;border-color:#ef9b92;background:#fff0ed}.gc-fault-zoom i{color:#b93b32}.gc-trace-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gc-trace-compare>div{display:grid;text-align:center;gap:5px}.gc-trace-compare>div>b{font-size:.7rem;letter-spacing:.08em}.gc-trace-compare .gc-structure-shell{grid-template-columns:1fr}.gc-trace-compare ol{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;list-style:none;margin:0;padding:0}.gc-trace-compare li{padding:8px;border-radius:10px;background:#e6f4ee;text-align:center;font-size:.7rem;font-weight:800}.gc-trace-compare li.bad{background:#ffe1dc;color:#a93a32;border:2px solid #ef776b}.gc-patch-card{display:grid;text-align:center}.gc-patch-card del{color:#a94038}.gc-patch-card ins{color:#176a50;font-weight:900}.gc-strategy-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:900px;margin:auto}.gc-strategy-compare article{display:grid;gap:12px;padding:20px;border-radius:22px;background:#fff0ed;border:2px solid #efaaa2;text-align:center}.gc-strategy-compare article.clear{background:#e6f7f1;border-color:#78c8ad}.gc-strategy-compare article>b{font-size:1.1rem}.gc-strategy-compare article>span{font-size:.75rem;font-weight:800}.mini-rail{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.mini-rail i{padding:8px;border-radius:9px;background:#fff;font-style:normal;font-size:.72rem;font-weight:800}.gc-independent-log{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.gc-final{display:grid;gap:12px}.gc-final-checks{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gc-final-checks span{padding:9px;border-radius:11px;background:#eef3f5;text-align:center;font-weight:800}.gc-final-checks .done{background:#d9f2e7;color:#17684f}.gc-final-panel{min-height:315px;display:grid;align-items:center}.gc-final-rail,.gc-final-contact,.gc-final-explain{display:grid;gap:12px;max-width:760px;margin:auto;width:100%}.gc-final-rail span,.gc-final-explain span{padding:14px;border-radius:14px;background:#fff;border-left:8px solid var(--gc-mint);font-weight:900}.gc-final-contact button,.gc-final-rail button{justify-self:center;padding:8px 14px}.gc-alt-map{display:grid;grid-template-columns:auto auto auto auto auto;justify-content:center;align-items:center;gap:7px}.gc-alt-map span,.gc-alt-map i,.gc-alt-debug span,.gc-alt-debug i,.gc-alt-debug b{padding:7px 10px;border-radius:9px;background:#e5f5f9;font-style:normal;font-weight:800}.gc-alt-stack{display:grid;max-width:330px;margin:auto}.gc-alt-stack span{padding:7px;text-align:center;background:#fff1c6;border:1px solid #d7a52d;font-weight:800}.gc-alt-debug{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.gc-alt-debug b{background:#ffe0da;color:#9d3b34}
@media(max-width:820px){.gc-scene{min-height:0;padding:12px 7px 15px}.gc-scene>header{margin-bottom:7px}.gc-structure-shell{border-radius:17px;grid-template-columns:1fr}.gc-structure{max-height:280px}.gc-live-trace{grid-template-columns:1fr 1fr;margin:0 8px 8px}.gc-choices{display:grid;grid-template-columns:1fr;width:100%}.gc-choices button{width:100%;min-height:44px;padding:7px 9px}.gc-face-lab{grid-template-columns:1fr}.gc-shape-token{padding:10px}.gc-solid{min-height:110px}.gc-command-rail,.gc-trace-compare,.gc-strategy-compare{grid-template-columns:1fr}.gc-trace-compare ol{grid-template-columns:1fr 1fr}.gc-final-checks{grid-template-columns:1fr 1fr}.gc-final-panel{min-height:0}.gc-relation-chain{font-size:.72rem}.gc-relation-chain span{font-size:1rem}.gc-command-bank button{width:100%}.gc-contact-meter{grid-template-columns:auto 90px auto}}
@media(max-width:430px){.gc-scene h1{font-size:1.08rem}.gc-scene>header>span{font-size:.62rem}.gc-structure{max-height:245px}.gc-support-actions{display:grid}.gc-support-actions .gc-action{width:100%}.gc-solid-carousel{grid-template-columns:1fr 1fr}.gc-solid:last-child{grid-column:1/-1}.gc-solid{min-height:82px}.gc-solid:before{width:44px;height:44px}.gc-relation-chain{display:grid;grid-template-columns:1fr}.gc-relation-chain i{display:none}.gc-repeat-trace{font-size:.7rem}.gc-trace-compare ol{grid-template-columns:1fr}.gc-final-checks span{font-size:.72rem;padding:7px}.gc-alt-map{grid-template-columns:1fr}.gc-alt-map i{display:none}.gc-live-trace{grid-template-columns:1fr}.gc-command-rail{gap:8px}.gc-rail{min-height:140px;padding:10px}.gc-choices button{font-size:.78rem}}
@media(max-width:900px) and (min-width:621px){.grade4-gc-shell{max-width:100%;overflow-x:hidden}.grade4-gc-shell .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px 12px}.grade4-gc-shell .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}.grade4-gc-shell .restart-lesson{grid-column:3;grid-row:1}.grade4-gc-shell .skip-section,.grade4-gc-shell .lesson-time{display:none}}
@media(max-height:760px) and (min-width:901px){.grade4-gc-shell .teacher-classroom{padding:8px 0 10px;grid-template-columns:230px minmax(0,700px);gap:18px}.grade4-gc-shell .lesson-avatar{height:190px}.grade4-gc-shell .teacher-bubble{min-height:82px;max-height:126px;overflow:auto;margin-top:7px;padding:10px;font-size:11px;line-height:1.35}.grade4-gc-shell .narration-controls{margin-top:5px}.grade4-gc-shell .raise-hand{min-height:50px;padding:5px 10px}.grade4-gc-shell .teaching-area{width:min(100%,700px)}.grade4-gc-shell .lesson-screen-meta{min-height:27px;padding-bottom:4px}.grade4-gc-shell .gc-scene{min-height:420px;padding:7px 12px 9px}.grade4-gc-shell .gc-scene>header{margin-bottom:4px}.grade4-gc-shell .gc-scene h1{font-size:1.2rem}.grade4-gc-shell .gc-structure{max-height:245px}.grade4-gc-shell .gc-workspace{max-height:310px}.grade4-gc-shell .gc-final-panel{min-height:245px}.grade4-gc-shell .lesson-footer{min-height:56px;padding-top:5px}.grade4-gc-shell .gc-controls{width:100%}.grade4-gc-shell .gc-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}.grade4-gc-shell .gc-choices button{min-width:0;padding:6px;font-size:.73rem;white-space:normal}.grade4-gc-shell .gc-support-actions{margin-top:5px}}
.gc-action:hover,.gc-choices button:hover,.gc-command-bank button:hover,.gc-card-stack button:hover,.gc-final-rail button:hover,.gc-final-contact button:hover,.gc-action:focus-visible,.gc-choices button:focus-visible,.gc-command-bank button:focus-visible,.gc-card-stack button:focus-visible,.gc-final-rail button:focus-visible,.gc-final-contact button:focus-visible{border-color:#e99b22;box-shadow:0 0 0 4px #f4bf4f55,0 5px 0 #d5e7ee;outline:none}
@media(prefers-reduced-motion:reduce){.grade4-gc-board *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* grade4-probability-language.css */
.grade4-pl-board{--pl-blue:#277eaa;--pl-yellow:#f4bd45;--pl-coral:#ea7868;--pl-green:#69b391;--pl-ink:#173b4a;color:var(--pl-ink);overflow:hidden}.pl-scene{box-sizing:border-box;min-height:520px;padding:16px clamp(10px,3vw,28px) 20px;background:linear-gradient(145deg,#f5fbfd,#e7f6f8)}.pl-scene>header{text-align:center;margin-bottom:9px}.pl-scene>header>span{display:inline-block;padding:5px 12px;border-radius:999px;background:#d7eef5;color:#17617e;font-size:.72rem;font-weight:900;letter-spacing:.08em}.pl-scene h1{margin:6px 0 0;font-size:clamp(1.18rem,3vw,1.8rem);line-height:1.15}.pl-workspace{width:min(100%,1000px);margin:auto}.pl-result{text-align:center;margin-top:10px;color:#176650}.pl-result strong{display:inline-block;padding:9px 14px;border-radius:13px;background:#d9f1e8}.pl-controls,.pl-support-actions{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}.pl-action,.pl-choices button,.pl-bins button,.pl-card-stack button{min-height:46px;padding:8px 14px;border:2px solid #b7d6e1;border-radius:15px;background:#fff;color:var(--pl-ink);font:inherit;font-weight:850;cursor:pointer;box-shadow:0 5px 0 #d3e4ea;transition:.16s transform,.16s border-color,.16s box-shadow}.pl-action.primary{background:#176d8c;color:#fff;border-color:#176d8c;box-shadow:0 5px 0 #0d5068}.pl-action:hover,.pl-choices button:hover,.pl-bins button:hover,.pl-card-stack button:hover,.pl-action:focus-visible,.pl-choices button:focus-visible,.pl-bins button:focus-visible,.pl-card-stack button:focus-visible{transform:translateY(-2px);border-color:#e99b22;box-shadow:0 0 0 4px #f4bf4f55,0 5px 0 #d3e4ea;outline:none}.pl-choices{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.pl-support-actions{margin-top:9px}.pl-support-actions .pl-action{min-height:38px;padding:6px 11px;box-shadow:none;background:#f7fbfd}.pl-help{max-width:920px;margin:9px auto 0;padding:10px;border:1px solid #b8dae6;border-radius:15px;background:#f0f9fc}.pl-help>p,.pl-prompt{text-align:center;margin:2px;font-weight:800}.pl-alternate{display:grid;gap:7px}.pl-alternate>span{text-align:center;font-size:.7rem;font-weight:900;color:#17617e;letter-spacing:.08em}.pl-alternate>p{text-align:center;margin:0}.pl-alt-scale{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pl-alt-scale b{padding:8px;border-radius:11px;background:#fff;text-align:center}.pl-alt-arrow{text-align:center;font-weight:900;color:#17617e}.pl-narrating [data-pl-cue]{animation:plCue 1s ease-in-out infinite alternate}@keyframes plCue{to{filter:brightness(1.12);transform:scale(1.04)}}
.pl-bag-lab,.pl-mixed-lab,.pl-prediction-lab,.pl-draw-lab,.pl-trace-analysis,.pl-spinner-inspect,.pl-spin-lab,.pl-error-lab,.pl-curtain-lab,.pl-capsule-lab,.pl-independent-lab,.pl-final-machine,.pl-final-proof{display:grid;place-items:center;gap:10px}.pl-bag{position:relative;width:min(360px,82vw);height:245px;border:6px solid #79b7cb;border-top-width:18px;border-radius:28px 28px 72px 72px;background:linear-gradient(#e8f8fc99,#bce5ef88);box-shadow:inset 0 -20px 34px #79b7cb33,0 12px 24px #23607b22;overflow:hidden}.pl-bag:before{content:'';position:absolute;left:20%;right:20%;top:-8px;height:15px;border-radius:99px;background:#397f99}.pl-bag>b{position:absolute;inset:auto 0 8px;text-align:center;font-size:.7rem;letter-spacing:.12em;color:#27627a}.pl-bag>i{position:absolute;width:54px;height:54px;border-radius:12px;box-shadow:inset -8px -8px 0 #0002,0 8px 10px #164b6522}.pl-bag>i:nth-of-type(1){left:14%;top:48px;transform:rotate(-11deg)}.pl-bag>i:nth-of-type(2){left:40%;top:116px;transform:rotate(7deg)}.pl-bag>i:nth-of-type(3){left:67%;top:48px;transform:rotate(-4deg)}.pl-bag>i:nth-of-type(4){left:14%;top:120px;transform:rotate(10deg)}.pl-bag>i:nth-of-type(5){left:67%;top:118px;transform:rotate(-8deg)}.pl-bag>i.blue,.pl-chute i.blue,.pl-trial-strip .blue,.pl-prediction-slot .blue{background:var(--pl-blue)}.pl-bag>i.yellow,.pl-chute i.yellow,.pl-trial-strip .yellow,.pl-prediction-slot .yellow{background:var(--pl-yellow)}.pl-event-card{padding:11px 17px;border:3px solid #8dbdce;border-radius:16px;background:#fff;font-weight:900;text-align:center;box-shadow:0 7px 0 #cfe3e9}.pl-event-card.red{border-color:var(--pl-coral)}.pl-event-card.all{border-color:var(--pl-green)}.pl-proof-lights{display:flex;gap:8px;align-items:center}.pl-proof-lights i{width:27px;height:27px;border-radius:50%;background:#f6ddd8;border:3px solid var(--pl-coral)}.pl-proof-lights.all i{background:#d6eee4;border-color:var(--pl-green)}.pl-proof-lights b{font-size:.8rem}.pl-speech-radar{display:grid;grid-template-columns:1fr 300px;gap:22px;align-items:center;max-width:850px;margin:auto}.pl-bubble{padding:34px;border-radius:28px 28px 28px 5px;background:#fff;border:3px solid #a4cfdd;font-size:clamp(1.1rem,3vw,1.7rem);font-weight:900}.pl-radar{position:relative;height:260px;border-radius:50% 50% 20px 20px;background:conic-gradient(from 270deg,#ea7868,#f4bd45,#69b391);overflow:hidden}.pl-radar i{position:absolute;left:50%;bottom:0;width:8px;height:110px;background:#173b4a;transform-origin:bottom;transform:rotate(0deg);border-radius:9px}.pl-radar span{position:absolute;bottom:15px;font-weight:900}.pl-radar span:nth-of-type(1){left:8px}.pl-radar span:nth-of-type(2){left:43%}.pl-radar span:nth-of-type(3){right:7px}.pl-gate-lab{display:grid;grid-template-columns:380px 1fr;grid-template-rows:auto auto;gap:15px;align-items:center}.pl-gate-lab>.pl-bag{grid-column:1;grid-row:1/3}.pl-drag-card{grid-column:2;grid-row:1;justify-self:center;padding:18px;border-radius:18px;background:#fff3c8;border:3px solid #dca72e;font-weight:900;cursor:grab;touch-action:none;z-index:8}.pl-drag-card.dragging{cursor:grabbing;opacity:.9}.pl-gate-lab>.pl-bins{grid-column:2;grid-row:2}.pl-bins{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}.pl-bins button{display:grid;place-items:center;min-height:90px;text-transform:uppercase}.pl-bins button span{font-size:1.5rem}.pl-bins button.active{border-style:dashed}.pl-mini-trace{grid-column:1/-1;display:flex;justify-content:center;gap:8px}.pl-mini-trace b{padding:7px 10px;border-radius:10px;background:#d9f1e8}.pl-question-orbit{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}.pl-question-orbit span,.pl-question-orbit b{padding:9px 13px;border-radius:12px;background:#fff}.pl-question-orbit b{background:#fff0bd}.pl-prediction-slot{min-width:250px;min-height:65px;display:grid;place-items:center;border:3px dashed #76aec1;border-radius:18px;background:#fff8}.pl-prediction-slot b{padding:12px;border-radius:12px;color:#fff}.pl-chute{display:flex;align-items:center;gap:10px;padding:10px 20px;border-radius:18px;background:#fff;border:3px solid #b0d2dd}.pl-chute i{width:44px;height:44px;border-radius:10px}.pl-chute span{font-weight:900}.pl-trial-strip{display:flex;gap:9px}.pl-trial-strip b,.pl-trial-strip i{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;border:2px solid #a8cbd7;font-style:normal;font-weight:900}.pl-trial-strip b{color:#fff}.pl-versus{display:flex;align-items:center;gap:9px;font-weight:900}.pl-versus i{font-size:1.7rem;color:var(--pl-coral)}
.pl-spinner-shell{position:relative;width:250px;height:270px}.pl-spinner{position:absolute;inset:20px 0 0;width:250px;height:250px;border-radius:50%;border:8px solid #fff;box-shadow:0 0 0 4px #30758f,0 12px 20px #17445933;transform:rotate(var(--turn));transition:transform 1s cubic-bezier(.2,.75,.25,1)}.pl-spinner span{position:absolute;left:108px;top:16px;font-weight:950;font-size:1.2rem;color:#fff;text-shadow:0 2px 2px #0005;transform-origin:17px 100px;transform:rotate(var(--a))}.pl-pointer{position:absolute;z-index:3;top:0;left:108px;font-size:2.1rem;color:#173b4a}.pl-hub{position:absolute;z-index:4;left:108px;top:128px;width:36px;height:36px;border-radius:50%;background:#fff;border:7px solid #245e76}.pl-spinner-shell.independent{filter:saturate(.92)}.pl-daily-stage{display:grid;grid-template-columns:1.2fr .8fr;gap:15px;align-items:center}.pl-calendar{padding:22px;border-radius:18px;background:#fff;border:3px solid #9ccbd9;word-spacing:12px;font-weight:800}.pl-calendar b{padding:7px;border-radius:9px;background:#f4bd45}.pl-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pl-menu i{padding:20px 10px;border-radius:50%;background:#dbeef3;text-align:center;font-style:normal;font-weight:900}.pl-daily-stage .pl-event-card{grid-column:1/-1}.pl-wrong-claim{padding:22px;border-radius:20px;background:#fde1dc;border:3px solid var(--pl-coral);font-weight:900;text-align:center}.pl-magnifier{font-size:4rem;color:#277eaa}.pl-curtain{width:min(500px,88vw);min-height:250px;display:grid;place-items:center;border-radius:24px;border:5px solid #6954a2;font-weight:950;letter-spacing:.08em}.pl-curtain.closed{background:repeating-linear-gradient(90deg,#8b72c0 0 34px,#765eaa 34px 68px);color:#fff}.pl-curtain.open{grid-template-columns:repeat(3,1fr);background:#fff7d9}.pl-curtain.open i{font-size:4rem;color:#e99928}.pl-machine{display:grid;grid-template-columns:repeat(4,70px);gap:10px;padding:24px 24px 70px;border-radius:28px;background:#d9eef4;border:4px solid #4b91aa;position:relative}.pl-machine i{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#fff3bd;font-size:2.2rem;font-style:normal}.pl-machine span{position:absolute;bottom:13px;left:35%;right:35%;padding:8px;border-radius:10px;background:#176d8c;color:#fff;text-align:center;font-weight:900}.pl-sentence-builder{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:center}.pl-sentence-rail,.pl-card-stack{display:grid;gap:8px}.pl-sentence-rail span,.pl-sentence-rail i{display:flex;gap:8px;align-items:center;min-height:46px;padding:8px;border-radius:12px;background:#fff;border:2px solid #b7d5df;font-style:normal;font-weight:800}.pl-sentence-rail b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#176d8c;color:#fff}.pl-final-checks{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:10px}.pl-final-checks span{padding:9px;border-radius:12px;background:#fff;border:2px solid #bdd7df;text-align:center;font-weight:900}.pl-final-checks .done{background:#d8f1e7;border-color:#69b391}.pl-final-panel{min-height:310px;display:grid;place-items:center}.pl-final-proof span{padding:10px;border-radius:12px;background:#fff;font-weight:900}
@media(max-width:820px){.pl-scene{min-height:0;padding:12px 7px 15px}.pl-speech-radar,.pl-gate-lab,.pl-sentence-builder,.pl-daily-stage{grid-template-columns:1fr}.pl-radar{height:185px}.pl-radar i{height:75px}.pl-gate-lab>.pl-bag,.pl-gate-lab>.pl-drag-card,.pl-gate-lab>.pl-bins{grid-column:1;grid-row:auto}.pl-gate-lab .pl-bag{width:min(330px,86vw)}.pl-bins{grid-template-columns:1fr 1fr 1fr}.pl-bins button{min-height:72px;padding:6px;font-size:.73rem}.pl-machine{grid-template-columns:repeat(4,55px)}.pl-machine i{width:55px;height:55px}.pl-final-checks{grid-template-columns:1fr 1fr}.pl-final-panel{min-height:0}.pl-choices{display:grid;grid-template-columns:1fr;width:100%}.pl-choices button{width:100%;min-height:44px}.pl-bag{height:205px}.pl-bag>i{width:46px;height:46px}.pl-bag>i:nth-of-type(1),.pl-bag>i:nth-of-type(3){top:38px}.pl-bag>i:nth-of-type(2),.pl-bag>i:nth-of-type(4),.pl-bag>i:nth-of-type(5){top:105px}.pl-spinner-shell{transform:scale(.82);margin:-20px 0}.pl-support-actions{display:grid}.pl-support-actions .pl-action{width:100%}.pl-alt-scale{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:430px){.pl-scene h1{font-size:1.06rem}.pl-scene>header>span{font-size:.61rem}.pl-bag{height:180px}.pl-bag>i{width:42px;height:42px}.pl-bag>i:nth-of-type(1),.pl-bag>i:nth-of-type(3){top:32px}.pl-bag>i:nth-of-type(2),.pl-bag>i:nth-of-type(4),.pl-bag>i:nth-of-type(5){top:88px}.pl-bins{grid-template-columns:1fr}.pl-bins button{min-height:46px;display:flex;gap:8px}.pl-machine{grid-template-columns:repeat(2,58px);padding-bottom:64px}.pl-machine i{width:58px;height:58px}.pl-final-checks span{font-size:.72rem}.pl-sentence-rail span{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.grade4-pl-board *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.pl-bag{box-sizing:border-box;width:min(360px,100%)}
@media(min-width:761px){.pl-gate-lab{grid-template-columns:minmax(210px,46%) minmax(0,1fr);width:100%;max-width:760px;margin:auto}}
.pl-speech-radar{grid-template-columns:minmax(0,1fr) minmax(180px,44%);width:100%}
.pl-bubble{box-sizing:border-box;min-width:0;padding:clamp(18px,3vw,28px)}
.pl-curtain{box-sizing:border-box;width:100%;max-width:500px}
@media(min-width:761px){.pl-gate-lab>.pl-bins button{min-width:0;padding:6px 2px;font-size:.66rem;overflow-wrap:anywhere}.pl-gate-lab>.pl-bins button span{font-size:1.25rem}}
.pl-bubble{font-size:1.05rem;overflow-wrap:anywhere}
.pl-radar span{bottom:13px;width:33%;font-size:.62rem;text-align:center}
.pl-radar span:nth-of-type(1){left:0}
.pl-radar span:nth-of-type(2){left:33%}
.pl-radar span:nth-of-type(3){right:0}
@media(min-width:761px){.pl-gate-lab>.pl-bins{grid-column:1/-1;grid-row:3}.pl-gate-lab>.pl-bins button{padding:6px;font-size:.8rem;overflow-wrap:normal}.pl-gate-lab>.pl-mini-trace{grid-row:4}}
.pl-workspace.pl-idle-focus{border-radius:22px;box-shadow:0 0 0 5px #f4bf4f88,inset 0 0 0 3px #fff;transition:box-shadow .18s ease}
.pl-action.pl-idle-focus{border-color:#e99b22;box-shadow:0 0 0 4px #f4bf4f55}

/* grade4-data-research.css */
.grade4-dr-board{--dr-navy:#17384b;--dr-blue:#287fa3;--dr-teal:#5eb5a5;--dr-yellow:#f2bf4b;--dr-coral:#e97868;--dr-paper:#fffdf7;color:var(--dr-navy);overflow:hidden}.dr-scene{box-sizing:border-box;min-height:520px;padding:14px clamp(9px,2.6vw,26px) 18px;background:linear-gradient(145deg,#f6fbfc,#e8f5f3)}.dr-scene>header{text-align:center;margin-bottom:9px}.dr-scene>header>span{display:inline-block;padding:5px 12px;border-radius:999px;background:#d8edf2;color:#17607d;font-size:.7rem;font-weight:950;letter-spacing:.09em}.dr-scene h1{margin:6px 0 0;font-size:clamp(1.12rem,3vw,1.75rem);line-height:1.15}.dr-workspace{width:min(100%,1020px);margin:auto}.dr-result{text-align:center;margin-top:10px}.dr-result strong{display:inline-block;padding:9px 14px;border-radius:13px;background:#d8efe8;color:#176650}.dr-controls,.dr-support-actions,.dr-choices{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}.dr-action,.dr-choices button,.dr-sort-bins button,.dr-tally-options button,.dr-parts button{min-height:46px;padding:8px 14px;border:2px solid #b5d3dc;border-radius:15px;background:#fff;color:var(--dr-navy);font:inherit;font-weight:850;cursor:pointer;box-shadow:0 5px 0 #d2e4e8;transition:.16s transform,.16s box-shadow,.16s border-color}.dr-action.primary{background:#176d88;color:#fff;border-color:#176d88;box-shadow:0 5px 0 #0b4d62}.dr-action:hover,.dr-choices button:hover,.dr-sort-bins button:hover,.dr-parts button:hover,.dr-action:focus-visible,.dr-choices button:focus-visible,.dr-sort-bins button:focus-visible,.dr-parts button:focus-visible{transform:translateY(-2px);border-color:#e99827;box-shadow:0 0 0 4px #f2bf4b55,0 5px 0 #d2e4e8;outline:none}.dr-support-actions{margin-top:9px}.dr-support-actions .dr-action{min-height:38px;padding:6px 11px;box-shadow:none;background:#f7fbfd}.dr-help{max-width:920px;margin:9px auto 0;padding:10px;border:1px solid #b6d8df;border-radius:15px;background:#f1f9fb}.dr-help>p,.dr-prompt{text-align:center;margin:2px;font-weight:800}.dr-alternate{display:grid;gap:7px}.dr-alternate>span{text-align:center;font-size:.68rem;font-weight:950;color:#17617e;letter-spacing:.08em}.dr-alternate>p{margin:0;text-align:center}.dr-alt-lens{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.dr-alt-lens b{padding:8px;border-radius:10px;background:#fff;text-align:center}.dr-alt-arrow{text-align:center;font-weight:950;color:#17617e}.dr-narrating [data-dr-cue]{animation:drCue 1s ease-in-out infinite alternate}@keyframes drCue{to{filter:brightness(1.12);transform:scale(1.04)}}
.dr-decision-room{display:grid;grid-template-columns:1.2fr .7fr;grid-template-rows:auto auto;gap:14px;align-items:center;max-width:780px;margin:auto}.dr-empty-shelf{grid-row:1/3;display:grid;grid-template-rows:auto repeat(3,1fr);height:320px;padding:18px;border:12px solid #98633b;border-radius:24px;background:#e7c18f;text-align:center;font-weight:950;box-shadow:inset 0 0 0 5px #c8905d,0 14px 26px #4b2b1526}.dr-empty-shelf i{border-bottom:10px solid #9d693e}.dr-class-badges{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dr-class-badges b,.dr-school-map .inside b{display:grid;place-items:center;min-height:80px;border-radius:18px;background:#d8eff2;border:3px solid var(--dr-blue);font-size:1.4rem}.dr-decision-seal{padding:18px;border-radius:50%;background:var(--dr-yellow);border:5px double #bd8320;text-align:center;font-weight:950;transform:rotate(-5deg)}
.dr-question-lens{display:grid;grid-template-columns:230px 1fr;gap:22px;align-items:center;max-width:780px;margin:auto}.dr-lens{display:grid;place-items:center;width:210px;height:210px;border-radius:50%;border:16px solid var(--dr-blue);box-shadow:15px 18px 0 -7px var(--dr-navy);background:#fff8c9aa;font-size:5rem;font-weight:950}.dr-question-lens>div:last-child{display:grid;gap:10px}.dr-question-lens span{padding:16px;border-radius:16px;background:#fff;border-left:9px solid var(--dr-teal);font-weight:900}
.dr-school-map{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:22px;max-width:760px;margin:auto;padding:25px;border-radius:28px;background:linear-gradient(135deg,#d8edf4,#fff7dc)}.dr-school-map .inside,.dr-school-map .outside{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px;border-radius:22px}.dr-school-map .inside{border:5px solid var(--dr-teal);background:#fff}.dr-school-map .outside{border:4px dashed #c8a8a1;background:#f8e4df}.dr-school-map .outside i{display:grid;place-items:center;border-radius:14px;background:#fff8;font-style:normal;font-weight:850}.dr-school-map>span{grid-column:1/-1;text-align:center;font-weight:950;letter-spacing:.08em}
.dr-sort-lab{display:grid;grid-template-columns:240px 1fr;gap:22px;align-items:center;max-width:800px;margin:auto}.dr-sort-card{display:grid;place-items:center;min-height:150px;padding:20px;border-radius:24px;background:#fff1b9;border:4px solid #d7a332;font-size:2rem;font-weight:950;cursor:grab;touch-action:none;z-index:5}.dr-sort-card.dragging{cursor:grabbing;opacity:.92}.dr-sort-bins{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dr-sort-bins button{display:grid;place-items:center;min-height:150px}.dr-sort-bins b{display:block;color:#176d88;font-size:.75rem}.dr-mini-log{grid-column:1/-1;display:flex;justify-content:center;gap:8px}.dr-mini-log i{padding:7px 10px;border-radius:10px;background:#d8efe8;font-style:normal;font-weight:850}
.dr-plan-board{display:grid;gap:18px;max-width:800px;margin:auto}.dr-plan-rail{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.dr-plan-rail i{padding:17px;border-radius:16px;background:#fff;border:3px dashed #a8c9d2;text-align:center;font-style:normal;font-weight:950}.dr-plan-rail i.done{background:#d8efe8;border-style:solid;border-color:var(--dr-teal)}.dr-plan-card{padding:30px;border-radius:24px;background:#fff8d7;border:3px solid var(--dr-yellow);text-align:center;font-size:1.25rem;font-weight:900}
.dr-booth{position:relative;display:grid;grid-template-columns:1fr 120px;gap:18px;align-items:center;max-width:780px;margin:auto;padding:24px;border:7px solid #2d819f;border-radius:30px;background:linear-gradient(135deg,#e2f3f7,#fff);box-shadow:0 14px 28px #1c506622}.dr-booth.group-b{border-color:#6b70ae;background:linear-gradient(135deg,#eceaf8,#fff)}.dr-booth-sign{position:absolute;top:-18px;left:24px;padding:8px 18px;border-radius:999px;background:#176d88;color:#fff;font-weight:950}.dr-source-card{display:grid;gap:10px;padding:14px;border-radius:18px;background:#fff8d9}.dr-source-card>b{text-align:center}.dr-ballots{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.dr-ballots i{display:grid;place-items:center;width:49px;height:58px;border-radius:8px;background:#fff;border:2px solid #b9d2d7;box-shadow:0 5px 0 #d8e5e8;font-style:normal;font-size:1.35rem}.dr-ballots i.masal{color:#cf6c63}.dr-ballots i.bilim{color:#2c8aa6}.dr-ballots i.macera{color:#6aa466}.dr-counter{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:var(--dr-yellow);border:6px solid #fff;box-shadow:0 0 0 4px #c98d25;font-size:3rem;font-weight:950}
.dr-tally-machine{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;max-width:850px;margin:auto;padding:22px;border-radius:28px;background:linear-gradient(135deg,#dceff3,#b9dfe5);border:5px solid #3a88a0}.dr-tally-machine.group-b{background:linear-gradient(135deg,#eeebfa,#d7d2f0);border-color:#726daf}.dr-feed{display:grid;gap:12px;padding:16px;border-radius:20px;background:#fff;font-weight:950;text-align:center}.dr-tally-options{display:grid;gap:9px}.dr-tally-preview{display:grid;place-items:center;min-height:72px;padding:8px 14px;border:2px solid #b5d3dc;border-radius:15px;background:#fff;box-shadow:0 5px 0 #d2e4e8}.dr-tally{display:inline-flex;align-items:center;gap:7px;min-height:40px}.dr-tally i{position:relative;display:inline-flex;width:42px;height:38px}.dr-tally i b{position:absolute;top:2px;width:3px;height:34px;border-radius:4px;background:#17384b}.dr-tally i b:nth-child(1){left:3px}.dr-tally i b:nth-child(2){left:14px}.dr-tally i b:nth-child(3){left:25px}.dr-tally i b:nth-child(4){left:36px}.dr-tally i em{position:absolute;left:0;top:17px;width:44px;height:3px;background:#e97868;transform:rotate(-36deg)}.dr-tally i.one{width:8px}.dr-tally i.one b{left:2px}
.dr-frequency-lab{max-width:880px;margin:auto;padding:18px;border-radius:22px;background:#fff;box-shadow:0 12px 24px #164b5b1c}.dr-frequency-lab table{width:100%;border-collapse:collapse}.dr-frequency-lab caption{padding:10px;font-weight:950;letter-spacing:.06em}.dr-frequency-lab th,.dr-frequency-lab td{padding:14px 8px;border:2px solid #c4dce2;text-align:center}.dr-frequency-lab th{background:#dceff3}.dr-frequency-lab td:last-child{font-size:2rem;font-weight:950;color:var(--dr-coral)}
.dr-graph-station{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:900px;margin:auto}.dr-track{position:relative;display:grid;place-items:center;min-height:230px;padding:16px;border-radius:24px;background:#fff;border:4px solid #b8d3da;text-align:center}.dr-track.shape{border-color:var(--dr-teal);font-size:2rem;word-spacing:8px}.dr-track.shape b{display:block;font-size:.8rem}.dr-track.bar{grid-template-columns:repeat(2,45px);align-items:end}.dr-track.bar i{display:block;width:45px;height:80px;background:#b9c7cc}.dr-track.bar i:nth-child(2){height:150px}.dr-track.pie span{width:140px;height:140px;border-radius:50%;background:conic-gradient(#bbc 0 40%,#ddd 40%)}.dr-track.bar b,.dr-track.pie b{position:absolute;bottom:12px;padding:6px;border-radius:9px;background:#f7dfda;color:#9e3a2f;font-size:.7rem}
.dr-shape-workshop{display:grid;gap:8px;max-width:900px;margin:auto}.dr-key{justify-self:end;padding:7px 12px;border-radius:11px;background:#fff3c8;font-weight:950}.dr-shape-row{display:grid;grid-template-columns:85px 1fr 62px;gap:10px;align-items:center;padding:9px;border-radius:16px;background:#fff}.dr-shape-row>strong{font-size:.78rem}.dr-shape-row>div{display:flex;flex-wrap:wrap;gap:5px}.dr-shape-row i{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#edf3f4;color:#a9b6ba;font-style:normal;font-weight:950}.dr-shape-row i.filled.masal{background:#f5d8d2;color:#c85d52}.dr-shape-row i.filled.bilim{background:#d5edf3;color:#227c9a}.dr-shape-row i.filled.macera{background:#dfeedd;color:#568c52}.dr-shape-row>b{text-align:center}.dr-parts{display:flex;justify-content:center;gap:9px}.dr-parts button{font-size:1.2rem}.dr-dot-bridge{position:relative;display:grid;gap:14px;max-width:850px;margin:auto;padding:22px;border-radius:28px;background:linear-gradient(#e9f5f7,#fff);border:5px solid #76b5c5}.dr-dot-key{justify-self:end;padding:7px 11px;border-radius:9px;background:#fff2c1;font-weight:900}.dr-dot-row{display:grid;grid-template-columns:135px 1fr 38px;gap:10px;align-items:center}.dr-dot-row>strong{font-size:.76rem}.dr-dot-row>div{display:flex;gap:8px;padding:8px;border-bottom:4px solid #4d8ca2}.dr-dot-row i{width:20px;height:20px;border-radius:50%;background:var(--dr-coral);box-shadow:0 3px 0 #aa4f44}.dr-bridge-line{height:22px;border-radius:999px;background:repeating-linear-gradient(90deg,#6b8995 0 18px,#fff 18px 28px)}
.dr-evidence-lens{display:grid;grid-template-columns:180px 1fr;gap:14px;align-items:start}.dr-mini-table{display:grid;gap:8px}.dr-mini-table span{display:flex;justify-content:space-between;padding:12px;border-radius:13px;background:#fff}.dr-mini-table i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--dr-yellow);font-style:normal;font-weight:950}.dr-horizontal-graph{display:grid;gap:5px}.dr-evidence-question{grid-column:1/-1;padding:13px;border-radius:15px;background:#fff2c5;text-align:center;font-weight:950}.dr-claim-court{display:grid;gap:18px;max-width:800px;margin:auto;padding:24px;border-radius:30px;background:linear-gradient(135deg,#f5e6cc,#fffaf0);border:8px double #a7763f}.dr-court-seal{text-align:center;font-family:Georgia,serif;font-size:1.35rem;font-weight:950}.dr-envelope-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dr-envelope-row span{padding:24px 8px;border-radius:6px;background:#fff;border:3px solid #d3b386;text-align:center;font-weight:950;clip-path:polygon(0 0,100% 0,100% 84%,50% 100%,0 84%)}.dr-envelope-row span.done{background:#d9eee7;border-color:var(--dr-teal)}.dr-witness{padding:13px;border-radius:14px;background:#fff;text-align:center}
.dr-scope-fence{display:grid;grid-template-columns:1fr 44px 1fr;gap:10px;align-items:center;max-width:820px;margin:auto}.dr-scope-fence .inside,.dr-scope-fence .outside{display:grid;gap:9px;padding:20px;border-radius:24px;background:#d8efe8}.dr-scope-fence .outside{background:#f3e4e0}.dr-scope-fence b,.dr-scope-fence i{padding:12px;border-radius:11px;background:#fff;text-align:center;font-style:normal;font-weight:900}.dr-scope-fence .fence{height:230px;display:grid;place-items:center;writing-mode:vertical-rl;border-left:9px double #8b683c;border-right:9px double #8b683c;font-size:.68rem;font-weight:950}.dr-scope-fence p{grid-column:1/-1;padding:14px;border-radius:14px;background:#fff2c8;text-align:center;font-weight:900}.dr-final-world{display:grid;gap:16px;max-width:800px;margin:auto}.dr-garden{min-height:230px;display:grid;place-items:center;border-radius:30px;background:radial-gradient(circle at 20% 20%,#f7d975 0 8%,transparent 9%),linear-gradient(#cdebf4 0 48%,#83bd72 49%);border:7px solid #fff;color:#245c3f;font-size:1.5rem;font-weight:950;text-shadow:0 2px #fff}.dr-final-step{padding:12px;border-radius:14px;background:#176d88;color:#fff;text-align:center;font-weight:950;letter-spacing:.06em}.dr-final-tally,.dr-final-proof{padding:28px;border-radius:22px;background:#fff;text-align:center;font-weight:950}.dr-leaf-key{justify-self:center;padding:9px;border-radius:10px;background:#fff3c8;font-weight:950}.dr-leaves{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:20px;border-radius:20px;background:#e8f4e5}.dr-leaves i{font-size:2rem;font-style:normal}
.dr-workspace.dr-idle-focus{border-radius:22px;box-shadow:0 0 0 5px #f2bf4f88,inset 0 0 0 3px #fff}.dr-action.dr-idle-focus{border-color:#e99827;box-shadow:0 0 0 4px #f2bf4f55}
@media(max-width:820px){.dr-scene{min-height:0;padding:11px 7px 14px}.dr-choices{display:grid;grid-template-columns:1fr;width:100%}.dr-choices button{width:100%;min-height:44px}.dr-decision-room,.dr-question-lens,.dr-sort-lab,.dr-tally-machine,.dr-evidence-lens{grid-template-columns:1fr}.dr-empty-shelf{grid-row:auto;height:190px}.dr-question-lens{justify-items:center}.dr-lens{width:145px;height:145px;border-width:11px;font-size:3.5rem}.dr-school-map{grid-template-columns:1fr;padding:13px}.dr-school-map>span{grid-column:1}.dr-sort-card{min-height:85px;font-size:1.5rem}.dr-sort-bins button{min-height:90px}.dr-booth{grid-template-columns:1fr 80px;padding:22px 10px 12px}.dr-counter{width:72px;height:72px;font-size:2rem}.dr-ballots i{width:39px;height:45px}.dr-tally-machine{padding:12px}.dr-frequency-lab{padding:6px;overflow-x:auto}.dr-frequency-lab th,.dr-frequency-lab td{padding:8px 4px;font-size:.7rem}.dr-graph-station{grid-template-columns:1fr}.dr-track{min-height:120px}.dr-shape-row{grid-template-columns:68px 1fr 43px}.dr-shape-row i{width:27px;height:27px}.dr-dot-row{grid-template-columns:96px 1fr 28px}.dr-dot-row>div{gap:5px}.dr-dot-row i{width:16px;height:16px}.dr-envelope-row span{padding:17px 5px;font-size:.73rem}.dr-scope-fence{grid-template-columns:1fr}.dr-scope-fence .fence{height:auto;min-height:40px;writing-mode:horizontal-tb;border:0;border-top:8px double #8b683c;border-bottom:8px double #8b683c}.dr-support-actions{display:grid}.dr-support-actions .dr-action{width:100%}.dr-alt-lens{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:430px){.dr-scene h1{font-size:1.04rem}.dr-scene>header>span{font-size:.58rem}.dr-school-map .inside,.dr-school-map .outside{padding:8px}.dr-class-badges b,.dr-school-map .inside b{min-height:55px}.dr-plan-rail i{padding:11px 3px;font-size:.72rem}.dr-ballots{gap:5px}.dr-ballots i{width:33px;height:39px}.dr-shape-row>strong,.dr-dot-row>strong{font-size:.62rem}.dr-shape-row i{width:24px;height:24px}.dr-envelope-row{gap:5px}.dr-envelope-row span{font-size:.62rem}.dr-tally{transform:scale(.85);transform-origin:center}}
@media(prefers-reduced-motion:reduce){.grade4-dr-board *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.grade4-dr-board{container-type:inline-size}
@container(max-width:620px){.dr-scene{min-height:0;padding:11px 7px 14px}.dr-decision-room,.dr-question-lens,.dr-sort-lab,.dr-tally-machine,.dr-evidence-lens{grid-template-columns:minmax(0,1fr)}.dr-empty-shelf{grid-row:auto;height:190px}.dr-question-lens{justify-items:center}.dr-lens{width:145px;height:145px;border-width:11px;font-size:3.5rem}.dr-school-map{grid-template-columns:minmax(0,1fr);padding:13px}.dr-school-map>span{grid-column:1}.dr-sort-card{min-height:85px;font-size:1.5rem}.dr-sort-bins{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%}.dr-sort-bins button{min-width:0;min-height:90px;padding:6px;font-size:.78rem;overflow-wrap:anywhere}.dr-booth{grid-template-columns:minmax(0,1fr) 80px;padding:22px 10px 12px}.dr-counter{width:72px;height:72px;font-size:2rem}.dr-ballots i{width:39px;height:45px}.dr-tally-machine{padding:12px}.dr-frequency-lab{padding:6px;overflow-x:auto}.dr-frequency-lab th,.dr-frequency-lab td{padding:8px 4px;font-size:.7rem}.dr-graph-station{grid-template-columns:minmax(0,1fr)}.dr-track{min-height:120px}.dr-shape-row{grid-template-columns:68px minmax(0,1fr) 43px}.dr-shape-row i{width:27px;height:27px}.dr-dot-row{grid-template-columns:96px minmax(0,1fr) 28px}.dr-dot-row>div{gap:5px;flex-wrap:wrap}.dr-dot-row i{width:16px;height:16px}.dr-envelope-row span{padding:17px 5px;font-size:.73rem}.dr-scope-fence{grid-template-columns:minmax(0,1fr)}.dr-scope-fence .fence{height:auto;min-height:40px;writing-mode:horizontal-tb;border:0;border-top:8px double #8b683c;border-bottom:8px double #8b683c}.dr-scope-fence p{grid-column:1}.dr-workspace,.dr-sort-lab,.dr-school-map,.dr-booth,.dr-tally-machine,.dr-shape-workshop,.dr-dot-bridge,.dr-claim-court,.dr-final-world{max-width:100%;min-width:0;box-sizing:border-box}}
.dr-source-card,.dr-ballots{box-sizing:border-box;min-width:0;max-width:100%}.dr-source-card{overflow:hidden}.dr-counter{box-sizing:border-box}
@container(max-width:620px){.dr-counter{width:72px;height:72px}.dr-source-card{padding:10px}.dr-ballots{gap:5px}}

/* grade5.css */
.grade5-preview-number{display:grid!important;grid-template-columns:repeat(2,1fr);gap:5px;padding:14px;background:linear-gradient(145deg,#152f50,#0b7879)}
.grade5-preview-number span{display:grid;place-items:center;border-radius:12px;background:#f7fffde8;color:#113e51;font:900 1.05rem/1 system-ui;box-shadow:0 5px 0 #0a303b33}
.grade5-preview-geometry{position:relative;display:grid!important;grid-template-columns:repeat(2,1fr);gap:8px;padding:13px;background:linear-gradient(145deg,#15334d,#097a79);color:#143e50}
.grade5-preview-geometry span{position:relative;display:grid;place-items:center;min-width:0;border-radius:12px;background:#f7fffde8;font:900 .82rem/1 system-ui;box-shadow:0 5px 0 #0a303b33}
.grade5-preview-geometry .g5-home-point::before{content:"";width:9px;height:9px;border-radius:50%;background:#dd6248;box-shadow:0 0 0 4px #dd62482c}.grade5-preview-geometry .g5-home-point{gap:5px}
.grade5-preview-geometry .g5-home-segment::before,.grade5-preview-geometry .g5-home-ray::before{content:"";position:absolute;left:20%;right:20%;top:43%;height:3px;border-radius:4px;background:#138780}.grade5-preview-geometry .g5-home-segment::after{content:"";position:absolute;left:19%;right:19%;top:calc(43% - 3px);height:9px;background:radial-gradient(circle at left,#dd6248 0 4px,transparent 4.5px),radial-gradient(circle at right,#dd6248 0 4px,transparent 4.5px)}
.grade5-preview-geometry .g5-home-ray::after{content:"→";position:absolute;right:15%;top:24%;color:#138780;font-size:1.15rem}.grade5-preview-geometry .g5-home-angle{font-size:2rem;color:#dd6248}
.grade5-read-write-board{overflow:hidden;background:#eaf7f5;color:#123f52}
.grade5-place-value-board{overflow:hidden;background:#edf8f5;color:#153f50}
.g5pv-scene{position:relative;isolation:isolate;width:100%;height:100%;min-height:510px;overflow:hidden;border-radius:28px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.g5pv-scene h2,.g5pv-scene p{position:relative;z-index:3;margin:0}.g5pv-scene h2{font-size:clamp(1.15rem,2.2vw,1.7rem)}.g5pv-scene p{font-weight:700;color:#41676d}.g5pv-scene .board-kicker{position:relative;z-index:5;color:#087d73;font-size:.72rem;font-weight:950;letter-spacing:.1em}
.g5pv-scene button{min-width:44px;min-height:44px;touch-action:manipulation;font:inherit;cursor:pointer}.g5pv-choice-row,.g5pv-choice-grid,.g5pv-sign-pool,.g5pv-card-rack,.g5pv-card-cloud{position:relative;z-index:4;display:flex;justify-content:center;gap:9px;flex-wrap:wrap;width:min(850px,98%)}.g5pv-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.g5pv-choice-row button,.g5pv-choice-grid button,.g5pv-sign-pool button,.g5pv-card-rack button,.g5pv-card-cloud button,.g5pv-belt button{min-height:48px;padding:10px 14px;border:2px solid #80c5ba;border-radius:14px;background:#fff;color:#153f50;font-weight:900;box-shadow:0 5px 0 #458c8540}
.g5pv-choice-row button:hover,.g5pv-choice-grid button:hover,.g5pv-sign-pool button:hover,.g5pv-card-rack button:hover,.g5pv-card-cloud button:hover,.g5pv-belt button:hover,.g5pv-scene button:focus-visible{outline:4px solid #f4bd4e;transform:translateY(-2px)}
.g5pv-scene button.wrong-cell{border-color:#bd5944;box-shadow:0 0 0 4px #bd59442d;animation:g5pv-shake .25s linear}.g5pv-scene button.correct-cell{border-color:#087d73;background:#d9f7ee}.g5pv-scene button:disabled{cursor:default;opacity:.48;transform:none;box-shadow:none}
.g5pv-result{position:relative;z-index:6;padding:10px 15px;border:2px solid #0b8a7d;border-radius:13px;background:#e1f8f0;color:#144f51;font-weight:900;box-shadow:0 5px 0 #0b8a7d30}

/* 01 · Basamak adresi */
.g5pv-address{background:linear-gradient(165deg,#dff4ff,#f8f0d8)}.g5pv-address:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.5%,#377b8330 50%,transparent 50.5%);background-size:110px 100%}
.g5pv-city{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;width:min(720px,96%);padding:25px 20px 38px}.g5pv-road{position:absolute;left:0;right:0;bottom:8px;height:25px;border-block:3px solid #6e8280;background:repeating-linear-gradient(90deg,#586c6a 0 24px,#f6d77b 25px 43px,#586c6a 44px 67px)}
.g5pv-city section{display:grid;grid-template-rows:auto 82px 27px;place-items:center;padding:12px;border:3px solid #aaccc8;border-radius:18px 18px 5px 5px;background:#fff;box-shadow:0 10px 0 #597d7730}.g5pv-city section.current{border-color:#f0ad3f;box-shadow:0 0 0 7px #ffd47145}.g5pv-city section.visited{background:#e6f7f2}.g5pv-city small{font-weight:950;color:#49736f}.g5pv-city b{font-size:2.5rem;color:#164c5d}.g5pv-city strong{color:#aa6228}
.g5pv-traveler{--travel-gap:18px;position:absolute;z-index:6;left:20px;bottom:-1px;display:flex;align-items:center;justify-content:center;gap:4px;width:calc((100% - 76px)/3);height:42px;transform:translateX(calc(var(--stop)*(100% + var(--travel-gap))));animation:g5pv-travel .55s cubic-bezier(.2,.9,.25,1);pointer-events:none}.g5pv-traveler b{display:grid;place-items:center;justify-content:center;width:34px;height:34px;border:3px solid #fff;border-radius:50%;background:#f0a93d;color:#173e54;font-size:1.15rem;box-shadow:0 6px 12px #1e49484a}.g5pv-traveler small{padding:4px 7px;border-radius:999px;background:#fff;color:#174e55;font-size:.66rem;box-shadow:0 4px 10px #173e5430}

/* 02 · Değer merceği */
.g5pv-lens{background:radial-gradient(circle at 50% 38%,#f8fff1 0 23%,#d8ecf4 24% 65%,#b7d3da)}.g5pv-lens-number{position:relative;z-index:2;display:flex;gap:7px;padding:24px 33px;border-radius:23px;background:#173e54;box-shadow:0 16px 32px #173e5430}.g5pv-lens-number span{display:grid;place-items:center;width:54px;height:66px;border-radius:12px;background:#fff;color:#153f50;font-size:2rem;font-weight:950}.g5pv-lens-number span.focus{background:#ffd46b;color:#7d4911;box-shadow:0 0 0 9px #f5c45145}.g5pv-lens-number i{position:absolute;left:73px;top:7px;width:91px;height:91px;border:7px solid #2f8f91;border-radius:50%;box-shadow:0 8px 18px #193d4d44;pointer-events:none}.g5pv-lens-number i:after{content:"";position:absolute;width:12px;height:65px;right:-29px;bottom:-46px;border-radius:8px;background:#2f8f91;transform:rotate(-38deg)}

/* 03 · Basamak tablosu */
.g5pv-table{background:linear-gradient(135deg,#f3efff,#e1f6ef)}.g5pv-place-table{position:relative;z-index:2;display:grid;grid-template-columns:repeat(7,1fr);width:min(850px,98%);border:3px solid #6ca99f;border-radius:19px;overflow:hidden;background:#fff}.g5pv-place-table section{display:grid;grid-template-rows:32px 55px 42px;border-right:1px solid #a8ccc6}.g5pv-place-table section:last-child{border:0}.g5pv-place-table small,.g5pv-place-table b,.g5pv-place-table strong{display:grid;place-items:center}.g5pv-place-table small{padding:3px;background:#dff3ef;font-size:.62rem;font-weight:900}.g5pv-place-table b{font-size:1.45rem}.g5pv-place-table strong{font-size:.68rem;color:#9b632c;background:#fff7de}.g5pv-place-table section.current{box-shadow:inset 0 0 0 5px #e6ab3e}.g5pv-place-table section.filled strong{background:#d9f7ee;color:#087d73}.g5pv-place-table section.zero{opacity:.58}.g5pv-sum-line{position:relative;z-index:2;min-height:45px;padding:11px 18px;border-radius:13px;background:#173e54;color:#fff;font-weight:900}

/* 04 · Çözümleme makası */
.g5pv-cutter{background:linear-gradient(145deg,#fff2d9,#e5f5ee)}.g5pv-cutter:before{content:"";position:absolute;inset:0;background:radial-gradient(circle,#c6906128 2px,transparent 3px);background-size:28px 28px}.g5pv-cut-number{position:relative;z-index:2;display:flex;gap:4px;padding:18px 28px;border:3px dashed #a56f43;border-radius:19px;background:#fff}.g5pv-cut-number span{display:grid;place-items:center;width:48px;height:58px;border-radius:9px;background:#eef8f5;font-size:1.65rem;font-weight:950}.g5pv-cut-number i{position:absolute;top:-14px;left:calc(58px + var(--cut)*52px);width:4px;height:88px;background:#db6e4d;transform:rotate(8deg)}.g5pv-piece-tray{position:relative;z-index:2;display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center}.g5pv-piece-tray span{min-width:90px;padding:12px;border:2px solid #b9d2cd;border-radius:12px;background:#fff;font-weight:900}.g5pv-piece-tray span.ready{background:#d9f7ee;border-color:#3ba793}.g5pv-piece-tray b{color:#90663d}

/* 05 · İki çözümleme dili */
.g5pv-switchboard{background:linear-gradient(120deg,#dceefa 0 49.5%,#f5e5fb 50.5%)}.g5pv-two-languages{position:relative;z-index:2;display:grid;grid-template-columns:1fr 55px 1fr;align-items:center;width:min(850px,98%)}.g5pv-two-languages section{display:grid;gap:10px;place-items:center;min-height:135px;padding:18px;border:3px solid #8fc5bf;border-radius:20px;background:#fff}.g5pv-two-languages small{color:#087d73;font-weight:950;letter-spacing:.08em}.g5pv-two-languages b{line-height:1.5}.g5pv-two-languages>span{font-size:2rem;color:#8158a7;font-weight:950}

/* 06 · Sıfır şeridi */
.g5pv-zero-lane{background:linear-gradient(#f0f8f5 0 67%,#304e59 68%)}.g5pv-zero-demo{position:relative;z-index:2;display:grid;gap:12px;width:min(850px,98%)}.g5pv-zero-demo section{display:grid;gap:8px;padding:15px 19px;border:3px solid #9fcac4;border-radius:16px;background:#fff}.g5pv-zero-demo small{font-weight:950;color:#167d76}.g5pv-zero-demo b{line-height:1.55}.g5pv-zero-demo em{display:inline-grid;place-items:center;min-width:35px;border-radius:8px;background:#f7dddc;color:#9b4436;font-style:normal;text-decoration:line-through}.g5pv-zero-lane p{color:#fff}
.g5pv-zero-lane.complete .g5pv-zero-demo section:first-child em{animation:g5pv-compress-zero .7s ease-in .2s both}

/* 07 · Ters kurulum bandı */
.g5pv-conveyor{background:linear-gradient(155deg,#f9efdd,#dceff3)}.g5pv-belt{position:relative;z-index:2;display:flex;gap:9px;padding:18px 23px;border-radius:30px;background:#41565d;box-shadow:inset 0 -9px #26383e}.g5pv-belt:after{content:"";position:absolute;inset:6px;border:3px dashed #91a4a7;border-radius:24px;pointer-events:none}.g5pv-belt button{position:relative;z-index:2}.g5pv-slot-line{position:relative;z-index:2;display:grid;grid-template-columns:repeat(7,1fr);width:min(800px,98%)}.g5pv-slot-line section{display:grid;grid-template-rows:24px 55px;border:2px solid #79afa7;background:#fff}.g5pv-slot-line section:first-child{border-radius:14px 0 0 14px}.g5pv-slot-line section:last-child{border-radius:0 14px 14px 0}.g5pv-slot-line small,.g5pv-slot-line b{display:grid;place-items:center}.g5pv-slot-line small{background:#dff3ef;font-size:.62rem;font-weight:900}.g5pv-slot-line b{font-size:1.4rem}.g5pv-slot-line section.filled{background:#fff1c9;animation:g5pv-drop .35s ease-out}

/* 08 · Eksik sıfır onarımı */
.g5pv-repair-bay{background:linear-gradient(135deg,#fcece5,#e1f5f0)}.g5pv-repair-bay:before{content:"";position:absolute;inset:12%;border:3px solid #be7d6040;border-radius:34px;transform:rotate(-2deg)}.g5pv-repair-number{position:relative;z-index:2;display:flex;gap:6px;padding:22px;border-radius:21px;background:#284c5b}.g5pv-repair-number span,.g5pv-repair-number b{display:grid;place-items:center;width:55px;height:65px;border-radius:11px;background:#fff;color:#153f50;font-size:1.8rem}.g5pv-repair-number b{border:3px dashed #e1a63c;background:#fff4cf;color:#a36724}
.g5pv-repair-number b.current{animation:g5pv-slot-pulse .8s ease-in-out infinite alternate}.g5pv-repair-number b.filled{border-style:solid;border-color:#57b6a4;background:#daf7ed;color:#087d73;animation:g5pv-drop .38s ease-out}.g5pv-zero-tools{position:relative;z-index:4;display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:12px;width:min(520px,94%)}.g5pv-zero-tools button{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:9px;padding:9px 14px;border:2px solid #7bb8ad;border-radius:15px;background:#fff;color:#174855;font-weight:900;box-shadow:0 5px 0 #477f7738}.g5pv-zero-tools button span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#fff0c4;color:#8d5a1c;font-size:1.5rem}

/* 09 · Karışmış arşiv */
.g5pv-archive{background:linear-gradient(150deg,#ede9dc,#d9efec)}.g5pv-archive:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,#745a4120 0 3px,transparent 3px 80px)}.g5pv-archive-slots{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:min(820px,98%)}.g5pv-archive-slots span{display:grid;place-items:center;min-height:53px;padding:7px;border:2px dashed #8b765f;border-radius:10px;background:#fff9;font-size:.78rem;font-weight:900}.g5pv-archive-slots span.found{border-style:solid;background:#d9f7ee;color:#087d73}.g5pv-card-cloud button{font-size:.78rem}
.g5pv-archive-slots span{grid-template-rows:auto 1fr;gap:4px}.g5pv-archive-slots span small{color:#796b59;font-size:.58rem}.g5pv-archive-slots span b{font-size:.76rem}.g5pv-archive-slots span.current{border-color:#e0a73f;background:#fff1c7;box-shadow:0 0 0 5px #f5c45b35}

/* 10 · Basamak sayısı köprüsü */
.g5pv-bridge{background:linear-gradient(#dff2ff 0 62%,#bcd6c7 63%)}.g5pv-bridge-decks{position:relative;z-index:2;display:grid;grid-template-columns:1fr 80px 1fr;align-items:end;width:min(700px,95%)}.g5pv-bridge-decks section{display:grid;gap:6px;padding:20px;border:4px solid #597879;border-bottom:12px solid #405f60;border-radius:18px 18px 4px 4px;background:#fff}.g5pv-bridge-decks section b{font-size:1.7rem}.g5pv-bridge-decks section small{font-weight:900;color:#52706e}.g5pv-bridge-decks i{height:8px;background:#405f60}.g5pv-sign-pool button{min-width:70px;font-size:1.5rem}.g5pv-sign{color:#b66a2e}
.g5pv-place-trains{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:10px;width:min(760px,96%)}.g5pv-place-trains section{display:grid;min-width:0;gap:8px;padding:10px;border:3px solid #5f8583;border-bottom-width:10px;border-radius:18px 18px 6px 6px;background:#fff}.g5pv-place-trains small{color:#4e7370;font-weight:950}.g5pv-digit-train{display:flex;justify-content:center;gap:4px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.g5pv-place-trains .g5pv-digit-train{gap:2px}.g5pv-digit-train span{position:relative;display:grid;place-items:center;width:38px;height:46px;border:2px solid #4e817e;border-radius:9px;background:#e7f7f2;color:#153f50;font-size:1.25rem;font-weight:950;animation:g5pv-wagon-in .35s ease-out calc(var(--wagon)*.06s) both}.g5pv-place-trains .g5pv-digit-train span{width:27px;height:40px;font-size:1rem}.g5pv-digit-train span:after{content:"";position:absolute;right:-6px;bottom:8px;width:6px;height:3px;background:#4e817e}.g5pv-place-trains .g5pv-digit-train span:after{right:-4px;width:4px}.g5pv-digit-train span:last-child:after{display:none}.g5pv-bridge.complete .g5pv-place-trains section:last-child{box-shadow:0 0 0 6px #f5bd4a55;animation:g5pv-track-win .55s ease-out}

/* 11 · İlk fark tarayıcısı */
.g5pv-scanner{background:radial-gradient(circle at center,#244e61,#102d42);color:#fff}.g5pv-scanner .board-kicker{color:#82e2d2}.g5pv-scan-lines{position:relative;z-index:2;display:grid;gap:11px;width:min(650px,100%);max-width:100%;padding:25px;border:2px solid #69bdb355;border-radius:24px;background:#0b2537}.g5pv-scan-lines section{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;width:100%}.g5pv-scan-lines span{display:grid;place-items:center;min-width:0;height:58px;border:2px solid #56808b;border-radius:8px;background:#163d50;font-size:clamp(.84rem,2vw,1.45rem);font-weight:950}.g5pv-scan-lines span.passed{opacity:.5;background:#356371}.g5pv-scan-lines span.scan{border-color:#ffd063;background:#6f5c24;box-shadow:0 0 0 5px #ffd06338}.g5pv-scan-lines>i{position:absolute;left:25px;top:13px;width:calc((100% - 82px)/9);height:145px;border:3px solid #ffd063;border-radius:12px;pointer-events:none;transform:translateX(calc(var(--scan)*(100% + 4px)));transition:transform .3s ease}

/* 12 · Ağaçlandırma veri masası */
.g5pv-forest-data{background:linear-gradient(#e2f5ff 0 63%,#e9f0cf 64%)}.g5pv-ranking-grove{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:10px;width:min(760px,96%);min-height:225px;padding:13px;border-radius:22px;background:#fff9d8;border:3px solid #d7c979}.g5pv-ranking-grove section{display:grid;grid-template-rows:24px 150px 36px;align-items:end;min-width:0;border-radius:16px;background:linear-gradient(#ffffffc9,#e7f5e6);overflow:hidden}.g5pv-ranking-grove section.current{box-shadow:inset 0 0 0 4px #f0b53f}.g5pv-ranking-grove small{align-self:center;color:#527067;font-weight:950}.g5pv-ranking-grove b{align-self:stretch;display:grid;place-items:center;padding:6px;background:#d8eee7;font-size:.82rem}.g5pv-soil{position:relative;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;overflow:visible;background:linear-gradient(transparent 72%,#876a44 73% 82%,#b58b52 83%)}.g5pv-soil:after{content:"";position:absolute;left:16%;right:16%;bottom:18%;height:10px;border-radius:50%;background:#533b2740;filter:blur(2px)}.g5pv-soil i{position:absolute;bottom:17%;width:30px;height:12px;border:3px dashed #9f7c4c;border-radius:50%}.g5pv-soil img{position:relative;z-index:2;display:block;width:auto;height:145px;max-width:88%;object-fit:contain;object-position:center bottom;transform-origin:50% 100%;transform:scale(var(--growth));filter:drop-shadow(0 6px 5px #324d2c42);animation:g5pv-plant .65s cubic-bezier(.2,.9,.25,1) both}

/* 13 · Bölük kartı kasası */
.g5pv-vault{background:radial-gradient(circle at 50% 20%,#315b6b,#102c3e);color:#fff}.g5pv-vault .board-kicker{color:#8ce7d9}.g5pv-vault p{color:#d8efeb}.g5pv-vault-display{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:min(690px,94%);padding:25px;border:7px solid #8c9a9c;border-radius:25px;background:#152e3b;box-shadow:inset 0 0 0 4px #283f47}.g5pv-vault-display section{display:grid;gap:8px;padding:14px;border:3px solid #58a99f;border-radius:14px;background:#e9faf5;color:#153f50}.g5pv-vault-display small{font-weight:900}.g5pv-vault-display b{font-size:1.75rem;letter-spacing:.08em}.g5pv-card-rack button{font-size:1.25rem}

/* 14 · Koşullu sayı laboratuvarı */
.g5pv-lab{background:linear-gradient(135deg,#eee8ff,#dff6ef)}.g5pv-lab:before,.g5pv-lab:after{content:"";position:absolute;border:3px solid #8b70bd33;border-radius:50%}.g5pv-lab:before{width:260px;height:260px;left:-80px;top:-80px}.g5pv-lab:after{width:210px;height:210px;right:-55px;bottom:-75px}.g5pv-condition-chips{position:relative;z-index:2;display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.g5pv-condition-chips span{padding:10px 14px;border-radius:999px;background:#614d8d;color:#fff;font-weight:900}.g5pv-lab .g5pv-choice-grid button{font-size:1.25rem}

/* 15 · Bağımsız kanıt */
.g5pv-final{background:linear-gradient(145deg,#173d52,#0d6e69);color:#fff}.g5pv-final:before{content:"";position:absolute;inset:7%;border:2px solid #a3e5db4a;border-radius:36px}.g5pv-final .board-kicker{color:#90ebdd}.g5pv-final-progress{position:relative;z-index:2;display:flex;gap:10px}.g5pv-final-progress i{width:55px;height:8px;border-radius:8px;background:#ffffff35}.g5pv-final-progress i.current{background:#ffd064;box-shadow:0 0 0 4px #ffd06428}.g5pv-final-progress i.done{background:#75d6c5}.g5pv-final .g5pv-choice-grid button{font-size:.9rem;line-height:1.45}.g5pv-proof-badge{position:relative;z-index:6;display:grid;place-items:center;gap:4px;padding:19px 30px;border:3px solid #ffd064;border-radius:22px;background:#fff7d9;color:#153f50;animation:g5pv-pop .5s ease-out}.g5pv-proof-badge span{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#087d73;color:#fff;font-size:1.4rem}.g5pv-proof-badge b{font-size:1.25rem}.g5pv-proof-badge small{font-weight:750}
.g5pv-final-visual{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:7px;width:min(830px,95%);min-height:72px;padding:10px 14px;border:2px solid #85d7c9;border-radius:17px;background:#0a3445;color:#fff}.g5pv-final-place span{display:grid;place-items:center;width:34px;height:42px;border:2px solid #4f8c93;border-radius:8px;background:#153e50;font-weight:950}.g5pv-final-place span.focus{border-color:#ffd064;background:#6c5921;box-shadow:0 0 0 4px #ffd06430}.g5pv-final-place i{margin-left:10px;color:#ffd064;font-style:normal;font-weight:950}.g5pv-final-rails{display:grid;grid-template-columns:1fr auto 1fr;font-size:.68rem;line-height:1.35}.g5pv-final-rails b{color:#ffd064}.g5pv-final-build{flex-wrap:wrap}.g5pv-final-build span{padding:7px 9px;border-radius:10px;background:#e9faf5;color:#153f50;font-size:.72rem;font-weight:900}.g5pv-final-build i{font-style:normal;color:#ffd064}.g5pv-final-build b{flex-basis:100%;color:#9ce7dc}.g5pv-final-compare section{min-width:0}.g5pv-final-compare>i{color:#ffd064;font-size:1.5rem;font-style:normal;font-weight:950}.g5pv-final-compare .g5pv-digit-train span{width:29px;height:36px;font-size:.9rem}

/* Anlamadım / ikinci yanlış: gerçek temsil değişimi */
.g5pv-alt-model{position:absolute;z-index:30;inset:52px 18px 16px;display:grid;align-content:center;justify-items:center;gap:13px;padding:18px;border:3px solid #ffd064;border-radius:22px;background:linear-gradient(145deg,#fffdf2,#e5f7f1);color:#153f50;box-shadow:0 18px 45px #112f3d55;overflow:auto}.g5pv-alt-model>span{color:#087d73;font-size:.72rem;font-weight:950;letter-spacing:.09em}.g5pv-alt-model p{color:#315c61}.g5pv-alt-close{display:flex;align-items:center;gap:8px;padding:9px 15px;border:2px solid #0a8177;border-radius:13px;background:#0a8177;color:#fff;font-weight:950;box-shadow:0 5px 0 #07534d}.g5pv-alt-ladder>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:4px;width:100%}.g5pv-alt-ladder b{display:grid;place-items:center;min-width:0;height:calc(42px + var(--level)*7px);padding:4px 2px;border-radius:10px;background:hsl(calc(168 - var(--level)*6) 52% calc(82% - var(--level)*4%));font-size:clamp(.5rem,1vw,.82rem);overflow-wrap:anywhere}.g5pv-alt-ledger>div{display:grid;grid-template-columns:1fr auto 1fr;gap:6px 12px;align-items:center}.g5pv-alt-ledger b,.g5pv-alt-ledger strong{padding:6px 9px;border-radius:9px;background:#fff;border:1px solid #8bc0b8}.g5pv-alt-ledger i{font-style:normal;color:#b16c2d}.g5pv-alt-abacus>div{display:flex;align-items:flex-end;gap:7px;min-height:170px}.g5pv-alt-abacus section{display:grid;grid-template-rows:140px 28px;place-items:center;width:45px;border-radius:10px;background:linear-gradient(90deg,transparent 47%,#9b6e3a 48% 52%,transparent 53%)}.g5pv-alt-abacus section>i{align-self:end;display:flex;flex-direction:column-reverse;gap:2px}.g5pv-alt-abacus em{display:block;width:32px;height:11px;border-radius:8px;background:#35a294;border:2px solid #fff}.g5pv-alt-abacus section.empty{background:linear-gradient(90deg,transparent 47%,#d19a4e 48% 52%,transparent 53%)}.g5pv-alt-abacus section.empty b{color:#b56b26}.g5pv-alt-compare>div{display:grid;gap:7px}.g5pv-alt-compare section{display:grid;grid-template-columns:repeat(9,42px);gap:4px}.g5pv-alt-compare b{display:grid;place-items:center;height:46px;border-radius:9px;background:#dbeeea}.g5pv-alt-compare b.same{opacity:.65}.g5pv-alt-compare b.first-diff{background:#ffd774;box-shadow:0 0 0 4px #ffd06442}.g5pv-alt-compare b.masked{background:#193c4c;color:#fff}.g5pv-alt-groups>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:min(620px,96%)}.g5pv-alt-groups section{display:grid;gap:8px;padding:14px;border:2px solid #74aaa3;border-radius:13px;background:#fff}.g5pv-alt-groups b{font-size:1.4rem}.g5pv-alt-proof>div{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:min(620px,96%)}.g5pv-alt-proof b{padding:13px;border:2px solid #80b9b0;border-radius:12px;background:#fff}

.g5pv-show-hint .g5pv-scene button:not(.wrong-cell){box-shadow:0 0 0 3px #f5bd4b55}.g5pv-together .g5pv-scene [class*="slot"],.g5pv-together .g5pv-scene [class*="table"],.g5pv-together .g5pv-scene [class*="scan"]{outline:5px solid #ffd064;outline-offset:3px}.g5pv-narrating [data-sync-active="true"]{animation:g5pv-sync 1s ease-in-out infinite alternate;position:relative;z-index:8}

@keyframes g5pv-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes g5pv-drop{from{transform:translateY(-18px);opacity:.2}to{transform:none;opacity:1}}@keyframes g5pv-pop{from{transform:scale(.75);opacity:0}to{transform:none;opacity:1}}@keyframes g5pv-sync{to{filter:brightness(1.13) drop-shadow(0 0 8px #ffd064)}}@keyframes g5pv-travel{from{transform:translateX(calc(var(--from)*(100% + var(--travel-gap)))) scale(.86)}to{transform:translateX(calc(var(--stop)*(100% + var(--travel-gap)))) scale(1)}}@keyframes g5pv-compress-zero{to{min-width:0;width:0;margin-inline:-6px;padding:0;opacity:0;transform:scaleX(0)}}@keyframes g5pv-slot-pulse{to{box-shadow:0 0 0 7px #ffd06458}}@keyframes g5pv-wagon-in{from{transform:translateX(-18px);opacity:0}to{transform:none;opacity:1}}@keyframes g5pv-track-win{50%{transform:translateY(-7px)}to{transform:none}}@keyframes g5pv-plant{from{transform:translateY(50px) scale(.25);opacity:0}to{transform:translateY(0) scale(var(--growth));opacity:1}}

@media (max-width:760px){
  .g5pv-scene{min-height:560px;padding:16px;justify-content:flex-start;padding-top:24px;gap:11px}.g5pv-scene h2{font-size:1.12rem}.g5pv-scene p{font-size:.8rem}.g5pv-choice-row,.g5pv-choice-grid,.g5pv-sign-pool,.g5pv-card-rack,.g5pv-card-cloud{max-height:205px;overflow:auto;padding:4px}
  .g5pv-city{gap:6px;padding-inline:0}.g5pv-city section{grid-template-rows:auto 62px 24px;padding:8px 3px}.g5pv-city b{font-size:2rem}.g5pv-city strong{font-size:.66rem}
  .g5pv-traveler{--travel-gap:6px;left:0;width:calc((100% - 12px)/3)}
  .g5pv-lens-number{gap:3px;padding:18px 10px}.g5pv-lens-number span{width:38px;height:52px;font-size:1.45rem}.g5pv-lens-number i{left:44px;top:2px;width:73px;height:73px}
  .g5pv-place-table{overflow-x:auto;justify-content:start}.g5pv-place-table section{min-width:55px;grid-template-rows:30px 48px 38px}.g5pv-place-table strong{font-size:.52rem}.g5pv-sum-line{font-size:.68rem}
  .g5pv-cut-number{padding:13px 8px}.g5pv-cut-number span{width:36px;height:49px}.g5pv-piece-tray{font-size:.68rem}.g5pv-piece-tray span{min-width:64px;padding:8px}
  .g5pv-two-languages{grid-template-columns:1fr;gap:5px}.g5pv-two-languages>span{transform:rotate(90deg);font-size:1.3rem}.g5pv-two-languages section{min-height:82px;padding:10px;font-size:.72rem}
  .g5pv-zero-demo{font-size:.68rem}.g5pv-zero-demo section{padding:10px}.g5pv-belt{width:100%;overflow-x:auto;padding:14px}.g5pv-belt button{white-space:nowrap;font-size:.68rem}.g5pv-slot-line{overflow-x:auto}.g5pv-slot-line section{min-width:48px}
  .g5pv-repair-number{gap:3px;padding:13px 7px}.g5pv-repair-number span,.g5pv-repair-number b{width:38px;height:50px;font-size:1.4rem}.g5pv-zero-tools{grid-template-columns:1fr}.g5pv-zero-tools button{grid-template-columns:42px 1fr}.g5pv-archive-slots{grid-template-columns:repeat(2,1fr)}
  .g5pv-place-trains{grid-template-columns:1fr;gap:7px}.g5pv-place-trains section{padding:8px;border-bottom-width:6px}.g5pv-digit-train span{width:31px;height:38px;font-size:1rem}
  .g5pv-scan-lines{width:100%;max-width:100%;padding:18px 12px}.g5pv-scan-lines section{grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}.g5pv-scan-lines span{height:48px;font-size:.82rem}.g5pv-scan-lines>i{left:12px;top:8px;width:calc((100% - 48px)/9);height:116px;transform:translateX(calc(var(--scan)*(100% + 3px)))}
  .g5pv-ranking-grove{min-height:185px;padding:7px;gap:5px}.g5pv-ranking-grove section{grid-template-rows:20px 118px 31px}.g5pv-soil img{height:112px}.g5pv-ranking-grove b{font-size:.62rem}.g5pv-vault-display{padding:13px;gap:4px}.g5pv-vault-display section{padding:9px 3px}.g5pv-vault-display b{font-size:1.2rem}.g5pv-condition-chips span{font-size:.72rem}
  .g5pv-final{gap:8px}.g5pv-final-visual{min-height:58px;padding:7px}.g5pv-final-place span{width:27px;height:34px}.g5pv-final-place i{font-size:.66rem}.g5pv-final-rails{font-size:.55rem}.g5pv-final-compare .g5pv-digit-train span{width:22px;height:30px;font-size:.7rem}.g5pv-alt-model{inset:46px 7px 7px;padding:12px}.g5pv-alt-ladder b{height:calc(36px + var(--level)*4px);font-size:.46rem}.g5pv-alt-abacus>div{gap:3px;min-height:140px}.g5pv-alt-abacus section{width:34px;grid-template-rows:112px 24px}.g5pv-alt-abacus em{width:25px;height:9px}.g5pv-alt-compare section{grid-template-columns:repeat(9,minmax(0,1fr))}.g5pv-alt-compare b{height:38px}.g5pv-alt-proof>div{grid-template-columns:1fr}
}

/* 5. sınıf · 3. Tema Ölçme ve Değerlendirme */
.g5a3-unit-bars button i{width:var(--v)!important}
.g5a3-stage-cards .g5a3-rect{width:min(calc(var(--w)*8px),90%);height:min(calc(var(--h)*4px),82px);min-width:22px;min-height:24px}
.grade5-theme3-assessment-board{overflow:hidden;background:#eaf2ef;border-color:#8eb5ac}.g5a3-scene{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;min-height:510px;padding:15px 18px;box-sizing:border-box;overflow:hidden;border-radius:26px;background:linear-gradient(145deg,#edf7f2,#dce9e5);color:#173b3c;text-align:center}.g5a3-scene:after{content:"";position:absolute;z-index:-2;inset:0;background:radial-gradient(circle at 85% 10%,#f4bd6733,transparent 30%),linear-gradient(120deg,transparent 55%,#2f8a7b0a 55%)}.g5a3-scene .board-kicker{position:relative;z-index:4;padding:4px 10px;border:1px solid #458c7b55;border-radius:999px;background:#ffffffdb;color:#267a69;font:950 10px/1.2 system-ui;letter-spacing:.09em}.g5a3-scene h2{position:relative;z-index:4;margin:0;font-size:clamp(17px,1.9vw,25px);line-height:1.12}.g5a3-visual{position:relative;z-index:2;display:grid;place-items:center;width:min(94%,880px);height:clamp(220px,42vh,325px);padding:10px;box-sizing:border-box;border:2px solid #7faea455;border-radius:21px;background:#fffffff2;box-shadow:0 13px 27px #1f574b1d;overflow:hidden}.g5a3-actions{position:relative;z-index:8;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;width:min(94%,920px)}.g5a3-scene button{min-width:48px;min-height:48px;padding:8px 12px;border:2px solid #7eb6a9;border-radius:13px;background:#fff;color:#173b3c;font:850 clamp(12px,1.25vw,16px)/1.15 system-ui;box-shadow:0 5px 0 #a9ccc4;cursor:pointer;touch-action:manipulation;transition:.16s}.g5a3-scene button:hover,.g5a3-scene button:focus-visible{outline:4px solid #efb64a77;outline-offset:2px;transform:translateY(-2px)}.g5a3-scene button.wrong-cell{border-color:#c95d54;background:#fff0ed;animation:g5aShake .25s linear}.g5a3-result{position:absolute;z-index:18;left:5%;right:5%;bottom:8px;padding:9px 13px;border:3px solid #318f6d;border-radius:14px;background:#e8fff2f7;color:#155d45;font-weight:900;box-shadow:0 9px 22px #174c3833}.g5a3-support{grid-template-columns:repeat(2,minmax(0,1fr))}
.g5a3-panels{grid-template-columns:repeat(4,1fr);gap:10px;background:linear-gradient(#bfdfea 0 40%,#657e68 40%)}.g5a3-panel-card{display:grid;grid-template-rows:auto 1fr auto;gap:4px;width:100%;height:88%;padding:6px;box-sizing:border-box;border:4px solid #2c4c5b;border-radius:12px;background:#d8e8ec;box-shadow:7px 8px 0 #2f4d4d66}.g5a3-panel-card>b{color:#fff;background:#27566a}.g5a3-panel-card small{font-weight:900}.g5a3-cell-grid{display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr);gap:2px}.g5a3-cell-grid i{border:1px solid #a3d5e0;background:linear-gradient(145deg,#2c7798,#154e70)}
.g5a3-price-belts{grid-template-columns:repeat(4,1fr);gap:12px;background:#273c43}.g5a3-price-belts section{display:grid;gap:8px;align-content:center;width:100%;height:82%;border:3px solid #809a9f;border-radius:14px;background:#f7faf9}.g5a3-price-belts section.ready{border-color:#49a880;box-shadow:0 0 0 5px #66c89c33}.g5a3-price-belts b{font-size:27px}.g5a3-price-belts i{font-style:normal;color:#4d6a70}.g5a3-price-belts strong{padding:6px;background:#dcece9}
.g5a3-roof-arm .g5a3-visual{grid-template-columns:1.15fr 1fr;gap:20px;background:linear-gradient(#9fd6e5 0 45%,#916f55 45%)}.g5a3-roof{position:relative;width:90%;height:72%;clip-path:polygon(50% 0,100% 38%,90% 100%,10% 100%,0 38%);background:repeating-linear-gradient(90deg,#364d55 0 40px,#415b65 40px 80px);box-shadow:10px 12px 0 #303a3d}.g5a3-roof span{position:absolute;left:25%;top:48%;padding:7px;background:#fff;font-weight:900}.g5a3-unit-bars{display:grid;gap:7px;width:100%}.g5a3-unit-bars button{display:grid;grid-template-columns:25px 1fr 68px;align-items:center;gap:5px;min-height:43px}.g5a3-unit-bars button i{display:block;width:calc(var(--v)*2%);height:10px;background:#e9a847}
.g5a3-factor-gates .g5a3-visual{grid-template-columns:160px 1fr;background:#e9dcc1;background-image:linear-gradient(#8d724722 1px,transparent 1px);background-size:18px 18px}.g5a3-factor-core{display:grid;place-items:center;width:120px;height:120px;border:10px double #aa7840;border-radius:50%;background:#fff4d7;font:950 24px system-ui}.g5a3-factor-record{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:90%}.g5a3-factor-record span{padding:9px;border:3px solid #a98055;border-radius:9px;background:#fff;font-weight:900}
.g5a3-three-rects{grid-template-columns:repeat(3,1fr);gap:20px;background:#bcdba8}.g5a3-rect{position:relative;display:grid;place-items:center;width:min(calc(var(--w)*12px),92%);height:min(calc(var(--h)*7px),200px);min-width:75px;min-height:58px;border:7px solid #765331;background:repeating-linear-gradient(90deg,#6ea955 0 15px,#78b25d 15px 30px);box-shadow:8px 9px 0 #394d2c55}.g5a3-rect i{padding:4px;background:#fff;font-style:normal;font-weight:900}.g5a3-rect b{position:absolute;right:4px;bottom:3px;padding:3px;background:#fff}.g5a3-rope-track{grid-template-columns:repeat(3,1fr);gap:16px;background:#464f52}.g5a3-rope-track button{display:grid;grid-template-rows:auto 1fr auto;place-items:center;gap:4px;height:85%;background:#f5f0e8}.g5a3-rope-track button i{width:calc(var(--rope)*1.7%);height:55%;border:6px solid #d5a249;border-radius:50%}
.g5a3-stage-loop .g5a3-visual{background:linear-gradient(#313b49,#171e29)}.g5a3-loop{position:relative;width:72%;height:62%;border:10px solid #dfae59;border-radius:48%;color:#fff}.g5a3-loop .first,.g5a3-loop .second{position:absolute;top:-10px;bottom:-10px;width:50%;border-radius:50%}.g5a3-loop .first{left:-10px;border-left:10px solid #58b4bf}.g5a3-loop .second{right:-10px;border-right:10px solid #e1746c}.g5a3-loop span,.g5a3-loop b{position:absolute;left:50%;transform:translateX(-50%);padding:5px 9px;background:#fff;color:#273b4a}.g5a3-loop span{top:12px}.g5a3-loop b{bottom:12px}.g5a3-stage-cards{grid-template-columns:repeat(4,1fr);gap:10px;background:linear-gradient(#404752 0 68%,#252a32 68%)}.g5a3-stage-cards button{display:grid;place-items:center;align-content:center;gap:4px;width:100%;height:88%;padding:4px}.g5a3-stage-cards .g5a3-rect{width:70%;height:55%;border-color:#617383;background:#d9d7ce}.g5a3-proof-console .g5a3-visual{grid-template-columns:1.2fr 1fr;gap:20px;background:#172e3b}.g5a3-stage-proof{position:relative;width:80%;height:65%;border:10px solid #efc169;background:#638598;color:#fff}.g5a3-stage-proof span,.g5a3-stage-proof i{position:absolute;padding:5px;background:#fff;color:#27434f;font-style:normal}.g5a3-stage-proof span:first-child{left:40%;bottom:-32px}.g5a3-stage-proof span:nth-child(2){left:-35px;top:40%;transform:rotate(-90deg)}.g5a3-stage-proof i{inset:35% 25%}.g5a3-proof-slots{display:grid;gap:13px;width:100%}.g5a3-proof-slots p{padding:14px;border:3px dashed #9fb7c1;border-radius:11px;background:#eaf2f5}.g5a3-proof-slots p.done{border-style:solid;border-color:#4ba57b;background:#e5f8ec}
.g5a3-cans{grid-template-columns:repeat(3,1fr);gap:30px;background:#dfd7c4}.g5a3-cans section{display:grid;place-items:center;gap:5px}.g5a3-cans .can{position:relative;width:105px;height:145px;border:7px solid #636e72;border-radius:9px 9px 22px 22px;background:linear-gradient(90deg,#c8d2d1,#f3f5f2 45%,#aebbbb);box-shadow:9px 10px 0 #6c665866}.g5a3-cans .can i{position:absolute;left:10%;right:10%;bottom:15%;height:45%;background:#55a592}.g5a3-cans .can b{position:absolute;z-index:2;left:40%;top:38%;font-size:26px;color:#fff}.g5a3-cans strong{padding:5px;background:#fff}.g5a3-coverage-wall .g5a3-visual{background:#dac8a8;background-image:linear-gradient(#b59b7055 1px,transparent 1px),linear-gradient(90deg,#b59b7055 1px,transparent 1px);background-size:30px 30px}.g5a3-wall-meter{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;width:88%;height:78%}.g5a3-wall-meter section{position:relative;display:grid;align-content:end;border:5px solid #715d44;background:#f3eadb;overflow:hidden}.g5a3-wall-meter section i{position:absolute;left:0;right:0;bottom:0;height:var(--fill);background:#4eaa9188}.g5a3-wall-meter section>*:not(i){position:relative;z-index:2}.g5a3-wall-meter em{position:absolute;z-index:4;left:-3%;right:-3%;bottom:72%;border-top:5px dashed #c95151;color:#8c2e2e;font-weight:950}.g5a3-report-sheet{display:grid;align-content:center;gap:16px;width:70%;height:84%;padding:15px;border:2px solid #aaa;background:#fffdf4;box-shadow:9px 10px 0 #8a816d55;transform:rotate(-1deg)}.g5a3-report-sheet p{margin:0;padding:10px;border-bottom:2px dashed #aaa;font-size:20px}.factor-cloud{display:flex;justify-content:center;gap:15px}.factor-cloud span,.factor-cloud i{padding:8px;border-radius:9px;background:#e7eee9;font-style:normal;font-weight:900}
.g5a3-park-width .g5a3-visual,.g5a3-park-height .g5a3-visual,.g5a3-park-ranking .g5a3-visual{grid-template-columns:1.4fr .8fr;background:#d9e6df}.g5a3-park{width:100%;height:100%;filter:drop-shadow(7px 8px 0 #52645b44)}.g5a3-park path{stroke:#fff;stroke-width:6}.g5a3-park .brown{fill:#a56b43}.g5a3-park .green{fill:#66a758}.g5a3-park .gray{fill:#849396}.g5a3-park .blue{fill:#4a9dc1}.g5a3-park text{font:900 14px system-ui;fill:#fff;text-anchor:middle}.g5a3-park .dims text{fill:#24433f}.g5a3-equation{padding:17px;border:4px solid #5d877c;border-radius:13px;background:#fff;font:950 22px system-ui}.g5a3-area-ledger{display:grid;gap:10px;width:90%}.g5a3-area-ledger span{padding:10px;border-radius:9px;background:#fff;font-weight:900}
.g5a3-alternate{position:absolute;z-index:25;inset:7% 5% 4%;display:grid;grid-template-columns:150px 1fr;grid-template-rows:auto 1fr auto auto;align-items:center;gap:8px 15px;padding:16px;border:3px solid #d69a3d;border-radius:20px;background:#fffaf0fa;color:#594018;box-shadow:0 18px 42px #344c4744;overflow:auto}.g5a3-alternate small{grid-column:1/-1;font-weight:950;letter-spacing:.09em}.g5a3-alternate h3{margin:0;font-size:clamp(14px,1.5vw,20px);text-align:left}.g5a3-alternate p{grid-column:1/-1;margin:0;font-weight:800}.g5a3-alternate>button{grid-column:1/-1;justify-self:center}.g5a3-alt-model{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;width:150px;height:115px;border:2px solid #d6a24f;border-radius:14px;background:#fff;box-sizing:border-box;overflow:hidden}.g5a3-alt-model i{width:25px;height:54px;border:4px solid #5a9f93;background:#dff1ec}.g5a3-alt-model i:nth-child(2){height:76px}.g5a3-alt-model i:nth-child(3){height:38px}.g5a3-alt-model span{position:absolute;left:12px;right:12px;border-top:5px dashed #df8b4f}.g5a3-alt-model b{position:absolute;bottom:3px;font-size:9px;color:#9c5e25}
@media(max-width:700px){.grade5-theme3-assessment-board{overflow-y:auto;overflow-x:hidden}.g5a3-scene{min-height:394px;height:394px;padding:7px;gap:4px;justify-content:flex-start;overflow-y:auto;overflow-x:hidden;border-radius:19px}.g5a3-scene h2{font-size:.9rem}.g5a3-scene .board-kicker{font-size:.48rem}.g5a3-visual{width:100%;height:250px;min-height:250px;padding:5px;border-radius:14px}.g5a3-actions{width:100%;gap:4px}.g5a3-scene button{min-width:46px;min-height:46px;padding:5px 7px;font-size:.61rem}.g5a3-result{position:absolute;left:5px;right:5px;bottom:5px;width:auto;padding:5px 7px;font-size:.57rem}.g5a3-panels,.g5a3-price-belts{grid-template-columns:repeat(2,1fr);gap:4px}.g5a3-panel-card{height:100%;padding:3px}.g5a3-price-belts section{height:100%;gap:2px}.g5a3-price-belts b{font-size:18px}.g5a3-roof-arm .g5a3-visual,.g5a3-proof-console .g5a3-visual,.g5a3-park-width .g5a3-visual,.g5a3-park-height .g5a3-visual,.g5a3-park-ranking .g5a3-visual{grid-template-columns:1fr 1fr;gap:5px}.g5a3-factor-gates .g5a3-visual{grid-template-columns:85px 1fr}.g5a3-factor-core{width:68px;height:68px;border-width:5px;font-size:14px}.g5a3-factor-record{gap:3px;width:100%}.g5a3-factor-record span{padding:4px;font-size:.58rem}.g5a3-three-rects,.g5a3-rope-track,.g5a3-stage-cards,.g5a3-cans{gap:4px}.g5a3-rect{min-width:45px;min-height:42px;border-width:4px}.g5a3-stage-cards{grid-template-columns:repeat(2,1fr)}.g5a3-stage-cards button{height:112px}.g5a3-loop{width:90%;height:62%}.g5a3-cans .can{width:60px;height:96px;border-width:4px}.g5a3-cans .can b{font-size:17px}.g5a3-wall-meter{width:98%;gap:5px}.g5a3-report-sheet{width:92%;height:90%;gap:6px;padding:6px}.g5a3-report-sheet p{padding:5px;font-size:12px}.g5a3-park text{font-size:11px}.g5a3-equation{padding:8px;font-size:14px}.g5a3-alternate{position:absolute;inset:5px;width:auto;grid-template-columns:80px 1fr;padding:7px;gap:4px 7px}.g5a3-alt-model{width:80px;height:70px}.g5a3-alternate h3{font-size:.62rem}.g5a3-alternate p{font-size:.52rem}}
.g5a3-stage-cards .g5a3-rect{width:min(calc(var(--w)*8px),90%)!important;height:min(calc(var(--h)*4px),82px)!important;min-width:22px!important;min-height:24px!important}
.g5a3-factor-gates .g5a3-visual,.g5a3-coverage-wall .g5a3-visual,.g5a3-park-ranking .g5a3-visual{height:260px;min-height:260px}.g5a3-factor-gates .g5a3-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.g5a3-coverage-wall .g5a3-actions,.g5a3-park-ranking .g5a3-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.g5a3-factor-gates .g5a3-actions button,.g5a3-coverage-wall .g5a3-actions button,.g5a3-park-ranking .g5a3-actions button{min-width:0}
@media(max-width:700px){.g5a3-park-width .g5a3-visual,.g5a3-park-height .g5a3-visual,.g5a3-park-ranking .g5a3-visual{position:relative;display:block;height:220px;min-height:220px;overflow:hidden}.g5a3-park{display:block;width:min(270px,76vw);height:215px;margin:0 auto}.g5a3-equation{position:absolute;right:5px;bottom:5px;max-width:122px;padding:5px 8px;font-size:.72rem}.g5a3-area-ledger{position:absolute;right:5px;bottom:5px;grid-template-columns:repeat(2,1fr);gap:3px;width:145px}.g5a3-area-ledger span{padding:4px;font-size:.54rem}}
@media(max-width:700px){.g5a3-factor-gates .g5a3-visual,.g5a3-coverage-wall .g5a3-visual{height:220px;min-height:220px}.g5a3-factor-gates .g5a3-actions,.g5a3-coverage-wall .g5a3-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.g5a3-factor-gates .g5a3-actions button,.g5a3-coverage-wall .g5a3-actions button{min-width:0}}
@media(prefers-reduced-motion:reduce){.g5a3-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 5. sınıf · MAT.5.1.2 · Gerçek yaşam problemlerinde çözüm stratejileri */
.grade5-problem-solving-board {
  --g5ps-ink: #14324a;
  min-height: 510px;
  overflow: hidden;
  border-radius: 28px;
  background: #eef5f7;
}
.g5ps-scene { position: relative; min-height: 510px; padding: 28px 34px; color: var(--g5ps-ink); overflow: hidden; isolation: isolate; }
.g5ps-scene h2 { margin: 6px auto 20px; max-width: 860px; font-size: clamp(1.35rem, 2.4vw, 2.15rem); line-height: 1.12; text-align: center; }
.g5ps-scene button { min-height: 48px; border: 2px solid rgba(20,50,74,.14); border-radius: 15px; padding: 10px 15px; background: #fff; color: #173751; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 7px 16px rgba(20,50,74,.11); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.g5ps-scene button:hover:not(:disabled), .g5ps-scene button:focus-visible { transform: translateY(-2px); border-color: #f0a431; outline: 4px solid rgba(255,190,70,.72); outline-offset: 2px; box-shadow: 0 10px 22px rgba(20,50,74,.18), 0 0 18px rgba(255,184,64,.46); }
.g5ps-scene button:disabled { cursor: default; }
.g5ps-choice-row, .g5ps-token-row, .g5ps-harbor-controls, .g5ps-temple-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 0; max-width: 900px; }
.g5ps-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; max-width: 920px; margin: 18px auto 0; }
.g5ps-result { position: relative; z-index: 8; max-width: 790px; margin: 18px auto 0; padding: 12px 18px; border: 2px solid #27a86f; border-radius: 16px; background: rgba(240,255,248,.96); color: #135b3d; font-weight: 850; text-align: center; box-shadow: 0 8px 20px rgba(11,83,55,.15); }
.g5ps-scene .wrong-cell { border-color: #d44b56 !important; animation: g5psShake .34s ease; }
.g5ps-scene .correct-cell { border-color: #1c9b68 !important; background: #e7fff3 !important; }
.g5ps-narrating [data-sync-label].is-speaking, .g5ps-together [data-sync-label] { outline: 4px solid rgba(255,205,63,.92); outline-offset: 4px; }
.g5ps-method-source-hidden { display: none !important; }
.g5ps-alternate-model { position:relative; z-index:9; width:min(820px,94%); margin:14px auto; padding:16px 18px; border:3px solid #f0a431; border-radius:20px; background:rgba(255,250,225,.97); box-shadow:0 12px 28px rgba(74,55,17,.18); }
.g5ps-alternate-model>small { display:block; margin-bottom:10px; color:#8a5a0b; font-weight:950; letter-spacing:.06em; text-align:center; }
.g5ps-alternate-model>div { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:9px; }
.g5ps-alternate-model span { display:flex; align-items:center; gap:8px; min-height:48px; padding:8px 10px; border:2px solid #e2c470; border-radius:13px; background:#fff; color:#173751; font-weight:850; }
.g5ps-alternate-model span b { flex:0 0 27px; width:27px; height:27px; display:grid; place-items:center; border-radius:50%; background:#1b7e82; color:#fff; }
.g5ps-alternate-model p { margin:9px 0 0; color:#6f5318; font-weight:800; text-align:center; }
@keyframes g5psShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

/* 01 · gerçek raster kadrajın üzerindeki dosya alanı */
.g5ps-desk { background: linear-gradient(rgba(7,22,29,.08),rgba(7,22,29,.2)), var(--scene) center/cover no-repeat; display: grid; place-items: end center; }
.g5ps-case-file { width: min(770px,78%); min-height: 330px; margin-bottom: 8px; padding: 24px 30px; border-radius: 24px; background: rgba(255,247,222,.93); box-shadow: 0 16px 35px rgba(10,20,26,.27); transform: perspective(1000px) rotateX(1deg); }
.g5ps-case-file h2 { margin-bottom: 8px; }
.g5ps-case-file p { margin: 0 auto 12px; max-width: 680px; text-align: center; font-weight: 750; }
.g5ps-evidence-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.g5ps-evidence-slots span { min-height: 42px; display: grid; place-items: center; border: 2px dashed #b5944a; border-radius: 12px; color: #7b6330; font-weight: 850; }
.g5ps-evidence-slots .found { border-style: solid; background: #fff5bf; color: #57420b; }
.g5ps-case-file .g5ps-token-row { margin-top: 11px; }

/* 02 · park ilan panosu */
.g5ps-park { background: linear-gradient(145deg,#fff4d2,#d7f0d1 56%,#acd5c3); }
.g5ps-park::before, .g5ps-park::after { content:""; position:absolute; bottom:-70px; width:240px; height:260px; border-radius:50% 50% 42% 42%; background:#6fa66f; opacity:.35; z-index:-1; }
.g5ps-park::before { left:-70px; }.g5ps-park::after { right:-60px; transform:scale(.8); }
.g5ps-notice { max-width:700px; margin:auto; padding:23px 30px; border:12px solid #8b5c34; border-radius:12px; background:#f4d59a; box-shadow:0 14px 25px rgba(70,45,23,.2); text-align:center; }
.g5ps-file-pairs { display:grid; grid-template-columns:repeat(2,minmax(0,300px)); justify-content:center; gap:18px; margin:20px auto; }
.g5ps-file-pairs section { min-height:110px; display:grid; grid-template-columns:54px 1fr; align-items:center; padding:16px; border:3px dashed #819b94; border-radius:20px; background:rgba(255,255,255,.76); }
.g5ps-file-pairs section span { grid-row:1/3; font-size:2rem; }.g5ps-file-pairs small,.g5ps-file-pairs b { text-align:left; }.g5ps-file-pairs .filled { border-style:solid; border-color:#1f9f79; }

/* 03 · fırın ve tablo */
.g5ps-bakery { background: radial-gradient(circle at 15% 12%,#fff 0 12%,transparent 34%),linear-gradient(135deg,#fff7ee,#ffd9a8); }
.g5ps-bakery-window { display:grid; grid-template-columns:160px minmax(360px,620px); align-items:center; justify-content:center; gap:20px; }
.g5ps-bakery-window>span { width:145px; aspect-ratio:1; display:grid; place-items:center; border:10px solid #c77642; border-radius:50%; background:#fff1cf; font-size:4.5rem; box-shadow:0 14px 30px rgba(112,66,32,.18); }
.g5ps-data-table { display:grid; grid-template-columns:1.25fr repeat(2,1fr); border:3px solid #c87843; border-radius:18px; overflow:hidden; box-shadow:0 12px 25px rgba(112,66,32,.14); }
.g5ps-data-table>* { min-height:56px; display:grid; place-items:center; padding:8px; border-right:1px solid #e0ab7c; border-bottom:1px solid #e0ab7c; background:rgba(255,255,255,.91); font-weight:850; }
.g5ps-data-table b { background:#8f432a; color:white; }.g5ps-data-table strong { background:#ffe6bd; }

/* 04 · boş/dolu kadraj + şeffaf PNG katmanı */
.g5ps-harbor { background: var(--scene) center/cover no-repeat; padding:0; }
.g5ps-harbor::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(9,34,55,.05),rgba(9,34,55,.18)); pointer-events:none; z-index:1; }
.g5ps-harbor-title { position:absolute; left:28px; top:24px; z-index:6; display:grid; gap:5px; padding:13px 18px; border-radius:16px; background:rgba(247,252,255,.92); box-shadow:0 9px 22px rgba(12,45,66,.2); }
.g5ps-harbor-title small { font-weight:900; color:#167b9f; }.g5ps-harbor-title b { font-size:1.2rem; }
.g5ps-cargo-layer { position:absolute; inset:0; z-index:3; pointer-events:none; }
.g5ps-cargo-layer img { position:absolute; left:calc(.8% + var(--i)*19%); top:41%; width:34%; height:auto; filter:drop-shadow(12px 15px 9px rgba(20,25,28,.34)) hue-rotate(calc(var(--i)*115deg)); transform:perspective(800px) rotateZ(-.5deg) scale(.95); transform-origin:bottom center; animation:g5psCargoLand .65s cubic-bezier(.2,.8,.2,1) both; }
.g5ps-cargo-question { position:absolute; left:64%; top:58%; width:95px; height:78px; display:grid; place-items:center; border:4px dashed rgba(255,255,255,.92); border-radius:15px; background:rgba(18,54,78,.38); color:#fff; font-size:2rem; font-weight:950; opacity:0; transform:scale(.75); transition:.3s; }.g5ps-cargo-question.show { opacity:1; transform:scale(1); }
.g5ps-capacity-model { position:absolute; z-index:6; left:50%; top:112px; width:min(680px,84%); transform:translateX(-50%); display:grid; gap:5px; padding:9px 12px; border-radius:15px; background:rgba(246,252,255,.94); box-shadow:0 9px 22px rgba(12,45,66,.2); color:#123f52; }
.g5ps-capacity-model>small { font-weight:900; text-align:center; }
.g5ps-capacity-track { display:grid; grid-template-columns:50fr 35.4167fr 14.5833fr; min-height:46px; overflow:hidden; border:3px solid #174b64; border-radius:12px; background:#eaf5f7; }
.g5ps-capacity-track span { display:grid; place-items:center; padding:4px; border-right:2px solid #174b64; font-weight:950; color:#193d4c; transition:background .35s ease,color .35s ease; }
.g5ps-capacity-track span:last-child { border-right:0; }.g5ps-capacity-track .load-a.revealed { background:#63c7d2; }.g5ps-capacity-track .load-b.revealed { background:#ffb763; }.g5ps-capacity-track .load-rest.revealed { background:#ffe16a; }
.g5ps-harbor-controls { position:absolute; z-index:7; left:50%; bottom:18px; width:min(850px,92%); transform:translateX(-50%); margin:0; padding:10px; border-radius:18px; background:rgba(245,251,255,.92); }
.g5ps-harbor .g5ps-result { position:absolute; z-index:9; left:50%; bottom:84px; width:min(720px,88%); transform:translateX(-50%); margin:0; }
@keyframes g5psCargoLand { from { opacity:0; transform:translateY(-130px) scale(.8); } to { opacity:1; transform:translateY(0) scale(.95); } }

/* 05 · sayı doğrusu */
.g5ps-map { background:linear-gradient(#caebff 0 32%,#9dd083 32% 100%); }
.g5ps-map-art { position:relative; max-width:880px; height:280px; margin:auto; border:5px solid #e8d29a; border-radius:30px; background:linear-gradient(155deg,#6cb676,#b6d989); box-shadow:inset 0 0 0 4px rgba(79,105,54,.2),0 16px 30px rgba(47,88,61,.18); overflow:hidden; }
.g5ps-map-art .tree,.g5ps-map-art .well { position:absolute; top:16px; z-index:2; display:grid; justify-items:center; font-size:3.6rem; }.g5ps-map-art .tree { left:50%; }.g5ps-map-art .well { left:80%; }.g5ps-map-art b { padding:4px 8px; border-radius:9px; background:rgba(255,255,255,.85); font-size:.78rem; }
.g5ps-map-art svg { position:absolute; left:4%; right:4%; bottom:25px; width:92%; height:145px; overflow:visible; }.g5ps-map-art svg path { stroke:#6b4f2a; stroke-width:5; fill:none; }.g5ps-map-art svg text { font:700 20px system-ui; text-anchor:middle; fill:#3b3224; }.g5ps-map-art svg circle { fill:#ffcc42; stroke:#5c431e; stroke-width:5; }
.g5ps-map-art svg .g5ps-distance-arc{stroke:#e4593f;stroke-width:7;stroke-dasharray:12 8;marker-end:url(#g5ps-distance-arrow);opacity:.58}.g5ps-map-art svg .g5ps-distance-label{font:900 20px system-ui;fill:#9d2f24}.g5ps-map-art svg #g5ps-distance-arrow path{fill:#e4593f;stroke:none}.g5ps-map.complete .g5ps-distance-arc{stroke-dasharray:none;opacity:1;animation:g5psRouteReveal .65s ease both}@keyframes g5psRouteReveal{from{stroke-dasharray:250;stroke-dashoffset:250}to{stroke-dasharray:250;stroke-dashoffset:0}}

/* 06 · bahçe tahmin sayacı */
.g5ps-orchard { background:linear-gradient(180deg,#ffcd8c,#f08563 48%,#744b52); color:#412628; }
.g5ps-orchard-art { display:grid; grid-template-columns:1fr 250px 1fr; gap:24px; align-items:center; max-width:850px; margin:35px auto 10px; }
.g5ps-orchard-art section { display:grid; justify-items:center; padding:18px; border-radius:28px; background:rgba(255,248,221,.9); }.g5ps-orchard-art section span { font-size:4.5rem; }.g5ps-orchard-art section b { font-size:2rem; }.g5ps-orchard-art section small { font-weight:850; }
.g5ps-estimate-meter { position:relative; aspect-ratio:1.4; display:grid; place-items:center; align-content:end; padding-bottom:28px; border:12px solid #fff0cc; border-radius:180px 180px 30px 30px; background:conic-gradient(from 270deg,#e96b5e,#ffcf56,#55b781); box-shadow:0 16px 30px rgba(65,31,30,.22); overflow:hidden; }.g5ps-estimate-meter::after { content:""; position:absolute; inset:28px; border-radius:inherit; background:#fff4dc; }.g5ps-estimate-meter i { position:absolute; z-index:2; left:50%; bottom:33px; width:8px; height:80px; border-radius:8px; background:#4b2a2c; transform-origin:50% 100%; transform:rotate(-68deg); transition:transform .7s ease; }.g5ps-estimate-meter i.at-400 { transform:rotate(13deg); }.g5ps-estimate-meter b,.g5ps-estimate-meter small { position:relative; z-index:3; }
.g5ps-hundred-crates{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;max-width:720px;margin:-2px auto 4px}.g5ps-hundred-crates i{position:relative;width:76px;height:62px;display:grid;grid-template-columns:28px 1fr;place-items:center;padding:6px;border:4px solid #7b4429;border-radius:8px;background:repeating-linear-gradient(0deg,#bd7442 0 8px,#955230 8px 12px);color:#fff6dc;box-shadow:0 8px 13px rgba(64,36,28,.2);font-style:normal;transform:translateY(3px)}.g5ps-hundred-crates i span{font-size:1.35rem}.g5ps-hundred-crates i b{font-size:1rem}.g5ps-hundred-crates i small{grid-column:1/-1;font-size:.48rem;font-weight:900}.g5ps-hundred-crates>strong{flex-basis:100%;font-size:.73rem}.g5ps-orchard.complete .g5ps-hundred-crates i{animation:g5psCrateCount .48s calc(var(--crate,0)*.08s) ease both}.g5ps-hundred-crates .crate-0{--crate:0}.g5ps-hundred-crates .crate-1{--crate:1}.g5ps-hundred-crates .crate-2{--crate:2}.g5ps-hundred-crates .crate-3{--crate:3}@keyframes g5psCrateCount{50%{transform:translateY(-8px);filter:brightness(1.18)}to{transform:translateY(0)}}

/* 07 · uzay plan paneli */
.g5ps-space { color:#e8ffff; background:radial-gradient(circle at 20% 18%,#325f8c 0 3px,transparent 4px),radial-gradient(circle at 78% 28%,#70e1da 0 2px,transparent 3px),linear-gradient(145deg,#091429,#15285a 55%,#0a6665); background-size:100px 100px,130px 130px,auto; }
.g5ps-space .board-kicker { color:#81fff4; }.g5ps-space-flow { display:grid; grid-template-columns:1fr 74px 1fr 52px 1fr; align-items:center; gap:12px; max-width:920px; margin:70px auto 38px; }.g5ps-space-flow section { min-height:125px; display:grid; place-items:center; padding:16px; border:2px solid #4de6da; border-radius:22px; background:rgba(8,23,53,.75); box-shadow:0 0 25px rgba(77,230,218,.18); }.g5ps-space-flow section small { color:#8ce8ff; font-weight:850; }.g5ps-space-flow section b { font-size:1.7rem; }.g5ps-space-flow i,.g5ps-space-flow em { font-style:normal; font-size:2.7rem; text-align:center; color:#ffe060; }
.g5ps-plan-reveal{display:flex;justify-content:center;align-items:center;gap:10px;max-width:620px;margin:12px auto 0;padding:11px 16px;border:2px solid #ffe36f;border-radius:18px;background:rgba(7,43,70,.9);box-shadow:0 10px 24px rgba(0,20,46,.26)}.g5ps-plan-reveal span,.g5ps-plan-reveal strong{padding:6px 10px;border-radius:10px;background:#fff;color:#173653}.g5ps-plan-reveal i{color:#ffe36f;font-style:normal;font-size:1.3rem;font-weight:900}

/* 08 · denizaltı + gerçek basamak bozma modeli */
.g5ps-submarine { color:#eaffff; background:linear-gradient(180deg,#1a94aa,#0a546d 48%,#062c47); }
.g5ps-place-lab { display:grid; grid-template-columns:minmax(110px,1fr) 90px minmax(110px,1fr) 90px minmax(110px,1fr); align-items:stretch; gap:8px; width:min(820px,96%); margin:20px auto 10px; }
.g5ps-place-lab section { min-height:105px; display:grid; grid-template-rows:auto auto 1fr; justify-items:center; align-items:center; gap:3px; padding:8px; border:2px solid #7ce8eb; border-radius:18px; background:rgba(3,34,54,.76); box-shadow:0 10px 20px rgba(0,16,28,.22); }
.g5ps-place-lab section small { color:#9cf5ef; font-weight:900; }.g5ps-place-lab section b { font:950 1.45rem ui-monospace,monospace; color:#ffe26d; }
.g5ps-place-lab section div { display:flex; flex-wrap:wrap; justify-content:center; align-content:center; gap:3px; min-height:32px; }
.g5ps-place-lab section i { width:10px; height:10px; border:1px solid #dff; border-radius:3px; background:#57dce7; animation:g5psUnitAppear .35s calc(var(--i)*22ms) ease both; }.g5ps-place-lab section:nth-of-type(2) i { width:7px; height:18px; background:#ffbd63; }.g5ps-place-lab section:nth-of-type(3) i { border-radius:50%; background:#ffe16a; }
.g5ps-place-lab section em { font-style:normal; font-size:.65rem; }.g5ps-exchange-arrow { display:grid; place-items:center; text-align:center; font-size:.72rem; font-weight:900; color:#ffe16a; }
.g5ps-column-op { width:235px; margin:5px auto 10px; padding:12px 24px; border:3px solid #57dce7; border-radius:22px; background:rgba(3,34,54,.82); box-shadow:0 14px 28px rgba(0,16,28,.3); }.g5ps-column-op div { display:grid; grid-template-columns:repeat(3,1fr); align-items:end; gap:8px; text-align:center; font:900 1.65rem ui-monospace,monospace; }.g5ps-column-op div:nth-child(2) { position:relative; }.g5ps-column-op div:nth-child(2) i { position:absolute; left:-13px; font-style:normal; }.g5ps-column-op hr { border:0; border-top:3px solid #e9ffff; }.g5ps-column-op .regroup-row { color:#ffe16a; font-size:1.25rem; }.g5ps-column-op.exchange-1 .regroup-row span:nth-child(2),.g5ps-column-op.exchange-1 .regroup-row span:nth-child(3),.g5ps-column-op.exchange-2 .regroup-row span { animation:g5psRegroup .45s ease both; }
@keyframes g5psUnitAppear { from { opacity:0; transform:scale(.35); } to { opacity:1; transform:scale(1); } }
@keyframes g5psRegroup { 50% { color:#fff; transform:translateY(-4px); } }

/* 09 · raster kontrol tapınağı ve tam hizalı DOM terazisi */
.g5ps-temple { background:var(--scene) center/cover no-repeat; padding:0; }
.g5ps-temple-title { position:absolute; top:24px; left:50%; z-index:6; transform:translateX(-50%); display:grid; justify-items:center; padding:11px 19px; border-radius:15px; background:rgba(255,250,224,.92); box-shadow:0 8px 20px rgba(96,62,19,.18); }.g5ps-temple-title small { color:#138c8f; font-weight:900; }
.g5ps-balance { position:absolute; z-index:4; left:50%; top:45%; width:62%; height:180px; transform:translate(-50%,-50%); }.g5ps-balance>i { position:absolute; left:8%; right:8%; top:58px; height:12px; border-radius:8px; background:#8b5e25; transform:rotate(-7deg); transform-origin:50% 50%; transition:transform .7s ease; box-shadow:0 8px 10px rgba(69,43,13,.25); }.g5ps-balance>i::before { content:""; position:absolute; left:50%; top:-10px; width:24px; height:110px; transform:translateX(-50%); clip-path:polygon(50% 0,100% 100%,0 100%); background:#b68a42; }.g5ps-balance section { position:absolute; top:82px; width:170px; min-height:70px; display:grid; place-items:center; border:5px solid #b68a42; border-radius:15px 15px 60px 60px; background:rgba(255,247,214,.94); }.g5ps-balance section:nth-of-type(1){left:0}.g5ps-balance section:nth-of-type(2){right:0}.g5ps-balance section b{font-size:1.2rem}.g5ps-balance section small{font-weight:750}.g5ps-balance.balanced>i{transform:rotate(0)}
.g5ps-balance.g5ps-proof-strip{display:grid;grid-template-columns:minmax(150px,1fr) 62px minmax(260px,1.45fr);align-items:stretch;gap:14px;top:46%;width:min(780px,82%);height:auto;padding:18px;border:5px solid #b68a42;border-radius:28px;background:rgba(255,247,214,.94);box-shadow:0 18px 32px rgba(69,43,13,.3)}.g5ps-proof-strip>i{position:relative;left:auto;right:auto;top:auto;width:auto;height:auto;display:grid;place-items:center;border-radius:18px;background:#138c8f;color:#fff;font-style:normal;font-size:2rem;transform:none;box-shadow:none}.g5ps-proof-strip>i::before{display:none}.g5ps-proof-strip section{position:relative;top:auto;left:auto!important;right:auto!important;width:auto;min-height:110px;border:0;border-radius:18px;background:#fff9df}.g5ps-proof-strip .whole{border:4px solid #138c8f}.g5ps-proof-strip .whole b{font-size:2rem}.g5ps-proof-strip .parts{display:grid;grid-template-columns:185fr 265fr;place-items:stretch;align-items:stretch;gap:0;padding:0;overflow:hidden;border:4px solid #138c8f}.g5ps-proof-strip .parts span{width:100%;height:100%;display:grid;place-items:center;align-content:center;padding:10px}.g5ps-proof-strip .parts span:first-child{background:#ffd46c}.g5ps-proof-strip .parts span:last-child{background:#6ed7cf}.g5ps-proof-strip.balanced{animation:g5psProofSettle .55s ease both}@keyframes g5psProofSettle{50%{transform:translate(-50%,-50%) scale(1.04)}to{transform:translate(-50%,-50%) scale(1)}}
.g5ps-temple-controls { position:absolute; z-index:7; bottom:18px; left:50%; transform:translateX(-50%); width:min(850px,92%); margin:0; }.g5ps-temple .g5ps-result { position:absolute; z-index:8; left:50%; bottom:82px; width:min(720px,88%); transform:translateX(-50%); margin:0; }

/* 10 · mutfak */
.g5ps-kitchen { background:linear-gradient(145deg,#fff4df,#ffc96f 55%,#e48350); }
.g5ps-recipe { display:grid; grid-template-columns:repeat(3,minmax(0,220px)); justify-content:center; gap:18px; margin:55px auto 30px; }.g5ps-recipe section { min-height:180px; display:grid; justify-items:center; align-content:center; gap:6px; border:5px solid #fff6df; border-radius:28px; background:#fffaf0; box-shadow:0 15px 28px rgba(113,60,28,.18); }.g5ps-recipe section span{font-size:3.5rem}.g5ps-recipe section strong{padding:7px 12px;border-radius:10px;background:#ffe1a5}.g5ps-recipe .mystery{border-color:#8d552d;transform:rotate(1.5deg)}
.g5ps-quantity-compare{display:grid;gap:7px;max-width:610px;margin:-16px auto 8px;padding:10px 14px;border-radius:18px;background:rgba(255,250,240,.9);box-shadow:0 10px 22px rgba(113,60,28,.13)}.g5ps-quantity-compare label{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:8px;font-size:.68rem;font-weight:900}.g5ps-quantity-bar{height:25px;display:grid;place-items:center;border:2px solid #7d542c;border-radius:8px;color:#492b17;transition:width .55s ease}.g5ps-quantity-bar.sugar{width:100%;background:#f6d9a2}.g5ps-quantity-bar.butter{width:81%;background:#ffe66a}.g5ps-quantity-bar b{font-size:.68rem}.g5ps-quantity-compare em{padding:3px 6px;border-radius:8px;background:#9b5838;color:#fff;font-size:.58rem;font-style:normal}.g5ps-quantity-compare.revealed .butter{animation:g5psQuantityReveal .55s ease both}@keyframes g5psQuantityReveal{from{width:100%}to{width:81%}}

/* 11 · siber devre */
.g5ps-cyber { color:#c9fff5; background:repeating-linear-gradient(90deg,rgba(34,228,182,.035) 0 1px,transparent 1px 42px),linear-gradient(145deg,#06141e,#082f35); }.g5ps-cyber .board-kicker{color:#60f6c8}.g5ps-circuit { display:grid; grid-template-columns:150px 90px 150px 70px 190px; justify-content:center; align-items:center; gap:16px; margin:95px auto 55px; }.g5ps-circuit section,.g5ps-circuit button { min-height:100px; display:grid; place-items:center; border:2px solid #38edbd; border-radius:20px; background:rgba(4,29,37,.85); color:#d9fff6; font-size:1.8rem; font-weight:900; box-shadow:0 0 24px rgba(56,237,189,.15); }.g5ps-circuit i{font-size:2.5rem;text-align:center}.g5ps-circuit .bad-node{border-color:#ff6a78;color:#ff9aa4}.g5ps-circuit .output{color:#ff9aa4}.g5ps-circuit .output:last-child:not(:only-child){ }

/* 12 · kamp: şeffaf öğretim nesneleri + orantılı kapasite */
.g5ps-camp { background:linear-gradient(180deg,#a4d9ee 0 37%,#7cbb72 37% 100%); }.g5ps-camp-art { position:relative; display:grid; grid-template-columns:260px repeat(2,180px); justify-content:center; align-items:end; gap:30px; margin:32px auto 18px; }.g5ps-backpack { width:230px; height:225px; display:grid; place-items:center; align-content:center; border:10px solid #294d52; border-radius:75px 75px 42px 42px; background:#ee8b4b; box-shadow:inset 0 -35px rgba(121,55,35,.18),0 18px 30px rgba(43,73,53,.2); }.g5ps-backpack b{font-size:1.55rem}.g5ps-load-meter{width:82%;height:82px;display:flex;margin-top:12px;overflow:hidden;border:3px solid #294d52;border-radius:14px;background:#fff1c7}.g5ps-load-meter span{display:grid;place-items:center;margin:0;padding:5px;font-size:.68rem;text-align:center;transition:width .7s ease,background .7s ease}.g5ps-load-meter .used{width:50%;background:#68c9ce}.g5ps-load-meter .free{width:50%;background:#fff1c7}.g5ps-camp-art.complete .g5ps-load-meter .used{width:40%}.g5ps-camp-art.complete .g5ps-load-meter .free{width:60%}.g5ps-camp-item{min-height:170px;display:grid;place-items:center;align-content:center;padding:8px;border-radius:22px;background:rgba(255,255,255,.85);box-shadow:0 12px 25px rgba(43,73,53,.15);transition:transform .65s ease,opacity .65s ease}.g5ps-camp-item img{display:block;width:150px;height:118px;object-fit:contain;filter:drop-shadow(0 10px 8px rgba(43,73,53,.22))}.g5ps-camp-item b{padding:3px 9px;border-radius:9px;background:#fff;font-size:.85rem}.g5ps-camp-art.complete .tent{transform:translate(-190px,25px) scale(.58);opacity:.18}.g5ps-camp-art.complete .basket{transform:translate(-360px,25px) scale(.58);opacity:.18}.g5ps-grouped-load{position:absolute;z-index:4;left:247px;top:75px;display:grid;place-items:center;padding:13px 18px;border:3px solid #fff4b4;border-radius:16px;background:#1b736f;color:#fff;box-shadow:0 10px 22px rgba(35,73,57,.28);opacity:0;transform:scale(.55);pointer-events:none}.g5ps-grouped-load span{color:#ffe16a;font-weight:900}.g5ps-camp-art.complete .g5ps-grouped-load{animation:g5psGroupLoad .65s .3s ease both}@keyframes g5psGroupLoad{to{opacity:1;transform:scale(1)}}

.g5ps-grouped-load{top:55px;padding:9px 15px}.g5ps-grouped-load>div{display:flex;align-items:center;gap:3px}.g5ps-grouped-load img{width:42px;height:34px;object-fit:contain}.g5ps-grouped-load strong{font-size:.76rem}

/* 13 · metro fişleri */
.g5ps-metro { color:#eefcff; background:linear-gradient(135deg,#15313e,#126478 52%,#9a2e75); }.g5ps-metro .board-kicker{color:#8af4f5}.g5ps-receipts { display:grid; grid-template-columns:1fr 90px 1fr; align-items:center; gap:20px; max-width:850px; margin:65px auto 35px; }.g5ps-receipts section{min-height:210px;padding:30px;border-radius:4px 4px 20px 20px;background:#fffdf0;color:#16313d;box-shadow:0 18px 32px rgba(0,20,30,.25);clip-path:polygon(0 0,100% 0,100% 94%,95% 100%,90% 94%,85% 100%,80% 94%,75% 100%,70% 94%,65% 100%,60% 94%,55% 100%,50% 94%,45% 100%,40% 94%,35% 100%,30% 94%,25% 100%,20% 94%,15% 100%,10% 94%,5% 100%,0 94%)}.g5ps-receipts section small{display:block;color:#137e8d;font-weight:900;margin-bottom:20px}.g5ps-receipts section b{line-height:1.8}.g5ps-receipts>i{width:76px;height:76px;display:grid;place-items:center;border:5px dashed #ffe45c;border-radius:50%;font-style:normal;font-size:2.4rem;color:#ffe45c;transform:rotate(-12deg)}.g5ps-receipts>i.stamped{animation:g5psStamp .45s ease both}@keyframes g5psStamp{from{transform:scale(1.8) rotate(-12deg);opacity:0}to{transform:scale(1) rotate(-12deg);opacity:1}}
.g5ps-verify-progress{position:relative;z-index:3;display:flex;justify-content:center;gap:28px;margin:12px auto 6px}.g5ps-verify-progress i{width:34px;height:34px;display:grid;place-items:center;border:3px solid rgba(255,255,255,.58);border-radius:50%;background:#15313e;color:#fff;font-style:normal;font-weight:900}.g5ps-verify-progress i.active{border-color:#ffe45c;color:#ffe45c;box-shadow:0 0 0 6px rgba(255,228,92,.13)}.g5ps-verify-progress i.done{border-color:#77e9d7;background:#137e8d;color:#fff}.g5ps-receipts mark{display:inline-grid;min-width:58px;place-items:center;padding:1px 5px;border-radius:7px;background:#ffe9a0;color:#16313d}.g5ps-receipts section.verified mark{background:#8ff0da;animation:g5psReceiptProof .45s ease both}@keyframes g5psReceiptProof{50%{transform:scale(1.13)}to{transform:scale(1)}}

/* 14 · lunapark */
.g5ps-fair { background:radial-gradient(circle at 20% 15%,#fff2ad 0 4px,transparent 5px),linear-gradient(145deg,#6e4bb2,#ee5c88 55%,#ffc458); background-size:80px 80px,auto;color:#321e52}.g5ps-fair-art{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,210px));justify-content:center;gap:14px;max-width:860px;margin:35px auto 15px}.g5ps-fair-art section{min-height:185px;display:grid;place-items:center;align-content:center;border:5px solid #fff0bd;border-radius:28px;background:rgba(255,255,255,.91);box-shadow:0 15px 28px rgba(66,32,92,.2)}.g5ps-fair-art section span{font-size:4rem}.g5ps-fair-art section strong{margin-top:8px;color:#a33664}.g5ps-fair-art aside{grid-column:1/-1;display:flex;justify-content:center;gap:22px;padding:12px;border:3px dashed #fff2a6;border-radius:18px;background:rgba(65,29,91,.78);color:#fff}.g5ps-fair-art aside strong{color:#ffe66b}

/* 15 · final */
.g5ps-final { background:radial-gradient(circle at 18% 16%,#fff 0 2px,transparent 3px),radial-gradient(circle at 80% 25%,#8ff4e8 0 2px,transparent 3px),linear-gradient(145deg,#07162c,#163a62 55%,#165e68); background-size:95px 95px,125px 125px,auto;color:#ecffff}.g5ps-final .board-kicker{color:#83f2e2}.g5ps-observatory{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:20px;max-width:820px;margin:20px auto;padding:18px 24px;border:2px solid #66dfd5;border-radius:24px;background:rgba(8,36,61,.8);box-shadow:0 15px 30px rgba(0,14,28,.28)}.g5ps-observatory>span{font-size:4.5rem;text-align:center}.g5ps-observatory b{font-size:1.15rem;color:#ffe779}.g5ps-observatory p{margin:6px 0 0;line-height:1.45}.g5ps-final-track{display:flex;justify-content:center;gap:12px;margin:10px}.g5ps-final-track i{width:52px;height:8px;border-radius:8px;background:#486d7f}.g5ps-final-track i.current{background:#ffe15d;box-shadow:0 0 15px #ffe15d}.g5ps-final-track i.done{background:#54d9a4}.g5ps-final .g5ps-choice-grid{grid-template-columns:1fr;max-width:850px}.g5ps-badge{max-width:600px;margin:20px auto 0;display:grid;grid-template-columns:70px 1fr;align-items:center;padding:17px 24px;border:3px solid #ffe56a;border-radius:24px;background:linear-gradient(135deg,#fff5b8,#fff);color:#173751;box-shadow:0 0 30px rgba(255,229,106,.35)}.g5ps-badge span{grid-row:1/3;font-size:3rem}.g5ps-badge b{font-size:1.25rem}.g5ps-badge small{font-weight:750}.g5ps-finish{background:linear-gradient(135deg,#1b9d78,#39c89a)!important;color:white!important}

/* Uygulamanın öğretmen panelli masaüstü düzeninde ders alanı yaklaşık 458px'e daralır. */
@media (min-width: 701px) and (max-width: 1400px) {
  .g5ps-scene { padding:22px 24px; }
  .g5ps-scene h2 { margin-bottom:14px; font-size:1.55rem; }
  .g5ps-case-file { width:86%; padding:20px; }
  .g5ps-file-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:14px auto; }
  .g5ps-file-pairs section { grid-template-columns:38px 1fr; min-height:96px; padding:10px; }
  .g5ps-file-pairs section span { font-size:1.45rem; }
  .g5ps-file-pairs small,.g5ps-file-pairs b { font-size:.72rem; }
  .g5ps-notice { padding:16px 18px; border-width:8px; font-size:.82rem; }
  .g5ps-bakery-window { grid-template-columns:76px minmax(0,1fr); gap:9px; width:100%; }
  .g5ps-bakery-window>span { width:68px; border-width:5px; font-size:2.15rem; }
  .g5ps-data-table>* { min-height:46px; padding:5px; font-size:.78rem; }
  .g5ps-orchard-art { grid-template-columns:minmax(0,1fr) 145px minmax(0,1fr); gap:8px; margin:32px auto 12px; }
  .g5ps-orchard-art section { padding:10px 4px; border-radius:19px; }
  .g5ps-orchard-art section span { font-size:2.8rem; }
  .g5ps-orchard-art section b { font-size:1.25rem; }
  .g5ps-estimate-meter { border-width:7px; padding-bottom:18px; }
  .g5ps-estimate-meter::after { inset:16px; }
  .g5ps-estimate-meter i { height:48px; bottom:22px; }
  .g5ps-estimate-meter small { font-size:.58rem; }
  .g5ps-space-flow { grid-template-columns:1fr 40px 1fr; gap:7px; margin:34px auto 22px; }
  .g5ps-space-flow em { display:none; }
  .g5ps-space-flow section:last-child { grid-column:1/-1; width:58%; justify-self:center; }
  .g5ps-space-flow section { min-height:82px; padding:7px; }
  .g5ps-space-flow section b { font-size:1.05rem; }
  .g5ps-space-flow i { font-size:1.8rem; }
  .g5ps-place-lab { grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) 38px minmax(0,1fr); gap:4px; margin:10px auto 6px; }
  .g5ps-place-lab section { min-height:88px; padding:5px 3px; }.g5ps-place-lab section small{font-size:.58rem}.g5ps-place-lab section b{font-size:1rem}.g5ps-place-lab section i{width:7px;height:7px}.g5ps-place-lab section:nth-of-type(2) i{width:5px;height:12px}.g5ps-exchange-arrow{font-size:.5rem}
  .g5ps-column-op { width:205px; margin:3px auto 7px; padding:8px 17px; }
  .g5ps-column-op div { font-size:1.35rem; }.g5ps-column-op .regroup-row{font-size:1rem}
  .g5ps-balance.g5ps-proof-strip { grid-template-columns:minmax(90px,1fr) 40px minmax(150px,1.45fr); gap:7px; width:92%; padding:9px; border-width:3px; }
  .g5ps-proof-strip section { width:auto; min-height:88px; }.g5ps-proof-strip .parts span { padding:5px; }.g5ps-proof-strip .parts b,.g5ps-proof-strip .whole b { font-size:.9rem; }.g5ps-proof-strip>i { left:auto; right:auto; }
  .g5ps-plan-reveal { margin-top:7px; padding:8px 10px; font-size:.76rem; }
  .g5ps-quantity-compare { margin:-20px auto 5px; padding:7px 10px; }
  .g5ps-circuit { grid-template-columns:1fr 58px 1fr; gap:8px; margin:62px auto 24px; }
  .g5ps-circuit i { display:none; }
  .g5ps-circuit .output { grid-column:1/-1; width:55%; justify-self:center; }
  .g5ps-circuit section,.g5ps-circuit button { min-height:76px; font-size:1.18rem; }
  .g5ps-camp-art { grid-template-columns:128px repeat(2,minmax(0,1fr)); gap:8px; margin:20px auto 10px; }
  .g5ps-backpack { width:124px; height:155px; border-width:7px; }
  .g5ps-backpack b { font-size:1rem; }
  .g5ps-load-meter{height:62px}.g5ps-load-meter span { font-size:.54rem; }
  .g5ps-camp-art section { min-height:125px; }
  .g5ps-camp-item img{width:98px;height:86px}
  .g5ps-camp-art section b { font-size:.7rem; }
  .g5ps-camp-art.complete .tent{transform:translate(-96px,15px) scale(.5)}.g5ps-camp-art.complete .basket{transform:translate(-190px,15px) scale(.5)}.g5ps-grouped-load{left:124px;top:48px;padding:8px;font-size:.64rem}
  .g5ps-receipts { grid-template-columns:1fr 46px 1fr; gap:7px; margin:22px auto 13px; }
  .g5ps-receipts section { min-height:176px; padding:16px 10px; font-size:.72rem; }
  .g5ps-receipts section small { margin-bottom:9px; }
  .g5ps-receipts>i { width:43px; height:43px; border-width:3px; font-size:1.45rem; }
  .g5ps-fair-art { gap:7px; margin:20px auto 10px; }
  .g5ps-fair-art section { min-height:142px; border-width:3px; }
  .g5ps-fair-art section span { font-size:2.5rem; }
  .g5ps-fair-art section b,.g5ps-fair-art section strong { font-size:.7rem; }
  .g5ps-fair-art aside { gap:9px; padding:8px; font-size:.72rem; }
  .g5ps-observatory { grid-template-columns:65px 1fr; gap:10px; margin:9px auto; padding:11px; }
  .g5ps-observatory>span { font-size:2.8rem; }
  .g5ps-observatory b { font-size:.88rem; }
  .g5ps-observatory p { font-size:.75rem; }
}

@media (max-width: 700px) {
  .grade5-problem-solving-board { min-height: 575px; border-radius: 20px; }
  .g5ps-scene { min-height:575px; padding:20px 14px; }
  .g5ps-scene h2 { margin-bottom:13px; font-size:1.33rem; }
  .g5ps-choice-grid { grid-template-columns:1fr; gap:8px; margin-top:12px; }
  .g5ps-choice-row,.g5ps-token-row { gap:7px; margin-top:12px; }
  .g5ps-scene button { min-height:48px; padding:9px 11px; font-size:.82rem; }
  .g5ps-alternate-model { width:100%; margin:9px auto; padding:11px; }
  .g5ps-alternate-model>div { grid-template-columns:1fr; gap:6px; }
  .g5ps-alternate-model span { min-height:40px; padding:6px 8px; font-size:.72rem; }
  .g5ps-alternate-model p { font-size:.7rem; }
  .g5ps-result { margin-top:12px; padding:9px 12px; font-size:.83rem; }
  .g5ps-desk { background-position:center top; align-items:end; }
  .g5ps-case-file { width:94%; min-height:370px; margin-bottom:4px; padding:16px 14px; transform:none; }
  .g5ps-case-file p { font-size:.83rem; }.g5ps-evidence-slots { gap:5px; }.g5ps-evidence-slots span { min-height:38px; font-size:.72rem; }
  .g5ps-file-pairs { grid-template-columns:1fr 1fr; gap:8px; margin:12px auto; }.g5ps-file-pairs section { min-height:100px; grid-template-columns:34px 1fr; padding:9px; }.g5ps-file-pairs section span{font-size:1.4rem}.g5ps-file-pairs small,.g5ps-file-pairs b{font-size:.7rem}
  .g5ps-notice { padding:13px 15px; border-width:7px; font-size:.8rem; }
  .g5ps-bakery-window { grid-template-columns:1fr; gap:8px; }.g5ps-bakery-window>span { width:66px; font-size:2.1rem; border-width:5px; }.g5ps-data-table>* { min-height:42px; font-size:.75rem; }
  .g5ps-harbor { min-height:575px; background-size:auto 100%; background-position:44% center; }.g5ps-harbor-title{left:12px;top:12px;padding:8px 11px}.g5ps-harbor-title b{font-size:.83rem}.g5ps-capacity-model{top:87px;width:94%;padding:6px 8px}.g5ps-capacity-model>small{font-size:.63rem}.g5ps-capacity-track{min-height:38px}.g5ps-capacity-track span{font-size:.67rem;padding:2px}.g5ps-cargo-layer img{left:calc(1% + var(--i)*24%);top:43%;width:41%;}.g5ps-cargo-question{left:65%;top:57%;width:64px;height:55px;font-size:1.4rem}.g5ps-harbor-controls,.g5ps-temple-controls{bottom:10px;width:96%;gap:6px;padding:7px}.g5ps-harbor-controls button,.g5ps-temple-controls button{flex:1 1 30%;font-size:.7rem}.g5ps-harbor .g5ps-result,.g5ps-temple .g5ps-result{bottom:83px;width:94%;font-size:.72rem}
  .g5ps-map-art { height:300px; overflow:hidden; }.g5ps-map-art svg { left:1%; right:auto; width:98%; max-width:none; }.g5ps-map-art .tree{left:47%;}.g5ps-map-art .well{left:78%;}.g5ps-map-art .tree,.g5ps-map-art .well{font-size:2.6rem}.g5ps-map-art b{font-size:.62rem}.g5ps-map-art svg text{font-size:15px}
  .g5ps-orchard-art { grid-template-columns:1fr 115px 1fr; gap:8px; margin:24px auto 8px; }.g5ps-orchard-art section{padding:9px}.g5ps-orchard-art section span{font-size:2.6rem}.g5ps-orchard-art section b{font-size:1.25rem}.g5ps-estimate-meter{border-width:6px;padding-bottom:17px}.g5ps-estimate-meter::after{inset:14px}.g5ps-estimate-meter i{height:42px;bottom:21px}.g5ps-estimate-meter small{font-size:.58rem}.g5ps-hundred-crates{gap:4px;margin:0 auto}.g5ps-hundred-crates i{width:57px;height:50px;grid-template-columns:20px 1fr;padding:3px;border-width:3px}.g5ps-hundred-crates i span{font-size:1rem}.g5ps-hundred-crates i b{font-size:.78rem}.g5ps-hundred-crates i small{font-size:.4rem}.g5ps-hundred-crates>strong{font-size:.61rem}
  .g5ps-space-flow { grid-template-columns:1fr 42px 1fr; gap:7px; margin:35px auto 25px; }.g5ps-space-flow em{display:none}.g5ps-space-flow section:last-child{grid-column:1/-1;width:60%;justify-self:center}.g5ps-space-flow section{min-height:85px;padding:8px}.g5ps-space-flow section b{font-size:1.05rem}.g5ps-space-flow i{font-size:1.8rem}
  .g5ps-plan-reveal{gap:5px;margin-top:8px;padding:8px;font-size:.72rem}.g5ps-plan-reveal span,.g5ps-plan-reveal strong{padding:5px}.g5ps-plan-reveal i{font-size:1rem}
  .g5ps-place-lab{grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr) 35px minmax(0,1fr);gap:3px;margin:11px auto 7px}.g5ps-place-lab section{min-height:94px;padding:5px 2px}.g5ps-place-lab section small{font-size:.55rem}.g5ps-place-lab section b{font-size:1.05rem}.g5ps-place-lab section i{width:7px;height:7px}.g5ps-place-lab section:nth-of-type(2) i{width:5px;height:12px}.g5ps-exchange-arrow{font-size:.48rem}.g5ps-column-op{width:205px;margin:2px auto 8px;padding:8px 17px}.g5ps-column-op div{font-size:1.35rem}.g5ps-column-op .regroup-row{font-size:1rem}
  .g5ps-temple{min-height:575px;background-size:auto 100%;background-position:center}.g5ps-temple-title{top:12px;width:82%;padding:7px 10px}.g5ps-temple-title b{font-size:.78rem}.g5ps-balance{top:48%;width:88%;height:155px}.g5ps-balance section{width:118px;min-height:58px}.g5ps-balance section b{font-size:.82rem}.g5ps-balance>i{left:7%;right:7%}.g5ps-balance.g5ps-proof-strip{grid-template-columns:1fr 38px 1.45fr;gap:6px;top:45%;width:94%;height:auto;padding:8px;border-width:3px}.g5ps-proof-strip section{width:auto;min-height:94px}.g5ps-proof-strip .parts span{padding:4px}.g5ps-proof-strip .parts small{font-size:.48rem}.g5ps-proof-strip .parts b,.g5ps-proof-strip .whole b{font-size:.86rem}.g5ps-proof-strip>i{left:auto;right:auto;font-size:1.35rem}
  .g5ps-recipe { grid-template-columns:repeat(3,1fr);gap:7px;margin:23px auto 17px}.g5ps-recipe section{min-height:122px;border-width:3px}.g5ps-recipe section span{font-size:2.3rem}.g5ps-recipe section b,.g5ps-recipe section strong{font-size:.7rem}.g5ps-quantity-compare{margin:-10px auto 4px;padding:7px 9px}.g5ps-quantity-compare label{grid-template-columns:43px 1fr auto;gap:5px;font-size:.56rem}.g5ps-quantity-bar{height:21px}.g5ps-quantity-compare em{font-size:.48rem}
  .g5ps-circuit{grid-template-columns:1fr 58px 1fr;gap:8px;margin:65px auto 30px}.g5ps-circuit i{display:none}.g5ps-circuit .output{grid-column:1/-1;width:55%;justify-self:center}.g5ps-circuit section,.g5ps-circuit button{min-height:74px;font-size:1.15rem}
  .g5ps-camp-art{grid-template-columns:150px repeat(2,minmax(0,1fr));gap:6px;margin:23px auto 10px}.g5ps-backpack{width:145px;height:165px;border-width:7px}.g5ps-backpack b{font-size:1.05rem}.g5ps-load-meter{height:62px}.g5ps-load-meter span{font-size:.52rem;padding:2px}.g5ps-camp-art section{min-height:125px;padding:4px}.g5ps-camp-item img{width:82px;height:82px}.g5ps-camp-art section b{font-size:.64rem}.g5ps-camp-art.complete .tent{transform:translate(-110px,12px) scale(.48)}.g5ps-camp-art.complete .basket{transform:translate(-185px,12px) scale(.48)}.g5ps-grouped-load{left:142px;top:52px;padding:7px;font-size:.58rem}
  .g5ps-verify-progress{gap:20px;margin:4px auto 5px}.g5ps-verify-progress i{width:28px;height:28px;font-size:.72rem}.g5ps-receipts{grid-template-columns:1fr 42px 1fr;gap:6px;margin:8px auto 9px}.g5ps-receipts section{min-height:164px;padding:15px 8px;font-size:.64rem}.g5ps-receipts section small{margin-bottom:8px}.g5ps-receipts>i{width:38px;height:38px;border-width:3px;font-size:1.3rem}.g5ps-receipts mark{min-width:48px}
  .g5ps-fair-art{grid-template-columns:repeat(3,1fr);gap:6px;margin:28px auto 12px}.g5ps-fair-art section{min-height:135px;border-width:3px}.g5ps-fair-art section span{font-size:2.4rem}.g5ps-fair-art section b,.g5ps-fair-art section strong{font-size:.67rem}.g5ps-fair-art aside{gap:8px;padding:8px;font-size:.68rem}
  .g5ps-observatory{grid-template-columns:58px 1fr;gap:9px;margin:8px auto;padding:11px}.g5ps-observatory>span{font-size:2.7rem}.g5ps-observatory b{font-size:.82rem}.g5ps-observatory p{font-size:.7rem}.g5ps-final-track i{width:34px}.g5ps-badge{grid-template-columns:45px 1fr;padding:12px}.g5ps-badge span{font-size:2rem}.g5ps-badge b{font-size:.95rem}.g5ps-badge small{font-size:.7rem}
}

@media (prefers-reduced-motion: reduce) {
  .g5ps-cargo-layer img,.g5ps-map.complete .g5ps-distance-arc,.g5ps-orchard.complete .g5ps-hundred-crates i,.g5ps-place-lab section i,.g5ps-column-op .regroup-row span,.g5ps-proof-strip.balanced,.g5ps-quantity-compare.revealed .butter,.g5ps-camp-art.complete .g5ps-grouped-load,.g5ps-receipts>i.stamped,.g5ps-receipts section.verified mark,.g5ps-scene .wrong-cell { animation:none; }
  .g5ps-estimate-meter i,.g5ps-balance>i,.g5ps-camp-item,.g5ps-load-meter span { transition:none; }
}
.g5rw-scene{position:relative;isolation:isolate;width:100%;height:100%;min-height:510px;overflow:hidden;border-radius:28px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.g5rw-scene h1,.g5rw-scene h2,.g5rw-scene p{margin:0}.g5rw-scene h1{font-size:clamp(1.35rem,2.7vw,2.1rem)}.g5rw-scene h2{font-size:clamp(1.18rem,2.1vw,1.65rem)}
.g5rw-scene button{min-width:44px;min-height:44px;font:inherit;touch-action:manipulation}.g5rw-scene .board-kicker{position:relative;z-index:4;color:#087f76;font-weight:950;letter-spacing:.1em;font-size:.72rem}
.g5rw-choice-row,.g5rw-token-pool,.g5rw-label-pool,.g5rw-block-pool,.g5rw-word-pool{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;position:relative;z-index:4}
.g5rw-choice-row button,.g5rw-token-pool button,.g5rw-label-pool button,.g5rw-block-pool button,.g5rw-word-pool button{min-height:48px;padding:10px 15px;border:2px solid #8dc9c1;border-radius:14px;background:#fff;color:#123f52;font-weight:900;box-shadow:0 5px 0 #7cb8af55;cursor:pointer}
.g5rw-choice-row button:hover,.g5rw-token-pool button:hover,.g5rw-label-pool button:hover,.g5rw-block-pool button:hover,.g5rw-word-pool button:hover,.g5rw-choice-row button:focus-visible,.g5rw-token-pool button:focus-visible,.g5rw-label-pool button:focus-visible,.g5rw-block-pool button:focus-visible,.g5rw-word-pool button:focus-visible{outline:4px solid #ffca55;transform:translateY(-2px)}
.g5rw-choice-row button:disabled,.g5rw-token-pool button:disabled,.g5rw-label-pool button:disabled,.g5rw-block-pool button:disabled,.g5rw-word-pool button:disabled{opacity:.38;box-shadow:none}
.g5rw-choice-row button.correct-cell{border-color:#0a9887;background:#d8f7ed}.g5rw-choice-row button.wrong-cell,.g5rw-scene button.wrong-cell{border-color:#dc7055;animation:g5rw-shake .24s linear}
.g5rw-group{display:grid;grid-template-rows:1fr auto;min-width:112px;padding:12px;border-radius:18px;border:3px solid #9ed2ca;background:#fff}.g5rw-group b{font-size:1.9rem}.g5rw-group small{font-size:.68rem;font-weight:900;color:#42736f}

/* 01 · Uzay ölçüm kaydı */
.g5rw-space{background:radial-gradient(circle at 20% 20%,#234c73 0,#122c50 40%,#081b36 100%);color:#fff;align-items:flex-end;padding-right:6%}
.g5rw-space-art{position:absolute;inset:0;width:100%;height:100%;z-index:0}.g5rw-space-copy{position:relative;z-index:2;width:min(56%,580px);padding:22px;border:2px solid #a9eee45c;border-radius:26px;background:#0b2749dc;backdrop-filter:blur(7px)}
.g5rw-space .board-kicker{color:#92eee1}.g5rw-digit-cloud{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:14px auto;border:0;background:transparent;cursor:pointer}
.g5rw-digit-cloud span{display:grid;place-items:center;width:36px;height:43px;border-radius:11px;background:#fff;color:#143c55;font-weight:950;font-size:1.35rem;transform:translateY(calc((var(--n,0) - 2)*3px)) rotate(calc((var(--n,0) - 2)*2deg));box-shadow:0 7px 0 #58b8b766}
.g5rw-digit-cloud span:nth-child(3n+1){--n:1}.g5rw-digit-cloud span:nth-child(3n+2){--n:3}.g5rw-digit-cloud span:nth-child(3n){--n:2}.g5rw-aligned{display:none;font-size:clamp(1.35rem,3vw,2.15rem);letter-spacing:.11em;color:#fff6b1}.g5rw-space.complete .g5rw-digit-cloud{display:none}.g5rw-space.complete .g5rw-aligned{display:block;animation:g5rw-pop .55s ease-out}

/* 02 · Yörünge ayırıcı */
.g5rw-orbit{background:linear-gradient(155deg,#f5f1ff,#dff8f4)}.g5rw-orbit:before{content:"";position:absolute;inset:15% -12%;border:3px dashed #75c6bd;border-radius:50%;transform:rotate(-7deg);opacity:.3}
.g5rw-separator-line{position:relative;z-index:2;display:flex;align-items:center;padding:24px 30px;border-radius:26px;background:#173e55;color:#fff;font-size:clamp(1.5rem,4vw,2.8rem);letter-spacing:.08em;box-shadow:0 14px 30px #143b5528}
.g5rw-separator-line i{width:5px;height:54px;margin:0 8px;border-radius:9px;background:#f5ba43;opacity:.15;transition:.35s ease}.g5rw-separator-line[data-step="1"] i:nth-of-type(3),.g5rw-separator-line[data-step="2"] i:nth-of-type(n+2),.g5rw-separator-line[data-step="3"] i{opacity:1;box-shadow:0 0 0 5px #ffd86a33}
.g5rw-orbit-counters{display:flex;gap:9px;position:relative;z-index:3;flex-wrap:wrap;justify-content:center}.g5rw-orbit-counters span{padding:10px 14px;border-radius:14px;background:#173e55;color:#fff;font-weight:900}.g5rw-orbit-counters button{min-height:46px;border:2px solid #83c9bf;border-radius:14px;background:#fff;color:#174a56;font-weight:900}.g5rw-orbit-counters button.next{box-shadow:0 0 0 5px #ffc84b55}.g5rw-orbit-counters button:disabled{opacity:.45}

/* 03 · Bölük limanı */
.g5rw-harbor{background:linear-gradient(#dff6f2 0 61%,#87c9d3 62% 69%,#146b79 70%)}.g5rw-harbor:after{content:"";position:absolute;left:0;right:0;bottom:11%;height:18%;background:repeating-linear-gradient(175deg,#fff0 0 24px,#fff4 25px 31px);opacity:.55}
.g5rw-harbor-docks{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:min(720px,94%);z-index:2}.g5rw-harbor-docks section{display:grid;gap:7px;padding:18px 8px;border-radius:18px 18px 5px 5px;background:#fff;border-bottom:8px solid #d79b43;box-shadow:0 10px 18px #164a5530}.g5rw-harbor-docks section:nth-child(1){border-color:#8a6bd1}.g5rw-harbor-docks section:nth-child(2){border-color:#e79553}.g5rw-harbor-docks section:nth-child(3){border-color:#35a889}.g5rw-harbor-docks span{font-size:1.8rem;font-weight:950}.g5rw-harbor-docks b{color:#0c7f75;font-size:.76rem}

/* 04 · Tekrarlayan odalar */
.g5rw-rooms{background:linear-gradient(135deg,#fff6dd,#e4f6f1)}.g5rw-room-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:min(760px,96%)}.g5rw-room-grid section{padding:13px 8px;border:3px solid #b8d9d3;border-radius:18px;background:#fff}.g5rw-room-grid section>b{display:block;margin-bottom:9px;color:#0b7d72}.g5rw-room-grid section>div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.g5rw-room-grid i{display:grid;place-items:center;height:64px;border-radius:10px;background:#dff4ef;color:#123f52;font-style:normal;font-size:1.25rem;font-weight:950}.g5rw-room-grid small{display:block;margin-top:8px;font-size:.58rem;font-weight:850}

/* 05 · Okuma rayı */
.g5rw-rail{background:linear-gradient(#dff0ff 0 64%,#ccd9d9 65% 72%,#6c786f 73%)}.g5rw-reading-track{display:grid;grid-template-columns:1.1fr .8fr 1.1fr .8fr 1.1fr .8fr 1.1fr;gap:5px;width:min(760px,96%);padding:16px;border-radius:20px;background:#163e55;box-shadow:0 12px 0 #1d2b34}.g5rw-reading-track span{display:grid;place-items:center;min-height:58px;border:2px dashed #7cbcb6;border-radius:11px;color:#b4dad6}.g5rw-reading-track span.placed{border-style:solid;background:#fff;color:#133e51;font-weight:950;animation:g5rw-car .35s ease-out}.g5rw-token-pool button{min-width:70px}

/* 06 · Cümle editörü */
.g5rw-editor{background:linear-gradient(145deg,#f5eefc,#e8f8f3)}.g5rw-reading-sentence{max-width:760px;padding:28px;border-radius:24px;background:#fff;border:3px solid #c6ded9;font-size:clamp(1.05rem,2.2vw,1.55rem);font-weight:850;line-height:1.65}.g5rw-reading-sentence button{min-height:46px;padding:4px 11px;border:3px solid #db684d;border-radius:12px;background:#fff0e9;color:#b8462f;font-weight:950;animation:g5rw-glow 1.2s ease-in-out infinite alternate}.g5rw-editor.complete .g5rw-reading-sentence button{display:none}.g5rw-editor-rule{padding:10px 15px;border-radius:13px;background:#1a6f70;color:#fff;font-weight:750}

/* 07 · Veri duvarı */
.g5rw-data-wall{background:linear-gradient(120deg,#f1f8ef,#d9edf8)}.g5rw-map-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;width:min(760px,96%)}.g5rw-map-cards button{min-height:220px;padding:13px;border:3px solid #aad0c9;border-radius:22px;background:#fff;color:#123f52;display:grid;gap:6px;place-items:center;cursor:pointer}.g5rw-map-cards svg{width:100%;height:90px}.g5rw-map-cards path{fill:#cce9d0;stroke:#6faaa1;stroke-width:4}.g5rw-map-cards b{font-size:1.35rem}.g5rw-map-cards small{font-weight:800;color:#52706e}

/* 08 · Sessiz tünel */
.g5rw-tunnel{background:radial-gradient(ellipse at center,#45677a,#172f45 67%,#0c1e32);color:#fff}.g5rw-tunnel-track{display:flex;align-items:center;gap:18px;padding:28px;border:5px solid #85b9bc;border-radius:90px;background:#102b3ee8}.g5rw-tunnel-track>button{border:0;background:transparent;padding:0}.g5rw-tunnel .g5rw-group{color:#123f52}.g5rw-tunnel .g5rw-group.silent{border-color:#f4c15b}.g5rw-tunnel.complete .g5rw-group.silent{opacity:.32}.g5rw-sound-route{display:flex;align-items:center;gap:15px;font-weight:950}.g5rw-sound-route i{font-size:2rem;color:#ffd66d;font-style:normal;opacity:0}.g5rw-tunnel.complete .g5rw-sound-route i{opacity:1;animation:g5rw-hop .65s ease-out}

/* 09 · Veri kasası */
.g5rw-vault{background:linear-gradient(145deg,#1a4458,#0d6d6a);color:#fff}.g5rw-vault-slots,.g5rw-console-display{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;width:min(760px,96%)}.g5rw-vault-slots section,.g5rw-console-display section{display:grid;gap:7px;padding:17px 8px;border:3px solid #87c6bd;border-radius:16px;background:#f4fffde8;color:#123f52}.g5rw-vault-slots section b,.g5rw-console-display section b{font-size:1.7rem;letter-spacing:.08em}.g5rw-vault-slots section small,.g5rw-console-display section small{font-weight:900;color:#36746d}.g5rw-vault-slots section span{font-size:.62rem;font-weight:900}.g5rw-vault-slots section.filled,.g5rw-console-display section.filled{border-color:#ffd266;background:#fff8d8;animation:g5rw-pop .35s ease-out}.g5rw-vault .g5rw-block-pool button{font-size:1.25rem}
.g5rw-abacus-scene{gap:9px}.g5rw-abacus{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(820px,98%);padding:12px;border:5px solid #8d633d;border-radius:23px;background:linear-gradient(#dca968,#b8783f);box-shadow:inset 0 0 0 4px #f3cc8d,0 16px 28px #041d2938}.g5rw-abacus section{display:grid;grid-template-rows:auto 112px auto;gap:3px;min-width:0;padding:7px 7px 6px;border:3px solid #77bbb2;border-radius:15px;background:#f4fffdeb;color:#123f52;transition:border-color .25s,background .25s,filter .25s}.g5rw-abacus section.filled{border-color:#ffd266;background:#fff8d8;animation:g5rw-pop .35s ease-out}.g5rw-abacus section.waiting{border-style:dashed;opacity:.72}.g5rw-abacus section>small{font-size:.68rem;font-weight:950;color:#2c7069}.g5rw-abacus section>strong{font-size:1rem;letter-spacing:.09em}.g5rw-abacus-rods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;min-width:0}.g5rw-abacus-rod{position:relative;display:grid;grid-template-rows:82px 18px 12px;place-items:center;min-width:0}.g5rw-abacus-rod b{position:relative;display:block;width:100%;height:82px}.g5rw-abacus-rod b:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:4px;border-radius:5px;background:#8b5d32;transform:translateX(-50%);box-shadow:1px 0 #f5d7a7}.g5rw-abacus-rod i{position:absolute;left:50%;bottom:calc(3px + var(--bead)*8.4px);width:24px;height:8px;border:2px solid #0a746d;border-radius:999px;background:#35b9a6;box-sizing:border-box;transform:translateX(-50%);z-index:2}.g5rw-abacus section:nth-child(even) .g5rw-abacus-rod i{border-color:#8a5a18;background:#efb947}.g5rw-abacus-rod em{display:grid;place-items:center;width:22px;height:18px;border-radius:6px;background:#173e55;color:#fff;font-size:.69rem;font-style:normal;font-weight:950}.g5rw-abacus-rod u{color:#5a7775;font-size:.53rem;font-weight:950;text-decoration:none}.g5rw-abacus section.waiting .g5rw-abacus-rod:before{content:"";position:absolute;left:50%;top:2px;width:3px;height:80px;border-radius:4px;background:#a88662;transform:translateX(-50%);opacity:.45}.g5rw-abacus-scene .g5rw-block-pool button{min-width:78px}.g5rw-abacus-scene .g5rw-block-pool button:hover,.g5rw-abacus-scene .g5rw-block-pool button:focus-visible{outline:4px solid #ffca55;outline-offset:2px;transform:translateY(-2px)}

/* 10 · Bölük atölyesi */
.g5rw-workshop{background:linear-gradient(135deg,#fff3d4,#dff5ed)}.g5rw-workshop:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#cf916a19 1px,transparent 1px),linear-gradient(#cf916a19 1px,transparent 1px);background-size:30px 30px}.g5rw-workbench{display:flex;align-items:stretch;gap:12px;padding:22px;border-radius:24px;background:#bd7a50;box-shadow:inset 0 -9px #8f5335,0 16px 24px #703b2525;z-index:2}.g5rw-workbench section{display:grid;place-items:center;min-width:115px;padding:12px;border:3px dashed #ffd67f;border-radius:17px;background:#fff9e8}.g5rw-workbench section b{font-size:2rem}.g5rw-workbench section small{font-weight:850;color:#6a5439}

/* 11 · Kontrollü kasa */
.g5rw-console{background:radial-gradient(circle at 50% 20%,#234d67,#0d293e);color:#fff}.g5rw-console:before{content:"";position:absolute;inset:9%;border:2px solid #65c8be55;border-radius:34px;box-shadow:inset 0 0 45px #0af2d60d}.g5rw-console-display{z-index:2}.g5rw-console-display section{background:#edf9f5;color:#103e4d}.g5rw-console .g5rw-choice-row button{font-size:1.2rem;min-width:90px}

/* 12 · Enerji sahası */
.g5rw-energy{background:linear-gradient(#dff5ff 0 64%,#eef7d6 65%)}.g5rw-wind{width:min(760px,96%);height:220px}.g5rw-wind g path{stroke:#527781;stroke-width:8;stroke-linecap:round;fill:none}.g5rw-wind g circle{fill:#fff;stroke:#527781;stroke-width:5}.g5rw-narrating .g5rw-wind g{animation:g5rw-turbine 3.2s linear infinite;transform-box:fill-box;transform-origin:center 9px}

/* 13 · Sıfır onarım */
.g5rw-repair{background:linear-gradient(135deg,#fceee8,#e2f5f0)}.g5rw-repair-strip{display:flex;align-items:center;gap:8px;padding:24px;border-radius:22px;background:#fff;box-shadow:0 13px 25px #573d3020}.g5rw-repair-strip span,.g5rw-repair-strip b{padding:13px 17px;border-radius:13px;background:#dff3ef;font-size:1.55rem}.g5rw-repair-strip i{font-style:normal;font-weight:900;color:#087f76}.g5rw-repair-strip .gap{border:3px dashed #db684d;background:#fff0e8;color:#bb513a}

/* 14 · Genelleme köprüsü */
.g5rw-bridge{background:linear-gradient(#e8f3ff 0 57%,#aacbd0 58% 65%,#506b6d 66%)}.g5rw-rule-sentence{position:relative;z-index:2;max-width:780px;padding:24px;border-radius:22px;background:#fff;font-size:clamp(1rem,2vw,1.38rem);font-weight:800;line-height:1.75;box-shadow:0 12px 24px #203d4c24}.g5rw-rule-sentence b{padding:5px 9px;border-radius:9px;background:#d9f1ec;color:#087f76}

/* 15 · Bağımsız final */
.g5rw-final{background:radial-gradient(circle at top,#fff8cf,#dff5ef)}.g5rw-final-number{padding:18px 28px;border:3px solid #7fbfb6;border-radius:20px;background:#fff;font-size:clamp(1.6rem,4vw,2.6rem);font-weight:950;letter-spacing:.08em}.g5rw-final .g5rw-choice-row{max-width:780px}.g5rw-final .g5rw-choice-row button{flex:1 1 210px}.g5rw-final-badge{display:grid;gap:4px;padding:12px 20px;border-radius:18px;background:#143f52;color:#fff}.g5rw-final-badge span{color:#ffd46a;font-weight:950;letter-spacing:.2em}.g5rw-final.complete .g5rw-final-badge{animation:g5rw-pop .55s ease-out;background:#087f76}

.g5rw-show-hint .g5rw-scene [data-g5-choice]:not(.wrong-cell),.g5rw-show-hint .g5rw-scene [data-g5-action],.g5rw-show-hint .g5rw-scene [data-g5-group],.g5rw-show-hint .g5rw-scene .next{box-shadow:0 0 0 6px #ffd05766!important}.g5rw-together .g5rw-scene:after{content:"Bir üçlü bölüğü ayrı bir kutu gibi izle.";position:absolute;right:14px;bottom:14px;z-index:9;max-width:230px;padding:10px 13px;border:3px solid #e5b747;border-radius:13px;background:#fff7cf;color:#624d12;font-size:.72rem;font-weight:900}.g5rw-together .g5rw-abacus{outline:5px solid #ffd064;outline-offset:3px}.g5rw-narrating .g5rw-abacus [data-sync-active="true"]{filter:brightness(1.08) drop-shadow(0 0 8px #ffd064)}

@keyframes g5rw-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@keyframes g5rw-pop{0%{transform:scale(.72);opacity:.2}70%{transform:scale(1.05)}100%{transform:scale(1);opacity:1}}
@keyframes g5rw-car{from{transform:translateX(-28px);opacity:.2}}
@keyframes g5rw-glow{to{box-shadow:0 0 0 8px #ffb84a42}}
@keyframes g5rw-hop{50%{transform:translateY(-12px)}}
@keyframes g5rw-turbine{to{transform:rotate(360deg)}}

@media(max-width:700px){
  .g5rw-scene{min-height:394px;height:394px;border-radius:20px;padding:10px;gap:8px;justify-content:flex-start;overflow-y:auto;overflow-x:hidden}
  .g5rw-scene h1{font-size:1.2rem}.g5rw-scene h2{font-size:1.05rem}.g5rw-scene p{font-size:.78rem}.g5rw-scene .board-kicker{font-size:.59rem;margin-top:2px}
  .g5rw-choice-row,.g5rw-token-pool,.g5rw-label-pool,.g5rw-block-pool,.g5rw-word-pool{gap:5px}
  .g5rw-choice-row button,.g5rw-token-pool button,.g5rw-label-pool button,.g5rw-block-pool button,.g5rw-word-pool button{min-height:44px;padding:7px 9px;font-size:.7rem;box-shadow:0 3px 0 #7cb8af55}
  .g5rw-space{justify-content:flex-end;align-items:center;padding-bottom:14px;overflow:hidden}.g5rw-space-art{height:58%;top:-20px}.g5rw-space-copy{width:96%;padding:11px}.g5rw-digit-cloud span{width:27px;height:32px;font-size:.95rem}.g5rw-aligned{font-size:1.15rem}
  .g5rw-separator-line{padding:14px 10px;font-size:1.15rem}.g5rw-separator-line i{height:36px;margin:0 4px}.g5rw-orbit-counters{max-width:350px}.g5rw-orbit-counters button{min-height:44px;font-size:.65rem}
  .g5rw-harbor-docks,.g5rw-room-grid,.g5rw-vault-slots,.g5rw-console-display{grid-template-columns:repeat(2,1fr);width:100%;gap:5px}.g5rw-harbor-docks section{padding:8px}.g5rw-harbor-docks span{font-size:1.15rem}.g5rw-room-grid section{padding:7px}.g5rw-room-grid i{height:35px}.g5rw-room-grid small{font-size:.48rem}
  .g5rw-reading-track{grid-template-columns:repeat(7,minmax(35px,1fr));width:100%;padding:8px;gap:3px}.g5rw-reading-track span{min-height:44px;font-size:.62rem}.g5rw-token-pool button{min-width:56px}
  .g5rw-reading-sentence{padding:13px;font-size:.86rem;line-height:1.5}.g5rw-editor-rule{font-size:.68rem}
  .g5rw-map-cards{grid-template-columns:1fr;width:100%;gap:6px}.g5rw-map-cards button{grid-template-columns:72px 1fr;min-height:70px;padding:5px}.g5rw-map-cards svg{height:58px}.g5rw-map-cards b{font-size:1rem}.g5rw-map-cards small{display:none}
  .g5rw-tunnel-track{gap:5px;padding:11px}.g5rw-group{min-width:74px;padding:7px}.g5rw-group b{font-size:1.2rem}.g5rw-sound-route{font-size:.72rem}
  .g5rw-vault-slots section,.g5rw-console-display section{padding:8px 5px}.g5rw-vault-slots section b,.g5rw-console-display section b{font-size:1.05rem}.g5rw-vault-slots section span{display:none}
  .g5rw-abacus-scene{gap:5px}.g5rw-abacus{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;padding:5px;border-width:3px;border-radius:15px}.g5rw-abacus section{grid-template-rows:auto 58px auto;gap:1px;padding:3px;border-width:2px;border-radius:10px}.g5rw-abacus section>small{font-size:.54rem}.g5rw-abacus section>strong{font-size:.65rem}.g5rw-abacus-rods{gap:2px}.g5rw-abacus-rod{grid-template-rows:43px 11px 7px}.g5rw-abacus-rod b{height:43px}.g5rw-abacus-rod b:before{width:3px}.g5rw-abacus-rod i{bottom:calc(1px + var(--bead)*4.45px);width:17px;height:5px;border-width:1px}.g5rw-abacus-rod em{width:17px;height:11px;font-size:.48rem}.g5rw-abacus-rod u{font-size:.4rem}.g5rw-abacus section.waiting .g5rw-abacus-rod:before{height:42px}.g5rw-abacus-scene .g5rw-block-pool button{min-width:64px}.g5rw-abacus-scene>p{font-size:.66rem}
  .g5rw-workbench{padding:11px;gap:5px;width:100%}.g5rw-workbench section{min-width:70px;padding:7px}.g5rw-wind{height:140px}
  .g5rw-repair-strip{padding:10px;gap:3px;flex-wrap:wrap;justify-content:center}.g5rw-repair-strip span,.g5rw-repair-strip b{padding:8px;font-size:1rem}.g5rw-repair-strip i{font-size:.62rem}
  .g5rw-rule-sentence{padding:12px;font-size:.78rem;line-height:1.55}.g5rw-final-number{font-size:1.25rem;padding:12px}.g5rw-final .g5rw-choice-row button{flex:1 1 100%}.g5rw-together .g5rw-scene:after{right:6px;bottom:6px;max-width:180px;font-size:.58rem;padding:6px}
}

@media(prefers-reduced-motion:reduce){.g5rw-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 5. sınıf · Ders 4 · Çarpma, bölme ve kalanın kararı */
.g5md-scene{position:relative;isolation:isolate;width:100%;height:100%;min-height:510px;overflow:hidden;border-radius:28px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;color:#173347}
.g5md-scene h2,.g5md-scene h3,.g5md-scene p{margin:0}.g5md-scene h2{position:relative;z-index:5;font-size:clamp(1.2rem,2.25vw,1.75rem)}.g5md-scene .board-kicker{position:relative;z-index:5;color:#087f76;font-weight:950;letter-spacing:.1em;font-size:.72rem}
.g5md-scene button{min-height:46px;min-width:46px;padding:10px 15px;border:2px solid #81beb5;border-radius:14px;background:#fff;color:#173347;font:850 .88rem/1.2 system-ui;box-shadow:0 5px 0 #528f8a44;cursor:pointer;touch-action:manipulation}.g5md-scene button:hover,.g5md-scene button:focus-visible{outline:4px solid rgba(255,190,70,.72);outline-offset:2px;transform:translateY(-2px)}.g5md-scene button:disabled{opacity:.62;cursor:default;transform:none}.g5md-scene button.wrong-cell{border-color:#d95f52;background:#fff0eb;animation:g5mdShake .22s linear}.g5md-scene button.correct-cell{border-color:#0a987f;background:#d9f7ed}
.g5md-choice-row,.g5md-choice-grid{position:relative;z-index:7;display:flex;justify-content:center;gap:9px;flex-wrap:wrap;width:min(900px,96%)}.g5md-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.g5md-result{position:relative;z-index:8;width:min(760px,94%);padding:11px 16px;border:3px solid #16a084;border-radius:15px;background:#e4fff5;color:#0b5f52;font-weight:900;box-shadow:0 8px 18px #155c4b24}
.g5md-support{grid-template-columns:repeat(3,minmax(0,1fr))}.g5md-show-hint .g5md-scene button:not(.wrong-cell){box-shadow:0 0 0 6px #ffd05766}.g5md-method-source-hidden{display:none!important}
.g5md-alternate-model{position:relative;z-index:9;width:min(800px,96%);padding:18px;border:3px solid #f1bd4a;border-radius:22px;background:#fff9dd;color:#173347;box-shadow:0 14px 28px #5c431d2b;animation:g5mdPop .4s ease-out}.g5md-alternate-model>small{color:#8c6410;font-weight:950;letter-spacing:.1em}.g5md-alternate-model h3{margin:5px 0 12px}.g5md-alternate-model>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.g5md-alternate-model span{min-height:58px;display:grid;place-items:center;padding:8px;border-radius:13px;background:#fff;border:2px solid #ecd48f;font-weight:850;animation:g5mdStep .35s calc(var(--i)*.08s) both}

/* 01 · basamak değer laboratuvarı */
.g5md-lab{color:#e9ffff;background:radial-gradient(circle at 50% 15%,#245a77,#07192b 66%)}.g5md-lab:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#64e8db12 1px,transparent 1px),linear-gradient(#64e8db12 1px,transparent 1px);background-size:34px 34px;z-index:-1}.g5md-lab .board-kicker{color:#77f4dc}.g5md-place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:min(760px,100%);padding:20px 10px;border:2px solid #65dbca;border-radius:24px;background:#09273be8;box-shadow:0 0 34px #48e3c32b}.g5md-place-grid small{padding:8px;color:#89e8dc;font-weight:900}.g5md-place-grid b{min-height:90px;display:grid;place-items:center;border:3px solid #398e8a;border-radius:17px;background:#f0fffb;color:#0c4050;font-size:2.5rem}.g5md-lab.complete .g5md-place-grid b{animation:g5mdGlow .7s ease-out}

/* 02 · prizma merceği */
.g5md-prism{background:linear-gradient(140deg,#faf0ff,#dff8ff 50%,#fff1c8)}.g5md-prism-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 62px minmax(0,1.15fr);align-items:center;gap:8px;width:min(760px,100%);padding:28px 14px;border-radius:38px;background:#fff9;box-shadow:0 18px 38px #69478f24;overflow:hidden}.g5md-prism-stage section{z-index:2;display:grid;gap:5px;min-width:0;padding:16px 7px;border:4px solid #9c7bd7;border-radius:24px;background:#fff}.g5md-prism-stage section b{font-size:clamp(1.2rem,2.4vw,1.8rem);white-space:nowrap}.g5md-prism-stage i{z-index:2;font:950 1.25rem system-ui;color:#7b48b4}.g5md-prism-beam{position:absolute;left:23%;right:17%;height:110px;background:linear-gradient(90deg,#b458ef88,#49c6ef77,#ffd85d77);clip-path:polygon(0 44%,100% 0,100% 100%,0 56%);animation:g5mdBeam 2.4s ease-in-out infinite alternate}.g5md-prism-stage .output{border-color:#e5ac36;box-shadow:0 0 28px #ffc94c55}

/* 03 · sinyal ağı */
.g5md-signal{color:#d9fff8;background:repeating-linear-gradient(90deg,#2be0b50c 0 1px,transparent 1px 42px),linear-gradient(145deg,#061823,#07353b)}.g5md-signal .board-kicker{color:#62f1cc}.g5md-signal-network{display:grid;grid-template-columns:minmax(45px,1fr) 22px minmax(68px,1.25fr) 22px minmax(68px,1.25fr) 22px minmax(68px,1.25fr);align-items:center;gap:3px;width:min(850px,100%);margin:25px auto;padding:15px 8px;border:2px solid #39c9ab;border-radius:26px;background:#08272fd9}.g5md-signal-network span,.g5md-signal-network b,.g5md-signal-network strong{min-width:0;min-height:82px;display:grid;place-items:center;padding:4px;border:2px solid #54d9c1;border-radius:17px;background:#0d3a42;color:#e7fff9;font-size:clamp(.62rem,1.35vw,1rem);overflow-wrap:anywhere}.g5md-signal-network em,.g5md-signal-network i{font-style:normal;font-size:1.2rem;color:#ffd45e}.g5md-signal-network .split{border-color:#ffd45e}.g5md-signal.complete .g5md-signal-network strong{animation:g5mdPulse .7s ease-out}

/* 04 · güneş tarlası */
.g5md-solar{background:linear-gradient(#a5e3ff,#fff0a0 64%,#76a94f)}.g5md-solar-field{position:relative;width:min(820px,96%);height:285px;border:6px solid #e9f4ff;border-radius:28px;overflow:hidden;box-shadow:0 17px 32px #3a748b33}.g5md-solar-field svg{position:absolute;inset:0;width:100%;height:100%}.g5md-solar-field section{position:absolute;z-index:3;top:18px;display:grid;gap:4px;padding:11px 16px;border-radius:15px;background:#fffdf0e8;box-shadow:0 8px 18px #31546a22}.g5md-solar-field section:nth-of-type(1){left:20px}.g5md-solar-field section:nth-of-type(2){right:20px}.g5md-solar-field small{font-weight:900;color:#247b87}.g5md-solar-field b{font-size:1.2rem}

/* 05 · arşiv asansörü */
.g5md-archive{color:#eefaff;background:linear-gradient(145deg,#263851,#4c6b73 52%,#c2a574)}.g5md-archive .board-kicker{color:#ffe49b}.g5md-elevator-bank{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%;padding:20px 12px 50px;border:8px solid #d5bd83;border-radius:25px;background:#26323b;box-shadow:inset 0 0 0 4px #111d23,0 18px 34px #13202a55}.g5md-elevator-bank section{display:grid;grid-template-rows:auto 105px;min-width:0;border:3px solid #8197a0;border-radius:14px;background:#111e27;overflow:hidden}.g5md-elevator-bank small{padding:8px 2px;background:#d8c18a;color:#25313a;font-size:.7rem;font-weight:900}.g5md-elevator-bank b{display:grid;place-items:center;color:#9bf1df;font-size:2.4rem}.g5md-elevator-bank>i{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);font-style:normal;font-weight:950;color:#ffe49b}.g5md-archive.complete .g5md-elevator-bank section:nth-child(n+3) b{animation:g5mdDrop .55s ease-out}

/* 06 · harita ölçeği */
.g5md-mapscale{background:linear-gradient(140deg,#f4ecd2,#dcebd4 55%,#b7d4ca)}.g5md-scale-map{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 28px 58px;align-items:center;gap:5px;width:min(850px,100%);padding:18px 12px;border:4px solid #806f4f;border-radius:18px;background:repeating-linear-gradient(0deg,#fff9e8,#fff9e8 29px,#b9ab8b44 30px);box-shadow:0 17px 30px #5b513b2c}.g5md-scale-map section{display:grid;gap:8px;min-width:0}.g5md-scale-map section small{font-weight:950;color:#6e633f}.g5md-scale-map section b{font-size:clamp(1rem,2vw,1.45rem);white-space:nowrap}.g5md-scale-map section i{width:var(--w);height:24px;border-radius:5px;background:repeating-linear-gradient(90deg,#277c70 0 20px,#f0c759 20px 40px);transition:width .6s ease}.g5md-scale-map>span,.g5md-scale-map>em{font:950 1.5rem system-ui;font-style:normal}.g5md-scale-map>strong{font-size:1.25rem;color:#087f76}

/* 07 · denklem daktilosu */
.g5md-type{background:linear-gradient(145deg,#efe5d2,#c4aa86)}.g5md-typewriter{width:min(680px,94%);padding:35px 45px 55px;border:12px solid #3e3230;border-radius:22px 22px 60px 60px;background:#5d4c46;box-shadow:inset 0 -22px #312725,0 20px 34px #33282444}.g5md-typewriter div{padding:14px;border:2px solid #c6b995;background:#fff9df;font:900 1.65rem ui-monospace,monospace;color:#2b3132;box-shadow:inset 0 0 20px #8b7c5133}.g5md-typewriter i{display:block;margin:9px;color:#f5dc8b;font-style:normal;font-weight:900}.g5md-typewriter mark{padding:2px 10px;background:#ffd762}

/* 08 · kazı masası */
.g5md-dig{background:linear-gradient(#8fd5e4 0 30%,#d8b06c 30% 100%)}.g5md-dig-table{position:relative;display:grid;grid-template-columns:1fr 220px;align-items:center;gap:25px;width:min(820px,96%);padding:28px;border:10px solid #765132;border-radius:35px;background:#c78c51;box-shadow:inset 0 0 0 5px #e8c182,0 20px 34px #5d3d2f44}.g5md-shard-ring{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.g5md-shard-ring span{min-height:45px;display:grid;place-items:center;clip-path:polygon(12% 4%,90% 0,100% 72%,75% 100%,8% 88%,0 31%);background:hsl(calc(18 + var(--i)*3),60%,75%);border-radius:7px;color:#70442e;font-weight:900}.g5md-dig-table section{display:grid;gap:8px;padding:18px;border-radius:22px;background:#fff5db}.g5md-dig-table section small{font-weight:850}.g5md-dig-table section b{font-size:1.45rem;color:#9c4f2c}

/* 09 · tarla parselleme */
.g5md-field{background:linear-gradient(#c8ecff 0 25%,#9ac76e 25% 100%)}.g5md-field-map{position:relative;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(3,1fr);width:min(790px,96%);height:260px;border:8px solid #734c2d;border-radius:24px;background:#b6db75;box-shadow:0 18px 32px #345f3540;overflow:hidden}.g5md-field-map i{border:2px solid #f5e4a2;background:hsl(calc(88 + var(--i)*2),48%,calc(58% + (var(--i)%3)*5%))}.g5md-field-map b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:13px 18px;border-radius:14px;background:#fff9deea;box-shadow:0 8px 18px #30441e33}.g5md-field.complete .g5md-field-map i{animation:g5mdField .45s calc(var(--i)*.02s) both}

/* 10 · batarya istasyonu */
.g5md-battery{color:#eafffa;background:radial-gradient(circle at 50% 15%,#244a65,#081822 72%)}.g5md-battery .board-kicker{color:#6df5d2}.g5md-battery-rack{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px;width:min(900px,100%);padding:14px;border:3px solid #36d6ae;border-radius:28px;background:#0b2935e8;box-shadow:0 0 35px #37ddb72b}.g5md-energy-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.g5md-energy-groups section{min-width:0;display:grid;grid-template-columns:1fr auto;gap:4px;padding:7px;border:2px solid #4ee1bd;border-radius:14px;background:#113743}.g5md-energy-groups section small{grid-column:1/-1;color:#9bdccd;font-size:.58rem;font-weight:900}.g5md-energy-groups section>span{display:grid;grid-template-columns:repeat(5,1fr);gap:2px}.g5md-energy-groups i,.g5md-energy-remainder i{width:100%;height:8px;border:1px solid #b6fff0;border-radius:2px;background:#4ee1bd;box-shadow:0 0 5px #4ee1bd88}.g5md-energy-groups b{align-self:center;color:#ffe070}.g5md-energy-remainder{display:grid;align-content:center;gap:8px;padding:9px;border:3px dashed #ffcd5d;border-radius:16px;background:#493b20;color:#fff4c0;transition:transform .55s ease,background .55s ease}.g5md-energy-remainder small{font-size:.62rem;font-weight:950}.g5md-energy-remainder span{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}.g5md-energy-remainder i{height:15px;border-color:#ffb467;background:#ff765f;box-shadow:0 0 7px #ff765f77}.g5md-energy-remainder b{font-size:1.25rem}.g5md-battery.remainder-separated .g5md-energy-remainder{transform:translateX(7px);background:#57312a}.g5md-battery-rack>footer{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 12px;border-radius:12px;background:#071c26}.g5md-battery-rack>footer span{font:900 1rem ui-monospace,monospace}.g5md-battery-rack>footer strong{color:#ffe070}.g5md-battery.complete .g5md-energy-groups section{animation:g5mdEnergy .5s calc(var(--group)*.05s) both}

/* 11 · dağ kampı */
.g5md-alpine{background:linear-gradient(#8ed4f1 0 38%,#f2fbff 38% 55%,#a6c8d6 56%)}.g5md-alpine:before,.g5md-alpine:after{content:"";position:absolute;bottom:0;width:55%;height:64%;clip-path:polygon(50% 0,100% 100%,0 100%);background:#dceef4;z-index:-1}.g5md-alpine:before{left:0}.g5md-alpine:after{right:0;background:#b9d6e1}.g5md-camp-layout{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:10px;width:min(930px,100%);padding:10px;border-radius:25px;background:#ffffffc7;backdrop-filter:blur(5px)}.g5md-alpine.complete .g5md-camp-layout{grid-template-columns:1fr}.g5md-camp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.g5md-camp-grid section{position:relative;min-height:108px;display:grid;place-items:center;padding:3px 4px 18px;border-radius:17px;background:#e9f7fb;border:3px solid #74a7b8;overflow:hidden}.g5md-tent-object{width:94%;height:82px;object-fit:contain;filter:drop-shadow(0 5px 4px #33566755)}.g5md-hiker-group{display:flex;align-items:flex-end;justify-content:center}.g5md-camp-grid .g5md-hiker-group{position:absolute;z-index:3;left:9%;right:9%;bottom:17px}.g5md-hiker-object{width:15px;height:31px;object-fit:contain;filter:drop-shadow(0 2px 1px #16344355)}.g5md-camp-grid section b{position:absolute;z-index:4;bottom:2px;padding:1px 5px;border-radius:7px;background:#fffce8;color:#275a68;font-size:.62rem}.g5md-camp-grid .empty{border-style:dashed;background:#ffffff88}.g5md-camp-grid .empty .g5md-tent-object{opacity:.36;filter:grayscale(.5)}.g5md-stranded{display:grid;align-content:center;gap:8px;padding:8px;border:3px solid #ed7b5f;border-radius:18px;background:#fff0e7;color:#8b3b2b}.g5md-stranded .g5md-hiker-group{display:flex;flex-wrap:wrap}.g5md-stranded .g5md-hiker-object{width:29px;height:60px}.g5md-stranded b{font-size:.68rem}.g5md-alpine.complete .g5md-camp-grid section:last-child{animation:g5mdTent .6s ease-out}.g5md-alpine.complete .g5md-camp-grid section:last-child .g5md-hiker-object{animation:g5mdArrive .6s calc(var(--i,0)*.04s) both}

/* 12 · marangoz atölyesi */
.g5md-wood{background:linear-gradient(145deg,#fff0c6,#d4a76d)}.g5md-wood:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,#6f421e0a 0 2px,transparent 2px 28px);z-index:-1}.g5md-wood-bench{display:grid;grid-template-columns:1fr 160px;align-items:center;gap:20px;width:min(830px,96%);padding:28px;border-radius:22px;background:#724725;box-shadow:inset 0 -14px #4c2c17,0 18px 30px #53301744}.g5md-wood-bench>div{display:flex;align-items:center;gap:4px;padding:12px;background:#f3d18d}.g5md-wood-bench i{width:9%;height:70px;background:linear-gradient(90deg,#c57f35,#e9b85d);border-right:2px dashed #6e3f1d}.g5md-wood-bench em{width:7%;height:70px;display:grid;place-items:center;background:#d99b50;color:#5a321b;font-style:normal;font-weight:950}.g5md-shelf-template{height:95px;display:grid;place-items:center;border:4px dashed #fff1c2;border-radius:14px;color:#fff1c2;font-weight:900}.g5md-wood.complete .g5md-shelf-template{animation:g5mdTemplate .7s ease-out}

/* 13 · pastane paylaşımı */
.g5md-bakery2{background:radial-gradient(circle at 15% 12%,#fff 0 8%,transparent 22%),linear-gradient(140deg,#fff6e2,#ffc989 55%,#e89566)}.g5md-cookie-trays{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:10px;width:min(900px,98%);padding:14px;border-radius:30px;background:#fff7e1d9;box-shadow:0 18px 32px #7d4a292d}.g5md-plate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.g5md-plate-grid section{position:relative;min-height:116px;display:grid;place-items:center;overflow:hidden}.g5md-plate-object{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px #7d4a2935)}.g5md-plate-cookies{position:absolute;z-index:2;top:31px;left:18%;right:18%;display:flex;align-items:center;justify-content:center;gap:1px}.g5md-cookie-object{width:43px;height:32px;object-fit:contain;filter:drop-shadow(0 3px 2px #6b351f55)}.g5md-half-cookie{display:inline-block;width:22px;height:32px;overflow:hidden}.g5md-half-cookie .g5md-cookie-object{width:43px;max-width:none;object-position:left center}.g5md-plate-grid section>b{position:absolute;z-index:3;bottom:5px;padding:2px 7px;border-radius:8px;background:#fff8;color:#944c61;font-size:.66rem}.g5md-cookie-reserve{display:grid;align-content:center;gap:8px;padding:9px;border:3px dashed #a45c6f;border-radius:18px;background:#8d4c5f;color:#fff}.g5md-cookie-reserve small{font-size:.62rem;font-weight:950}.g5md-cookie-reserve>span{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px}.g5md-cookie-reserve .g5md-cookie-object{width:42px;height:34px}.g5md-cookie-reserve .g5md-half-cookie{width:21px;height:34px}.g5md-bakery2.cookies-split .g5md-cookie-reserve .g5md-half-cookie{animation:g5mdSplit .5s ease-out both}.g5md-bakery2.complete .g5md-plate-grid .g5md-half-cookie{animation:g5mdServe .55s ease-out both}.g5md-bakery2.complete{gap:8px;padding-block:12px}.g5md-bakery2.complete .g5md-cookie-trays{padding-block:8px}.g5md-bakery2.complete .g5md-plate-grid section{min-height:102px}

/* 14 · haber merkezi */
.g5md-news{color:#eafbff;background:linear-gradient(145deg,#102a3e,#1a5d6e 55%,#7c315e)}.g5md-news .board-kicker{color:#78eed9}.g5md-news-desk{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(920px,98%)}.g5md-news-desk section{min-height:206px;display:grid;grid-template-rows:auto auto 72px auto;align-content:center;gap:8px;padding:14px;border:2px solid #7cbec5;border-radius:23px;background:#f2fbfce8;color:#173947;box-shadow:0 15px 27px #001c2930}.g5md-news-desk section.active{border:5px solid #ffd55f;transform:translateY(-5px)}.g5md-news-desk section.stamped{border-color:#33b28d;background:#dff8ec}.g5md-news-desk small{font-weight:950;color:#2b7f89}.g5md-news-desk strong{color:#0b8d72}.g5md-file-visual{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;padding:5px;border-radius:12px;background:#d9eef0}.g5md-file-visual.vehicle i{width:22%;height:38px;display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:5px 3px;border-radius:6px 6px 3px 3px;background:#287f91;box-shadow:inset 0 -7px #1b5665}.g5md-file-visual.vehicle i b{width:4px;height:4px;border-radius:50%;background:#fff3a7}.g5md-file-visual.fabric span,.g5md-file-visual.fabric em{width:18%;height:44px;border-radius:4px;background:repeating-linear-gradient(0deg,#b65e9d 0 7px,#f2bfdc 7px 10px)}.g5md-file-visual.fabric em{height:34px;align-self:flex-end;background:repeating-linear-gradient(0deg,#e39a4b 0 7px,#ffe1a8 7px 10px)}.g5md-file-visual.bread{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}.g5md-file-visual.bread i{position:relative;height:25px;border-radius:50%;background:#fff;border:2px solid #63a8b3}.g5md-file-visual.bread b{position:absolute;left:3px;top:5px;width:13px;height:9px;border-radius:50% 50% 38% 38%;background:#c67d35}.g5md-file-visual.bread em{position:absolute;right:3px;top:6px;width:6px;height:8px;border-radius:50% 50% 35% 35%;background:#e7ad62}

.g5md-news.complete{gap:9px;padding-block:12px}.g5md-news.complete .g5md-choice-row{display:none}.g5md-news.complete .g5md-news-desk section{min-height:188px}

/* 15 · ay üssü */
.g5md-moon{color:#e9ffff;background:radial-gradient(circle at 90% 86%,#efffff 0 34px,#a8d3dd 35px 48px,transparent 49px),radial-gradient(circle at 20% 20%,#203e6f,#071222 65%)}.g5md-moon:before{content:"";position:absolute;inset:0;background:radial-gradient(circle,#fff 0 1px,transparent 2px);background-size:70px 70px;opacity:.35;z-index:-1}.g5md-moon .board-kicker{color:#80f4dc}.g5md-moon-console{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;width:min(820px,96%);padding:25px;border:4px solid #51d3c4;border-radius:30px;background:#0b2741e8;box-shadow:inset 0 0 35px #44d8c51e,0 18px 35px #0008}.g5md-moon-console section{min-height:120px;display:grid;place-items:center;padding:12px;border:2px solid #52bcb7;border-radius:18px;background:#0d354e}.g5md-moon-console small{color:#77d8d0;font-weight:900}.g5md-moon-console b{font-size:1.25rem;color:#ffe06d}.g5md-final-track{display:flex;gap:8px}.g5md-final-track i{width:65px;height:9px;border-radius:8px;background:#547387}.g5md-final-track i.current{background:#ffd45e}.g5md-final-track i.done{background:#4dd9b5}.g5md-badge{display:grid;grid-template-columns:55px 1fr;gap:4px 12px;align-items:center;padding:13px 22px;border-radius:18px;background:#e8fff8;color:#0b5f52}.g5md-badge span{grid-row:1/3;font-size:2.5rem}.g5md-badge small{font-weight:750}

/* Napier bonus modal */
.g5md-napier-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#07151fc7;backdrop-filter:blur(7px)}.g5md-napier-modal>section{position:relative;width:min(670px,96vw);padding:30px;border:8px solid #705034;border-radius:27px;background:linear-gradient(145deg,#f0d4a2,#b98954);box-shadow:0 30px 60px #0008;text-align:center}.g5md-bonus-close{position:absolute;right:10px;top:10px;width:46px;height:46px;border:0;border-radius:50%;background:#503823;color:#fff;font-size:1.5rem}.g5md-napier-rods{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px}.g5md-napier-rods button{width:95px;min-height:210px;display:grid;grid-template-rows:auto 1fr;padding:8px;border:5px solid #5b3c24;border-radius:8px;background:#e9c48a;color:#442d1c}.g5md-napier-rods button.picked{outline:5px solid #ffe46c;transform:translateY(-5px)}.g5md-napier-rods button b{font-size:1.7rem}.g5md-napier-rods button i{display:grid;place-items:center;font:850 1.2rem/2 ui-monospace,monospace}.g5md-napier-rods em{font-size:1.5rem}.g5md-napier-rods strong{min-width:85px;font-size:2.2rem;color:#1d5f55}

@keyframes g5mdShake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes g5mdPop{from{opacity:0;transform:scale(.8)}70%{transform:scale(1.04)}to{opacity:1;transform:scale(1)}}@keyframes g5mdStep{from{opacity:0;transform:translateY(12px)}}@keyframes g5mdGlow{50%{box-shadow:0 0 30px #5dffe6}}@keyframes g5mdBeam{to{opacity:.45;transform:scaleY(.7)}}@keyframes g5mdPulse{50%{transform:scale(1.1);box-shadow:0 0 24px #ffd45e}}@keyframes g5mdDrop{from{transform:translateY(-85px);opacity:.2}}@keyframes g5mdField{from{opacity:.35;transform:scale(.82)}}@keyframes g5mdEnergy{from{opacity:.35;transform:scale(.88)}}@keyframes g5mdTent{from{transform:translateY(-100px);opacity:0}}@keyframes g5mdArrive{from{opacity:0;transform:translate(55px,30px) scale(.7)}}@keyframes g5mdTemplate{50%{transform:translateX(-60px)}}@keyframes g5mdSplit{from{opacity:0;transform:rotate(25deg) scale(.55)}}@keyframes g5mdServe{from{opacity:0;transform:translateY(38px) scale(.65)}}@keyframes g5mdCrumb{50%{transform:scale(1.3)}}

@media(max-width:700px){
  .g5md-scene{min-height:394px;height:394px;border-radius:20px;padding:9px;gap:7px;justify-content:flex-start;overflow-y:auto;overflow-x:hidden}.g5md-scene h2{font-size:1rem}.g5md-scene .board-kicker{font-size:.56rem;margin-top:2px}.g5md-scene button{min-height:44px;padding:7px 9px;font-size:.67rem}.g5md-choice-row,.g5md-choice-grid{gap:5px;width:100%}.g5md-choice-grid{grid-template-columns:1fr}.g5md-result{padding:7px 9px;font-size:.66rem}.g5md-support{grid-template-columns:repeat(3,1fr)}.g5md-support button{min-width:0;padding:6px 3px}.g5md-support button span{font-size:1.1rem}.g5md-support button b{font-size:.61rem}.g5md-support button small{font-size:.49rem}.g5md-alternate-model{padding:10px}.g5md-alternate-model h3{font-size:.85rem}.g5md-alternate-model>div{grid-template-columns:1fr;gap:4px}.g5md-alternate-model span{min-height:38px;font-size:.62rem}
  .g5md-place-grid{grid-template-columns:repeat(3,1fr);width:100%;padding:9px}.g5md-place-grid b{min-height:58px;font-size:1.6rem}.g5md-place-grid small{padding:4px;font-size:.58rem}
  .g5md-prism-stage{grid-template-columns:1fr 58px 1fr;gap:6px;width:100%;padding:24px 9px}.g5md-prism-stage section{padding:10px;border-width:3px}.g5md-prism-stage section b{font-size:1.2rem}.g5md-prism-stage i{font-size:.85rem}.g5md-prism-beam{left:18%;right:10%;height:65px}
  .g5md-signal-network{grid-template-columns:1fr 28px 1.2fr;gap:4px;width:100%;margin:12px 0;padding:9px}.g5md-signal-network em{display:none}.g5md-signal-network b{grid-column:1;grid-row:2}.g5md-signal-network strong{grid-column:3;grid-row:2}.g5md-signal-network strong:before{content:"→";position:absolute;margin-left:-44px;color:#ffd45e}.g5md-signal-network span,.g5md-signal-network b,.g5md-signal-network strong{min-height:50px;font-size:.75rem}.g5md-signal-network i{font-size:1rem}
  .g5md-solar-field{height:220px}.g5md-solar-field section{top:8px;padding:7px}.g5md-solar-field section:nth-of-type(1){left:8px}.g5md-solar-field section:nth-of-type(2){right:8px}.g5md-solar-field b{font-size:.72rem}.g5md-solar-field small{font-size:.55rem}
  .g5md-elevator-bank{grid-template-columns:repeat(4,1fr);gap:4px;width:100%;padding:10px 8px 35px;border-width:5px}.g5md-elevator-bank section{grid-template-rows:auto 70px}.g5md-elevator-bank small{padding:4px;font-size:.52rem}.g5md-elevator-bank b{font-size:1.35rem}
  .g5md-scale-map{grid-template-columns:1fr 25px 1fr 25px 55px;gap:5px;width:100%;padding:12px}.g5md-scale-map section b{font-size:1rem}.g5md-scale-map section small{font-size:.55rem}.g5md-scale-map>span,.g5md-scale-map>em{font-size:1.1rem}.g5md-scale-map>strong{font-size:1rem}
  .g5md-typewriter{width:100%;padding:17px 13px 29px;border-width:7px}.g5md-typewriter div{padding:9px;font-size:1rem}.g5md-typewriter i{font-size:.63rem}
  .g5md-dig-table{grid-template-columns:1fr 105px;gap:7px;width:100%;padding:10px;border-width:6px}.g5md-shard-ring{gap:3px}.g5md-shard-ring span{min-height:27px;font-size:.55rem}.g5md-dig-table section{padding:8px}.g5md-dig-table section small{font-size:.55rem}.g5md-dig-table section b{font-size:.8rem}
  .g5md-field-map{height:210px}.g5md-field-map b{width:78%;font-size:.7rem}
  .g5md-battery-rack{grid-template-columns:minmax(0,1fr) 70px;gap:5px;width:100%;padding:7px}.g5md-energy-groups{gap:3px}.g5md-energy-groups section{padding:3px;gap:2px}.g5md-energy-groups section small{font-size:.42rem}.g5md-energy-groups section>span{gap:1px}.g5md-energy-groups i{height:5px}.g5md-energy-groups b{font-size:.62rem}.g5md-energy-remainder{gap:4px;padding:5px}.g5md-energy-remainder small{font-size:.46rem}.g5md-energy-remainder i{height:10px}.g5md-energy-remainder b{font-size:.8rem}.g5md-battery-rack>footer{gap:6px;padding:5px;font-size:.58rem}.g5md-battery-rack>footer span{font-size:.62rem}
  .g5md-camp-layout{grid-template-columns:minmax(0,1fr) 76px;gap:4px;width:100%;padding:5px}.g5md-camp-grid{grid-template-columns:repeat(3,1fr);gap:3px}.g5md-camp-grid section{min-height:68px;padding:1px 1px 13px;border-width:2px}.g5md-tent-object{height:52px}.g5md-camp-grid .g5md-hiker-group{left:4%;right:4%;bottom:11px}.g5md-hiker-object{width:8px;height:18px}.g5md-camp-grid section b{bottom:1px;font-size:.43rem}.g5md-stranded{gap:3px;padding:3px;border-width:2px}.g5md-stranded .g5md-hiker-object{width:14px;height:30px}.g5md-stranded b{font-size:.48rem}
  .g5md-wood-bench{grid-template-columns:1fr 90px;gap:7px;width:100%;padding:10px}.g5md-wood-bench>div{padding:6px}.g5md-wood-bench i,.g5md-wood-bench em{height:48px}.g5md-wood-bench em{font-size:.55rem}.g5md-shelf-template{height:67px;font-size:.55rem}
  .g5md-cookie-trays{grid-template-columns:minmax(0,1fr) 82px;gap:4px;width:100%;padding:6px}.g5md-plate-grid{gap:2px}.g5md-plate-grid section{min-height:72px}.g5md-plate-cookies{top:21px;left:13%;right:13%}.g5md-cookie-object{width:22px;height:17px}.g5md-half-cookie{width:11px;height:17px}.g5md-half-cookie .g5md-cookie-object{width:22px}.g5md-plate-grid section>b{bottom:3px;padding:1px 3px;font-size:.43rem}.g5md-cookie-reserve{gap:4px;padding:4px;border-width:2px}.g5md-cookie-reserve small{font-size:.44rem}.g5md-cookie-reserve .g5md-cookie-object{width:24px;height:19px}.g5md-cookie-reserve .g5md-half-cookie{width:12px;height:19px}.g5md-cookie-reserve .g5md-half-cookie .g5md-cookie-object{width:24px}
  .g5md-news-desk{grid-template-columns:1fr;gap:5px;width:100%}.g5md-news-desk section{display:none;min-height:176px;grid-template-rows:auto auto 67px auto;padding:8px;gap:4px}.g5md-news-desk section.active,.g5md-news.complete .g5md-news-desk section{display:grid}.g5md-news-desk section.active{border-width:3px;transform:none}.g5md-news-desk section small,.g5md-news-desk section strong{font-size:.55rem}.g5md-news-desk section b{font-size:.68rem}.g5md-file-visual{height:67px}.g5md-file-visual.vehicle i{height:34px}.g5md-file-visual.fabric span{height:40px}.g5md-file-visual.bread{grid-template-columns:repeat(5,34px)}.g5md-news.complete .g5md-news-desk{display:flex;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory}.g5md-news.complete .g5md-news-desk section{flex:0 0 92%;min-height:160px;scroll-snap-align:center}
  .g5md-moon-console{grid-template-columns:repeat(3,1fr);gap:5px;width:100%;padding:9px}.g5md-moon-console section{min-height:75px;padding:5px}.g5md-moon-console small{font-size:.5rem}.g5md-moon-console b{font-size:.72rem}.g5md-final-track i{width:42px}.g5md-badge{padding:8px;font-size:.66rem}
  .g5md-napier-modal{padding:8px}.g5md-napier-modal>section{padding:22px 10px 12px}.g5md-napier-rods{margin:10px}.g5md-napier-rods button{width:76px;min-height:150px}.g5md-napier-modal h2{font-size:1rem}.g5md-napier-modal p,.g5md-napier-modal small{font-size:.66rem}
}

@media(prefers-reduced-motion:reduce){.g5md-scene *,.g5md-napier-modal *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 5. sınıf · zaman, tarih ve birikim planları */
.g5tds-scene{position:relative;isolation:isolate;width:100%;height:100%;min-height:510px;overflow:hidden;border-radius:28px;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;color:#173347}.g5tds-scene:before{content:"";position:absolute;inset:0;z-index:-2}.g5tds-scene h2,.g5tds-scene h3,.g5tds-scene p{margin:0}.g5tds-scene h2{z-index:4;font-size:clamp(1.15rem,2.1vw,1.7rem)}.g5tds-scene .board-kicker{z-index:4;color:#087f76;font-weight:950;letter-spacing:.11em;font-size:.7rem}.g5tds-scene button{position:relative;z-index:7;min-height:46px;min-width:46px;padding:10px 15px;border:2px solid #75b8ad;border-radius:14px;background:#fff;color:#173347;font:850 .86rem/1.2 system-ui;box-shadow:0 5px 0 #3c766d44;cursor:pointer;touch-action:manipulation}.g5tds-scene button:hover,.g5tds-scene button:focus-visible{outline:4px solid #ffd15dbd;outline-offset:2px;transform:translateY(-2px)}.g5tds-scene button:disabled{opacity:.68;cursor:default;transform:none}.g5tds-scene button.wrong-cell{border-color:#cf6f5c;background:#fff2ec;animation:g5tdsShake .24s linear}.g5tds-scene button.correct-cell{border-color:#07866f;background:#dffff2}.g5tds-choice-row{position:relative;z-index:6;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;width:min(900px,98%)}.g5tds-result{position:relative;z-index:8;width:min(790px,96%);padding:10px 15px;border:3px solid #16977e;border-radius:15px;background:#e4fff5;color:#0b5f52;font-weight:900;box-shadow:0 9px 18px #155c4b20}.g5tds-support{grid-template-columns:repeat(2,minmax(0,1fr))}.g5tds-alternate{position:absolute;z-index:20;inset:auto 4% 4%;padding:14px 18px;border:3px solid #efbd4e;border-radius:20px;background:#fff9dff5;box-shadow:0 18px 35px #4f3a1833;animation:g5tdsPop .35s ease-out}.g5tds-alternate small{font-weight:950;letter-spacing:.11em;color:#895e07}.g5tds-alternate h3{margin:5px auto;max-width:760px;font-size:1rem}.g5tds-alternate p{font-size:.72rem;font-weight:800;color:#745c28}

.g5tds-clock-port{color:#eaffff;background:radial-gradient(circle at 50% 18%,#176e78,#082434 68%)}.g5tds-clock-port:before{background:repeating-linear-gradient(90deg,#54e2d50c 0 2px,transparent 2px 46px)}.g5tds-clock-port .board-kicker{color:#78f1df}.g5tds-clock{display:grid;place-items:center;width:250px;height:250px;border-radius:50%;background:#0b3143;box-shadow:0 0 0 10px #d9b665,0 22px 38px #001b2d80}.g5tds-clock svg{grid-area:1/1;width:100%;height:100%;fill:none;stroke:#dffefa;stroke-width:5}.g5tds-clock svg path{stroke:#ffd568;stroke-linecap:round}.g5tds-clock b{grid-area:1/1;align-self:end;margin-bottom:36px;padding:5px 10px;border-radius:9px;background:#082434;color:#ffe178}
.g5tds-tube-lab{color:#ecfbff;background:linear-gradient(145deg,#14264f,#433b76)}.g5tds-tube-lab .board-kicker{color:#aeeeff}.g5tds-tubes{display:flex;align-items:flex-end;gap:25px;padding:23px 45px 10px;border-radius:28px;background:#111a38bb;box-shadow:inset 0 0 0 3px #9ae8ff55}.g5tds-tubes section{position:relative;width:90px;height:220px;border:5px solid #d9f8ff;border-top:0;border-radius:0 0 28px 28px;overflow:hidden}.g5tds-tubes section i{position:absolute;left:0;right:0;bottom:0;height:var(--fill);background:linear-gradient(#7ce6ef,#36a3d4);animation:g5tdsFill 1.4s ease-out}.g5tds-tubes section b{position:absolute;inset:auto 0 13px;color:#07314b;font-size:.85rem}
.g5tds-midnight-bridge{color:#f1f6ff;background:radial-gradient(circle at 50% 16%,#48598e,#101a3d 68%)}.g5tds-midnight-bridge .board-kicker{color:#ffe27d}.g5tds-midnight-bridge:before{background:radial-gradient(circle,#fff 0 1px,transparent 2px);background-size:57px 57px;opacity:.35}.g5tds-bridge{position:relative;display:grid;grid-template-columns:1fr 120px 1fr;align-items:end;width:min(780px,94%);min-height:225px;padding:38px 30px;background:linear-gradient(transparent 62%,#182d51 63%);clip-path:polygon(0 70%,10% 70%,20% 40%,35% 20%,50% 15%,65% 20%,80% 40%,90% 70%,100% 70%,100% 100%,0 100%)}.g5tds-bridge section{padding:17px;border-radius:16px;background:#fff;color:#162952;box-shadow:0 10px 20px #0005}.g5tds-bridge section b{font-size:1.45rem}.g5tds-bridge section small{display:block;color:#836b0c;font-weight:900}.g5tds-bridge>i{align-self:center;color:#ffe77f;font:950 1rem system-ui;font-style:normal}
.g5tds-timetable-rail{background:linear-gradient(#d8efff 0 40%,#edf4f4 40% 66%,#5b8f69 66%)}.g5tds-rail{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:min(920px,98%);padding:42px 25px 28px;border:8px solid #354e5f;border-radius:22px;background:#edf7f8;box-shadow:0 18px 32px #29473555}.g5tds-rail span{min-height:95px;display:grid;place-items:center;padding:7px;border:3px dashed #9ab1b6;border-radius:14px;color:#5d7377;font-weight:900}.g5tds-rail .study{border-style:solid;border-color:#31947e;background:#d7f7ed;color:#17584d}.g5tds-rail .break{border-style:solid;border-color:#de9e36;background:#fff1c7;color:#865b14}
.g5tds-minute-packing{background:linear-gradient(135deg,#fff6d5,#dbeddf)}.g5tds-minute-packing:before{background:repeating-linear-gradient(0deg,#446b600b 0 2px,transparent 2px 34px)}.g5tds-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;width:min(650px,94%);padding:28px;border-radius:30px;background:#7d5a38;box-shadow:inset 0 -12px #56371e,0 18px 32px #52351f44}.g5tds-packages section{min-height:150px;display:grid;place-items:center;align-content:center;border:7px solid #efe2ae;border-radius:18px;background:#2c7f70;color:#fff}.g5tds-packages section b{font-size:2.4rem}.g5tds-packages section small{font-weight:900}.g5tds-packages .remainder{background:#d88643}
.g5tds-evening-room{color:#f0fbff;background:linear-gradient(#183257 0 48%,#5c493a 48%)}.g5tds-evening-room:before{background:radial-gradient(circle at 82% 18%,#ffe698 0 30px,transparent 31px),linear-gradient(90deg,transparent 0 11%,#132743 11% 12%,transparent 12% 88%,#132743 88% 89%,transparent 89%)}.g5tds-evening-room .board-kicker{color:#ffe083}.g5tds-digital-journey{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:12px;width:min(850px,96%);padding:40px;border:8px solid #332c29;border-radius:30px;background:#121e2b;box-shadow:inset 0 0 25px #5cecd626,0 20px 35px #0007}.g5tds-digital-journey span,.g5tds-digital-journey strong{padding:16px;border:2px solid #43d5ba;border-radius:15px;color:#68f1d9;font:950 1.7rem ui-monospace,monospace}.g5tds-digital-journey i{font-style:normal;color:#ffe27c;font-weight:900}
.g5tds-foyer{background:linear-gradient(145deg,#f7e8cc,#cb9063)}.g5tds-ticket{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;width:min(880px,96%);padding:35px;border:6px double #7a3c31;border-radius:18px;background:#fff6dc;box-shadow:0 19px 30px #643d2c3d}.g5tds-ticket>*{padding:12px}.g5tds-ticket span{width:100%;border-radius:9px;background:repeating-linear-gradient(90deg,#a4433e 0 10px,#eecf9a 10px 20px);color:#fff;font-weight:950;text-shadow:0 1px 2px #412}.g5tds-ticket i{font-style:normal;font-weight:950}
.g5tds-stage{color:#fff3dd;background:radial-gradient(ellipse at 50% 25%,#f7d68355,transparent 38%),linear-gradient(135deg,#3b1126,#130913)}.g5tds-stage .board-kicker{color:#ffd574}.g5tds-curtain{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:45px;width:min(790px,94%);padding:45px 80px;border-radius:45% 45% 12px 12px;background:#120d14;box-shadow:inset 80px 0 #8e1e35,inset -80px 0 #8e1e35,0 22px 35px #0007}.g5tds-curtain section{padding:20px;border:3px solid #d6a64c;border-radius:16px;background:#fff4d5;color:#4c2630}.g5tds-curtain section small{display:block;margin-top:6px;font-weight:900}
.g5tds-edit-suite{color:#e9fbff;background:linear-gradient(145deg,#12242f,#173f4b)}.g5tds-edit-suite .board-kicker{color:#72ead4}.g5tds-filmstrip{display:flex;width:min(900px,98%);padding:45px 25px;border:8px solid #08171e;border-radius:22px;background:repeating-linear-gradient(90deg,#1e3038 0 30px,#08171e 30px 42px);box-shadow:0 20px 35px #0006}.g5tds-filmstrip span{display:grid;place-items:center;width:var(--w);min-height:115px;padding:8px;font-weight:950;transition:all .7s ease}.g5tds-filmstrip .act{background:#50c9bc;color:#093a42}.g5tds-filmstrip .break{background:#7f8a8e;color:#fff}.g5tds-filmstrip.joined .break{width:0;padding:0;opacity:0;overflow:hidden}.g5tds-filmstrip.joined .act{width:50%}
.g5tds-year-gate{color:#f4fbff;background:radial-gradient(circle at 50% 50%,#3f7891,#17283f 65%)}.g5tds-year-gate .board-kicker{color:#ffe07e}.g5tds-year-wheel{display:grid;grid-template-columns:1fr 110px 1fr;align-items:center;gap:20px;width:min(800px,94%);padding:30px;border:10px solid #9a7a44;border-radius:90px;background:#24384b;box-shadow:inset 0 0 0 5px #d6bd7c,0 22px 40px #07121d88}.g5tds-year-wheel section{display:grid;gap:5px;padding:20px;border-radius:22px;background:#f7edcf;color:#26384b}.g5tds-year-wheel section strong{font-size:2.2rem}.g5tds-year-wheel>i{font-style:normal;font-weight:950;color:#ffe176}
.g5tds-month-carousel{background:linear-gradient(145deg,#e9f4ff,#fff2c9)}.g5tds-months{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;gap:10px;width:min(890px,98%);padding:32px;border-radius:50px;background:#415c71;box-shadow:inset 0 -14px #293d4e,0 18px 32px #30495b44}.g5tds-months>*{min-height:110px;display:grid;place-items:center;padding:8px;border-radius:18px;background:#e9f8ff;color:#294151;font-style:normal;font-weight:950}.g5tds-months .start{background:#ffd875}.g5tds-months strong{background:#76d7bd;animation:g5tdsMonth 1.5s ease-in-out infinite alternate}
.g5tds-calendar-desk{background:linear-gradient(#e7f2f4 0 28%,#b07d4e 28%)}.g5tds-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;width:min(560px,94%);padding:12px;border:8px solid #4a3426;border-radius:18px;background:#fffdf4;box-shadow:0 18px 32px #4a2d1f55}.g5tds-calendar header{grid-column:1/-1;padding:10px;background:#b64048;color:#fff;font-weight:950}.g5tds-calendar span{display:grid;place-items:center;min-height:38px;border-radius:7px;background:#eef3ef;font-weight:850}.g5tds-calendar .trail{background:#ffe19d;text-decoration:line-through;color:#8a6523}.g5tds-calendar .target{background:#42b99e;color:#fff;box-shadow:0 0 0 4px #42b99e55;animation:g5tdsTarget 1s ease-in-out infinite alternate}
.g5tds-budget-counter{color:#edfff9;background:linear-gradient(145deg,#0d3542,#155c59)}.g5tds-budget-counter .board-kicker{color:#ffe386}.g5tds-budget{width:min(760px,96%);display:grid;gap:15px;padding:28px;border:4px solid #55d3b8;border-radius:25px;background:#092a35}.g5tds-budget section{display:grid;grid-template-columns:130px 115px 1fr;align-items:center;gap:9px;text-align:left}.g5tds-budget section small{font-weight:900}.g5tds-budget section i{height:25px;width:var(--w);border-radius:8px;background:linear-gradient(90deg,#f0c95e,#f49b58);box-shadow:0 0 18px #f7c75a55}.g5tds-budget>strong{font-size:1.35rem;color:#83f0d4}
.g5tds-tandem-workshop{background:linear-gradient(#badce5 0 35%,#d6bc93 35%)}.g5tds-tandem-workshop:before{background:repeating-linear-gradient(90deg,#4f38200c 0 2px,transparent 2px 45px)}.g5tds-bikes{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:16px;width:min(850px,96%);padding:28px;border:10px solid #5a4630;border-radius:25px;background:#f7ead2;box-shadow:0 20px 32px #523b2944}.g5tds-bikes section{display:grid;padding:15px;border:3px solid #688b83;border-radius:17px;background:#fff}.g5tds-bikes section span{font-size:3.5rem}.g5tds-bikes>i{font:950 2rem system-ui;font-style:normal}.g5tds-bikes>strong{padding:12px;border-radius:12px;background:#287d70;color:#fff}
.g5tds-savings-observatory{color:#edffff;background:radial-gradient(circle at 80% 15%,#e8fbff 0 25px,transparent 27px),radial-gradient(circle at 50% 12%,#315b87,#101d39 67%)}.g5tds-savings-observatory:before{background:radial-gradient(circle,#fff 0 1px,transparent 2px);background-size:63px 63px;opacity:.35}.g5tds-savings-observatory .board-kicker{color:#ffe274}.g5tds-savings{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:min(850px,96%);padding:26px;border:4px solid #62cfc1;border-radius:30px;background:#102b48d9;box-shadow:inset 0 0 28px #56d9cc22,0 19px 36px #0007}.g5tds-savings section{min-height:125px;display:grid;place-items:center;align-content:center;padding:10px;border:2px solid #68c6c1;border-radius:18px;background:#133c58}.g5tds-savings section small{color:#8fe5dc;font-weight:900}.g5tds-savings section b{font-size:1.35rem;color:#ffe172}

@keyframes g5tdsShake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes g5tdsPop{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}@keyframes g5tdsFill{from{height:0}}@keyframes g5tdsMonth{to{transform:translateY(-8px);box-shadow:0 10px 18px #112b3744}}@keyframes g5tdsTarget{to{transform:scale(1.12)}}

@media(max-width:700px){
  .g5tds-scene{min-height:394px;height:394px;padding:9px;gap:6px;justify-content:flex-start;overflow-y:auto;overflow-x:hidden;border-radius:20px}.g5tds-scene h2{font-size:.96rem}.g5tds-scene .board-kicker{font-size:.53rem}.g5tds-scene button{min-height:44px;padding:7px 9px;font-size:.64rem}.g5tds-choice-row{width:100%;gap:5px}.g5tds-result{padding:7px 9px;font-size:.63rem}.g5tds-support button{min-width:0}.g5tds-alternate{position:relative;inset:auto;width:100%;padding:9px}.g5tds-alternate h3{font-size:.72rem}.g5tds-clock{width:165px;height:165px}.g5tds-clock b{margin-bottom:22px;font-size:.65rem}.g5tds-tubes{gap:12px;padding:12px 20px 6px}.g5tds-tubes section{width:58px;height:145px}.g5tds-bridge{grid-template-columns:1fr 70px 1fr;min-height:145px;padding:20px 9px}.g5tds-bridge section{padding:8px}.g5tds-bridge section b{font-size:.9rem}.g5tds-rail{grid-template-columns:repeat(5,1fr);gap:3px;padding:15px 6px;border-width:5px}.g5tds-rail span{min-height:62px;padding:3px;font-size:.53rem}.g5tds-packages{gap:6px;padding:10px}.g5tds-packages section{min-height:84px;border-width:4px}.g5tds-packages section b{font-size:1.4rem}.g5tds-digital-journey{grid-template-columns:1fr 1fr 1fr;gap:5px;padding:13px;border-width:5px}.g5tds-digital-journey i{grid-row:2;font-size:.54rem}.g5tds-digital-journey span,.g5tds-digital-journey strong{padding:8px;font-size:.9rem}.g5tds-ticket{grid-template-columns:auto 1fr auto;gap:3px;padding:10px;border-width:4px}.g5tds-ticket span{padding:5px;font-size:.55rem}.g5tds-ticket span:nth-of-type(2){grid-column:2}.g5tds-curtain{gap:7px;padding:20px 38px}.g5tds-curtain section{padding:8px;font-size:.58rem}.g5tds-filmstrip{padding:20px 8px;border-width:5px}.g5tds-filmstrip span{min-height:70px;font-size:.55rem}.g5tds-year-wheel{grid-template-columns:1fr 65px 1fr;gap:6px;padding:10px;border-width:6px}.g5tds-year-wheel section{padding:8px}.g5tds-year-wheel section strong{font-size:1.2rem}.g5tds-months{gap:4px;padding:10px}.g5tds-months>*{min-height:62px;padding:4px;font-size:.57rem}.g5tds-calendar{gap:2px;padding:6px;border-width:5px}.g5tds-calendar span{min-height:25px;font-size:.6rem}.g5tds-budget{padding:10px;gap:7px}.g5tds-budget section{grid-template-columns:82px 75px 1fr;font-size:.58rem}.g5tds-budget section i{height:16px}.g5tds-bikes{grid-template-columns:1fr auto 1fr;gap:5px;padding:10px;border-width:6px}.g5tds-bikes section{padding:6px}.g5tds-bikes section span{font-size:2rem}.g5tds-bikes>strong{grid-column:1/-1}.g5tds-savings{gap:5px;padding:9px}.g5tds-savings section{min-height:75px;padding:4px}.g5tds-savings section small{font-size:.48rem}.g5tds-savings section b{font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){.g5tds-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Ders 5 görsel QA düzeltmeleri: dijital kadran kırpılması ve tiyatro alt sınırı */
.g5tds-digital-journey{grid-template-columns:minmax(68px,1fr) auto minmax(68px,1fr) auto minmax(68px,1fr);gap:5px;width:100%;padding:30px 10px}.g5tds-digital-journey span,.g5tds-digital-journey strong{min-width:0;padding:13px 5px;font-size:clamp(.9rem,2vw,1.3rem)}.g5tds-digital-journey i{font-size:.73rem}.g5tds-curtain{gap:24px;padding:28px 64px;box-shadow:inset 60px 0 #8e1e35,inset -60px 0 #8e1e35,0 22px 35px #0007}.g5tds-curtain section{padding:13px}.g5tds-curtain section small{margin-top:4px}
@media(max-width:700px){.g5tds-digital-journey{grid-template-columns:minmax(50px,1fr) auto minmax(50px,1fr) auto minmax(50px,1fr);gap:3px;padding:13px 5px}.g5tds-digital-journey i{grid-row:auto;font-size:.48rem}.g5tds-digital-journey span,.g5tds-digital-journey strong{padding:8px 3px;font-size:.75rem}.g5tds-curtain{gap:7px;padding:14px 34px}.g5tds-curtain section{padding:7px}}

/* 5. sınıf · 2. tema ölçme ve değerlendirme */
.g5a-scene{position:relative;isolation:isolate;width:100%;height:100%;min-height:510px;overflow:hidden;border-radius:28px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center;color:#183247}.g5a-scene:before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none}.g5a-scene h2,.g5a-scene h3,.g5a-scene p{margin:0}.g5a-scene h2{position:relative;z-index:4;font-size:clamp(1.08rem,2vw,1.58rem)}.g5a-scene .board-kicker{position:relative;z-index:4;color:#087d74;font-weight:950;letter-spacing:.11em;font-size:.68rem}.g5a-scene button{position:relative;z-index:7;min-width:48px;min-height:48px;padding:9px 14px;border:2px solid #6daea6;border-radius:14px;background:#fff;color:#173347;font:850 .82rem/1.2 system-ui;box-shadow:0 5px 0 #315f5a3c;cursor:pointer;touch-action:manipulation}.g5a-scene button:hover,.g5a-scene button:focus-visible{outline:4px solid #ffd166bd;outline-offset:2px;transform:translateY(-2px)}.g5a-scene button:disabled{opacity:.68;cursor:default;transform:none}.g5a-scene button.wrong-cell{border-color:#d16658;background:#fff0ed;animation:g5aShake .25s linear}.g5a-choice-row{position:relative;z-index:7;display:flex;justify-content:center;gap:7px;flex-wrap:wrap;width:min(910px,99%)}.g5a-result{position:relative;z-index:10;width:min(820px,97%);padding:9px 14px;border:3px solid #168a71;border-radius:15px;background:#e2fff3;color:#0b5e50;font-weight:900;box-shadow:0 9px 18px #155c4b20}.g5a-support{grid-template-columns:repeat(2,minmax(0,1fr))}.g5a-alternate{position:absolute;z-index:25;inset:auto 3% 3%;display:grid;grid-template-columns:180px 1fr;gap:5px 15px;align-items:center;padding:12px 16px;border:3px solid #e6b84d;border-radius:20px;background:#fff9e6f7;color:#443618;box-shadow:0 18px 35px #4f3a1840;animation:g5aPop .32s ease-out}.g5a-alternate>small{grid-column:1/-1;font-weight:950;letter-spacing:.11em;color:#8a5b05}.g5a-alternate h3{font-size:.86rem;text-align:left}.g5a-alternate p{font-size:.65rem;font-weight:800;text-align:left;color:#745c28}.g5a-alt-model{grid-row:2/4;position:relative;min-height:66px;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px;border-radius:13px;background:#203d4a;color:#fff;overflow:hidden}.g5a-alt-model i{width:16px;height:32px;border-radius:4px;background:#63d8c1}.g5a-alt-model i:nth-child(2){height:45px}.g5a-alt-model i:nth-child(3){height:24px}.g5a-alt-model i:nth-child(4){height:38px}.g5a-alt-model b{position:absolute;inset:auto 4px 3px;font-size:.58rem;color:#ffe07d}.g5a-alt-charge i:first-child{background:#48c991}.g5a-alt-charge i:not(:first-child){background:#53aee9}.g5a-model-note{position:relative;z-index:5;max-width:760px;padding:5px 10px;border-radius:10px;background:#fff1b8;color:#725116;font-size:.68rem;font-weight:850}

/* 1 · kasa filtresi */
.g5a-vault-dial{color:#eefcff;background:radial-gradient(circle at 50% 42%,#35556b,#142532 66%)}.g5a-vault-dial:before{background:repeating-conic-gradient(from 0deg at 50% 48%,#77d8d11a 0 2deg,transparent 2deg 15deg)}.g5a-vault-dial .board-kicker{color:#8cf2e1}.g5a-vault{display:grid;grid-template-columns:280px 95px;gap:25px;align-items:center;padding:18px 28px;border:8px solid #71828b;border-radius:42px;background:#1a2f3b;box-shadow:inset 0 0 0 5px #283f4b,0 24px 42px #07131c99}.g5a-dial{display:grid;grid-template-columns:repeat(5,48px);gap:8px}.g5a-dial button{padding:0;border-radius:50%;background:#dce8e9;color:#20333b}.g5a-leds{display:grid;grid-template-columns:repeat(3,16px);gap:8px;justify-content:center}.g5a-leds i{width:16px;height:16px;border-radius:50%;background:#5b6770;box-shadow:inset 0 2px 4px #0006}.g5a-leds i.on{background:#51e1b9;box-shadow:0 0 16px #51e1b9}.g5a-leds b{grid-column:1/-1;color:#ffe174}.g5a-confirm{background:#ffe175!important;border-color:#b88723!important}

/* 2 · ikiz merdiven */
.g5a-twin-stairs{background:linear-gradient(135deg,#e6f4fb,#d8eee6)}.g5a-twin-stairs:before{background:linear-gradient(90deg,transparent 49.5%,#6fa69d33 49.5% 50.5%,transparent 50.5%)}.g5a-stair-pair{display:grid;grid-template-columns:1fr 1fr;gap:35px;width:min(760px,96%);padding:24px}.g5a-stair-pair section{position:relative;min-height:205px;padding:22px;border:5px solid #42697b;border-radius:28px;background:#fff;box-shadow:0 17px 28px #274c5b2f}.g5a-stair-pair section div{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:25px}.g5a-stair-pair b{width:70px;height:70px;display:grid;place-items:center;border-radius:15px;background:#1e6975;color:#fff;font-size:2rem}.g5a-stair-pair section:nth-child(2) b{background:#7a5b9d}.g5a-stair-pair small{font-weight:950;color:#345267}.g5a-stair-pair>section>i{position:absolute;right:15px;bottom:8px;color:#e58a4c;font-size:2rem;font-style:normal}

/* 3 · kamera duvarı */
.g5a-camera-wall{color:#f3ffff;background:linear-gradient(145deg,#152b35,#24494e)}.g5a-camera-wall .board-kicker{color:#7cead9}.g5a-monitors{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:min(720px,95%);padding:20px;border:10px solid #0a171d;border-radius:22px;background:#111f24;box-shadow:0 22px 38px #0008}.g5a-monitors section{min-height:95px;display:grid;place-items:center;padding:10px;border:3px solid #5bb8aa;border-radius:10px;background:repeating-linear-gradient(0deg,#17363d 0 3px,#193d45 3px 6px)}.g5a-monitors small{color:#8be4d6;font-weight:900}.g5a-monitors b{font:950 1.25rem ui-monospace,monospace;color:#ffe176}

/* 4 · ses kilidi */
.g5a-voice-lock{color:#f5f4ff;background:radial-gradient(circle at 50% 40%,#543e74,#201c39 70%)}.g5a-voice-lock .board-kicker{color:#e5b8ff}.g5a-wave{position:relative;width:min(760px,95%);min-height:175px;display:flex;align-items:center;justify-content:center;gap:8px;padding:28px;border:5px solid #aa83d0;border-radius:50px;background:#211c39;box-shadow:inset 0 0 30px #d58fff22,0 19px 34px #0c071966}.g5a-wave>i{width:8px;height:var(--h);border-radius:8px;background:linear-gradient(#75e2dc,#f0c6ff);animation:g5aWave 1.2s ease-in-out infinite alternate}.g5a-wave>i:nth-child(3n){animation-delay:.3s}.g5a-wave>div{position:absolute;inset:auto 18px 9px;display:grid;grid-template-columns:repeat(3,1fr);font-size:.65rem;font-weight:900;color:#cdb6e2}

/* 5 · arşiv masası */
.g5a-archive-table{background:linear-gradient(#f2d98d 0 31%,#8c603c 31%)}.g5a-archive-table:before{background:linear-gradient(90deg,#fff7d744 0 15%,transparent 15% 85%,#fff7d744 85%)}.g5a-archive{display:grid;gap:7px;width:min(650px,95%);padding:22px;border:8px solid #553a29;border-radius:20px;background:#f8f0d5;box-shadow:0 22px 35px #4c2e1d66}.g5a-archive header,.g5a-archive section{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.g5a-archive header b{padding:8px;border-radius:8px;background:#b8663f;color:#fff}.g5a-archive section span{padding:11px;border:2px solid #c8a76d;border-radius:9px;background:#fffdf4;font:850 1rem ui-monospace,monospace}

/* 6 · ödünç boruları */
.g5a-borrow-pipes{color:#f5ffff;background:linear-gradient(145deg,#173b4d,#276c6b)}.g5a-borrow-pipes .board-kicker{color:#8ef0df}.g5a-pipes{display:grid;grid-template-columns:1fr 70px 1fr 70px 1fr;align-items:center;width:min(790px,96%);padding:28px;border-radius:30px;background:#092d3a;box-shadow:inset 0 0 0 4px #62c8b955,0 20px 34px #06222d77}.g5a-pipes section{min-height:120px;display:grid;place-items:center;align-content:center;border:4px solid #7ba9ad;border-radius:20px;background:#193f4d}.g5a-pipes section.active{border-color:#ffe173;background:#385a4d}.g5a-pipes b{font-size:1.3rem}.g5a-pipes span{font-size:.72rem;color:#9fe4da}.g5a-pipes>i{position:relative;height:18px;background:#668e94;font-style:normal}.g5a-pipes>i:after{content:"";position:absolute;right:-10px;top:-7px;border-width:16px 0 16px 18px;border-style:solid;border-color:transparent transparent transparent #668e94}

/* 7 · tarih damgası */
.g5a-date-stamp{background:linear-gradient(135deg,#fff7d8,#ead8bd)}.g5a-subtraction{display:grid;gap:6px;width:min(520px,94%);padding:24px;border:7px double #80552f;border-radius:18px;background:#fffdf2;box-shadow:0 20px 35px #59381d40;transform:rotate(-.5deg)}.g5a-subtraction header,.g5a-subtraction section,.g5a-subtraction footer{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.g5a-subtraction header b{font-size:.68rem;color:#8c5a2c}.g5a-subtraction section span,.g5a-subtraction footer b{padding:10px;border-radius:7px;background:#f3ead3;font:900 1.1rem ui-monospace,monospace}.g5a-subtraction footer{border-top:4px solid #80552f;padding-top:7px}.g5a-subtraction footer b{background:#d9f4df;color:#1d6451}

/* 8 · formül bandı */
.g5a-formula-belt{background:linear-gradient(#eef5f5 0 35%,#b3aa86 35%)}.g5a-formula-belt:before{background:repeating-linear-gradient(135deg,#f1c94d33 0 18px,#1b2b3033 18px 36px);clip-path:polygon(0 82%,100% 82%,100% 100%,0 100%)}.g5a-company-panels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(900px,98%);padding:19px;border:8px solid #2f4247;border-radius:24px;background:#dce8e8;box-shadow:0 20px 34px #293c4044}.g5a-company-panels section{min-height:145px;display:grid;place-items:center;align-content:center;gap:5px;padding:12px;border:3px solid #819598;border-radius:15px;background:#fff}.g5a-company-panels section.ready{border-color:#2ca88f;background:#e6fff5}.g5a-company-panels section>b{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#263e46;color:#ffe073}.g5a-company-panels span{font-size:.65rem;font-weight:800}.g5a-company-panels strong{font-size:.82rem;color:#216457}

/* 9 · ağır vinç */
.g5a-heavy-crane{color:#fff9e8;background:linear-gradient(#365b70 0 70%,#29382e 70%)}.g5a-heavy-crane .board-kicker{color:#ffe077}.g5a-crane{position:relative;width:min(840px,96%);min-height:240px;padding:16px 25px;border-radius:22px;background:linear-gradient(#203b4c 0 58%,#657166 58%)}.g5a-crane>i{position:absolute;left:12%;top:0;width:62%;height:18px;background:#e0af35;box-shadow:0 10px #27373d}.g5a-crane>i:after{content:"";position:absolute;right:6%;top:18px;width:4px;height:65px;background:#202d32}.g5a-crane>div{position:absolute;right:18%;top:82px;width:120px;height:75px;display:grid;place-items:center;background:#b77842;color:#fff;font-weight:950;box-shadow:0 8px 16px #0005}.g5a-crane>section{position:absolute;left:5%;right:5%;bottom:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.g5a-crane>section span{display:flex;justify-content:space-between;padding:9px;border-radius:9px;background:#f8f2d6;color:#263c43}.g5a-crane em{font-style:normal;font-weight:900}

/* 10 · fiyat radarı */
.g5a-radar-scale{color:#eaffff;background:radial-gradient(circle at 50% 45%,#1c6571,#102d3b 68%)}.g5a-radar-scale .board-kicker{color:#7ce8d9}.g5a-radar{position:relative;width:330px;height:260px;border:5px solid #4ebaaa;border-radius:50%;background:repeating-radial-gradient(circle,#2d778044 0 2px,transparent 2px 45px),conic-gradient(from 30deg,#75e3cf22,transparent 25%);box-shadow:0 0 0 12px #0c2733,0 18px 35px #06182188}.g5a-radar>div{position:absolute;inset:0;display:grid;place-items:center}.g5a-radar>div i{position:absolute;width:45%;height:2px;background:#8df3df;transform-origin:left;animation:g5aSweep 2.4s linear infinite}.g5a-radar>div strong{padding:8px;border-radius:9px;background:#102e3b;color:#ffe079}.g5a-radar>section span{position:absolute;width:56px;height:56px;display:grid;place-items:center;align-content:center;border-radius:50%;background:#fff;color:#1a4851;box-shadow:0 0 var(--r) #6ff0d9}.g5a-radar>section span:nth-child(1){left:30px;top:65px}.g5a-radar>section span:nth-child(2){right:34px;top:48px}.g5a-radar>section span:nth-child(3){left:135px;bottom:23px}.g5a-radar em{font-size:.6rem;font-style:normal;font-weight:900}

/* 11 · eşitlik iskelesi */
.g5a-equal-dock{background:linear-gradient(#d9eff8 0 43%,#8c7652 43%)}.g5a-dock{display:grid;gap:10px;width:min(760px,96%);padding:22px;border:8px solid #4e4030;border-radius:24px;background:#f2e5ca;box-shadow:0 20px 35px #4e352644}.g5a-dock section{display:grid;grid-template-columns:38px 1fr 55px;align-items:center;gap:8px}.g5a-dock section b{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#314f58;color:#fff}.g5a-dock section i{height:25px;width:var(--w);border-radius:6px;background:linear-gradient(90deg,#58b9a8,#e0bf56);transition:width .5s}.g5a-dock section em{font-style:normal;font-weight:900}.g5a-dock>strong{padding:8px;border-radius:9px;background:#fff;color:#276656}

/* 12 · şehir rotası */
.g5a-city-route{background:linear-gradient(#a9dcf0 0 25%,#b9db9f 25%)}.g5a-city-route:before{background:linear-gradient(45deg,transparent 48%,#ffffff55 48% 52%,transparent 52%);background-size:80px 80px}.g5a-map{position:relative;width:min(820px,97%);height:265px;border:8px solid #506a58;border-radius:30px;background:#dce4c9;box-shadow:0 20px 34px #3853404d;overflow:hidden}.g5a-map svg{position:absolute;inset:32px 80px;width:calc(100% - 160px);height:180px;fill:none;stroke:#e8894c;stroke-width:13;stroke-linecap:round;stroke-dasharray:18 12}.g5a-map section{position:absolute;z-index:4;top:78px;width:85px;height:100px;display:grid;place-items:center;align-content:center;border-radius:18px;background:#fff;box-shadow:0 12px 20px #2f4a3766;font-size:2rem}.g5a-map section b{font-size:.68rem}.g5a-map .home{left:24px}.g5a-map .work{right:24px}.g5a-map>span{position:absolute;z-index:5;padding:4px 8px;border-radius:8px;background:#fff6cf;font-weight:900}.g5a-map .go{left:42%;top:38px}.g5a-map .back{left:43%;bottom:47px}.g5a-map>strong{position:absolute;z-index:5;left:50%;bottom:8px;transform:translateX(-50%);white-space:nowrap;padding:8px 12px;border-radius:10px;background:#315a54;color:#fff}

/* 13 · şarj yolu */
.g5a-charge-lane{color:#efffff;background:linear-gradient(145deg,#153b49,#285d61)}.g5a-charge-lane .board-kicker{color:#8bf1dc}.g5a-charge-road{width:min(860px,97%);display:grid;grid-template-columns:155px 1fr;gap:10px;padding:20px;border:5px solid #5cbeb0;border-radius:30px;background:#0e303c;box-shadow:0 20px 36px #061b2366}.g5a-home-charge{grid-row:1/3;display:grid;place-items:center;align-content:center;gap:6px;padding:10px;border-radius:20px;background:#163f46}.g5a-home-charge i{width:54px;height:100px;border:6px solid #d8fff5;border-radius:10px;background:linear-gradient(to top,#51cf91 0 100%);box-shadow:0 0 20px #51cf9166}.g5a-home-charge span{font-size:.65rem}.g5a-charge-road .road{position:relative;height:105px;border-radius:18px;background:#d9e4de;overflow:hidden}.g5a-charge-road .road>i{position:absolute;top:33px;height:36px;border-radius:8px}.g5a-charge-road .road .first{left:2%;width:8%;background:#48c98e;box-shadow:0 0 0 3px #fff}.g5a-charge-road .road .extra{left:calc(11% + var(--i)*9.5%);width:8%;background:#4ca9e0}.g5a-charge-road .road em{position:absolute;inset:auto 0 5px;color:#28474e;font-size:.65rem;font-style:normal;font-weight:900}.g5a-charge-road>section{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.g5a-charge-road>section span{display:grid;place-items:center;min-height:65px;padding:6px;border-radius:12px;background:#1a4652;font-size:.58rem;font-weight:850}.g5a-charge-road>section b{font-size:.8rem;color:#ffe079}

/* 14 · zaman rafı */
.g5a-time-stack{background:linear-gradient(135deg,#f4ecd9,#c9dce4)}.g5a-time-machine{position:relative;display:grid;grid-template-columns:1fr 65px 1fr 1fr;gap:11px;width:min(820px,97%);padding:24px;border:8px solid #475c68;border-radius:35px;background:#ecf5f4;box-shadow:inset 0 -12px #b9cbcd,0 22px 35px #354a5544}.g5a-time-machine>section{min-height:120px;display:grid;place-items:center;align-content:center;border:3px solid #699a9c;border-radius:18px;background:#fff}.g5a-time-machine section b{font-size:2rem;color:#266e69}.g5a-time-machine section small{font-weight:900}.g5a-time-machine>i{align-self:center;font-style:normal;font-weight:950}.g5a-time-machine>div{grid-column:1/-1;display:grid;grid-template-columns:repeat(12,1fr);gap:4px}.g5a-time-machine>div i{height:20px;border-radius:5px;background:#54bdaa;animation:g5aStack .6s ease-out both;animation-delay:calc(var(--i)*.05s)}

/* 15 · bütçe mührü */
.g5a-budget-seal{color:#fffbea;background:radial-gradient(circle at 50% 42%,#704d38,#2b2730 70%)}.g5a-budget-seal .board-kicker{color:#ffe077}.g5a-receipt{position:relative;width:min(390px,92%);padding:22px 28px;border-radius:8px;background:#fffdf0;color:#29383b;box-shadow:0 22px 42px #0008;clip-path:polygon(0 0,100% 0,100% 96%,96% 100%,92% 96%,88% 100%,84% 96%,80% 100%,76% 96%,72% 100%,68% 96%,64% 100%,60% 96%,56% 100%,52% 96%,48% 100%,44% 96%,40% 100%,36% 96%,32% 100%,28% 96%,24% 100%,20% 96%,16% 100%,12% 96%,8% 100%,4% 96%,0 100%)}.g5a-receipt header{display:grid;gap:3px;padding-bottom:12px;border-bottom:2px dashed #7f8d89}.g5a-receipt p{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #b7bdb7;font-size:.78rem}.g5a-receipt>strong{display:block;padding:13px;font:950 2rem ui-monospace,monospace;color:#176d5d}.g5a-receipt footer{padding:7px;border:3px double #a44d46;color:#a44d46;font-weight:950;transform:rotate(-2deg)}

@keyframes g5aShake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes g5aPop{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}@keyframes g5aWave{to{transform:scaleY(.55);opacity:.72}}@keyframes g5aSweep{to{transform:rotate(360deg)}}@keyframes g5aStack{from{opacity:0;transform:translateY(18px)}}

@media(max-width:700px){
  .g5a-scene{min-height:394px;height:394px;padding:8px;gap:5px;justify-content:flex-start;overflow-y:auto;overflow-x:hidden;border-radius:20px}.g5a-scene h2{font-size:.92rem}.g5a-scene .board-kicker{font-size:.5rem}.g5a-scene button{min-width:46px;min-height:46px;padding:6px 8px;font-size:.61rem}.g5a-choice-row{width:100%;gap:4px}.g5a-result{padding:6px 8px;font-size:.59rem}.g5a-model-note{font-size:.55rem;padding:4px 6px}.g5a-support button{min-width:0}.g5a-alternate{position:relative;inset:auto;width:100%;grid-template-columns:95px 1fr;gap:3px 7px;padding:7px}.g5a-alternate h3{font-size:.62rem}.g5a-alternate p{font-size:.52rem}.g5a-alt-model{min-height:55px}.g5a-alt-model b{font-size:.46rem}
  .g5a-vault{grid-template-columns:1fr 55px;gap:8px;padding:8px 10px;border-width:5px}.g5a-dial{grid-template-columns:repeat(5,46px);gap:4px}.g5a-dial button{padding:0}.g5a-leds{grid-template-columns:repeat(3,10px);gap:4px}.g5a-leds i{width:10px;height:10px}
  .g5a-stair-pair{gap:5px;width:100%;padding:4px}.g5a-stair-pair section{min-height:120px;padding:8px;border-width:3px}.g5a-stair-pair section div{gap:3px;margin-top:12px}.g5a-stair-pair b{width:38px;height:46px;font-size:1.1rem}.g5a-stair-pair small{font-size:.52rem}
  .g5a-monitors{gap:5px;width:100%;padding:8px;border-width:5px}.g5a-monitors section{min-height:62px;padding:4px}.g5a-monitors small{font-size:.48rem}.g5a-monitors b{font-size:.75rem}
  .g5a-wave{width:100%;min-height:105px;gap:3px;padding:10px;border-width:3px}.g5a-wave>i{width:5px}.g5a-wave>div{font-size:.48rem}
  .g5a-archive{width:100%;padding:8px;border-width:5px}.g5a-archive header b,.g5a-archive section span{padding:6px;font-size:.66rem}
  .g5a-pipes{grid-template-columns:1fr 24px 1fr 24px 1fr;width:100%;padding:8px}.g5a-pipes section{min-height:78px;border-width:3px}.g5a-pipes b{font-size:.72rem}.g5a-pipes span{font-size:.47rem}.g5a-pipes>i{height:9px}.g5a-pipes>i:after{right:-7px;top:-4px;border-width:9px 0 9px 10px}
  .g5a-subtraction{width:100%;padding:8px;border-width:4px}.g5a-subtraction section span,.g5a-subtraction footer b{padding:6px;font-size:.74rem}
  .g5a-company-panels{grid-template-columns:1fr;gap:4px;width:100%;padding:6px;border-width:5px}.g5a-company-panels section{min-height:55px;grid-template-columns:38px 1fr 1fr;gap:4px;padding:4px}.g5a-company-panels section>b{width:32px;height:32px}.g5a-company-panels span{font-size:.48rem}.g5a-company-panels strong{font-size:.56rem}
  .g5a-crane{width:100%;min-height:155px;padding:5px}.g5a-crane>i{height:10px}.g5a-crane>div{right:13%;top:52px;width:72px;height:45px;font-size:.62rem}.g5a-crane>section{gap:3px;bottom:5px}.g5a-crane>section span{padding:5px;font-size:.54rem}
  .g5a-radar{width:205px;height:165px;border-width:3px}.g5a-radar>section span{width:38px;height:38px;font-size:.52rem}.g5a-radar>section span:nth-child(1){left:17px;top:38px}.g5a-radar>section span:nth-child(2){right:20px;top:28px}.g5a-radar>section span:nth-child(3){left:84px;bottom:12px}.g5a-radar>div strong{font-size:.58rem}
  .g5a-dock{width:100%;padding:8px;border-width:5px}.g5a-dock section{grid-template-columns:32px 1fr 42px;gap:4px}.g5a-dock section b{width:32px;height:32px}.g5a-dock section i{height:18px}.g5a-dock section em{font-size:.62rem}.g5a-dock>strong{padding:5px;font-size:.62rem}
  .g5a-map{width:100%;height:175px;border-width:5px}.g5a-map svg{inset:20px 52px;width:calc(100% - 104px);height:115px;stroke-width:8}.g5a-map section{top:48px;width:54px;height:68px;font-size:1.3rem}.g5a-map .home{left:8px}.g5a-map .work{right:8px}.g5a-map section b{font-size:.46rem}.g5a-map>span{font-size:.52rem}.g5a-map .go{left:40%;top:20px}.g5a-map .back{left:41%;bottom:33px}.g5a-map>strong{bottom:4px;padding:4px 6px;font-size:.5rem}
  .g5a-charge-road{grid-template-columns:75px 1fr;width:100%;gap:5px;padding:7px;border-width:3px}.g5a-home-charge{padding:4px}.g5a-home-charge i{width:30px;height:58px;border-width:4px}.g5a-home-charge b,.g5a-home-charge span{font-size:.45rem}.g5a-charge-road .road{height:72px}.g5a-charge-road .road>i{top:22px;height:25px}.g5a-charge-road>section{gap:3px}.g5a-charge-road>section span{min-height:49px;padding:3px;font-size:.43rem}.g5a-charge-road>section b{font-size:.55rem}
  .g5a-time-machine{grid-template-columns:1fr 30px 1fr 1fr;gap:4px;width:100%;padding:8px;border-width:5px}.g5a-time-machine>section{min-height:78px;border-width:2px}.g5a-time-machine section b{font-size:1.1rem}.g5a-time-machine section small,.g5a-time-machine section span,.g5a-time-machine>i{font-size:.48rem}.g5a-time-machine>div{gap:2px}.g5a-time-machine>div i{height:12px}
  .g5a-receipt{width:260px;padding:12px 17px}.g5a-receipt p{padding:5px 0;font-size:.58rem}.g5a-receipt>strong{padding:6px;font-size:1.35rem}.g5a-receipt footer{padding:4px;font-size:.58rem}
}
@media(prefers-reduced-motion:reduce){.g5a-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 2. tema görsel QA: dar ders panosunda ikiz merdivenlerin kırpılmasını önle */
.g5a-stair-pair section{min-width:0;padding:14px}.g5a-stair-pair section div{gap:6px}.g5a-stair-pair b{width:48px;height:62px;font-size:1.65rem}
/* Kasa tuş takımı da gerçek ders panosu genişliğinde taşmadan merkezlenir. */
.g5a-vault{grid-template-columns:260px 70px;gap:10px;padding:12px}.g5a-dial{grid-template-columns:repeat(5,46px);gap:4px}
@media(max-width:700px){.g5a-vault{grid-template-columns:1fr 55px;gap:8px;padding:8px 10px}.g5a-dial{grid-template-columns:repeat(5,46px);gap:4px}}

/* MAT.5.4.1 · Dikdörtgenin çevre uzunluğu */
.grade5-rectangle-perimeter-board{overflow:hidden;background:#f7fbff;border-color:#bfd8ea}
.g5rp-scene{position:relative;width:100%;height:100%;min-height:0;box-sizing:border-box;padding:16px 20px 12px;border-radius:24px;overflow:hidden;color:#17324d;background:linear-gradient(145deg,#fafdff,#eaf5fb)}
.g5rp-scene:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 10%,rgba(242,181,58,.14),transparent 30%)}
.g5rp-scene h2{position:relative;z-index:4;margin:5px auto 8px;max-width:94%;font-size:clamp(18px,2vw,27px);line-height:1.08;text-align:center;color:#12344d}
.g5rp-scene .board-kicker{position:relative;z-index:4;display:block;width:max-content;max-width:92%;margin:auto;padding:5px 12px;border-radius:999px;background:#fff;border:1px solid #bfd9e9;color:#2c617b;font-size:10px;font-weight:900;letter-spacing:.08em;text-align:center;white-space:normal}
.g5rp-visual{position:relative;z-index:2;display:grid;place-items:center;width:min(94%,760px);height:clamp(190px,41vh,320px);margin:0 auto 9px;border:1px solid rgba(100,150,179,.35);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(31,77,103,.1);overflow:hidden}
.g5rp-choice-row{position:relative;z-index:7;display:flex;justify-content:center;align-items:stretch;gap:9px;max-width:920px;margin:auto;flex-wrap:wrap}
.g5rp-choice-row button,.g5rp-confirm,.g5rp-shape-grid button,.g5rp-number-belt button{position:relative;z-index:7;min-width:48px;min-height:48px;box-sizing:border-box;border:2px solid #c8dce9;border-radius:15px;background:#fff;color:#18384f;font:800 clamp(14px,1.45vw,18px)/1.15 system-ui,sans-serif;padding:9px 14px;box-shadow:0 5px 0 #d6e6ef;cursor:pointer;touch-action:manipulation;transition:transform .16s,box-shadow .16s,border-color .16s}
.g5rp-choice-row button:hover,.g5rp-choice-row button:focus-visible,.g5rp-confirm:hover,.g5rp-confirm:focus-visible,.g5rp-shape-grid button:hover,.g5rp-shape-grid button:focus-visible,.g5rp-number-belt button:hover,.g5rp-number-belt button:focus-visible{outline:none;border-color:#f4a83b;box-shadow:0 0 0 5px rgba(244,168,59,.28),0 5px 0 #e9c98e;transform:translateY(-2px)}
.g5rp-choice-row.compact button{padding:7px 10px;min-width:74px}.g5rp-result{position:absolute;z-index:12;left:6%;right:6%;bottom:12px;padding:11px 15px;border:2px solid #72bb8e;border-radius:15px;background:rgba(239,255,245,.98);box-shadow:0 10px 24px rgba(36,107,67,.16);font-size:clamp(12px,1.25vw,16px);font-weight:800;text-align:center;color:#17623a}
.g5rp-rect-svg{width:92%;height:92%;overflow:visible}.g5rp-rect-svg rect{fill:rgba(75,160,199,.08);stroke:#227ca4;stroke-width:8;vector-effect:non-scaling-stroke;filter:drop-shadow(0 7px 7px rgba(29,80,105,.16))}.g5rp-rect-svg text{fill:#174867;font:800 15px system-ui,sans-serif;text-anchor:middle}
.g5rp-boundary-track{background:linear-gradient(150deg,#edf9f3,#e9f3fb)}.g5rp-boundary-track svg{width:92%;height:92%;overflow:visible}.g5rp-boundary-track .frame{fill:#f4ecd9;stroke:#285d72;stroke-width:22}.g5rp-boundary-track .trace{fill:none;stroke:#f3a62f;stroke-width:9;stroke-linecap:round;stroke-dasharray:980;stroke-dashoffset:980;animation:g5rpTrace 9.2s linear forwards}.g5rp-boundary-track .tracker{fill:#ff8c24;filter:drop-shadow(0 0 8px #ff9c36);offset-path:path("M95 45 H425 V205 H95 Z");animation:g5rpTrack 9.2s linear forwards}@keyframes g5rpTrace{to{stroke-dashoffset:0}}@keyframes g5rpTrack{to{offset-distance:100%}}
.g5rp-frame-sum{background:linear-gradient(150deg,#fff8e8,#f2f7fb)}.g5rp-frame-sum .edge-sum rect{stroke:#b56b27;fill:#fff5db}
.g5rp-twin-rails{background:linear-gradient(150deg,#eef5ff,#f9f1ff)}.g5rp-twin-rails .g5rp-visual{grid-template-columns:1fr 1fr;gap:14px;padding:20px;box-sizing:border-box}.g5rp-rail{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.g5rp-rail b{display:grid;place-items:center;height:26px;border-radius:999px;color:#fff;font-size:18px}.g5rp-rail.long b{background:#287fb1}.g5rp-rail.short b{background:#e09b31;width:62%;justify-self:center}.g5rp-formula-build{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:11px 17px;border-radius:16px;background:#fff;border:2px dashed #9dbed1;font-size:clamp(22px,3vw,34px);font-weight:900}.g5rp-formula-build i{font-style:normal;color:#bd6b20}
.g5rp-half-fold{background:linear-gradient(150deg,#eafbff,#fff3dc)}.g5rp-fold-strip{position:relative;display:grid;grid-template-columns:repeat(16,1fr);width:84%;height:88px;border:4px solid #315f7a;border-radius:14px;overflow:visible;transform-style:preserve-3d;animation:g5rpFold 7.5s ease-in-out both}.g5rp-fold-strip i{border-right:1px solid rgba(17,69,97,.36);background:#62b5d4}.g5rp-fold-strip i.second{background:#f4bb55}.g5rp-fold-strip b{position:absolute;left:50%;bottom:-36px;transform:translateX(-50%);white-space:nowrap;color:#214f69}@keyframes g5rpFold{0%,32%{transform:perspective(800px) rotateX(0)}65%,100%{transform:perspective(800px) rotateX(8deg) scaleX(.86)}}
.g5rp-zero-gate{background:linear-gradient(150deg,#fff0ed,#eefaf3)}.g5rp-zero-gate svg{width:95%;height:92%}.g5rp-zero-gate rect{fill:none;stroke-width:8}.zero-shape rect{stroke:#d66c5c;animation:g5rpCollapse 6.5s ease-in-out both;transform-origin:140px 120px}.one-shape rect{stroke:#3c9b68}.g5rp-zero-gate text{fill:#294e63;font:800 16px system-ui}@keyframes g5rpCollapse{0%,30%{transform:scaleY(1)}70%,100%{transform:scaleY(.04)}}
.g5rp-pair-lab{background:linear-gradient(150deg,#edfaff,#edf3ff)}.g5rp-pair-lab .g5rp-visual{grid-template-columns:1.08fr 1fr;padding:18px;gap:16px;box-sizing:border-box}.g5rp-pair-strip{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-content:center}.g5rp-pair-strip span{display:grid;place-items:center;min-width:74px;min-height:46px;border:2px dashed #abc6d5;border-radius:13px;background:#f7fbfd;color:#66869a;font-weight:900}.g5rp-pair-strip span.done{border-style:solid;border-color:#4baa78;background:#eafff1;color:#21603d}.g5rp-pair-strip span.next{border-color:#efaa3d;box-shadow:0 0 0 4px rgba(239,170,61,.18)}.g5rp-empty-rect{display:grid;place-items:center;width:90%;height:125px;border:4px dashed #9dbed1;border-radius:18px;color:#557b91;font-weight:800}
.g5rp-rotation-bench{background:linear-gradient(150deg,#f5efff,#edf9ff)}.g5rp-overlay-rects{position:relative;width:360px;max-width:90%;height:220px}.g5rp-overlay-rects svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.g5rp-overlay-rects rect{fill:rgba(88,92,189,.08);stroke:#5062b9;stroke-width:8}.g5rp-overlay-rects text{fill:#304173;font:900 17px system-ui;text-anchor:middle}.g5rp-overlay-rects .rotating{z-index:4;transform-origin:50% 50%;animation:g5rpRotate 8s ease-in-out both}.g5rp-overlay-rects .rotating rect{stroke:#e38c2c;stroke-dasharray:12 8}@keyframes g5rpRotate{0%,26%{transform:rotate(0) scale(1)}70%,100%{transform:rotate(90deg) scale(.99)}}
.g5rp-square-window{background:linear-gradient(150deg,#fff8df,#eefbff)}.g5rp-square-window .square-special rect{stroke:#805ab5;fill:#f3eaff}.g5rp-angle-badges{position:absolute;inset:16% 23%;pointer-events:none}.g5rp-angle-badges i{position:absolute;font:900 12px system-ui;color:#9b6921}.g5rp-angle-badges i:nth-child(1){left:0;top:0}.g5rp-angle-badges i:nth-child(2){right:0;top:0}.g5rp-angle-badges i:nth-child(3){right:0;bottom:0}.g5rp-angle-badges i:nth-child(4){left:0;bottom:0}
.g5rp-perimeter-console{background:linear-gradient(150deg,#eaf7fb,#f1f4ff)}.g5rp-perimeter-console .g5rp-visual{grid-template-rows:1fr auto;padding:20px;box-sizing:border-box}.g5rp-half-badge{padding:9px 16px;border-radius:999px;background:#1e607c;color:#fff;font-weight:900}
.g5rp-geoboard{background:linear-gradient(150deg,#fff5e9,#edf7ee)}.g5rp-geoboard .g5rp-visual{display:grid;grid-template-columns:90px 1fr;gap:9px;padding:10px;box-sizing:border-box;background-color:#f4e1bf;background-image:radial-gradient(#69482e 4px,transparent 5px);background-size:34px 34px}.g5rp-grid-note{display:grid;grid-template-columns:repeat(3,18px);justify-content:center;align-items:center;position:relative;height:75px;border-radius:15px;background:rgba(255,255,255,.94)}.g5rp-grid-note i{width:11px;height:11px;border-radius:50%;background:#714d30}.g5rp-grid-note:after{content:"";position:absolute;left:22px;right:22px;top:25px;height:5px;background:#ef8c2e}.g5rp-grid-note b{grid-column:1/-1;font-size:12px;text-align:center}.g5rp-shape-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.g5rp-shape-grid button{padding:2px;min-width:0;background:rgba(255,255,255,.95)}.g5rp-shape-grid button.picked{border-color:#ed9d30;box-shadow:0 0 0 5px rgba(237,157,48,.28)}.g5rp-shape-grid svg{height:88px}.g5rp-confirm{display:block;margin:auto}
.g5rp-even-loom{background:linear-gradient(150deg,#eaf9f3,#f5efff)}.g5rp-proof{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:13px;width:78%}.g5rp-proof span{display:grid;place-items:center;min-height:74px;border:4px solid #3f9a70;border-radius:18px;background:#ecfff5;font-size:clamp(26px,4vw,44px);font-weight:900}.g5rp-proof i{font-style:normal;font-weight:800;color:#6b5e88;text-align:center}.g5rp-proof strong{grid-column:1/-1;text-align:center;font-size:clamp(22px,3vw,36px);color:#4a3d86}.proof-choices button{max-width:290px}
.g5rp-number-sorter{background:linear-gradient(150deg,#edf7fb,#fff2e5)}.g5rp-number-sorter .g5rp-visual{grid-template-rows:1fr auto;padding:18px;box-sizing:border-box}.g5rp-number-belt{display:flex;gap:13px;justify-content:center;align-items:center;width:100%;padding:17px;border-radius:20px;background:repeating-linear-gradient(90deg,#476675 0 28px,#365463 28px 56px)}.g5rp-number-belt button{min-width:62px;font-size:21px}.g5rp-number-belt button.picked{border-color:#e8902e;background:#fff2dc;box-shadow:0 0 0 5px rgba(232,144,46,.28)}.g5rp-split-mirror{display:flex;align-items:center;gap:12px;padding-top:16px}.g5rp-split-mirror i{width:88px;height:13px;border-radius:999px;background:#64a8c7}.g5rp-split-mirror b{color:#2a617b}
.g5rp-fence-gallery{background:linear-gradient(150deg,#f7f1ff,#edf9f2)}.g5rp-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;width:94%;height:88%}.g5rp-gallery section{position:relative;display:grid;place-items:center;border-radius:16px;background:#fff;border:1px solid #cadce7;overflow:hidden}.g5rp-gallery section>b{position:absolute;z-index:3;left:8px;top:8px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#315d78;color:#fff}.g5rp-gallery svg{height:145px}
.g5rp-pair-vault{background:linear-gradient(150deg,#e9f3fb,#f5f0ff)}.g5rp-pair-vault .g5rp-visual{grid-template-columns:1fr 145px;padding:20px;box-sizing:border-box}.g5rp-vault-ring{display:grid;place-items:center;width:112px;height:112px;border:11px double #6c65aa;border-radius:50%;background:#fff;color:#413b7a;font-size:36px;font-weight:950;box-shadow:0 0 0 8px rgba(108,101,170,.12)}.g5rp-vault-ring small{display:block;font-size:12px}
.g5rp-final-blueprint{background-color:#eaf5fa;background-image:linear-gradient(rgba(64,127,158,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(64,127,158,.12) 1px,transparent 1px);background-size:24px 24px}.g5rp-final-blueprint .g5rp-visual{grid-template-columns:1fr auto;padding:16px;box-sizing:border-box;background:rgba(255,255,255,.92)}.g5rp-blueprint-empty{display:grid;place-items:center;width:260px;max-width:80%;height:136px;border:5px dashed #4a8eae;border-radius:18px;color:#2f6d8a;font-size:34px;font-weight:950}.g5rp-equation{padding:13px;border-radius:14px;background:#1e5f7d;color:#fff;font-size:clamp(20px,2.5vw,30px);font-weight:900}
.g5rp-alternate{position:absolute;z-index:15;inset:12% 6% 8%;display:grid;grid-template-columns:115px 1fr;grid-template-rows:auto 1fr auto auto;align-items:center;gap:9px 17px;padding:17px;border:3px solid #e6a23a;border-radius:22px;background:rgba(255,250,235,.98);box-shadow:0 18px 44px rgba(45,66,78,.24);overflow:auto}.g5rp-alternate small{grid-column:1/-1;font-weight:950;color:#a65f1f;letter-spacing:.09em}.g5rp-alternate h3{margin:0;font-size:clamp(15px,1.75vw,21px);line-height:1.25;color:#684219}.g5rp-alternate p{grid-column:1/-1;margin:0;font-weight:800;color:#7b5b32}.g5rp-alternate>button{grid-column:1/-1;justify-self:center;min-width:180px;min-height:48px;padding:9px 16px;border:2px solid #d78a29;border-radius:14px;background:#fff;color:#764913;font-weight:900;cursor:pointer;touch-action:manipulation}.g5rp-alt-icon{position:relative;width:100px;height:100px}.g5rp-alt-icon i{position:absolute;width:58px;height:10px;border-radius:99px;background:#3894ba}.g5rp-alt-icon i:nth-child(1){left:20px;top:12px}.g5rp-alt-icon i:nth-child(2){right:6px;top:44px;transform:rotate(90deg)}.g5rp-alt-icon i:nth-child(3){left:20px;bottom:12px}.g5rp-alt-icon i:nth-child(4){left:6px;top:44px;transform:rotate(90deg)}.g5rp-independent-note{display:grid;gap:2px;padding:9px 13px;border:2px solid #889ab5;border-radius:14px;background:#f4f7fb;color:#34455c}.g5rp-independent-note b{font-size:14px}.g5rp-independent-note small{font-size:11px}.g5rp-finish{min-width:170px}
@media(max-width:700px){.grade5-rectangle-perimeter-board{overflow-y:auto;overflow-x:hidden}.g5rp-scene{min-height:100%;padding:10px 8px 8px;border-radius:18px;overflow-y:auto;overflow-x:hidden}.g5rp-scene h2{margin:4px auto 6px;font-size:17px;max-width:98%}.g5rp-scene .board-kicker{font-size:8px;padding:4px 7px}.g5rp-visual{width:100%;height:230px;margin-bottom:7px;border-radius:16px}.g5rp-choice-row{gap:6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.g5rp-choice-row button,.g5rp-confirm{width:100%;min-height:46px;padding:7px 6px;font-size:12px}.g5rp-choice-row.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.g5rp-choice-row.compact button{min-width:0;padding:6px 3px}.g5rp-result{position:relative;left:auto;right:auto;bottom:auto;margin:7px auto 0;padding:9px;font-size:11px}.g5rp-twin-rails .g5rp-visual{grid-template-columns:1fr;padding:12px;gap:7px}.g5rp-formula-build{grid-column:auto;font-size:21px;padding:7px 10px}.g5rp-pair-lab .g5rp-visual{grid-template-columns:1fr 1fr;padding:8px;gap:6px}.g5rp-pair-strip{gap:4px}.g5rp-pair-strip span{min-width:55px;min-height:36px;font-size:11px}.g5rp-pair-lab svg{height:122px}.g5rp-geoboard .g5rp-visual{grid-template-columns:72px 1fr;padding:6px;gap:5px;background-size:27px 27px}.g5rp-shape-grid{grid-template-columns:repeat(2,1fr);gap:4px}.g5rp-shape-grid button{min-height:72px}.g5rp-shape-grid svg{height:64px}.g5rp-grid-note{grid-template-columns:repeat(3,13px);height:60px}.g5rp-grid-note:after{left:16px;right:16px}.g5rp-proof{width:94%;gap:6px}.g5rp-proof span{min-height:56px;font-size:22px}.g5rp-proof i{font-size:10px}.g5rp-proof strong{font-size:20px}.g5rp-number-belt{gap:5px;padding:8px}.g5rp-number-belt button{min-width:46px;min-height:46px;padding:4px;font-size:16px}.g5rp-split-mirror{padding-top:7px}.g5rp-split-mirror i{width:48px}.g5rp-gallery{grid-template-columns:repeat(2,1fr);gap:5px}.g5rp-gallery svg{height:82px}.g5rp-gallery section>b{width:23px;height:23px;font-size:11px}.g5rp-pair-vault .g5rp-visual{grid-template-columns:1fr 82px;padding:8px}.g5rp-vault-ring{width:68px;height:68px;border-width:6px;font-size:22px}.g5rp-final-blueprint .g5rp-visual{grid-template-columns:1fr;padding:6px}.g5rp-final-blueprint svg{height:142px}.g5rp-equation{font-size:18px;padding:7px}.g5rp-alternate{inset:7% 2% 3%;grid-template-columns:68px 1fr;padding:10px;gap:6px}.g5rp-alt-icon{width:62px;height:62px;transform:scale(.62);transform-origin:center}.g5rp-alternate h3{font-size:13px}.g5rp-alternate p{font-size:11px}}
@media(max-height:730px) and (min-width:701px){.g5rp-scene{padding-top:9px}.g5rp-visual{height:238px}.g5rp-scene h2{font-size:20px;margin:3px auto 5px}.g5rp-choice-row button{min-height:46px;padding:7px 11px}}
@media(prefers-reduced-motion:reduce){.g5rp-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.g5rp-boundary-track .trace{stroke-dashoffset:0}.g5rp-boundary-track .tracker{offset-distance:100%}.g5rp-overlay-rects .rotating{transform:rotate(90deg)}}

/* MAT.5.4.2 · Dikdörtgenin alanı ve birim kareler */
.grade5-rectangle-area-board{overflow:hidden;background:#f7fbff;border-color:#b8d9dd}
.g5ra-scene{--ink:#173b49;position:relative;width:100%;height:100%;min-height:0;box-sizing:border-box;padding:15px 19px 12px;border-radius:24px;overflow:hidden;color:var(--ink);background:linear-gradient(145deg,#f7fcff,#eaf7f4)}
.g5ra-scene:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 90% 8%,rgba(255,185,69,.17),transparent 30%)}
.g5ra-scene .board-kicker{position:relative;z-index:4;display:block;width:max-content;max-width:92%;margin:auto;padding:5px 12px;border:1px solid #b8d9dd;border-radius:999px;background:#fff;color:#267080;font:900 10px/1.2 system-ui;letter-spacing:.08em;text-align:center;white-space:normal}
.g5ra-scene h2{position:relative;z-index:4;margin:5px auto 8px;max-width:94%;font-size:clamp(18px,2vw,27px);line-height:1.08;text-align:center}
.g5ra-visual{position:relative;z-index:2;display:grid;place-items:center;width:min(94%,780px);height:clamp(190px,41vh,320px);margin:0 auto 9px;border:1px solid rgba(82,144,154,.34);border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 14px 34px rgba(25,79,89,.11);overflow:hidden}
.g5ra-choice-row{position:relative;z-index:7;display:flex;flex-wrap:wrap;justify-content:center;gap:9px;max-width:920px;margin:auto}
.g5ra-choice-row button,.g5ra-tray button,.g5ra-piece-palette button,.g5ra-target-grid button{min-width:48px;min-height:48px;box-sizing:border-box;border:2px solid #c4dde0;border-radius:15px;background:#fff;color:#173b49;font:800 clamp(14px,1.45vw,18px)/1.15 system-ui;padding:9px 14px;box-shadow:0 5px 0 #d4e8e8;cursor:pointer;touch-action:manipulation;transition:transform .16s,box-shadow .16s,border-color .16s}
.g5ra-choice-row button:hover,.g5ra-choice-row button:focus-visible,.g5ra-tray button:hover,.g5ra-piece-palette button:hover,.g5ra-target-grid button:hover{outline:none;border-color:#ed9c32;box-shadow:0 0 0 5px rgba(237,156,50,.25),0 5px 0 #ebcb91;transform:translateY(-2px)}
.g5ra-result{position:absolute;z-index:12;left:6%;right:6%;bottom:12px;padding:11px 15px;border:2px solid #6db98b;border-radius:15px;background:rgba(239,255,245,.98);box-shadow:0 10px 24px rgba(36,107,67,.16);font-size:clamp(12px,1.25vw,16px);font-weight:800;text-align:center;color:#17623a}
.g5ra-cells{display:grid;gap:3px}.g5ra-cells.cols-4{grid-template-columns:repeat(4,1fr)}.g5ra-cells.cols-5{grid-template-columns:repeat(5,1fr)}.g5ra-cells.cols-8{grid-template-columns:repeat(8,1fr)}.g5ra-cells.cols-9{grid-template-columns:repeat(9,1fr)}.g5ra-cells i{display:block;min-width:17px;min-height:17px;border:2px dashed #a9c5c8;background:rgba(255,255,255,.5)}.g5ra-cells i.filled{border-style:solid;border-color:#4392a0;background:linear-gradient(135deg,#bde9e6,#70c4bd);box-shadow:inset 0 0 0 2px rgba(255,255,255,.6)}
.g5ra-cover-lab{background:linear-gradient(145deg,#eff8ff,#fff4df)}.g5ra-cover-lab .g5ra-visual{grid-template-columns:repeat(3,1fr);gap:15px;padding:19px;box-sizing:border-box}.g5ra-cover-sample{position:relative;display:grid;grid-template-columns:repeat(4,30px);grid-auto-rows:30px;place-content:center;width:100%;height:85%;border:7px solid #334f5a;border-radius:14px;background:#f5ead3;overflow:hidden}.g5ra-cover-sample b{position:absolute;z-index:3;left:5px;bottom:4px;padding:3px 7px;border-radius:8px;background:rgba(255,255,255,.92);font-size:11px}.g5ra-cover-sample i{background:#62bdd0;border:2px solid #27798c}.g5ra-cover-sample.circles i{border-radius:50%;margin:1px}.g5ra-cover-sample.pentagons i{clip-path:polygon(50% 0,98% 35%,80% 100%,20% 100%,2% 35%);margin:-1px 0;background:#f0ad4d;border:0}.g5ra-cover-sample.squares i{background:#70c98f;border-color:#328254}
.g5ra-bakery-tray{background:linear-gradient(145deg,#fff1dc,#eef8ff)}.g5ra-tray{display:grid;grid-template-columns:1fr 135px;align-items:center;gap:25px;width:82%;padding:24px;border:9px solid #8e969b;border-radius:30px;background:#d9dddf;box-shadow:inset 0 0 0 4px #737c81,0 14px 18px rgba(49,61,68,.18)}.g5ra-tray-drop{min-width:0;border-radius:12px}.g5ra-tray-drop.teacher-wait-glow{box-shadow:0 0 0 6px rgba(237,156,50,.32)}.g5ra-tray .g5ra-cells{grid-template-rows:repeat(3,48px)}.g5ra-tray .g5ra-cells i{border-radius:8px;background:#f4f4f2}.g5ra-tray .g5ra-cells i.filled{background:linear-gradient(145deg,#e6a554,#f9d58a);border-color:#a96831;box-shadow:inset 0 0 0 4px #fbe9bf}.g5ra-tray-tools{display:grid;gap:8px}.g5ra-tray button{display:grid;place-items:center;background:#fff8e6;padding:6px}.g5ra-tray button span{font-size:22px}.g5ra-tray button small{font-size:10px}.g5ra-tray [data-g5ra-invalid-fill]{background:#eef8ff;color:#3b7790}
.g5ra-unit-scanner{background:linear-gradient(145deg,#e9fbff,#eef2ff)}.g5ra-scanner{position:relative;width:330px;max-width:85%;padding:20px;border:8px solid #2c6777;border-radius:22px;background:#163f4c}.g5ra-scanner .g5ra-cells{grid-template-rows:repeat(3,58px)}.g5ra-scanner span{position:absolute;z-index:3;left:14px;right:14px;top:15px;height:5px;background:#8fffea;box-shadow:0 0 14px #44f1d4;animation:g5raScan 6s ease-in-out infinite}@keyframes g5raScan{50%{transform:translateY(180px)}}
.g5ra-tile-terminal{background:linear-gradient(145deg,#f4f0e8,#dff1f3)}.g5ra-floor-perspective{position:relative;width:74%;perspective:600px}.g5ra-floor-perspective .g5ra-cells{grid-template-rows:repeat(6,27px);transform:rotateX(52deg);transform-origin:bottom;filter:drop-shadow(0 17px 11px rgba(35,65,70,.22))}.g5ra-floor-perspective b{display:block;margin-top:12px;text-align:center}.g5ra-floor-perspective i{background:#d6c39e;border-color:#8c7955}
.g5ra-chocolate-matrix{background:linear-gradient(145deg,#fff2df,#f6e7d9)}.g5ra-chocolate{width:330px;max-width:85%;padding:16px;border:8px solid #704121;border-radius:18px;background:#9d6034;box-shadow:0 13px 0 #5f351c}.g5ra-chocolate .g5ra-cells{grid-template-rows:repeat(4,43px)}.g5ra-chocolate i{border-color:#6f321b;border-radius:7px;background:linear-gradient(145deg,#9f5a2f,#6d351d);box-shadow:inset 4px 4px 0 rgba(255,220,178,.14)}.g5ra-chocolate.show-columns i:nth-child(-n+5){outline:4px solid #f5ca4f;z-index:2}.g5ra-chocolate.show-rows i:nth-child(5n+1){outline:4px solid #73d6cd;z-index:2}
.g5ra-window-facade{background:linear-gradient(145deg,#e9f5ff,#dae6ee)}.g5ra-building{position:relative;width:280px;padding:28px 25px 18px;border-bottom:13px solid #455d68;background:#536d79;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)}.g5ra-building>div{padding:8px;background:#344e5a}.g5ra-building .g5ra-cells{grid-template-rows:repeat(7,20px)}.g5ra-building i{min-width:20px;min-height:15px;border-color:#5fb8d1;background:#bcecff}.g5ra-building b,.g5ra-building em{position:absolute;padding:4px 8px;border-radius:8px;background:#fff;font-size:11px;font-style:normal}.g5ra-building b{left:37%;bottom:1px}.g5ra-building em{right:-52px;top:45%}
.g5ra-blueprint-fader{background:#e8f5fa}.g5ra-blueprint{position:relative;width:440px;max-width:80%;padding:20px;background:#17617b;border:7px solid #0c3d50;box-shadow:0 13px 22px rgba(18,65,82,.25)}.g5ra-blueprint .g5ra-cells{grid-template-rows:repeat(4,34px);animation:g5raFadeGrid 10s ease-in-out both}.g5ra-blueprint i{border-color:#bfeeff;background:rgba(139,221,241,.15)}.g5ra-blueprint b,.g5ra-blueprint em{position:absolute;color:#fff;font-style:normal;font-weight:900}.g5ra-blueprint b{left:50%;bottom:-22px}.g5ra-blueprint em{right:-38px;top:43%}@keyframes g5raFadeGrid{0%,45%{opacity:1}80%,100%{opacity:.18}}
.g5ra-photo-lab{background:linear-gradient(145deg,#f9f0ff,#fff6e8)}.g5ra-photo{position:relative;width:300px;height:190px;padding:16px;border:15px solid #fff;box-shadow:0 14px 25px rgba(66,52,71,.2);transform:rotate(-2deg);background:#b9e5e0}.g5ra-photo div{display:grid;place-items:center;height:100%;background:linear-gradient(#74c2d4 0 55%,#77b774 55%);color:#fff;font-size:31px;font-weight:950;text-shadow:0 2px 5px #2d6570}.g5ra-photo small{font-size:11px}.g5ra-photo span,.g5ra-photo em{position:absolute;color:#704784;font-weight:900;font-style:normal}.g5ra-photo span{right:-12px;top:45%;transform:rotate(90deg)}.g5ra-photo em{left:45%;bottom:-14px}
.g5ra-sports-court{background:linear-gradient(145deg,#edf8ec,#d9edf1)}.g5ra-court{position:relative;width:480px;max-width:82%;height:210px;border:8px solid #fff;background:#42a976;box-shadow:0 15px 0 #267752,0 20px 27px rgba(27,86,58,.2);transform:perspective(700px) rotateX(9deg)}.g5ra-court:before{content:"";position:absolute;inset:12%;border:4px solid #fff}.g5ra-court:after{content:"";position:absolute;left:50%;top:12%;bottom:12%;border-left:4px solid #fff}.g5ra-court span,.g5ra-court em{position:absolute;padding:4px 9px;border-radius:8px;background:#fff;color:#267752;font-weight:900;font-style:normal}.g5ra-court span{left:43%;bottom:-25px}.g5ra-court em{right:-27px;top:44%;transform:rotate(90deg)}
.g5ra-book-cover{background:linear-gradient(145deg,#fff7e4,#eef2ff)}.g5ra-book-cover .g5ra-visual{grid-template-columns:1fr 150px}.g5ra-book{position:relative;display:grid;place-items:center;width:225px;height:165px;border-radius:7px 20px 20px 7px;background:linear-gradient(90deg,#213b70 0 13px,#385daa 13px);box-shadow:12px 14px 0 #bdc9dd;color:#fff;transform:rotate(-3deg)}.g5ra-book:after{content:"";position:absolute;inset:14px;border:2px solid #acc8ff}.g5ra-book b{z-index:2;text-align:center}.g5ra-book span,.g5ra-book em{position:absolute;color:#263f72;font-weight:900;font-style:normal}.g5ra-book span{right:-39px;top:44%;transform:rotate(90deg)}.g5ra-book em{left:43%;bottom:-24px}.g5ra-division{padding:14px;border-radius:15px;background:#253f70;color:#fff;font-size:27px;font-weight:950}
.g5ra-gallery-match{background:linear-gradient(145deg,#f8f0ff,#effaf2)}.g5ra-gallery-match .g5ra-visual{grid-template-columns:1fr 90px 1fr;gap:10px;padding:18px;box-sizing:border-box}.g5ra-match-left,.g5ra-match-right{display:grid;gap:8px;width:100%}.g5ra-match-left span,.g5ra-match-right span{display:grid;place-items:center;min-height:47px;border:3px solid #7e6ab0;border-radius:12px;background:#fff;font-weight:900}.g5ra-match-right span{border-color:#4aa17a}.g5ra-match-lines{display:grid;place-items:center;gap:5px}.g5ra-match-lines i{padding:5px 9px;border-radius:99px;background:#f4ad3c;color:#fff;font-style:normal;font-weight:900}
.g5ra-rotation-model{background:linear-gradient(145deg,#eef7ff,#f4efff)}.g5ra-rotation-model .g5ra-visual{grid-template-columns:1fr 70px 1fr}.g5ra-l-piece{position:relative;width:120px;height:120px;animation:g5raPiecePulse 5s ease-in-out infinite}.g5ra-l-piece i{position:absolute;width:38px;height:38px;border:3px solid #355fac;background:#82abef;box-sizing:border-box}.g5ra-l-piece i:nth-child(1){left:0;top:0}.g5ra-l-piece i:nth-child(2){left:0;top:38px}.g5ra-l-piece i:nth-child(3){left:0;top:76px}.g5ra-l-piece i:nth-child(4){left:38px;top:0}.g5ra-l-piece.rotated{transform:rotate(90deg)}.g5ra-turn{font-size:42px;color:#e38e28}@keyframes g5raPiecePulse{50%{filter:drop-shadow(0 0 10px #84aef5)}}
.g5ra-area-workshop{background:linear-gradient(145deg,#fff6df,#eaf6f6)}.g5ra-area-workshop .g5ra-visual{grid-template-columns:104px 264px;justify-content:center;gap:6px;padding:6px;box-sizing:border-box}.g5ra-piece-palette{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;width:100%}.g5ra-piece-palette button{position:relative;display:grid;place-items:center;min-width:0;padding:3px;font-size:10px}.g5ra-piece-preview{display:grid;grid-template-columns:repeat(var(--piece-cols),12px);grid-template-rows:repeat(var(--piece-rows),12px);gap:2px;place-content:center;min-height:42px}.g5ra-piece-palette button .g5ra-piece-preview i{width:12px;height:12px;border-radius:3px;background:#6eb9ad}.g5ra-piece-palette button b{font-size:9px}.g5ra-piece-palette button.selected{border-color:#e99b2f;box-shadow:0 0 0 4px rgba(233,155,47,.23)}.g5ra-piece-palette button.used{opacity:.35;cursor:not-allowed}.g5ra-target-grid{display:grid;grid-template-columns:repeat(5,48px);grid-template-rows:repeat(3,48px);gap:2px;padding:4px;border:4px solid #456a72;border-radius:15px;background:#d7e5e5}.g5ra-target-grid button{min-width:48px;min-height:48px;padding:0;border-radius:5px;box-shadow:none;font-size:20px}.g5ra-target-grid button.mint{background:#70c9a4}.g5ra-target-grid button.blue{background:#6aa7dc}.g5ra-target-grid button.orange{background:#eda852}.g5ra-target-grid button.violet{background:#a986d4}
.g5ra-solar-control{background:linear-gradient(145deg,#e9f4ff,#fff3ce)}.g5ra-solar{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:370px;max-width:78%;padding:15px;border:9px solid #535f6b;background:#1d4f8e;transform:perspective(700px) rotateX(8deg) rotateZ(-2deg);box-shadow:15px 18px 0 #aeb6bc}.g5ra-solar i{height:38px;border:2px solid #77b1e8;background:linear-gradient(135deg,#2668aa,#173d78)}.g5ra-solar span,.g5ra-solar em{position:absolute;padding:4px 8px;border-radius:7px;background:#fff;color:#284e75;font-weight:900;font-style:normal}.g5ra-solar span{left:44%;bottom:-25px}.g5ra-solar em{right:-26px;top:43%;transform:rotate(90deg)}
.g5ra-park-final{background:linear-gradient(145deg,#e9f8e7,#e7f2ff)}.g5ra-park{position:relative;width:470px;max-width:82%;height:215px;border:9px solid #8b7048;border-radius:20px;background:radial-gradient(circle at 20% 25%,#84bd62 0 5%,transparent 6%),linear-gradient(145deg,#a7d882,#6fb05c);box-shadow:0 16px 0 #5e824d;overflow:visible}.g5ra-park:after{content:"";position:absolute;left:10%;right:10%;top:44%;height:35px;border-radius:99px;background:#e6d6a8;transform:rotate(-8deg)}.g5ra-park span,.g5ra-park em{position:absolute;padding:4px 8px;border-radius:8px;background:#fff;color:#456b38;font-weight:900;font-style:normal}.g5ra-park span{left:45%;bottom:-27px}.g5ra-park em{right:-27px;top:43%;transform:rotate(90deg)}.g5ra-park i{position:absolute;z-index:2;font-size:38px;font-style:normal}.g5ra-park i:nth-of-type(1){left:12%;top:20%}.g5ra-park i:nth-of-type(2){right:18%;bottom:15%}.g5ra-park i:nth-of-type(3){right:12%;top:13%}.g5ra-park strong{position:absolute;z-index:3;left:43%;top:36%;font-size:38px;color:#35632e}
.g5ra-alternate{position:absolute;z-index:15;inset:11% 6% 7%;display:grid;grid-template-columns:125px 1fr;grid-template-rows:auto 1fr auto auto;align-items:center;gap:9px 17px;padding:17px;border:3px solid #e5a03a;border-radius:22px;background:rgba(255,251,238,.98);box-shadow:0 18px 44px rgba(45,66,78,.24);overflow:auto}.g5ra-alternate small{grid-column:1/-1;font-weight:950;color:#a65f1f;letter-spacing:.09em}.g5ra-alternate h3{margin:0;font-size:clamp(15px,1.75vw,21px);line-height:1.25;color:#684219}.g5ra-alternate p{grid-column:1/-1;margin:0;font-weight:800;color:#7b5b32}.g5ra-alternate>button{grid-column:1/-1;justify-self:center;min-width:180px;min-height:48px;padding:9px 16px;border:2px solid #d78a29;border-radius:14px;background:#fff;color:#764913;font-weight:900;cursor:pointer}.g5ra-alt-grid{display:grid;grid-template-columns:repeat(4,24px);gap:3px}.g5ra-alt-grid i{height:24px;border:2px solid #418b98;background:#a9dcd6}.g5ra-finish{min-width:170px}
@media(max-width:700px){.grade5-rectangle-area-board{overflow-y:auto;overflow-x:hidden}.g5ra-scene{min-height:100%;padding:10px 8px 8px;border-radius:18px;overflow-y:auto;overflow-x:hidden}.g5ra-scene h2{margin:4px auto 6px;font-size:17px;max-width:98%}.g5ra-scene .board-kicker{font-size:8px;padding:4px 7px}.g5ra-visual{width:100%;height:230px;margin-bottom:7px;border-radius:16px}.g5ra-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.g5ra-choice-row button{width:100%;min-height:46px;padding:7px 5px;font-size:12px}.g5ra-result{position:relative;left:auto;right:auto;bottom:auto;margin:7px auto 0;padding:9px;font-size:11px}.g5ra-cover-lab .g5ra-visual{gap:4px;padding:6px}.g5ra-cover-sample{grid-template-columns:repeat(3,18px);grid-auto-rows:18px;border-width:4px}.g5ra-cover-sample i:nth-of-type(n+10){display:none}.g5ra-cover-sample b{font-size:8px}.g5ra-tray{grid-template-columns:1fr 92px;gap:8px;width:96%;padding:9px;border-width:5px}.g5ra-tray .g5ra-cells{grid-template-rows:repeat(3,34px)}.g5ra-tray button{min-width:82px;padding:4px}.g5ra-floor-perspective{width:94%}.g5ra-floor-perspective .g5ra-cells{grid-template-rows:repeat(6,20px)}.g5ra-building{width:210px;padding:18px 20px 12px}.g5ra-blueprint{width:88%;padding:10px}.g5ra-blueprint .g5ra-cells{grid-template-rows:repeat(4,27px)}.g5ra-photo{width:225px;height:145px}.g5ra-court{width:82%;height:150px}.g5ra-book-cover .g5ra-visual{grid-template-columns:1fr 100px}.g5ra-book{width:165px;height:125px}.g5ra-division{font-size:18px;padding:8px}.g5ra-gallery-match .g5ra-visual{grid-template-columns:1fr 45px 1fr;padding:7px;gap:4px}.g5ra-match-left span,.g5ra-match-right span{min-height:38px;font-size:10px}.g5ra-rotation-model .g5ra-visual{grid-template-columns:1fr 45px 1fr}.g5ra-l-piece{transform:scale(.78)}.g5ra-l-piece.rotated{transform:scale(.78) rotate(90deg)}.g5ra-area-workshop .g5ra-visual{grid-template-columns:112px 1fr;gap:6px;padding:6px}.g5ra-piece-palette{gap:4px}.g5ra-piece-palette button{min-height:41px;padding:3px;font-size:9px}.g5ra-piece-palette button i{width:10px;height:10px}.g5ra-target-grid{grid-template-columns:repeat(5,minmax(36px,1fr));grid-template-rows:repeat(3,46px);gap:2px;padding:5px;border-width:4px}.g5ra-target-grid button{min-width:36px;min-height:46px}.g5ra-solar{width:76%;padding:9px}.g5ra-solar i{height:28px}.g5ra-park{width:80%;height:150px}.g5ra-alternate{inset:6% 2% 2%;grid-template-columns:72px 1fr;padding:10px;gap:6px}.g5ra-alt-grid{grid-template-columns:repeat(4,14px)}.g5ra-alt-grid i{height:14px}.g5ra-alternate h3{font-size:13px}.g5ra-alternate p{font-size:11px}}
@media(max-height:730px) and (min-width:701px){.g5ra-scene{padding-top:9px}.g5ra-visual{height:238px}.g5ra-scene h2{font-size:20px;margin:3px auto 5px}.g5ra-choice-row button{min-height:46px;padding:7px 11px}}
@media(prefers-reduced-motion:reduce){.g5ra-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.g5ra-scanner span{transform:translateY(180px)}.g5ra-blueprint .g5ra-cells{opacity:.3}}

@media(max-width:700px){.g5ra-piece-preview{grid-template-columns:repeat(var(--piece-cols),10px);grid-template-rows:repeat(var(--piece-rows),10px);min-height:32px}.g5ra-piece-palette button .g5ra-piece-preview i{width:10px;height:10px}}

/* MAT.5.4.3 · Alan ile çevre arasındaki ilişki */
.grade5-area-perimeter-board{overflow:hidden;background:#f4f8fb;border-color:#a8c7d4}
.g5ap-scene{--ink:#193745;position:relative;width:100%;height:100%;min-height:0;box-sizing:border-box;padding:14px 18px 12px;border-radius:24px;overflow:hidden;color:var(--ink);background:#eef6f8}
.g5ap-scene:after{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 8%,rgba(255,185,72,.2),transparent 28%)}
.g5ap-scene .board-kicker{position:relative;z-index:4;display:block;width:max-content;max-width:92%;margin:auto;padding:5px 12px;border:1px solid rgba(49,100,117,.32);border-radius:999px;background:rgba(255,255,255,.94);color:#286579;font:900 10px/1.2 system-ui;letter-spacing:.08em;text-align:center;white-space:normal}
.g5ap-scene h2{position:relative;z-index:4;margin:5px auto 8px;max-width:94%;font-size:clamp(18px,2vw,27px);line-height:1.08;text-align:center}
.g5ap-visual{position:relative;z-index:2;display:grid;place-items:center;width:min(95%,820px);height:clamp(190px,41vh,322px);margin:0 auto 8px;border:1px solid rgba(64,115,131,.28);border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 14px 32px rgba(23,65,78,.12);overflow:hidden}
.g5ap-choice-row{position:relative;z-index:7;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:950px;margin:auto}
.g5ap-choice-row button,.g5ap-slider-row button,.g5ap-dimension-controls button,.g5ap-mailboxes button,.g5ap-cinema-screens button,.g5ap-envelope,.g5ap-blueprint-card{min-width:48px;min-height:48px;box-sizing:border-box;border:2px solid #bcd4dc;border-radius:14px;background:#fff;color:#193745;font:850 clamp(13px,1.35vw,17px)/1.15 system-ui;padding:8px 13px;box-shadow:0 5px 0 #d4e4e8;cursor:pointer;touch-action:manipulation;transition:transform .16s,box-shadow .16s,border-color .16s}
.g5ap-choice-row button:hover,.g5ap-choice-row button:focus-visible,.g5ap-slider-row button:hover,.g5ap-dimension-controls button:hover,.g5ap-mailboxes button:hover,.g5ap-envelope:hover,.g5ap-blueprint-card:hover{outline:none;border-color:#e79a35;box-shadow:0 0 0 5px rgba(231,154,53,.22),0 5px 0 #e6ca96;transform:translateY(-2px)}
.g5ap-result{position:absolute;z-index:20;left:6%;right:6%;bottom:11px;padding:10px 14px;border:2px solid #62ad82;border-radius:15px;background:rgba(239,255,245,.98);box-shadow:0 10px 24px rgba(36,107,67,.16);font-size:clamp(12px,1.2vw,16px);font-weight:850;text-align:center;color:#17623a}
.g5ap-rect{display:grid;grid-template-columns:repeat(var(--cols),minmax(6px,22px));grid-template-rows:repeat(var(--rows),minmax(6px,22px));gap:2px;place-content:center}.g5ap-rect i{display:block;border:1px solid rgba(32,83,99,.55);border-radius:2px;background:#80c8c2;box-shadow:inset 0 0 0 1px rgba(255,255,255,.48)}
.g5ap-loom{background:linear-gradient(145deg,#fff0d7,#f3e4ca)}.g5ap-loom .g5ap-visual{grid-template-columns:1fr 46px 1.5fr;background:linear-gradient(#6d4933 0 8%,#ebd2a6 8%);border:9px solid #73503b}.g5ap-rug-source,.g5ap-rug-options button{display:grid;place-items:center;gap:7px}.g5ap-rug-source .g5ap-rect i{background:#e66e66}.g5ap-rug-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;width:94%}.g5ap-rug-options button{min-height:145px;border:2px dashed #a27d51;border-radius:12px;background:#fff8e8;color:#563a28;cursor:pointer}.g5ap-rug-options button:nth-child(2) i{background:#69b9a9}.g5ap-rug-options button:nth-child(3) i{background:#dda95e}.g5ap-rug-source b,.g5ap-rug-options b{font-size:12px}.g5ap-thread-arrow{font-size:36px;color:#8e5532}
.g5ap-shape-press{background:linear-gradient(145deg,#e9eef4,#d9e5ea)}.g5ap-shape-press .g5ap-visual{grid-template-columns:1fr 170px;background:linear-gradient(135deg,#334954,#657b83);border:9px solid #273b43}.g5ap-press-window{display:grid;place-items:center;width:78%;height:74%;border:5px solid #a7bcc4;border-radius:18px;background:#e8f3f4;box-shadow:inset 0 0 30px rgba(20,57,69,.25)}.g5ap-press-window .g5ap-rect{max-width:95%;max-height:90%;transform:scale(.92)}.g5ap-press-window i{background:#80b7dc}.g5ap-press-meter{display:grid;gap:8px;place-items:center;padding:16px;border-radius:18px;background:#172e38;color:#c8f4ef}.g5ap-press-meter strong{font-size:25px}.g5ap-choice-row button.visited{border-color:#5aa882;background:#e8fff2;color:#17633d}
.g5ap-neon-border{background:linear-gradient(145deg,#171a35,#30245a);color:#fff}.g5ap-neon-border .g5ap-visual{grid-template-columns:repeat(2,1fr);gap:26px;background:#101328;border-color:#6d63a9}.g5ap-neon-border .g5ap-visual>div{display:grid;place-items:center;gap:12px}.g5ap-neon-border .g5ap-rect{padding:8px;border:5px solid #54e4ef;box-shadow:0 0 18px #3ed3e0}.g5ap-neon-border .neon-b{border-color:#ff87bd;box-shadow:0 0 18px #ff5fa9}.g5ap-neon-border i{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.25)}
.g5ap-factor-vault{background:radial-gradient(circle,#e8dbc3,#baa27d)}.g5ap-factor-vault .g5ap-visual{grid-template-columns:200px 1fr;background:#4d443b;border:12px solid #8d7657}.g5ap-vault-core{display:grid;place-items:center;width:128px;height:128px;border:13px double #d8b66d;border-radius:50%;background:#26323a;color:#ffe6a5;font-size:42px;font-weight:950;box-shadow:0 0 0 8px #5f574d}.g5ap-vault-core small{font-size:12px}.g5ap-vault-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:90%}.g5ap-vault-slots span{display:grid;place-items:center;min-height:78px;border:3px solid #9a8364;border-radius:13px;background:#282b2c;color:#ddd0bc;font-weight:900}.g5ap-vault-slots span.open{background:#286b57;color:#e2fff4;border-color:#78c4a8}
.g5ap-blueprint-rotate{background:linear-gradient(145deg,#dceeff,#eef6ff)}.g5ap-blueprint-rotate .g5ap-visual{grid-template-columns:1fr 1fr;gap:30px;background:#0d5270;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:20px 20px}.g5ap-blueprint-target,.g5ap-blueprint-card{display:grid;place-items:center;gap:9px;min-width:240px;min-height:180px;color:#fff}.g5ap-blueprint-target{border:3px dashed #9fe7ff;border-radius:15px}.g5ap-blueprint-card{background:rgba(255,255,255,.12);box-shadow:none}.g5ap-blueprint-rotate i{background:rgba(127,223,255,.24);border-color:#a7eaff}.g5ap-blueprint-card .turning{transform:scale(.72)}
.g5ap-bridge-gallery{background:linear-gradient(145deg,#e7f3f6,#d6e2e7)}.g5ap-bridge-gallery .g5ap-visual{grid-template-rows:1fr auto;background:linear-gradient(#b9d8e2 0 60%,#6d7880 60%)}.g5ap-scroll-map{width:92%;overflow-x:auto;padding:12px 0 26px;scrollbar-color:#e5a64b #dbe8ec}.g5ap-long-strip{position:relative;width:max-content;padding:20px 14px 12px;border:7px solid #5d6970;background:#e9b85d;box-shadow:0 14px 0 #45525a}.g5ap-long-strip .g5ap-rect{grid-template-columns:repeat(36,18px)}.g5ap-long-strip .g5ap-rect i{width:18px;height:22px;background:#f4d187}.g5ap-long-strip b{display:block;margin-top:5px}.g5ap-minimap{position:absolute;left:6%;right:6%;bottom:42px;height:10px;border-radius:10px;background:#d2e4e9}.g5ap-minimap i{position:absolute;width:20%;height:100%;border-radius:10px;background:#dd8f2f}.g5ap-bridge-known{display:flex;gap:7px;padding:7px;flex-wrap:wrap;justify-content:center}.g5ap-bridge-known span{padding:5px 9px;border-radius:8px;background:#fff;font-weight:900}
.g5ap-tailor-fold{background:linear-gradient(145deg,#fff1e8,#f5d9d3)}.g5ap-tailor-fold .g5ap-visual{background:#8c593f;background-image:linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:22px}.g5ap-tape{position:relative;display:grid;grid-template-columns:auto repeat(20,1fr) auto;align-items:end;width:86%;height:72px;padding:15px;border-radius:9px;background:#fff5bd;box-shadow:0 13px 0 #cfb766;transform:rotate(-2deg)}.g5ap-tape i{height:36px;border-right:2px solid #795e32}.g5ap-tape i:nth-of-type(5n){height:52px}.g5ap-tape i.blue{background:#bce6e6}.g5ap-tape i.coral{background:#f3a6a0}.g5ap-tape b{position:absolute;left:36%;bottom:-45px;padding:7px 12px;border-radius:9px;background:#fff;color:#6a412f}
.g5ap-glass-slider{background:linear-gradient(145deg,#ddf3f8,#d5e4f3)}.g5ap-glass-slider .g5ap-visual{grid-template-columns:1fr 130px;background:linear-gradient(#d8f1f8,#83b9cb)}.g5ap-glass-frame{position:relative;width:calc(38px * var(--w));max-width:440px;height:calc(28px * var(--h));max-height:180px;border:9px solid #315b6d;background:repeating-linear-gradient(135deg,rgba(255,255,255,.45) 0 8px,rgba(100,189,214,.16) 8px 16px);box-shadow:13px 14px 0 rgba(49,91,109,.35);transition:.25s}.g5ap-glass-frame b,.g5ap-glass-frame span{position:absolute;padding:4px 8px;border-radius:8px;background:#fff;color:#245065;font-weight:900}.g5ap-glass-frame b{left:8px;top:8px}.g5ap-glass-frame span{right:8px;bottom:8px}.g5ap-visited-dots{display:grid;gap:6px}.g5ap-visited-dots i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f1f4;color:#78909a;font-style:normal;font-weight:900}.g5ap-visited-dots i.on{background:#47a37d;color:#fff}.g5ap-slider-row{position:relative;z-index:7;display:flex;justify-content:center;align-items:center;gap:12px}.g5ap-slider-row label{display:flex;align-items:center;gap:9px;padding:10px 15px;border-radius:13px;background:#fff;font-weight:900}.g5ap-slider-row input{width:260px;touch-action:pan-x}
.g5ap-cinema-screens{background:linear-gradient(180deg,#15223c,#384d70);color:#fff}.g5ap-cinema-screens .g5ap-visual{grid-template-columns:repeat(3,1fr);gap:14px;background:linear-gradient(#0d1325,#161d32)}.g5ap-cinema-screens .g5ap-visual button{display:grid;place-items:center;gap:6px;width:92%;height:78%;background:#151d32;color:#fff}.g5ap-cinema-screens .g5ap-visual button span{display:block;width:calc(17px * var(--w));max-width:92%;height:calc(15px * var(--h));max-height:145px;border:7px solid #f2d29a;background:linear-gradient(#adcfe1,#f0e6c7);box-shadow:0 0 22px rgba(242,210,154,.4)}.g5ap-cinema-screens small{color:#a9d9ed}
.g5ap-frame-factory{background:linear-gradient(145deg,#fff0d4,#e6edf0)}.g5ap-frame-factory .g5ap-visual{grid-template-rows:1fr auto;background:linear-gradient(#65747b 0 72%,#313c41 72%)}.g5ap-conveyor{display:flex;gap:8px;width:94%;overflow-x:auto;padding:18px 8px}.g5ap-conveyor span{flex:0 0 78px;display:grid;place-items:center;height:70px;border:8px solid #b88b51;background:#fff;color:#80633f;font-weight:900}.g5ap-conveyor span.made{border-color:#63a47f;color:#256a46;box-shadow:0 0 0 4px #bfe8d0}.g5ap-sum-badge{padding:7px 13px;border-radius:10px;background:#fff3b9;color:#5d4c20;font-weight:900}
.g5ap-nursery-pattern{background:linear-gradient(145deg,#e8f4da,#d5ebd0)}.g5ap-nursery-pattern .g5ap-visual{grid-template-columns:repeat(3,1fr);align-items:end;gap:14px;background:linear-gradient(#b9ddf0 0 42%,#8ab56b 42%)}.g5ap-nursery-pattern .g5ap-visual>div{display:grid;place-items:center;width:calc(21px * var(--w));max-width:92%;height:calc(15px * var(--h));min-height:78px;border:7px solid #735d3a;background:#7baa55;overflow:hidden}.g5ap-nursery-pattern span{display:block;font-size:10px;line-height:1;letter-spacing:3px;opacity:.85}.g5ap-nursery-pattern b{padding:4px 7px;background:rgba(255,255,255,.9);font-size:11px}.g5ap-nursery-pattern .orta{height:122px!important}.g5ap-nursery-pattern .çok{height:160px!important}
.g5ap-proof-scales{background:linear-gradient(145deg,#f4e9ff,#e3f3ef)}.g5ap-proof-scales .g5ap-visual{grid-template-columns:repeat(2,1fr);gap:18px}.g5ap-scale{display:grid;grid-template-columns:1fr 1fr;place-items:center;gap:8px;width:90%;height:82%;padding:12px;border:5px solid #7b68a6;border-radius:18px;background:#eee7ff}.g5ap-scale.perimeter{border-color:#458c77;background:#e3f6ee}.g5ap-scale>b,.g5ap-scale>small{grid-column:1/-1}.g5ap-scale .g5ap-rect{transform:scale(.65)}
.g5ap-post-sort{background:linear-gradient(145deg,#fff4d9,#dceaf4)}.g5ap-post-sort .g5ap-visual{grid-template-columns:1fr 1.5fr;background:linear-gradient(#d7e5eb 0 70%,#84959e 70%)}.g5ap-envelope{display:grid;place-items:center;width:240px;height:145px;background:#fff8df;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);box-shadow:0 15px 0 #baa978}.g5ap-envelope:before{content:"";position:absolute;width:120px;height:120px;border:3px solid #c5aa6a;transform:rotate(45deg);top:-70px}.g5ap-envelope b,.g5ap-envelope small{z-index:2}.g5ap-mailboxes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:96%}.g5ap-mailboxes button{min-height:120px;background:linear-gradient(#e36d5c 0 26%,#fff 26%);padding-top:38px}
.g5ap-pixel-studio{background:linear-gradient(145deg,#242a4c,#4d3f72);color:#fff}.g5ap-pixel-studio .g5ap-visual{grid-template-columns:1fr 180px;background:#151a31}.g5ap-pixel-canvas{display:grid;place-items:center;width:90%;height:82%;border:3px solid #596a9f;background-image:linear-gradient(#30395f 1px,transparent 1px),linear-gradient(90deg,#30395f 1px,transparent 1px);background-size:22px 22px}.g5ap-pixel-canvas .g5ap-rect{grid-template-columns:repeat(var(--cols),22px);grid-template-rows:repeat(var(--rows),22px)}.g5ap-pixel-canvas i{background:#ef6e97;border-color:#ffb0c8;box-shadow:0 0 8px #f15b8a}.g5ap-pixel-readout{display:grid;gap:8px;padding:15px;border-radius:14px;background:#262e51;color:#b8f3ed}.g5ap-pixel-readout b{font-size:25px}.g5ap-dimension-controls{position:relative;z-index:7;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.g5ap-dimension-controls>div{display:flex;align-items:center;gap:6px;padding:5px;border-radius:12px;background:#fff;color:#26304f}.g5ap-dimension-controls button{min-width:48px;padding:5px}.g5ap-dimension-controls>[data-g5ap-pixel-check]{background:#ffe39a;color:#4a3d18}
.g5ap-final-analyzer{background:linear-gradient(145deg,#e8edf2,#cddae1)}.g5ap-final-analyzer .g5ap-visual{background:linear-gradient(#263944,#101e25);border:10px solid #657984}.g5ap-machine{position:relative;display:grid;grid-template-columns:1fr 1fr;place-items:center;width:460px;max-width:82%;height:190px;border:10px solid #778c98;border-radius:28px;background:linear-gradient(135deg,#253d4a,#172a33);box-shadow:0 16px 0 #0e1b21;color:#d6f4f2}.g5ap-machine span,.g5ap-machine strong{padding:12px;border:2px solid #6eaeb1;border-radius:12px;background:#0f252d;font-size:20px}.g5ap-machine i{position:absolute;bottom:14px;width:70%;height:12px;border-radius:9px;background:linear-gradient(90deg,#58c3a0 50%,#e3a348 50%);animation:g5apScan 3s ease-in-out infinite}@keyframes g5apScan{50%{transform:scaleX(.3)}}
.g5ap-alternate{position:absolute;z-index:25;inset:10% 6% 6%;display:grid;grid-template-columns:130px 1fr;grid-template-rows:auto 1fr auto auto;align-items:center;gap:10px 17px;padding:17px;border:3px solid #de9a3e;border-radius:22px;background:rgba(255,251,239,.99);box-shadow:0 18px 44px rgba(45,66,78,.25);color:#60401f;overflow:auto}.g5ap-alternate small{grid-column:1/-1;font-weight:950;letter-spacing:.08em}.g5ap-alternate h3{margin:0;font-size:clamp(14px,1.7vw,21px);line-height:1.25}.g5ap-alternate p{grid-column:1/-1;margin:0;font-weight:800}.g5ap-alternate>button{grid-column:1/-1;justify-self:center;min-height:48px;padding:8px 15px;border:2px solid #cc8124;border-radius:13px;background:#fff;color:#644018;font-weight:900;cursor:pointer}.g5ap-alt-bars{display:flex;align-items:end;gap:7px;height:100px}.g5ap-alt-bars i{width:20px;background:#6bb9ad}.g5ap-alt-bars i:nth-child(1){height:25%}.g5ap-alt-bars i:nth-child(2){height:50%}.g5ap-alt-bars i:nth-child(3){height:75%}.g5ap-alt-bars i:nth-child(4){height:100%}.g5ap-finish{min-width:170px}
.g5ap-blueprint-stack{position:relative;display:grid;place-items:center;width:215px;height:105px}.g5ap-blueprint-stack .g5ap-rect{position:absolute}.g5ap-blueprint-target.proved{border-style:solid;border-color:#b9ffe1;background:rgba(55,184,139,.18);box-shadow:inset 0 0 0 4px rgba(185,255,225,.16)}.g5ap-blueprint-target.proved .ghost i{background:rgba(127,223,255,.16);border-color:#a7eaff}.g5ap-blueprint-target.proved .overlay{transform:rotate(90deg);z-index:2;filter:drop-shadow(0 0 7px #ffda71)}.g5ap-blueprint-target.proved .overlay i{background:rgba(255,207,95,.44);border-color:#ffe69c}.g5ap-blueprint-card.placed{border:2px solid rgba(185,255,225,.65);border-radius:15px;background:rgba(255,255,255,.08)}.g5ap-blueprint-card.placed span{font-size:58px;color:#ffe18a}.g5ap-alt-model{position:relative;display:grid;place-items:center;align-content:center;gap:7px;width:130px;height:116px;padding:7px;border:2px solid #d49a4f;border-radius:16px;background:#fff8e7;box-sizing:border-box;overflow:hidden}.g5ap-alt-model b,.g5ap-alt-model span,.g5ap-alt-model strong,.g5ap-alt-model i{font-style:normal;text-align:center}.g5ap-alt-model b,.g5ap-alt-model span{font-size:9px;line-height:1.15}.g5ap-alt-dots{display:grid;grid-template-columns:repeat(6,12px);gap:4px}.g5ap-alt-dots i{display:block;width:12px;height:12px;border-radius:50%;background:#50aa9b;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}.alt-counter-trays .g5ap-alt-dots{grid-template-columns:repeat(4,12px)}.alt-counter-trays>span{position:absolute;left:7px;right:7px;height:2px;background:#d49a4f}.alt-counter-trays>span:nth-of-type(1){top:41px}.alt-counter-trays>span:nth-of-type(2){top:77px}.alt-border-ribbons{grid-template-columns:1fr 1fr}.alt-border-ribbons i{display:block;border:5px solid #5db8b0;background:#e9fbf6}.alt-border-ribbons .wide{width:48px;height:21px}.alt-border-ribbons .compact{width:34px;height:32px;border-color:#df835f}.alt-border-ribbons b{grid-column:1/-1}.alt-factor-doors,.alt-factor-tree{grid-template-columns:repeat(2,1fr)}.alt-factor-doors strong,.alt-factor-tree strong{grid-column:1/-1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#5d556f;color:#fff}.alt-factor-doors span,.alt-factor-tree span{padding:5px;border-radius:7px;background:#efe5d2;font-weight:900}.alt-rotation-proof i{position:absolute;width:74px;height:34px;border:5px solid #57aabd;background:rgba(87,170,189,.13)}.alt-rotation-proof i:nth-child(2){transform:rotate(90deg);border-color:#e5a34c}.alt-rotation-proof b{position:absolute;bottom:8px}.alt-half-rope .g5ap-alt-dots,.alt-half-necklace .g5ap-alt-dots{grid-template-columns:repeat(10,8px);gap:2px}.alt-half-rope .g5ap-alt-dots i,.alt-half-necklace .g5ap-alt-dots i{width:8px;height:8px}.alt-half-rope .g5ap-alt-dots i:nth-child(n+11){background:#e5866d}.alt-half-rope .fold-mark{padding:4px;border-top:2px dashed #8d5c34}.alt-sum-rail{grid-template-columns:1fr 18px 1fr}.alt-sum-rail i{width:16px;height:70px;border-radius:9px;background:linear-gradient(#58b6a8 0 50%,#e49a55 50%)}.alt-sum-rail strong{grid-column:1/-1}.alt-equal-loops{grid-template-columns:1fr 1fr}.alt-equal-loops i{display:block;border:5px solid #5ca8b1;background:#e8f8f8}.alt-equal-loops .long{width:47px;height:21px}.alt-equal-loops .square{width:31px;height:31px;border-color:#d98562}.alt-equal-loops b{grid-column:1/-1}.alt-half-necklace span{font-size:8px}.alt-balance-pan{grid-template-columns:repeat(3,1fr)}.alt-balance-pan i{display:block;border:4px solid #5fa986;background:#dff2df}.alt-balance-pan i:nth-child(1){width:46px;height:20px}.alt-balance-pan i:nth-child(2){width:34px;height:29px}.alt-balance-pan i:nth-child(3){width:27px;height:34px}.alt-balance-pan b{grid-column:1/-1}.alt-two-machines{grid-template-columns:1fr 1fr}.alt-two-machines span,.alt-filter-funnels span{display:grid;gap:4px;padding:7px;border:2px solid #7f70ad;border-radius:10px;background:#f0ebff}.alt-two-machines small,.alt-filter-funnels small{font-size:7px;letter-spacing:0}.alt-envelope-check{grid-template-columns:1fr 1fr}.alt-envelope-check i{font-size:8px;line-height:1.5;padding:6px 3px;border:2px solid #d0a24d;background:#fffdf4}.alt-double-condition span{width:100%;padding:6px;border-radius:7px;background:#ece5f7;font-weight:950}.alt-double-condition b{font-size:8px}.alt-filter-funnels{grid-template-columns:1fr 1fr}.alt-filter-funnels span{border-color:#508e89;background:#e7f7f3}
@media(max-width:700px){.grade5-area-perimeter-board{overflow-y:auto;overflow-x:hidden}.g5ap-scene{min-height:100%;padding:9px 7px 8px;border-radius:18px;overflow-y:auto;overflow-x:hidden}.g5ap-scene h2{margin:4px auto 6px;font-size:16px;max-width:98%}.g5ap-scene .board-kicker{font-size:8px;padding:4px 7px}.g5ap-visual{width:100%;height:228px;margin-bottom:6px;border-radius:15px}.g5ap-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.g5ap-choice-row button{width:100%;min-height:46px;padding:6px 4px;font-size:11px}.g5ap-result{position:relative;left:auto;right:auto;bottom:auto;margin:6px auto 0;padding:8px;font-size:10px}.g5ap-rect{grid-template-columns:repeat(var(--cols),minmax(4px,14px));grid-template-rows:repeat(var(--rows),minmax(4px,14px));gap:1px}.g5ap-loom .g5ap-visual{grid-template-columns:78px 23px 1fr;border-width:5px}.g5ap-rug-options{gap:3px}.g5ap-rug-options button{min-height:120px;padding:2px}.g5ap-rug-options b,.g5ap-rug-source b{font-size:8px}.g5ap-thread-arrow{font-size:20px}.g5ap-shape-press .g5ap-visual{grid-template-columns:1fr 90px;border-width:5px}.g5ap-press-meter{padding:6px}.g5ap-press-meter strong{font-size:16px}.g5ap-neon-border .g5ap-visual{gap:5px}.g5ap-neon-border .g5ap-visual b{font-size:9px}.g5ap-factor-vault .g5ap-visual{grid-template-columns:100px 1fr;border-width:6px}.g5ap-vault-core{width:70px;height:70px;border-width:7px;font-size:24px}.g5ap-vault-slots{gap:3px}.g5ap-vault-slots span{min-height:55px;font-size:9px}.g5ap-blueprint-rotate .g5ap-visual{gap:6px}.g5ap-blueprint-target,.g5ap-blueprint-card{min-width:0;width:92%;min-height:145px;padding:4px;font-size:9px}.g5ap-blueprint-stack{width:145px;height:78px;transform:scale(.78)}.g5ap-blueprint-card .turning{transform:scale(.58)}.g5ap-blueprint-card.placed span{font-size:38px}.g5ap-long-strip .g5ap-rect{grid-template-columns:repeat(36,12px)}.g5ap-long-strip .g5ap-rect i{width:12px;height:18px}.g5ap-tape{width:92%;height:60px;padding:8px}.g5ap-tape b{left:24%;bottom:-36px}.g5ap-glass-slider .g5ap-visual{grid-template-columns:1fr 48px}.g5ap-glass-frame{width:calc(24px * var(--w));height:calc(21px * var(--h));border-width:5px}.g5ap-glass-frame b,.g5ap-glass-frame span{font-size:8px;padding:2px}.g5ap-visited-dots i{width:26px;height:26px;font-size:10px}.g5ap-slider-row{gap:5px}.g5ap-slider-row label{padding:7px;font-size:10px}.g5ap-slider-row input{width:130px}.g5ap-slider-row button{font-size:10px;padding:5px}.g5ap-cinema-screens .g5ap-visual{gap:4px}.g5ap-cinema-screens .g5ap-visual button{padding:3px;font-size:9px}.g5ap-cinema-screens .g5ap-visual button span{width:calc(9px * var(--w));height:calc(9px * var(--h));border-width:4px}.g5ap-conveyor span{flex-basis:58px;height:54px;border-width:5px;font-size:9px}.g5ap-nursery-pattern .g5ap-visual{gap:4px}.g5ap-nursery-pattern .g5ap-visual>div{width:92%;border-width:4px}.g5ap-nursery-pattern span{font-size:7px}.g5ap-nursery-pattern b{font-size:8px}.g5ap-scale{width:95%;padding:4px;gap:2px;border-width:3px}.g5ap-scale b,.g5ap-scale small{font-size:8px}.g5ap-post-sort .g5ap-visual{grid-template-columns:92px 1fr}.g5ap-envelope{width:84px;height:100px;padding:3px}.g5ap-envelope b{font-size:9px}.g5ap-envelope small{font-size:7px}.g5ap-mailboxes{gap:3px}.g5ap-mailboxes button{min-height:110px;padding:32px 2px 3px;font-size:8px}.g5ap-pixel-studio .g5ap-visual{grid-template-columns:1fr 92px}.g5ap-pixel-canvas .g5ap-rect{grid-template-columns:repeat(var(--cols),16px);grid-template-rows:repeat(var(--rows),16px)}.g5ap-pixel-readout{padding:7px;font-size:9px}.g5ap-pixel-readout b{font-size:15px}.g5ap-dimension-controls{gap:4px}.g5ap-dimension-controls>div{font-size:9px}.g5ap-dimension-controls button{min-height:42px;min-width:42px;font-size:10px}.g5ap-machine{height:145px}.g5ap-machine span,.g5ap-machine strong{padding:7px;font-size:12px}.g5ap-alternate{inset:5% 2% 2%;grid-template-columns:82px 1fr;padding:9px;gap:6px}.g5ap-alternate h3{font-size:12px}.g5ap-alternate p{font-size:10px}.g5ap-alt-model{width:82px;height:82px;padding:4px;transform:none}.g5ap-alt-model b,.g5ap-alt-model span{font-size:7px}.g5ap-alt-dots{grid-template-columns:repeat(6,8px);gap:2px}.g5ap-alt-dots i{width:8px;height:8px}.alt-counter-trays .g5ap-alt-dots{grid-template-columns:repeat(4,8px)}.alt-counter-trays>span:nth-of-type(1){top:29px}.alt-counter-trays>span:nth-of-type(2){top:54px}.alt-factor-doors span,.alt-factor-tree span{font-size:6px;padding:3px}.alt-factor-doors strong,.alt-factor-tree strong{width:24px;height:24px;font-size:10px}.alt-rotation-proof i{width:49px;height:22px;border-width:3px}.alt-half-rope .g5ap-alt-dots,.alt-half-necklace .g5ap-alt-dots{grid-template-columns:repeat(10,5px);gap:1px}.alt-half-rope .g5ap-alt-dots i,.alt-half-necklace .g5ap-alt-dots i{width:5px;height:5px}.alt-sum-rail i{height:42px}.alt-envelope-check i{font-size:6px}.alt-double-condition span{padding:3px;font-size:7px}.alt-filter-funnels span{padding:3px}}
@media(max-height:730px) and (min-width:701px){.g5ap-scene{padding-top:8px}.g5ap-visual{height:238px}.g5ap-scene h2{font-size:20px;margin:3px auto 5px}.g5ap-choice-row button{min-height:46px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.g5ap-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.g5ap-machine i{transform:none}}

@media(max-width:700px){.g5ap-machine{width:88%;max-width:88%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0 5px;box-sizing:border-box}.g5ap-machine span,.g5ap-machine strong{max-width:96%;box-sizing:border-box;padding:5px 4px;font-size:10px;white-space:nowrap}.g5ap-mailboxes button{font-size:9px;line-height:1.05}}

/* MAT.5.4.4 · Dikdörtgenin alanı ve çevresi ile ilgili problemler */
.grade5-area-perimeter-problems-board{overflow:hidden;background:#edf4f5;border-color:#9fbfc5}.g5prob-scene{--ink:#153743;position:relative;width:100%;height:100%;box-sizing:border-box;padding:13px 17px 11px;border-radius:24px;overflow:hidden;color:var(--ink);background:#eef6f5}.g5prob-scene:after{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 8%,rgba(242,174,78,.18),transparent 29%)}.g5prob-scene .board-kicker{position:relative;z-index:4;display:block;width:max-content;max-width:94%;margin:auto;padding:5px 12px;border:1px solid rgba(36,94,105,.28);border-radius:999px;background:rgba(255,255,255,.94);color:#2b6875;font:900 10px/1.2 system-ui;letter-spacing:.075em;text-align:center}.g5prob-scene h2{position:relative;z-index:4;margin:5px auto 8px;max-width:96%;font-size:clamp(18px,2vw,26px);line-height:1.08;text-align:center}.g5prob-visual{position:relative;z-index:2;display:grid;place-items:center;width:min(96%,840px);height:clamp(194px,41vh,322px);margin:0 auto 8px;border:1px solid rgba(48,103,113,.26);border-radius:22px;background:rgba(255,255,255,.93);box-shadow:0 14px 30px rgba(20,63,72,.12);overflow:hidden}.g5prob-actions{position:relative;z-index:7;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:930px;margin:auto}.g5prob-actions button,.g5prob-posters button,.g5prob-tools button{min-width:48px;min-height:48px;box-sizing:border-box;border:2px solid #b8d1d6;border-radius:14px;background:#fff;color:#153743;font:850 clamp(13px,1.3vw,17px)/1.15 system-ui;padding:8px 13px;box-shadow:0 5px 0 #d0e1e4;cursor:pointer;touch-action:manipulation;transition:.16s}.g5prob-actions button:hover,.g5prob-actions button:focus-visible,.g5prob-posters button:hover,.g5prob-tools button:hover{outline:none;border-color:#dc963d;box-shadow:0 0 0 5px rgba(220,150,61,.2),0 5px 0 #e5c891;transform:translateY(-2px)}.g5prob-result{position:absolute;z-index:20;left:6%;right:6%;bottom:10px;padding:10px 14px;border:2px solid #5fa77d;border-radius:15px;background:rgba(239,255,245,.98);box-shadow:0 10px 24px rgba(36,107,67,.16);font-size:clamp(12px,1.18vw,16px);font-weight:850;text-align:center;color:#175d37}.g5prob-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(5px,16px));grid-template-rows:repeat(var(--rows),minmax(5px,16px));gap:1px}.g5prob-grid i{display:block;border:1px solid rgba(36,88,99,.5);background:#80c8be}
.g5prob-tablet{background:linear-gradient(145deg,#e4edf7,#d7e4e9)}.g5prob-tablet .g5prob-visual{grid-template-columns:1fr 190px;background:linear-gradient(160deg,#303942,#697884)}.g5prob-device{position:relative;width:380px;max-width:82%;height:210px;border:15px solid #17232a;border-radius:28px;background:linear-gradient(135deg,#8dc2d2,#d9eef2);box-shadow:13px 15px 0 #11191d;transform:perspective(800px) rotateX(4deg) rotateY(-7deg)}.g5prob-device .surface-target{position:absolute;z-index:2;inset:13px;display:grid;place-items:center;border:3px dashed #eafcff;border-radius:15px;color:#194b5a;font-weight:950}.g5prob-device .edge-target{position:absolute;z-index:3;inset:-9px;display:grid;place-items:end center;border:7px dashed #ffca72;border-radius:27px;color:#fff;font-size:10px;padding:4px}.g5prob-tools{display:grid;gap:11px}.g5prob-tools button,.g5prob-tools span{display:grid;place-items:center;min-height:62px;padding:8px;border-radius:12px;background:#fff;color:#314a53;font-weight:900}
.g5prob-cargo{background:linear-gradient(145deg,#e3edf2,#cbd8dd)}.g5prob-cargo .g5prob-visual{grid-template-columns:1fr 150px;background:linear-gradient(#bcd9e2 0 55%,#79888c 55%)}.g5prob-truck{position:relative;width:390px;max-width:78%;height:220px;border:10px solid #40535a;border-radius:14px;background:#e1eced;background-image:linear-gradient(rgba(75,111,120,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(75,111,120,.16) 1px,transparent 1px);background-size:40px 40px;box-shadow:14px 15px 0 #354449}.g5prob-truck>b,.g5prob-truck>span{position:absolute;padding:4px 8px;border-radius:8px;background:#fff;font-weight:950}.g5prob-truck>b{bottom:-35px;left:45%}.g5prob-truck>span{left:-48px;top:42%;transform:rotate(-90deg)}.g5prob-box{position:absolute;z-index:4;left:17%;top:25%;display:grid;place-items:center;width:260px;height:105px;border:7px solid #925c31;background:repeating-linear-gradient(135deg,#dca264 0 16px,#c78b50 16px 32px);box-shadow:8px 9px 0 rgba(70,50,35,.32);transition:.4s}.g5prob-box.turned{width:130px;height:195px}.g5prob-box.placed{left:4%;top:5%;filter:drop-shadow(0 0 8px #e46d57)}.g5prob-area-tags{display:grid;gap:10px}.g5prob-area-tags span{padding:10px;border-radius:10px;background:#fff;font-weight:900}
.g5prob-poster{background:linear-gradient(145deg,#fff1d6,#e7edf0)}.g5prob-poster .g5prob-visual{grid-template-columns:1.15fr 1fr;background:#775942;background-image:linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:22px}.g5prob-poster-target{display:grid;place-items:center;width:80%;height:78%;border:10px solid #c99d58;background:#f5ead3;box-shadow:10px 12px 0 rgba(38,28,20,.3)}.g5prob-poster-target .target i{background:rgba(77,163,165,.16)}.g5prob-posters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:96%}.g5prob-posters button{display:grid;place-items:center;gap:5px;min-width:0;min-height:145px;padding:4px}.g5prob-posters button:nth-child(2) i{background:#df8e6d}.g5prob-posters button:nth-child(3) i{background:#d3b35e}.g5prob-posters b{font-size:10px}
.g5prob-stamp-grid{background:linear-gradient(145deg,#f7eee0,#e8d7bc)}.g5prob-stamp-grid .g5prob-visual{grid-template-columns:1.4fr 130px 160px;background:#f8f0de;background-image:linear-gradient(#d9c9ab 1px,transparent 1px),linear-gradient(90deg,#d9c9ab 1px,transparent 1px);background-size:18px 18px}.g5prob-card-grid{display:grid;grid-template-columns:repeat(5,42px);grid-template-rows:repeat(4,40px);gap:3px;padding:12px;border:5px solid #785d3d;background:#fff}.g5prob-card-grid i{border:2px dashed #cab895;background:#f7f1e5}.g5prob-card-grid i.filled{background:#6db8a4;border-style:solid}.g5prob-stamp{display:grid;place-items:center;width:90px;height:70px;border:8px dotted #d87065;background:#fff5f0;transform:rotate(-5deg)}.g5prob-division{display:grid;gap:12px}.g5prob-division span{padding:9px;border-radius:9px;background:#fff;font-weight:950}
.g5prob-cookie{background:linear-gradient(145deg,#fff0dc,#ead3bc)}.g5prob-cookie .g5prob-visual{grid-template-columns:1fr 170px;background:linear-gradient(#f6e0c4,#c8915f)}.g5prob-tray{position:relative;width:470px;max-width:82%;height:210px;border:14px solid #6d7375;border-radius:29px;background:#b9c1c2;box-shadow:inset 0 0 0 7px #899294,12px 14px 0 #806142;overflow:visible}.g5prob-tray .cookie{position:absolute;display:grid;place-items:center;width:176px;height:78px;border:6px solid #9d612d;border-radius:24px;background:radial-gradient(circle at 25% 25%,#6e3c25 0 5px,transparent 6px),#d99b54;color:#5f321c;font-weight:950}.g5prob-tray .c0{left:18px;top:17px}.g5prob-tray .c1{left:210px;top:17px}.g5prob-tray .c2{left:18px;top:111px}.g5prob-tray .c3{left:210px;top:111px}.g5prob-tray .gap{position:absolute;right:2px;top:12px;bottom:12px;display:grid;place-items:center;width:54px;border:3px dashed #cf5757;background:rgba(255,223,223,.72);color:#9f3939;font-style:normal;font-weight:950;writing-mode:vertical-rl}.g5prob-chef-note{padding:16px;border-radius:13px;background:#fff;font:950 22px system-ui;transform:rotate(3deg)}
.g5prob-garden{background:linear-gradient(145deg,#e4f0d8,#cae2c0)}.g5prob-garden .g5prob-visual{grid-template-columns:1fr 210px;background:linear-gradient(#a8d9ef 0 42%,#7eb163 42%)}.g5prob-lawn{position:relative;width:420px;max-width:82%;height:210px;border:10px solid #825d37;background:repeating-linear-gradient(90deg,#66a64d 0 25px,#71b157 25px 50px);box-shadow:13px 14px 0 rgba(56,69,36,.3);transform:perspective(800px) rotateX(18deg)}.g5prob-lawn .grass{position:absolute;z-index:2;inset:20%;display:grid;place-items:center;background:rgba(222,255,203,.75);font-weight:950}.g5prob-lawn .fence{position:absolute;z-index:3;inset:-10px;display:grid;place-items:end center;border:8px dashed #714924;color:#fff;font-weight:950}.g5prob-lawn>b,.g5prob-lawn>i{position:absolute;padding:4px;background:#fff;font-style:normal}.g5prob-lawn>b{bottom:-35px;left:45%}.g5prob-lawn>i{left:-38px;top:43%;transform:rotate(-90deg)}.g5prob-invoice{display:grid;gap:7px;padding:13px;border-radius:12px;background:#fff;box-shadow:7px 8px 0 rgba(55,75,43,.22)}.g5prob-invoice span{padding:5px;border-bottom:1px dashed #b7c0a7;font-weight:850}
.g5prob-pool{background:linear-gradient(145deg,#d9eef3,#d7d1bf)}.g5prob-pool .g5prob-visual{grid-template-columns:1fr 150px;background:linear-gradient(#b9ddeb,#d6c7a9)}.g5prob-pool-deck{position:relative;display:grid;place-items:center;width:480px;max-width:82%;height:240px;border:8px solid #9c8868;background:repeating-linear-gradient(45deg,#d8c7a7 0 14px,#cab793 14px 28px);box-shadow:12px 14px 0 rgba(68,64,51,.25)}.g5prob-pool-deck .water{position:relative;z-index:1;display:grid;place-items:center;width:56%;height:52%;border:9px solid #eef8f8;background:repeating-linear-gradient(0deg,#4baac7 0 12px,#60bed8 12px 24px);color:#fff;font-weight:950;box-shadow:inset 0 0 22px #29768d}.g5prob-pool-deck>b{position:absolute;right:8px;bottom:8px;padding:5px;background:#fff}.g5prob-pool-cards{display:grid;gap:8px}.g5prob-pool-cards span{padding:9px;border-radius:9px;background:#fff;font-weight:900}
.g5prob-shelf{background:linear-gradient(145deg,#efe7dc,#dac8b2)}.g5prob-shelf .g5prob-visual{grid-template-columns:1fr 220px;background:linear-gradient(#ede3d5 0 72%,#9a7959 72%)}.g5prob-l-shape{position:relative;width:360px;height:230px;background:#bb8050;clip-path:polygon(0 0,100% 0,100% 65%,62% 65%,62% 100%,0 100%);box-shadow:10px 12px 0 #7f5435}.g5prob-l-shape:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(70,44,26,.2) 2px,transparent 2px),linear-gradient(90deg,rgba(70,44,26,.2) 2px,transparent 2px);background-size:45px 38px}.g5prob-l-shape.split:before{content:"";position:absolute;z-index:3;left:61%;top:0;bottom:35%;border-left:5px dashed #fff}.g5prob-l-shape b{position:absolute;z-index:4;left:8px;bottom:8px;padding:5px;background:#fff}.g5prob-method-cards{display:grid;gap:14px}.g5prob-method-cards span{padding:14px;border:3px solid #a5764b;border-radius:11px;background:#fff;font-weight:950}
.g5prob-tailor{background:linear-gradient(145deg,#f9dfdc,#e8c3c0)}.g5prob-tailor .g5prob-visual{grid-template-columns:1fr 1fr 150px;background:#8a563f;background-image:linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:20px}.g5prob-cloth{position:relative;width:250px;max-width:88%;height:190px;background:#e8958c;box-shadow:9px 10px 0 #653f31}.g5prob-cloth.corner{clip-path:polygon(0 0,78% 0,78% 22%,100% 22%,100% 100%,0 100%)}.g5prob-cloth.notch{clip-path:polygon(0 0,35% 0,35% 25%,65% 25%,65% 0,100% 0,100% 100%,0 100%)}.g5prob-cloth b{position:absolute;left:10px;bottom:9px;padding:5px;background:#fff}.g5prob-cloth i{position:absolute;inset:0;border:5px dashed #fff}.g5prob-edge-legend{display:grid;gap:9px}.g5prob-edge-legend span{padding:8px;border-radius:8px;background:#fff;font-weight:900}.g5prob-edge-legend span:first-child{color:#ad4545}.g5prob-edge-legend span:last-child{color:#347e59}
.g5prob-frame-wire{background:linear-gradient(145deg,#eee4d4,#d5c2a6)}.g5prob-frame-wire .g5prob-visual{grid-template-columns:1.4fr 1fr;background:linear-gradient(#d9c6a8,#8a6a4e)}.g5prob-wire{position:relative;display:flex;width:470px;max-width:82%;height:90px;border:8px solid #383f42;border-radius:50%;background:transparent}.g5prob-wire span{position:absolute;left:34%;top:27%;padding:8px;background:#fff;font-weight:950}.g5prob-wire i{width:50%;height:100%;box-sizing:border-box}.g5prob-wire .blue{border-bottom:8px solid #4e9fac}.g5prob-wire .gold{border-top:8px solid #e1a648}.g5prob-frame{display:grid;place-items:center;width:210px;height:155px;border:22px ridge #9c7144;background:#f5ead8;box-shadow:9px 10px 0 rgba(47,34,24,.25)}
.g5prob-architect{background:linear-gradient(145deg,#dce9ec,#c7d7dc)}.g5prob-architect .g5prob-visual{grid-template-columns:1fr 180px;background:#15506b;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:22px 22px}.g5prob-room-plan{position:relative;display:grid;place-items:center;width:390px;max-width:82%;height:225px;border:11px solid #f0d3a1;background:rgba(255,255,255,.14);color:#fff;box-shadow:11px 12px 0 #0d3749;transform:perspective(700px) rotateX(9deg) rotateZ(-2deg)}.g5prob-room-plan span,.g5prob-room-plan b,.g5prob-room-plan i{position:absolute;padding:6px;border-radius:7px;background:#fff;color:#184a60;font-style:normal}.g5prob-room-plan span{left:-34px;top:42%;transform:rotate(-90deg)}.g5prob-room-plan b{bottom:-35px}.g5prob-room-plan i{inset:34% 20%;display:grid;place-items:center}.g5prob-blueprint-equation{padding:18px;border-radius:12px;background:#0d3446;color:#c8f2ee;font:950 24px system-ui}
.g5prob-property{background:linear-gradient(145deg,#e9eef5,#d6e0ed)}.g5prob-property .g5prob-visual{grid-template-columns:1.3fr 1fr;background:#eef3f8}.g5prob-property-table{display:grid;grid-template-columns:1fr 1fr;width:82%;border:5px solid #506779;border-radius:13px;overflow:hidden;box-shadow:10px 11px 0 #c0ccd5}.g5prob-property-table span,.g5prob-property-table b{padding:13px;border:1px solid #bdc9d2;background:#fff}.g5prob-property-table span{background:#dce8ef;font-weight:900}.g5prob-filter{display:grid;gap:14px}.g5prob-filter i{padding:15px;border:4px solid #7b6fa3;border-radius:13px;background:#f3efff;font:950 19px system-ui}
.g5prob-skate{background:linear-gradient(145deg,#e6e9ed,#cfd6dc)}.g5prob-skate .g5prob-visual{grid-template-columns:1.2fr 1fr;gap:25px;background:linear-gradient(#b9d9e3 0 45%,#777f82 45%)}.g5prob-skate-plan{position:relative;display:grid;place-items:center;border:10px solid #556169;background:repeating-linear-gradient(135deg,#b8c4c8 0 12px,#a5b1b5 12px 24px);box-shadow:11px 12px 0 #455055}.g5prob-skate-plan.wide{width:390px;height:190px}.g5prob-skate-plan.compact{width:300px;height:230px}.g5prob-skate-plan span,.g5prob-skate-plan b,.g5prob-skate-plan i{padding:7px;border-radius:8px;background:#fff;font-style:normal;font-weight:950}.g5prob-skate-plan i{position:absolute;right:7px;bottom:7px}.g5prob-skate-plan b{position:absolute;left:7px;bottom:7px}
.g5prob-tiles{background:linear-gradient(145deg,#fff0e2,#e7d7ca)}.g5prob-tiles .g5prob-visual{grid-template-columns:1fr 180px;background:linear-gradient(#f3e3d5 0 78%,#a8876e 78%)}.g5prob-tile-wall{position:relative;display:grid;grid-template-columns:repeat(3,110px);grid-template-rows:repeat(4,48px);gap:3px;width:450px;max-width:82%;height:220px;padding:8px;border:10px solid #7b624e;background:#f8f2eb;box-shadow:12px 13px 0 #775f4b;overflow:visible}.g5prob-tile-wall i{border:3px solid #ad6f60;background:linear-gradient(145deg,#f8c8b6,#e9a997)}.g5prob-tile-wall i:nth-child(n+13){display:none}.g5prob-tile-wall span{position:absolute;z-index:4;right:-4px;top:18px;bottom:18px;display:grid;place-items:center;width:83px;border:3px dashed #c84949;background:rgba(255,220,220,.9);font-size:11px;font-weight:950;writing-mode:vertical-rl}.g5prob-tile-wall.rotated{grid-template-columns:repeat(7,55px);grid-template-rows:repeat(2,88px)}.g5prob-tile-wall.rotated i:nth-child(n){display:block}.g5prob-tile-wall.rotated span{inset:auto 5px 5px 5px;width:auto;height:25px;writing-mode:horizontal-tb;border-color:#4aa06e;background:rgba(223,255,235,.92)}.g5prob-tile-note{padding:16px;border-radius:12px;background:#fff;font:950 20px system-ui}
.g5prob-fair{background:linear-gradient(145deg,#e4e5f4,#ccd2e8);color:#172a4b}.g5prob-fair .g5prob-visual{grid-template-columns:1fr 190px;background:linear-gradient(#657299 0 60%,#303850 60%)}.g5prob-booth{position:relative;display:grid;place-items:center;width:440px;max-width:82%;height:250px;border:12px solid #f1d48f;background:#dce4f1;background-image:linear-gradient(rgba(68,87,130,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(68,87,130,.15) 1px,transparent 1px);background-size:40px 40px;box-shadow:14px 15px 0 #252b40;transform:perspective(800px) rotateX(13deg)}.g5prob-booth>b{position:absolute;right:8px;bottom:8px;padding:5px;background:#fff}.g5prob-island{z-index:3;display:grid;place-items:center;width:70%;height:66%;border:7px dashed #7b6a9f;background:#ece8f8;font-weight:950}.g5prob-island.built{border-style:solid;border-color:#65a67e;background:#81c096;box-shadow:8px 9px 0 rgba(51,81,62,.3)}.g5prob-final-checks{display:grid;gap:10px}.g5prob-final-checks span{padding:9px;border:2px solid #aeb8d1;border-radius:9px;background:#fff;font-weight:900}.g5prob-final-checks span.done{border-color:#58a377;background:#e7f8ee;color:#236943}
.g5prob-alternate{position:absolute;z-index:25;inset:9% 6% 5%;display:grid;grid-template-columns:130px 1fr;grid-template-rows:auto 1fr auto auto;align-items:center;gap:10px 17px;padding:17px;border:3px solid #da933a;border-radius:22px;background:rgba(255,251,239,.99);box-shadow:0 18px 44px rgba(45,66,78,.25);color:#5f3d1c;overflow:auto}.g5prob-alternate small{grid-column:1/-1;font-weight:950;letter-spacing:.08em}.g5prob-alternate h3{margin:0;font-size:clamp(14px,1.65vw,21px);line-height:1.25}.g5prob-alternate p{grid-column:1/-1;margin:0;font-weight:800}.g5prob-alternate>button{grid-column:1/-1;justify-self:center;min-height:48px;padding:8px 15px;border:2px solid #c77d22;border-radius:13px;background:#fff;color:#623d18;font-weight:900;cursor:pointer}.g5prob-alt-model{position:relative;display:grid;place-items:center;align-content:center;gap:6px;width:130px;height:115px;padding:8px;border:2px solid #d49a4f;border-radius:16px;background:#fff8e8;box-sizing:border-box;overflow:hidden}.g5prob-alt-model i,.g5prob-alt-model span,.g5prob-alt-model b,.g5prob-alt-model strong{font-style:normal;text-align:center;font-size:9px}.alt-loop-paper i{width:72px;height:55px;border:6px solid #5e9faa}.alt-loop-paper span{position:absolute;width:42px;height:31px;background:#e7bd64}.alt-length-strips i{width:90px;height:10px;background:#5ba4ae}.alt-length-strips i:nth-child(2){width:62px;background:#df8c62}.alt-factor-gates{grid-template-columns:1fr 1fr}.alt-factor-gates strong{grid-column:1/-1;font-size:22px}.alt-factor-gates span{padding:8px;background:#eee5d3}.alt-row-column i:first-child{width:90px;border-top:9px dotted #5ca991}.alt-row-column i:nth-child(2){height:60px;border-left:9px dotted #df8b58}.alt-block-rail{grid-template-columns:1fr 1fr 20px}.alt-block-rail span{width:43px;height:55px;background:#d8904b}.alt-block-rail i{height:55px;background:#e7b6b0}.alt-paper-rope{grid-template-columns:1fr 20px 1fr}.alt-paper-rope span{display:grid;place-items:center;width:42px;height:42px;background:#6bb490}.alt-paper-rope span:last-child{border:6px solid #9b6d3b;background:transparent}.alt-acetates i{position:absolute;width:84px;height:68px;background:rgba(92,177,160,.48)}.alt-acetates i:nth-child(2){width:42px;height:32px;background:rgba(72,140,196,.7)}.alt-two-methods{grid-template-columns:1fr 1fr}.alt-two-methods i{width:44px;height:62px;background:#bd8352;clip-path:polygon(0 0,100% 0,100% 55%,55% 55%,55% 100%,0 100%)}.alt-edge-ledger{grid-template-columns:repeat(4,1fr)}.alt-edge-ledger i,.alt-edge-ledger span{display:grid;place-items:center;width:22px;height:55px;background:#dd7770;color:#fff}.alt-edge-ledger span{background:#64a982}.alt-folded-loop i{width:76px;height:55px;border:6px solid;border-color:#5da4ad #e0a34e}.alt-factor-strip i{width:90px;height:18px;background:repeating-linear-gradient(90deg,#62ad9b 0 13px,#fff 13px 15px)}.alt-double-filter{grid-template-columns:1fr 1fr}.alt-double-filter span{padding:12px 4px;border:4px solid #796ea2;border-radius:50%}.alt-two-ropes{grid-template-columns:1fr 1fr}.alt-two-ropes i{width:48px;height:24px;border:6px solid #5b9fa9}.alt-two-ropes i:nth-child(2){width:36px;height:36px;border-color:#d48a5b}.alt-two-ropes b{grid-column:1/-1}.alt-seventy-rail{grid-template-columns:repeat(4,1fr)}.alt-seventy-rail i{width:22px;height:58px;background:#d98458}.alt-seventy-rail span{width:14px;height:58px;background:#e7b9b4}.alt-three-checks{grid-template-columns:repeat(3,1fr)}.alt-three-checks span{display:grid;place-items:center;width:34px;height:50px;border:3px solid #5f9e92;border-radius:8px}.g5prob-finish{min-width:170px}
@media(max-width:700px){.grade5-area-perimeter-problems-board{overflow-y:auto;overflow-x:hidden}.g5prob-scene{min-height:100%;padding:8px 7px;border-radius:18px;overflow-y:auto;overflow-x:hidden}.g5prob-scene h2{margin:4px auto 6px;font-size:16px}.g5prob-scene .board-kicker{font-size:8px;padding:4px 7px}.g5prob-visual{width:100%;height:232px;margin-bottom:6px;border-radius:15px}.g5prob-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.g5prob-actions button{width:100%;min-height:46px;padding:6px 4px;font-size:11px}.g5prob-result{position:relative;left:auto;right:auto;bottom:auto;margin:6px auto 0;padding:8px;font-size:10px}.g5prob-tablet .g5prob-visual,.g5prob-cargo .g5prob-visual,.g5prob-cookie .g5prob-visual,.g5prob-garden .g5prob-visual,.g5prob-pool .g5prob-visual,.g5prob-shelf .g5prob-visual,.g5prob-frame-wire .g5prob-visual,.g5prob-architect .g5prob-visual,.g5prob-property .g5prob-visual,.g5prob-tiles .g5prob-visual,.g5prob-fair .g5prob-visual{grid-template-columns:1fr 82px;gap:4px}.g5prob-device{width:215px;height:135px;border-width:9px}.g5prob-tools{gap:4px}.g5prob-tools button,.g5prob-tools span{min-height:48px;padding:3px;font-size:8px}.g5prob-truck{width:225px;height:145px;border-width:6px}.g5prob-box{left:12%;top:27%;width:150px;height:65px;border-width:4px;font-size:8px}.g5prob-box.turned{width:75px;height:116px}.g5prob-area-tags span{padding:5px;font-size:8px}.g5prob-poster .g5prob-visual{grid-template-columns:110px 1fr}.g5prob-poster-target{border-width:5px}.g5prob-posters{gap:2px}.g5prob-posters button{min-height:110px;padding:2px}.g5prob-grid{grid-template-columns:repeat(var(--cols),minmax(3px,9px));grid-template-rows:repeat(var(--rows),minmax(3px,9px))}.g5prob-stamp-grid .g5prob-visual{grid-template-columns:1fr 60px 74px}.g5prob-card-grid{grid-template-columns:repeat(5,25px);grid-template-rows:repeat(4,24px);padding:5px}.g5prob-stamp{width:48px;height:42px;border-width:4px;font-size:8px}.g5prob-division span{padding:4px;font-size:8px}.g5prob-tray{width:225px;height:150px;border-width:8px}.g5prob-tray .cookie{width:82px;height:52px;border-width:4px;font-size:8px}.g5prob-tray .c0{left:8px;top:9px}.g5prob-tray .c1{left:98px;top:9px}.g5prob-tray .c2{left:8px;top:70px}.g5prob-tray .c3{left:98px;top:70px}.g5prob-tray .gap{width:29px;font-size:7px}.g5prob-chef-note,.g5prob-tile-note,.g5prob-blueprint-equation{padding:6px;font-size:10px}.g5prob-lawn{width:225px;height:145px;border-width:6px}.g5prob-invoice{padding:5px;font-size:8px}.g5prob-pool-deck{width:225px;height:150px;border-width:5px}.g5prob-pool-cards span{padding:4px;font-size:8px}.g5prob-l-shape{width:220px;height:155px}.g5prob-method-cards span{padding:6px;font-size:8px}.g5prob-tailor .g5prob-visual{grid-template-columns:1fr 1fr 65px;gap:4px}.g5prob-cloth{width:130px;height:140px}.g5prob-edge-legend span{padding:4px;font-size:7px}.g5prob-wire{width:220px;height:65px;border-width:5px}.g5prob-wire span{left:21%;font-size:8px;padding:4px}.g5prob-frame{width:82px;height:95px;border-width:12px;font-size:8px}.g5prob-room-plan{width:220px;height:145px;border-width:6px}.g5prob-property-table span,.g5prob-property-table b{padding:6px;font-size:8px}.g5prob-filter i{padding:7px;font-size:9px}.g5prob-skate .g5prob-visual{gap:6px}.g5prob-skate-plan.wide{width:200px;height:135px}.g5prob-skate-plan.compact{width:165px;height:155px}.g5prob-skate-plan span,.g5prob-skate-plan b,.g5prob-skate-plan i{padding:3px;font-size:7px}.g5prob-tile-wall{grid-template-columns:repeat(3,60px);grid-template-rows:repeat(4,34px);width:205px;height:165px;padding:4px;border-width:6px}.g5prob-tile-wall span{width:38px;font-size:6px}.g5prob-tile-wall.rotated{grid-template-columns:repeat(7,25px);grid-template-rows:repeat(2,60px)}.g5prob-booth{width:225px;height:155px;border-width:7px}.g5prob-final-checks span{padding:4px;font-size:7px}.g5prob-alternate{inset:5% 2% 2%;grid-template-columns:82px 1fr;padding:9px;gap:6px}.g5prob-alternate h3{font-size:12px}.g5prob-alternate p{font-size:10px}.g5prob-alt-model{width:82px;height:82px;transform:scale(.85)} }
@media(max-height:730px) and (min-width:701px){.g5prob-scene{padding-top:8px}.g5prob-visual{height:238px}.g5prob-scene h2{font-size:20px;margin:3px auto 5px}.g5prob-actions button{min-height:46px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.g5prob-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.g5prob-tray.pending .cookie.pile{left:50%;top:50%;width:180px;height:92px;transform:translate(-50%,-50%) rotate(-4deg);box-shadow:7px 7px 0 #c4874f,14px 14px 0 #ac7041;text-align:center;line-height:1.2}
@media(max-width:700px){.g5prob-tray.pending .cookie.pile{width:86px;height:58px;box-shadow:4px 4px 0 #c4874f,8px 8px 0 #ac7041}}
.g5prob-tablet .g5prob-visual{grid-template-columns:minmax(0,1fr) 110px;gap:8px}.g5prob-tablet .g5prob-device{width:300px;max-width:88%;height:190px}.g5prob-device .surface-target{z-index:4}.g5prob-device .edge-target{z-index:3}.g5prob-tablet .g5prob-tools{position:relative;z-index:6;width:102px}.g5prob-tablet .g5prob-tools button{min-width:0;width:100%;padding:6px;font-size:12px}
@media(max-width:700px){.g5prob-tablet .g5prob-visual{grid-template-columns:minmax(0,1fr) 76px}.g5prob-tablet .g5prob-device{width:205px;height:128px}.g5prob-tablet .g5prob-tools{width:70px}.g5prob-tablet .g5prob-tools button{font-size:8px}}
.g5prob-cargo .g5prob-truck{width:min(330px,78%);height:auto;aspect-ratio:5/3}.g5prob-cargo .g5prob-box{left:10%;top:16.666%;width:80%;height:66.666%;box-sizing:border-box}.g5prob-cargo .g5prob-box.upright{left:30%;top:-16.666%;width:40%;height:133.333%;filter:drop-shadow(0 0 8px #e46d57)}.g5prob-cargo .g5prob-box.turned{left:10%;top:16.666%;width:80%;height:66.666%}.g5prob-cargo .g5prob-box.placed{left:10%;top:16.666%;filter:drop-shadow(0 0 8px #55a67d)}
.g5prob-fair .g5prob-booth{width:350px;height:250px;aspect-ratio:7/5}.g5prob-island:not(.built){width:112px;height:112px;border-radius:50%;background:#ece8f8}.g5prob-island.built{width:85.714%;height:80%;border-radius:0}
@media(max-width:700px){.g5prob-cargo .g5prob-truck{width:min(225px,86%);height:auto}.g5prob-cargo .g5prob-box{left:10%;top:16.666%;width:80%;height:66.666%}.g5prob-cargo .g5prob-box.upright{left:30%;top:-16.666%;width:40%;height:133.333%}.g5prob-cargo .g5prob-box.turned,.g5prob-cargo .g5prob-box.placed{left:10%;top:16.666%;width:80%;height:66.666%}.g5prob-island:not(.built){width:80px;height:80px}}
.g5prob-fair .g5prob-visual{grid-template-columns:minmax(0,1fr) 105px;gap:6px}.g5prob-fair .g5prob-booth{width:min(300px,92%);height:auto;aspect-ratio:7/5}.g5prob-fair .g5prob-final-checks{width:98px;gap:6px}.g5prob-fair .g5prob-final-checks span{padding:6px 4px;font-size:10px}
@media(max-width:700px){.g5prob-fair .g5prob-visual{grid-template-columns:minmax(0,1fr) 76px;gap:3px}.g5prob-fair .g5prob-booth{width:min(220px,94%);height:auto}.g5prob-fair .g5prob-final-checks{width:72px;gap:3px}.g5prob-fair .g5prob-final-checks span{padding:4px 2px;font-size:7px}}
@media(max-width:700px){.g5prob-actions button{min-height:48px}}

/* 5. sınıf · MAT.5.3.1 · Temel geometrik çizimler */
.grade5-basic-geometry-board{--g5geo-ink:#17324d;--g5geo-cyan:#31d6dd;--g5geo-gold:#ffca5c;overflow:hidden}
.g5geo-scene{position:relative;min-height:480px;padding:clamp(18px,3vw,34px);border-radius:30px;overflow:hidden;isolation:isolate;color:#f8fbff}
.g5geo-scene h2{position:relative;z-index:3;max-width:720px;margin:8px auto 14px;text-align:center;font-size:clamp(1.35rem,3vw,2.25rem);line-height:1.12}
.g5geo-visual{position:relative;z-index:1;width:min(100%,900px);margin:0 auto;border:1px solid rgb(255 255 255/.18);border-radius:24px;overflow:hidden}
.g5geo-visual svg{display:block;width:100%;height:auto;min-height:250px}.g5geo-visual text{font:700 19px/1 system-ui,sans-serif;fill:currentColor;text-anchor:middle}
.g5geo-point{fill:var(--g5geo-gold);stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}.g5geo-label{fill:#fff!important;text-anchor:start!important;paint-order:stroke;stroke:rgb(18 38 63/.85);stroke-width:5px;stroke-linejoin:round}
.g5geo-actions{position:relative;z-index:4;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:min(100%,900px);margin:16px auto 0}
.g5geo-actions button,.g5geo-alternate button{min-height:52px;padding:11px 18px;border:1px solid rgb(255 255 255/.4);border-radius:16px;background:rgb(255 255 255/.94);color:#17324d;font:800 clamp(.9rem,2vw,1.05rem)/1.15 system-ui,sans-serif;box-shadow:0 8px 20px rgb(3 18 38/.18);touch-action:manipulation}
.g5geo-actions button:hover,.g5geo-actions button:focus-visible{transform:translateY(-2px);outline:3px solid var(--g5geo-gold);outline-offset:2px}
.g5geo-result{position:relative;z-index:4;max-width:850px;margin:14px auto 0;padding:12px 16px;border-radius:16px;background:#e8fff2;color:#17563c;font-weight:800;text-align:center}
.g5geo-observatory{background:radial-gradient(circle at 50% 10%,#294d82,#101b3d 68%,#080e25)}.g5geo-observatory .g5geo-visual{background:linear-gradient(#101d42,#1a3f66)}.g5geo-observatory .stars circle{fill:#fff5bf;filter:drop-shadow(0 0 7px #fff)}
.g5geo-target-ring{fill:rgb(49 214 221/.08);stroke:var(--g5geo-cyan);stroke-width:3;stroke-dasharray:9 8;transform-origin:382px 156px;animation:g5geoPulse 1.8s ease-in-out infinite}.g5geo-scale-note line{stroke:var(--g5geo-gold);stroke-width:4}
.g5geo-route{color:var(--g5geo-ink);background:linear-gradient(145deg,#f4e8ce,#d8eef1)}.g5geo-route .board-kicker{color:#426779}.g5geo-route .g5geo-visual{background:repeating-linear-gradient(0deg,#f9fcf8 0 31px,#dce9e6 32px)}
.g5geo-notation-lesson{position:relative;z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;width:min(100%,760px);margin:10px auto 0;padding:10px 14px;border:2px solid rgb(39 124 121/.3);border-radius:16px;background:rgb(255 255 255/.88);color:#17324d;box-shadow:0 8px 18px rgb(3 18 38/.12)}.g5geo-notation-lesson strong{font-size:1.25rem;color:#0e6668}.g5geo-notation-lesson span{font-weight:800}.g5geo-notation-lesson b{color:#bd6a2e}
.g5geo-segment{stroke:#186f85;stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke}.g5geo-straightedge rect{fill:rgb(240 197 92/.68);stroke:#9a7024;stroke-width:2}.g5geo-straightedge path{stroke:#8a6424;stroke-width:2;stroke-dasharray:12 8}.g5geo-straightedge.waiting{transform:translate(34px,48px) rotate(-4deg);transform-origin:center}
.g5geo-numbered-ruler rect{fill:rgb(177 230 220/.72);stroke:#277c79;stroke-width:2}.g5geo-numbered-ruler line{stroke:#24585f;stroke-width:2}.g5geo-numbered-ruler text{fill:#17324d;font-size:13px}
.g5geo-lighthouse{background:linear-gradient(#f4a45a 0 45%,#265b72 46% 100%)}.g5geo-lighthouse .g5geo-visual{background:linear-gradient(#ffd697 0 61%,#246179 62%)}.g5geo-lighthouse marker path,.g5geo-metro marker path,.g5geo-stage marker path{fill:var(--g5geo-gold)}
.g5geo-ray{stroke:#fff3ad;stroke-width:5;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px rgb(255 238 142/.6))}.g5geo-horizon{fill:none;stroke:rgb(255 255 255/.4);stroke-width:3}.g5geo-tower{fill:#f4f0df;stroke:#783d3c;stroke-width:3}
.g5geo-metro{background:linear-gradient(145deg,#172c48,#304e6c)}.g5geo-metro .g5geo-visual{background:repeating-linear-gradient(90deg,#223b59 0 90px,#284765 91px 96px)}.g5geo-line{stroke:#59e0da;stroke-width:5;vector-effect:non-scaling-stroke}.g5geo-mini-models line{stroke:#ffcf64;stroke-width:5}.g5geo-mini-models circle{fill:#ffcf64}.g5geo-mini-models text{fill:#fff;font-size:15px}
.g5geo-stage{background:radial-gradient(circle at 50% 58%,#31386f,#151729 70%)}.g5geo-stage .g5geo-visual{background:radial-gradient(circle at 50% 68%,rgb(255 220 121/.16),transparent 55%),#171a32}.g5geo-angle-arm{stroke:#68e4de;stroke-width:5;vector-effect:non-scaling-stroke}.g5geo-angle-arm.upper{stroke:#ffcf64}.g5geo-angle-arm.ready-rotate{transform-origin:380px 205px;animation:g5geoRotateCue 1.9s ease-in-out infinite alternate}.g5geo-angle-arc{fill:none;stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}.g5geo-final-ray line{stroke:#cf8bff;stroke-width:4}
.g5geo-alternate{position:absolute;inset:70px max(18px,8%) 18px;z-index:12;display:grid;place-items:center;align-content:center;gap:12px;padding:24px;border:2px solid rgb(255 255 255/.55);border-radius:24px;background:rgb(18 35 60/.96);color:#fff;text-align:center;box-shadow:0 20px 60px rgb(0 0 0/.45)}.g5geo-alternate p{max-width:660px;margin:0;font-size:clamp(1rem,2.2vw,1.25rem);font-weight:750;line-height:1.45}
.g5geo-alt-icon{position:relative;width:160px;height:74px}.g5geo-alt-icon i{position:absolute;left:10px;right:10px;top:35px;border-top:4px solid #5ee0db}.g5geo-alt-icon span,.g5geo-alt-icon b{position:absolute;top:27px;width:18px;height:18px;border-radius:50%;background:#ffcf64}.g5geo-alt-icon span{left:10px}.g5geo-alt-icon b{right:10px}
@keyframes g5geoPulse{50%{transform:scale(1.14);opacity:.62}}@keyframes g5geoRotateCue{to{transform:rotate(-9deg)}}
@media(max-width:680px){.g5geo-scene{min-height:450px;padding:15px 12px 18px;border-radius:22px}.g5geo-scene h2{min-height:2.25em;margin-bottom:10px}.g5geo-visual{border-radius:18px}.g5geo-visual svg{min-height:205px}.g5geo-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px}.g5geo-actions button{width:100%;min-height:50px;padding:9px 10px}.g5geo-alternate{inset:54px 10px 10px;padding:18px 14px}.g5geo-route .g5geo-straightedge.waiting{transform:translate(16px,34px) rotate(-4deg)}}
@media(prefers-reduced-motion:reduce){.g5geo-target-ring,.g5geo-angle-arm.ready-rotate{animation:none}}

/* 5. sınıf · MAT.5.3.1 · Çember */
.grade5-circle-board{--g5circle-ink:#123047;--g5circle-cyan:#38d9d3;--g5circle-gold:#ffd264;overflow:hidden}.g5circle-scene{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;min-height:480px;padding:clamp(18px,3vw,32px);border-radius:30px;overflow:hidden;color:#f7fbff}.g5circle-scene h2{position:relative;z-index:4;max-width:760px;margin:8px auto 12px;text-align:center;font-size:clamp(1.3rem,3vw,2.15rem);line-height:1.12}.g5circle-visual{position:relative;z-index:1;width:min(100%,900px);margin:0 auto;border:1px solid rgb(255 255 255/.22);border-radius:24px;overflow:hidden;box-shadow:0 18px 40px rgb(4 19 34/.2)}.g5circle-visual svg{display:block;width:100%;height:auto;min-height:260px}.g5circle-visual text{fill:currentColor;font:800 17px/1 system-ui,sans-serif;text-anchor:middle}.g5circle-visual line,.g5circle-visual path,.g5circle-visual circle{vector-effect:non-scaling-stroke}.g5circle-actions{position:relative;z-index:5;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:min(100%,860px);margin:13px auto 0}.g5circle-actions button,.g5circle-alternate button{min-height:52px;padding:10px 17px;border:2px solid rgb(255 255 255/.42);border-radius:16px;background:rgb(255 255 255/.95);color:var(--g5circle-ink);font:850 clamp(.84rem,2vw,1rem)/1.15 system-ui,sans-serif;box-shadow:0 8px 20px rgb(4 18 31/.2);touch-action:manipulation;cursor:pointer}.g5circle-actions button:hover,.g5circle-actions button:focus-visible{transform:translateY(-2px);outline:3px solid var(--g5circle-gold);outline-offset:2px}.g5circle-result{position:relative;z-index:5;max-width:840px;margin:12px auto 0;padding:11px 15px;border-radius:15px;background:#e6fff3;color:#15583e;font-weight:800;text-align:center}.g5circle-dot{fill:var(--g5circle-gold);stroke:#fff;stroke-width:3;filter:url(#g5circle-shadow)}.g5circle-orbit{fill:none;stroke-width:5}.g5circle-orbit.guide{stroke:rgb(255 255 255/.38);stroke-dasharray:11 9}.g5circle-orbit.traced{stroke:var(--g5circle-cyan);filter:drop-shadow(0 0 7px rgb(56 217 211/.6));stroke-dasharray:680;animation:g5circleTrace 2.4s ease-out both}
.g5circle-arm{stroke:#ffd264;stroke-width:4;stroke-linecap:round;transform-origin:400px 160px}.g5circle-outlier{fill:#ff866e;stroke:#fff;stroke-width:3}.g5circle-signal{background:radial-gradient(circle at 50% 42%,#315c86,#101d3b 70%)}.g5circle-signal .g5circle-visual{background:radial-gradient(circle at 50% 50%,rgb(56 217 211/.13),transparent 46%),#142b4d}.g5circle-signal .g5circle-arm{animation:g5circleSweep 4s linear infinite}.g5circle-compass{color:#15384c;background:linear-gradient(145deg,#d7edf0,#ffe3ad)}.g5circle-compass .board-kicker{color:#4a7180}.g5circle-compass .g5circle-visual{background:#f8faf5;color:#15384c}.g5circle-compass .g5circle-compass line{stroke:#315d68;stroke-width:3}.g5circle-compass .g5circle-compass path{fill:none;stroke:#234c5b;stroke-width:6}.g5circle-compass .g5circle-compass circle{fill:#ffd264;stroke:#315d68;stroke-width:3}.g5circle-compass .g5circle-compass.turning{transform-origin:center;animation:g5circleCompass 3.4s linear infinite}.g5circle-measure{stroke:#e7854e!important;stroke-width:3!important;stroke-dasharray:7 6}.g5circle-dimension line,.g5circle-dimension path{fill:none;stroke:#ffb45d;stroke-width:3;stroke-linecap:round}.g5circle-dimension text{fill:#fff4bf;font-size:18px}.g5circle-compass .g5circle-dimension text,.g5circle-gridlab .g5circle-dimension text{fill:#914d21}.g5circle-center-label{fill:#fff4bf!important;font-size:15px!important}.g5circle-radar{background:radial-gradient(circle at 50% 48%,#155f68,#10283f 72%)}.g5circle-radar .g5circle-visual{background:repeating-radial-gradient(circle at 50% 50%,rgb(81 235 211/.08) 0 30px,rgb(9 40 56/.05) 31px 60px),#0c3849}.g5circle-disk{fill:rgb(62 220 205/.08);stroke:none}.g5circle-radius{stroke:#ffd264;stroke-width:5}.g5circle-diameter{stroke:#73e7e1;stroke-width:6;stroke-linecap:round}.g5circle-chord{fill:none;stroke:#ed8090;stroke-width:4;stroke-linecap:round}.g5circle-chord.correct{stroke:#72ead1;stroke-width:6;filter:drop-shadow(0 0 6px rgb(114 234 209/.55))}
.g5circle-boundary{color:#173149;background:linear-gradient(145deg,#fff1cf,#cfe4ed)}.g5circle-boundary .board-kicker{color:#6e5b24}.g5circle-boundary .g5circle-visual{background:#eef7f4;color:#173149}.g5circle-zone{fill:transparent;stroke:#1c9da2;stroke-width:8;filter:drop-shadow(0 7px 7px rgb(27 88 99/.25))}.g5circle-zone.filled{fill:rgb(63 186 182/.38);stroke:#177c86}.g5circle-scanner{fill:rgb(255 199 83/.56);stroke:#dd8645;stroke-width:2;transition:opacity .5s ease}.g5circle-scanner.off{opacity:0}.g5circle-gridlab{color:#153647;background:linear-gradient(145deg,#d8ebee,#ffe6a9)}.g5circle-gridlab .board-kicker{color:#416477}.g5circle-gridlab .g5circle-visual{background:#f7fbf5;color:#153647}.g5circle-gridlab .g5circle-grid-surface{stroke:#7a9eb0;stroke-width:2}.g5circle-gridlab .g5circle-orbit.guide{stroke:#718ca0}.g5circle-gridlab .g5circle-orbit.traced{stroke:#147f8f}.g5circle-gridlab .g5circle-orbit.hidden{opacity:0}.g5circle-gridlab .g5circle-dot{fill:#e9904d}.g5circle-grid-target{cursor:pointer;touch-action:manipulation;outline:none}.g5circle-grid-target circle{fill:rgb(255 255 255/.9);stroke:#e9904d;stroke-width:4;filter:drop-shadow(0 5px 7px rgb(22 64 75/.28))}.g5circle-grid-target text{pointer-events:none;fill:#153647;font-size:20px}.g5circle-grid-target:focus circle,.g5circle-grid-target:hover circle{stroke:#147f8f;stroke-width:7}.g5circle-touch-note{grid-column:1/-1;margin:0;padding:10px 14px;border-radius:14px;background:rgb(255 255 255/.94);color:#153647;font-weight:850;text-align:center}.g5circle-alternate{position:absolute;inset:68px max(16px,7%) 16px;z-index:12;display:grid;place-items:center;align-content:center;gap:12px;padding:22px;border:2px solid rgb(255 255 255/.62);border-radius:24px;background:rgb(16 40 58/.97);color:#fff;text-align:center;box-shadow:0 22px 58px rgb(0 0 0/.44)}.g5circle-alternate p{max-width:660px;margin:0;font-size:clamp(1rem,2vw,1.22rem);font-weight:750;line-height:1.45}.g5circle-alt-orbit{position:relative;width:140px;height:100px;border:5px solid #41d6d1;border-radius:50%}.g5circle-alt-orbit i{position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:#ffd264}.g5circle-alt-orbit span{position:absolute;left:50%;top:50%;width:65px;border-top:4px solid #ffd264;transform-origin:left;transform:rotate(-35deg)}.g5circle-alt-orbit b{position:absolute;right:8px;top:18px;width:13px;height:13px;border-radius:50%;background:#ffd264}
@keyframes g5circleTrace{from{stroke-dashoffset:680}to{stroke-dashoffset:0}}@keyframes g5circleSweep{to{transform:rotate(360deg)}}@keyframes g5circleCompass{to{transform:rotate(360deg)}}
.grade5-circle-board .g5circle-radius.sweep{transform-origin:400px 160px;animation:g5circleSweep 4s linear infinite}
@media(max-width:680px){.g5circle-scene{min-height:450px;padding:12px 10px 15px;border-radius:22px}.g5circle-scene h2{min-height:2.2em;margin:5px auto 8px;font-size:1.05rem}.g5circle-visual{border-radius:17px}.g5circle-visual svg{min-height:210px}.g5circle-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px;margin-top:9px}.g5circle-actions button{width:100%;min-height:50px;padding:8px 7px;font-size:.72rem}.g5circle-result{margin-top:8px;padding:8px;font-size:.7rem}.g5circle-alternate{inset:52px 8px 8px;padding:14px 10px}.g5circle-alternate p{font-size:.84rem}.g5circle-alt-orbit{width:105px;height:75px}.g5circle-visual text{font-size:14px}}
@media(max-height:730px) and (min-width:681px){.g5circle-scene{min-height:430px;padding:11px 20px}.g5circle-visual svg{min-height:220px}.g5circle-scene h2{margin:3px auto 7px;font-size:1.45rem}.g5circle-actions{margin-top:8px}.g5circle-actions button{min-height:50px}}
@media(prefers-reduced-motion:reduce){.g5circle-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 5. sınıf · MAT.5.3.1 · Dikme */
.grade5-perpendicular-board{--g5perp-ink:#15344a;--g5perp-gold:#ffd466;overflow:hidden}.g5perp-scene{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;min-height:480px;padding:clamp(18px,3vw,32px);border-radius:30px;overflow:hidden;color:#f8fcff;background:linear-gradient(145deg,#123552,#1b6670)}.g5perp-scene h2{position:relative;z-index:4;max-width:820px;margin:8px auto 12px;text-align:center;font-size:clamp(1.3rem,3vw,2.1rem);line-height:1.12}.g5perp-visual{position:relative;z-index:1;width:min(100%,900px);margin:0 auto;border:1px solid rgb(255 255 255/.24);border-radius:24px;overflow:hidden;background:#eef8f7;color:var(--g5perp-ink);box-shadow:0 18px 40px rgb(3 22 36/.24)}.g5perp-visual svg{display:block;width:100%;height:auto;min-height:260px}.g5perp-visual text{fill:currentColor;font:800 17px/1 system-ui,sans-serif;text-anchor:middle}.g5perp-visual line,.g5perp-visual path,.g5perp-visual circle{vector-effect:non-scaling-stroke}.g5perp-actions{position:relative;z-index:5;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:min(100%,870px);margin:13px auto 0}.g5perp-actions button,.g5perp-alternate button{min-height:52px;padding:10px 17px;border:2px solid rgb(255 255 255/.45);border-radius:16px;background:rgb(255 255 255/.96);color:var(--g5perp-ink);font:850 clamp(.84rem,2vw,1rem)/1.15 system-ui,sans-serif;box-shadow:0 8px 20px rgb(4 18 31/.2);touch-action:manipulation;cursor:pointer}.g5perp-actions button:hover,.g5perp-actions button:focus-visible{transform:translateY(-2px);outline:3px solid var(--g5perp-gold);outline-offset:2px}.g5perp-result{position:relative;z-index:5;max-width:840px;margin:12px auto 0;padding:11px 15px;border-radius:15px;background:#e6fff3;color:#15583e;font-weight:800;text-align:center}.g5perp-main-line{stroke:#214d68;stroke-width:5;color:#214d68;stroke-linecap:round}.g5perp-point{fill:#ef765e;stroke:#fff;stroke-width:3;filter:drop-shadow(0 5px 5px rgb(18 48 64/.32))}.g5perp-candidate{cursor:pointer;outline:none}.g5perp-candidate line{stroke:#6c88a0;stroke-width:5;stroke-linecap:round}.g5perp-candidate circle{fill:#fff;stroke:#6c88a0;stroke-width:3}.g5perp-candidate:hover line,.g5perp-candidate:focus-visible line{stroke:#ef8e52;stroke-width:8;filter:drop-shadow(0 0 6px rgb(239 142 82/.55))}.g5perp-scan{fill:none;stroke:#f0a451;stroke-width:3;stroke-dasharray:7 7;transform-origin:380px 70px;animation:g5perpScan 2.8s ease-in-out infinite}.g5perp-perpendicular,.g5perp-final-line,.g5perp-model-steps line{stroke:#e67055;stroke-width:7;stroke-linecap:round}.g5perp-square-mark,.g5perp-model-steps path{fill:none;stroke:#e67055;stroke-width:4}.g5perp-pair{cursor:pointer;outline:none}.g5perp-pair line{stroke:#365f78;stroke-width:6;stroke-linecap:round}.g5perp-pair:hover line,.g5perp-pair:focus-visible line,.g5perp-pair.selected-cell line{stroke:#e8844e;stroke-width:9;filter:drop-shadow(0 0 5px rgb(232 132 78/.45))}.g5perp-corner-window path{fill:none;stroke:#f29c51;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.g5perp-corner-window.compare{animation:g5perpCorner 2.2s ease-in-out infinite}.g5perp-notation line{stroke:#274f69;stroke-width:5;stroke-linecap:round;color:#274f69}.g5perp-notation circle{fill:#ef765e;stroke:#fff;stroke-width:3}.g5perp-notation .g5perp-symbol-slot{fill:#e26f50;font-size:54px}.g5perp-target-guide{stroke:#73a7b5;stroke-width:3;stroke-dasharray:7 7}.g5perp-tool{outline:none}.g5perp-tool.interactive{cursor:grab;touch-action:none}.g5perp-tool.interactive:active{cursor:grabbing}.g5perp-set-square{fill:rgb(255 193 82/.72);stroke:#e47a3f;stroke-width:5;filter:drop-shadow(0 8px 7px rgb(17 47 63/.28))}.g5perp-right-mark{fill:none;stroke:#8c4c2e;stroke-width:5}.g5perp-rotate-handle{fill:#3ec7c2;stroke:#fff;stroke-width:4;cursor:crosshair}.g5perp-slide-handle{fill:rgb(255 255 255/.36);stroke:#fff;stroke-width:3;cursor:grab}.g5perp-tool-label{fill:#593725!important;font-size:15px!important;pointer-events:none}.g5perp-tool:focus-visible .g5perp-set-square{stroke:#1f9f9c;stroke-width:8}.g5perp-foot{cursor:pointer;outline:none}.g5perp-foot line{stroke:#7392a6;stroke-width:4;stroke-dasharray:7 6}.g5perp-foot circle{fill:#fff;stroke:#e1764d;stroke-width:4}.g5perp-foot:hover circle,.g5perp-foot:focus-visible circle{stroke:#169895;stroke-width:7}.g5perp-world-1{background:linear-gradient(145deg,#5e355f,#794c58)}.g5perp-world-2{background:linear-gradient(145deg,#2c5266,#76513f)}.g5perp-world-3{background:linear-gradient(145deg,#253b5f,#654374)}.g5perp-world-4{background:linear-gradient(145deg,#215a64,#42633a)}.g5perp-alternate{position:absolute;inset:68px max(16px,7%) 16px;z-index:12;display:grid;place-items:center;align-content:center;gap:12px;padding:22px;border:2px solid rgb(255 255 255/.62);border-radius:24px;background:rgb(16 40 58/.97);color:#fff;text-align:center;box-shadow:0 22px 58px rgb(0 0 0/.44)}.g5perp-alternate p{max-width:680px;margin:0;font-size:clamp(1rem,2vw,1.22rem);font-weight:750;line-height:1.45}.g5perp-alt-rings{position:relative;width:150px;height:110px}.g5perp-alt-rings i{position:absolute;left:50%;top:50%;border:3px solid #52d8cf;border-radius:50%;transform:translate(-50%,-50%)}.g5perp-alt-rings i:nth-child(1){width:36px;height:36px}.g5perp-alt-rings i:nth-child(2){width:76px;height:76px}.g5perp-alt-rings i:nth-child(3){width:116px;height:116px}.g5perp-alt-rings b{position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:50%;background:#ffd466;transform:translate(-50%,-50%)}
@keyframes g5perpScan{50%{transform:scale(1.06);opacity:.55}}@keyframes g5perpCorner{50%{transform:translate(150px,105px) scale(1.08)}}
@media(max-width:680px){.g5perp-scene{min-height:450px;padding:12px 10px 15px;border-radius:22px}.g5perp-scene h2{min-height:2.2em;margin:5px auto 8px;font-size:1.05rem}.g5perp-visual{border-radius:17px}.g5perp-visual svg{min-height:210px}.g5perp-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px;margin-top:9px}.g5perp-actions button{width:100%;min-height:50px;padding:8px 7px;font-size:.72rem}.g5perp-result{margin-top:8px;padding:8px;font-size:.7rem}.g5perp-alternate{inset:52px 8px 8px;padding:14px 10px}.g5perp-alternate p{font-size:.84rem}.g5perp-alt-rings{transform:scale(.78)}.g5perp-visual text{font-size:14px}.g5perp-rotate-handle,.g5perp-slide-handle{stroke-width:6}}
@media(max-height:730px) and (min-width:681px){.g5perp-scene{min-height:430px;padding:11px 20px}.g5perp-visual svg{min-height:220px}.g5perp-scene h2{margin:3px auto 7px;font-size:1.45rem}.g5perp-actions{margin-top:8px}.g5perp-actions button{min-height:50px}}
@media(prefers-reduced-motion:reduce){.g5perp-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.g5perp-pair-hit{fill:transparent;stroke:none!important;pointer-events:all;touch-action:manipulation}
.g5perp-visual:has([data-g5perp-tool]) svg{height:clamp(220px,40vh,330px);min-height:0}
.g5perp-scene .board-kicker{color:#d5eee9}
.g5perp-visual:has([data-g5perp-tool])>svg>text{font-size:36px;text-anchor:start}
.g5perp-tool-label{display:none}
.g5perp-construction .g5perp-visual:has([data-g5perp-tool]) svg{height:auto;min-height:220px}
.g5perp-construction .g5perp-rotate-handle,.g5perp-construction .g5perp-slide-handle{display:none}
.g5perp-model-stages{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:10px 0 0;padding:0;list-style:none;font-size:.86rem}
.g5perp-model-stages li{padding:7px 10px;border:1px solid #cbe0e7;border-radius:9px}
.g5perp-model-stages li.is-speaking{color:#203747;background:#ffd466;border-color:#ffd466}
.g5perp-model-stages li.is-done{border-color:#8ce5bd}
.g5perp-actions button:disabled{cursor:default;opacity:.55;transform:none;outline:none}
.g5perp-measurement .g5perp-candidate{pointer-events:none;cursor:default}
.g5perp-measurement .g5perp-candidate text,.g5perp-measurement [data-g5perp-measure-route] text{font-size:27px}
.g5perp-visual .g5perp-station-label{font-size:32px;text-anchor:start}
.g5perp-measurement .g5perp-visual svg{min-height:0;height:auto}
.g5perp-measure-baseline{stroke:#809aa7;stroke-width:2;stroke-dasharray:4 4}
.g5perp-measure-bar{stroke:#d57c42;stroke-width:6;stroke-linecap:round}
.g5perp-measurement .is-shortest .g5perp-measure-bar{stroke:#128275}
@media(min-width:721px) and (max-height:760px){
  .lesson-shell:has(.g5perp-construction) .lesson-avatar{height:160px;min-height:0}
  .lesson-shell:has(.g5perp-measurement) .lesson-avatar{height:160px;min-height:0}
  .lesson-shell:has(.g5perp-corner-lesson) .lesson-avatar{height:160px;min-height:0}
}
.g5perp-scene:has(.g5perp-result) .g5perp-actions{display:none}
.g5perp-actions:empty{display:none}
.g5perp-scene[data-g5perp-phase="13"] .g5perp-visual svg{height:350px;min-height:0}
.g5perp-candidate .g5perp-candidate-hit{fill:transparent;stroke:none;pointer-events:all}
.g5perp-scene:is([data-g5perp-phase="1"],[data-g5perp-phase="2"]) .g5perp-candidate text{font-size:30px;pointer-events:none}
.g5perp-scene:has(.g5perp-support-example) .g5perp-visual{pointer-events:none}
.g5perp-corner-inspect{display:flex;justify-content:center;gap:8px;margin-top:8px;width:100%}
.g5perp-corner-inspect button{min-height:44px;border:1px solid #9fbebf;border-radius:10px;padding:8px 12px;font-weight:750;color:#173f4c;background:#e3f4ef;cursor:pointer;touch-action:manipulation}
.g5perp-corner-lesson .g5perp-pair line{stroke-width:3}
.g5perp-corner-lesson .g5perp-pair text{font-size:28px}
.g5perp-corner-card path{fill:#ffc65d35;stroke:#b75e16;stroke-width:2;stroke-linejoin:round}
.g5perp-corner-card path+path{fill:none}
.g5perp-scene:has(.g5perp-support-example)>.g5perp-corner-inspect{grid-column:1}
.g5perp-precision-controls{display:flex;justify-content:center;gap:20px;width:100%;margin-top:8px}
.g5perp-precision-controls fieldset{border:0;padding:0;margin:0;text-align:center;display:grid;grid-template-columns:repeat(2,48px);gap:6px}
.g5perp-precision-controls legend{font-size:.75rem;margin-bottom:4px}
.g5perp-precision-controls button{min-width:44px;min-height:44px;border:1px solid #adc7d0;border-radius:10px;background:#f0f9fa;color:#15344a;font-size:1.45rem;font-weight:800;cursor:pointer;touch-action:manipulation}
.g5perp-support-example{box-sizing:border-box;position:relative;width:100%;margin-top:12px;padding:10px;border:1px solid #8ec2c7;border-radius:16px;background:#f7faf1;color:#15344a;text-align:center}
.g5perp-support-example h3{margin:0 0 4px;font-size:.95rem;line-height:1.2}
.g5perp-support-example svg{display:block;width:100%;height:175px;min-height:0}
.g5perp-support-example svg text{font:700 21px system-ui;fill:#15344a;text-anchor:middle}
.g5perp-support-example svg path,.g5perp-support-example svg line{fill:none;stroke:#35566e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.g5perp-support-example svg .g5perp-example-point{fill:#d45f44;stroke:#fff;stroke-width:2}
.g5perp-support-example svg .g5perp-example-arrow{fill:#35566e;stroke:none}
.g5perp-support-example svg .g5perp-example-route{stroke:#d77235;stroke-width:5}
.g5perp-support-example svg .route-1{stroke:#168b89}
.g5perp-support-example svg .g5perp-example-baseline{stroke:#8a9fac;stroke-width:2;stroke-dasharray:4 3}
.g5perp-support-example svg .g5perp-example-tool{fill:#ffcf77ba;stroke:#a96922}
.g5perp-support-example svg .g5perp-example-card>path:first-child{fill:#ffcf7744;stroke:#c27c23;stroke-width:4}
.g5perp-support-example svg .g5perp-example-corner{stroke:#aa5b28;stroke-width:2}
.g5perp-support-example [data-perp-support-part]{opacity:.4}
.g5perp-support-example [data-perp-support-part].is-speaking{opacity:1}
.g5perp-support-example p{font-size:.82rem;font-weight:750;line-height:1.2;margin:4px 0 8px;min-height:1.2em}
.g5perp-support-example>div{display:flex;justify-content:center;gap:8px}
.g5perp-support-example button{min-height:44px;padding:8px 12px;border:1px solid #789ba9;border-radius:10px;color:#15344a;background:#fff;font-weight:750;cursor:pointer;touch-action:manipulation}
.g5perp-support-example button:focus-visible,.g5perp-precision-controls button:focus-visible{outline:3px solid #ffc95b;outline-offset:2px}
@media(min-width:721px){
  .lesson-shell:has(.g5perp-support-example) .teaching-area{width:min(100%,780px)}
  .g5perp-scene:has(.g5perp-support-example){display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);column-gap:15px;align-content:center;align-items:start;min-height:430px;padding:14px 18px}
  .g5perp-scene:has(.g5perp-support-example)>h2,.g5perp-scene:has(.g5perp-support-example)>.board-kicker{grid-column:1/-1}
  .g5perp-scene:has(.g5perp-support-example)>.g5perp-visual,.g5perp-scene:has(.g5perp-support-example)>.g5perp-actions,.g5perp-scene:has(.g5perp-support-example)>.g5perp-precision-controls,.g5perp-scene:has(.g5perp-support-example)>.g5perp-model-stages{grid-column:1}
  .g5perp-support-example{grid-column:2;grid-row:2/span 4;margin:0;align-self:center}
  .g5perp-scene:has(.g5perp-support-example) .g5perp-visual svg{min-height:180px}
  .lesson-shell:has(.g5perp-support-example) .lesson-avatar{height:120px;min-height:0}
}
@media(max-width:680px){
  .g5perp-scene{min-height:0}
  .g5perp-scene:has(.g5perp-precision-controls):not(:has(.g5perp-support-example)){display:grid;grid-template-columns:minmax(0,1fr) 124px;gap:8px;align-items:end}
  .g5perp-scene:has(.g5perp-precision-controls):not(:has(.g5perp-support-example))>h2{display:none}
  .g5perp-scene:has(.g5perp-precision-controls)>.g5perp-visual{grid-column:1/-1}
  .g5perp-scene:has(.g5perp-precision-controls)>.g5perp-actions{margin:0;grid-template-columns:1fr}
  .g5perp-precision-controls{gap:8px;margin-top:0}
  .g5perp-precision-controls fieldset{grid-template-columns:repeat(2,44px);gap:4px}
  .g5perp-precision-controls legend{font-size:.68rem}
  .lesson-shell:has(.g5perp-precision-controls) .lesson-avatar{height:96px;min-height:0}
  .g5perp-scene .board-kicker{display:none}
  .g5perp-visual:has([data-g5perp-tool]) svg{height:clamp(220px,30vh,254px)}
  .g5perp-scene:has(.g5perp-result) .g5perp-result{font-size:.8rem;line-height:1.25}
  .g5perp-construction h2{min-height:0}
  .g5perp-construction .g5perp-visual:has([data-g5perp-tool]) svg{height:165px;min-height:165px}
  .g5perp-construction .g5perp-model-stages{font-size:.72rem;gap:5px}
  .g5perp-construction .g5perp-model-stages li{padding:6px 7px}
  .g5perp-construction:has(.g5perp-result) .g5perp-model-stages{display:none}
  .g5perp-scene h2{min-height:0;line-height:1.15}
  .g5perp-scene[data-g5perp-phase="13"] .g5perp-visual svg{height:260px}
  .g5perp-scene:is([data-g5perp-phase="3"],[data-g5perp-phase="5"]) .g5perp-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .g5perp-scene:is([data-g5perp-phase="3"],[data-g5perp-phase="5"]) .g5perp-actions:has(button:only-child){grid-template-columns:1fr}
  .g5perp-scene[data-g5perp-phase="3"] .g5perp-visual text,.g5perp-scene[data-g5perp-phase="5"] .g5perp-visual text,.g5perp-scene[data-g5perp-phase="13"] .g5perp-visual text{font-size:30px}
  .g5perp-visual .g5perp-foot text{font-size:26px}
  .g5perp-visual .g5perp-pair text{font-size:30px}
  .g5perp-support-example{margin-top:8px;padding:8px}
  .g5perp-support-example svg{height:100px}
  .g5perp-support-example svg text{font-size:30px}
  .g5perp-support-example h3{font-size:.8rem}
  .g5perp-support-example p{font-size:.76rem;margin:2px 0 5px}
  .g5perp-support-example button{font-size:.74rem;padding:5px 9px}
  .g5perp-scene:has(.g5perp-support-example) .g5perp-visual svg{height:110px;min-height:0}
  .g5perp-scene:has(.g5perp-support-example) .g5perp-model-stages{display:none}
  .g5perp-scene:has(.g5perp-support-example) .g5perp-precision-controls{display:none}
  .g5perp-scene:has(.g5perp-support-example) .g5perp-corner-inspect{display:none}
  .lesson-shell:has(.g5perp-support-example) #lesson-support-dock{display:none}
  .g5perp-scene:has(.g5perp-support-example){padding-top:8px;padding-bottom:10px}
  .g5perp-scene:has(.g5perp-support-example) .g5perp-corner-inspect button{font-size:.72rem;padding:6px}
  .g5perp-corner-inspect button{font-size:.8rem}
  .lesson-shell:has(.g5perp-support-example) .lesson-avatar{height:64px;min-height:0}
}
/* MAT.5.1.3 · Kesirleri Farklı Biçimlerde Temsil Etme */
.grade5-fraction-representations-board{--fr-ink:#173247;--fr-blue:#2e7ea1;--fr-cyan:#65c9d0;--fr-mint:#a9dfc4;--fr-yellow:#f6cc61;--fr-coral:#ef7e68;--fr-paper:#f9f4e8;background:linear-gradient(145deg,#e4f2ef 0%,#f8f2e7 48%,#dce9ef 100%);overflow:hidden;container-type:inline-size}
.g5fr-scene{position:relative;width:min(100%,980px);min-height:clamp(580px,72vh,760px);margin:auto;padding:clamp(22px,4vw,46px);color:var(--fr-ink);display:flex;flex-direction:column;align-items:center;gap:18px;isolation:isolate;box-sizing:border-box}
.g5fr-scene *{box-sizing:border-box}
.g5fr-scene>*{max-width:100%;min-width:0}
.g5fr-scene::before{content:"";position:absolute;inset:18px;border:1px solid rgba(23,50,71,.12);border-radius:30px;background:rgba(255,255,255,.48);box-shadow:0 24px 70px rgba(23,50,71,.12);z-index:-1}
.g5fr-scene h2{font-size:clamp(1.35rem,2.7vw,2.15rem);line-height:1.15;text-align:center;max-width:780px;margin:0}
.g5fr-visual{position:relative;width:100%;min-height:300px;display:grid;place-items:center;padding:18px}
.g5fr-actions,.g5fr-model-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:min(100%,820px)}
.g5fr-actions button,.g5fr-model-actions button,.g5fr-main-action{border:2px solid rgba(23,50,71,.15);border-radius:18px;background:#fff;color:var(--fr-ink);font:800 1rem/1.15 inherit;padding:14px 20px;min-width:108px;min-height:54px;box-shadow:0 8px 18px rgba(23,50,71,.1);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.g5fr-actions button:is(:hover,:focus-visible),.g5fr-model-actions button:is(:hover,:focus-visible),.g5fr-main-action:is(:hover,:focus-visible),.g5fr-alternate button:is(:hover,:focus-visible){transform:translateY(-3px);border-color:#ff9f43;outline:4px solid rgba(255,159,67,.58);outline-offset:2px;box-shadow:0 12px 24px rgba(255,159,67,.32)}
.g5fr-actions.long button{flex:1 1 210px}.g5fr-main-action{background:var(--fr-blue);color:#fff;border-color:transparent}
.g5fr-result{width:min(100%,800px);padding:14px 18px;border-radius:18px;background:#e5f6e9;border:2px solid #7bc491;color:#144e2c;font-weight:800;text-align:center;animation:g5fr-rise .42s ease both}
.g5fr-crates{display:grid;grid-template-columns:1fr 1fr .72fr;gap:16px;width:min(100%,760px)}
.g5fr-crates section{background:#ca9364;border:5px solid #875331;border-radius:14px;padding:13px;box-shadow:inset 0 -10px rgba(78,43,25,.18),0 14px 20px rgba(68,47,30,.16)}
.g5fr-crates section>b{display:block;color:#fff;font-size:.78rem;letter-spacing:.08em;text-align:center;margin-bottom:9px}.g5fr-crates section>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;min-height:72px}
.g5fr-crates .remainder>div{grid-template-columns:1fr}.g5fr-crates i,.g5fr-source-pieces i{display:grid;place-items:center;border-radius:10px;background:#e8dccb;color:transparent;border:2px dashed rgba(66,43,31,.24);font-style:normal;font-weight:900}
.g5fr-crates i.loaded{background:linear-gradient(145deg,var(--fr-yellow),#e7a944);color:#573710;border-style:solid;animation:g5fr-snap .45s cubic-bezier(.2,.9,.2,1.3) both}
.g5fr-source-pieces{display:flex;justify-content:center;gap:8px;width:100%;margin-top:22px}.g5fr-source-pieces i{flex:0 1 55px;min-width:0;height:55px;color:var(--fr-ink);background:#fff;transition:.3s;animation:g5fr-float 2.4s ease-in-out infinite;animation-delay:calc(var(--i)*-.14s)}.g5fr-source-pieces i.sent{opacity:.14;transform:translateY(-42px) scale(.7)}
.g5fr-packing-flight{position:fixed;z-index:10000;display:grid;place-items:center;margin:0;border:2px solid rgba(66,43,31,.24);border-radius:10px;background:#fff;color:#173247;font:900 .9rem/1 inherit;box-shadow:0 14px 24px rgba(23,50,71,.22);pointer-events:none;transform-origin:center}
.g5fr-division-machine{display:grid;grid-template-columns:minmax(52px,90px) minmax(58px,90px) minmax(105px,150px);grid-template-rows:auto auto;align-items:center;gap:14px;width:min(100%,420px);padding:24px;border-radius:28px;background:#213f50;color:#fff;box-shadow:0 18px 30px rgba(23,50,71,.22)}
.g5fr-division-machine span{grid-row:1/3;font-size:4rem;font-weight:900;color:var(--fr-yellow)}.g5fr-division-machine i{font-style:normal;font-size:1.8rem}.g5fr-division-machine strong,.g5fr-division-machine b{padding:10px;border-radius:10px;background:rgba(255,255,255,.12)}
.g5fr-mini-crates{display:flex;gap:10px;margin-top:20px}.g5fr-mini-crates i{padding:18px;border-radius:13px;background:#d19a67;color:#fff;font-style:normal;font-weight:900;animation:g5fr-rise .45s ease both}.g5fr-mini-crates i:last-child{width:55px}
.g5fr-roll-row{display:flex;gap:13px;align-items:end;width:min(100%,520px)}.g5fr-roll-row>span{display:flex;flex:1 1 0;min-width:0;height:66px;border:4px solid #3a7182;border-radius:34px;background:#93d5d2;overflow:hidden;box-shadow:0 10px 20px rgba(23,50,71,.16);transition:.5s}.g5fr-roll-row>span i{flex:1;border-right:2px solid rgba(255,255,255,.8)}.g5fr-roll-row>em{display:flex;flex:0 1 38px;min-width:24px;height:66px;border:4px solid #3a7182;border-radius:12px;background:#93d5d2}.g5fr-roll-row.opened>span{border-radius:8px;transform:translateY(-14px)}
.g5fr-piece-count{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:700px;margin-top:25px;font-size:1.5rem;font-weight:900}.g5fr-piece-count i{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:var(--fr-cyan);font-style:normal;font-size:.82rem;animation:g5fr-rise .35s ease both;animation-delay:calc(var(--i)*.025s)}
.g5fr-fifth-bars{display:grid;gap:10px;width:min(100%,620px)}.g5fr-fifth-bars span{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;height:58px;padding:5px;border:3px solid var(--fr-blue);border-radius:12px}.g5fr-fifth-bars i{border-radius:6px;background:#e7eceb}.g5fr-fifth-bars i.on{background:var(--fr-mint);animation:g5fr-fill .5s ease both}
.g5fr-transform-arrow{display:flex;align-items:center;gap:18px;margin-top:18px;font-size:1.55rem}.g5fr-transform-arrow i{font-style:normal;color:var(--fr-coral);font-size:2rem;animation:g5fr-sway 1.5s ease-in-out infinite}
.g5fr-tenths{display:grid;grid-template-columns:repeat(10,1fr);width:min(100%,680px);height:120px;border:4px solid var(--fr-ink);border-radius:18px;overflow:hidden;background:#fff}.g5fr-tenths i{border-right:2px solid #b9c8ce}.g5fr-tenths i.filled{background:linear-gradient(180deg,#79d2d9,#2e96ad);animation:g5fr-water .7s ease both}
.g5fr-fixed-amount,.g5fr-rail-labels,.g5fr-zero-tail{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:22px;font-size:clamp(1.35rem,3vw,2rem);font-weight:900}.g5fr-fixed-amount i{font-size:.9rem;font-style:normal;color:#54707d}.g5fr-fixed-amount b{min-width:80px;border-bottom:4px solid var(--fr-coral);text-align:center}
.g5fr-place-columns{display:flex;align-items:stretch;gap:10px;width:min(100%,465px)}.g5fr-place-columns section{display:grid;grid-template-rows:auto 1fr;place-items:center;flex:1 1 0;min-width:0;padding:12px;border-radius:20px;background:#fff;border:3px solid var(--fr-blue);box-shadow:0 12px 20px rgba(23,50,71,.1)}.g5fr-place-columns section small{font-weight:800;color:#557280;text-align:center;overflow-wrap:anywhere}.g5fr-place-columns section b{font-size:4rem}.g5fr-place-columns>i{align-self:end;font-style:normal;font-size:4rem;line-height:1;color:var(--fr-coral)}
.g5fr-place-pulse{display:flex;gap:10px;margin-top:20px}.g5fr-place-pulse span{padding:8px 12px;border-radius:99px;background:#e4f1f3;font-weight:800;animation:g5fr-pulse 1.8s ease-in-out infinite}.g5fr-place-pulse span:nth-child(2){animation-delay:.25s}.g5fr-place-pulse span:nth-child(3){animation-delay:.5s}
.g5fr-five-strip{display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,540px);height:62px;border:3px solid var(--fr-blue);border-radius:12px;overflow:hidden}.g5fr-five-strip i{border-right:2px solid #fff;background:#e7eceb}.g5fr-five-strip i.on{background:var(--fr-mint)}.g5fr-split-motion{margin:10px;color:var(--fr-coral);font-weight:900;font-size:1.35rem}.g5fr-split-motion span{font-size:.85rem;color:#557280;margin-left:8px}
.g5fr-rail-labels i,.g5fr-zero-tail i{font-style:normal;color:#7b9097}.g5fr-rail-labels em{font-style:normal;color:var(--fr-coral)}
.g5fr-hundred{position:relative;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(10,1fr);width:min(100%,330px);aspect-ratio:1;border:4px solid var(--fr-ink);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 15px 26px rgba(23,50,71,.12)}.g5fr-hundred i{border-right:1px solid #b8c7cc;border-bottom:1px solid #b8c7cc}.g5fr-hundred i.filled{background:var(--fr-coral);animation:g5fr-cell .35s ease both;animation-delay:calc(var(--cell)*4ms)}.g5fr-hundred>b{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.92);font-size:.78rem}
.g5fr-grid-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:18px;width:100%}.g5fr-grid-compare .g5fr-hundred:last-child{transform:scale(.82);opacity:.72}.g5fr-grid-compare .g5fr-hundred:last-child i.filled{background:#e3a84b}
.g5fr-mosaic-26 .g5fr-visual,.g5fr-maintenance .g5fr-visual,.g5fr-shade-75 .g5fr-visual{grid-template-columns:auto 1fr;gap:36px;max-width:760px}.g5fr-mosaic-equation,.g5fr-zero-tail{display:grid;grid-template-columns:1fr;place-items:center;gap:8px}.g5fr-mosaic-equation span,.g5fr-mosaic-equation b,.g5fr-mosaic-equation strong,.g5fr-zero-tail span,.g5fr-zero-tail b,.g5fr-zero-tail strong{padding:9px 18px;border-radius:12px;background:#fff;font-size:1.45rem}.g5fr-mosaic-equation i{font-style:normal;color:var(--fr-coral);font-weight:900}
.g5fr-fold-quarters{display:grid;grid-template-columns:repeat(2,90px);grid-template-rows:repeat(2,90px);border:4px solid var(--fr-ink);border-radius:50%;overflow:hidden;transform:rotate(15deg);box-shadow:0 14px 25px rgba(23,50,71,.15)}.g5fr-fold-quarters i{border:1px solid #fff;background:#edf0eb}.g5fr-fold-quarters i.on{background:var(--fr-yellow)}
.g5fr-half-disc{position:relative;width:250px;aspect-ratio:1;border-radius:50%;overflow:hidden;border:5px solid var(--fr-ink);background:#fff;box-shadow:0 16px 24px rgba(23,50,71,.14)}.g5fr-half-disc i{position:absolute;inset:0 50% 0 0;background:var(--fr-mint);animation:g5fr-half .8s ease both;transform-origin:left}.g5fr-half-disc b{position:absolute;inset:0;display:grid;place-items:end center;padding:28px;font-size:.8rem}.g5fr-label-orbit{position:absolute;inset:0;pointer-events:none}.g5fr-label-orbit span{position:absolute;padding:10px 18px;border-radius:99px;background:#fff;border:3px solid var(--fr-blue);font-weight:900;font-size:1.3rem;box-shadow:0 8px 16px rgba(23,50,71,.12)}.g5fr-label-orbit span:nth-child(1){left:12%;top:22%}.g5fr-label-orbit span:nth-child(2){right:12%;top:22%}.g5fr-label-orbit span:nth-child(3){left:50%;bottom:10%;transform:translateX(-50%)}
.g5fr-number-line{position:relative;width:min(100%,720px);height:150px;display:flex;align-items:center}.g5fr-number-line::before{content:"";position:absolute;left:40px;right:40px;top:74px;height:6px;border-radius:9px;background:var(--fr-ink)}.g5fr-number-line>span{z-index:1;font-weight:900;font-size:1.25rem}.g5fr-number-line>span:last-of-type{margin-left:auto}.g5fr-number-line>i{position:relative;flex:1;height:26px;border-left:3px solid var(--fr-ink);margin-top:1px;z-index:1}.g5fr-number-line>i.target{border-color:var(--fr-coral);height:54px}.g5fr-number-line i small{position:absolute;top:-28px;left:-16px;color:var(--fr-coral);font-weight:900}.g5fr-number-line>i.target>b{position:absolute;left:0;top:-57px;font-size:2rem;transform:translateX(-50%);animation:g5fr-tram 1.2s ease both}
.g5fr-model-card{display:grid!important;grid-template-rows:84px auto;place-items:center;gap:8px;flex:1 1 190px;max-width:235px}.g5fr-icon-line,.g5fr-icon-grid,.g5fr-icon-rolls{position:relative;display:block;width:130px;height:72px}.g5fr-icon-line::before{content:"";position:absolute;left:5px;right:5px;top:35px;height:4px;background:var(--fr-blue)}.g5fr-icon-line::after{content:"0        1";position:absolute;inset:auto 3px 0;font-size:.7rem;word-spacing:90px}.g5fr-icon-line i{position:absolute;left:60%;top:26px;width:15px;height:15px;border-radius:50%;background:var(--fr-coral)}.g5fr-icon-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:2px}.g5fr-icon-grid i{background:#dce7e7;border-radius:2px}.g5fr-icon-grid i.on{background:var(--fr-coral)}.g5fr-icon-rolls{display:flex;gap:5px;align-items:center}.g5fr-icon-rolls i{flex:1;height:52px;border-radius:18px;background:var(--fr-mint);border:2px solid var(--fr-blue)}
.g5fr-share-workshop{display:grid;gap:32px;width:min(100%,760px)}.roll-bank{display:flex;justify-content:center;gap:13px;width:100%}.roll-bank i{display:block;flex:1 1 0;min-width:0;max-width:120px;height:48px;border-radius:25px;background:repeating-linear-gradient(90deg,var(--fr-mint) 0 28px,#78bfa5 29px 31px);border:3px solid #397362;box-shadow:0 10px 15px rgba(23,50,71,.12);animation:g5fr-float 2s ease-in-out infinite}.roll-bank i:nth-child(even){animation-delay:-.7s}.table-bank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.table-bank section{height:90px;border-radius:10px 10px 22px 22px;background:#bd815b;border-top:12px solid #875331;color:#fff;display:grid;place-items:center}.table-bank section span{width:60%;border-top:5px dashed rgba(255,255,255,.55)}
.g5fr-final-context{width:min(100%,650px);height:160px;border-radius:26px;background:#fff;border:3px solid var(--fr-blue);display:grid;place-items:center;overflow:hidden}.g5fr-final-context span{display:block;width:80%;height:70px}.g5fr-final-context.route span{border-bottom:7px solid var(--fr-blue);background:radial-gradient(circle at 60% 91%,var(--fr-coral) 0 12px,transparent 13px)}.g5fr-final-context.surface span{background:repeating-linear-gradient(0deg,transparent 0 12px,#b7c6ca 13px),repeating-linear-gradient(90deg,var(--fr-yellow) 0 12px,#b7c6ca 13px)}.g5fr-final-context.share span{background:linear-gradient(90deg,var(--fr-mint) 0 30%,transparent 30% 35%,var(--fr-mint) 35% 65%,transparent 65% 70%,var(--fr-mint) 70%)}.g5fr-final-links{display:flex;gap:10px;margin-top:18px}.g5fr-final-links i{padding:8px;border-radius:8px;background:#e7eceb;font-style:normal;font-size:.75rem;font-weight:900}.g5fr-final-links i.linked{background:var(--fr-mint);animation:g5fr-snap .4s ease both}
.g5fr-alternate{position:absolute;inset:30px;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:clamp(22px,5vw,52px);border-radius:28px;background:rgba(245,250,247,.98);border:4px solid var(--fr-coral);box-shadow:0 30px 80px rgba(23,50,71,.28);text-align:center}.g5fr-alternate h3{max-width:700px;font-size:clamp(1.15rem,2.4vw,1.7rem);line-height:1.35}.g5fr-alternate button{padding:13px 22px;border:0;border-radius:99px;background:var(--fr-ink);color:#fff;font-weight:900}.g5fr-alt-motion{display:flex;gap:8px}.g5fr-alt-motion i{width:50px;height:50px;border-radius:12px;background:var(--fr-mint);animation:g5fr-alt 1.6s ease-in-out infinite}.g5fr-alt-motion i:nth-child(2){animation-delay:.18s}.g5fr-alt-motion i:nth-child(3){animation-delay:.36s}.g5fr-alt-motion span{width:8px;background:var(--fr-coral);border-radius:8px}.g5fr-independent-note{padding:11px 16px;border-radius:15px;background:#213f50;color:#fff;display:grid}.g5fr-independent-note small{opacity:.75}
@keyframes g5fr-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes g5fr-snap{0%{opacity:.2;transform:translateY(45px) scale(.7)}75%{transform:translateY(-4px) scale(1.06)}100%{opacity:1;transform:none}}@keyframes g5fr-float{50%{transform:translateY(-5px)}}@keyframes g5fr-sway{50%{transform:translateX(8px)}}@keyframes g5fr-fill{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1)}}@keyframes g5fr-water{from{transform:translateY(100%)}to{transform:none}}@keyframes g5fr-cell{from{opacity:0;transform:scale(.25)}to{opacity:1;transform:none}}@keyframes g5fr-pulse{50%{background:#c8eaeb;transform:translateY(-3px)}}@keyframes g5fr-half{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes g5fr-tram{from{opacity:.2;transform:translate(-50%,-18px) scale(.72)}to{opacity:1;transform:translateX(-50%) scale(1)}}@keyframes g5fr-alt{50%{transform:translateY(-12px);background:var(--fr-yellow)}}
@media(max-width:720px){.g5fr-scene{min-height:680px;padding:18px 12px 28px;gap:12px}.g5fr-scene::before{inset:6px;border-radius:22px}.g5fr-visual{min-height:270px;padding:8px}.g5fr-crates{grid-template-columns:1fr 1fr}.g5fr-crates .remainder{grid-column:1/-1;width:45%;justify-self:center}.g5fr-source-pieces{gap:4px}.g5fr-source-pieces i{width:39px;height:44px;font-size:.75rem}.g5fr-roll-row{gap:5px;width:100%}.g5fr-roll-row>span{width:28%;height:54px}.g5fr-roll-row>em{width:9%;height:54px}.g5fr-division-machine{grid-template-columns:60px 70px 120px;padding:16px;gap:8px}.g5fr-grid-compare{gap:8px}.g5fr-grid-compare .g5fr-hundred{width:min(43vw,230px)}.g5fr-mosaic-26 .g5fr-visual,.g5fr-maintenance .g5fr-visual,.g5fr-shade-75 .g5fr-visual{grid-template-columns:1fr;gap:15px}.g5fr-hundred{width:min(68vw,270px)}.g5fr-place-columns section{width:27vw;max-width:110px}.g5fr-place-columns section b{font-size:3rem}.g5fr-place-pulse{flex-wrap:wrap;justify-content:center}.g5fr-label-orbit span:nth-child(1){left:1%}.g5fr-label-orbit span:nth-child(2){right:1%}.g5fr-share-workshop{gap:18px}.roll-bank{gap:4px}.roll-bank i{width:22vw;max-width:92px}.table-bank{gap:6px}.table-bank section{font-size:.7rem}.g5fr-alternate{inset:10px}.g5fr-model-card{min-width:145px!important;padding:10px!important;grid-template-rows:66px auto}.g5fr-icon-line,.g5fr-icon-grid,.g5fr-icon-rolls{width:100px;height:58px}.g5fr-actions button{min-width:90px;padding:12px 14px}}
@media(max-width:430px){.g5fr-scene{min-height:720px}.g5fr-actions,.g5fr-model-actions{gap:7px}.g5fr-actions button{font-size:.88rem}.g5fr-model-card{flex-basis:130px!important}.g5fr-crates section{padding:8px}.g5fr-crates section>div{min-height:55px}.g5fr-number-line>i:nth-of-type(even){opacity:.35}.g5fr-final-links{flex-wrap:wrap;justify-content:center}.g5fr-place-columns{gap:4px;width:100%}.g5fr-place-columns section{width:auto;max-width:none;padding:6px 3px}.g5fr-place-columns section b{font-size:2.6rem}.g5fr-place-columns section small{font-size:.65rem}.g5fr-place-columns>i{font-size:2.4rem}.g5fr-sharing-model .g5fr-visual{width:calc(100% - 24px)}.g5fr-share-workshop{width:100%;max-width:100%}.roll-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.roll-bank i{width:100%;max-width:none}.table-bank{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.table-bank section{min-width:0}}
@media(prefers-reduced-motion:reduce){.g5fr-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* MAT.5.1.4 · Kesirleri Karşılaştırma */
.grade5-fraction-comparison-board{--fc-ink:#17334b;--fc-blue:#237f9f;--fc-cyan:#57c6d4;--fc-mint:#78d6b3;--fc-amber:#f4bc58;--fc-coral:#ed796b;--fc-violet:#806fc4;overflow-x:hidden;background:radial-gradient(circle at 10% 10%,#fff8dc 0,transparent 28%),radial-gradient(circle at 88% 12%,#dff7f2 0,transparent 30%),linear-gradient(145deg,#f7fbfd,#eef5f6);border-color:#b9dce2}
.g5fc-scene{position:relative;width:min(100%,980px);min-height:clamp(590px,72vh,760px);margin:auto;padding:clamp(20px,3.6vw,42px);color:var(--fc-ink);display:flex;flex-direction:column;align-items:center;gap:17px;isolation:isolate;box-sizing:border-box}
.g5fc-scene *{box-sizing:border-box}.g5fc-scene>*{max-width:100%;min-width:0}.g5fc-scene:before{content:"";position:absolute;inset:16px;border:1px solid rgba(23,51,75,.12);border-radius:30px;background:rgba(255,255,255,.56);box-shadow:0 22px 62px rgba(28,76,91,.12);z-index:-1}.g5fc-scene h2{font-size:clamp(1.3rem,2.6vw,2.05rem);line-height:1.16;text-align:center;max-width:800px;margin:0}.g5fc-visual{position:relative;width:100%;min-height:300px;display:grid;place-items:center;padding:16px;overflow:visible}.g5fc-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:11px;width:min(100%,820px)}
.g5fc-actions button,.g5fc-main-action,.g5fc-alternate button{border:2px solid rgba(23,51,75,.15);border-radius:17px;background:#fff;color:var(--fc-ink);font:800 1rem/1.15 inherit;padding:13px 19px;min-width:108px;min-height:52px;box-shadow:0 8px 17px rgba(23,51,75,.1);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.g5fc-actions button:is(:hover,:focus-visible),.g5fc-alternate button:is(:hover,:focus-visible){transform:translateY(-3px);border-color:#ff9f43;outline:4px solid rgba(255,159,67,.58);outline-offset:2px;box-shadow:0 12px 24px rgba(255,159,67,.32)}.g5fc-main-action{background:var(--fc-blue)!important;color:#fff!important;border-color:transparent!important}.g5fc-result{width:min(100%,820px);padding:13px 17px;border-radius:17px;background:#e4f5e9;border:2px solid #77bf8d;color:#174d2e;font-weight:800;text-align:center;animation:g5fc-rise .42s ease both}
.g5fc-strip-pair,.g5fc-alignment,.g5fc-gap-pair,.g5fc-overlay-strips{position:relative;display:grid;gap:26px;width:min(100%,700px);padding:28px}.g5fc-strip{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;width:100%;transition:width .65s ease,transform .65s ease,opacity .4s ease}.g5fc-strip>div{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;height:72px;border:4px solid var(--fc-ink);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 12px 21px rgba(23,51,75,.11)}.g5fc-strip i{border-right:2px solid rgba(23,51,75,.18);background:#eef2f3}.g5fc-strip i.on{background:var(--fc-cyan);animation:g5fc-fill .55s ease both}.g5fc-strip.amber i.on{background:var(--fc-amber)}.g5fc-strip.mint i.on{background:var(--fc-mint)}.g5fc-strip.violet i.on{background:var(--fc-violet)}.g5fc-strip.coral i.on{background:var(--fc-coral)}.g5fc-strip.blue i.on{background:var(--fc-blue)}.g5fc-strip.green i.on{background:#66c789}.g5fc-strip.orange i.on{background:#f09b56}.g5fc-strip>b{display:grid;place-items:center;min-width:62px;padding:9px;border-radius:12px;background:#fff;font-size:1.22rem}.g5fc-scan-line{position:absolute;top:45px;bottom:38px;width:4px;border-radius:9px;background:var(--fc-coral);box-shadow:0 0 16px var(--fc-coral);animation:g5fc-scan 2.6s ease-in-out infinite}
.g5fc-alignment .g5fc-strip:first-child{width:78%;justify-self:start}.g5fc-alignment .g5fc-strip:last-of-type{width:94%;justify-self:end}.g5fc-alignment.aligned .g5fc-strip{width:100%;justify-self:center}.g5fc-start-lock,.g5fc-end-lock{position:absolute;bottom:0;padding:5px 9px;border-radius:9px;background:var(--fc-ink);color:#fff;font-weight:900}.g5fc-start-lock{left:28px}.g5fc-end-lock{right:28px}.g5fc-alignment.aligned .g5fc-start-lock,.g5fc-alignment.aligned .g5fc-end-lock{animation:g5fc-pop .45s ease both}
.g5fc-lift-shaft{position:relative;width:min(100%,620px);height:280px;border:5px solid var(--fc-ink);border-radius:24px;background:repeating-linear-gradient(to top,#eff6f7 0,#eff6f7 38px,#dce9ec 39px,#dce9ec 40px);overflow:hidden;box-shadow:inset 0 -90px rgba(35,127,159,.08)}.g5fc-floor.whole{position:absolute;left:0;right:0;bottom:0;height:64px;display:grid;place-items:center;background:var(--fc-ink);color:#fff}.g5fc-cab{position:absolute;bottom:64px;width:38%;height:calc(var(--rise)*2.55);display:flex;align-items:flex-start;justify-content:center;padding:12px 5px;border:4px solid var(--fc-ink);border-bottom:0;border-radius:16px 16px 0 0;color:#17334b;font-weight:900;animation:g5fc-lift .75s ease both}.g5fc-cab.left{left:8%;background:linear-gradient(to top,var(--fc-cyan) var(--rise),#fff var(--rise))}.g5fc-cab.right{right:8%;background:linear-gradient(to top,var(--fc-amber) var(--rise),#fff var(--rise))}.g5fc-whole-lock{position:absolute;left:50%;bottom:18px;translate:-50% 0;padding:7px 12px;border-radius:99px;background:#fff;color:var(--fc-ink);font-style:normal;font-weight:900;opacity:.5}.g5fc-whole-lock.locked{opacity:1;background:var(--fc-mint);animation:g5fc-pop .5s ease both}
.g5fc-flex-canvases{position:relative;display:flex;align-items:end;justify-content:center;gap:26px;width:min(100%,760px);padding:25px 25px 48px}.g5fc-flex-canvases .g5fc-strip:first-child{width:55%}.g5fc-flex-canvases .g5fc-strip:last-of-type{width:42%}.g5fc-flex-canvases.normalized .g5fc-strip{width:48%;transform:none}.g5fc-whole-bracket{position:absolute;left:25px;right:25px;bottom:8px;display:flex;align-items:center;gap:8px;font-weight:900}.g5fc-whole-bracket i{flex:1;height:4px;background:var(--fc-ink)}
.g5fc-number-line{width:min(100%,760px);height:auto;overflow:visible}.g5fc-number-line>line:first-child{stroke:var(--fc-ink);stroke-width:6;stroke-linecap:round}.g5fc-number-line>path{fill:var(--fc-ink)}.g5fc-number-line .tick{stroke:#66808f;stroke-width:2}.g5fc-number-line .tick.major{stroke:var(--fc-ink);stroke-width:4}.g5fc-number-line text{fill:var(--fc-ink);font:900 21px system-ui;text-anchor:middle}.g5fc-number-line .half{stroke:var(--fc-amber);stroke-width:7;stroke-linecap:round}.g5fc-number-line .half-label{fill:#9b6815;font-size:22px}.g5fc-number-line .marker{animation:g5fc-marker .65s cubic-bezier(.2,.85,.2,1.25) both;animation-delay:var(--delay)}.g5fc-number-line .marker line{stroke:var(--fc-coral);stroke-width:4}.g5fc-number-line .marker circle{fill:var(--fc-coral);stroke:#fff;stroke-width:4}.g5fc-number-line .marker text{fill:#fff;font-size:14px}.g5fc-number-line .marker .tag{fill:var(--fc-ink);font-size:17px}.g5fc-gap-pair{padding-right:72px}.g5fc-one-wall{position:absolute;right:16px;top:20px;bottom:20px;width:42px;display:grid;place-items:center;border-left:7px solid var(--fc-coral);font-size:1.6rem;font-weight:900}.g5fc-gap-pair .g5fc-strip i:last-child{background:#fff}.g5fc-gap-pair.revealed .g5fc-strip i:last-child{background:repeating-linear-gradient(135deg,#fff 0,#fff 8px,#ffd6ce 9px,#ffd6ce 16px);animation:g5fc-gap .7s ease both}
.g5fc-overlay-strips .g5fc-strip{transition:.65s}.g5fc-overlay-strips.overlaid .g5fc-strip:first-child{transform:translateY(46px);opacity:.68}.g5fc-overlay-strips.overlaid .g5fc-strip:last-of-type{transform:translateY(-46px);mix-blend-mode:multiply;opacity:.78}.g5fc-drop-rule{position:absolute;left:65%;top:20px;bottom:20px;width:3px;background:var(--fc-coral);opacity:0}.g5fc-overlay-strips.overlaid .g5fc-drop-rule{opacity:1;animation:g5fc-pop .4s ease both}
.g5fc-decimal-columns{position:relative;display:grid;gap:15px;width:min(100%,510px);padding:34px 45px 58px;border-radius:24px;background:#eaf4f6;overflow:hidden}.g5fc-decimal-columns>div{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;gap:8px}.g5fc-decimal-columns b,.g5fc-decimal-columns i{display:grid;place-items:center;height:74px;border-radius:15px;background:#fff;font-style:normal;font-size:2.25rem}.g5fc-decimal-columns small{text-align:center;font-weight:800;color:#557181}.g5fc-lens{position:absolute;top:24px;left:42px;width:92px;height:185px;border:7px solid var(--fc-coral);border-radius:46px;box-shadow:0 0 0 2000px rgba(23,51,75,.08);transition:left .65s ease}.g5fc-decimal-columns.focus-1 .g5fc-lens,.g5fc-decimal-columns.focus-2 .g5fc-lens{left:285px}.g5fc-stack-model{position:relative;display:grid;place-items:center;width:min(100%,690px);min-height:280px}.g5fc-stack-model .g5fc-strip{width:85%;z-index:2;transition:.7s}.g5fc-stack-model .g5fc-hundred{position:absolute;right:4%;width:255px;transition:.7s}.g5fc-stack-model.stacked .g5fc-strip{transform:translateX(-12%) scale(.88);opacity:.58}.g5fc-stack-model.stacked .g5fc-hundred{right:50%;transform:translateX(50%) rotate(0);opacity:.68;mix-blend-mode:multiply}
.g5fc-hundred{position:relative;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(10,1fr);width:290px;aspect-ratio:1;border:4px solid var(--fc-ink);border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 13px 23px rgba(23,51,75,.13)}.g5fc-hundred>i{border-right:1px solid #bed0d5;border-bottom:1px solid #bed0d5}.g5fc-hundred>i.on{background:var(--fc-cyan);animation:g5fc-cell .35s ease both;animation-delay:calc(var(--n)*3ms)}.g5fc-hundred>b{position:absolute;right:7px;bottom:7px;padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.92);font-size:.8rem}.g5fc-hundred.compact{width:255px}.g5fc-hundred.small{width:225px}
.g5fc-price-tags{display:grid;grid-template-columns:1fr 1fr;gap:24px;width:min(100%,660px);padding:36px}.g5fc-price-tags section{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:end;padding:20px;border-radius:22px;background:#fff;border:4px solid var(--fc-blue);box-shadow:0 14px 24px rgba(23,51,75,.13);transform:rotate(var(--tilt));transition:.6s}.g5fc-price-tags section:first-child{--tilt:-4deg}.g5fc-price-tags section:nth-child(2){--tilt:5deg}.g5fc-price-tags.aligned section{transform:none}.g5fc-price-tags section span,.g5fc-price-tags section b{font-size:2.4rem}.g5fc-price-tags section i{font-style:normal;font-size:2rem}.g5fc-price-tags section small{font-weight:900}.g5fc-price-tags>div{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;text-align:center;border-top:4px solid var(--fc-ink);padding-top:8px}.g5fc-price-tags em{font-style:normal;font-weight:900;color:#557181}.g5fc-sort-track,.g5fc-order-slots{display:flex;gap:13px;justify-content:center;width:min(100%,650px)}.g5fc-sort-track i,.g5fc-order-slots i{display:grid;place-items:center;flex:1 1 0;min-width:70px;max-width:180px;min-height:74px;border:3px dashed #8aa3ae;border-radius:16px;background:#fff;font-style:normal;font-size:1.35rem;font-weight:900}.g5fc-sort-track i.locked,.g5fc-order-slots i:not(:empty){border-style:solid;border-color:var(--fc-mint);background:#ddf4e9;animation:g5fc-pop .4s ease both}.g5fc-value-cards{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:28px}.g5fc-value-cards span{padding:11px 18px;border-radius:12px;background:#fff;border:2px solid #cad8dd;font-weight:900}.g5fc-value-cards span.used{opacity:.28;transform:scale(.88)}
.g5fc-hundred-meter{display:flex;align-items:end;justify-content:center;gap:28px;width:min(100%,700px);height:235px;padding:22px 35px;border-bottom:5px solid var(--fc-ink)}.g5fc-hundred-meter>span{position:relative;display:flex;align-items:end;justify-content:center;width:120px;height:190px;border:4px solid var(--fc-ink);border-radius:13px 13px 0 0;background:repeating-linear-gradient(to top,transparent 0,transparent 17px,rgba(23,51,75,.12) 18px,rgba(23,51,75,.12) 19px);overflow:hidden}.g5fc-hundred-meter>span i{position:absolute;left:0;right:0;bottom:0;height:0;background:linear-gradient(#76d8c8,#2e94ad);transition:height .8s ease}.g5fc-hundred-meter.active>span i{height:var(--fill)}.g5fc-hundred-meter b{z-index:1;margin-bottom:8px;padding:4px 8px;border-radius:8px;background:#fff}.g5fc-common-scale .g5fc-visual{gap:22px}.g5fc-dual-hundred{display:flex;justify-content:center;gap:45px;transition:.7s}.g5fc-dual-hundred.overlaid .g5fc-hundred:first-child{transform:translateX(48%);opacity:.65}.g5fc-dual-hundred.overlaid .g5fc-hundred:last-child{transform:translateX(-48%);opacity:.65;mix-blend-mode:multiply}.g5fc-symbol-equation{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:18px;font-size:2rem}.g5fc-symbol-equation i{display:grid;place-items:center;width:60px;height:55px;border-radius:14px;background:var(--fc-amber);font-style:normal}.g5fc-tree{width:min(100%,620px);text-align:center}.g5fc-tree>b{display:inline-block;padding:10px 20px;border-radius:99px;background:var(--fc-ink);color:#fff}.g5fc-tree>div{display:grid;grid-template-columns:1fr 1fr;gap:90px;margin:12px auto;width:75%}.g5fc-tree>div span{position:relative;padding:9px;border-radius:10px;background:#fff;font-weight:900}.g5fc-tree>div span:before{content:"";position:absolute;left:50%;bottom:100%;width:2px;height:25px;background:var(--fc-ink);transform-origin:bottom;transform:rotate(var(--angle))}.g5fc-tree>div span:first-child:before{--angle:34deg}.g5fc-tree>div span:last-child:before{--angle:-34deg}.g5fc-tree>section{display:flex;justify-content:center;gap:12px;margin-top:22px}.g5fc-tree>section i{display:grid;place-items:center;width:100px;height:64px;border:3px dashed #8aa3ae;border-radius:14px;background:#fff;font-style:normal;font-weight:900}.g5fc-tree>section i.placed{border-style:solid;border-color:var(--fc-coral);animation:g5fc-pop .45s ease both}.g5fc-independent-scale{display:flex;align-items:center;width:min(100%,650px);font-weight:900}.g5fc-independent-scale>i{position:relative;flex:1;height:8px;margin:0 14px;background:linear-gradient(90deg,var(--fc-blue) 0 50%,var(--fc-amber) 50%);border-radius:10px;font-style:normal}.g5fc-independent-scale>i:before{content:"";position:absolute;left:50%;top:-14px;width:6px;height:36px;background:var(--fc-coral);transform:translateX(-50%)}.g5fc-independent-scale b{position:absolute;left:50%;top:-43px;transform:translateX(-50%)}.g5fc-independent .g5fc-order-slots{margin-top:70px}
.g5fc-alternate{position:absolute;inset:12px;z-index:40;display:grid;grid-template-columns:180px 1fr;grid-template-rows:auto auto 1fr auto;align-items:center;gap:8px 20px;padding:26px;border-radius:25px;background:rgba(255,255,255,.98);border:3px solid var(--fc-violet);box-shadow:0 24px 65px rgba(23,51,75,.28);overflow:auto}.g5fc-alternate>small{grid-column:1/-1;color:var(--fc-violet);font-weight:900;letter-spacing:.08em}.g5fc-alt-motion{grid-row:2/5;position:relative;width:160px;height:160px;border-radius:50%;background:#edf0fb;overflow:hidden}.g5fc-alt-motion i{position:absolute;left:22px;right:22px;height:22px;border-radius:12px;background:var(--fc-violet);animation:g5fc-alt 1.6s ease-in-out infinite}.g5fc-alt-motion i:nth-child(1){top:35px}.g5fc-alt-motion i:nth-child(2){top:70px;animation-delay:.18s}.g5fc-alt-motion i:nth-child(3){top:105px;animation-delay:.36s}.g5fc-alternate h3{margin:0;font-size:clamp(1rem,2.2vw,1.45rem)}.g5fc-alternate p{margin:0;color:#57717e}.g5fc-alternate button{justify-self:start}.g5fc-independent-note{display:grid;gap:3px;text-align:center}.g5fc-independent-note small{color:#66808b}
@keyframes g5fc-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes g5fc-fill{from{transform:scaleX(0);transform-origin:left}to{transform:none}}@keyframes g5fc-scan{0%,100%{left:12%}50%{left:86%}}@keyframes g5fc-pop{0%{opacity:.2;transform:scale(.75)}70%{transform:scale(1.08)}100%{opacity:1;transform:none}}@keyframes g5fc-lift{from{transform:translateY(90%)}to{transform:none}}@keyframes g5fc-marker{from{opacity:0;transform:translateY(-35px)}to{opacity:1;transform:none}}@keyframes g5fc-gap{50%{transform:scale(1.18)}}@keyframes g5fc-cell{from{opacity:.1;transform:scale(.2)}to{opacity:1;transform:none}}@keyframes g5fc-alt{50%{transform:translateX(12px);background:var(--fc-amber)}}
@media(max-width:720px){.grade5-fraction-comparison-board{overflow-y:auto}.g5fc-scene{min-height:690px;padding:17px 10px 28px;gap:11px}.g5fc-scene:before{inset:5px;border-radius:20px}.g5fc-scene h2{font-size:1.08rem}.g5fc-visual{min-height:270px;padding:6px}.g5fc-actions{gap:7px}.g5fc-actions button{min-width:88px;min-height:48px;padding:10px 12px;font-size:.86rem}.g5fc-strip-pair,.g5fc-alignment,.g5fc-gap-pair,.g5fc-overlay-strips{padding:17px 5px;gap:18px}.g5fc-strip{grid-template-columns:1fr 54px;gap:6px}.g5fc-strip>div{height:55px;border-width:3px}.g5fc-strip>b{min-width:50px;padding:6px;font-size:.95rem}.g5fc-start-lock{left:5px}.g5fc-end-lock{right:5px}.g5fc-lift-shaft{height:245px}.g5fc-flex-canvases{gap:8px;padding:18px 0 45px}.g5fc-flex-canvases .g5fc-strip{grid-template-columns:1fr}.g5fc-flex-canvases .g5fc-strip b{position:absolute;translate:0 -45px}.g5fc-number-line{width:100%;max-height:230px}.g5fc-gap-pair{padding-right:42px}.g5fc-one-wall{right:0;width:30px}.g5fc-decimal-columns{width:100%;padding:28px 12px 45px}.g5fc-decimal-columns b,.g5fc-decimal-columns i{height:62px;font-size:1.8rem}.g5fc-lens{left:11px;width:22%;height:158px}.g5fc-decimal-columns.focus-1 .g5fc-lens,.g5fc-decimal-columns.focus-2 .g5fc-lens{left:51%}.g5fc-stack-model .g5fc-hundred{width:190px}.g5fc-price-tags{gap:7px;padding:15px 2px}.g5fc-price-tags section{padding:11px 6px}.g5fc-price-tags section span,.g5fc-price-tags section b{font-size:1.55rem}.g5fc-hundred-meter{gap:8px;padding:15px 5px;height:220px}.g5fc-hundred-meter>span{width:29vw;max-width:105px}.g5fc-dual-hundred{gap:7px}.g5fc-hundred.small{width:min(40vw,180px)}.g5fc-tree>div{gap:20px;width:90%}.g5fc-tree>section i{width:28vw;max-width:92px}.g5fc-alternate{inset:6px;grid-template-columns:80px 1fr;padding:12px;gap:6px 9px}.g5fc-alt-motion{width:76px;height:76px}.g5fc-alt-motion i{left:10px;right:10px;height:11px}.g5fc-alt-motion i:nth-child(1){top:17px}.g5fc-alt-motion i:nth-child(2){top:34px}.g5fc-alt-motion i:nth-child(3){top:51px}.g5fc-alternate h3{font-size:.92rem}.g5fc-alternate p{font-size:.78rem}}
@media(max-width:430px){.g5fc-scene{min-height:730px}.g5fc-actions button{font-size:.81rem;flex:1 1 92px}.g5fc-strip-pair,.g5fc-alignment,.g5fc-gap-pair,.g5fc-overlay-strips{width:100%}.g5fc-lift-shaft{width:100%}.g5fc-price-tags>div{font-size:.7rem}.g5fc-sort-track i,.g5fc-order-slots i{min-width:0;min-height:62px;font-size:1rem}.g5fc-value-cards span{padding:8px 10px}.g5fc-symbol-equation{font-size:1.5rem}.g5fc-independent .g5fc-order-slots{margin-top:54px}}
.g5fc-order-slots i:not(.locked){border-style:dashed;border-color:#8aa3ae;background:#fff;animation:none}
.g5fc-hundred-meter>span{flex:1 1 0;width:auto;min-width:0}
.g5fc-dual-hundred{width:100%}
.g5fc-dual-hundred .g5fc-hundred.small{flex:0 1 225px;width:min(45%,225px)}
@media(max-width:1000px) and (min-width:621px){body:has(.grade5-fraction-comparison-board),body:has(.grade5-fraction-comparison-board) .lesson-shell{max-width:100%;overflow-x:hidden}body:has(.grade5-fraction-comparison-board) .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px 12px}body:has(.grade5-fraction-comparison-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0;max-width:100%}body:has(.grade5-fraction-comparison-board) .restart-lesson{grid-column:3;grid-row:1}body:has(.grade5-fraction-comparison-board) .skip-section,body:has(.grade5-fraction-comparison-board) .lesson-time{display:none}}
.g5fc-alt-specific{grid-row:2/5;position:relative;width:160px;height:160px;padding:12px;border-radius:24px;background:#f0f3fb;border:2px solid #d4d9f0;overflow:hidden;color:var(--fc-ink);font-weight:900}
.g5fc-alt-specific.alt-0,.g5fc-alt-specific.alt-1{display:grid;align-content:center;gap:15px}.g5fc-alt-specific.alt-0 span,.g5fc-alt-specific.alt-1 span{display:flex;height:26px;border:3px solid var(--fc-ink);border-radius:8px;overflow:hidden}.g5fc-alt-specific.alt-0 span i,.g5fc-alt-specific.alt-1 span i{flex:1;border-right:1px solid #9fb0bb}.g5fc-alt-specific.alt-0 span:first-child i:nth-child(-n+2),.g5fc-alt-specific.alt-0 span:last-child i:nth-child(-n+4),.g5fc-alt-specific.alt-1 span i:nth-child(-n+2){background:var(--fc-violet)}
.g5fc-alt-specific.alt-2{border-left:12px solid var(--fc-ink);border-right:12px solid var(--fc-ink)}.g5fc-alt-specific.alt-2 span{position:absolute;left:15px;right:15px;bottom:28px;border-top:5px solid var(--fc-coral)}.g5fc-alt-specific.alt-2 i{position:absolute;bottom:35px;width:28px;height:50px;border-radius:8px;background:var(--fc-violet)}.g5fc-alt-specific.alt-2 i:nth-of-type(1){left:24px}.g5fc-alt-specific.alt-2 i:nth-of-type(2){right:24px;height:84px}.g5fc-alt-specific.alt-2 b{position:absolute;left:50%;bottom:4px;transform:translateX(-50%)}
.g5fc-alt-specific.alt-3 span{position:absolute;left:18px;right:18px;height:22px;border:3px solid var(--fc-ink);border-radius:8px;background:linear-gradient(90deg,var(--fc-cyan) 64%,#fff 64%)}.g5fc-alt-specific.alt-3 span:first-child{top:47px}.g5fc-alt-specific.alt-3 span:nth-child(2){top:88px;background:linear-gradient(90deg,var(--fc-amber) 72%,#fff 72%)}.g5fc-alt-specific.alt-3 b{position:absolute;bottom:15px}.g5fc-alt-specific.alt-3 b:nth-of-type(1){left:17px}.g5fc-alt-specific.alt-3 b:nth-of-type(2){right:17px}
.g5fc-alt-specific.alt-4,.g5fc-alt-specific.alt-6,.g5fc-alt-specific.alt-15{display:flex;align-items:center;gap:4px}.g5fc-alt-specific.alt-4 span,.g5fc-alt-specific.alt-6 span,.g5fc-alt-specific.alt-15 span{position:relative;display:flex;align-items:center;flex:1;height:5px;background:var(--fc-ink)}.g5fc-alt-specific.alt-4 span i,.g5fc-alt-specific.alt-6 span i{flex:1;height:14px;border-left:1px solid var(--fc-blue)}.g5fc-alt-specific.alt-4 span:after,.g5fc-alt-specific.alt-15 span:after{content:"";position:absolute;left:50%;width:5px;height:38px;background:var(--fc-amber)}.g5fc-alt-specific.alt-15 i{position:absolute;left:50%;top:40px;transform:translateX(-50%);font-style:normal}
.g5fc-alt-specific.alt-5{display:flex;align-items:center;gap:12px}.g5fc-alt-specific.alt-5 span{flex:1;height:86px;border:4px solid var(--fc-ink);border-radius:50%;background:conic-gradient(var(--fc-cyan) 0 305deg,#fff 305deg)}.g5fc-alt-specific.alt-5 span:nth-child(2){background:conic-gradient(var(--fc-amber) 0 288deg,#fff 288deg)}.g5fc-alt-specific.alt-5 i{position:absolute;right:7px;top:12px;width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid var(--fc-coral)}
.g5fc-alt-specific.alt-7 span{position:absolute;left:18px;right:18px;height:24px;border:3px solid var(--fc-ink);border-radius:8px}.g5fc-alt-specific.alt-7 span:first-child{top:45px;background:linear-gradient(90deg,var(--fc-mint) 0 60%,#fff 60%)}.g5fc-alt-specific.alt-7 span:nth-child(2){top:86px;background:linear-gradient(90deg,var(--fc-violet) 0 63%,#fff 63%)}.g5fc-alt-specific.alt-7 i{position:absolute;top:31px;height:94px;border-left:3px dashed var(--fc-coral)}.g5fc-alt-specific.alt-7 i:nth-of-type(1){left:60%}.g5fc-alt-specific.alt-7 i:nth-of-type(2){left:63%}
.g5fc-alt-specific.alt-8{display:grid;align-content:center;gap:9px}.g5fc-alt-specific.alt-8 span{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.g5fc-alt-specific.alt-8 b,.g5fc-alt-specific.alt-8 i{display:grid;place-items:center;height:34px;border-radius:6px;background:#fff;font-style:normal}.g5fc-alt-specific.alt-8 b:nth-of-type(2){outline:3px solid var(--fc-coral)}
.g5fc-alt-specific.alt-9{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.g5fc-alt-specific.alt-9 span{display:grid;grid-template-columns:repeat(5,1fr);border:2px solid var(--fc-ink)}.g5fc-alt-specific.alt-9 span i{aspect-ratio:1;border:1px solid #a8bdc6;background:var(--fc-cyan)}.g5fc-alt-specific.alt-9 b{grid-row:1/3;grid-column:2}
.g5fc-alt-specific.alt-10{display:grid;align-content:center;gap:14px}.g5fc-alt-specific.alt-10 span{display:grid;grid-template-columns:1fr 1fr;padding:10px;border:3px solid var(--fc-blue);border-radius:9px;background:#fff}.g5fc-alt-specific.alt-10 i{font-style:normal;text-align:right;border-left:2px solid #b7c7ce}
.g5fc-alt-specific.alt-11{display:grid;align-content:center;gap:8px}.g5fc-alt-specific.alt-11 span{padding:8px;border-radius:8px;background:#fff;border:2px dashed #8aa3ae;text-align:center}.g5fc-alt-specific.alt-11 span:nth-child(2){transform:translateX(8px)}
.g5fc-alt-specific.alt-12{display:flex;align-items:end;justify-content:center;gap:8px;border-bottom:5px solid var(--fc-ink)}.g5fc-alt-specific.alt-12 span{width:30px;border:3px solid var(--fc-ink);border-radius:6px 6px 0 0;background:linear-gradient(to top,var(--fc-cyan) var(--h),transparent var(--h))}.g5fc-alt-specific.alt-12 span:nth-child(1){--h:55%;height:95px}.g5fc-alt-specific.alt-12 span:nth-child(2){--h:60%;height:105px}.g5fc-alt-specific.alt-12 span:nth-child(3){--h:65%;height:115px}.g5fc-alt-specific.alt-12 b{position:absolute;right:8px;top:5px;font-size:.72rem}
.g5fc-alt-specific.alt-13{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:8px}.g5fc-alt-specific.alt-13 span{display:grid;grid-template-columns:repeat(2,1fr);border:3px solid var(--fc-ink)}.g5fc-alt-specific.alt-13 span i{aspect-ratio:1;border:1px solid #b9cbd2}.g5fc-alt-specific.alt-13 span:first-child i:nth-child(-n+8),.g5fc-alt-specific.alt-13 span:last-child i:nth-child(-n+7){background:var(--fc-cyan)}
.g5fc-alt-specific.alt-14 b{display:block;width:max-content;margin:auto;padding:7px 10px;border-radius:20px;background:var(--fc-ink);color:#fff}.g5fc-alt-specific.alt-14 span{position:absolute;top:71px;width:55px;height:32px;border-radius:8px;background:#fff}.g5fc-alt-specific.alt-14 span:nth-of-type(1){left:13px}.g5fc-alt-specific.alt-14 span:nth-of-type(2){right:13px}.g5fc-alt-specific.alt-14 i{position:absolute;top:48px;width:44px;border-top:3px solid var(--fc-coral)}.g5fc-alt-specific.alt-14 i:nth-of-type(1){left:37px;transform:rotate(-35deg)}.g5fc-alt-specific.alt-14 i:nth-of-type(2){right:37px;transform:rotate(35deg)}
@media(max-width:720px){.g5fc-alt-specific{width:80px;height:92px;padding:5px;border-radius:14px}.g5fc-alt-specific.alt-0,.g5fc-alt-specific.alt-1{gap:6px}.g5fc-alt-specific.alt-2{border-left-width:6px;border-right-width:6px}.g5fc-alt-specific.alt-4,.g5fc-alt-specific.alt-6,.g5fc-alt-specific.alt-15{font-size:.62rem}.g5fc-alt-specific.alt-5{gap:3px}.g5fc-alt-specific.alt-5 span{height:48px;border-width:2px}.g5fc-alt-specific.alt-8 b,.g5fc-alt-specific.alt-8 i{height:22px;font-size:.65rem}.g5fc-alt-specific.alt-10 span,.g5fc-alt-specific.alt-11 span{padding:3px;font-size:.58rem}.g5fc-alt-specific.alt-12 span{width:17px!important;height:70px!important}.g5fc-alt-specific.alt-13{gap:3px}.g5fc-alt-specific.alt-14 span{width:28px;top:52px}.g5fc-alt-specific.alt-14 span:nth-of-type(1){left:5px}.g5fc-alt-specific.alt-14 span:nth-of-type(2){right:5px}.g5fc-alt-specific.alt-14 i{top:40px;width:24px}.g5fc-alt-specific.alt-14 i:nth-of-type(1){left:18px}.g5fc-alt-specific.alt-14 i:nth-of-type(2){right:18px}}
@media(prefers-reduced-motion:reduce){.g5fc-scene *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(max-width:1000px) and (min-width:621px){body:has(.grade5-fraction-representations-board),body:has(.grade5-fraction-representations-board) .lesson-shell{max-width:100%;overflow-x:hidden}body:has(.grade5-fraction-representations-board) .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px 12px}body:has(.grade5-fraction-representations-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0;max-width:100%}body:has(.grade5-fraction-representations-board) .restart-lesson{grid-column:3;grid-row:1}body:has(.grade5-fraction-representations-board) .skip-section,body:has(.grade5-fraction-representations-board) .lesson-time{display:none}}
@media(max-width:850px){body:has(.grade5-fraction-representations-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}body:has(.grade5-fraction-representations-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}body:has(.grade5-fraction-representations-board) .lesson-teacher>*{min-width:0;max-width:100%;box-sizing:border-box}body:has(.grade5-fraction-representations-board) .talk-help{display:none}body:has(.grade5-fraction-representations-board) .lesson-avatar{height:70px}body:has(.grade5-fraction-representations-board) .teacher-bubble{max-height:70px;min-height:0;margin:0;padding:6px;font-size:12px;overflow:auto}body:has(.grade5-fraction-representations-board) .narration-controls{grid-column:2;grid-row:2;margin:0}body:has(.grade5-fraction-representations-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}body:has(.grade5-fraction-representations-board) .teacher-classroom,body:has(.grade5-fraction-representations-board) .teaching-area{min-width:0;max-width:100%}}

/* grade5-geometric-properties.css */
.topic-lesson-shell:has(.gp-board) .teacher-classroom { max-width:1240px; grid-template-columns:235px minmax(0,1fr); gap:24px; padding:14px 24px; align-items:start; }
.topic-lesson-shell:has(.gp-board) .teaching-area { width:100%; max-width:none; }
.topic-lesson-shell:has(.gp-board) .lesson-avatar { height:200px; }
.topic-lesson-shell:has(.gp-board) .teacher-bubble { max-height:170px; min-height:80px; overflow:auto; font-size:12px; }
.topic-lesson-shell:has(.gp-board) .section-track { display:flex; flex-wrap:nowrap; overflow-x:auto; max-width:40vw; }
.topic-lesson-shell:has(.gp-board) .section-segment { min-width:85px; }
body:has(.gp-board) .feedback-launcher { bottom:5px; left:5px; right:auto; }
.gp-board { background:#f7f5ef; padding:14px 18px!important; overflow:visible!important; }
.gp-scene { width:100%; max-width:1050px; margin:auto; color:#203f44; }
.gp-scene header>span { color:#7e6846; font-size:11px; font-weight:800; letter-spacing:.12em; }
.gp-scene h1 { font-size:clamp(20px,2.3vw,30px); line-height:1.2; margin:4px 0 8px; }
.gp-task { margin:0 0 10px; font-size:15px; line-height:1.4; }
.gp-workspace { display:grid; grid-template-columns:minmax(0,1fr) 205px; gap:14px; align-items:center; }
.gp-board[data-gp-role="model"] .gp-workspace { grid-template-columns:1fr; }
.gp-board[data-gp-role="model"] .gp-tools { display:none; }
.gp-scene:has(.gp-support) .gp-drawing { width:min(100%,calc(28vh * 500 / 430)); }
.gp-drawing { min-width:0; width:min(100%,calc(42vh * 500 / 430)); margin-inline:auto; background:#fffef9; border:1px solid #d9ded7; border-radius:16px; box-shadow:0 6px 18px #233f4210; overflow:hidden; touch-action:none; }
.gp-svg { display:block; width:100%; height:auto; aspect-ratio:500/430; }
.gp-svg text,.gp-support-svg text { font-family:inherit; font-size:18px; fill:#25454b; font-weight:650; user-select:none; }
.gp-svg .gp-small,.gp-support-svg .gp-small { font-size:14px; }
.gp-hit { cursor:pointer; }
.gp-hit:hover circle:first-child { stroke:#d4a05b; stroke-width:3px; }
.gp-point-options { display:flex; gap:6px; grid-column:1/-1; }
.gp-point-options button { flex:1; min-width:44px; min-height:44px; }
.gp-choices.gp-reflect { display:grid; grid-template-columns:1fr 1fr; }
.gp-choices.gp-reflect button { max-width:none; }
.gp-message:empty,.gp-choices:empty { min-height:0; margin:0; }
.gp-compass { pointer-events:none; }
.gp-hit:focus { outline:none; }
.gp-hit:focus-visible circle:first-child { fill:#fce4b6; stroke:#14616b; stroke-width:3px; }
.gp-hit:focus-visible line:last-of-type { stroke-width:6px; }
.gp-tools { display:flex; flex-direction:column; gap:8px; }
.gp-tools p { margin:0; font-size:13px; line-height:1.35; }
.gp-scene button { font:inherit; cursor:pointer; background:#fffefa; border:1px solid #bfcbc4; border-radius:10px; padding:9px 11px; min-height:44px; color:#244a50; font-size:13px; font-weight:700; line-height:1.25; }
.gp-scene button:hover:not(:disabled) { box-shadow:0 0 0 2px #d4a05b; }
.gp-scene button[aria-pressed="true"] { background:#e0f0eb; border-color:#347c74; }
.gp-scene button:focus-visible,.gp-scene input:focus-visible { outline:3px solid #b97928; outline-offset:2px; }
.gp-scene button:disabled { opacity:.45; cursor:default; }
.gp-inline,.gp-directions,.gp-design-tools { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.gp-slider { display:flex; flex-direction:column; gap:3px; font-size:12px; font-weight:700; }
.gp-slider input { width:100%; height:44px; margin:0; accent-color:#307e76; }
.gp-choices { display:flex; justify-content:center; gap:8px; margin-top:10px; }
.gp-choices button { flex:1; max-width:290px; }
.gp-message { min-height:20px; font-size:13px; line-height:1.4; margin:8px 0 0; color:#6b502b; }
.gp-correct { color:#236044; background:#e1f2e7; border-radius:7px; padding:5px 8px; }
.gp-retry { color:#875343; background:#f8ebe5; border-radius:7px; padding:5px 8px; }
.gp-small-step { grid-column:1/-1; font-size:12px; }
.gp-small-step:empty { display:none; }
.gp-small-step p { margin:3px 0 5px; }
.gp-local-footer { display:flex; justify-content:flex-end; margin-top:7px; }
.gp-help-buttons { display:flex; gap:7px; }
.gp-scene .lesson-continue-button { background:#256a64; color:#fff; min-width:165px; }
.gp-turn-meter { height:9px; border:1px solid #abc2ba; border-radius:12px; overflow:hidden; background:#fff; }
.gp-turn-meter i { display:block; height:100%; background:#c99142; transition:width .35s; }
.gp-support { margin-top:8px; border:1px solid #bfcfc4; border-radius:12px; background:#f0f7ef; padding:8px; display:grid; grid-template-columns:170px minmax(0,1fr); gap:8px; align-items:center; }
.gp-support header { display:flex; flex-direction:column; gap:8px; font-size:11px; }
.gp-support-svg { width:100%; height:150px; display:block; }
.gp-scene:has(.gp-small-step:not(:empty)) .gp-drawing { width:min(100%,calc(20vh * 500 / 430)); }
.gp-support:has(.gp-small-step:not(:empty)) { grid-template-columns:110px 150px minmax(0,1fr); }
.gp-support:has(.gp-small-step:not(:empty)) .gp-support-svg { height:105px; }
.gp-support:has(.gp-small-step:not(:empty)) .gp-small-step { grid-column:auto; }
.gp-attention { box-shadow:0 0 0 3px #d5b777; }
.topic-lesson-shell:has(.gp-board) #lesson-footer:empty,.topic-lesson-shell:has(.gp-board) #lesson-support-dock:empty { display:none; }
/* A second model must fit alongside the task in short desktop windows. */
@media(min-width:851px) and (max-height:800px){
  .gp-support:not(:has(.gp-small-step:not(:empty))) .gp-support-svg { height:110px; }
  .gp-scene:has(.gp-support):not(:has(.gp-small-step:not(:empty))) .gp-drawing { width:min(100%,calc(23vh * 500 / 430)); }
  .gp-parallel .gp-tools,.gp-design .gp-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; }
  .gp-parallel .gp-workspace { grid-template-columns:minmax(0,1fr) 230px; }
  .gp-design .gp-design-tools,.gp-design .gp-tools>p { grid-column:1/-1; }
}
@media(max-width:1000px){
  .topic-lesson-shell:has(.gp-board) .lesson-header { grid-template-columns:44px minmax(0,1fr) 44px auto; gap:6px; padding:6px 8px; }
  .topic-lesson-shell:has(.gp-board) .lesson-breadcrumb { min-width:0; }
  .topic-lesson-shell:has(.gp-board) .section-track { grid-column:1/-1; grid-row:2; min-width:0; max-width:100%; width:100%; }
  .topic-lesson-shell:has(.gp-board) .restart-lesson { grid-column:3; grid-row:1; min-width:38px; padding:0 6px; }
  .topic-lesson-shell:has(.gp-board) .restart-lesson b,.topic-lesson-shell:has(.gp-board) .lesson-time { display:none; }
  .topic-lesson-shell:has(.gp-board) .skip-section { grid-column:4; grid-row:1; }
  .gp-support:has(.gp-small-step:not(:empty)) { grid-template-columns:110px minmax(0,1fr); }
  .gp-support:has(.gp-small-step:not(:empty)) .gp-small-step { grid-column:1/-1; }
}
@media(max-width:850px){
  body:has(.gp-board) .feedback-launcher { bottom:5px; left:5px; right:auto; min-height:27px; padding:4px 8px; font-size:10px; }
  .topic-lesson-shell:has(.gp-board) .teacher-classroom { grid-template-columns:1fr; gap:7px; padding:8px; }
  .topic-lesson-shell:has(.gp-board) .lesson-teacher { display:grid; grid-template-columns:65px minmax(0,1fr) 100px; grid-template-rows:70px 32px; gap:5px; }
  .topic-lesson-shell:has(.gp-board) .lesson-teacher>* { min-width:0; max-width:100%; box-sizing:border-box; }
  .topic-lesson-shell:has(.gp-board) .talk-help { display:none; }
  .topic-lesson-shell:has(.gp-board) .lesson-avatar { height:70px; }
  .topic-lesson-shell:has(.gp-board) .teacher-bubble { max-height:70px; min-height:0; margin:0; font-size:10px; padding:6px; }
  .topic-lesson-shell:has(.gp-board) .narration-controls { grid-column:2; grid-row:2; margin:0; }
  .topic-lesson-shell:has(.gp-board) .narration-controls button { min-height:30px; font-size:9px; padding:3px; }
  .topic-lesson-shell:has(.gp-board) .raise-hand { grid-column:3; grid-row:1/3; min-height:44px; padding:5px; margin:0; grid-template-columns:24px minmax(0,1fr); gap:3px; }
  .topic-lesson-shell:has(.gp-board) .hand-icon { width:24px; height:30px; font-size:17px; }
  .topic-lesson-shell:has(.gp-board) .hand-copy strong { font-size:11px; }
  .topic-lesson-shell:has(.gp-board) .raise-hand .sound-bars { display:none; }
  .topic-lesson-shell:has(.gp-board) .raise-hand small { display:none; }
  .topic-lesson-shell:has(.gp-board) .lesson-header { padding:6px 8px; gap:5px; }
  .topic-lesson-shell:has(.gp-board) .section-track { max-width:none; grid-column:1/-1; }
  .topic-lesson-shell:has(.gp-board) .lesson-screen-meta { min-height:22px; }
  .gp-board { padding:10px!important; }
  .gp-workspace { grid-template-columns:minmax(0,1fr) 145px; gap:8px; }
  .gp-tools { gap:5px; }
  .gp-scene button { padding:7px; font-size:12px; }
  .gp-task { font-size:13px; }
  .gp-drawing { width:min(100%,calc(39vh * 500 / 430)); }
  .gp-directions,.gp-design-tools { grid-template-columns:1fr; }
  .gp-message { font-size:12px; }
}
@media(max-width:480px){
  .topic-lesson-shell:has(.gp-board) .lesson-header { grid-template-columns:38px minmax(0,1fr) 42px; }
  .topic-lesson-shell:has(.gp-board) .teacher-classroom { padding-top:4px; }
  .topic-lesson-shell:has(.gp-board) .talk-help { display:none; }
  .topic-lesson-shell:has(.gp-board) .raise-hand { margin:0; grid-template-columns:24px 1fr; gap:3px; }
  .topic-lesson-shell:has(.gp-board) .raise-hand .sound-bars { display:none; }
  .topic-lesson-shell:has(.gp-board) .hand-icon { width:24px; height:30px; font-size:17px; }
  .topic-lesson-shell:has(.gp-board) .hand-copy strong { font-size:10px; }
  .topic-lesson-shell:has(.gp-board) .lesson-teacher { grid-template-rows:60px 32px; }
  .topic-lesson-shell:has(.gp-board) .lesson-avatar { height:60px; }
  .topic-lesson-shell:has(.gp-board) .teacher-bubble { max-height:60px; }
  body:has(.gp-board) .feedback-launcher { bottom:5px; left:5px; right:auto; min-height:27px; padding:4px 8px; font-size:10px; }
  .gp-workspace { grid-template-columns:1fr; }
  .gp-task { margin-bottom:6px; }
  .gp-drawing { width:min(100%,calc(25vh * 500 / 430)); }
  .gp-scene:has(.gp-support) .gp-drawing { width:min(100%,calc(17vh * 500 / 430)); }
  .gp-parallel .gp-drawing { width:min(100%,calc(23vh * 500 / 430)); }
  .gp-design .gp-drawing { width:min(100%,calc(22vh * 500 / 430)); }
  .gp-design:has(.gp-reflect) .gp-drawing { width:min(100%,calc(20vh * 500 / 430)); }
  .gp-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; }
  .gp-tools p { font-size:11px; }
  .gp-inline,.gp-directions,.gp-design-tools { grid-template-columns:1fr 1fr; }
  .gp-directions,.gp-design-tools { grid-column:1/-1; }
  .gp-scene h1 { font-size:19px; margin-bottom:5px; }
  .gp-scene header>span { font-size:9px; }
  .gp-choices { gap:5px; margin-top:7px; }
  .gp-choices button { font-size:11px; }
  .gp-message { margin-top:5px; }
  .gp-local-footer:has(.lesson-continue-button) { padding-left:100px; }
  .gp-support { grid-template-columns:85px minmax(0,1fr); }
  .gp-support-svg { height:115px; }
  /* Keep the task and its answer cards present while comparing a second model. */
  .gp-scene:has(.gp-support) { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:8px; }
  .gp-scene:has(.gp-support)>header { grid-column:1/-1; grid-row:1; }
  .gp-scene:has(.gp-support)>.gp-task { grid-column:1/-1; grid-row:2; }
  .gp-scene:has(.gp-support) .gp-workspace { display:contents; }
  .gp-scene:has(.gp-support) .gp-drawing { grid-column:1; grid-row:3; width:100%; align-self:center; }
  .gp-scene:has(.gp-support) .gp-svg text { font-size:32px; }
  .gp-scene:has(.gp-support) .gp-svg .gp-small { font-size:24px; }
  .gp-scene:has(.gp-support) .gp-support-slot { grid-column:2; grid-row:3; min-width:0; }
  .gp-scene:has(.gp-support) .gp-tools { grid-column:1/-1; grid-row:4; margin-top:8px; }
  .gp-scene:has(.gp-support) .gp-choices { grid-column:1/-1; grid-row:5; }
  .gp-scene:has(.gp-support) .gp-message { grid-column:1/-1; grid-row:6; }
  .gp-scene:has(.gp-support) .gp-local-footer { grid-column:1/-1; grid-row:7; }
  .gp-support,.gp-support:has(.gp-small-step:not(:empty)) { display:flex; flex-direction:column; gap:4px; padding:6px; margin:0; }
  .gp-support header { flex-direction:row; align-items:center; gap:4px; width:100%; font-size:9px; }
  .gp-support header b { flex:1; }
  .gp-support header button { flex:none; min-width:44px; padding:4px; }
  .gp-support-model { width:100%; }
  .gp-support-svg,.gp-support:has(.gp-small-step:not(:empty)) .gp-support-svg { height:auto; aspect-ratio:3/2; }
  .gp-small-step { width:100%; font-size:11px; }
  .gp-support:has(.gp-small-step:not(:empty)) .gp-small-step button { font-size:11px; }
  .gp-support-slot:has(.gp-small-step:not(:empty)),.gp-support:has(.gp-small-step:not(:empty)) { display:contents; }
  .gp-support:has(.gp-small-step:not(:empty)) header { grid-column:2; grid-row:3; align-self:start; z-index:1; padding:5px; background:#f0f7ef; border-radius:9px; }
  .gp-support:has(.gp-small-step:not(:empty)) .gp-support-model { grid-column:2; grid-row:3; padding:49px 5px 5px; background:#f0f7ef; border:1px solid #bfcfc4; border-radius:12px; }
  .gp-support:has(.gp-small-step:not(:empty)) .gp-small-step { grid-column:1/-1; grid-row:4; padding:5px 0; }
  .gp-small-step .gp-inline { grid-template-columns:1fr 1fr; }
  .gp-scene:has(.gp-small-step:not(:empty)) .gp-tools { grid-row:5; }
  .gp-scene:has(.gp-small-step:not(:empty)) .gp-choices { grid-row:6; }
  .gp-scene:has(.gp-small-step:not(:empty)) .gp-message { grid-row:7; }
  .gp-scene:has(.gp-small-step:not(:empty)) .gp-local-footer { grid-row:8; }
}
@media(prefers-reduced-motion:reduce){ .gp-turn-meter i { transition:none; } }
/* Legible transcript and real touch controls; do not shrink text to pass fit checks. */
.topic-lesson-shell:has(.gp-board) .teacher-bubble { font-size:14px; }
@media(max-width:850px){
  .topic-lesson-shell:has(.gp-board) .lesson-teacher { grid-template-rows:70px 44px; }
  .topic-lesson-shell:has(.gp-board) .narration-controls button { min-height:44px; min-width:44px; font-size:12px; }
  .topic-lesson-shell:has(.gp-board) .teacher-bubble { font-size:14px; }
}

/* grade5-angle-measure.css */
.am-board{--am-ink:#174b54;--am-orange:#d76b2b;--am-paper:#fffaf0;display:block;overflow:visible}.am-scene{display:grid;grid-template-rows:auto auto minmax(310px,1fr) auto auto auto;gap:8px;min-height:100%;color:var(--am-ink)}.am-scene>header{display:flex;align-items:baseline;gap:12px;min-width:0}.am-scene>header span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#e5f3ee;color:#226b65;font-size:11px;font-weight:900;letter-spacing:.07em}.am-scene>header h1{margin:0;font-size:clamp(21px,2.5vw,34px);line-height:1.05}.am-task{margin:0;font-size:clamp(15px,1.45vw,19px);line-height:1.35}.am-workspace{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:12px;align-items:stretch;min-height:310px}.am-drawing,.am-tools{border:1px solid #d7c792;border-radius:22px;background:linear-gradient(155deg,#fffdf7,#f6fbf8);box-shadow:0 8px 22px #284b5012}.am-drawing{min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:5px}.am-svg{display:block;width:100%;height:min(46vh,410px);min-height:270px;overflow:visible}.am-svg text,.am-support-svg text{font-family:Nunito,system-ui,sans-serif;fill:#174b54;font-size:16px;font-weight:800}.am-svg .am-small{font-size:11px}.am-svg .am-caption{font-size:14px}.am-svg .am-degree-readout{font-size:23px;fill:#a65325}.am-svg .am-equation{font-size:20px}.am-svg .am-scale{font-size:9px;fill:#477f86;font-weight:700}.am-svg .am-scale-inner{fill:#a15b2d}.am-svg .am-scale-active{font-size:11px;fill:#ce5f25;font-weight:1000}.am-tools{display:flex;flex-direction:column;gap:9px;padding:12px;justify-content:center}.am-tools p{margin:0;line-height:1.3}.am-tools button,.am-choices button,.am-local-footer button,.am-support button{min-height:46px;border:2px solid #6f9b96;border-radius:14px;background:#fffef9;color:#174b54;font:800 15px/1.15 Nunito,system-ui,sans-serif;padding:9px 12px;cursor:pointer;transition:.15s transform,.15s box-shadow,.15s border-color}.am-tools button:hover,.am-tools button:focus-visible,.am-choices button:hover,.am-choices button:focus-visible,.am-local-footer button:hover,.am-local-footer button:focus-visible,.am-support button:hover,.am-support button:focus-visible{border-color:#e27b32;box-shadow:0 0 0 4px #f5a04a35;outline:none;transform:translateY(-1px)}.am-tools button:disabled,.am-choices button:disabled{opacity:.55;cursor:default;transform:none}.am-slider{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center;font-weight:900;font-size:13px}.am-slider input{grid-column:1/-1;width:100%;accent-color:#d76b2b;min-height:28px}.am-slider output{font-variant-numeric:tabular-nums;color:#a65325}.am-target{padding:8px 10px;border-radius:12px;background:#fff1d7;text-align:center}.am-nudge{display:grid;grid-template-columns:repeat(3,46px);justify-content:center;gap:5px}.am-nudge button:nth-child(1){grid-column:2}.am-nudge button:nth-child(2){grid-column:1;grid-row:2}.am-nudge button:nth-child(3){grid-column:3;grid-row:2}.am-nudge button:nth-child(4){grid-column:2;grid-row:2}.am-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.am-message{min-height:26px;font-weight:850;line-height:1.35}.am-correct{color:#247153}.am-retry{color:#a94c31}.am-hint{color:#5e557f}.am-local-footer{display:flex;justify-content:flex-end;min-height:48px}.am-help-buttons{display:flex;gap:8px;margin-right:auto}.am-support{display:grid;grid-template-columns:minmax(220px,310px) minmax(0,1fr);gap:10px;padding:10px;border-radius:18px;background:#f5ecff;border:1px solid #cbb1df}.am-support>header{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.am-support>header button{min-height:40px}.am-support-svg{display:block;width:100%;max-height:205px}.am-small-step{display:flex;flex-direction:column;justify-content:center;gap:8px}.am-small-step p{margin:0}.am-small-step>div{display:flex;gap:8px;flex-wrap:wrap}.am-copy .am-svg{height:min(44vh,390px)}
.am-workspace{grid-template-columns:minmax(0,1fr) 178px;gap:10px}
.am-support-open{gap:4px}.am-support-open .am-workspace{min-height:150px;max-height:150px}.am-support-open .am-svg{height:140px;min-height:0}.am-support-open .am-tools{padding:5px;gap:4px}.am-support-open .am-tools button{min-height:38px;padding:4px 7px}.am-support-open .am-slider input{min-height:18px}.am-support-open .am-support{grid-template-columns:150px minmax(0,1fr);gap:5px;padding:5px;max-height:165px}.am-support-open .am-support>header{min-height:30px}.am-support-open .am-support>header button{min-height:32px;padding:3px 8px}.am-support-open .am-support-svg{max-height:120px}.am-support-open .am-small-step{gap:4px;font-size:13px}.am-support-open .am-small-step>div{flex-wrap:nowrap}.am-support-open .am-small-step button{min-height:38px;padding:4px 7px;font-size:13px}.am-support-open .am-message{font-size:13px;min-height:18px}.am-support-open .am-local-footer{display:none}
@media(min-width:851px) and (max-height:800px){.am-scene{grid-template-rows:auto auto minmax(245px,1fr) auto auto auto;gap:5px}.am-workspace{min-height:245px}.am-svg{height:min(38vh,315px);min-height:220px}.am-tools{padding:8px;gap:6px}.am-tools button,.am-choices button{min-height:42px;padding:6px 9px}.am-support-svg{max-height:150px}}
@media(max-width:850px){.am-scene{grid-template-rows:auto auto auto auto auto auto}.am-scene>header{align-items:flex-start;flex-direction:column;gap:5px}.am-workspace{grid-template-columns:1fr;min-height:0}.am-drawing{min-height:280px}.am-svg{height:auto;min-height:0;aspect-ratio:500/360}.am-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.am-tools>.am-slider,.am-tools>p,.am-tools>.am-nudge{grid-column:1/-1}.am-support{grid-template-columns:1fr}.am-support>header{grid-column:1}.am-support-svg{max-height:180px}.am-local-footer{padding-bottom:4px}.am-help-buttons{width:100%}.am-help-buttons button{flex:1}}
@media(max-width:430px){.am-scene{gap:5px}.am-scene>header h1{font-size:22px}.am-task{font-size:15px}.am-drawing{min-height:140px;padding:2px}.am-svg,.am-copy .am-svg{height:140px;min-height:0;aspect-ratio:auto}.am-place .am-drawing,.am-place .am-svg{min-height:0;height:120px}.am-construct .am-drawing,.am-construct .am-svg{min-height:0;height:130px}.am-tools{gap:5px;padding:6px}.am-tools button,.am-choices button,.am-local-footer button,.am-support button{min-height:44px;font-size:14px;padding:6px}.am-slider input{min-height:44px}.am-place .am-nudge{grid-template-columns:repeat(4,minmax(0,1fr))}.am-place .am-nudge button:nth-child(n){grid-column:auto;grid-row:auto}.am-degree .am-target{grid-column:1}.am-degree .am-target+button{grid-column:2}.am-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.am-support{padding:5px}.am-support-svg{max-height:130px}.am-support-open .am-workspace{min-height:120px;max-height:120px}.am-support-open .am-tools{display:none}.am-support-open .am-support{grid-template-columns:120px minmax(0,1fr);max-height:165px}.am-support-open .am-support>header{grid-column:1/-1}.am-support-open .am-support>header button,.am-support-open .am-small-step button{min-height:44px}.am-support-open .am-support-svg{max-height:108px}.am-local-footer{min-height:44px}.am-help-buttons{margin-left:116px;width:calc(100% - 116px)}body.am-active .feedback-launcher{left:5px;right:auto}body.am-active .lesson-header button,body.am-active .lesson-header nav button,body.am-active .narration-controls button,body.am-active .raise-hand,body.am-active .feedback-launcher{min-height:44px}body.am-active .back-button,body.am-active .restart-lesson{min-width:44px}}

/* Mobile measuring marks must remain legible and the lowest control/value must
   have its own safe area instead of being clipped by the lesson footer. */
@media(max-width:430px){.am-svg .am-scale{font-size:12px}.am-svg .am-scale-active{font-size:13px}.am-drawing{min-height:190px}.am-svg,.am-copy .am-svg{height:190px}.am-place .am-drawing,.am-place .am-svg{height:170px}.am-construct .am-drawing,.am-construct .am-svg{height:180px}.am-tools{padding:8px 7px 18px;overflow:visible}.am-slider output{min-width:42px;text-align:right;line-height:1.4}}

/* grade5-lines-journey.css */
body.lj-active{--lj-ink:#173f48;--lj-teal:#1f7580;--lj-orange:#d96d31;--lj-paper:#fff8e7;--lj-mint:#e8f6f2}
.lj-board{background:linear-gradient(145deg,#dff2ef,#f7edd6);padding:0!important;overflow:auto}
.lj-scene{min-height:100%;color:var(--lj-ink);padding:18px 20px 24px;box-sizing:border-box;background:radial-gradient(circle at 85% 4%,#fff8df 0 11%,transparent 12%),linear-gradient(160deg,#eef9f6,#f8efdc)}
.lj-scene>header{display:flex;align-items:end;gap:13px;border-bottom:2px solid #b6d7d2;padding-bottom:9px}.lj-scene>header span{font-size:.72rem;letter-spacing:.11em;font-weight:900;color:#a65029}.lj-scene h1{font-size:clamp(1.25rem,2.5vw,2rem);margin:0}.lj-task{margin:12px 0 14px;line-height:1.45;max-width:1000px}
.lj-workspace{display:grid;grid-template-columns:1fr;gap:14px;align-items:stretch}.lj-drawing,.lj-tools{border-radius:22px;border:2px solid #9fc8c1;background:#fffdf5;box-shadow:0 10px 24px #315c5720;box-sizing:border-box}.lj-drawing{display:grid;place-items:center;overflow:hidden;position:relative;min-height:390px}.lj-tools{min-height:auto;padding:15px;display:flex;flex-direction:column;gap:10px;justify-content:center}.lj-board[data-lj-role="model"] .lj-tools{padding:10px 15px}.lj-tools>p{margin:0;line-height:1.4}.lj-tools button,.lj-local-footer button,.lj-support button{min-height:44px;border:0;border-radius:14px;background:#176f7b;color:white;font:inherit;font-weight:800;padding:10px 13px;box-shadow:0 4px 0 #0d4e57;cursor:pointer}.lj-tools button:hover,.lj-local-footer button:hover,.lj-support button:hover{filter:brightness(1.06)}.lj-tools button[aria-pressed=true]{background:#d96d31;box-shadow:0 4px 0 #98461f}.lj-tools button:disabled,.lj-local-footer button:disabled{opacity:.46;cursor:not-allowed;box-shadow:none}
.lj-svg{width:100%;height:auto;max-height:430px;display:block}.lj-svg text{font-family:system-ui,sans-serif;fill:#173f48;font-weight:750}.lj-caption{font-size:15px;letter-spacing:.03em}.lj-acetate-base{fill:#e7f5f2;stroke:#7fb6ae;stroke-width:2}.lj-moving-line{filter:url(#lj-shadow);transition:transform .18s ease}.lj-point circle{fill:#fff5d7;stroke:#a65228;stroke-width:3}.lj-point text{font-size:14px}.lj-evidence text{font-size:16px}.lj-right-mark{fill:none;stroke:#3d9369;stroke-width:5}.lj-paper{fill:#fff7dc}.lj-paper-edge{fill:none;stroke:#c8a96b;stroke-width:3}.lj-fold-flap{filter:url(#lj-shadow)}.lj-fold-flap .lj-paper{fill:#fff0c7}.lj-fold-line{stroke:#39848c;stroke-width:4;stroke-dasharray:9 6;animation:lj-crease .55s ease both}.lj-fold-line.second{stroke:#d77236;animation-delay:.12s}.lj-right-squares path{fill:none;stroke:#479168;stroke-width:4;animation:lj-proof .45s ease both}.lj-measure-ring circle{fill:none;stroke:#4a9c77;stroke-width:3;stroke-dasharray:7 5}.lj-measure-ring text{font-size:18px}.lj-scissors .selected{stroke:#174f58;stroke-width:3}.lj-pivot{fill:#fff5cf;stroke:#705033;stroke-width:4}.lj-complete-tray{fill:#f6f1df;stroke:#cbb77c;stroke-width:2}.lj-whole-edge{fill:none;stroke:#265e68;stroke-width:6;stroke-linecap:round}.lj-angle-label{font-size:20px}.lj-piece-checked{filter:url(#lj-shadow);stroke:#23705b;stroke-width:3;animation:lj-proof .45s ease both}.lj-night-panel{fill:#edf2f4;stroke:#9bb7bd;stroke-width:2}.lj-reflector path{fill:none;stroke:#ef963f;stroke-width:14;stroke-linejoin:round;filter:url(#lj-shadow)}.lj-road-panel{fill:#eff5ed;stroke:#acc7a8;stroke-width:2}.lj-bridge-panel{fill:#e9f3f1;stroke:#91bbb5;stroke-width:2}.lj-angle-slot{cursor:pointer}.lj-angle-slot.selected path{stroke:#d15f28!important;stroke-width:4}.lj-angle-slot.overlayed path{fill:#4aa877aa!important;filter:url(#lj-shadow);animation:lj-proof .45s ease both}.lj-empty-rack{fill:#ffffff77;stroke:#9ab4b1;stroke-width:2;stroke-dasharray:7 5}.lj-glass-piece{filter:url(#lj-shadow)}
.lj-slider{display:grid;grid-template-columns:1fr auto;gap:5px 9px;align-items:center;padding:8px;border-radius:12px;background:#edf7f4}.lj-slider span{font-weight:750}.lj-slider output{font-variant-numeric:tabular-nums;font-weight:900;color:#aa5229}.lj-slider input{grid-column:1/-1;width:100%;height:34px;accent-color:#d96d31}.lj-target{font-size:1.18rem;text-align:center;background:#fff1d1;padding:12px;border-radius:14px}.lj-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.lj-counts label{display:grid;gap:4px;font-weight:800;font-size:.82rem}.lj-counts select,.lj-map-select select{min-height:44px;border:2px solid #8ab8b0;border-radius:10px;background:white;color:#173f48;padding:6px}.lj-slot-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.lj-slot-buttons button{padding:7px;min-width:44px}.lj-message{min-height:24px;margin:12px 0 0;padding:10px 13px;border-radius:13px;font-weight:700}.lj-message:empty{padding:0}.lj-correct{background:#dff2df;color:#245d36}.lj-hint{background:#fff0c9;color:#79500f}.lj-retry{background:#fde5dc;color:#8e3823}.lj-local-footer{display:flex;justify-content:flex-end;margin-top:11px}.lj-help-buttons{display:flex;gap:9px}.lj-help-buttons button:first-child{background:#9c642f;box-shadow:0 4px 0 #6a3d19}
.lj-support{margin-top:12px;border:2px solid #d3a85b;background:#fff7dc;border-radius:18px;padding:14px}.lj-support header{display:flex;justify-content:space-between;align-items:center}.lj-support header button{background:#875c34;box-shadow:none}.lj-mini-model{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0}.lj-mini-model b{padding:10px 12px;background:#e0f2ee;border-radius:12px}.lj-small-step{border-top:1px solid #d9be86;padding-top:10px}.lj-small-step button{margin:4px}.lj-map-board{width:min(92%,640px);display:grid;gap:15px}.lj-map-card{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;background:#eef8f4;border:2px solid #9bc7bd;border-radius:16px;padding:14px}.lj-map-card span{font-size:1.5rem;color:#d56b31}.lj-map-roots{display:flex;gap:8px;flex-wrap:wrap}.lj-map-roots i{font-style:normal;background:#fff1cc;padding:8px 10px;border-radius:999px;font-weight:700}.lj-map-select{display:grid;gap:4px}.lj-map-select span{font-weight:800}
@keyframes lj-crease{from{stroke-dashoffset:90;opacity:.2}to{stroke-dashoffset:0;opacity:1}}@keyframes lj-proof{from{opacity:.2;transform:scale(.94);transform-origin:center;transform-box:fill-box}to{opacity:1;transform:scale(1);transform-origin:center;transform-box:fill-box}}
@media(prefers-reduced-motion:reduce){.lj-fold-line,.lj-right-squares path,.lj-piece-checked,.lj-angle-slot.overlayed path{animation:none}.lj-moving-line{transition:none}}
@media(max-width:760px){.lj-scene{padding:12px 10px 18px}.lj-scene>header{align-items:start;flex-direction:column;gap:4px}.lj-task{font-size:.92rem;margin:9px 0}.lj-workspace{grid-template-columns:1fr}.lj-drawing{min-height:310px}.lj-tools{min-height:auto;padding:11px}.lj-svg{max-height:330px}.lj-map-board{width:94%;padding:8px}.lj-map-card{padding:10px;font-size:.85rem}.lj-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.lj-tools button,.lj-local-footer button,.lj-support button,.lj-tools select{min-height:44px}.lj-help-buttons{width:100%}.lj-help-buttons button{flex:1}.lj-slot-buttons{grid-template-columns:repeat(4,minmax(44px,1fr))}}
@media(max-width:400px){.lj-scene h1{font-size:1.2rem}.lj-drawing{min-height:270px}.lj-tools{gap:7px}.lj-svg{max-height:285px}.lj-task{line-height:1.35}.lj-map-card{grid-template-columns:1fr auto 1fr;gap:6px}}

/* grade5-polygons-from-lines.css */
body.pfl-active{--pfl-ink:#143f49;--pfl-teal:#16838b;--pfl-orange:#e86f3f;--pfl-cream:#fff7e8;background:#dcefea}.pfl-board{padding:0!important;background:linear-gradient(145deg,#dff2ed,#f8ecd2)!important;overflow:auto}.pfl-scene{width:min(1180px,100%);min-height:100%;margin:auto;padding:20px 24px 28px;box-sizing:border-box;color:var(--pfl-ink);display:flex;flex-direction:column;gap:14px}.pfl-scene>header{display:flex;align-items:baseline;gap:16px}.pfl-scene>header span{font-size:12px;font-weight:900;letter-spacing:.12em;color:#a94c2d}.pfl-scene>header h1{font-size:clamp(24px,3vw,38px);margin:0;line-height:1.05}.pfl-task{margin:0;max-width:1000px;font-size:clamp(15px,1.5vw,18px);line-height:1.45}.pfl-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,285px);gap:16px;align-items:stretch}.pfl-drawing,.pfl-tools{border:1px solid #fff9;border-radius:24px;background:#fff9;box-shadow:0 14px 34px #34594b20}.pfl-drawing{min-height:390px;overflow:hidden;position:relative}.pfl-tools{padding:16px;display:flex;flex-direction:column;gap:10px;justify-content:center}.pfl-tools>p{margin:0;line-height:1.4}.pfl-tools button,.pfl-local-footer button,.pfl-support button{min-height:46px;border:1px solid #16697333;border-radius:14px;padding:10px 13px;background:#fff;color:var(--pfl-ink);font:700 14px/1.2 inherit;cursor:pointer;box-shadow:0 3px 0 #113c4517}.pfl-tools button:hover,.pfl-tools button[aria-pressed=true]{background:#d8f2ed;border-color:#18848c}.pfl-tools button:focus-visible,.pfl-local-footer button:focus-visible,.pfl-support button:focus-visible,[data-pfl-action=cell]:focus-visible,.pfl-handle:focus-visible{outline:4px solid #ffd064;outline-offset:3px}.pfl-tools button:disabled{opacity:.64;cursor:default}.pfl-binary{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pfl-binary span{grid-column:1/-1;font-size:12px;font-weight:900;letter-spacing:.08em}.pfl-chip-row{display:flex;gap:8px;flex-wrap:wrap}.pfl-chip-row b{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#dae7e5;color:#61777a}.pfl-chip-row b.on{background:#ffd56e;color:#3f3420}.pfl-live-check{padding:10px;border-radius:12px;background:#e6f0ed;font-size:13px}.pfl-message{min-height:24px;margin:0;font-weight:750}.pfl-correct{color:#147144}.pfl-retry{color:#a23e2f}.pfl-hint{color:#8b5c13}.pfl-local-footer{display:flex;justify-content:flex-end}.pfl-help-buttons{display:flex;gap:9px}.pfl-support-slot:not(:empty){position:fixed;inset:0;z-index:40;background:#173b4666;display:grid;place-items:center;padding:18px}.pfl-support{width:min(650px,95vw);max-height:88vh;overflow:auto;background:#fffaf0;border-radius:24px;padding:20px;box-shadow:0 24px 80px #122f3b55}.pfl-support header{display:flex;justify-content:space-between;align-items:center}.pfl-support p{line-height:1.45}.pfl-mini-model{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px;border-radius:18px;background:#e6f3ef;flex-wrap:wrap}.pfl-mini-model i{width:17px;height:17px;border-radius:50%;background:#e86f3f}.pfl-small-step{margin-top:14px;padding:14px;border:1px solid #164b5322;border-radius:16px}.pfl-small-step button{margin-right:8px}.pfl-svg{display:block;width:100%;height:100%;min-height:390px;touch-action:none}.pfl-machine,.pfl-scan-bed,.pfl-counter-bed,.pfl-network-bed,.pfl-builder-bed,.pfl-rule-bed{fill:#e4f1ed;stroke:#fff;stroke-width:3}.pfl-source{stroke:#1c6c76;stroke-width:3;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--draw));marker-start:url(#pfl-arrow);marker-end:url(#pfl-arrow);opacity:.55;pointer-events:none}.pfl-boundary{fill:none;stroke:#193f4a;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--draw));pointer-events:none}.pfl-boundary.closed{stroke:#d45c34}.pfl-fill{fill:url(#pfl-fill);opacity:.66;animation:pfl-fill-in .55s ease both;pointer-events:none}.pfl-intersection{fill:#fff;stroke:#173f48;stroke-width:4}.pfl-vertex-label,.pfl-caption,.pfl-name,.pfl-candidate text,.pfl-cell text,.pfl-handle text,.pfl-rule-cards text{fill:#173f48;font-family:system-ui,sans-serif;font-weight:800}.pfl-caption{font-size:14px}.pfl-name{font-size:28px}.pfl-plotter circle{fill:#163e48;stroke:#fff;stroke-width:4}.pfl-plotter path{stroke:#ffd469;stroke-width:3}.pfl-paint path{fill:#e86f3f}.pfl-paint.leaking{animation:pfl-leak 1.4s ease-in-out infinite}.pfl-scanner{transition:transform .2s}.pfl-scanner path{stroke:#f5a342;stroke-width:4;opacity:.7}.pfl-scanner circle{fill:#f5a342}.pfl-candidate path,.pfl-candidate .pfl-boundary{fill:#fff8;stroke:#245e67;stroke-width:7}.pfl-candidate .pfl-drop{fill:#ef7447}.pfl-candidate.accepted path,.pfl-candidate.accepted .pfl-boundary{stroke:#219267}.pfl-candidate.rejected path,.pfl-candidate.rejected .pfl-boundary{stroke:#bc4a3d;stroke-dasharray:8 6}.pfl-count-badges circle{fill:#fff;stroke:#1d6872;stroke-width:2}.pfl-count-badges text{fill:#194a52;font:800 12px system-ui}.pfl-cell{cursor:pointer}.pfl-cell polygon{fill:#fff9;stroke:#326b72;stroke-width:3;transition:.2s}.pfl-cell:hover polygon,.pfl-cell.selected polygon{fill:#ffdb77;stroke:#c15e35;stroke-width:6}.pfl-cell.verified polygon{fill:#91d2a8}.pfl-network-line{fill:none;stroke:#225f69;stroke-width:5;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--draw));pointer-events:none}.pfl-tracer{offset-path:path('M105 105L260 78L250 205L112 218Z');fill:#ef7447;pointer-events:none}.pfl-handle{cursor:grab}.pfl-handle circle{fill:#fff;stroke:#e46639;stroke-width:5}.pfl-handle text{font-size:13px;pointer-events:none}.pfl-handle:active{cursor:grabbing}.pfl-validator circle{fill:#d16a48}.pfl-validator path{fill:none;stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.pfl-validator text{font:900 10px system-ui;fill:#8e3d29}.pfl-validator.valid circle{fill:#3a9c6d}.pfl-validator.valid text{fill:#256347}.pfl-rule-cards rect{fill:#fff;stroke:#46777b;stroke-width:2}.pfl-rule-cards .on rect{fill:#ffd46b;stroke:#c96037;stroke-width:4}.pfl-rule-cards text{font-size:12px}.pfl-report{border-top-color:#e36f43!important}@keyframes pfl-fill-in{from{opacity:0;transform:scale(.94);transform-origin:center}to{opacity:.66;transform:scale(1)}}@keyframes pfl-leak{50%{transform:translateY(38px);opacity:.25}}
@media(max-width:760px){.pfl-scene{padding:14px 12px 22px;gap:10px}.pfl-scene>header{display:block}.pfl-scene>header h1{font-size:26px}.pfl-task{font-size:14px}.pfl-workspace{grid-template-columns:1fr}.pfl-drawing{min-height:300px}.pfl-svg{min-height:300px}.pfl-tools{padding:12px;display:grid;grid-template-columns:1fr 1fr}.pfl-tools>p,.pfl-tools>.pfl-live-check,.pfl-tools>.pfl-chip-row{grid-column:1/-1}.pfl-tools button{min-height:48px;font-size:13px}.pfl-binary{display:contents}.pfl-binary span{grid-column:1/-1}.pfl-support-slot:not(:empty){padding:8px}.pfl-support{padding:15px}.pfl-caption{font-size:13px}.pfl-local-footer{justify-content:stretch}.pfl-local-footer>button,.pfl-help-buttons,.pfl-help-buttons button{width:100%}.pfl-help-buttons{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:420px){.pfl-scene>header h1{font-size:22px}.pfl-drawing,.pfl-svg{min-height:270px}.pfl-tools{gap:7px}.pfl-tools button{padding:8px}.pfl-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.pfl-fill,.pfl-paint.leaking{animation:none}.pfl-scanner{transition:none}}

.pfl-scene.pfl-idle-method .pfl-drawing{outline:4px solid rgba(244,132,43,.82);outline-offset:-4px;box-shadow:0 0 0 7px rgba(244,132,43,.16),0 14px 32px rgba(100,52,20,.18);animation:pfl-idle-breathe 1.4s ease-in-out infinite alternate}
.pfl-help-buttons [data-pfl-action="support"].pfl-idle-support{border-color:#f4842b;box-shadow:0 0 0 5px rgba(244,132,43,.2),0 8px 22px rgba(122,58,12,.2)}
@keyframes pfl-idle-breathe{from{outline-color:rgba(244,132,43,.48)}to{outline-color:rgba(244,132,43,.96)}}
@media(prefers-reduced-motion:reduce){.pfl-scene.pfl-idle-method .pfl-drawing{animation:none}}

/* grade5-polygon-elements.css */
body.pel-active{--pel-ink:#17384a;--pel-teal:#118c8c;--pel-gold:#f4b740;--pel-coral:#e76852;--pel-paper:#fff9e7;background:#dcefe9}.pel-board{padding:0!important;background:radial-gradient(circle at 18% 8%,#fff8dc 0,transparent 28%),linear-gradient(145deg,#d7f1eb,#f5e7cf)!important;overflow:auto}.pel-scene{width:min(1190px,100%);min-height:100%;margin:auto;padding:18px 24px 28px;box-sizing:border-box;color:var(--pel-ink);display:flex;flex-direction:column;gap:13px}.pel-scene>header{display:flex;align-items:baseline;gap:15px}.pel-scene>header span{font-size:12px;font-weight:950;letter-spacing:.12em;color:#a64b35}.pel-scene>header h1{font-size:clamp(25px,3vw,39px);line-height:1.05;margin:0}.pel-task{margin:0;max-width:1040px;font-size:clamp(15px,1.45vw,18px);line-height:1.45}.pel-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,300px);gap:16px;align-items:stretch}.pel-drawing,.pel-tools{border:1px solid #fff9;border-radius:24px;background:#fffc;box-shadow:0 15px 36px #244b4b20}.pel-drawing{min-height:400px;overflow:hidden;position:relative}.pel-tools{padding:15px;display:flex;flex-direction:column;justify-content:center;gap:9px}.pel-tools p,.pel-tools strong{margin:0;line-height:1.38}.pel-tools button,.pel-local-footer button,.pel-support button{min-height:46px;border:1px solid #1d627235;border-radius:14px;padding:9px 12px;background:#fff;color:var(--pel-ink);font:750 14px/1.2 inherit;cursor:pointer;box-shadow:0 3px 0 #15364b16}.pel-tools button:hover,.pel-tools button[aria-pressed=true],.pel-local-footer button:hover{background:#d9f4ed;border-color:#158c8b}.pel-tools button:focus-visible,.pel-local-footer button:focus-visible,.pel-support button:focus-visible,.pel-vertex:focus-visible,.pel-target:focus-visible,.pel-tile-slot:focus-visible{outline:4px solid #ffd15c;outline-offset:3px}.pel-tools button:disabled{opacity:.54;cursor:default}.pel-message{min-height:24px;margin:0;font-weight:800}.pel-correct{color:#167144}.pel-retry{color:#aa3f31}.pel-hint{color:#8c5a0e}.pel-local-footer{display:flex;justify-content:flex-end}.pel-help-buttons{display:flex;gap:9px}.pel-support-slot:not(:empty){position:fixed;inset:0;z-index:50;background:#17394a77;display:grid;place-items:center;padding:18px}.pel-support{width:min(660px,95vw);max-height:88vh;overflow:auto;background:#fffaf0;border-radius:24px;padding:20px;box-shadow:0 24px 80px #102d3b66}.pel-support header{display:flex;align-items:center;justify-content:space-between}.pel-support p{line-height:1.45}.pel-mini-model{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:18px;border-radius:18px;background:#e1f3ed}.pel-small-step{margin-top:14px;padding:14px;border:1px solid #153c4d22;border-radius:16px}.pel-small-step button{margin:4px}.pel-svg{display:block;width:100%;height:100%;min-height:400px;touch-action:manipulation}.pel-bed{stroke:#fff;stroke-width:3;filter:url(#pel-shadow)}.pel-bed.garden{fill:#d9edc0}.pel-bed.factory{fill:#dce8ef}.pel-bed.route{fill:#d9f0ec}.pel-bed.measure{fill:#f3ead8}.pel-bed.loom{fill:#efe1d5}.pel-bed.origami{fill:#d9e7f1}.pel-bed.laser{fill:#172f4b}.pel-bed.detective{fill:#e9ddc6}.pel-polygon,.pel-route-ring,.pel-laser-ring,.pel-audit-ring{fill:#fff7;stroke:#184b57;stroke-width:8;stroke-linejoin:round}.pel-route-ring{fill:#eaf9f1;stroke:#247e78}.pel-laser-ring{fill:#153d57;stroke:#65ddeb}.pel-audit-ring{fill:#f7efdb;stroke:#70533b}.pel-extension{stroke:#d2684d;stroke-width:4;stroke-dasharray:9 7}.pel-target{cursor:pointer}.pel-target.edge line{stroke:#f08b35;stroke-width:19;stroke-linecap:round}.pel-target.vertex circle{fill:#31a66d;stroke:#fff;stroke-width:5}.pel-target.inner path{fill:none;stroke:#5b76df;stroke-width:15;stroke-linecap:round}.pel-target.outer path{fill:none;stroke:#d14d87;stroke-width:15;stroke-linecap:round}.pel-target:not(.on){opacity:.45}.pel-target.on{opacity:1;filter:drop-shadow(0 0 8px #fff)}.pel-tags rect{fill:#fff;stroke:#315c67;stroke-width:2}.pel-tags text,.pel-caption,.pel-counters text,.pel-route-name,.pel-candidate text,.pel-fold-count,.pel-laser-core text,.pel-claim-card text,.pel-claim-card div,.pel-evidence text{font-family:system-ui,sans-serif;fill:var(--pel-ink);font-weight:850}.pel-tags .on rect{fill:#ffd66c;stroke:#b95838;stroke-width:4}.pel-caption{font-size:14px}.pel-belt{stroke:#78919c;stroke-width:22;stroke-dasharray:35 12}.pel-count-dots circle{fill:#f4b740;stroke:#fff;stroke-width:3;animation:pel-pop .4s calc(var(--i)*.07s) both}.pel-counters rect{fill:#fff;stroke:#466e7c;stroke-width:3}.pel-counters text{font-size:12px}.pel-counters .number{font-size:28px;fill:#c2573f}.pel-counter-control{display:grid;grid-template-columns:1fr 42px 32px 42px;align-items:center;gap:5px}.pel-counter-control button{padding:4px}.pel-route-line{fill:none;stroke:#f4a83d;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 3px #7b421a55)}.pel-vertex{cursor:pointer}.pel-vertex circle{fill:#fff;stroke:#1a6370;stroke-width:4}.pel-vertex text{font:900 14px system-ui;fill:#173a48;pointer-events:none}.pel-vertex.selected circle{fill:#ffd35e;stroke:#b7573e}.pel-train rect{fill:#dc6148;stroke:#fff;stroke-width:3}.pel-train circle{fill:#183947}.pel-route-name{font-size:21px}.pel-candidate>.pel-polygon{fill:#fff;stroke:#526c72;stroke-width:6}.pel-candidate.picked>.pel-polygon{fill:#ffe28d;stroke:#c75e3f}.pel-measure-label rect{fill:#fff;stroke:#176f79;stroke-width:2}.pel-measure-label text{font-size:11px}.pel-ruler rect{fill:#ffe080;stroke:#85621e;stroke-width:2}.pel-ruler path{stroke:#85621e;stroke-width:2}.pel-protractor path{fill:#bce7df99;stroke:#18736f;stroke-width:3}.pel-measure-control{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:7px;border:1px solid #1739491f;border-radius:13px}.pel-measure-control b{grid-column:1/-1}.pel-measure-control button:last-child{grid-column:1/-1}.pel-tile-slot{cursor:pointer}.pel-tile-slot polygon,.pel-tile-slot rect{fill:#fff9;stroke:#8a6d59;stroke-width:3;transition:.25s}.pel-tile-slot text{font:900 20px system-ui;fill:#8b6950}.pel-tile-slot.filled polygon,.pel-tile-slot.filled rect{fill:#58bca6;stroke:#fff;stroke-width:5;filter:drop-shadow(0 4px 5px #385c4b55)}.pel-tile-slot.filled:nth-child(even) polygon,.pel-tile-slot.filled:nth-child(even) rect{fill:#efb84d}.pel-tile-slot.filled text{fill:#fff}.pel-gap-meter text{font:900 11px system-ui;fill:#17394a}.pel-gap-meter rect{fill:#e9f0ee}.pel-gap-meter .level{fill:#e66d55;transition:width .3s}.pel-paper{fill:url(#pel-paper);stroke:#ae7d45;stroke-width:4;filter:url(#pel-shadow)}.pel-fold-lines line{stroke:#745a54;stroke-width:2;stroke-dasharray:8 7}.pel-flap{fill:#f3a96fbb;stroke:#fff;stroke-width:2;transform-box:fill-box;transform-origin:center;transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .4s}.pel-flap.folded{transform:rotate(calc(var(--fold) + 180deg)) scale(.58) translateX(-110px);opacity:.72}.pel-fold-skeleton{fill:none;stroke:#266e83;stroke-width:10;stroke-linejoin:round;opacity:.12;transition:opacity .5s}.pel-fold-skeleton.on{opacity:1;filter:drop-shadow(0 0 7px #5ae4ff)}.pel-fold-count{font-size:23px}.pel-diagonal{stroke:url(#pel-laser);stroke-width:8;stroke-linecap:round;filter:drop-shadow(0 0 8px #5ae4ff);animation:pel-draw .45s both}.pel-laser-core circle{fill:#213f62;stroke:#72e6f1;stroke-width:4}.pel-laser-core text{fill:#fff;font-size:23px}.pel-claim-card rect{fill:#fff9ef;stroke:#7c583d;stroke-width:4;filter:url(#pel-shadow)}.pel-claim-card text{font-size:13px}.pel-claim-card div{font:800 16px/1.35 system-ui;color:#17384a;text-align:center}.pel-magnifier circle,.pel-magnifier path{fill:none;stroke:#5a4334;stroke-width:13}.pel-evidence circle{fill:#2c7f77;stroke:#fff;stroke-width:3}.pel-evidence text{fill:#fff}.pel-binary{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pel-scene.pel-idle-method .pel-drawing{outline:4px solid #f18b35;outline-offset:-4px;animation:pel-idle 1.3s ease-in-out infinite alternate}.pel-idle-support{box-shadow:0 0 0 5px #f18b3533,0 8px 22px #733b1c33!important;border-color:#f18b35!important}@keyframes pel-pop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes pel-draw{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}@keyframes pel-idle{to{outline-color:#f18b35;box-shadow:0 0 0 7px #f18b3529}}
@media(max-width:780px){.pel-scene{padding:13px 11px 22px;gap:9px}.pel-scene>header{display:block}.pel-scene>header h1{font-size:26px}.pel-task{font-size:14px}.pel-workspace{grid-template-columns:1fr}.pel-drawing,.pel-svg{min-height:310px}.pel-tools{padding:11px;display:grid;grid-template-columns:1fr 1fr}.pel-tools>p,.pel-tools>strong,.pel-tools>.pel-measure-control,.pel-tools>.pel-counter-control{grid-column:1/-1}.pel-tools button{min-height:48px}.pel-local-footer,.pel-help-buttons{width:100%}.pel-help-buttons{display:grid;grid-template-columns:1fr 1fr}.pel-local-footer>button{width:100%}.pel-caption{font-size:13px}.pel-support{padding:15px}.pel-measure-control{grid-template-columns:1fr 1fr}.pel-measure-control b{grid-column:1/-1}}
@media(max-width:430px){.pel-scene>header h1{font-size:22px}.pel-drawing,.pel-svg{min-height:275px}.pel-tools{gap:6px}.pel-tools button{font-size:13px;padding:8px}.pel-caption{font-size:11px}.pel-route-name{font-size:16px}.pel-claim-card div{font-size:14px}}
@media(prefers-reduced-motion:reduce){.pel-count-dots circle,.pel-diagonal,.pel-flap,.pel-fold-skeleton,.pel-gap-meter .level,.pel-scene.pel-idle-method .pel-drawing{animation:none;transition:none}}
.pel-board{container-type:inline-size}
@container (max-width:720px){.pel-scene{padding:13px 11px 22px;gap:9px}.pel-scene>header{display:block}.pel-scene>header h1{font-size:26px}.pel-task{font-size:14px}.pel-workspace{grid-template-columns:1fr}.pel-drawing,.pel-svg{min-height:330px}.pel-tools{padding:11px;display:grid;grid-template-columns:1fr 1fr}.pel-tools>p,.pel-tools>strong,.pel-tools>.pel-measure-control,.pel-tools>.pel-counter-control{grid-column:1/-1}.pel-tools button{min-height:48px}.pel-local-footer,.pel-help-buttons{width:100%}.pel-help-buttons{display:grid;grid-template-columns:1fr 1fr}.pel-local-footer>button{width:100%}.pel-caption{font-size:13px}.pel-support{padding:15px}.pel-measure-control{grid-template-columns:1fr 1fr}.pel-measure-control b{grid-column:1/-1}}
@container (max-width:430px){.pel-scene>header h1{font-size:22px}.pel-drawing,.pel-svg{min-height:285px}.pel-tools{gap:6px}.pel-tools button{font-size:13px;padding:8px}.pel-caption{font-size:11px}.pel-route-name{font-size:16px}.pel-claim-card div{font-size:14px}}
@media(max-width:900px) and (min-width:621px){body.pel-active,body.pel-active .lesson-shell{max-width:100%;overflow-x:hidden}body.pel-active .topic-lesson-shell .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px}body.pel-active .topic-lesson-shell .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}body.pel-active .topic-lesson-shell .restart-lesson{grid-column:3;grid-row:1}body.pel-active .topic-lesson-shell .skip-section,body.pel-active .topic-lesson-shell .lesson-time{display:none}}
.pel-flap.folded{transform:none;opacity:.12}.pel-flap.just-folded{animation:pel-fold-open .9s cubic-bezier(.2,.8,.2,1) both}.pel-fold-skeleton.on{animation:pel-skeleton-on .3s .9s both}@keyframes pel-fold-open{0%{transform:none;opacity:1}48%{transform:rotate(calc(var(--fold) + 180deg)) scale(.58) translateX(-110px);opacity:.72}100%{transform:none;opacity:.12}}@keyframes pel-skeleton-on{from{opacity:.12}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.pel-flap.just-folded,.pel-fold-skeleton.on{animation:none}.pel-fold-skeleton.on{opacity:1}}

/* grade5-triangle.css */
:root{--tri-ink:#173a4b;--tri-teal:#167f83;--tri-coral:#df674d;--tri-gold:#f1bd4c;--tri-paper:#fffaf0}
.tri-board{container-type:inline-size}.tri-scene{min-height:100%;display:grid;gap:12px;padding:18px 20px 26px;color:var(--tri-ink);background:linear-gradient(145deg,#f7fbf7,#eef6f4);border-radius:26px}.tri-scene>header{display:flex;align-items:baseline;gap:14px}.tri-scene>header span{font:900 11px/1 system-ui;letter-spacing:.12em;color:#40717c}.tri-scene>header h1{margin:0;font:900 clamp(24px,3vw,38px)/1.05 system-ui}.tri-task{margin:0;max-width:1020px;font:650 16px/1.45 system-ui}.tri-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,290px);gap:14px;align-items:stretch}.tri-drawing,.tri-tools{border:1px solid #fff9;border-radius:24px;background:#fffd;box-shadow:0 15px 38px #173a4b1c}.tri-drawing{min-height:400px;overflow:hidden;position:relative}.tri-tools{padding:15px;display:flex;flex-direction:column;justify-content:center;gap:9px}.tri-tools p,.tri-tools strong,.tri-tools b{margin:0;line-height:1.35}.tri-tools button,.tri-local-footer button,.tri-support button{min-height:46px;border:1px solid #1d627735;border-radius:14px;padding:9px 12px;background:#fff;color:var(--tri-ink);font:750 14px/1.2 system-ui;cursor:pointer;box-shadow:0 3px 0 #15364b16;touch-action:manipulation}.tri-tools button:hover,.tri-tools button[aria-pressed=true],.tri-local-footer button:hover{background:#d8f3ed;border-color:#16878a}.tri-tools button:focus-visible,.tri-local-footer button:focus-visible,.tri-support button:focus-visible,.tri-edge-hit:focus-visible,.tri-angle-hit:focus-visible,.tri-angle-token:focus-visible{outline:4px solid #ffd15c;outline-offset:3px}.tri-tools button:disabled{opacity:.5;cursor:default}.tri-message{min-height:24px;margin:0;font:800 14px/1.35 system-ui}.tri-correct{color:#167144}.tri-retry{color:#a93e31}.tri-hint{color:#8b5a0d}.tri-local-footer{display:flex;justify-content:flex-end}.tri-help-buttons{display:flex;gap:9px}.tri-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.tri-choice-grid.compact button{font-size:12px;padding:6px}.tri-svg{display:block;width:100%;height:100%;min-height:400px;touch-action:manipulation}.tri-bed{stroke:#fff;stroke-width:3;filter:url(#tri-shadow)}.tri-bed.camp{fill:#dcebd0}.tri-bed.bridge{fill:#d5e7ef}.tri-bed.passport{fill:#e9dfcf}.tri-bed.paper{fill:#e9e3f3}.tri-bed.rail{fill:#18344a}.tri-bed.radar{fill:#102d48}.tri-bed.archive{fill:#ead9c4}.tri-shape{fill:#fff9;stroke:#1d6170;stroke-width:8;stroke-linejoin:round;filter:drop-shadow(0 7px 7px #183c4c26)}.tri-caption,.tri-svg text{font-family:system-ui,sans-serif;font-weight:850;fill:var(--tri-ink)}.tri-caption{font-size:13px}.tri-mountain{fill:#c7ddbb;stroke:#86a686;stroke-width:4}.tri-edge-hit{cursor:pointer}.tri-edge-hit>line:first-child{stroke:#1d6170;stroke-width:18;stroke-linecap:round;opacity:.32}.tri-edge-hit.measured>line:first-child{stroke:#f4a43f;opacity:1}.tri-equality-tick{stroke-width:4;stroke-linecap:round}.tri-value rect{fill:#fff;stroke:#255c66;stroke-width:2}.tri-value text{font-size:12px}.tri-ruler-object{animation:tri-ruler-place .55s cubic-bezier(.2,.8,.2,1) both;filter:drop-shadow(0 5px 5px #4c371b44);pointer-events:none}.tri-ruler-object rect{fill:url(#tri-ruler);stroke:#8d671f;stroke-width:2}.tri-ruler-object path{stroke:#7a581c;stroke-width:2}.tri-bridge-lines{fill:none;stroke:#698e9d;stroke-width:17;stroke-linecap:round;stroke-linejoin:round}.bridge-shape{fill:#eff9fa}.tri-angle-hit{cursor:pointer}.tri-angle-hit circle{fill:#fff8;stroke:#7c93a0;stroke-width:3}.tri-angle-hit text{font-size:14px}.tri-angle-hit.measured circle{fill:#ffe38a;stroke:#d67148}.tri-protractor-object{transition:transform .7s cubic-bezier(.22,.8,.25,1);filter:drop-shadow(0 5px 4px #173c4c33);pointer-events:none}.tri-protractor-object path:first-child{fill:#90dfd699;stroke:#167b79;stroke-width:3}.tri-protractor-object path:not(:first-child){fill:none;stroke:#167b79;stroke-width:2;opacity:.65}.tri-protractor-object.parked{opacity:.45}.tri-ninety-key rect{fill:#fff;stroke:#326a77;stroke-width:2}.tri-ninety-key path{fill:none;stroke:#df674d;stroke-width:5}.tri-ninety-key text{font-size:12px}.tri-passport-card rect{fill:#fff8ea;stroke:#8a6b4e;stroke-width:4;filter:url(#tri-shadow)}.tri-passport-card path{stroke:#c5aa87;stroke-width:2;stroke-dasharray:8 7}.tri-passport-card text{font-size:13px}.passport-shape{fill:#ecf7f3}.tri-passport-stamps rect{fill:#fff;stroke:#93836f;stroke-width:3}.tri-passport-stamps text{font-size:12px}.tri-passport-stamps g.on rect{fill:#ffe080;stroke:#c25a45;stroke-width:5;animation:tri-stamp .45s cubic-bezier(.2,1.4,.4,1) both}.tri-paper-sheet{fill:#fffaf0;stroke:#8d735b;stroke-width:3;filter:url(#tri-shadow)}.paper-shape{fill:#f6d29b}.tri-cut-lines circle{fill:none;stroke:#a67675;stroke-width:2;stroke-dasharray:7 6}.tri-angle-token{cursor:pointer;transform:translate(var(--sx),var(--sy)) rotate(var(--sr));transform-origin:0 0;transform-box:view-box;filter:drop-shadow(0 4px 4px #1c3b4d42)}.tri-angle-token path{stroke:#fff;stroke-width:3}.tri-angle-token text{font-size:11px;fill:#fff;pointer-events:none}.tri-angle-token.moved{transform:translate(var(--tx),var(--ty)) rotate(var(--tr));opacity:.96}.tri-angle-token.just-moved{animation:tri-token-move .85s cubic-bezier(.2,.8,.2,1) var(--delay) both}.tri-scissors circle{fill:#fff;stroke:#735563;stroke-width:4}.tri-scissors path{fill:none;stroke:#735563;stroke-width:5;stroke-linecap:round}.rail-source{fill:none;stroke:#6ea5b8;stroke-width:5;opacity:.48}.tri-straight-guide{stroke:#e8f6f4;stroke-width:9;stroke-linecap:round}.tri-half-protractor{fill:none;stroke:#61dbc7;stroke-width:5;stroke-dasharray:9 7;opacity:0;transition:opacity .4s}.tri-half-protractor.on{opacity:.75}.tri-gap-readout rect{fill:#fff1;stroke:#8ed8db;stroke-width:2}.tri-gap-readout text{fill:#eafafa}.tri-gap-readout text:last-child{font-size:25px}.tri-sum-readout{fill:#fff!important;font-size:14px;opacity:.7}.tri-sum-readout.on{fill:#ffe174!important;font-size:18px;opacity:1;animation:tri-stamp .5s both}.radar-shape{fill:#1d5872;stroke:url(#tri-radar)}.tri-radar-dish .tri-angle-hit circle{fill:#102d48;stroke:#59d9c5}.tri-radar-dish .tri-angle-hit text,.tri-radar-dish>text{fill:#fff}.tri-180-bar>rect:first-child{fill:#eef7f7;stroke:#fff;stroke-width:2}.tri-180-bar .block{stroke:none}.tri-180-bar .first{fill:#f58a47}.tri-180-bar .second{fill:#35a8d0;transition:x .6s cubic-bezier(.2,.8,.2,1)}.tri-180-bar .missing{fill:#56ad73;opacity:.18;transition:opacity .4s}.tri-180-bar .missing.revealed{opacity:1}.tri-180-bar text{fill:#163a4a;font-size:13px}.tri-equation rect{fill:#fff1;stroke:#70b4c6;stroke-width:2}.tri-equation text{fill:#fff;font-size:17px}.tri-archive-shelves rect{fill:#fff7;stroke:#846b53;stroke-width:2}.tri-archive-shelves rect.current{fill:#ffe38a;stroke:#c56348;stroke-width:4}.tri-archive-shelves rect.filed{fill:#77c5a1;stroke:#fff}.tri-archive-shelves text{font-size:12px}.archive-shape{fill:#fffaf0}.tri-seals circle{fill:#fff8;stroke:#8e7257;stroke-width:3}.tri-seals text{font-size:13px}.tri-support-slot:not(:empty){position:fixed;inset:0;z-index:50;background:#17394a78;display:grid;place-items:center;padding:18px}.tri-support{width:min(660px,95vw);max-height:88vh;overflow:auto;background:#fffaf0;border-radius:24px;padding:20px;box-shadow:0 24px 80px #102d3b66}.tri-support header{display:flex;align-items:center;justify-content:space-between}.tri-support p{line-height:1.45}.tri-small-step{margin-top:14px;padding:14px;border:1px solid #153c4d22;border-radius:16px}.tri-small-step button{margin:4px}.tri-mini-model{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:18px;border-radius:18px;background:#dff1eb}.tri-mini-bars{height:100px;display:flex;align-items:flex-end;justify-content:center;gap:14px;padding:12px;background:#e9f3ef;border-radius:18px}.tri-mini-bars i{display:block;width:90px;height:16px;border-radius:8px;background:#f28d4d}.tri-mini-bars i:nth-child(2){width:90px;background:#35a8d0}.tri-mini-bars i:nth-child(3){width:60px;background:#56ad73}.tri-mini-straight{position:relative;height:115px;background:#18344a;border-radius:18px}.tri-mini-straight:after{content:"";position:absolute;left:12%;right:12%;bottom:26px;height:5px;background:#fff}.tri-mini-straight i{position:absolute;left:50%;bottom:28px;width:54px;height:54px;border-radius:54px 0 0 0;transform-origin:0 100%;background:#f58a47}.tri-mini-straight i:nth-child(2){transform:rotate(55deg);background:#35a8d0}.tri-mini-straight i:nth-child(3){transform:rotate(115deg);background:#56ad73}.tri-mini-straight b{position:absolute;right:15px;bottom:15px;color:#fff}.tri-scene.tri-idle-method .tri-drawing{outline:4px solid #f18b35;outline-offset:-4px;animation:tri-idle 1.3s ease-in-out infinite alternate}.tri-idle-support{box-shadow:0 0 0 5px #f18b3533,0 8px 22px #733b1c33!important;border-color:#f18b35!important}
@keyframes tri-ruler-place{from{transform:translate(520px,70px) rotate(0);opacity:.2}to{opacity:1}}
@keyframes tri-token-move{from{transform:translate(var(--sx),var(--sy)) rotate(var(--sr));opacity:1}to{transform:translate(var(--tx),var(--ty)) rotate(var(--tr));opacity:.96}}
@keyframes tri-stamp{from{transform:scale(.72);opacity:.25}to{transform:scale(1);opacity:1}}
@keyframes tri-idle{to{outline-color:#f18b35;box-shadow:0 0 0 7px #f18b3529}}
@media(max-width:780px){.tri-scene{padding:13px 11px 22px;gap:9px}.tri-scene>header{display:block}.tri-scene>header h1{font-size:26px}.tri-task{font-size:14px}.tri-workspace{grid-template-columns:1fr}.tri-drawing,.tri-svg{min-height:330px}.tri-tools{padding:11px;display:grid;grid-template-columns:1fr 1fr}.tri-tools>p,.tri-tools>strong,.tri-tools>b,.tri-tools>.tri-choice-grid{grid-column:1/-1}.tri-tools button{min-height:48px}.tri-local-footer,.tri-help-buttons{width:100%}.tri-help-buttons{display:grid;grid-template-columns:1fr 1fr}.tri-local-footer>button{width:100%}.tri-caption{font-size:12px}.tri-support{padding:15px}}
@media(max-width:430px){.tri-scene>header h1{font-size:22px}.tri-drawing,.tri-svg{min-height:285px}.tri-tools{gap:6px}.tri-tools button{font-size:13px;padding:8px}.tri-caption{font-size:10px}.tri-choice-grid{grid-template-columns:1fr 1fr}.tri-choice-grid button:last-child:nth-child(odd){grid-column:1/-1}.tri-equation text{font-size:14px}}
@media(max-width:430px){body.tri-active .topic-lesson-shell .lesson-header{min-height:54px;padding-block:2px}body.tri-active .topic-lesson-shell .section-track{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}body.tri-active .topic-lesson-shell .section-segment{padding:1px 0;min-width:0}body.tri-active .topic-lesson-shell .teacher-classroom{gap:3px;padding-top:2px}body.tri-active .topic-lesson-shell .lesson-avatar{height:74px}body.tri-active .topic-lesson-shell .teacher-bubble{min-height:44px;padding:6px;font-size:10px}body.tri-active .topic-lesson-shell .narration-controls button{min-height:28px}body.tri-active .topic-lesson-shell .raise-hand{min-height:43px}body.tri-active .topic-lesson-shell .talk-help{display:none}body.tri-active .tri-scene{padding:5px 8px 7px;gap:3px}body.tri-active .tri-scene>header{display:flex;gap:7px}body.tri-active .tri-scene>header h1{font-size:18px}body.tri-active .tri-scene>header span{font-size:9px}body.tri-active .tri-task{font-size:12px;line-height:1.24}body.tri-active .tri-drawing,body.tri-active .tri-svg{min-height:140px;height:140px}body.tri-active .tri-tools{padding:7px;gap:3px}body.tri-active .tri-tools button{min-height:46px}body.tri-active .tri-choice-grid,body.tri-active .tri-choice-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}body.tri-active .tri-choice-grid button,body.tri-active .tri-choice-grid.compact button{grid-column:auto!important;font-size:10px;padding:5px 2px}}
@container (max-width:720px){.tri-scene{padding:13px 11px 22px;gap:9px}.tri-scene>header{display:block}.tri-scene>header h1{font-size:26px}.tri-task{font-size:14px}.tri-workspace{grid-template-columns:1fr}.tri-drawing,.tri-svg{min-height:330px}.tri-tools{padding:11px;display:grid;grid-template-columns:1fr 1fr}.tri-tools>p,.tri-tools>strong,.tri-tools>b,.tri-tools>.tri-choice-grid{grid-column:1/-1}.tri-tools button{min-height:48px}.tri-local-footer,.tri-help-buttons{width:100%}.tri-help-buttons{display:grid;grid-template-columns:1fr 1fr}.tri-local-footer>button{width:100%}}
@container (max-width:430px){.tri-scene>header h1{font-size:22px}.tri-drawing,.tri-svg{min-height:285px}.tri-tools{gap:6px}.tri-choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px) and (min-width:621px){body.tri-active,body.tri-active .lesson-shell{max-width:100%;overflow-x:hidden}body.tri-active .topic-lesson-shell .lesson-header{grid-template-columns:48px minmax(0,1fr) auto;gap:8px}body.tri-active .topic-lesson-shell .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}body.tri-active .topic-lesson-shell .restart-lesson{grid-column:3;grid-row:1}body.tri-active .topic-lesson-shell .skip-section,body.tri-active .topic-lesson-shell .lesson-time{display:none}}
@media(min-width:901px) and (max-height:800px){body.tri-active .topic-lesson-shell .teacher-classroom{padding-top:10px;gap:20px}body.tri-active .topic-lesson-shell .teaching-area{width:min(100%,780px)}body.tri-active .tri-scene{padding:10px 14px 14px;gap:6px}body.tri-active .tri-scene>header h1{font-size:28px}body.tri-active .tri-task{font-size:14px;line-height:1.3}body.tri-active .tri-drawing,body.tri-active .tri-svg{min-height:300px}body.tri-active .tri-tools{padding:10px;gap:6px}}
@media(prefers-reduced-motion:reduce){.tri-ruler-object,.tri-angle-token.just-moved,.tri-passport-stamps g.on rect,.tri-sum-readout.on,.tri-scene.tri-idle-method .tri-drawing{animation:none!important;transition:none!important}}
.tri-token-label{transform:rotate(var(--lr));transform-box:fill-box;transform-origin:center}

/* grade5-triangle-construction.css */
.topic-lesson-shell:has(.tci-board) .teacher-classroom{max-width:1240px;grid-template-columns:235px minmax(0,1fr);gap:24px;padding:14px 24px;align-items:start}
.topic-lesson-shell:has(.tci-board) .teaching-area{width:100%;max-width:none}
.topic-lesson-shell:has(.tci-board) .lesson-avatar{height:200px}
.topic-lesson-shell:has(.tci-board) .teacher-bubble{max-height:170px;min-height:80px;overflow:auto;font-size:14px}
.topic-lesson-shell:has(.tci-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:44vw}
.topic-lesson-shell:has(.tci-board) .section-segment{min-width:88px}
.topic-lesson-shell:has(.tci-board) #lesson-footer:empty,.topic-lesson-shell:has(.tci-board) #lesson-support-dock:empty{display:none}
body:has(.tci-board) .feedback-launcher{bottom:5px;left:5px;right:auto}
.tci-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;background:transparent!important;border:0!important;border-radius:24px!important;box-shadow:none!important}
.tci-scene{min-height:100%;box-sizing:border-box;border-radius:24px;padding:14px 16px 12px;background:linear-gradient(150deg,#f8fffd,#edf7f1);border:1px solid #d3e5dd;display:flex;flex-direction:column;gap:8px;color:#183c36;overflow:hidden}
.tci-scene>header{display:flex;align-items:baseline;gap:12px;min-height:30px}.tci-scene>header span{font-size:11px;font-weight:900;letter-spacing:.1em;color:#147a68}.tci-scene>header h1{margin:0;font-size:clamp(20px,2.2vw,30px);line-height:1}
.tci-task{margin:0;font-size:14px;line-height:1.36;min-height:38px;max-width:980px}.tci-workspace{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(230px,.8fr);gap:10px;min-height:0;flex:1}.tci-drawing,.tci-tools{min-width:0;border-radius:20px}.tci-drawing{background:#fff;box-shadow:0 12px 28px #164c3a16;overflow:hidden;display:grid;place-items:center}.tci-tools{background:#183c36;color:#fff;padding:12px;display:flex;flex-direction:column;gap:8px;overflow:auto}.tci-tools p,.tci-tools strong,.tci-tools b{margin:0;font-size:13px;line-height:1.3}.tci-tools button,.tci-local-footer button,.tci-support button{min-height:46px;border:0;border-radius:14px;padding:9px 12px;font:800 13px/1.15 system-ui;color:#173b35;background:#fff;cursor:pointer;box-shadow:0 3px 0 #b8cec5}.tci-tools button:hover,.tci-tools button:focus-visible,.tci-local-footer button:hover,.tci-local-footer button:focus-visible,.tci-support button:hover,.tci-support button:focus-visible{outline:4px solid #ff9f43;outline-offset:1px}.tci-tools button[aria-pressed="true"],.tci-support button[aria-pressed="true"]{background:#ffe1a8;box-shadow:0 3px 0 #e09b27}.tci-tools button:disabled{opacity:.48;cursor:default;box-shadow:none}.tci-choice-grid,.tci-adjust-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tci-step-grid{display:grid;grid-template-columns:1fr;gap:6px}
.tci-svg{width:100%;height:100%;max-height:392px;display:block}.tci-bed{stroke:#ffffff90;stroke-width:2}.tci-caption{font:800 13px system-ui;fill:#294b45}.tci-svg text{font-family:system-ui;font-weight:800;fill:#193c36}.tci-bed.workbench{fill:#d8b47c}.tci-bed.radar{fill:#d8f3ed}.tci-bed.drafting{fill:#dae8f1}.tci-bed.balance{fill:#ffead1}.tci-bed.lock{fill:#e8e4ff}.tci-bed.mixer{fill:#d6f2f0}.tci-bed.parchment{fill:#d9b984}.tci-bed.studio{fill:#f3e2f4}
.tci-board-sheet,.tci-drafting-sheet{fill:#fffef8;stroke:#d1c7ab;stroke-width:2}.tci-compass-trace{fill:none;stroke:#158bcb;stroke-width:7;stroke-dasharray:780;stroke-dashoffset:780;transition:stroke-dashoffset 1.2s ease-out}.tci-compass-trace.drawn{stroke-dashoffset:0}.tci-compass-object{transform-origin:320px 194px;transform:rotate(var(--turn));transition:transform 1.2s ease-out;filter:url(#tci-shadow)}.tci-compass-object line,.tci-compass-object path{fill:none;stroke:#344b54;stroke-width:8;stroke-linecap:round}.tci-compass-object circle{fill:#ff9f43}.tci-radius-sample{opacity:0;transition:opacity .25s}.tci-radius-sample.shown{opacity:1}.tci-radius-sample line{stroke:#f36d54;stroke-width:4}.tci-radius-sample circle{fill:#f36d54}.tci-radius-readout rect{fill:#183c36}.tci-radius-readout text{fill:#fff;font-size:12px}
.tci-circle{fill:#ffffff38;stroke-width:5;stroke-dasharray:8 5;opacity:0;transition:opacity .3s}.tci-circle.drawn{opacity:1}.tci-circle.circle-a{stroke:#1594c8}.tci-circle.circle-b{stroke:#f06b4f}.tci-circles.dim .tci-circle.drawn{opacity:.52}.tci-center circle{fill:#173c36}.tci-center text,.tci-intersection text{font-size:17px}.tci-intersection circle:first-child{fill:#ff9f43;stroke:#fff;stroke-width:3}.tci-intersection .hit{fill:transparent;stroke:none}.tci-intersection.selected circle:first-child,.tci-intersection.chosen circle:first-child{fill:#22b573;stroke:#183c36;stroke-width:4}.tci-lens{fill:#ffd56b66;stroke:#e8a52a;stroke-width:2}.tci-radar-rings circle{fill:none;stroke:#18816d22;stroke-width:1}.tci-intersection-readout rect{fill:#183c36}.tci-intersection-readout text{fill:#fff;font-size:12px}
.tci-triangle-lines line{stroke:#a32374;stroke-width:8;stroke-linecap:round;stroke-dasharray:500;animation:tci-line-in .75s ease-out both}.tci-triangle-lines .edge-1{animation-delay:.08s}.tci-triangle-lines .edge-2{animation-delay:.16s}@keyframes tci-line-in{from{stroke-dashoffset:500}to{stroke-dashoffset:0}}.tci-mirror-triangle .tci-triangle-lines line{stroke:#31a8b6;opacity:.75}.tci-mirror-axis{stroke:#52737d;stroke-width:2;stroke-dasharray:7 7}.tci-straightedge{filter:url(#tci-shadow)}.tci-straightedge rect{fill:#efbf70}.tci-straightedge path{stroke:#724e29;stroke-width:2}
.tci-radius-threads path{fill:none;stroke:#f16d4f;stroke-width:7;stroke-linecap:round}.tci-proof-bars .bar{opacity:.15;transition:opacity .3s,transform .4s ease-out}.tci-proof-bars .bar.shown{opacity:1}.tci-proof-bars rect{fill:#50a8d1}.tci-proof-bars .bar-1 rect{fill:#f2795f}.tci-proof-bars .bar-2 rect{fill:#8f78cf}.tci-proof-bars text{font-size:12px}.tci-lock-badge circle{fill:#fff;stroke:#7b68b4;stroke-width:3}.tci-lock-badge path{fill:#af9fdb;stroke:#6f5ca4;stroke-width:5}.tci-lock-badge.locked path{fill:#58c68c;stroke:#237d51}.tci-lock-badge text{font-size:12px}.tci-mixer-console>rect{fill:#183c36}.tci-mixer-console text{fill:#fff;font-size:12px}.tci-mixer-console g>rect:first-of-type{fill:#ffffff2a}.tci-mixer-console .level{fill:#36bfa6}.tci-mixer-console .level-1{fill:#ff9363}.tci-mixer-console .level-2{fill:#d3a8ff}.tci-kind-screen{font-size:16px!important;letter-spacing:.08em}.tci-parchment{fill:url(#tci-paper);stroke:#b3874b;stroke-width:3}.tci-given-base{stroke:#1b5577;stroke-width:8;stroke-linecap:round}.tci-euclid-steps circle{fill:#fff;stroke:#a16c2a;stroke-width:2}.tci-euclid-steps .current circle{fill:#ffd36a}.tci-euclid-steps .done circle{fill:#43bd7d}.tci-euclid-steps text{font-size:8px}.tci-proposition-wall>rect,.tci-logo-board>rect{fill:#fff;stroke:#c79aca;stroke-width:2}.tci-prop rect{fill:#efe6f0;stroke:#b695b9}.tci-prop.tested rect{fill:#d9f4e6;stroke:#46a875}.tci-prop text{font-size:9px}.tci-logo-petal circle,.tci-logo-petal path{fill:none;stroke:#bca4c2;stroke-width:3;transition:fill .35s,stroke .35s}.tci-logo-petal.on circle{fill:#4fb8cf38;stroke:#218fa8}.tci-logo-petal.on path{fill:#f79b6755;stroke:#d36d37}.tci-logo-board>circle{fill:#ffcf62}.tci-logo-board>text{font-size:10px}.tci-studio-proof{fill:#3ab47e}
.tci-message{min-height:20px;margin:0;padding:5px 10px;border-radius:10px;font-size:13px;line-height:1.25}.tci-message:empty{padding:0}.tci-message.tci-correct{background:#d9f6e6;color:#175a39}.tci-message.tci-hint{background:#fff1c7;color:#6f4a0b}.tci-message.tci-retry{background:#ffe6dd;color:#7c3b27}.tci-local-footer{min-height:48px;display:flex;justify-content:flex-end;align-items:center}.tci-local-footer>button{background:#183c36;color:#fff;min-width:150px}.tci-help-buttons{display:flex;gap:8px;width:100%}.tci-help-buttons button{flex:1;background:#fff}.tci-idle-method .tci-tools{box-shadow:inset 0 0 0 5px #ff9f43}.tci-idle-support{animation:tci-pulse 1.1s ease-in-out infinite}@keyframes tci-pulse{50%{box-shadow:0 0 0 6px #ff9f4370}}
.tci-support{background:#fff8e4;border:2px solid #efb84f;border-radius:18px;padding:10px;display:grid;gap:8px}.tci-support header{display:flex;justify-content:space-between;align-items:center}.tci-support p{margin:0;font-size:13px;line-height:1.35}.tci-mini-model{display:grid;place-items:center;min-height:72px}.tci-mini-model svg{display:block;width:min(100%,360px);height:82px;border-radius:14px;background:#fff}.tci-mini-model path,.tci-mini-model circle,.tci-mini-model rect{fill:none;stroke:#2b6f67;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.tci-mini-model .equal{stroke:#e47755}.tci-mini-model .mark{fill:#ffad45;stroke:#7c5425}.tci-mini-model text{font:800 11px system-ui;fill:#183c36;text-anchor:middle}.tci-small-step{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tci-small-step p{grid-column:1/-1}.tci-support-slot:empty{display:none}.tci-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tci-report-grid span{padding:7px 9px;border-radius:10px;background:#edf1ef}.tci-report-grid .done{background:#d9f6e6;color:#175a39}
@media(max-width:1000px){.topic-lesson-shell:has(.tci-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px auto;gap:6px;padding:6px 8px}.topic-lesson-shell:has(.tci-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0;max-width:100%}.topic-lesson-shell:has(.tci-board) .restart-lesson{grid-column:3;grid-row:1;min-width:38px;padding:0 6px}.topic-lesson-shell:has(.tci-board) .restart-lesson b,.topic-lesson-shell:has(.tci-board) .lesson-time{display:none}.topic-lesson-shell:has(.tci-board) .skip-section{grid-column:4;grid-row:1}}
@media(max-width:850px){body:has(.tci-board) .feedback-launcher{display:none}.topic-lesson-shell:has(.tci-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.tci-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.tci-board) .lesson-teacher>*{min-width:0;max-width:100%;box-sizing:border-box}.topic-lesson-shell:has(.tci-board) .talk-help{display:none}.topic-lesson-shell:has(.tci-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.tci-board) .teacher-bubble{max-height:70px;min-height:0;margin:0;padding:6px;font-size:14px}.topic-lesson-shell:has(.tci-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.tci-board) .narration-controls button{min-width:44px;min-height:44px;padding:3px;font-size:12px}.topic-lesson-shell:has(.tci-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px;grid-template-columns:24px minmax(0,1fr);gap:3px}.topic-lesson-shell:has(.tci-board) .hand-icon{width:24px;height:30px;font-size:17px}.topic-lesson-shell:has(.tci-board) .raise-hand .sound-bars,.topic-lesson-shell:has(.tci-board) .raise-hand small{display:none}.tci-scene{padding:10px;border-radius:18px;gap:6px;overflow:visible}.tci-scene>header{gap:7px}.tci-scene>header h1{font-size:20px}.tci-task{font-size:13px;min-height:0}.tci-workspace{grid-template-columns:minmax(0,1fr) 205px}.tci-drawing{min-height:300px}.tci-tools{overflow:visible}.tci-svg{height:300px;max-height:none}.tci-local-footer{justify-content:stretch}.tci-local-footer>button{width:100%}.tci-support{padding:9px}.tci-report-grid{grid-template-columns:1fr}}
@media(max-width:540px){.topic-lesson-shell:has(.tci-board) .lesson-header{grid-template-columns:38px minmax(0,1fr) 42px}.topic-lesson-shell:has(.tci-board) .skip-section{display:none}.topic-lesson-shell:has(.tci-board) .teacher-classroom{padding-top:4px}.topic-lesson-shell:has(.tci-board) .lesson-teacher{grid-template-rows:60px 44px}.topic-lesson-shell:has(.tci-board) .lesson-avatar{height:60px}.topic-lesson-shell:has(.tci-board) .teacher-bubble{max-height:60px}.tci-scene>header{align-items:flex-start;flex-direction:column;gap:2px}.tci-workspace{display:flex;flex-direction:column}.tci-drawing{height:290px;min-height:290px}.tci-svg{height:290px}.tci-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.tci-tools>p,.tci-tools>strong,.tci-tools>.tci-choice-grid,.tci-tools>.tci-adjust-grid,.tci-tools>.tci-step-grid{grid-column:1/-1}.tci-tools>button:last-child{grid-column:1/-1}.tci-help-buttons{display:grid;grid-template-columns:1fr}.tci-small-step{grid-template-columns:1fr 1fr}}
@container(max-width:560px){.tci-drawing{height:290px}.tci-svg{height:290px}.tci-tools button,.tci-local-footer button,.tci-support button{font-size:12px;min-height:46px}.tci-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tci-compass-trace,.tci-compass-object,.tci-radius-sample,.tci-proof-bars .bar,.tci-logo-petal circle,.tci-logo-petal path{transition:none}.tci-triangle-lines line{animation:none}.tci-idle-support{animation:none}}
.tci-notation-key{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 8px}.tci-notation-key span{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #91bab2;border-radius:999px;background:#eef8f5;font-size:10px;font-weight:800}.tci-notation-key b{color:#176b61;font-size:12px}@media(max-width:540px){.tci-notation-key{display:grid;grid-template-columns:1fr 1fr}.tci-notation-key span{border-radius:10px;font-size:8px;padding:4px 6px}.tci-notation-key b{font-size:10px}}

/* The Euclid construction legend is instructional content, not decoration. */
.tci-euclid-steps text{font-size:12px;font-weight:800}@media(max-width:540px){.tci-euclid-steps text{font-size:13px}.tci-step-grid{grid-template-columns:1fr}.tci-notation-key span{font-size:10px}.tci-notation-key b{font-size:12px}}

/* grade5-theme1-assessment.css */
.topic-lesson-shell:has(.grade5-theme1-assessment-board) .teacher-classroom{max-width:1280px;grid-template-columns:225px minmax(0,1fr);gap:20px;padding:12px 22px;align-items:start}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .lesson-avatar{height:190px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .teacher-bubble{min-height:78px;max-height:155px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:46vw}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .section-segment{min-width:92px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-theme1-assessment-board) #lesson-support-dock:empty{display:none}.grade5-theme1-assessment-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.g5t1a-shell{box-sizing:border-box;min-height:100%;padding:13px;border-radius:26px;background:linear-gradient(145deg,#effcf8,#e7f1ff 55%,#fff7df);border:1px solid #c9ded8;box-shadow:0 18px 45px #183d3420;color:#173d37;overflow:hidden}.g5t1a-shell>header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:0 5px 9px}.g5t1a-shell>header h1{margin:2px 0 0;font-size:clamp(20px,2.2vw,30px);line-height:1}.g5t1a-shell .board-kicker{font-size:10px;font-weight:950;letter-spacing:.11em;color:#117968}.g5t1a-progress{display:flex;gap:6px;align-items:center}.g5t1a-progress i{width:17px;height:7px;border-radius:6px;background:#bbccc8}.g5t1a-progress i.on{background:#16a588}.g5t1a-progress b{margin-left:6px;font-size:12px}.g5t1a-shell>main{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(260px,.8fr);gap:12px;min-height:455px}.g5t1a-visual,.g5t1a-panel{min-width:0;border-radius:21px;overflow:hidden}.g5t1a-visual{position:relative;background:#fefefe;box-shadow:0 12px 28px #173d3718;display:grid;place-items:center}.g5t1a-visual svg{display:block;width:100%;height:100%;min-height:420px;max-height:475px}.g5t1a-visual-label{position:absolute;left:14px;bottom:12px;border-radius:999px;padding:7px 11px;background:#163c36e8;color:white;font:850 11px/1 system-ui;box-shadow:0 5px 16px #0002}.g5t1a-panel{background:#173d37;color:#fff;padding:16px;display:flex;flex-direction:column;gap:10px}.g5t1a-panel>span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#86dbc8}.g5t1a-panel h2{margin:0;font-size:clamp(17px,1.55vw,22px);line-height:1.28}.g5t1a-choices{display:grid;gap:8px}.g5t1a-choices button,.g5t1a-check,.g5t1a-help button{min-height:48px;border:0;border-radius:14px;padding:9px 12px;font:800 13px/1.22 system-ui;cursor:pointer}.g5t1a-choices button{background:#fff;color:#173d37;box-shadow:0 3px 0 #adc8c0;text-align:left}.g5t1a-choices button.selected{background:#ffe3a2;box-shadow:0 0 0 3px #ffad3f,0 3px 0 #c88628}.g5t1a-choices button:hover,.g5t1a-choices button:focus-visible,.g5t1a-check:hover,.g5t1a-check:focus-visible,.g5t1a-help button:hover,.g5t1a-help button:focus-visible{outline:4px solid #ff9f43;outline-offset:1px}.g5t1a-check{margin-top:auto;background:#ffad43;color:#4e3100;box-shadow:0 4px 0 #bd7421}.g5t1a-check:disabled{opacity:.43;cursor:default;box-shadow:none}.g5t1a-message{min-height:38px;margin:0;padding:8px 9px;border-radius:12px;background:#ffffff14;font-size:12px;line-height:1.35}.g5t1a-message.retry{background:#ffe2d8;color:#6d2d1e}.g5t1a-result{margin:auto 0;display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;padding:15px;border-radius:18px;background:#d8f6e8;color:#15583a}.g5t1a-result i{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#25a96d;color:#fff;font:900 24px system-ui}.g5t1a-result p{margin:0;font-size:14px;line-height:1.4;font-weight:750}.g5t1a-help{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.g5t1a-help button{background:white;color:#173d37;box-shadow:0 3px 0 #c6d6d1}.g5t1a-final{min-height:510px;border-radius:28px;display:grid;place-items:center;align-content:center;gap:14px;padding:25px;text-align:center;background:radial-gradient(circle at 50% 35%,#ffffff 0 18%,#d8f8ef 19% 42%,#dce8ff 43% 68%,#fae8bb);color:#153d37;overflow:hidden}.g5t1a-final h1{margin:0;max-width:800px;font-size:clamp(28px,4vw,48px)}.g5t1a-final p{margin:0;max-width:720px;font-size:16px;line-height:1.5}.g5t1a-final>div:last-child{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.g5t1a-final>div:last-child b{padding:9px 13px;border-radius:14px;background:#173d37;color:#fff}.g5t1a-orbit{position:relative;width:210px;height:210px;border:2px dashed #188a78;border-radius:50%;animation:g5t1a-orbit 18s linear infinite}.g5t1a-orbit>b{position:absolute;inset:62px;display:grid;place-items:center;border-radius:50%;background:#173d37;color:#fff;font-size:28px}.g5t1a-orbit span{position:absolute;left:92px;top:92px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#ffac42;color:#563100;transform:rotate(calc(var(--i)*40deg)) translateY(-104px) rotate(calc(var(--i)*-40deg));font-weight:950}@keyframes g5t1a-orbit{to{transform:rotate(360deg)}}

.g5t1a-visual svg text{font-family:system-ui;font-weight:850;fill:#173d37}.g5t1a-back-grid line{stroke:#4cae9c22;stroke-width:1}.cyan-stroke,.amber-stroke,.violet-stroke{fill:none;stroke-width:11;stroke-linecap:round;filter:url(#tGlow)}.cyan-stroke{stroke:#16a6c7}.amber-stroke{stroke:#f2a52b}.violet-stroke{stroke:#9c67cf}.right-mark{fill:#ffd77b55;stroke:#e69a22;stroke-width:4}.g5t1a-floating-tools{fill:none;stroke:#2d4d55;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}.g5t1a-floating-tools>g{filter:drop-shadow(0 8px 8px #173d3730);transform-origin:center;animation:g5t1a-float 3s ease-in-out infinite}.g5t1a-floating-tools .tool-set-square{animation-delay:.5s}.g5t1a-floating-tools .tool-ruler{animation-delay:1s}.g5t1a-floating-tools rect{fill:#ffe2a6aa}@keyframes g5t1a-float{50%{transform:translateY(-8px)}}.g5t1a-city-back path{fill:#bdd9e6}.g5t1a-rails>path{fill:none;stroke:#4c5860;stroke-width:13}.rail-sleepers line{stroke:#9a7655;stroke-width:9}.g5t1a-pole>path{stroke:#1d5960;stroke-width:14}.g5t1a-drone{fill:#ffac42;stroke:#8d5c16;stroke-width:3;animation:g5t1a-drone 5s linear infinite}@keyframes g5t1a-drone{from{transform:translateX(-100px)}to{transform:translateX(650px)}}.g5t1a-sky circle{fill:#ffd467}.g5t1a-sky path{fill:#d8eee5}.g5t1a-facade>rect{fill:#dceaf4;stroke:#416875;stroke-width:5}.floor-line{stroke:#2f7d88;stroke-width:8}.column-line{stroke:#995f9f;stroke-width:9}.g5t1a-lift rect{fill:#ffb44f;stroke:#74451b;stroke-width:4}.g5t1a-lift path{stroke:#334e55;stroke-width:4}.g5t1a-map path{fill:#d9efe8}.g5t1a-map circle{fill:#ffce66}.g5t1a-route-shape path,.g5t1a-route-network path,.g5t1a-token-ring>path{fill:#6ac6ae22;stroke:#196f69;stroke-width:10;stroke-linecap:round;stroke-linejoin:round}.g5t1a-route-shape circle{fill:#ffae42;stroke:#fff;stroke-width:4}.g5t1a-route-shape text,.g5t1a-route-network text{font-size:64px;fill:#a25a91}.g5t1a-route-runner path{fill:none;stroke:#ff7d4d;stroke-width:8;stroke-dasharray:22 14;animation:g5t1a-dash 1.4s linear infinite}@keyframes g5t1a-dash{to{stroke-dashoffset:-72}}.g5t1a-token-ring circle{fill:#e5f7f1;stroke:#1b746c;stroke-width:5}.g5t1a-token-ring circle.missing{fill:#ffe8e1;stroke:#d65a43;stroke-dasharray:9}.g5t1a-token-ring text{font-size:24px;text-anchor:middle}.g5t1a-token-ring .missing-edge{fill:none;stroke:#d65a43;stroke-dasharray:10 8}.g5t1a-route-network .open-route{fill:none;stroke:#9e6db0;stroke-dasharray:12}.g5t1a-pulse circle{fill:none;stroke:#ffae42;stroke-width:5;animation:g5t1a-pulse 1.3s ease-out infinite}@keyframes g5t1a-pulse{to{r:52;opacity:0}}.can-face{fill:url(#canFace);stroke:#1d746b;stroke-width:7}.g5t1a-shell.family-can svg>line{stroke:#265c5a;stroke-width:2}.g5t1a-shell.family-can svg>line.major{stroke:#f09333;stroke-width:5}.can-base,.can-hand path,.can-ghost{fill:none;stroke-linecap:round}.can-base{stroke:#244b56;stroke-width:8}.can-hand{transform-origin:380px 215px;transform:rotate(calc(var(--can-angle)*-1));animation:g5t1a-hand .8s ease-out}.can-hand path{stroke:#e4674e;stroke-width:10}.can-hand circle{fill:#e4674e}.can-ghost{stroke:#8971bd;stroke-width:5;stroke-dasharray:8}.can-readout text{font-size:21px}.can-quarter path{fill:none;stroke:#e1a12a;stroke-width:5}@keyframes g5t1a-hand{from{transform:rotate(0)}to{transform:rotate(calc(var(--can-angle)*-1))}}.truth-console>rect,.score-board>rect{fill:#e8f5f1;stroke:#265e59;stroke-width:6}.truth-console>circle{fill:#ffb247}.truth-console>path:first-of-type{stroke:#4d6c75;stroke-width:8}.pin{fill:#ef6d53}.proof-lines,.proof-line{fill:none;stroke:#1c91a1;stroke-width:7;stroke-linecap:round}.proof-arc{fill:none;stroke:#f3a629;stroke-width:6}.truth-console text{font-size:17px}.score-board>text{font-size:18px}.score-board>path{stroke:#476866;stroke-width:3}.key-row text,.score-row text{font-size:23px}.score-row circle{fill:#fff;stroke:#4b8078;stroke-width:3}.score-row{opacity:0;animation:g5t1a-row .4s ease-out forwards;animation-delay:calc(var(--row)*.25s)}@keyframes g5t1a-row{to{opacity:1}}.pair-docks path{stroke:#2a776d;stroke-width:8;stroke-linecap:round}.pair-docks text{font-size:15px}.pair-card rect{fill:#fff0c8;stroke:#e59528;stroke-width:4}.pair-card path{stroke:#8d4d58;stroke-width:5;stroke-linecap:round}.pair-card text{font-size:17px}.pair-card{transform:translateY(15px);animation:g5t1a-card .7s ease-out forwards;animation-delay:calc(var(--card)*.15s)}@keyframes g5t1a-card{to{transform:translateY(0)}}.pair-crane path{fill:none;stroke:#4a5f67;stroke-width:7}.pair-crane circle{fill:#ffad43;animation:g5t1a-hook 2s ease-in-out infinite}@keyframes g5t1a-hook{50%{transform:translateY(30px)}}.limit-beams .beam{stroke:#e76053;stroke-width:10;stroke-linecap:round;filter:drop-shadow(0 0 7px #ff6755)}.limit-counters circle{fill:#173d37}.limit-counters text{fill:#fff!important;font-size:20px}.limit-target path{fill:#8b6bc018;stroke:#8b6bc0;stroke-width:4;stroke-dasharray:10 8}.limit-target.five path{stroke:#d75d49}.limit-target text{font-size:42px}.limit-scanner path{stroke:#24a38c;stroke-width:6}.limit-scanner rect{fill:#ffbd58;animation:g5t1a-scan 3s linear infinite}@keyframes g5t1a-scan{to{transform:translateX(140px)}}.debug-machine>rect{fill:#243e4a;stroke:#142831;stroke-width:7}.debug-screen rect{fill:#d8fff2;stroke:#65b8a2;stroke-width:4}.debug-screen path{fill:none;stroke:#b35876;stroke-width:6;stroke-linecap:round}.debug-screen text{font-size:21px}.debug-rules rect{fill:#fff;stroke:#e1b552;stroke-width:4}.debug-rules text{font-size:18px}.debug-back-arrows path{fill:none;stroke:#ffb342;stroke-width:7;stroke-linecap:round}.debug-back-arrows text{fill:#fff!important;font-size:14px}.tri-stage>path{fill:#8ed3c522;stroke:#247b71;stroke-width:9;stroke-linejoin:round}.tri-angle path{fill:none;stroke:#e56c4f;stroke-width:6}.tri-angle text{font-size:20px}.tri-sum rect{fill:#173d37}.tri-sum text{fill:#fff!important;font-size:16px}.tri-witness{fill:none;stroke:#8667a7;stroke-width:7;stroke-linecap:round;animation:g5t1a-witness 2.3s ease-in-out infinite}@keyframes g5t1a-witness{50%{transform:translateY(-6px)}}.circle-field>circle{fill:#52afc11c;stroke-width:6}.circle-a{stroke:#1598b1}.circle-b{stroke:#e36a52}.lens circle{fill:#f8c65166;stroke:none}.radius-base,.circle-triangle{fill:none;stroke:#613c70;stroke-width:8;stroke-linejoin:round}.circle-field>circle:not(.circle-a):not(.circle-b){fill:#173d37}.circle-field text{font-size:19px}.intersection{fill:#ffad43!important;animation:g5t1a-node 1.2s ease-in-out infinite}@keyframes g5t1a-node{50%{r:14}}.circle-compass{fill:none;stroke:#37535a;stroke-width:8;stroke-linecap:round}.circle-compass circle{fill:#ffad43}.circle-compass{transform-origin:95px 113px;animation:g5t1a-compass 4s linear infinite}@keyframes g5t1a-compass{to{transform:rotate(12deg)}}

@media(max-width:900px){.topic-lesson-shell:has(.grade5-theme1-assessment-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.g5t1a-shell>main{grid-template-columns:minmax(0,1fr) 245px;min-height:420px}.g5t1a-visual svg{min-height:390px}.g5t1a-panel{padding:12px}.g5t1a-panel h2{font-size:17px}.g5t1a-choices button,.g5t1a-check{min-height:46px;font-size:12px}}
@media(max-width:600px){.topic-lesson-shell:has(.grade5-theme1-assessment-board) .section-track{max-width:100%}.topic-lesson-shell:has(.grade5-theme1-assessment-board) .skip-section{display:none}.g5t1a-shell{padding:8px;border-radius:18px;overflow:visible}.g5t1a-shell>header{align-items:flex-start}.g5t1a-progress i{width:11px}.g5t1a-shell>main{display:flex;flex-direction:column;min-height:0}.g5t1a-visual{min-height:290px}.g5t1a-visual svg{min-height:290px;height:290px;max-height:290px}.g5t1a-visual-label{left:8px;bottom:7px;font-size:9px}.g5t1a-panel{overflow:visible}.g5t1a-panel h2{font-size:16px}.g5t1a-choices{grid-template-columns:1fr}.g5t1a-message{min-height:30px}.g5t1a-final{min-height:620px;padding:18px}.g5t1a-orbit{width:170px;height:170px}.g5t1a-orbit>b{inset:50px}.g5t1a-orbit span{left:72px;top:72px;transform:rotate(calc(var(--i)*40deg)) translateY(-84px) rotate(calc(var(--i)*-40deg))}.g5t1a-help{grid-template-columns:1fr}}
@container(max-width:540px){.g5t1a-visual svg{height:290px}.g5t1a-choices button,.g5t1a-check,.g5t1a-help button{min-height:46px}.g5t1a-shell>header h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){.g5t1a-orbit,.g5t1a-floating-tools>g,.g5t1a-drone,.g5t1a-route-runner path,.g5t1a-pulse circle,.can-hand,.score-row,.pair-card,.pair-crane circle,.limit-scanner rect,.tri-witness,.intersection,.circle-compass{animation:none!important}}
.g5t1a-scene-actions{position:absolute;inset:0;z-index:4;pointer-events:none}.g5t1a-scene-actions button{position:absolute;left:var(--x);top:var(--y);translate:-50% -50%;min-width:54px;min-height:48px;padding:5px 9px;border:3px solid #fff;border-radius:999px;background:#173d37dd;color:#fff;font:900 12px/1.1 system-ui;box-shadow:0 4px 14px #173d3760;cursor:pointer;pointer-events:auto}.g5t1a-scene-actions button.selected{background:#ffad43;color:#4e3100;box-shadow:0 0 0 5px #ffad4366,0 4px 14px #173d3760}.g5t1a-scene-actions button:hover,.g5t1a-scene-actions button:focus-visible{outline:4px solid #ff9f43;outline-offset:1px}.g5t1a-match{display:grid;gap:8px}.g5t1a-match button{min-height:48px;border:0;border-radius:14px;padding:9px 12px;font:800 13px/1.22 system-ui;cursor:pointer}.g5t1a-match button:hover,.g5t1a-match button:focus-visible{outline:4px solid #ff9f43;outline-offset:1px}.g5t1a-match-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.g5t1a-match-cards button{min-width:0;padding:7px 4px;background:#fff0c8;color:#5d3b14;box-shadow:0 3px 0 #c98727}.g5t1a-match-cards button.selected{background:#ffad43;box-shadow:0 0 0 3px #fff,0 3px 0 #b96e1b}.g5t1a-match-targets{display:grid;grid-template-columns:1fr 1fr;gap:7px}.g5t1a-match-targets button{display:grid;gap:3px;place-items:center;background:#e0f6f0;color:#174c43;border:2px dashed #65b5a4}.g5t1a-match-targets small{font-size:9px}.g5t1a-match-targets b{font-size:11px}.circle-radius-proof path{fill:none;stroke:#e28b2d;stroke-width:4;stroke-linecap:round}.circle-radius-proof text{fill:#8a4c18!important;font-size:18px!important}@media(max-width:600px){.g5t1a-scene-actions button{font-size:10px;min-width:48px;padding:4px 6px}.g5t1a-match-cards{grid-template-columns:repeat(2,1fr)}}

/* Keep the orbit crown and the final evidence badges inside the report frame. */
.g5t1a-final{min-height:580px;padding:38px 25px;overflow:visible}.g5t1a-orbit span{transform:rotate(calc(var(--i)*40deg)) translateY(-88px) rotate(calc(var(--i)*-40deg))}@media(max-width:600px){.g5t1a-final{min-height:700px;padding:34px 18px}.g5t1a-orbit span{transform:rotate(calc(var(--i)*40deg)) translateY(-68px) rotate(calc(var(--i)*-40deg))}}

/* grade5-theme4-assessment.css */
.topic-lesson-shell:has(.grade5-theme4-assessment-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .lesson-avatar{height:184px}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .teacher-bubble{min-height:74px;max-height:150px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:48vw}.topic-lesson-shell:has(.grade5-theme4-assessment-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-theme4-assessment-board) #lesson-support-dock:empty{display:none}.grade5-theme4-assessment-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.g5t4a-shell{box-sizing:border-box;padding:12px;border:1px solid #c6ddd7;border-radius:26px;background:linear-gradient(145deg,#effcf7,#eef4ff 56%,#fff5d8);color:#153d37;box-shadow:0 18px 45px #173d3720;overflow:hidden}.g5t4a-shell>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 4px 9px}.g5t4a-shell>header span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#11836f}.g5t4a-shell>header h1{margin:2px 0 0;font-size:clamp(20px,2.2vw,29px);line-height:1}.g5t4a-progress{display:flex;align-items:center;gap:8px;min-width:190px}.g5t4a-progress>i{position:relative;display:block;height:9px;flex:1;border-radius:999px;background:#c5d6d2;overflow:hidden}.g5t4a-progress>i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);border-radius:inherit;background:linear-gradient(90deg,#16a489,#ffb044)}.g5t4a-progress b{font-size:12px}.g5t4a-shell>main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.76fr);gap:12px;min-height:455px}.g5t4a-visual,.g5t4a-panel{min-width:0;border-radius:21px;overflow:hidden}.g5t4a-visual{position:relative;display:grid;grid-template-rows:minmax(0,1fr);background:#fff;box-shadow:0 10px 28px #173d3717}.g5t4a-visual-stage{min-height:430px;padding:18px;display:grid;align-content:center;gap:15px;overflow:hidden}.g5t4a-panel{display:flex;flex-direction:column;gap:12px;padding:16px;background:#173d37;color:#fff}.g5t4a-panel>span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#81ddc8}.g5t4a-panel h2{margin:0;font-size:clamp(17px,1.6vw,22px);line-height:1.3}.g5t4a-check,.g5t4a-help button,.g5t4a-scene-choices button,.g5t4a-order-source button,.g5t4a-order-track button{min-height:46px;border:0;border-radius:14px;padding:9px 12px;font:800 13px/1.22 system-ui;cursor:pointer}.g5t4a-check{margin-top:auto;background:#ffad43;color:#4f3100;box-shadow:0 4px 0 #bd7421}.g5t4a-check:disabled{opacity:.42;box-shadow:none;cursor:default}.g5t4a-message{min-height:38px;margin:0;padding:8px 9px;border-radius:12px;background:#ffffff14;font-size:12px;line-height:1.35}.g5t4a-message.retry{background:#ffe1d6;color:#702f20}.g5t4a-result{margin:auto 0;display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;padding:14px;border-radius:18px;background:#d9f6e8;color:#15563a}.g5t4a-result i{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#22a66b;color:#fff;font:900 24px system-ui}.g5t4a-result p{margin:0;font-size:14px;line-height:1.4;font-weight:750}.g5t4a-help{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.g5t4a-help button{background:#fff;color:#173d37;box-shadow:0 3px 0 #bdcfca}.g5t4a-check:hover,.g5t4a-check:focus-visible,.g5t4a-help button:hover,.g5t4a-help button:focus-visible,.g5t4a-visual-stage button:hover,.g5t4a-visual-stage button:focus-visible{outline:4px solid #ff9f43;outline-offset:1px}.g5t4a-support{position:absolute;inset:auto 12px 12px 12px;z-index:8;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:2px solid #f2b148;border-radius:16px;background:#fff8e8f2;color:#173d37;box-shadow:0 9px 26px #173d3740;backdrop-filter:blur(7px)}.g5t4a-support>span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#8d581a}.g5t4a-support-model{display:flex;align-items:center;gap:6px;min-width:0}.g5t4a-support-model>b{font-size:11px}.g5t4a-support-model.ruler>i{width:8%;height:28px;border-left:2px solid #2b7e72}.g5t4a-support-model.ruler>span{font-weight:900}.g5t4a-support-model.bars{flex:1;flex-direction:column;align-items:stretch}.g5t4a-support-model.bars>i{height:8px;width:var(--w);border-radius:8px;background:#20a68c}.g5t4a-support-model.boxes i{padding:4px;border-radius:6px;background:#dff4ef;font-style:normal}.mini-hundred{display:grid;grid-template-columns:repeat(10,5px);grid-template-rows:repeat(10,5px);gap:1px;padding:2px;border:1px solid #267b70}.mini-hundred i{background:#e6efed}.mini-hundred i.first{background:#ffd057}.mini-hundred i.second{box-shadow:inset 0 0 0 2px #27a9c1}.g5t4a-scene-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}.g5t4a-scene-choices button,.g5t4a-order-source button{background:#eef7f4;color:#173d37;box-shadow:0 3px 0 #b9d0ca}.g5t4a-scene-choices button.selected,.g5t4a-order-source button:not(:disabled):active{background:#ffe0a1;box-shadow:0 0 0 3px #ffae42,0 3px 0 #c57d25}.g5t4a-scene-choices.symbols button{font-size:24px}.g5t4a-order-source{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.g5t4a-order-source button{min-width:92px}.g5t4a-order-source button:disabled{opacity:.32;cursor:default}.g5t4a-order-track{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.g5t4a-order-track button{background:#fff;border:2px dashed #81aea3;color:#54706a}.g5t4a-order-track button.filled{border-style:solid;border-color:#1a9a81;background:#dcf6ee;color:#173d37}.g5t4a-matrix{display:grid;gap:9px}.g5t4a-matrix>button{display:grid;grid-template-columns:1fr 150px;align-items:center;gap:12px;min-height:88px;padding:10px;border:2px solid #c5d9d4;border-radius:17px;background:#f4faf8;color:#173d37;cursor:pointer}.g5t4a-matrix>button.selected{border-color:#ff9f32;box-shadow:0 0 0 4px #ffb64b55}.g5t4a-matrix button>span{display:flex;justify-content:space-around;gap:6px}.g5t4a-matrix button>span b{font-size:19px}.g5t4a-matrix em,.g5t4a-gates button i,.g5t4a-trays button span{position:relative;display:block;height:25px;border-radius:9px;background:#e3ece9;overflow:hidden}.g5t4a-matrix em i,.g5t4a-gates button i:after,.g5t4a-trays button span i{content:"";position:absolute;inset:0 auto 0 0;width:var(--fill);background:linear-gradient(90deg,#20ad92,#48b6d2)}.g5t4a-line-scene{display:grid;place-items:center;gap:70px;padding:30px 35px}.g5t4a-value-card{padding:12px 20px;border-radius:16px;background:#ffe3a9;color:#69400c;font-size:24px;font-weight:950;box-shadow:0 8px 20px #8b5e1d28}.g5t4a-line{position:relative;width:min(92%,680px);height:8px;border-radius:8px;background:#275e58}.g5t4a-line>b{position:absolute;top:24px;font-size:15px}.g5t4a-line>b:first-child{left:-5px}.g5t4a-line>b:last-child{right:-5px}.g5t4a-line>button{position:absolute;left:calc(var(--p)*100%);top:4px;translate:-50% -50%;display:grid;place-items:center;min-width:48px;min-height:48px;border:0;background:transparent;color:#173d37;cursor:pointer}.g5t4a-line>button i{width:18px;height:18px;border:4px solid white;border-radius:50%;background:#39a998;box-shadow:0 0 0 3px #256b61}.g5t4a-line>button span{position:absolute;top:38px;padding:4px 6px;border-radius:8px;background:#eef7f4;white-space:nowrap;font-size:11px;font-weight:850}.g5t4a-line>button.selected i{background:#ffae42;box-shadow:0 0 0 6px #ffae4255}.g5t4a-strip-stack{display:grid;gap:9px}.g5t4a-strip{position:relative;display:grid;grid-template-columns:repeat(var(--parts),1fr);height:42px;border:3px solid #2c756d;border-radius:9px;overflow:hidden;background:#edf6f3}.g5t4a-strip i{border-right:1px solid #6ca79e}.g5t4a-strip i.filled{background:#ffcb55}.g5t4a-strip b{position:absolute;right:8px;top:8px;padding:2px 6px;border-radius:7px;background:#173d37;color:#fff;font-size:12px}.g5t4a-unit-fans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.g5t4a-unit-fans>div{display:grid;grid-template-columns:repeat(var(--n),1fr);align-items:end;height:115px;border:2px solid #2b756b;border-radius:14px;overflow:hidden;position:relative}.g5t4a-unit-fans i{height:100%;border-right:1px solid #7daea6;background:#edf6f3}.g5t4a-unit-fans i.on{background:#ffcb55}.g5t4a-unit-fans b{position:absolute;left:50%;bottom:8px;translate:-50% 0;padding:4px 7px;border-radius:8px;background:#173d37;color:#fff}.g5t4a-place-lens{display:grid;gap:5px;max-width:560px;margin:auto}.g5t4a-place-lens header,.g5t4a-place-lens>div{display:grid;grid-template-columns:130px repeat(3,1fr);gap:5px;align-items:center}.g5t4a-place-lens header{padding-left:135px;grid-template-columns:repeat(3,1fr)}.g5t4a-place-lens header b{text-align:center;font-size:11px}.g5t4a-place-lens strong{font-size:20px}.g5t4a-place-lens i{display:grid;place-items:center;height:48px;border-radius:10px;background:#e8f5f1;font-size:22px;font-weight:900;font-style:normal}.g5t4a-zero-lock{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:center}.g5t4a-zero-lock>div:not(.g5t4a-symbol-slot){display:grid;gap:8px}.g5t4a-zero-lock span{display:grid;grid-template-columns:repeat(10,1fr);height:65px;border:2px solid #25766c;border-radius:12px;overflow:hidden}.g5t4a-zero-lock>div:nth-child(2) span{grid-template-columns:repeat(20,1fr);grid-template-rows:repeat(5,1fr)}.g5t4a-zero-lock span i{border:1px solid #afd0c8;background:#eef7f4}.g5t4a-zero-lock span i.on{background:#ffcb55}.g5t4a-zero-lock em{font-size:20px;font-weight:900}.g5t4a-symbol-slot{font-size:40px;font-weight:950}.g5t4a-gates{display:grid;grid-template-columns:110px repeat(3,1fr);gap:12px;align-items:center}.g5t4a-gates .source{display:grid;place-items:center;height:100px;border-radius:50%;background:#173d37;color:#fff;font-size:28px;font-weight:950}.g5t4a-gates button{display:grid;gap:10px;min-height:130px;padding:12px;border:2px solid #bcd4ce;border-radius:18px;background:#f3faf8;color:#173d37;cursor:pointer}.g5t4a-gates button.selected{border-color:#ff9e32;box-shadow:0 0 0 4px #ffb54a55}.g5t4a-gates button i:after{display:block}.g5t4a-condition{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.g5t4a-condition>div{display:grid;place-items:center;gap:3px;min-height:90px;border-radius:18px;background:#e7f5f1;border:2px solid #9ec9be}.g5t4a-condition small{color:#57736d}.g5t4a-overlap{display:grid;place-items:center;position:relative}.g5t4a-overlap .hundred{display:grid;grid-template-columns:repeat(10,24px);grid-template-rows:repeat(10,24px);gap:2px;padding:8px;border:3px solid #2b736a;border-radius:12px;background:#fff}.g5t4a-overlap .hundred i{background:#ecf2f0;border-radius:3px}.g5t4a-overlap .hundred i.first{background:#ffd154}.g5t4a-overlap .hundred i.second{box-shadow:inset 0 0 0 4px #28a8c5}.g5t4a-overlap .yellow,.g5t4a-overlap .blue{position:absolute;padding:5px 8px;border-radius:9px;font-size:11px;font-weight:900}.g5t4a-overlap .yellow{left:7%;top:15%;background:#ffd154}.g5t4a-overlap .blue{right:7%;bottom:15%;background:#bcecf6}.g5t4a-battery{display:grid;gap:12px}.g5t4a-battery .rail{position:relative;height:90px;margin:10px 30px;border-bottom:8px solid #2a6f66}.g5t4a-battery .rail:before{content:"0";position:absolute;left:0;bottom:-30px;font-weight:900}.g5t4a-battery .rail:after{content:"1";position:absolute;right:0;bottom:-30px;font-weight:900}.g5t4a-battery .rail>i{position:absolute;left:calc(var(--p)*100%);bottom:-14px;width:20px;height:20px;border-radius:50%;background:#ffad43;border:4px solid white;box-shadow:0 0 0 3px #276e65}.g5t4a-battery .rail>i b{position:absolute;bottom:24px;left:50%;translate:-50% 0}.g5t4a-battery .half{position:absolute;left:50%;bottom:8px;translate:-50% 0;padding:3px 6px;background:#e7f3f0;border-radius:6px}.g5t4a-battery>button{min-height:46px;border:2px solid #bdd5cf;border-radius:13px;background:#f4faf8;color:#173d37;font-weight:800;cursor:pointer}.g5t4a-battery>button.selected{border-color:#ff9f32;background:#fff0ce}.g5t4a-trays{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.g5t4a-trays button{display:grid;gap:8px;padding:10px;border:2px solid #bdd4ce;border-radius:18px;background:#f4faf8;color:#173d37;cursor:pointer}.g5t4a-trays button.selected{border-color:#ff9f32;box-shadow:0 0 0 4px #ffb34544}.g5t4a-trays button span{height:120px;border:3px solid #2c756d;border-radius:12px;background:#e8f3f0}.g5t4a-trays button span i{inset:auto 0 0;width:100%;height:var(--fill)}.g5t4a-bank{display:grid;gap:16px}.g5t4a-bank .vaults{display:grid;grid-template-columns:repeat(8,1fr);gap:7px}.g5t4a-bank .vaults>div{display:grid;gap:6px;padding:9px;border:2px solid #9fc8be;border-radius:12px;background:#edf7f4}.g5t4a-bank .vaults>div.marked{background:#fff0ca;border-color:#efa43a}.g5t4a-bank .vaults i{width:18px;height:18px;margin:auto;border-radius:50%;background:#2da58d}.g5t4a-transfer{display:grid;gap:20px}.g5t4a-transfer .anchors{display:flex;justify-content:space-between;padding:0 15px}.g5t4a-transfer .network{position:relative;height:90px;margin:0 15px;border-top:7px solid #2a7168}.g5t4a-transfer .network span{position:absolute;left:calc(var(--p)*100%);top:-18px;translate:-50% 0;padding:9px;border-radius:12px;background:#ffdf9d;font-weight:900;box-shadow:0 5px 15px #69451326}.g5t4a-final{min-height:520px;border-radius:28px;padding:28px;display:grid;place-items:center;align-content:center;gap:14px;text-align:center;background:radial-gradient(circle at 50% 28%,#fff 0 17%,#dcf7ef 18% 43%,#e5ecff 44% 69%,#fff0c7);color:#163d37}.g5t4a-final>span{font-size:11px;font-weight:950;letter-spacing:.15em;color:#168571}.g5t4a-final h1{max-width:760px;margin:0;font-size:clamp(27px,4vw,46px)}.g5t4a-final p{margin:0;font-weight:750}.g5t4a-final-ring{width:130px;height:130px;border:10px solid #22a88d;border-right-color:#ffae43;border-radius:50%;display:grid;place-items:center;align-content:center;box-shadow:0 12px 32px #173d3730}.g5t4a-final-ring b{font-size:38px}.g5t4a-final-ring span{font-size:12px}.g5t4a-report{display:grid;grid-template-columns:repeat(2,minmax(210px,1fr));gap:8px;width:min(760px,100%)}.g5t4a-report section{display:grid;gap:4px;padding:11px;border-radius:14px;background:#173d37;color:#fff}.g5t4a-report section span{font-size:12px;color:#9de0d0}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-theme4-assessment-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.g5t4a-shell>main{grid-template-columns:minmax(0,1fr) 245px;min-height:420px}.g5t4a-visual-stage{min-height:395px;padding:12px}.g5t4a-panel{padding:12px}.g5t4a-panel h2{font-size:17px}.g5t4a-overlap .hundred{grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px)}}
@media(max-width:600px){.topic-lesson-shell:has(.grade5-theme4-assessment-board) .section-track{max-width:100%}.topic-lesson-shell:has(.grade5-theme4-assessment-board) .skip-section{display:none}.g5t4a-shell{padding:8px;border-radius:18px;overflow:visible}.g5t4a-shell>header{align-items:flex-start}.g5t4a-progress{min-width:110px}.g5t4a-shell>main{display:flex;flex-direction:column;min-height:0}.g5t4a-visual{overflow:visible}.g5t4a-visual-stage{min-height:305px;padding:10px;overflow:hidden}.g5t4a-panel{overflow:visible}.g5t4a-panel h2{font-size:16px}.g5t4a-support{position:relative;inset:auto;margin:0 8px 8px;grid-template-columns:1fr}.g5t4a-order-track{grid-template-columns:1fr}.g5t4a-matrix>button{grid-template-columns:1fr 90px;min-height:72px}.g5t4a-matrix button>span b{font-size:14px}.g5t4a-line-scene{gap:55px;padding:20px 18px}.g5t4a-unit-fans{gap:5px}.g5t4a-unit-fans>div{height:90px}.g5t4a-place-lens header,.g5t4a-place-lens>div{grid-template-columns:85px repeat(3,1fr)}.g5t4a-place-lens header{padding-left:90px}.g5t4a-zero-lock{grid-template-columns:1fr 1fr}.g5t4a-symbol-slot{display:none}.g5t4a-gates{grid-template-columns:1fr 1fr}.g5t4a-gates .source{grid-row:1/3;height:100%}.g5t4a-condition{gap:5px}.g5t4a-condition>div{min-height:74px;font-size:12px}.g5t4a-overlap .hundred{grid-template-columns:repeat(10,17px);grid-template-rows:repeat(10,17px);gap:1px}.g5t4a-overlap .yellow{left:0}.g5t4a-overlap .blue{right:0}.g5t4a-trays{grid-template-columns:repeat(2,1fr)}.g5t4a-trays button span{height:80px}.g5t4a-bank .vaults{grid-template-columns:repeat(4,1fr)}.g5t4a-transfer .network span{font-size:11px;padding:6px}.g5t4a-report{grid-template-columns:1fr}.g5t4a-final{min-height:620px;padding:18px}.g5t4a-help{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.g5t4a-progress>i:after{transition:none}}

/* The support card participates in the visual column layout so it never covers
   answer controls or steals pointer events on compact laptop viewports. */
.g5t4a-support{position:relative;inset:auto;margin:0 12px 12px;backdrop-filter:none}

@media(max-width:900px) and (min-width:601px){
  .topic-lesson-shell:has(.grade5-theme4-assessment-board){max-width:100%;overflow-x:hidden}
  .topic-lesson-shell:has(.grade5-theme4-assessment-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}
  .topic-lesson-shell:has(.grade5-theme4-assessment-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}
  .topic-lesson-shell:has(.grade5-theme4-assessment-board) .skip-section,
  .topic-lesson-shell:has(.grade5-theme4-assessment-board) .lesson-time{display:none}
  .topic-lesson-shell:has(.grade5-theme4-assessment-board) .restart-lesson{grid-column:3;grid-row:1}
}

.g5t4a-overlap>strong{margin-top:8px;padding:7px 10px;border-radius:10px;background:#e8f4f1;color:#245f57;font-size:11px;text-align:center}
.g5t4a-overlap.active .hundred{box-shadow:0 0 0 5px #ffb04455;transition:box-shadow .18s ease}

/* grade5-statistics-research-steps.css */
.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .lesson-avatar{height:184px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .teacher-bubble{min-height:74px;max-height:150px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:48vw}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-statistics-research-steps-board) #lesson-support-dock:empty{display:none}.grade5-statistics-research-steps-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.g5srs-shell{box-sizing:border-box;padding:12px;border:1px solid #bedbd8;border-radius:26px;background:linear-gradient(145deg,#eafbf7,#edf2ff 56%,#fff1cc);color:#123e3e;box-shadow:0 18px 45px #123e3e20;overflow:hidden}.g5srs-shell>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 4px 9px}.g5srs-shell>header span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#087d77}.g5srs-shell>header h1{margin:2px 0 0;font-size:clamp(20px,2.2vw,29px);line-height:1}.g5srs-progress{display:flex;align-items:center;gap:8px;min-width:190px}.g5srs-progress>i{position:relative;display:block;height:9px;flex:1;border-radius:999px;background:#bfd3d1;overflow:hidden}.g5srs-progress>i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);border-radius:inherit;background:linear-gradient(90deg,#0fa59c,#ffad42)}.g5srs-progress b{font-size:12px}.g5srs-shell>main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.75fr);gap:12px;min-height:458px}.g5srs-visual,.g5srs-panel{min-width:0;border-radius:21px;overflow:hidden}.g5srs-visual{display:grid;grid-template-rows:minmax(0,1fr);background:#fff;box-shadow:0 10px 28px #123e3e17}.g5srs-visual-stage{min-height:430px;padding:17px;display:grid;align-content:center;gap:14px;overflow:hidden}.g5srs-panel{display:flex;flex-direction:column;gap:12px;padding:16px;background:#143e3d;color:#fff}.g5srs-panel>span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#7ee0d5}.g5srs-panel h2{margin:0;font-size:clamp(17px,1.6vw,22px);line-height:1.3}.g5srs-check,.g5srs-help button,.g5srs-choices button,.g5srs-order-source button,.g5srs-order-track button,.g5srs-multi button{min-height:46px;border:0;border-radius:14px;padding:9px 12px;font:800 13px/1.22 system-ui;cursor:pointer}.g5srs-check{margin-top:auto;background:#ffad43;color:#4b3107;box-shadow:0 4px 0 #b9701e}.g5srs-check:disabled{opacity:.42;box-shadow:none;cursor:default}.g5srs-message{min-height:38px;margin:0;padding:8px 9px;border-radius:12px;background:#ffffff14;font-size:12px;line-height:1.35}.g5srs-message.retry{background:#ffe0d5;color:#6d2f20}.g5srs-result{margin:auto 0;display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;padding:14px;border-radius:18px;background:#d9f6e8;color:#15563a}.g5srs-result i{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#1f9f68;color:#fff;font:900 24px system-ui}.g5srs-result p{margin:0;font-size:14px;line-height:1.4;font-weight:750}.g5srs-help{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.g5srs-help button{background:#fff;color:#143e3d;box-shadow:0 3px 0 #bdcfcd}.g5srs-check:hover,.g5srs-check:focus-visible,.g5srs-help button:hover,.g5srs-help button:focus-visible,.g5srs-visual-stage button:hover,.g5srs-visual-stage button:focus-visible{outline:4px solid #ff9f43;outline-offset:1px}.g5srs-support{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin:0 12px 12px;padding:10px;border:2px solid #efaf47;border-radius:16px;background:#fff8e9;color:#143e3d;box-shadow:0 9px 26px #143e3d24}.g5srs-support>span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#875718}
.g5srs-choices,.g5srs-multi{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px}.g5srs-choices button,.g5srs-multi button{display:flex;align-items:center;gap:8px;background:#edf7f5;color:#143e3d;box-shadow:0 3px 0 #b8cfcb}.g5srs-choices button>i,.g5srs-multi button>i{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#d1e8e3;font-style:normal}.g5srs-choices button.selected,.g5srs-multi button.selected{background:#ffedc8;box-shadow:0 0 0 3px #ffad43,0 3px 0 #bd7829}.g5srs-order-source{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.g5srs-order-source button{max-width:210px;background:#edf7f5;color:#143e3d;box-shadow:0 3px 0 #b8cfcb}.g5srs-order-source button:disabled{opacity:.3;cursor:default}.g5srs-order-track{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.g5srs-order-track button{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:5px;background:#fff;border:2px dashed #8ab5ad;color:#5a726e;text-align:left}.g5srs-order-track button b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#dcece8}.g5srs-order-track button.filled{border-style:solid;border-color:#159b8d;background:#dff7f1;color:#143e3d}
.g5srs-decision{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:center}.record-drawer,.supply-shelf{min-height:165px;padding:14px;border:3px solid #27796f;border-radius:20px;background:#eef8f5}.record-drawer{display:grid;gap:12px;align-content:center}.record-drawer.open{box-shadow:inset 0 0 0 5px #24aa9433}.g5srs-bars{height:110px;display:flex;align-items:end;justify-content:space-around;gap:8px}.g5srs-bars>i{position:relative;width:18%;height:var(--h);border-radius:8px 8px 2px 2px;background:linear-gradient(#42c4ad,#177f73);transition:height .35s}.g5srs-bars b{position:absolute;bottom:-18px;left:50%;translate:-50% 0;white-space:nowrap;font-size:9px}.supply-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;align-content:center;text-align:center}.supply-shelf i{padding:12px;border-radius:9px;background:#d5e7e3;color:#8ba19c;font-style:normal}.supply-shelf i.stocked{background:#ffc861;color:#7a4d05}.supply-shelf strong{grid-column:1/-1;font-size:12px}.g5srs-cabinet{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;perspective:800px}.g5srs-cabinet>div{position:relative;min-height:180px;padding:15px;border:3px solid #2b746d;border-radius:14px;background:#dfeeea;overflow:hidden}.g5srs-cabinet>div:after{content:"";position:absolute;inset:0;background:#f5fbf9;border-left:4px solid #27776f;transform-origin:left;transition:transform .35s}.g5srs-cabinet>div.open:after{transform:rotateY(-76deg)}.g5srs-cabinet b,.g5srs-cabinet span{position:relative;z-index:0;display:block}.g5srs-cabinet span{margin-top:16px;font-size:12px}.g5srs-compass{display:grid;place-items:center;gap:12px}.g5srs-compass>div{position:relative;width:250px;height:250px;border:14px solid #d8ebe7;border-radius:50%;background:radial-gradient(circle,#fff 0 18%,#eef7f4 19% 62%,#ffd370 63% 66%,#143e3d 67%);box-shadow:0 12px 28px #143e3d26}.g5srs-compass>div:after{content:"";position:absolute;left:50%;top:50%;width:9px;height:88px;border-radius:9px;background:#eb694e;transform-origin:50% 100%;transform:translate(-50%,-100%) rotate(var(--turn));transition:transform .35s}.g5srs-compass>div>b{position:absolute;font-size:10px}.g5srs-compass>div>b:nth-of-type(1){top:12px;left:50%;translate:-50% 0}.g5srs-compass>div>b:nth-of-type(2){bottom:12px;left:50%;translate:-50% 0}.g5srs-compass>span{font-weight:900}
.g5srs-gears{position:relative;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;min-height:190px}.g5srs-gears .gear{position:relative;display:grid;place-items:center;align-content:center;gap:5px;aspect-ratio:1;border:14px dotted #1a9083;border-radius:50%;background:#dff5f0;animation:none}.g5srs-gears .gear:nth-child(even){border-color:#efa84b;background:#fff0cf}.g5srs-gears .gear i{font:950 25px system-ui}.g5srs-gears .gear span{padding:0 8px;text-align:center;font-size:10px;font-weight:850}.g5srs-gears.assembled .gear{animation:g5srs-spin 5s linear infinite}.g5srs-gears.assembled .gear:nth-child(even){animation-direction:reverse}.g5srs-gears em{position:absolute;right:0;top:0;padding:7px 10px;border-radius:9px;background:#143e3d;color:#fff;font-size:10px;font-weight:900}.g5srs-pipeline{display:flex;align-items:center;justify-content:center;min-height:210px}.g5srs-pipeline span{display:grid;place-items:center;width:110px;min-height:70px;padding:8px;border:3px solid #96bbb4;border-radius:16px;background:#edf7f5;font-weight:900;text-align:center}.g5srs-pipeline span.done{border-color:#159887;background:#d9f6ef}.g5srs-pipeline>i{width:52px;height:12px;background:#7aa69e}.g5srs-pipeline>i.broken{background:linear-gradient(120deg,#7aa69e 0 40%,transparent 41% 59%,#7aa69e 60%)}.g5srs-pipeline>i.repaired{background:#f3a941;box-shadow:0 0 0 4px #ffd489}.g5srs-transfer-cycle{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.g5srs-transfer-cycle>span{display:grid;place-items:center;align-content:center;gap:6px;min-height:135px;padding:8px;border:3px dashed #91b8b0;border-radius:50% 50% 18px 18px;background:#edf7f5;text-align:center}.g5srs-transfer-cycle>span.filled{border-style:solid;border-color:#159a8b;background:#dff7f1}.g5srs-transfer-cycle i{font-size:29px;font-style:normal}.g5srs-transfer-cycle b{font-size:10px}
.g5srs-lens{position:relative;min-height:250px;display:grid;place-items:center;overflow:hidden}.crowd{display:grid;grid-template-columns:repeat(6,32px);gap:12px}.crowd i{width:30px;height:42px;border-radius:50% 50% 12px 12px;background:#71bdb1}.lens-ring{position:absolute;width:180px;height:180px;border:18px solid #143e3d;border-radius:50%;box-shadow:0 0 0 999px #e7f0eeaa;transition:width .3s,height .3s}.focus-0 .lens-ring{width:330px;height:230px}.focus-1 .lens-ring{width:195px;height:175px}.focus-2 .lens-ring{width:58px;height:58px}.g5srs-lens>b{position:absolute;bottom:4px;padding:6px 10px;border-radius:9px;background:#fff;font-size:11px}.g5srs-variation{display:grid;place-items:center;gap:12px;min-height:230px}.g5srs-variation .hopper{display:flex;align-items:end;justify-content:center;gap:8px;width:80%;min-height:160px;padding:16px;border:4px solid #28766d;border-radius:24px 24px 70px 70px;background:#edf7f5}.g5srs-variation .hopper i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:hsl(calc(var(--c)*55 + 20) 78% 66%);font:800 11px system-ui;font-style:normal;animation:g5srs-drop .35s both}.g5srs-variation.fixed .hopper i{width:76px;border-radius:14px}.g5srs-crane{position:relative;min-height:260px;border-bottom:9px solid #8ab3ad}.g5srs-crane .tower{position:absolute;left:18%;bottom:0;width:24px;height:210px;background:#1b857b}.g5srs-crane .tower:after{content:"";position:absolute;left:-60px;top:12px;width:285px;height:18px;background:#1b857b;transform-origin:60px center}.g5srs-crane .arm i{position:absolute;left:54%;top:30px;width:4px;height:120px;background:#efad48}.g5srs-crane .arm span{position:absolute;left:46%;top:148px;width:120px;padding:10px;border:3px solid #efad48;border-radius:12px;background:#fff4da;text-align:center;font-size:11px;font-weight:900}.g5srs-crane.reach-0 .arm span,.g5srs-crane.reach-2 .arm span{top:210px;opacity:.55}.g5srs-crane>b{position:absolute;right:8px;bottom:8px;font-size:10px}.g5srs-filter{display:grid;place-items:center;min-height:230px}.question-sheet{position:relative;width:min(90%,560px);min-height:150px;padding:20px;border:4px solid #27766e;border-radius:22px;background:#eff8f6;transition:filter .3s}.question-sheet.blurred{filter:blur(3px)}.question-sheet.clear{box-shadow:0 0 0 7px #30b49d33}.question-sheet i{display:inline-grid;place-items:center;width:80px;height:55px;margin:5px;border-radius:12px;background:#d8ece7;font-style:normal;font-weight:900}.question-sheet.clear i{background:#baf0df}.question-sheet b{display:block;margin-top:12px;text-align:center}.g5srs-scanner{display:grid;place-items:center;gap:14px;min-height:220px;padding:18px;border:4px solid #28776f;border-radius:22px;background:#eaf7f4}.scan-beam{width:80%;height:7px;border-radius:8px;background:#62e7d1;box-shadow:0 0 18px #19cdb1}.g5srs-lights{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%}.g5srs-lights span{display:grid;place-items:center;gap:5px;text-align:center;font-size:10px}.g5srs-lights i{width:27px;height:27px;border-radius:50%;background:#9eb3af;box-shadow:inset 0 0 0 5px #d8e4e2}.g5srs-lights span.on i{background:#24d39e;box-shadow:0 0 18px #24d39e}
.g5srs-privacy{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:20px}.id-card{display:grid;gap:8px;padding:18px;border:4px solid #27766e;border-radius:20px;background:#eff8f6}.id-card span{padding:8px;border-radius:9px;background:#fff}.id-card span.masked{background:#143e3d;color:#fff;letter-spacing:.18em}.shield{display:grid;place-items:center;align-content:center;gap:8px;aspect-ratio:1;border-radius:50% 50% 55% 55%;background:#77d7c8;color:#0f5550;font-size:65px;box-shadow:inset 0 -18px 0 #3db6a4}.shield b{font-size:10px}.g5srs-pack{display:grid;place-items:center;gap:9px}.g5srs-pack .bag{position:relative;display:flex;flex-wrap:wrap;align-content:end;justify-content:center;gap:7px;width:280px;min-height:195px;padding:38px 18px 20px;border:5px solid #27766e;border-radius:30px 30px 65px 65px;background:#dff3ee}.g5srs-pack .bag:before{content:"";position:absolute;left:50%;top:-35px;width:120px;height:60px;border:13px solid #27766e;border-bottom:0;border-radius:70px 70px 0 0;translate:-50% 0}.g5srs-pack.overloaded .bag{rotate:3deg;background:#ffe2d2}.g5srs-pack .bag span{max-width:110px;padding:6px;border-radius:8px;background:#fff;font-size:9px;font-weight:800}.g5srs-pack meter{width:260px;height:16px}.g5srs-blueprint{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:14px;background:repeating-linear-gradient(0deg,#e7f2ff 0 1px,transparent 1px 20px),repeating-linear-gradient(90deg,#e7f2ff 0 1px,#fff 1px 20px);border:3px solid #447e9b}.g5srs-blueprint section{position:relative;display:grid;align-content:start;gap:8px;min-height:145px;padding:9px;border:2px dashed #739bb0;border-radius:10px;background:#ffffffcc}.g5srs-blueprint section.filled{border-style:solid;background:#ddf5ee}.g5srs-blueprint section span{font-size:10px}.g5srs-blueprint section i{position:absolute;right:-9px;top:50%;z-index:2;font-style:normal;font-weight:950}.g5srs-mission{display:grid;place-items:center;gap:15px;min-height:270px;padding:20px;border:5px solid #203d56;border-radius:26px;background:radial-gradient(circle at 50% 0,#244f6f,#102a3e);color:#fff}.mission-card{display:grid;place-items:center;width:85%;min-height:78px;padding:12px;border:2px solid #74e2d0;border-radius:15px;background:#ffffff12;text-align:center}.g5srs-mission strong{padding:7px 12px;border-radius:9px;background:#ffbd55;color:#4d3100}
.g5srs-support-chain{display:flex;align-items:center;gap:4px}.g5srs-support-chain span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#d8f0ea}.g5srs-support-chain i{font-style:normal}.g5srs-support-chain b{font-size:8px}.g5srs-support-chain em{font-style:normal}.g5srs-support-files{display:grid;grid-template-columns:1fr 1fr;gap:6px}.g5srs-support-files span{padding:8px;border-radius:8px;background:#dff2ed;text-align:center;font-size:9px;font-weight:900}.g5srs-mini-cards{display:flex;gap:7px}.g5srs-mini-cards span{padding:8px;border:2px solid #95bbb3;border-radius:9px;font-size:10px}.g5srs-mini-cards span.active{border-color:#f1aa43;background:#fff0ce}.g5srs-final{min-height:520px;border-radius:28px;padding:28px;display:grid;place-items:center;align-content:center;gap:14px;text-align:center;background:radial-gradient(circle at 50% 24%,#fff 0 17%,#daf7ef 18% 42%,#dfeaff 43% 69%,#fff0c7);color:#143e3d}.g5srs-final>span{font-size:11px;font-weight:950;letter-spacing:.15em;color:#087f76}.g5srs-final h1{max-width:760px;margin:0;font-size:clamp(27px,4vw,46px)}.g5srs-final p{margin:0;font-weight:750}.g5srs-final-orbit{width:140px;height:140px;border:10px solid #20a994;border-right-color:#ffad43;border-radius:50%;display:grid;place-items:center;align-content:center;box-shadow:0 12px 32px #143e3d30}.g5srs-final-orbit b{font-size:39px}.g5srs-final-orbit span{font-size:10px}.g5srs-report{display:grid;grid-template-columns:repeat(2,minmax(210px,1fr));gap:8px;width:min(760px,100%)}.g5srs-report section{display:grid;gap:4px;padding:11px;border-radius:14px;background:#143e3d;color:#fff}.g5srs-report section span{font-size:12px;color:#99e2d6}
@keyframes g5srs-spin{to{rotate:360deg}}@keyframes g5srs-drop{from{translate:0 -45px;opacity:0}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.g5srs-shell>main{grid-template-columns:minmax(0,1fr) 245px;min-height:420px}.g5srs-visual-stage{min-height:395px;padding:12px}.g5srs-panel{padding:12px}.g5srs-panel h2{font-size:17px}.g5srs-gears .gear{border-width:10px}.g5srs-order-track{grid-template-columns:repeat(2,1fr)}.topic-lesson-shell:has(.grade5-statistics-research-steps-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .skip-section,.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .lesson-time{display:none}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .restart-lesson{grid-column:3;grid-row:1}}
@media(max-width:600px){.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .section-track{max-width:100%}.topic-lesson-shell:has(.grade5-statistics-research-steps-board) .skip-section{display:none}.g5srs-shell{padding:8px;border-radius:18px;overflow:visible}.g5srs-shell>header{align-items:flex-start}.g5srs-progress{min-width:110px}.g5srs-shell>main{display:flex;flex-direction:column;min-height:0}.g5srs-visual,.g5srs-panel{overflow:visible}.g5srs-visual-stage{min-height:330px;padding:10px;overflow:hidden}.g5srs-panel h2{font-size:16px}.g5srs-support{grid-template-columns:1fr;margin:0 8px 8px}.g5srs-help{grid-template-columns:1fr}.g5srs-order-track{grid-template-columns:1fr}.g5srs-choices,.g5srs-multi{grid-template-columns:1fr}.g5srs-decision{grid-template-columns:1fr}.record-drawer,.supply-shelf{min-height:110px}.g5srs-bars{height:65px}.g5srs-cabinet{gap:5px}.g5srs-cabinet>div{min-height:120px;padding:8px}.g5srs-cabinet span{font-size:9px}.g5srs-compass>div{width:190px;height:190px}.g5srs-gears{grid-template-columns:repeat(2,1fr)}.g5srs-pipeline{display:grid;grid-template-columns:1fr 20px 1fr;gap:3px}.g5srs-pipeline span{width:auto;min-height:56px}.g5srs-pipeline>i{width:20px}.g5srs-transfer-cycle{grid-template-columns:repeat(2,1fr)}.g5srs-lens{min-height:210px}.crowd{grid-template-columns:repeat(6,24px);gap:8px}.crowd i{width:23px;height:33px}.lens-ring{width:145px;height:145px}.focus-0 .lens-ring{width:280px;height:190px}.g5srs-variation .hopper{width:94%;padding:8px;gap:3px}.g5srs-variation .hopper i{width:31px;height:31px;font-size:8px}.g5srs-crane .tower{left:12%}.g5srs-crane .tower:after{width:230px}.g5srs-privacy{grid-template-columns:1fr 100px}.shield{font-size:38px}.g5srs-blueprint{grid-template-columns:repeat(2,1fr)}.g5srs-lights{gap:4px}.g5srs-lights b{font-size:8px}.g5srs-report{grid-template-columns:1fr}.g5srs-final{min-height:620px;padding:18px}}
@media(prefers-reduced-motion:reduce){.g5srs-gears.assembled .gear,.g5srs-variation .hopper i{animation:none}.g5srs-progress>i:after,.g5srs-compass>div:after{transition:none}}
.g5srs-pipeline span{flex:1 1 82px;min-width:0;width:auto}.g5srs-pipeline>i{flex:0 1 38px;width:38px}
.g5srs-choices button{justify-content:center;text-align:center}.g5srs-choices button>i{display:none}

/* grade5-survey-question-writing.css */
.topic-lesson-shell:has(.grade5-survey-question-writing-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .lesson-avatar{height:184px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .teacher-bubble{min-height:74px;max-height:150px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:48vw}.topic-lesson-shell:has(.grade5-survey-question-writing-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-survey-question-writing-board) #lesson-support-dock:empty{display:none}.grade5-survey-question-writing-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.g5sqw-shell{--ink:#173447;--teal:#087f78;--mint:#78d9c4;--amber:#f2b84b;--coral:#eb6f62;--paper:#fffdf8;min-height:100%;color:var(--ink);font-family:"Nunito",system-ui,sans-serif}
.g5sqw-shell *{box-sizing:border-box}
.g5sqw-shell>header{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1240px;margin:0 auto 12px}
.g5sqw-shell>header span,.g5sqw-panel>span,.g5sqw-support>span{display:block;font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--teal)}
.g5sqw-shell h1{font-size:clamp(19px,2vw,29px);line-height:1.08;margin:3px 0 0}
.g5sqw-progress{width:min(260px,34vw);height:34px;padding:5px 7px;border:2px solid #b7d8d1;border-radius:20px;background:#fff;display:flex;align-items:center;gap:8px;box-shadow:0 7px 16px #244b4420}
.g5sqw-progress i{position:relative;flex:1;height:9px;border-radius:9px;background:#dcece8;overflow:hidden}
.g5sqw-progress i:after{content:"";position:absolute;inset:0;width:var(--p);background:linear-gradient(90deg,var(--teal),var(--mint));border-radius:inherit;transition:width .35s cubic-bezier(.2,.8,.2,1)}
.g5sqw-progress b{font-size:12px;white-space:nowrap}
.g5sqw-shell>main{max-width:1240px;margin:auto;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.82fr);gap:16px;align-items:stretch}
.g5sqw-visual,.g5sqw-panel{border:2px solid #badbd4;border-radius:24px;background:var(--paper);box-shadow:0 15px 32px #1b514527;overflow:hidden}
.g5sqw-visual{position:relative;min-height:510px;padding:16px;background:radial-gradient(circle at 15% 10%,#dffff2 0 8%,transparent 28%),linear-gradient(145deg,#fbfffd,#eff9f6)}
.g5sqw-visual-stage{position:relative;z-index:10;min-height:475px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.g5sqw-panel{padding:clamp(18px,2.2vw,30px);display:flex;flex-direction:column;justify-content:center;min-height:510px}
.g5sqw-panel h2{font-size:clamp(19px,1.8vw,27px);line-height:1.3;margin:10px 0 20px}
.g5sqw-check{min-height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--teal),#0a978b);color:white;font:900 16px inherit;box-shadow:0 9px 18px #087f7840;cursor:pointer;transition:transform .18s ease,filter .18s ease}
.g5sqw-check:not(:disabled):hover{transform:translateY(-2px);filter:saturate(1.15)}
.g5sqw-check:disabled{opacity:.4;box-shadow:none;cursor:not-allowed}
.g5sqw-message{min-height:48px;margin:14px 0 0;padding:11px 13px;border-radius:13px;background:#e8f5f1;font-size:13px;font-weight:750;line-height:1.35}
.g5sqw-message.retry{background:#fff0e8;color:#8d3e30}
.g5sqw-result{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:18px;background:#e4f8ee;border:2px solid #7acba6}
.g5sqw-result i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#15956e;color:#fff;font-style:normal;font-weight:1000;flex:0 0 auto}
.g5sqw-result p{margin:2px 0 0;line-height:1.45;font-weight:800}
.g5sqw-choices,.g5sqw-multi,.g5sqw-order-source{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;z-index:40}
.g5sqw-choices button,.g5sqw-multi button,.g5sqw-order-source button{min-height:56px;border:2px solid #b9d9d3;border-radius:14px;background:#fff;color:var(--ink);font:800 13px/1.25 inherit;padding:10px;cursor:pointer;box-shadow:0 5px 12px #17344712;transition:.2s cubic-bezier(.2,.8,.2,1)}
.g5sqw-choices button:hover,.g5sqw-multi button:hover,.g5sqw-order-source button:hover{transform:translateY(-2px);border-color:var(--teal)}
.g5sqw-choices button.selected,.g5sqw-multi button.selected{background:#daf5ed;border-color:var(--teal);box-shadow:0 0 0 3px #55c7b333}
.g5sqw-multi button{display:flex;align-items:center;text-align:left;gap:8px}
.g5sqw-multi button i{display:grid;place-items:center;width:25px;height:25px;flex:0 0 auto;border-radius:50%;background:#e2efec;font-style:normal}
.g5sqw-multi button.selected i{background:var(--teal);color:#fff}
.g5sqw-order-source{grid-template-columns:repeat(2,minmax(0,1fr))}
.g5sqw-order-source button:disabled{opacity:.4}
.g5sqw-order-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.g5sqw-order-track button{min-height:80px;border:2px dashed #9dc8bf;border-radius:14px;background:#f5fbf9;color:var(--ink);padding:8px;font:800 11px/1.2 inherit;cursor:pointer}
.g5sqw-order-track button.filled{border-style:solid;background:#dff5ed}
.g5sqw-order-track b{display:grid;place-items:center;margin:auto auto 5px;width:22px;height:22px;border-radius:50%;background:var(--teal);color:#fff}
.g5sqw-support{position:absolute;z-index:50;left:20px;right:20px;top:16px;min-height:120px;padding:13px;border:2px solid #5cb7aa;border-radius:18px;background:#f8fffcf2;box-shadow:0 14px 30px #174b4240;animation:sqwDrop .32s cubic-bezier(.2,.8,.2,1)}
.g5sqw-support>span{margin-bottom:10px}
.g5sqw-help{display:flex;gap:10px;justify-content:center}
.g5sqw-help button{min-height:44px;padding:9px 18px;border:2px solid #8ecbc0;border-radius:14px;background:#fff;color:#17564f;font:900 14px inherit;cursor:pointer}
@keyframes sqwDrop{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}

/* 1 · Soru tercümanı */
.g5sqw-translator{height:255px;display:grid;grid-template-columns:1fr 120px 1fr;align-items:center;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#dff7f1,#fff5d7);border:2px solid #aad7cd}
.g5sqw-translator>div{min-height:135px;border-radius:18px;display:grid;place-items:center;text-align:center;padding:15px}
.group-question,.person-question{background:white;border:2px solid #a9d4cc;box-shadow:0 10px 20px #123b321e}
.g5sqw-translator div>i{font-size:10px;font-style:normal;color:var(--teal);letter-spacing:.1em}
.g5sqw-translator div>b{font-size:17px}
.g5sqw-translator .press{position:relative;background:#174c54;color:#fff;min-height:170px}
.g5sqw-translator .press span{position:absolute;width:64px;height:64px;border:8px solid var(--mint);border-radius:12px;transform:rotate(45deg);transition:.35s ease}
.g5sqw-translator .press i{position:absolute;width:5px;height:105px;background:var(--amber);transform:rotate(90deg)}
.g5sqw-translator.state-0 .press span{transform:rotate(135deg) scale(.8)}
.g5sqw-translator .press em{position:absolute;bottom:10px;font:900 10px inherit;letter-spacing:.1em}

/* 2 · Turnike */
.g5sqw-gate{min-height:260px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:end;padding:22px;border-radius:22px;background:#dcecf3}
.g5sqw-gate .gate{position:relative;height:190px;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border:3px solid #6e98a8;border-bottom:12px solid #456e7d;border-radius:60px 60px 8px 8px;background:#f8fcfd;transition:.3s ease}
.g5sqw-gate .avatar{position:absolute;top:30px;width:54px;height:54px;border-radius:50%;background:#f1bb72;box-shadow:0 45px 0 18px #4e8fb0}
.g5sqw-gate .gate i{font-size:10px;font-style:normal;margin-top:5px;color:#8e3f34}
.g5sqw-gate .gate.active{transform:translateY(-9px);box-shadow:0 0 0 5px #ffffffb8}
.g5sqw-gate.chosen-0 .g0{border-color:#26a67f}.g5sqw-gate.chosen-0 .g0 i{color:#137053}
.question-pass{grid-column:1/-1;justify-self:center;margin-top:-4px;padding:8px 18px;border-radius:20px;background:#173447;color:#fff;font-size:11px;font-weight:900}

/* 3 · Sis */
.g5sqw-fog{position:relative;min-height:265px;border-radius:22px;background:#b8ccd1;overflow:hidden;display:grid;place-items:center;transition:.4s ease}
.g5sqw-fog.clear{background:linear-gradient(#bcebdc,#effbf7)}
.focus-card{position:relative;z-index:10;width:min(520px,82%);min-height:130px;display:grid;place-items:center;text-align:center;padding:20px;border-radius:20px;background:#fff;border:3px solid #7398a0;filter:blur(3px);transition:.4s ease}
.g5sqw-fog.clear .focus-card{filter:none;border-color:var(--teal);box-shadow:0 12px 24px #087f7833}
.focus-card span{font-size:11px;font-weight:900;color:var(--teal)}
.fog-layer{position:absolute;inset:0;z-index:15;transition:.45s ease}
.fog-layer i{position:absolute;width:240px;height:95px;border-radius:60%;background:#eef4f4d9;filter:blur(6px);animation:sqwFog 5s ease-in-out infinite alternate}
.fog-layer i:nth-child(2){left:38%;top:32%;animation-delay:-2s}.fog-layer i:nth-child(3){right:-3%;bottom:2%;animation-delay:-4s}
.g5sqw-fog.clear .fog-layer{opacity:0;transform:translateX(80px)}
.lens-ring{position:absolute;z-index:16;width:190px;height:190px;border:12px solid #456f78;border-radius:50%;box-shadow:inset 0 0 0 5px #fff8;transition:.4s ease}
.g5sqw-fog.clear .lens-ring{width:280px;height:210px;border-color:#0c8f81}
@keyframes sqwFog{to{transform:translate(70px,18px)}}

/* 4 · Bölücü */
.g5sqw-splitter{position:relative;min-height:270px;display:grid;place-items:center;border-radius:22px;background:#fff0dc;border:2px solid #e1b677;overflow:hidden}
.double-card{display:flex;align-items:center;gap:16px;padding:22px 28px;border-radius:16px;background:#fff;border:3px solid #c58044;box-shadow:0 10px 20px #7f4c2924;transition:.35s ease}
.double-card span{font-weight:1000}.double-card i{font-style:normal;color:#b34b3d;background:#ffe1d7;padding:5px 8px;border-radius:8px}
.blade{position:absolute;top:28px;color:#6a8290;font-size:60px;transform:translateY(-28px);transition:.35s ease}
.split-output{position:absolute;bottom:25px;display:flex;gap:40px;opacity:0;transform:translateY(20px);transition:.35s ease}
.split-output b{padding:12px 30px;border-radius:12px;background:#dff5ed;border:2px solid var(--teal)}
.g5sqw-splitter.split .double-card{opacity:0;transform:scaleX(1.2)}
.g5sqw-splitter.split .blade{transform:translateY(72px)}
.g5sqw-splitter.split .split-output{opacity:1;transform:none}
.g5sqw-splitter.jammed{animation:sqwShake .26s ease}
@keyframes sqwShake{25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}

/* 5 · Tarafsızlık terazisi */
.g5sqw-balance{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:22px;background:#e8eefb;overflow:hidden}
.g5sqw-balance .beam{width:70%;height:12px;background:#3f5474;border-radius:10px;display:flex;justify-content:space-between;align-items:center;transform:rotate(0);transition:.45s cubic-bezier(.2,.8,.2,1)}
.g5sqw-balance.tilted .beam{transform:rotate(-13deg)}
.g5sqw-balance .beam span{margin-top:70px;width:95px;padding:10px;text-align:center;background:#fff;border:2px solid #6d82a0;border-radius:13px;font-weight:1000}
.g5sqw-balance .beam i{width:22px;height:22px;background:var(--amber);border-radius:50%}
.g5sqw-balance .pivot{width:0;height:0;border-left:45px solid transparent;border-right:45px solid transparent;border-bottom:95px solid #637695}
.word-chip{margin-top:-12px;padding:9px 15px;border-radius:20px;background:#fff;border:2px solid #93a4bd;font-size:11px;font-weight:1000}

/* 6 · Amaç devresi */
.g5sqw-circuit{position:relative;min-height:270px;padding:26px;border-radius:22px;background:#142f3a;color:#fff;overflow:hidden}
.purpose-node,.bulb{position:absolute;top:75px;width:150px;min-height:95px;display:grid;place-items:center;text-align:center;border:3px solid #668d96;border-radius:20px;background:#1d4653;font-weight:1000}.purpose-node{left:45px}.bulb{right:45px}
.wire{position:absolute;left:195px;right:195px;top:120px;height:5px;background:#567780}
.bulb i{width:32px;height:32px;border-radius:50%;background:#506b73;box-shadow:none;transition:.3s}
.g5sqw-circuit.powered .wire{background:var(--mint);box-shadow:0 0 12px var(--mint)}.g5sqw-circuit.powered .bulb i{background:#ffe47a;box-shadow:0 0 24px #ffe47a}
.g5sqw-circuit.short{animation:sqwFlash .25s ease}.g5sqw-circuit.short .wire{background:var(--coral)}
.g5sqw-circuit .chip{position:relative;display:inline-block;max-width:42%;margin:185px 5px 0;padding:8px;border-radius:10px;background:#315765;font-size:9px}.g5sqw-circuit .chip.extra{background:#8e413a}
@keyframes sqwFlash{50%{filter:brightness(1.6)}}

/* 7 · Yanıt yuvası */
.g5sqw-dock{min-height:270px;padding:28px;border-radius:22px;background:#e5f0ff;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.survey-slot{height:180px;padding:22px;border:3px solid #5f7fa3;border-radius:18px;background:#fff;display:grid;place-items:center;text-align:center}.socket{width:120px;height:32px;border:4px dashed #7e9ab8;border-radius:10px}
.answer-device{min-height:150px;padding:18px;border:3px solid #7e9ab8;border-radius:18px;background:#eef5fb;display:flex;flex-direction:column;justify-content:center;gap:10px;text-align:center;font-weight:900;transition:.3s}
.dock-0 .answer-device{transform:translateX(-12px);border-color:var(--teal);background:#e3f7f1}.answer-device span{padding:7px;border-radius:9px;background:#fff}

/* 8 · Şalter */
.g5sqw-switchboard{position:relative;min-height:280px;padding:24px;border-radius:22px;background:#253541;color:#fff;display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center}
.single-lamp{height:170px;border:3px solid #5d7684;border-radius:18px;display:grid;place-items:center;text-align:center}.single-lamp i{width:48px;height:48px;border-radius:50%;background:#4c5d65}
.switch-list{display:grid;gap:10px}.switch-list span{display:grid;grid-template-columns:1fr 48px 100px;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;background:#344b58}.switch-list i{position:relative;width:44px;height:24px;border-radius:20px;background:#1a262c}.switch-list i:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#aab8bd;transition:.25s}.switch-list i.on{background:#0a8f78}.switch-list i.on:after{left:23px;background:#fff}.switch-list em{font:800 9px inherit;color:#b8ccd4}
.g5sqw-switchboard>strong{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:11px;color:#bcd5d6}.g5sqw-switchboard.valid-1>strong{color:#80efcb}

/* 9 · Seçenek tarayıcı */
.g5sqw-option-scan{position:relative;min-height:270px;padding:28px;border-radius:22px;background:#f7f1dc;overflow:hidden}
.scan-line{position:absolute;top:18px;bottom:18px;width:7px;background:#25ad96;box-shadow:0 0 20px #25ad96;animation:sqwScan 2.2s ease-in-out infinite alternate}
.bins{min-height:170px;display:flex;align-items:stretch;justify-content:center;gap:8px}.bins span{display:grid;place-items:center;flex:1;padding:8px;border:3px solid #b99b55;border-radius:14px 14px 25px 25px;background:#fff8df;text-align:center;font-size:11px;font-weight:1000}.bins span.broad{position:absolute;inset:55px 25% 55px;background:#f4bbb0cc;border-color:#b44e43;z-index:5}
.g5sqw-option-scan>b{display:block;text-align:center;margin-top:15px}.g5sqw-option-scan.covered>b{color:#087f78}.g5sqw-option-scan.overlap>b{color:#9b3d34}
@keyframes sqwScan{from{left:8%}to{left:91%}}

/* 10 · Gizlilik */
.g5sqw-vault{min-height:270px;padding:25px;border-radius:22px;background:#dfe8ef;display:grid;grid-template-columns:1fr 190px;gap:24px;align-items:center}
.form-sheet{min-height:210px;padding:20px;display:grid;gap:9px;background:#fff;border:2px solid #9eb3c0;border-radius:12px;box-shadow:0 8px 18px #28404e22}.form-sheet span{padding:8px;border-bottom:2px solid #d8e1e6;font-weight:850}.form-sheet span.redacted{background:#273b45;color:#fff;letter-spacing:.12em;border-radius:6px}
.vault-door{height:190px;border:12px solid #647985;border-radius:50%;background:#a9bac3;display:grid;place-items:center;text-align:center;box-shadow:inset 0 0 0 8px #dfe7ea}.vault-door i{width:65px;height:65px;border:9px solid #556c77;border-radius:50%;transition:.4s}.g5sqw-vault.locking .vault-door i{transform:rotate(90deg)}

/* 11 · Dil barometresi */
.g5sqw-language{min-height:270px;display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:center;padding:24px;border-radius:22px;background:#fff0e9}
.meter-face{position:relative;width:240px;height:125px;border-radius:240px 240px 15px 15px;background:linear-gradient(90deg,#ef766d 0 48%,#5bc49c 52%);border:8px solid #fff;box-shadow:0 7px 17px #653b2c25}.meter-face i{position:absolute;left:50%;bottom:8px;width:7px;height:92px;background:#253d49;transform-origin:bottom;transform:rotate(-48deg);border-radius:5px;transition:.45s}.g5sqw-language.easy .meter-face i{transform:rotate(48deg)}.meter-face span{position:absolute;bottom:15px;font-size:9px;font-weight:1000}.meter-face span:nth-of-type(1){left:12px}.meter-face span:nth-of-type(2){right:10px}
.word-flow{padding:25px;border:3px solid #e0aa91;border-radius:17px;background:#fff;text-align:center;font-weight:1000}.g5sqw-language.easy .word-flow{border-color:#47aa83;background:#e7f8f1}

/* 12 · Pilot */
.g5sqw-pilot{min-height:270px;padding:25px;border-radius:22px;background:#e9e1fa;display:grid;grid-template-columns:200px 1fr;gap:26px;align-items:center}
.avatar-head{position:relative;width:140px;height:160px;margin:auto;border-radius:70px 70px 55px 55px;background:#e7aa70;border:5px solid #6e568e}.avatar-head i{position:absolute;left:28px;right:28px;top:62px;height:10px;border-radius:50%;border-top:4px solid #5c4135}.avatar-head span{position:absolute;right:-22px;top:-22px;display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:#fff;border:4px solid #745d95;font-size:34px;font-weight:1000;color:#745d95}
.speech{padding:22px;border-radius:20px;background:#fff;border:3px solid #9d8abc;display:grid;gap:10px}.speech i{padding:7px;border-radius:9px;background:#f2edf9;font-style:normal;font-size:11px}.g5sqw-pilot.understood .speech{border-color:#40a87f}.g5sqw-pilot.understood .avatar-head span{border-color:#40a87f;color:#229266}

/* 13 · Hedef grup merceği */
.g5sqw-sample-lens{min-height:280px;padding:25px;border-radius:22px;background:#e4f3f6;display:grid;grid-template-columns:1fr 110px 1fr;gap:16px;align-items:center;position:relative}
.sample{min-height:190px;padding:18px;border:7px solid #5e8995;border-radius:50%;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:8px;background:#fff8}.sample i{width:24px;height:24px;border-radius:50%;background:#f2b84b}.sample i.c1{background:#35ae91}.sample i.c2{background:#738ac6}.sample b{width:100%;text-align:center;margin-top:10px}.same-question{padding:12px;border-radius:14px;background:#173447;color:#fff;text-align:center;font-size:10px;font-weight:1000}.g5sqw-sample-lens>strong{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:11px}.g5sqw-sample-lens.conclusion-0>strong{color:#087f78}

/* 14 · Plan */
.g5sqw-planboard{min-height:250px;padding:24px;border-radius:22px;background:#183f48;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:center}.g5sqw-planboard section{min-height:170px;padding:12px;border:3px dashed #7096a0;border-radius:16px;color:#d5e7e9;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px}.g5sqw-planboard section.filled{border-style:solid;border-color:#72d4bb;background:#21575a}.g5sqw-planboard section>i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#6e8f97;font-style:normal;font-weight:1000}.g5sqw-planboard section.filled>i{background:#30ad8b}.g5sqw-planboard span{font-size:10px;line-height:1.2}

/* 15 · Stüdyo */
.g5sqw-studio{position:relative;min-height:290px;padding:24px;border-radius:22px;background:#f4e7d4;overflow:hidden}.conveyor{min-height:165px;padding:18px;display:flex;gap:8px;align-items:center;border:10px solid #596973;border-radius:25px;background:repeating-linear-gradient(90deg,#a8b1b6 0 14px,#7e8a90 14px 28px)}.conveyor span{max-width:28%;padding:10px;border:3px solid #3e7c74;border-radius:12px;background:#fff;font-size:9px;font-weight:900;box-shadow:0 8px 14px #272b2d2b;animation:sqwPiece .35s cubic-bezier(.2,.8,.2,1)}.conveyor span.bad{border-color:#b34f45;background:#ffe5df}.g5sqw-lights{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px}.g5sqw-lights span{display:flex;align-items:center;gap:5px;font-size:10px}.g5sqw-lights i{width:13px;height:13px;border-radius:50%;background:#9ba8a6;box-shadow:inset 0 0 0 2px #fff}.g5sqw-lights span.on i{background:#18a679;box-shadow:0 0 9px #18a679}.g5sqw-studio>strong{display:block;text-align:center;margin-top:10px}.g5sqw-studio.approved>strong{color:#087f78}.g5sqw-studio.blocked>strong{color:#a13e35}@keyframes sqwPiece{from{transform:translateX(-40px);opacity:0}}

/* İkinci model araçları */
.g5sqw-support-channel,.g5sqw-support-clocks,.g5sqw-support-roads,.g5sqw-support-switches,.g5sqw-support-bins,.g5sqw-support-samples,.g5sqw-support-flight,.g5sqw-mini-cards{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}.g5sqw-support-channel span,.g5sqw-support-clocks span,.g5sqw-support-roads span,.g5sqw-support-switches span,.g5sqw-support-bins span,.g5sqw-support-samples span,.g5sqw-support-flight span,.g5sqw-mini-cards span{min-width:110px;padding:10px;border:2px solid #8bc8bc;border-radius:12px;background:#fff;text-align:center;font-size:11px;font-weight:900}.g5sqw-support-roads span{border-bottom-width:8px}.g5sqw-support-magnet{display:flex;align-items:center;justify-content:center;gap:20px}.g5sqw-support-magnet i{width:65px;height:32px;border:10px solid #d74f46;border-top:0;border-radius:0 0 35px 35px}.g5sqw-support-switches i{display:inline-block;width:28px;height:15px;margin-left:8px;border-radius:12px;background:#31aa88}.g5sqw-support-sieve{display:flex;justify-content:center;align-items:center;gap:20px}.g5sqw-support-sieve span{padding:10px;border-radius:12px;background:#fff;border:2px solid #9bcfc5;font-weight:900}.g5sqw-support-sieve i{width:80px;height:45px;border-bottom:8px dotted #628e86;transform:skew(-12deg)}.g5sqw-support-mirror{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:center}.g5sqw-support-mirror b{grid-column:1/-1}.g5sqw-support-mirror span{padding:8px;border-radius:10px;background:#fff;border:2px solid #9dcfc5}.g5sqw-support-flight span{display:flex;align-items:center;gap:7px}.g5sqw-support-flight i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--teal);color:#fff;font-style:normal}

.g5sqw-final{max-width:960px;margin:auto;padding:34px;border:2px solid #9ccfc4;border-radius:28px;background:linear-gradient(145deg,#fff,#e9f8f3);text-align:center;box-shadow:0 18px 40px #174b4230}.g5sqw-final-seal{width:135px;height:135px;margin:0 auto 18px;border:12px double var(--teal);border-radius:50%;display:grid;place-items:center;color:var(--teal)}.g5sqw-final-seal b{font-size:38px;line-height:.8}.g5sqw-final-seal span{font-size:10px;font-weight:900}.g5sqw-final>span{font-size:11px;letter-spacing:.12em;color:var(--teal);font-weight:1000}.g5sqw-final h1{margin:10px auto 20px;max-width:680px}.g5sqw-report{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.g5sqw-report section{padding:14px 8px;border-radius:14px;background:#fff;border:2px solid #bdded7}.g5sqw-report b,.g5sqw-report span{display:block}.g5sqw-report span{font-size:10px;margin-top:6px}.g5sqw-final>p{font-weight:800}

@media(max-width:900px){.topic-lesson-shell:has(.grade5-survey-question-writing-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-survey-question-writing-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .skip-section,.topic-lesson-shell:has(.grade5-survey-question-writing-board) .lesson-time{display:none}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .restart-lesson{grid-column:3;grid-row:1}.g5sqw-shell>main{grid-template-columns:minmax(0,1fr) 250px}.g5sqw-panel{min-height:auto}.g5sqw-visual{min-height:500px}.g5sqw-report{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
  .topic-lesson-shell:has(.grade5-survey-question-writing-board) .section-track{max-width:100%}.topic-lesson-shell:has(.grade5-survey-question-writing-board) .skip-section{display:none}
  .g5sqw-shell{padding:8px;border-radius:18px;overflow:visible}.grade5-survey-question-writing-board{padding:0}.g5sqw-shell>header{align-items:flex-start}.g5sqw-shell>header h1{font-size:17px}.g5sqw-progress{width:110px}.g5sqw-progress i{display:none}.g5sqw-shell>main{display:flex;flex-direction:column}.g5sqw-visual{min-height:470px;padding:9px;border-radius:18px;overflow:visible}.g5sqw-visual-stage{min-height:445px;justify-content:flex-start;padding-top:6px;overflow:hidden}.g5sqw-panel{padding:16px;border-radius:18px}.g5sqw-panel h2{font-size:18px;margin:8px 0 14px}
  .g5sqw-choices,.g5sqw-multi,.g5sqw-order-source{grid-template-columns:1fr;gap:6px}.g5sqw-choices button,.g5sqw-multi button,.g5sqw-order-source button{min-height:44px;padding:7px 9px;font-size:11px}.g5sqw-order-track{grid-template-columns:repeat(2,1fr)}.g5sqw-order-track button{min-height:62px}.g5sqw-support{left:8px;right:8px;top:5px;min-height:105px;padding:9px}.g5sqw-support>span{font-size:9px}
  .g5sqw-translator{height:210px;grid-template-columns:1fr 64px 1fr;gap:5px;padding:8px}.g5sqw-translator>div{min-height:105px;padding:7px}.g5sqw-translator div>b{font-size:11px}.g5sqw-translator .press{min-height:125px}.g5sqw-translator .press span{width:38px;height:38px;border-width:5px}.g5sqw-translator .press i{height:60px}.g5sqw-translator .press em{font-size:7px;letter-spacing:.04em;white-space:nowrap}.g5sqw-gate{min-height:205px;padding:8px;gap:5px}.g5sqw-gate .gate{height:150px;padding:6px;font-size:9px}.g5sqw-gate .avatar{width:38px;height:38px;top:28px;box-shadow:0 32px 0 12px #4e8fb0}.g5sqw-fog,.g5sqw-splitter,.g5sqw-balance,.g5sqw-circuit,.g5sqw-dock,.g5sqw-switchboard,.g5sqw-option-scan,.g5sqw-vault,.g5sqw-language,.g5sqw-pilot,.g5sqw-sample-lens,.g5sqw-planboard,.g5sqw-studio{min-height:205px}
  .focus-card{min-height:100px;font-size:11px}.lens-ring{width:120px;height:120px}.g5sqw-fog.clear .lens-ring{width:190px;height:135px}.double-card{padding:13px;gap:7px}.split-output{gap:9px}.split-output b{padding:8px 12px}.g5sqw-balance .beam{width:82%}.g5sqw-balance .beam span{width:70px;font-size:10px}.purpose-node,.bulb{top:44px;width:105px;min-height:78px;font-size:10px}.purpose-node{left:13px}.bulb{right:13px}.wire{left:118px;right:118px;top:82px}.g5sqw-circuit .chip{margin-top:125px;max-width:47%;font-size:8px}.g5sqw-dock{padding:10px;gap:8px}.survey-slot{height:130px;padding:8px;font-size:10px}.socket{width:70px}.answer-device{min-height:120px;padding:7px;font-size:10px}.g5sqw-switchboard{padding:10px;grid-template-columns:95px 1fr;gap:8px}.single-lamp{height:120px;font-size:9px}.switch-list span{grid-template-columns:1fr 34px;padding:6px;font-size:9px}.switch-list em{display:none}.switch-list i{width:34px}.switch-list i.on:after{left:13px}.g5sqw-option-scan{padding:12px}.bins{min-height:120px;gap:3px}.bins span{padding:3px;font-size:8px}.g5sqw-vault{padding:10px;grid-template-columns:1fr 105px;gap:8px}.form-sheet{min-height:160px;padding:8px;gap:3px}.form-sheet span{padding:5px;font-size:9px}.vault-door{height:105px;border-width:7px;font-size:9px}.vault-door i{width:42px;height:42px;border-width:6px}.g5sqw-language{padding:10px;grid-template-columns:130px 1fr;gap:8px}.meter-face{width:125px;height:72px;border-width:5px}.meter-face i{height:52px}.meter-face span{font-size:6px}.word-flow{padding:11px;font-size:9px}.g5sqw-pilot{padding:10px;grid-template-columns:100px 1fr;gap:8px}.avatar-head{width:80px;height:100px}.avatar-head span{width:40px;height:40px;font-size:20px}.speech{padding:10px;font-size:9px}.g5sqw-sample-lens{padding:10px;grid-template-columns:1fr 55px 1fr;gap:4px}.sample{min-height:130px;padding:7px;border-width:4px}.sample i{width:15px;height:15px}.same-question{padding:6px;font-size:7px}.g5sqw-planboard{padding:8px;gap:4px}.g5sqw-planboard section{min-height:135px;padding:4px;font-size:8px}.conveyor{min-height:125px;padding:7px;border-width:6px}.conveyor span{max-width:32%;padding:5px;font-size:7px}.g5sqw-lights{gap:5px}.g5sqw-lights span{font-size:8px}.g5sqw-lights i{width:10px;height:10px}.g5sqw-final{padding:18px}.g5sqw-report{grid-template-columns:1fr}.g5sqw-final-seal{width:105px;height:105px}
}
@media(prefers-reduced-motion:reduce){.g5sqw-shell *{animation:none!important;transition:none!important}}

/* grade5-data-visualization-tools.css */
.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .lesson-avatar{height:184px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .teacher-bubble{min-height:74px;max-height:150px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:48vw}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-data-visualization-tools-board) #lesson-support-dock:empty{display:none}.grade5-data-visualization-tools-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.g5dvt-shell{--ink:#173249;--navy:#143a55;--cyan:#14a7b8;--sky:#7adce5;--lime:#a8d95b;--orange:#f3a448;--violet:#7659ad;--paper:#fbfffd;min-height:100%;color:var(--ink);font-family:"Nunito",system-ui,sans-serif}.g5dvt-shell *{box-sizing:border-box}.g5dvt-shell>header{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1240px;margin:0 auto 12px}.g5dvt-shell>header span,.g5dvt-panel>span,.g5dvt-support>span{display:block;font-size:11px;font-weight:1000;letter-spacing:.13em;color:#087c8a}.g5dvt-shell h1{font-size:clamp(19px,2vw,29px);line-height:1.08;margin:3px 0 0}.g5dvt-progress{width:min(260px,34vw);height:34px;padding:5px 7px;border:2px solid #a9d5da;border-radius:20px;background:#fff;display:flex;align-items:center;gap:8px;box-shadow:0 7px 16px #17324920}.g5dvt-progress i{position:relative;flex:1;height:9px;border-radius:9px;background:#dcecef;overflow:hidden}.g5dvt-progress i:after{content:"";position:absolute;inset:0;width:var(--p);background:linear-gradient(90deg,#087c8a,var(--sky),var(--lime));border-radius:inherit;transition:width .35s cubic-bezier(.2,.8,.2,1)}.g5dvt-progress b{font-size:12px;white-space:nowrap}.g5dvt-shell>main{max-width:1240px;margin:auto;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.82fr);gap:16px;align-items:stretch}.g5dvt-visual,.g5dvt-panel{border:2px solid #afd6db;border-radius:24px;background:var(--paper);box-shadow:0 15px 32px #17324925;overflow:hidden}.g5dvt-visual{position:relative;min-height:520px;padding:16px;background:radial-gradient(circle at 12% 8%,#daf8f7 0 7%,transparent 28%),linear-gradient(145deg,#fbfffe,#eef7f8)}.g5dvt-visual-stage{position:relative;z-index:10;min-height:485px;display:flex;flex-direction:column;justify-content:center;gap:14px}.g5dvt-panel{padding:clamp(18px,2.2vw,30px);display:flex;flex-direction:column;justify-content:center;min-height:520px}.g5dvt-panel h2{font-size:clamp(19px,1.75vw,26px);line-height:1.3;margin:10px 0 20px}.g5dvt-check{min-height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,#087c8a,#10a3a7);color:#fff;font:900 16px inherit;box-shadow:0 9px 18px #087c8a40;cursor:pointer;transition:.18s ease}.g5dvt-check:not(:disabled):hover{transform:translateY(-2px);filter:saturate(1.15)}.g5dvt-check:disabled{opacity:.4;box-shadow:none;cursor:not-allowed}.g5dvt-message{min-height:48px;margin:14px 0 0;padding:11px 13px;border-radius:13px;background:#e5f5f5;font-size:13px;font-weight:750;line-height:1.35}.g5dvt-message.retry{background:#fff0e5;color:#8b422e}.g5dvt-result{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:18px;background:#e6f8ed;border:2px solid #83cc9f}.g5dvt-result i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#239966;color:#fff;font-style:normal;font-weight:1000;flex:0 0 auto}.g5dvt-result p{margin:2px 0 0;line-height:1.45;font-weight:800}
.g5dvt-choices,.g5dvt-multi,.g5dvt-order-source{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;z-index:40}.g5dvt-choices button,.g5dvt-multi button,.g5dvt-order-source button{min-height:54px;border:2px solid #afd5da;border-radius:13px;background:#fff;color:var(--ink);font:800 12px/1.22 inherit;padding:9px;cursor:pointer;box-shadow:0 5px 12px #17324912;transition:.18s ease}.g5dvt-choices button:hover,.g5dvt-multi button:hover,.g5dvt-order-source button:hover{transform:translateY(-2px);border-color:#0b8998}.g5dvt-choices button.selected,.g5dvt-multi button.selected{background:#dff7f6;border-color:#078493;box-shadow:0 0 0 3px #3eb8bd30}.g5dvt-multi button{display:flex;align-items:center;text-align:left;gap:7px}.g5dvt-multi button i{display:grid;place-items:center;width:24px;height:24px;flex:0 0 auto;border-radius:50%;background:#e3eff0;font-style:normal}.g5dvt-multi button.selected i{background:#078493;color:#fff}.g5dvt-order-source{grid-template-columns:repeat(3,minmax(0,1fr))}.g5dvt-order-source button:disabled{opacity:.35}.g5dvt-order-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.g5dvt-order-track button{min-height:70px;border:2px dashed #9bc7cd;border-radius:13px;background:#f5fbfb;color:var(--ink);padding:7px;font:800 11px/1.15 inherit;cursor:pointer}.g5dvt-order-track button.filled{border-style:solid;background:#dff5f3}.g5dvt-order-track b{display:grid;place-items:center;margin:auto auto 5px;width:21px;height:21px;border-radius:50%;background:#087c8a;color:#fff}.g5dvt-support{position:absolute;z-index:60;left:20px;right:20px;top:16px;min-height:118px;padding:13px;border:2px solid #4cb3bc;border-radius:18px;background:#f7fffdf2;box-shadow:0 14px 30px #17324940;animation:dvtDrop .3s cubic-bezier(.2,.8,.2,1)}.g5dvt-support>span{margin-bottom:9px}.g5dvt-help{display:flex;gap:10px;justify-content:center}.g5dvt-help button{min-height:44px;padding:9px 18px;border:2px solid #7fc3cb;border-radius:14px;background:#fff;color:#155467;font:900 14px inherit;cursor:pointer}@keyframes dvtDrop{from{opacity:0;transform:translateY(-17px)}to{opacity:1;transform:none}}
.g5dvt-bars{height:190px;display:flex;align-items:flex-end;justify-content:center;gap:22px;padding:12px 12px 24px;border-left:4px solid #24465d;border-bottom:4px solid #24465d}.g5dvt-bars .bar-slot{position:relative;width:54px;height:100%;display:flex;align-items:flex-end;justify-content:center}.g5dvt-bars .bar-slot>i{position:relative;width:36px;height:calc(var(--h)*9px);max-height:100%;background:linear-gradient(#24b7c4,#087c8a);border-radius:6px 6px 0 0;transition:.45s cubic-bezier(.2,.8,.2,1);box-shadow:inset 0 0 0 2px #ffffff45}.g5dvt-bars .bar-slot>i em{position:absolute;top:-19px;left:0;right:0;text-align:center;font:900 11px inherit;font-style:normal}.g5dvt-bars .bar-slot>b{position:absolute;top:calc(100% + 7px);font-size:9px;white-space:nowrap}.g5dvt-dots{height:150px;display:flex;align-items:flex-end;justify-content:center;gap:18px;padding:8px 8px 23px;border-bottom:3px solid #28495e}.dot-lane{position:relative;width:42px;height:100%;display:flex;align-items:flex-end;justify-content:center}.dot-lane>span{display:flex;flex-direction:column-reverse;gap:4px}.dot-lane i{display:block;width:20px;height:20px;border-radius:50%;background:#20a7b7;border:3px solid #e7ffff;box-shadow:0 2px 5px #17324935;animation:dvtPop .24s ease-out}.dot-lane>b{position:absolute;top:calc(100% + 5px);font-size:10px}@keyframes dvtPop{from{transform:scale(.35);opacity:.35}}
/* 1 · Kapsül sınıflandırıcı */.g5dvt-sorter{position:relative;min-height:270px;border-radius:22px;background:#163a52;overflow:hidden;padding:18px;display:grid;grid-template-columns:170px 1fr;gap:18px}.harbor{position:relative;border:3px solid #5ac7ce;border-radius:20px;background:#0b293e;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#bdfbfa;padding:14px}.harbor strong{font-size:56px;line-height:1}.docked-capsules{display:flex;justify-content:center;gap:4px;min-height:25px;margin-top:5px}.docked-capsules i{padding:4px 6px;border-radius:9px;background:#76d7d1;color:#15334a;font:900 8px inherit;font-style:normal;animation:dvtPop .24s ease-out}.cargo-field{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-content:center}.cargo-field>i{min-height:82px;padding:9px;border:2px solid #7392a3;border-radius:14px;background:#f8fcfd;color:#173249;font-style:normal;display:flex;flex-direction:column;justify-content:center;transition:.35s cubic-bezier(.2,.8,.2,1)}.cargo-field i b{font-size:11px}.cargo-field i em{font-size:9px;font-style:normal;color:#477181}.cargo-field i.docked{transform:scale(.78);opacity:.3;border-color:#66e2d5}.cargo-field i.wrong-dock{border-color:#e66f55;background:#ffe6df;animation:dvtShake .3s}.scanner-beam{position:absolute;right:0;top:0;width:5px;height:100%;background:#65e7e2;box-shadow:0 0 16px #65e7e2;animation:dvtScan 3s infinite alternate}@keyframes dvtScan{to{right:calc(100% - 5px)}}@keyframes dvtShake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
/* 2 · Çetele */.g5dvt-tally{min-height:245px;border-radius:22px;background:#f6ead0;display:grid;grid-template-columns:1fr 80px 180px;gap:20px;align-items:center;padding:30px}.tally-marks{height:150px;border:3px solid #9f783c;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font:1000 38px monospace;letter-spacing:-8px}.tally-marks i{font-size:55px;transform:rotate(-18deg);font-style:normal;color:#b34e3f}.translator-arrow{text-align:center;font-size:46px;color:#7b5b2f}.frequency-display{height:150px;border-radius:20px;background:#173f52;color:#fff;display:grid;place-items:center;font-size:66px;font-weight:1000;box-shadow:inset 0 0 0 8px #2e6b7d}.frequency-display small{font-size:10px;letter-spacing:.14em}.g5dvt-tally.state-1 .frequency-display{background:#078493;animation:dvtPulse .5s}@keyframes dvtPulse{50%{transform:scale(1.06)}}
/* 3 · Sıklık konsolu */.g5dvt-frequency{min-height:265px;padding:22px;border-radius:22px;background:#dcebf0;display:grid;grid-template-columns:1fr 1fr;gap:25px}.capsule-stacks{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:10px}.capsule-stacks span{height:200px;display:flex;flex-direction:column-reverse;align-items:center;gap:5px}.capsule-stacks i{width:42px;height:25px;border-radius:14px;background:#17a7b4;border:3px solid #fff}.capsule-stacks b{margin-top:6px;font-size:10px}.frequency-table{display:flex;flex-direction:column;justify-content:center;border:3px solid #31566b;border-radius:15px;overflow:hidden;background:#fff;min-width:0}.frequency-table span{display:grid;grid-template-columns:minmax(0,1fr) 70px;width:100%;min-height:58px;border-bottom:2px solid #a8c2cd}.frequency-table span:last-child{border:0}.frequency-table b,.frequency-table em{display:grid;place-items:center;padding:8px;min-width:0}.frequency-table em{border-left:2px solid #a8c2cd;font:1000 20px inherit;font-style:normal;color:#087c8a}
/* 4 · Nokta radarı */.g5dvt-dot-radar{min-height:260px;border-radius:22px;background:#142f47;color:#fff;padding:20px;display:grid;grid-template-columns:1fr 180px;gap:22px;align-items:center}.radar-grid{height:205px;border:2px solid #4b8398;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:repeating-radial-gradient(circle,#173f58 0 25px,#28566a 26px 27px)}.radar-stack{height:145px;display:flex;flex-direction:column-reverse;justify-content:flex-start;gap:4px}.radar-stack button{position:relative;width:28px;height:18px;border:0;background:transparent}.radar-stack i{position:absolute;inset:0;margin:auto;width:17px;height:17px;border-radius:50%;background:#506f7d;transition:.25s}.radar-stack .active i{background:#6ff2df;box-shadow:0 0 14px #6ff2df}.radar-stack small{position:absolute;left:27px;color:#b5d2dc}.people-row{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.people-row span{padding:12px;border-radius:50%;background:#496476;text-align:center;transition:.3s}.people-row span.linked{background:#f0a44f;color:#182f43;box-shadow:0 0 0 4px #ffffff22}.g5dvt-dot-radar>strong{position:absolute;right:35px;bottom:32px;font-size:11px}
/* 5 · Dağılım tarayıcı */.g5dvt-distribution{position:relative;min-height:270px;border-radius:22px;background:#e5eef8;padding:18px;display:grid;grid-template-columns:1fr 35px 1fr;align-items:center}.g5dvt-distribution section{display:grid;place-items:center}.g5dvt-distribution .g5dvt-dots{width:100%}.g5dvt-distribution section>strong{font-size:11px;margin-top:8px}.scan-line{height:210px;width:5px;background:#6f7fa9;box-shadow:0 0 13px #6f7fa9}.g5dvt-distribution.evidence-on .set-a .dot-lane:nth-child(2) i{background:#f19c3e;animation:dvtPulse .5s}
/* 6 · Sütun presi */.g5dvt-press{min-height:270px;border-radius:22px;background:#dfe9e9;padding:14px;display:grid;grid-template-columns:1fr 90px 1fr;gap:12px;align-items:center;position:relative}.g5dvt-press section{min-width:0}.press-head{height:220px;border:5px solid #516b76;border-radius:14px;background:#80929a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#fff;text-align:center}.press-head i{width:58px;height:45px;border-radius:10px;background:#e7a54f;box-shadow:0 50px 0 -16px #445c68}.press-head b{font-size:9px}.g5dvt-press.state-0 .pressed .bar-slot>i{animation:dvtPress .55s}@keyframes dvtPress{from{background:repeating-linear-gradient(#25a8b8 0 15px,transparent 15px 19px)}}.preserve-line{position:absolute;left:20%;right:20%;top:36px;border-top:2px dashed #eb755d;text-align:center;font-size:9px;font-weight:1000;color:#9b4936}
/* 7 · Ölçek asansörü */.g5dvt-scale{min-height:280px;border-radius:22px;background:#eff3df;padding:18px;display:grid;grid-template-columns:130px 1fr 100px;gap:12px;align-items:end}.scale-axis{height:220px;display:flex;flex-direction:column;justify-content:space-between;border-right:4px solid #334e60}.scale-axis span{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:9px}.scale-axis i{width:35px;border-top:2px solid #84949b}.g5dvt-scale .g5dvt-bars{height:220px}.zero-seal{align-self:center;padding:16px 8px;border:4px double #858f51;border-radius:50%;text-align:center;font:1000 10px inherit}.g5dvt-scale.state-0 .zero-seal{border-color:#299669;color:#207554}
/* 8 · Onarım */.g5dvt-repair{position:relative;min-height:280px;border-radius:22px;background:#f6e8e4;padding:45px 24px 18px 85px}.repair-title{position:absolute;top:12px;left:50%;transform:translateX(-50%);padding:6px 15px;border-radius:12px;background:#d25e4d;color:#fff;font-size:10px;font-weight:1000}.repair-title.fixed{background:#278f6d}.broken-axis{position:absolute;left:22px;top:58px;bottom:52px;display:flex;flex-direction:column-reverse;justify-content:space-between;border-right:4px solid #6b4c48;padding-right:8px;font-size:9px}.broken-axis.even{justify-content:space-between}.g5dvt-repair .g5dvt-bars{height:185px}.repair-lamps{display:flex;justify-content:center;gap:14px;margin-top:8px}.repair-lamps span{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:900}.repair-lamps i{width:12px;height:12px;border-radius:50%;background:#a79490}.repair-lamps .on i{background:#36b282;box-shadow:0 0 8px #36b282}
/* 9 · Sütun kalibratörü */.g5dvt-calibrator{min-height:280px;border-radius:22px;background:#e8e3f4;padding:45px 40px 18px;position:relative}.caliper{position:absolute;top:12px;left:22%;right:22%;display:flex;align-items:center;justify-content:space-between}.caliper i{width:45px;height:20px;border-left:5px solid #66568b;border-right:5px solid #66568b}.caliper b{font-size:10px}.g5dvt-calibrator .g5dvt-bars{height:195px}.g5dvt-calibrator.wide .bar-slot:nth-child(2)>i{width:65px}.g5dvt-calibrator.touching .g5dvt-bars{gap:0}.g5dvt-calibrator.fair .bar-slot>i{width:36px}.width-guides{position:absolute;left:50%;bottom:42px;transform:translateX(-50%);display:flex;gap:39px}.width-guides span{width:38px;height:165px;border:2px dashed #7866a5;border-radius:6px}.g5dvt-calibrator>strong{display:block;text-align:center;font-size:10px;margin-top:8px}.g5dvt-calibrator.fair>strong{color:#267a62}
/* 10 · Sütun kurucu */.g5dvt-constructor{min-height:280px;border-radius:22px;background:#e6f5ef;padding:18px;display:grid;grid-template-columns:140px 1fr;gap:18px;position:relative}.data-card{display:grid;align-content:center;gap:8px}.data-card span{display:flex;justify-content:space-between;padding:10px;border-radius:10px;background:#fff;border:2px solid #78b7a6;font-size:11px}.g5dvt-constructor .g5dvt-bars{height:220px}.level-rays{position:absolute;left:175px;right:20px;top:18px;height:220px;pointer-events:none}.level-rays i{position:absolute;left:0;right:0;bottom:24px;height:calc(var(--h)*9px);border-top:1px dashed #df7e55;opacity:.6}
/* 11 · Eş birimli halka */.g5dvt-ring-lab{min-height:285px;border-radius:22px;background:#173b50;color:#fff;padding:15px;display:grid;grid-template-columns:260px 1fr;align-items:center;gap:20px}.g5dvt-ring{position:relative;width:235px;height:235px;margin:auto;border-radius:50%;background:var(--ring-fill,#d9e5e6);box-shadow:0 0 0 5px #6da6b5;overflow:hidden}.g5dvt-ring>i{position:absolute;left:50%;top:50%;width:3px;height:50%;transform-origin:50% 0;transform:rotate(calc(var(--i)*360deg/var(--total))) translateY(-100%);background:#fff;opacity:.92}.g5dvt-ring>strong{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#ffffffe8;color:#173249;font-size:18px;box-shadow:0 3px 12px #17324935}.unit-legend{display:grid;gap:10px}.unit-legend span{padding:11px;border-radius:12px;color:#102c3b;font-weight:1000}.unit-legend .blue{background:#65d3e4}.unit-legend .green{background:#a9df7b}.unit-legend .orange{background:#ffc87f}.g5dvt-ring-lab>strong{text-align:center;font-size:11px}.g5dvt-ring-lab.complete>strong{color:#8bf1c1}
/* 12 · Pay merceği */.g5dvt-share{min-height:280px;border-radius:22px;background:#f5ead8;padding:18px;display:grid;grid-template-columns:260px 1fr;align-items:center;position:relative}.g5dvt-share .g5dvt-ring{background:#f7fbf8}.diameter{position:absolute;left:38px;top:50%;width:220px;border-top:5px dashed #b64848;transform:rotate(-90deg);transform-origin:center}.share-readout{display:flex;align-items:center;justify-content:center;gap:10px}.share-readout b{font-size:44px}.share-readout i{font-size:32px;font-style:normal}.share-readout span{padding:8px;border-radius:10px;background:#fff;border:2px solid #bc9161;font-weight:1000}.g5dvt-share.half .share-readout span{background:#dff5e8;border-color:#53aa7b}
/* 13 · Araç pusulası */.g5dvt-compass{min-height:285px;border-radius:22px;background:#e1ebf6;padding:20px;display:grid;grid-template-columns:1fr 130px 1fr;gap:18px;align-items:center}.purpose-list,.tool-docks{display:grid;gap:10px}.purpose-list span,.tool-docks span{min-height:48px;padding:10px;border:2px solid #7c9ab6;border-radius:12px;background:#fff;font-size:10px;font-weight:900;display:flex;align-items:center;gap:8px}.purpose-list b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#355d7c;color:#fff}.compass-core{width:125px;height:125px;border-radius:50%;border:10px double #5a7695;background:#fff;display:grid;place-items:center;position:relative}.compass-core i{position:absolute;width:8px;height:90px;background:linear-gradient(#e85f50 0 50%,#466c89 50%);clip-path:polygon(50% 0,100% 50%,60% 50%,60% 100%,40% 100%,40% 50%,0 50%);animation:dvtCompass 2.5s ease-in-out infinite alternate}.compass-core strong{z-index:2;background:#fff;padding:3px;font-size:10px}@keyframes dvtCompass{to{transform:rotate(250deg)}}
/* 14 · Dönüşüm kilidi */.g5dvt-conversion{position:relative;min-height:290px;border-radius:22px;background:#172f45;color:#fff;padding:18px;display:grid;grid-template-columns:1fr 45px 1fr;gap:10px;align-items:center}.g5dvt-conversion .g5dvt-bars,.g5dvt-conversion .g5dvt-dots{transform:scale(.82);border-color:#cce9eb}.morph-arrow{text-align:center;font-size:30px;color:#7ce6dd}.passport{position:absolute;left:18%;right:18%;bottom:8px;display:flex;justify-content:center;gap:7px}.passport span{padding:6px;border:2px solid #607887;border-radius:8px;background:#213f54;font-size:8px}.passport span.stamped{border-color:#68e0b4;background:#19624e}.g5dvt-conversion>strong{position:absolute;right:15px;top:12px;font-size:9px;color:#7ce6dd}
/* 15 · İkiz dağılım */.g5dvt-twins{min-height:290px;border-radius:22px;background:#edf0f8;padding:14px;display:grid;grid-template-columns:1fr 95px 1fr;gap:8px;align-items:center}.twin{text-align:center}.twin .g5dvt-dots{height:210px}.twin>strong{font-size:11px}.balance-mark{text-align:center;padding:11px 3px;border-radius:50%;background:#465f83;color:#fff;font-size:10px;font-weight:1000}.g5dvt-twins.compared .twin.a .dot-lane:nth-child(2) i,.g5dvt-twins.compared .twin.b .dot-lane:not(:nth-child(2)) i{background:#ef9950;box-shadow:0 0 9px #ef9950}
/* 16 · Kanıt köprüsü */.g5dvt-evidence{min-height:300px;border-radius:22px;background:#e8f1ee;padding:12px;display:grid;grid-template-columns:1fr 85px 1fr;gap:8px;align-items:center;position:relative}.g5dvt-evidence section{text-align:center}.g5dvt-evidence section>span{font-size:10px;font-weight:1000}.g5dvt-evidence .g5dvt-bars{height:200px;gap:10px}.evidence-bridge{height:170px;background:#45697a;color:#fff;clip-path:polygon(0 0,100% 0,76% 45%,76% 100%,24% 100%,24% 45%);display:grid;place-items:center;text-align:center;padding:10px}.evidence-bridge b{font-size:8px}.g5dvt-evidence.verified .evidence-bridge{background:#258a6a}.g5dvt-evidence.blocked .evidence-bridge{background:#b34d43}.evidence-cards{position:absolute;left:12px;right:12px;bottom:5px;display:flex;justify-content:center;gap:4px}.evidence-cards em{max-width:28%;padding:4px;border-radius:6px;background:#fff;font:800 7px inherit;font-style:normal}.evidence-cards em.good{border:1px solid #349b74}.evidence-cards em.bad{border:1px solid #c15549;background:#ffe5df}
/* İkinci aktif modeller */.g5dvt-support-bands,.g5dvt-support-stones,.g5dvt-support-bijection,.g5dvt-support-strips,.g5dvt-support-repair,.g5dvt-support-molds,.g5dvt-support-rays,.g5dvt-support-purpose,.g5dvt-support-passport,.g5dvt-support-scales,.g5dvt-support-units,.g5dvt-support-halves{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g5dvt-support-bands span,.g5dvt-support-strips span,.g5dvt-support-repair span,.g5dvt-support-rays span,.g5dvt-support-purpose span,.g5dvt-support-passport span,.g5dvt-support-scales span,.g5dvt-support-units span,.g5dvt-support-halves span{padding:9px 13px;border:2px solid #6fbac1;border-radius:11px;background:#fff;font-size:10px;font-weight:900}.g5dvt-support-stones span{display:flex;align-items:center;gap:3px}.g5dvt-support-stones i{width:16px;height:16px;border-radius:50%;background:#1aa5b1}.g5dvt-support-stones em{font-size:22px;font-style:normal}.g5dvt-support-bijection span{display:flex;align-items:center;gap:7px}.g5dvt-support-bijection b,.g5dvt-support-bijection em{padding:6px;border-radius:50%;background:#fff;border:2px solid #6db8bf;font-style:normal}.g5dvt-support-levels{display:flex;justify-content:center;gap:12px}.g5dvt-support-levels span{height:75px;display:flex;align-items:end;gap:4px}.g5dvt-support-levels i{width:28px;height:calc(var(--h)*10px);background:#1ca4b1}.g5dvt-support-stairs{display:flex;align-items:end;justify-content:center}.g5dvt-support-stairs span{width:55px;padding:8px;background:#fff;border:2px solid #68b2bb;transform:translateY(calc(var(--i,0)*-2px))}.g5dvt-support-molds span{width:45px;height:80px;border:3px dashed #628ca0;border-radius:5px}.g5dvt-support-strip{display:flex;justify-content:center}.g5dvt-support-strip i{width:28px;height:34px;border:1px solid #fff}.g5dvt-support-strip .blue{background:#21a8c3}.g5dvt-support-strip .green{background:#79c75a}.g5dvt-support-strip .orange{background:#f2a246}
.g5dvt-final{max-width:960px;margin:auto;padding:32px;border:2px solid #96cad0;border-radius:28px;background:linear-gradient(145deg,#fff,#e6f6f6);text-align:center;box-shadow:0 18px 40px #17324930}.g5dvt-final-wheel{width:150px;margin:0 auto 12px}.g5dvt-final-wheel .g5dvt-ring{width:130px;height:130px;box-shadow:inset 0 0 0 18px #fff,0 0 0 5px #6da6b5}.g5dvt-final-wheel .g5dvt-ring>i{height:50px;transform:rotate(calc(var(--i)*360deg/var(--total))) translateY(-50px)}.g5dvt-final-wheel .g5dvt-ring>strong{display:none}.g5dvt-final>span{font-size:11px;letter-spacing:.12em;color:#087c8a;font-weight:1000}.g5dvt-final h1{margin:10px auto 20px;max-width:680px}.g5dvt-report{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.g5dvt-report section{padding:14px 8px;border-radius:14px;background:#fff;border:2px solid #afd6da}.g5dvt-report b,.g5dvt-report span{display:block}.g5dvt-report span{font-size:10px;margin-top:6px}.g5dvt-final>p{font-weight:800}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .skip-section,.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .lesson-time{display:none}.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .restart-lesson{grid-column:3;grid-row:1}.g5dvt-shell>main{grid-template-columns:minmax(0,1fr) 250px}.g5dvt-panel{min-height:auto}.g5dvt-scale{grid-template-columns:92px minmax(0,1fr) 64px}.g5dvt-scale .g5dvt-bars{gap:6px;padding-inline:4px}.g5dvt-scale .bar-slot{width:36px}.g5dvt-conversion{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)}.g5dvt-conversion .g5dvt-bars,.g5dvt-conversion .g5dvt-dots{gap:4px;padding-inline:3px;min-width:0}.g5dvt-conversion .bar-slot,.g5dvt-conversion .dot-lane{width:28px}.g5dvt-conversion .bar-slot>i{width:21px}.g5dvt-twins{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr)}.g5dvt-twins .g5dvt-dots{gap:4px;padding-inline:2px;min-width:0}.g5dvt-twins .dot-lane{width:27px}.g5dvt-report{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.topic-lesson-shell:has(.grade5-data-visualization-tools-board) .section-track{max-width:100%}.g5dvt-shell{padding:8px;border-radius:18px;overflow:visible}.g5dvt-shell>header{align-items:flex-start}.g5dvt-shell>header h1{font-size:17px}.g5dvt-progress{width:110px}.g5dvt-progress i{display:none}.g5dvt-shell>main{display:flex;flex-direction:column}.g5dvt-visual{min-height:480px;padding:9px;border-radius:18px;overflow:visible}.g5dvt-visual-stage{min-height:455px;justify-content:flex-start;padding-top:6px;overflow:hidden}.g5dvt-panel{padding:16px;border-radius:18px}.g5dvt-panel h2{font-size:18px;margin:8px 0 14px}.g5dvt-choices,.g5dvt-multi,.g5dvt-order-source{grid-template-columns:1fr;gap:5px}.g5dvt-choices button,.g5dvt-multi button,.g5dvt-order-source button{min-height:42px;padding:6px 8px;font-size:10px}.g5dvt-order-track{grid-template-columns:repeat(3,1fr)}.g5dvt-order-track button{min-height:57px;padding:5px;font-size:9px}.g5dvt-support{left:8px;right:8px;top:5px;min-height:103px;padding:9px}.g5dvt-support>span{font-size:9px}.g5dvt-sorter,.g5dvt-tally,.g5dvt-frequency,.g5dvt-dot-radar,.g5dvt-distribution,.g5dvt-press,.g5dvt-scale,.g5dvt-repair,.g5dvt-calibrator,.g5dvt-constructor,.g5dvt-ring-lab,.g5dvt-share,.g5dvt-compass,.g5dvt-conversion,.g5dvt-twins,.g5dvt-evidence{min-height:215px}.g5dvt-sorter{grid-template-columns:90px 1fr;padding:8px;gap:6px}.harbor{padding:6px;font-size:8px}.harbor strong{font-size:35px}.cargo-field{gap:3px}.cargo-field>i{min-height:58px;padding:4px}.cargo-field i b{font-size:8px}.cargo-field i em{font-size:7px}.cargo-field i.docked{transform:translateX(-92px) scale(.5)}.g5dvt-tally{grid-template-columns:1fr 34px 95px;gap:5px;padding:10px}.tally-marks,.frequency-display{height:120px}.tally-marks{font-size:26px}.frequency-display{font-size:42px}.g5dvt-frequency{padding:8px;gap:7px}.capsule-stacks span{height:145px}.capsule-stacks i{width:27px;height:18px}.frequency-table span{grid-template-columns:1fr 45px;min-height:43px;font-size:8px}.g5dvt-dot-radar{grid-template-columns:1fr 90px;padding:8px;gap:5px}.radar-grid{height:165px}.radar-stack{height:120px}.people-row{gap:4px}.people-row span{padding:8px;font-size:8px}.g5dvt-distribution{grid-template-columns:1fr 16px 1fr;padding:6px}.g5dvt-dots{height:145px;gap:5px}.dot-lane{width:25px}.dot-lane i{width:14px;height:14px}.g5dvt-press{grid-template-columns:1fr 52px 1fr;padding:5px;gap:3px}.press-head{height:170px}.press-head i{width:35px}.g5dvt-bars{height:155px;gap:5px;padding:5px 5px 20px}.g5dvt-bars .bar-slot{width:30px}.g5dvt-bars .bar-slot>i{width:22px;height:calc(var(--h)*6px)}.g5dvt-scale{grid-template-columns:64px 1fr 55px;padding:8px;gap:4px}.scale-axis,.g5dvt-scale .g5dvt-bars{height:175px}.zero-seal{padding:9px 3px;font-size:7px}.g5dvt-repair{padding:38px 5px 8px 48px}.broken-axis{left:8px}.g5dvt-repair .g5dvt-bars{height:145px}.repair-lamps{gap:4px}.repair-lamps span{font-size:7px}.g5dvt-calibrator{padding:36px 9px 7px}.caliper{left:12%;right:12%}.g5dvt-calibrator .g5dvt-bars{height:155px}.width-guides{bottom:36px;gap:16px}.width-guides span{width:24px;height:125px}.g5dvt-constructor{grid-template-columns:85px 1fr;padding:7px;gap:5px}.data-card span{padding:6px;font-size:8px}.g5dvt-constructor .g5dvt-bars{height:175px}.level-rays{left:97px;height:175px}.g5dvt-ring-lab,.g5dvt-share{grid-template-columns:160px 1fr;padding:6px;gap:5px}.g5dvt-ring{width:145px;height:145px;box-shadow:inset 0 0 0 19px #f2fbfa,0 0 0 4px #6da6b5}.g5dvt-ring>i{height:62px;transform:rotate(calc(var(--i)*360deg/var(--total))) translateY(-62px);width:5px}.unit-legend span{padding:7px;font-size:8px}.diameter{left:14px;width:140px}.share-readout{gap:4px}.share-readout b{font-size:26px}.share-readout span{font-size:8px}.g5dvt-compass{grid-template-columns:1fr 75px 1fr;padding:7px;gap:4px}.purpose-list span,.tool-docks span{min-height:40px;padding:5px;font-size:7px}.compass-core{width:70px;height:70px;border-width:6px}.compass-core i{height:52px}.g5dvt-conversion{grid-template-columns:1fr 24px 1fr;padding:5px}.g5dvt-conversion .g5dvt-bars,.g5dvt-conversion .g5dvt-dots{transform:scale(.68)}.passport{left:2%;right:2%;gap:2px}.passport span{padding:3px;font-size:6px}.g5dvt-twins{grid-template-columns:1fr 58px 1fr;padding:4px}.twin .g5dvt-dots{height:175px}.balance-mark{font-size:7px}.g5dvt-evidence{grid-template-columns:1fr 52px 1fr;padding:4px}.g5dvt-evidence .g5dvt-bars{height:160px;gap:2px}.evidence-bridge{height:135px}.g5dvt-report{grid-template-columns:1fr}.g5dvt-final{padding:18px}}
.g5dvt-final-wheel .g5dvt-ring{width:130px;height:130px;box-shadow:0 0 0 5px #6da6b5}.g5dvt-final-wheel .g5dvt-ring>i{height:50%;transform:rotate(calc(var(--i)*360deg/var(--total))) translateY(-100%)}
@media(max-width:600px){.g5dvt-ring{width:145px;height:145px;box-shadow:0 0 0 4px #6da6b5}.g5dvt-ring>i{height:50%;transform:rotate(calc(var(--i)*360deg/var(--total))) translateY(-100%);width:2px}.g5dvt-ring>strong{width:48px;height:48px;font-size:12px}.cargo-field i.docked{transform:scale(.7)}.docked-capsules i{padding:3px;font-size:6px}}
@media(prefers-reduced-motion:reduce){.g5dvt-shell *{animation:none!important;transition:none!important}}

/* grade5-statistical-literacy.css */
.topic-lesson-shell:has(.grade5-statistical-literacy-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .lesson-avatar{height:184px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .teacher-bubble{min-height:74px;max-height:150px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:48vw}.topic-lesson-shell:has(.grade5-statistical-literacy-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-statistical-literacy-board) #lesson-support-dock:empty{display:none}.grade5-statistical-literacy-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.g5sl-visual-stage{overflow:hidden}
.g5sl-choices button:hover,.g5sl-multi button:hover,.g5sl-order-source button:hover,.g5sl-order-track button:hover,.g5sl-choices button:focus-visible,.g5sl-multi button:focus-visible,.g5sl-order-source button:focus-visible,.g5sl-order-track button:focus-visible{outline:0;box-shadow:0 0 0 4px #f0a34766;border-color:#dc8b2c}
@media (min-width:601px) and (max-width:900px){.g5sl-fact-lens.g5sl-fact-lens{grid-template-columns:minmax(0,1fr) 96px 68px!important;gap:4px!important;padding:7px!important}.g5sl-fact-lens>*{min-width:0}.g5sl-fact-lens .lens-orbit{width:88px!important;height:88px!important;border-width:6px!important}.g5sl-fact-lens .lens-orbit:after{width:28px!important;height:8px!important;right:-18px!important}.g5sl-fact-lens .fact-table{min-width:0;gap:3px}.g5sl-fact-lens .fact-table span{padding:7px 2px}.g5sl-fact-lens .fact-table em{font-size:21px}.g5sl-fact-lens .invention-vault{min-width:0;padding:7px 2px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .raise-hand{grid-template-columns:31px minmax(0,1fr) 18px!important;gap:4px!important;padding:5px!important;overflow:hidden}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .hand-icon{width:30px;height:30px;font-size:17px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .hand-copy{min-width:0}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .hand-copy strong{font-size:10px;line-height:1.05;overflow-wrap:anywhere}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .hand-copy small{font-size:7px;line-height:1.05;overflow-wrap:anywhere}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .sound-bars{gap:2px}}
.g5sl-shell{--ink:#17344a;--blue:#2478a8;--cyan:#57c9d4;--mint:#7ad6a5;--amber:#f3b45d;--coral:#ef6f6c;--purple:#8069ba;color:var(--ink);border:1px solid #b9d8de;border-radius:24px;padding:13px;background:#f7fcfb;box-shadow:0 16px 36px #1c6e8020;font-family:Nunito,system-ui,sans-serif}.g5sl-shell>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 5px 10px}.g5sl-shell>header span{font-size:10px;font-weight:900;letter-spacing:.11em;color:#31748d}.g5sl-shell>header h1{font-size:20px;margin:2px 0 0;line-height:1.1}.g5sl-progress{position:relative;width:154px;height:25px;border-radius:999px;overflow:hidden;background:#dcecef}.g5sl-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,var(--cyan),var(--blue));transition:width .35s}.g5sl-progress b{position:absolute;inset:0;display:grid;place-items:center;font-size:11px}.g5sl-shell>main{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:12px}.g5sl-visual,.g5sl-panel{border-radius:20px;background:#fff;border:1px solid #d3e5e8;min-width:0}.g5sl-visual{position:relative;min-height:400px;padding:10px;overflow:hidden}.g5sl-visual-stage{display:flex;flex-direction:column;justify-content:space-between;gap:9px;min-height:378px}.g5sl-panel{display:flex;flex-direction:column;justify-content:center;padding:19px}.g5sl-panel>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#3e7c8c}.g5sl-panel h2{font-size:17px;line-height:1.25;margin:8px 0 15px}.g5sl-check{min-height:46px;border:0;border-radius:14px;background:#1e718e;color:#fff;font-weight:900;cursor:pointer}.g5sl-check:disabled{opacity:.38;cursor:not-allowed}.g5sl-message{min-height:42px;margin:11px 0 0;padding:9px 11px;border-radius:12px;background:#eef7f7;font-size:11px;line-height:1.35}.g5sl-message.retry{background:#fff0eb;color:#8a3d32}.g5sl-result{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:9px;padding:12px;border-radius:15px;background:#e7f7ed}.g5sl-result i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#34a06a;color:#fff;font-style:normal}.g5sl-result p{margin:0;font-size:12px;line-height:1.35}.g5sl-help{display:flex;justify-content:center;gap:8px}.g5sl-help button{min-height:43px;padding:0 19px;border:1px solid #9ecad1;border-radius:999px;background:#f6fbfb;color:#245d70;font-weight:900;cursor:pointer}.g5sl-support{position:absolute;z-index:8;left:14px;right:14px;top:10px;min-height:112px;padding:12px;border:2px solid #53aab8;border-radius:16px;background:#f4fffff5;box-shadow:0 10px 28px #174a5d36;display:flex;flex-direction:column;justify-content:center}.g5sl-support>span{font-size:8px;font-weight:900;letter-spacing:.13em;color:#317d8d;margin-bottom:7px}
.g5sl-choices,.g5sl-multi,.g5sl-order-source{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.g5sl-choices button,.g5sl-multi button,.g5sl-order-source button,.g5sl-order-track button{min-height:43px;border:1px solid #bcd9df;border-radius:12px;background:#f9fcfc;color:var(--ink);font-size:10px;font-weight:800;cursor:pointer;text-align:left;padding:7px 9px;transition:.18s}.g5sl-choices button{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:6px}.g5sl-choices button i,.g5sl-multi button i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#dcebee;font-style:normal;font-size:9px}.g5sl-multi button{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:5px}.g5sl-choices button.selected,.g5sl-multi button.selected{border-color:#1f83a0;background:#e5f6f8;transform:translateY(-1px)}.g5sl-order-source button:disabled{opacity:.34}.g5sl-order-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.g5sl-order-track button{min-height:52px;display:flex;flex-direction:column;justify-content:center;text-align:center}.g5sl-order-track button b{color:#2c8092}.g5sl-order-track button span{font-size:8px}.g5sl-order-track button.filled{background:#e6f6ef;border-color:#61b88b}
.g5sl-bars{display:flex;align-items:flex-end;justify-content:center;gap:22px;height:185px;padding:16px 12px 26px;border-left:2px solid #55727b;border-bottom:2px solid #55727b;background:repeating-linear-gradient(to top,#dcebef 0 1px,transparent 1px 32px)}.g5sl-bar{height:100%;display:flex;align-items:flex-end;position:relative}.g5sl-bar>i{position:relative;display:block;width:46px;height:calc(var(--v)*2.5px);min-height:6px;border-radius:8px 8px 2px 2px;background:linear-gradient(#5bc9d1,#2478a8);transition:.35s}.g5sl-bar em{position:absolute;left:50%;top:-17px;transform:translateX(-50%);font-size:9px;font-style:normal;font-weight:900}.g5sl-bar b{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);white-space:nowrap;font-size:8px}.g5sl-cell-grid{display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:3px}.g5sl-cell-grid i{aspect-ratio:1;border:1px solid #a8c3c9;border-radius:3px;background:#edf4f5}.g5sl-cell-grid i.on{background:#37b388;border-color:#20835f}
.g5sl-fact-lens{display:grid;grid-template-columns:1fr 150px 110px;gap:12px;align-items:center;min-height:240px;padding:16px;border-radius:18px;background:#eef8f8}.fact-table{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fact-table span{display:flex;flex-direction:column;align-items:center;padding:13px 5px;border-radius:12px;background:#fff;border:1px solid #c9dfe3}.fact-table b{font-size:10px}.fact-table em{font-style:normal;font-size:30px;font-weight:900;color:#277f98}.lens-orbit{display:grid;place-items:center;width:140px;height:140px;border:10px solid #52afbd;border-radius:50%;box-shadow:inset 0 0 0 5px #fff,10px 10px 0 #2f6f7a20;position:relative}.lens-orbit:after{content:"";position:absolute;width:65px;height:14px;background:#2f7180;border-radius:8px;right:-47px;bottom:1px;transform:rotate(42deg)}.lens-orbit strong{font-size:34px}.lens-orbit span,.invention-vault span{font-size:7px;font-weight:900;text-align:center}.invention-vault{padding:16px 8px;border-radius:14px;background:#fff0ed;text-align:center}.invention-vault b{font-size:30px;color:var(--coral)}.g5sl-fact-lens.verified .lens-orbit{animation:g5sl-pulse .65s}.g5sl-fact-lens.has-invention .invention-vault{box-shadow:0 0 0 3px #ef6f6c55}
.g5sl-context-dock{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:center;min-height:235px;padding:15px;background:#f0f7fb;border-radius:18px}.mystery-table{display:grid;gap:5px}.mystery-table span{display:flex;justify-content:space-between;padding:12px;border:1px solid #bfd3dc;background:#fff}.context-spine{display:grid;gap:8px}.context-spine span{display:grid;grid-template-columns:34px 90px 1fr;align-items:center;gap:7px;padding:8px;border-radius:12px;background:#dfe9ec;color:#657980}.context-spine span.filled{background:#e4f6ec;color:var(--ink);transform:translateX(-5px)}.context-spine i{font-style:normal;font-size:20px}.context-spine b{font-size:9px}.context-spine em{font-style:normal;font-size:9px}
.g5sl-passport{display:grid;grid-template-columns:145px 1fr;gap:12px;min-height:245px;padding:14px;border-radius:18px;background:#eff3fb}.passport-cover{display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:14px;background:#315b85;color:#fff;transform:rotate(-2deg);box-shadow:8px 7px 0 #21415c22}.passport-cover span{font-size:8px;letter-spacing:.12em}.passport-cover strong{font-size:42px}.passport-cover em{font-size:8px;font-style:normal}.passport-pages{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.passport-pages span{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:6px;padding:8px;border:1px solid #c7d5df;border-radius:10px;background:#fff;font-size:8px}.passport-pages i{font-style:normal;font-size:19px}.passport-pages span.warning{border-color:#e47670;background:#fff0ed}.passport-pages span.safe{border-color:#78b997;background:#edf9f2}.g5sl-passport.misstamped .passport-cover{background:#8d5552}
.g5sl-time-ribbon{min-height:235px;padding:12px;border-radius:18px;background:#edf8f7}.year-track{position:relative;display:flex;justify-content:space-between;align-items:flex-end;height:165px;padding:10px 35px 30px}.year-track>span{z-index:2;display:flex;flex-direction:column;align-items:center}.year-track>span i{width:34px;height:calc(var(--v)*3px);border-radius:16px 16px 5px 5px;background:linear-gradient(#7bd4a6,#25839a)}.year-track b{font-size:9px}.year-track em{font-style:normal;font-weight:900}.year-track svg{position:absolute;inset:5px 15px 25px;width:calc(100% - 30px);height:120px}.year-track polyline{fill:none;stroke:#f1a64c;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:500;stroke-dashoffset:500;transition:.8s}.g5sl-time-ribbon.read .year-track polyline{stroke-dashoffset:0}.direction-console{display:flex;justify-content:center;gap:12px}.direction-console span{padding:7px 13px;border-radius:999px;font-size:9px;font-weight:900}.direction-console .up{background:#dcf6e6;color:#24734d}.direction-console .down{background:#fff0e5;color:#a55e21}
.g5sl-sample-map{min-height:240px;padding:12px;border-radius:18px;background:#edf5fb}.school-map{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.school-map span{min-height:74px;padding:7px;border:2px solid #b8ccd4;border-radius:10px;background:#fff;color:#78909a;transition:.3s}.school-map span.lit{border-color:#42a985;background:#ddf6e9;color:#184c3b;box-shadow:0 0 0 3px #4bc08b22}.school-map b{display:block;font-size:9px}.school-map i{display:inline-block;width:13px;height:17px;margin:7px 2px 0;border-radius:50% 50% 42% 42%;background:#4cae89}.coverage-meter{height:28px;margin-top:9px;border-radius:999px;background:#d6e4e8;position:relative;overflow:hidden}.coverage-meter i{position:absolute;inset:0 auto 0 0;width:var(--coverage);background:#54c195;transition:.4s}.coverage-meter b{position:absolute;inset:0;display:grid;place-items:center;font-size:9px}
.g5sl-condition-board{min-height:245px;padding:10px;border-radius:18px;background:#f3f8f7}.condition-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.condition-tabs span{display:grid;grid-template-columns:28px 1fr auto;align-items:center;padding:8px;border-radius:11px;background:#fff;border:1px solid #d5e3e4}.condition-tabs i{font-style:normal;font-size:20px}.condition-tabs b{font-size:9px}.condition-tabs em{font-size:18px;font-style:normal;font-weight:900}.bird-field{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.bird-field>span{min-height:130px;padding:10px;border-radius:12px;background:linear-gradient(#dff4ff 0 58%,#d5edcf 58%)}.bird-field i{display:inline-block;font-style:normal;font-size:12px;color:#35535b;transform:translateY(calc((var(--i)%4)*10px))}.g5sl-condition-board.compared .condition-tabs span{box-shadow:inset 0 -4px #51b68e}.g5sl-condition-board.overclaim{box-shadow:inset 0 0 0 3px #ed817a}
.g5sl-axis-floor{position:relative;min-height:250px;padding:10px 20px 8px 70px;border-radius:18px;background:#f7f5ef}.g5sl-axis-floor .g5sl-bars{height:190px}.g5sl-axis-floor.cropped .g5sl-bars{transform:scaleY(1.8);transform-origin:bottom}.g5sl-axis-floor.uneven .g5sl-bars{filter:skewY(-3deg)}.axis-labels{position:absolute;left:12px;top:18px;bottom:56px;display:flex;flex-direction:column-reverse;justify-content:space-between;font-size:8px}.floor-handle{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:5px}.floor-handle i{width:48px;height:8px;border-radius:99px;background:#527881}.floor-handle b{font-size:8px}.difference-block{position:absolute;right:18px;top:55px;padding:6px;background:#ffe0ad;border:1px solid #e6a64c;border-radius:8px;font-size:8px;font-weight:900}.g5sl-axis-floor.fair .difference-block{animation:g5sl-pulse .7s}
.g5sl-legend-lock{display:grid;grid-template-columns:1fr 120px 1fr;gap:8px;align-items:center;min-height:250px;padding:8px;border-radius:18px;background:#f1f4fb}.year-chart>b{display:block;text-align:center;font-size:10px}.g5sl-legend-lock .g5sl-bars{height:160px;gap:8px}.g5sl-legend-lock .g5sl-bar>i{width:30px}.legend-source .g5sl-bar:nth-child(1)>i,.legend-target .g5sl-bar:nth-child(1)>i{background:#3d8fbd}.legend-source .g5sl-bar:nth-child(2)>i,.legend-target .g5sl-bar:nth-child(2)>i{background:#ee9b45}.legend-source .g5sl-bar:nth-child(3)>i,.legend-target .g5sl-bar:nth-child(3)>i{background:#8069ba}.lock-rail{display:grid;gap:6px}.lock-rail span{padding:7px;border-radius:9px;background:#fff;border:1px solid #becddd;font-size:7px}.lock-rail span i{display:inline-block;width:9px;height:9px;margin-right:4px;border-radius:50%;background:#55839d}.lock-rail .slot-0 i{background:#3d8fbd}.lock-rail .slot-1 i{background:#ee9b45}.lock-rail .slot-2 i{background:#8069ba}
.g5sl-research-chain{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;align-items:center;min-height:235px;padding:25px 8px;border-radius:18px;background:#eef7f8}.g5sl-research-chain svg{position:absolute;left:3%;top:66px;width:94%;height:120px}.g5sl-research-chain path{fill:none;stroke:#aac8ce;stroke-width:7;stroke-linecap:round}.g5sl-research-chain>span{z-index:1;display:flex;flex-direction:column;align-items:center;gap:4px}.g5sl-research-chain>span i{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#d9e8eb;border:4px solid #fff;font-style:normal;font-size:17px}.g5sl-research-chain>span.powered i{background:#5fc69a;color:#fff;animation:g5sl-pulse .45s}.g5sl-research-chain b{font-size:8px}.g5sl-research-chain em{max-width:90px;font-style:normal;font-size:7px;text-align:center}
.g5sl-scope-fence{min-height:245px;padding:10px;border-radius:18px;background:#f0f8ee}.scope-map{position:relative;height:185px;border-radius:50% 42% 46% 48%;background:#dcebd2;border:3px solid #8db390;overflow:hidden}.scope-map span{position:absolute;display:grid;place-items:center;border:3px dashed #5d8573;border-radius:50%;font-size:8px;font-weight:900}.scope-map .sample{z-index:3;left:38%;top:35%;width:120px;height:65px;background:#fff9}.scope-map .neighborhood{z-index:2;left:22%;top:15%;width:240px;height:140px}.scope-map .city{z-index:1;inset:5px}.scope-map>i{position:absolute;left:43%;top:44%;width:9px;height:9px;border-radius:50%;background:#2e9d75}.scope-map>i:nth-of-type(2){left:49%}.scope-map>i:nth-of-type(3){left:55%}.scope-map>i:nth-of-type(4){left:61%}.scope-map>i:nth-of-type(5){left:43%;top:52%}.scope-map>i:nth-of-type(6){left:49%;top:52%}.scope-map>i:nth-of-type(7){left:55%;top:52%}.scope-map>i:nth-of-type(8){left:61%;top:52%}.scope-map>i:nth-of-type(9){left:43%;top:60%}.scope-map>i:nth-of-type(10){left:49%;top:60%}.scope-map>i:nth-of-type(11){left:55%;top:60%}.scope-map>i:nth-of-type(12){left:61%;top:60%}.g5sl-scope-fence.level-2 .sample,.g5sl-scope-fence.level-3 .sample{background:#ffd8d3}.g5sl-scope-fence.level-3 .neighborhood{border-color:#db6e67}.fence-readout{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:5px;font-size:8px}.fence-readout i{width:35px;height:9px;background:#5b8a71;border-radius:99px}
.g5sl-inference-gate{display:grid;grid-template-columns:1fr 105px 1fr;gap:7px;min-height:250px;padding:8px;border-radius:18px;background:#eef3f9}.g5sl-inference-gate section>b{display:block;text-align:center;font-size:7px}.g5sl-inference-gate .g5sl-bars{height:185px;gap:8px}.g5sl-inference-gate .g5sl-bar>i{width:28px}.gate-core{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.gate-core span{font-size:8px;font-weight:900}.gate-core i{display:block;width:72px;height:90px;margin:8px;border:8px solid #718b9e;border-bottom:0;border-radius:38px 38px 0 0;position:relative}.gate-core i:after{content:"";position:absolute;width:76px;height:45px;left:-10px;bottom:-40px;border-radius:7px;background:#718b9e}.gate-core b{font-size:7px}.g5sl-inference-gate.open .gate-core i:after{transform:translateX(18px) rotate(8deg);background:#4bb889}.g5sl-inference-gate.locked .gate-core i:after{background:#df6f69}
.g5sl-total-shadow{display:grid;grid-template-columns:1fr 105px 1fr;gap:12px;align-items:center;min-height:245px;padding:12px;border-radius:18px;background:#f4f8f7}.g5sl-total-shadow section>b,.g5sl-total-shadow section>strong{display:block;text-align:center}.g5sl-total-shadow section>b{font-size:9px}.g5sl-total-shadow section>strong{margin-top:5px;font-size:15px}.g5sl-total-shadow:not(.revealed) .g5sl-cell-grid i:not(.on){opacity:.1}.shadow-switch{text-align:center}.shadow-switch i{display:block;width:78px;height:42px;margin:auto;border-radius:99px;background:#bacbd0;position:relative}.shadow-switch i:after{content:"";position:absolute;width:34px;height:34px;left:4px;top:4px;border-radius:50%;background:#fff;transition:.3s}.g5sl-total-shadow.revealed .shadow-switch i{background:#4db98b}.g5sl-total-shadow.revealed .shadow-switch i:after{left:40px}.shadow-switch span{font-size:7px;font-weight:900}
.g5sl-cause-bridge{display:grid;grid-template-columns:1fr 125px 1fr;gap:8px;min-height:250px;padding:9px;border-radius:18px;background:#f3f8fb}.cause-node{padding:8px;border-radius:13px;background:#fff;text-align:center}.cause-node>i{font-style:normal;font-size:25px}.cause-node>b{display:block;font-size:8px}.cause-node .g5sl-bars{height:150px;gap:5px}.cause-node .g5sl-bar>i{width:24px;height:calc(var(--v)*11px)}.cause-core{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.cause-core span{font-size:34px;color:#8fa7af}.cause-core i{font-style:normal;font-size:48px}.cause-core b{font-size:7px}.g5sl-cause-bridge.cautious .cause-core span{transform:rotate(90deg);color:#40a878}.g5sl-cause-bridge.broken .cause-core span{color:#e16e68;text-decoration:line-through}
.g5sl-language-forge{display:grid;grid-template-columns:1fr 110px;gap:12px;align-items:center;min-height:245px;padding:14px;border-radius:18px;background:#f8f3ed}.forge-slots{display:grid;gap:7px}.forge-slots span{display:grid;grid-template-columns:75px 1fr;align-items:center;gap:8px;min-height:38px;padding:6px 9px;border-radius:10px;background:#e5e1dd}.forge-slots span.hot{background:#fff0d5;box-shadow:inset 5px 0 #e9a548}.forge-slots b{font-size:8px}.forge-slots em{font-style:normal;font-size:8px}.forge-anvil{text-align:center}.forge-anvil i{display:block;width:92px;height:45px;margin:auto;background:#69777b;clip-path:polygon(15% 0,85% 0,100% 35%,68% 35%,68% 100%,32% 100%,32% 35%,0 35%)}.forge-anvil strong{display:block;font-size:30px}.forge-anvil b{font-size:8px}
.g5sl-newsroom{display:grid;grid-template-columns:1fr 150px;gap:12px;min-height:255px;padding:10px;border-radius:18px;background:#f1f3f4}.g5sl-newsroom article{padding:10px;background:#fffdf8;border:1px solid #ccc;box-shadow:5px 5px 0 #46566018;transform:rotate(-.5deg)}.g5sl-newsroom h3{font:900 15px/1.05 Georgia,serif;margin:0 0 6px}.news-chart{position:relative}.news-chart .g5sl-bars{height:135px}.news-chart .g5sl-bar>i{width:38px}.news-chart>span{position:absolute;left:5px;bottom:28px;padding:4px;background:#ffd7ce;font-size:7px}.g5sl-newsroom article p{font-size:8px;margin:6px 0}.editor-console{display:flex;flex-direction:column;justify-content:center;gap:7px}.editor-console span{display:grid;grid-template-columns:20px 1fr;gap:6px;align-items:center;padding:9px;border-radius:9px;background:#dfe6e8}.editor-console span i{width:14px;height:14px;border-radius:50%;background:#a5b4b8}.editor-console span.on{background:#def4e6}.editor-console span.on i{background:#3fac72;box-shadow:0 0 0 4px #54c3882a}.editor-console b{font-size:8px}.editor-console strong{text-align:center;font-size:8px}.g5sl-newsroom.publishable{box-shadow:inset 0 0 0 4px #48b77c}.g5sl-newsroom.reject{box-shadow:inset 0 0 0 4px #e0716a}
.g5sl-support-split,.g5sl-support-icons,.g5sl-support-passport,.g5sl-support-arrows,.g5sl-support-floor-map,.g5sl-support-windows,.g5sl-support-block,.g5sl-support-patterns,.g5sl-support-pipeline,.g5sl-support-rings,.g5sl-support-keys,.g5sl-support-node,.g5sl-support-template,.g5sl-support-editor{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.g5sl-support span{padding:7px 10px;border-radius:9px;background:#dff1f3;font-size:9px;font-weight:900}.g5sl-support i{font-style:normal;color:#2f7c8b}.g5sl-support-stones{}.g5sl-support-cells{display:grid;grid-template-columns:1fr 1fr;gap:10px}.g5sl-support-cells .g5sl-cell-grid{max-height:70px}.g5sl-support-cells .g5sl-cell-grid i{width:8px;height:8px}.g5sl-final{padding:30px;border-radius:24px;background:#eff9f7;text-align:center}.g5sl-final-seal{display:grid;place-items:center;width:115px;height:115px;margin:0 auto 10px;border:9px double #3aa77c;border-radius:50%;color:#237557;transform:rotate(-5deg)}.g5sl-final-seal i{font-style:normal;font-size:34px}.g5sl-final-seal b{font-size:12px}.g5sl-final>span{font-size:9px;letter-spacing:.14em;font-weight:900}.g5sl-final h1{font-size:23px}.g5sl-report{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.g5sl-report section{padding:12px;border-radius:12px;background:#fff;border:1px solid #cfe4df}.g5sl-report b,.g5sl-report span{display:block;font-size:9px}.g5sl-final p{font-size:11px}@keyframes g5sl-pulse{50%{transform:scale(1.035)}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-statistical-literacy-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-statistical-literacy-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .skip-section,.topic-lesson-shell:has(.grade5-statistical-literacy-board) .lesson-time{display:none}.topic-lesson-shell:has(.grade5-statistical-literacy-board) .restart-lesson{grid-column:3;grid-row:1}.g5sl-shell>main{grid-template-columns:minmax(0,1fr) 265px}.g5sl-report{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.topic-lesson-shell:has(.grade5-statistical-literacy-board) .section-track{max-width:100%}.g5sl-shell{padding:8px;border-radius:18px;overflow:visible}.g5sl-shell>header{align-items:flex-start}.g5sl-shell>header h1{font-size:16px}.g5sl-progress{width:106px}.g5sl-progress i{opacity:.7}.g5sl-shell>main{display:flex;flex-direction:column}.g5sl-visual{min-height:500px;padding:7px;overflow:hidden}.g5sl-visual-stage{min-height:480px;justify-content:flex-start}.g5sl-panel{padding:15px}.g5sl-panel h2{font-size:16px}.g5sl-choices,.g5sl-multi,.g5sl-order-source{grid-template-columns:1fr;gap:5px}.g5sl-choices button,.g5sl-multi button,.g5sl-order-source button{min-height:44px;font-size:9px;padding:6px}.g5sl-order-track{grid-template-columns:repeat(5,1fr)}.g5sl-order-track button{min-height:55px;padding:4px}.g5sl-order-track button span{font-size:6px}.g5sl-support{left:7px;right:7px;top:5px;min-height:115px}.g5sl-fact-lens{grid-template-columns:1fr 105px 75px;padding:8px;gap:5px}.lens-orbit{width:96px;height:96px;border-width:7px}.lens-orbit:after{width:42px;height:10px;right:-31px}.fact-table{gap:3px}.fact-table span{padding:8px 2px}.fact-table em{font-size:22px}.invention-vault{padding:9px 3px}.g5sl-context-dock{grid-template-columns:105px 1fr;padding:8px;gap:6px}.context-spine span{grid-template-columns:24px 65px 1fr;padding:6px}.context-spine em{font-size:7px}.g5sl-passport{grid-template-columns:95px 1fr;padding:7px;gap:5px}.passport-cover strong{font-size:30px}.passport-pages span{grid-template-columns:20px 1fr;padding:5px;font-size:6px}.passport-pages i{font-size:14px}.year-track{padding-inline:12px}.g5sl-sample-map{padding:7px}.school-map span{min-height:58px}.condition-tabs span{grid-template-columns:21px 1fr auto;padding:5px}.condition-tabs em{font-size:14px}.bird-field>span{padding:5px}.g5sl-axis-floor{padding-left:45px}.g5sl-axis-floor .g5sl-bar>i{width:38px}.g5sl-legend-lock{grid-template-columns:1fr 75px 1fr;padding:4px}.g5sl-legend-lock .g5sl-bars{gap:4px;padding-inline:3px}.g5sl-legend-lock .g5sl-bar>i{width:20px}.lock-rail span{padding:4px;font-size:6px}.g5sl-research-chain{padding-inline:3px}.g5sl-research-chain>span i{width:36px;height:36px}.g5sl-research-chain em{font-size:6px}.scope-map .sample{left:32%;width:105px}.g5sl-inference-gate{grid-template-columns:1fr 72px 1fr;padding:4px}.g5sl-inference-gate .g5sl-bars{gap:3px;padding-inline:2px}.g5sl-inference-gate .g5sl-bar>i{width:19px}.gate-core i{width:52px;height:70px}.gate-core i:after{width:58px}.g5sl-total-shadow{grid-template-columns:1fr 72px 1fr;padding:6px;gap:5px}.shadow-switch i{width:60px}.g5sl-total-shadow.revealed .shadow-switch i:after{left:22px}.g5sl-cause-bridge{grid-template-columns:1fr 80px 1fr;padding:4px}.cause-node{padding:4px}.cause-node .g5sl-bars{gap:3px;padding-inline:2px}.cause-node .g5sl-bar>i{width:17px}.cause-core i{font-size:35px}.g5sl-language-forge{grid-template-columns:1fr 72px;padding:7px}.forge-slots span{grid-template-columns:55px 1fr;padding:5px}.forge-slots em{font-size:7px}.forge-anvil i{width:66px}.g5sl-newsroom{grid-template-columns:1fr 105px;padding:5px}.g5sl-newsroom h3{font-size:11px}.news-chart .g5sl-bars{gap:7px}.editor-console span{padding:6px}.g5sl-report{grid-template-columns:1fr}.g5sl-final{padding:17px}}

/* grade5-theme5-assessment.css */
.topic-lesson-shell:has(.grade5-theme5-assessment-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .lesson-avatar{height:184px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .teacher-bubble{min-height:74px;max-height:150px;overflow:auto;font-size:14px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .section-track{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:48vw}.topic-lesson-shell:has(.grade5-theme5-assessment-board) #lesson-footer:empty,.topic-lesson-shell:has(.grade5-theme5-assessment-board) #lesson-support-dock:empty{display:none}.grade5-theme5-assessment-board{container-type:inline-size;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;--ink:#183947;--teal:#228c86;--mint:#54c59b;--gold:#e7aa43;--coral:#e36f66;--paper:#f7fbfa;color:var(--ink)}
.g5t5a-visual-stage{overflow:hidden;min-width:0}.g5t5a-visual-stage>*{min-width:0;max-width:100%;box-sizing:border-box}.g5t5a-choices span,.g5t5a-multi span,.g5t5a-order-bank button,.g5t5a-order-track span{min-width:0;overflow-wrap:anywhere}
.g5t5a-shell{padding:14px;border-radius:24px;background:#fffaf4;box-shadow:0 16px 40px #153d4b18;overflow:hidden}.g5t5a-shell>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.g5t5a-shell>header span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#4d777b}.g5t5a-shell>header h1{margin:2px 0 0;font-size:19px}.g5t5a-progress{position:relative;width:150px;height:28px;border-radius:99px;background:#dce9e7;overflow:hidden;flex:none}.g5t5a-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,#38ad88,#79d5ad);transition:.35s}.g5t5a-progress b{position:absolute;inset:0;display:grid;place-items:center;font-size:10px}.g5t5a-shell>main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr);gap:12px}.g5t5a-visual{position:relative;min-width:0;min-height:410px;padding:10px;border-radius:20px;background:#eef7f6;overflow:hidden}.g5t5a-visual-stage{display:flex;flex-direction:column;justify-content:center;gap:9px;min-height:390px}.g5t5a-panel{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:18px;border-radius:18px;background:#173f4b;color:#fff}.g5t5a-panel>span{font-size:8px;font-weight:900;letter-spacing:.13em;color:#8de0c1}.g5t5a-panel h2{margin:0;font-size:17px;line-height:1.24}.g5t5a-check{min-height:48px;padding:10px;border:0;border-radius:13px;background:#f2b64f;color:#193942;font-weight:900;cursor:pointer}.g5t5a-check:disabled{opacity:.35;cursor:not-allowed}.g5t5a-message{min-height:45px;margin:0;padding:9px;border-radius:11px;background:#ffffff12;font-size:10px;line-height:1.4}.g5t5a-message.retry{background:#e36f6628}.g5t5a-result{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px;padding:11px;border-radius:13px;background:#dff8e9;color:#174b38}.g5t5a-result i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#45b67d;color:#fff;font-style:normal}.g5t5a-result p{margin:0;font-size:10px;line-height:1.35}.g5t5a-help{display:flex;justify-content:center;gap:9px}.g5t5a-help button{min-width:150px;min-height:46px;border:1px solid #74aa9e;border-radius:14px;background:#f4fbf9;color:#1d5b59;font-weight:800}.g5t5a-support{position:absolute;z-index:20;left:10px;right:10px;top:8px;min-height:105px;padding:10px;border:2px solid #e6a746;border-radius:15px;background:#fff9e9;box-shadow:0 9px 22px #4e392633;animation:g5t5a-drop .3s}.g5t5a-support>span{display:block;margin-bottom:7px;font-size:8px;font-weight:900;letter-spacing:.12em;color:#99671b}.g5t5a-support>div{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.g5t5a-support span:not(.g5t5a-support>span){padding:7px 9px;border-radius:9px;background:#e2f2ef;font-size:8px;font-weight:900}.g5t5a-support i{font-style:normal;color:#287f78}.g5t5a-choices,.g5t5a-multi,.g5t5a-order-bank{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.g5t5a-choices button,.g5t5a-multi button,.g5t5a-order-bank button{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:6px;min-height:43px;padding:6px 8px;border:1px solid #b9cecc;border-radius:11px;background:#fff;color:var(--ink);text-align:left;font-size:8px;font-weight:800;cursor:pointer}.g5t5a-choices button i,.g5t5a-multi button i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dcebea;font-style:normal}.g5t5a-choices button.selected,.g5t5a-multi button.selected{border-color:#299c82;background:#e1f6ed;box-shadow:inset 4px 0 #299c82}.g5t5a-order-bank button{display:block;text-align:center}.g5t5a-order-bank button:disabled{opacity:.28}.g5t5a-order-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.g5t5a-order-track button{min-height:48px;padding:4px;border:1px dashed #93b4af;border-radius:10px;background:#e4eeec;color:#58706f}.g5t5a-order-track button.filled{border-style:solid;background:#dff5e9;color:#163e38}.g5t5a-order-track b,.g5t5a-order-track span{display:block}.g5t5a-order-track b{font-size:8px}.g5t5a-order-track span{font-size:7px;line-height:1.15}.g5t5a-bars{display:flex;align-items:flex-end;justify-content:center;gap:18px;height:165px;padding:8px 15px 22px;border-left:2px solid #78959b;border-bottom:2px solid #78959b}.g5t5a-bars>span{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:35px}.g5t5a-bars>span>i{position:relative;display:block;width:42px;height:calc(var(--v)*9px);max-height:125px;border-radius:8px 8px 2px 2px;background:linear-gradient(#59c79d,#25858a);transition:.4s}.g5t5a-bars>span:nth-child(2)>i{background:linear-gradient(#efbd62,#d98342)}.g5t5a-bars>span:nth-child(3)>i{background:linear-gradient(#8f83cf,#665bb3)}.g5t5a-bars>span:nth-child(4)>i{background:linear-gradient(#ed8b82,#c95c60)}.g5t5a-bars em{position:absolute;left:50%;top:-16px;transform:translateX(-50%);font-style:normal;font-size:8px;font-weight:900}.g5t5a-bars b{position:absolute;margin-top:5px;transform:translateY(19px);font-size:7px;white-space:nowrap}.g5t5a-dots{display:flex;justify-content:center;gap:12px}.g5t5a-dots>span{display:flex;flex-direction:column;align-items:center}.g5t5a-dots>span>i{display:flex;flex-direction:column-reverse;gap:3px;min-height:95px;justify-content:flex-start}.g5t5a-dots em{width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#318d8c;box-shadow:0 1px 3px #173b4650}.g5t5a-dots span:nth-child(2) em{background:#e39c42}.g5t5a-dots span:nth-child(3) em{background:#7568b5}.g5t5a-dots b{font-size:7px}.g5t5a-wheel{position:relative;width:190px;height:190px;border-radius:50%;background:conic-gradient(#39a884 0 var(--a),#e6a644 var(--a) var(--b),#7567b4 var(--b) 100%);box-shadow:inset 0 0 0 7px #fff,0 8px 20px #25464d22}.g5t5a-wheel>i{position:absolute;left:94px;top:4px;width:2px;height:91px;background:#fff;transform-origin:1px 91px;transform:rotate(calc(var(--i)*18deg));opacity:.8}.g5t5a-wheel strong{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:76px;height:76px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;font-size:12px}
.g5t5a-radar{position:relative;min-height:235px;padding:12px;border-radius:18px;background:#eaf5f2}.radar-grid{position:relative;width:230px;height:230px;margin:auto;border:2px solid #72aaa4;border-radius:50%;background:repeating-radial-gradient(circle,#d7eeea 0 25px,#eef8f6 26px 48px)}.radar-grid>i{position:absolute;left:50%;top:50%;width:2px;height:47%;background:#85b8b1;transform-origin:bottom}.radar-grid>i:nth-child(1){transform:translate(-50%,-100%) rotate(0)}.radar-grid>i:nth-child(2){transform:translate(-50%,-100%) rotate(120deg)}.radar-grid>i:nth-child(3){transform:translate(-50%,-100%) rotate(240deg)}.radar-grid span{position:absolute;font-size:7px;font-weight:900}.radar-grid .group{left:95px;top:9px}.radar-grid .vary{right:3px;bottom:45px}.radar-grid .compare{left:2px;bottom:45px}.radar-grid strong{position:absolute;inset:85px;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:22px}.radar-pings i{position:absolute;width:13px;height:13px;border-radius:50%;left:calc(50% + (var(--i)*36px) - 30px);top:85px;background:#efb34f;box-shadow:0 0 0 8px #efb34f30}.g5t5a-radar.locked .radar-grid strong{background:#3cab87;color:#fff}.g5t5a-radar.warning{box-shadow:inset 0 0 0 3px #e36f66}
.g5t5a-survey-link{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr;align-items:center;min-height:230px;padding:12px;border-radius:18px;background:#edf6f6}.g5t5a-survey-link section{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;padding:7px;border:2px dashed #aac2c0;border-radius:15px;background:#fff;text-align:center}.g5t5a-survey-link section.linked{border-style:solid;border-color:#4cb58e;background:#e4f7ed;transform:translateY(-5px)}.g5t5a-survey-link section i{font-style:normal;font-size:30px}.g5t5a-survey-link section b{font-size:8px}.g5t5a-survey-link section span{font-size:7px}.g5t5a-survey-link>em{font-size:24px;font-style:normal;color:#6fa39c}
.g5t5a-compass{display:grid;grid-template-columns:135px 130px 1fr;align-items:center;gap:10px;min-height:245px;padding:12px;border-radius:18px;background:#eef4f7}.compass-table{display:grid;gap:5px}.compass-table span{display:flex;justify-content:space-between;padding:9px;border-radius:8px;background:#fff;border:1px solid #cbdadb;font-size:8px}.compass-face{position:relative;width:120px;height:120px;border:8px solid #fff;border-radius:50%;background:#dbe9e8;box-shadow:0 7px 15px #263f4b22}.compass-face i{position:absolute;left:56px;top:15px;width:7px;height:48px;border-radius:99px;background:#d5873f;transform-origin:bottom;transform:rotate(-45deg);transition:.4s}.g5t5a-compass.compare .compass-face i{transform:rotate(38deg)}.compass-face b{position:absolute;inset:auto 0 22px;text-align:center;font-size:8px}.g5t5a-compass .g5t5a-bars{height:175px;gap:6px;padding-inline:5px}.g5t5a-compass .g5t5a-bars>span>i{width:24px;height:calc(var(--v)*8px)}
.g5t5a-bar-builder{display:grid;grid-template-columns:135px 1fr;gap:25px;align-items:center;min-height:240px;padding:12px;border-radius:18px;background:#f2f8f4}.builder-table{display:grid;gap:8px}.builder-table span{position:relative;display:grid;grid-template-columns:1fr 30px;align-items:center;padding:10px;border-radius:9px;background:#fff;border:1px solid #bcd4c9;font-size:10px}.builder-table i{position:absolute;left:100%;width:60px;border-top:2px dashed #75a99e}.builder-bars.g5t5a-bars{height:200px}.builder-bars>span>i{height:calc(var(--v)*20px)}
.g5t5a-conveyor{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:8px;min-height:240px;padding:10px;border-radius:18px;background:#eef6f7}.g5t5a-conveyor .g5t5a-bars{height:170px;gap:8px;padding-inline:3px}.g5t5a-conveyor .g5t5a-bars>span>i{width:26px;height:calc(var(--v)*18px)}.conveyor-belt{display:flex;flex-direction:column;align-items:center;gap:12px}.conveyor-belt i{width:64px;height:9px;border-radius:99px;background:repeating-linear-gradient(90deg,#4f8f92 0 9px,#d7e9e7 10px 18px);animation:g5t5a-belt 1.5s linear infinite}.conveyor-belt strong{font-size:7px;text-align:center}
.g5t5a-whole-wheel,.g5t5a-fraction-lens{display:flex;align-items:center;justify-content:center;gap:28px;min-height:245px;padding:10px;border-radius:18px;background:#f4f1f8}.whole-ledger{display:grid;gap:8px;width:170px}.whole-ledger span{display:flex;justify-content:space-between;padding:9px;border-radius:9px;background:#fff;font-size:9px}.whole-ledger strong{text-align:center;font-size:25px}.g5t5a-whole-wheel:has(.whole-ledger strong:not(:empty)) .g5t5a-wheel{animation:g5t5a-turn .6s}.g5t5a-fraction-lens .lens{position:relative;width:105px;height:140px;border:8px solid #547c84;border-radius:50%;background:#ffffff88;box-shadow:inset 0 0 0 3px #fff}.g5t5a-fraction-lens .lens:after{content:"";position:absolute;width:16px;height:65px;right:-25px;bottom:-45px;border-radius:99px;background:#547c84;transform:rotate(-35deg)}.g5t5a-fraction-lens .lens strong,.g5t5a-fraction-lens .lens b{display:block;text-align:center;font-size:30px}.g5t5a-fraction-lens .lens i{display:block;width:60px;margin:4px auto;border-top:3px solid #183947}.counter span{display:block;padding:8px;font-size:8px}.g5t5a-fraction-lens.focused .lens{border-color:#39a77e;transform:scale(1.05)}
.g5t5a-year-curtain{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;min-height:250px;padding:8px;border-radius:18px;background:#edf4fa}.g5t5a-year-curtain section>b{display:block;text-align:center;font-size:9px}.g5t5a-year-curtain .g5t5a-bars{height:190px;gap:8px;padding-inline:4px}.g5t5a-year-curtain .g5t5a-bars>span>i{width:27px;height:calc(var(--v)*10px)}.curtain-rail{position:relative;display:grid;gap:12px;text-align:center}.curtain-rail span{padding:6px;border-radius:8px;background:#fff;font-size:10px;font-weight:900}.curtain-rail i{position:absolute;left:50%;top:-65px;width:8px;height:225px;background:linear-gradient(#3aa887 var(--open),#bdcdd0 var(--open));transform:translateX(-50%);border-radius:99px}.g5t5a-year-curtain.verified{box-shadow:inset 0 0 0 4px #44b889}.g5t5a-year-curtain.overclaim{box-shadow:inset 0 0 0 4px #e26e67}
.g5t5a-sieve{display:grid;grid-template-columns:1fr 180px;align-items:center;gap:18px;min-height:245px;padding:10px;border-radius:18px;background:#f7f4ed}.sieve-gate{display:grid;gap:8px}.sieve-gate section{display:grid;grid-template-columns:45px 1fr;align-items:center;padding:10px;border-radius:11px;background:#fff}.sieve-gate section b{font-size:24px}.sieve-gate section span{font-size:7px}.sieve-gate>i{height:28px;background:repeating-linear-gradient(90deg,#78979b 0 3px,transparent 4px 10px);transform:skewY(-10deg)}.g5t5a-sieve.clean .sieve-gate section:first-child{background:#dcf5e7}.g5t5a-sieve.mixed .sieve-gate section:last-child{background:#ffe1dc}
.g5t5a-difference{display:grid;grid-template-columns:1fr 180px;align-items:center;gap:20px;min-height:245px;padding:10px;border-radius:18px;background:#f1f7f5}.difference-lines{display:grid;gap:10px}.difference-lines section{padding:11px;border-radius:11px;background:#fff;border:1px solid #c9d9d5}.difference-lines b,.difference-lines span,.difference-lines em{display:block}.difference-lines b{font-size:8px}.difference-lines span{font-size:18px;font-weight:900}.difference-lines em{font-style:normal;font-size:9px}.difference-lines i{display:block;width:calc(var(--units)*8px);height:10px;margin-top:5px;border-radius:99px;background:repeating-linear-gradient(90deg,#e6a447 0 6px,#fff 7px 8px)}.g5t5a-difference.solved{box-shadow:inset 0 0 0 4px #48b689}
.g5t5a-scale{position:relative;min-height:245px;padding:10px 20px 10px 58px;border-radius:18px;background:#f7f3ed}.g5t5a-scale .g5t5a-bars{height:195px}.scale-labels{position:absolute;left:12px;top:20px;bottom:59px;display:flex;flex-direction:column-reverse;justify-content:space-between;font-size:8px}.repair-tools{display:flex;justify-content:center;gap:8px;margin-top:4px}.repair-tools span{padding:6px 10px;border-radius:9px;background:#d9e3e2;font-size:8px;font-weight:900}.repair-tools span.on{background:#d9f3e4;color:#227354}.g5t5a-scale.distorted .g5t5a-bars{transform:skewY(-4deg) scaleY(1.1);transform-origin:bottom}.g5t5a-scale.repaired{box-shadow:inset 0 0 0 4px #44b487}
.g5t5a-consistency{display:grid;grid-template-columns:140px 85px 1fr;align-items:center;gap:10px;min-height:245px;padding:10px;border-radius:18px;background:#eef5f4}.consistency-table{display:grid;gap:7px}.consistency-table span{position:relative;display:flex;justify-content:space-between;padding:9px;border-radius:9px;background:#fff;font-size:9px}.consistency-table i{position:absolute;left:100%;top:50%;width:90px;border-top:2px dashed #8aa6a4;transform-origin:left}.consistency-table i.bent{transform:rotate(18deg);border-color:#d66b64}.dial{position:relative;width:74px;height:74px;border-radius:50%;background:#fff;border:6px solid #b8ceca}.dial i{position:absolute;left:32px;top:8px;width:5px;height:27px;background:#d38942;transform-origin:bottom;transform:rotate(var(--turn))}.dial b{position:absolute;inset:48px 0 0;text-align:center;font-size:7px}.g5t5a-consistency .g5t5a-bars{height:185px;gap:8px;padding-inline:4px}.g5t5a-consistency .g5t5a-bars>span>i{width:27px;height:calc(var(--v)*16px)}.g5t5a-consistency.matched{box-shadow:inset 0 0 0 4px #43b087}
.g5t5a-cables{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;min-height:240px;padding:20px 9px;border-radius:18px;background:#f0f4fa}.g5t5a-cables section{z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:125px;padding:7px;border:2px dashed #aabac5;border-radius:13px;background:#fff}.g5t5a-cables section.wired{border-style:solid;border-color:#5b8fc0;transform:translateY(-5px)}.g5t5a-cables section b{font-size:7px}.g5t5a-cables section i{width:18px;height:18px;border:5px solid #87a2b4;border-radius:50%}.g5t5a-cables section span{font-size:7px;text-align:center}.g5t5a-cables svg{position:absolute;left:6%;right:6%;bottom:25px;width:88%;height:75px}.g5t5a-cables path{fill:none;stroke:#5a8fbd;stroke-width:5;stroke-dasharray:560;stroke-dashoffset:calc(560 - (var(--wired,0)*140));transition:.4s}
.g5t5a-editor{display:grid;grid-template-columns:1fr 210px;align-items:center;gap:13px;min-height:245px;padding:10px;border-radius:18px;background:#f8f3ec}.editor-flow{display:grid;gap:7px}.editor-flow section{display:grid;grid-template-columns:95px 1fr;align-items:center;min-height:38px;padding:7px;border-radius:10px;background:#e2e7e5}.editor-flow section.written{background:#fff0d4;box-shadow:inset 5px 0 #e4a33f}.editor-flow b,.editor-flow span{font-size:8px}.editor-preview .g5t5a-bars{height:180px;gap:8px;padding-inline:3px}.editor-preview .g5t5a-bars>span>i{width:27px;height:calc(var(--v)*12px)}.editor-preview strong{display:block;text-align:center;font-size:9px}
.g5t5a-case-file{display:grid;grid-template-columns:1fr 155px;gap:12px;min-height:255px;padding:10px;border-radius:18px;background:#edf1f2}.g5t5a-case-file article{padding:11px;border:1px solid #b9c6c7;background:#fffdf7;box-shadow:6px 6px 0 #26434a18;transform:rotate(-.6deg)}.g5t5a-case-file article>span{font-size:7px;font-weight:900}.g5t5a-case-file h3{margin:3px 0;font:900 16px Georgia,serif}.g5t5a-case-file .g5t5a-bars{height:175px}.case-stamps{display:flex;flex-direction:column;justify-content:center;gap:8px}.case-stamps span{display:grid;grid-template-columns:24px 1fr;align-items:center;padding:8px;border-radius:9px;background:#dce5e6}.case-stamps span.on{background:#dff3e7}.case-stamps i{font-style:normal}.case-stamps b{font-size:8px}.case-stamps strong{font-size:8px;text-align:center}.g5t5a-case-file.approved{box-shadow:inset 0 0 0 4px #42b27f}.g5t5a-case-file.returned{box-shadow:inset 0 0 0 4px #df6f68}
.g5t5a-final{padding:28px;border-radius:23px;background:#edf8f5;text-align:center}.g5t5a-final-mark{display:grid;place-items:center;width:120px;height:120px;margin:0 auto 10px;border:8px double #36a47c;border-radius:50%;color:#267557;transform:rotate(-4deg)}.g5t5a-final-mark i{font-style:normal;font-size:34px}.g5t5a-final-mark b{font-size:10px}.g5t5a-final>span{font-size:8px;font-weight:900;letter-spacing:.13em}.g5t5a-final h1{font-size:22px}.g5t5a-report{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.g5t5a-report section{padding:11px;border:1px solid #c9e1da;border-radius:11px;background:#fff}.g5t5a-report b,.g5t5a-report span{display:block;font-size:8px}.g5t5a-final p{font-size:10px}@keyframes g5t5a-drop{from{opacity:0;transform:translateY(-10px)}}@keyframes g5t5a-belt{to{background-position:36px 0}}@keyframes g5t5a-turn{to{transform:rotate(360deg)}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-theme5-assessment-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-theme5-assessment-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .skip-section,.topic-lesson-shell:has(.grade5-theme5-assessment-board) .lesson-time{display:none}.topic-lesson-shell:has(.grade5-theme5-assessment-board) .restart-lesson{grid-column:3;grid-row:1}.g5t5a-shell>main{grid-template-columns:minmax(0,1fr) 270px}.g5t5a-compass{grid-template-columns:120px 104px minmax(0,1fr)}.g5t5a-compass>*{min-width:0}.compass-face{box-sizing:border-box}.g5t5a-report{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.g5t5a-shell{padding:8px;border-radius:17px;overflow:visible}.g5t5a-shell>header{align-items:flex-start}.g5t5a-shell>header h1{font-size:15px}.g5t5a-progress{width:104px}.g5t5a-shell>main{display:flex;flex-direction:column}.g5t5a-visual{min-height:500px;padding:7px;overflow:hidden}.g5t5a-visual-stage{min-height:480px;justify-content:flex-start}.g5t5a-panel{padding:14px}.g5t5a-panel h2{font-size:15px}.g5t5a-choices,.g5t5a-multi,.g5t5a-order-bank{grid-template-columns:1fr;gap:4px}.g5t5a-choices button,.g5t5a-multi button,.g5t5a-order-bank button{min-height:44px;font-size:8px;padding:5px}.g5t5a-order-track{grid-template-columns:repeat(4,1fr)}.g5t5a-order-track button{min-height:52px}.g5t5a-order-track span{font-size:6px}.g5t5a-support{left:7px;right:7px;top:5px;min-height:110px}.g5t5a-bars{gap:9px;padding-inline:5px}.g5t5a-bars>span>i{width:29px}.g5t5a-radar{padding:5px}.radar-grid{width:190px;height:190px}.radar-grid strong{inset:70px}.radar-grid .group{left:78px}.g5t5a-survey-link{grid-template-columns:1fr 10px 1fr 10px 1fr 10px 1fr;padding:5px}.g5t5a-survey-link section{min-height:125px;padding:3px}.g5t5a-survey-link section i{font-size:22px}.g5t5a-survey-link section span{font-size:6px}.g5t5a-compass{grid-template-columns:85px 76px minmax(0,1fr);padding:5px;gap:3px}.g5t5a-compass>*{min-width:0}.compass-face{width:68px;height:68px;border-width:4px}.compass-face i{left:31px;top:8px;height:28px}.compass-face b{bottom:9px;font-size:6px}.g5t5a-compass .g5t5a-bars>span>i{width:16px}.g5t5a-bar-builder{grid-template-columns:90px 1fr;gap:12px;padding:5px}.builder-table i{width:25px}.g5t5a-conveyor{grid-template-columns:1fr 55px 1fr;padding:4px}.g5t5a-dots{gap:5px}.g5t5a-dots em{width:11px;height:11px}.conveyor-belt i{width:43px}.g5t5a-conveyor .g5t5a-bars>span>i{width:18px}.g5t5a-whole-wheel,.g5t5a-fraction-lens{gap:10px;padding:5px}.g5t5a-wheel{width:155px;height:155px}.g5t5a-wheel>i{left:77px;top:3px;height:74px;transform-origin:1px 74px}.g5t5a-wheel strong{width:62px;height:62px}.whole-ledger{width:130px}.g5t5a-fraction-lens .lens{width:75px;height:110px}.g5t5a-fraction-lens .lens strong,.g5t5a-fraction-lens .lens b{font-size:23px}.g5t5a-fraction-lens .counter{display:none}.g5t5a-year-curtain{grid-template-columns:1fr 55px 1fr;padding:3px}.g5t5a-year-curtain .g5t5a-bars{gap:3px}.g5t5a-year-curtain .g5t5a-bars>span>i{width:17px}.curtain-rail i{height:210px}.g5t5a-sieve,.g5t5a-difference{grid-template-columns:1fr 125px;gap:5px;padding:4px}.sieve-gate section{grid-template-columns:30px 1fr;padding:6px}.difference-lines section{padding:7px}.g5t5a-scale{padding-left:42px}.g5t5a-consistency{grid-template-columns:95px 55px 1fr;padding:4px;gap:4px}.consistency-table i{width:58px}.dial{width:50px;height:50px;border-width:4px}.dial i{left:22px;height:20px}.dial b{top:32px}.g5t5a-consistency .g5t5a-bars{gap:3px}.g5t5a-consistency .g5t5a-bars>span>i{width:18px}.g5t5a-cables{padding-inline:4px;gap:3px}.g5t5a-cables section{padding:3px}.g5t5a-cables section span{font-size:6px}.g5t5a-editor{grid-template-columns:1fr 130px;padding:5px}.editor-flow section{grid-template-columns:63px 1fr;padding:5px}.editor-preview .g5t5a-bars>span>i{width:18px}.g5t5a-case-file{grid-template-columns:1fr 105px;padding:5px}.g5t5a-case-file h3{font-size:12px}.case-stamps span{padding:6px}.g5t5a-report{grid-template-columns:1fr}.g5t5a-final{padding:16px}}

/* grade5-theme6-assessment.css */
.topic-lesson-shell:has(.grade5-theme6-assessment-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .teaching-board{padding:0;background:transparent;box-shadow:none}.g5t6a-shell{--ink:#173d46;--teal:#258b87;--gold:#e39a38;--red:#d65f58;--paper:#fffdf6;box-sizing:border-box;width:100%;padding:14px;border:1px solid #d6e5df;border-radius:24px;background:linear-gradient(150deg,#f9fcf9,#eef6f4);color:var(--ink);box-shadow:0 16px 45px #173d4614}.g5t6a-shell *{box-sizing:border-box}.g5t6a-shell>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;padding:3px 5px}.g5t6a-shell>header span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#568078}.g5t6a-shell>header h1{margin:3px 0 0;font-size:20px;line-height:1.1}.g5t6a-progress{position:relative;flex:0 0 145px;height:36px;border-radius:99px;background:#d9e7e3;overflow:hidden}.g5t6a-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,#43ae89,#68c4a1);transition:.4s}.g5t6a-progress b{position:absolute;inset:0;display:grid;place-items:center;font-size:11px}.g5t6a-shell>main{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:13px}.g5t6a-visual{position:relative;min-height:520px;padding:12px;border:1px solid #d5e1de;border-radius:19px;background:#fff;overflow:hidden}.g5t6a-visual-stage{display:flex;min-height:494px;flex-direction:column;justify-content:center;gap:12px}.g5t6a-panel{display:flex;min-width:0;flex-direction:column;padding:18px;border-radius:19px;background:#173d46;color:#fff}.g5t6a-panel>span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#8dd4bb}.g5t6a-panel h2{margin:12px 0 18px;font-size:18px;line-height:1.35}.g5t6a-check{margin-top:auto;min-height:48px;border:0;border-radius:13px;background:#efad4b;color:#173d46;font-weight:900;cursor:pointer}.g5t6a-check:disabled{background:#678086;color:#d5dddd;cursor:not-allowed}.g5t6a-message{min-height:62px;margin:10px 0 0;padding:10px;border-radius:12px;background:#ffffff12;font-size:10px;line-height:1.45}.g5t6a-message.retry{background:#d75f5833}.g5t6a-result{margin-top:auto;padding:14px;border-radius:14px;background:#def6e9;color:#174d3e}.g5t6a-result i{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#39a97d;color:#fff;font-style:normal}.g5t6a-result p{font-size:11px;line-height:1.5}.g5t6a-choices,.g5t6a-multi,.g5t6a-order-bank{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.g5t6a-choices button,.g5t6a-multi button,.g5t6a-order-bank button{display:flex;align-items:center;gap:7px;min-height:48px;padding:7px;border:2px solid #ceded9;border-radius:11px;background:#fff;color:var(--ink);font:800 9px/1.25 inherit;text-align:left;cursor:pointer;transition:.18s}.g5t6a-choices button:hover,.g5t6a-multi button:hover,.g5t6a-order-bank button:hover{border-color:#ed912f;box-shadow:0 0 0 2px #ed912f33;transform:translateY(-1px)}.g5t6a-choices button.selected,.g5t6a-multi button.selected{border-color:#2e9c7b;background:#e2f6ec}.g5t6a-choices button i,.g5t6a-multi button i{display:grid;flex:0 0 24px;height:24px;place-items:center;border-radius:7px;background:#e7efed;font-style:normal}.g5t6a-order-bank button:disabled{opacity:.38;cursor:not-allowed}.g5t6a-order-track{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.g5t6a-order-track button{display:grid;grid-template-columns:22px 1fr;align-items:center;min-height:56px;padding:6px;border:2px dashed #b7c9c5;border-radius:11px;background:#f0f5f3;color:var(--ink);text-align:left;cursor:pointer}.g5t6a-order-track button.filled{border-style:solid;border-color:#329b7c;background:#e1f5ea}.g5t6a-order-track b{display:grid;width:19px;height:19px;place-items:center;border-radius:50%;background:#173d46;color:#fff;font-size:8px}.g5t6a-order-track span{font-size:8px;line-height:1.25}.g5t6a-help{display:flex;gap:8px}.g5t6a-help button{min-height:42px;padding:0 16px;border:1px solid #cadad6;border-radius:12px;background:#fff;color:var(--ink);font-weight:900}.g5t6a-support{position:absolute;z-index:8;left:12px;right:12px;top:10px;min-height:120px;padding:12px;border:3px solid #e4a141;border-radius:16px;background:#fff7e8;box-shadow:0 12px 30px #263d3d36;animation:g5t6a-drop .3s}.g5t6a-support>span{display:block;margin-bottom:8px;font-size:8px;font-weight:900;letter-spacing:.1em}.support-gap,.support-odd,.support-flow,.support-reverse,.support-values,.support-switch,.support-rects,.support-cards,.support-time{display:flex;align-items:center;justify-content:center;gap:8px;min-height:62px}.g5t6a-support span,.g5t6a-support b,.g5t6a-support i{padding:8px;border-radius:9px;background:#fff;font-size:9px;font-style:normal;text-align:center}.g5t6a-support i{background:#ffd996}.support-gap i{min-width:100px}.support-switch span:nth-child(-n+2){background:#d9f3e6}.support-rects span{border:2px solid #65a998}.support-cards span{min-width:155px}.support-time span{border-bottom:5px solid #d6953d}
.g5t6a-balance{position:relative;min-height:230px;padding:30px 24px 8px;border-radius:18px;background:linear-gradient(#edf7f4 0 72%,#d9e8df 72%)}.balance-beam{position:relative;display:grid;grid-template-columns:1fr 65px 1fr;align-items:start;height:125px;transform:rotate(var(--tilt));transform-origin:center 70px;transition:.5s}.balance-beam:after{content:"";position:absolute;left:8%;right:8%;top:48px;height:8px;border-radius:99px;background:#315a60}.balance-beam>em{z-index:2;justify-self:center;width:32px;height:32px;margin-top:35px;border:8px solid #315a60;border-radius:50%}.pan{z-index:3;position:relative;display:flex;align-content:flex-start;justify-content:center;flex-wrap:wrap;gap:3px;width:170px;min-height:75px;padding:23px 8px 7px;border:3px solid #6d8b8c;border-radius:7px 7px 45px 45px;background:#fff;box-shadow:0 7px 9px #1c3d4520}.pan.left{justify-self:start}.pan.right{justify-self:end}.pan b{position:absolute;top:4px;font-size:12px}.pan i{width:10px;height:10px;border-radius:3px;background:#e7a13e}.pan.right i{background:#55ae8f}.balance-pivot{position:absolute;left:50%;top:99px;width:0;height:0;border-left:42px solid transparent;border-right:42px solid transparent;border-bottom:100px solid #496c6d;transform:translateX(-50%)}.transfer-orbit{position:absolute;left:50%;bottom:12px;display:flex;align-items:center;gap:8px;transform:translateX(-50%);white-space:nowrap}.transfer-orbit b,.transfer-orbit i,.transfer-orbit span{padding:6px 9px;border-radius:99px;background:#fff;font-size:9px;font-style:normal}.g5t6a-balance.balanced{box-shadow:inset 0 0 0 4px #42af85}.g5t6a-odd-run .g5t6a-balance{min-height:200px}.odd-rings{display:flex;justify-content:center;gap:7px;margin-top:-6px}.odd-rings span{display:flex;align-items:center;gap:4px;padding:5px 7px;border:2px solid #c4d4d0;border-radius:99px;background:#fff}.odd-rings span.on{border-color:#d99b3e;background:#fff0d5;transform:translateY(-3px)}.odd-rings i{display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:#dbe7e4;font-style:normal;font-size:8px}.odd-rings b{font-size:7px}.g5t6a-clock{display:grid;grid-template-columns:115px 1fr;gap:12px;align-items:center;min-height:265px;padding:16px;border-radius:18px;background:#edf3f8}.clock-face{position:relative;width:105px;height:105px;border:9px solid #fff;border-radius:50%;background:conic-gradient(#dce8e8 0 33%,#cae4d9 33% 66%,#f5dba9 66%);box-shadow:0 6px 15px #18384422}.clock-face i{position:absolute;left:45px;top:11px;width:6px;height:36px;border-radius:99px;background:#d78034;transform:rotate(var(--turn));transform-origin:bottom;transition:.4s}.clock-face strong{position:absolute;inset:62px 0 0;text-align:center;font-size:11px}.clock-path{display:grid;grid-template-columns:1fr 16px 1fr 16px 1fr;align-items:center;gap:4px}.clock-path section{min-height:105px;padding:8px;border:2px dashed #aabfbe;border-radius:12px;background:#fff}.clock-path section.on{border-style:solid;border-color:#36a67f;transform:translateY(-5px)}.clock-path b,.clock-path span{display:block;font-size:8px}.clock-path span{margin-top:12px}.clock-path em{font-style:normal}.mini-balance{grid-column:1/-1;display:grid;grid-template-columns:1fr 180px 1fr;align-items:center;text-align:center}.mini-balance i{height:5px;background:#4c6c70;transform:rotate(-8deg);transition:.4s}.mini-balance i.level{transform:none}.mini-balance span{font-weight:900}
.g5t6a-gates{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:13px;min-height:265px;padding:15px;border-radius:18px;background:#f5f1e9}.g5t6a-gates section{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:145px;padding:12px;border:5px solid #5f7e7f;border-radius:75px 75px 12px 12px;background:#fff}.g5t6a-gates section b{display:grid;width:38px;height:48px;place-items:center;border-radius:9px;background:#f5c470;font-size:17px}.g5t6a-gates section i{font-style:normal}.g5t6a-gates section strong{position:absolute;bottom:10px;font-size:20px}.g5t6a-gates section em{position:absolute;right:-14px;font-style:normal}.g5t6a-gates section.reverse em{left:-14px;right:auto}.gate-core{display:grid;place-items:center;gap:6px}.gate-core i{width:65px;height:65px;border:8px double #5f7e7f;border-radius:50%;background:#fff;animation:g5t6a-turn 5s linear infinite}.gate-core span{font-size:7px;font-weight:900;text-align:center}.g5t6a-gates.matched{box-shadow:inset 0 0 0 4px #43b083}.g5t6a-network{position:relative;min-height:275px;padding:12px;border-radius:18px;background:#edf4f6}.product-grid{position:absolute;left:50%;top:50%;z-index:2;display:grid;grid-template-columns:repeat(3,32px);gap:5px;padding:7px;border:3px solid #526f76;border-radius:10px;background:#fff;transform:translate(-50%,-50%)}.product-grid b{display:grid;height:32px;place-items:center;border-radius:5px;background:#e7efed;font-size:11px}.g5t6a-network svg{position:absolute;inset:27px 6%;width:88%;height:210px}.g5t6a-network path{fill:none;stroke:#9eb5b7;stroke-width:4;stroke-linecap:round}.g5t6a-network .links path:nth-child(1){stroke:#3e9c82}.g5t6a-network .links path:nth-child(2){stroke:#dd9738}.g5t6a-network .links path:nth-child(3){stroke:#776bb4}.network-results{position:absolute;top:41px;display:grid;gap:35px}.network-results.left{left:5%}.network-results.right{right:5%}.network-results span{display:grid;width:38px;height:25px;place-items:center;border-radius:99px;background:#fff;font-size:9px;font-weight:900}.g5t6a-network>strong{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);font-size:9px}.g5t6a-network.resolved{box-shadow:inset 0 0 0 4px #3eaa83}.g5t6a-switchboard{position:relative;min-height:250px;padding:22px;border-radius:18px;background:#263d46;color:#fff}.switch-expression{display:flex;align-items:center;justify-content:center;gap:13px}.switch-expression span{padding:12px;border-radius:10px;background:#fff;color:#193c45;font-size:18px;font-weight:900}.switch-expression i{font-style:normal;font-size:25px}.switches{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:23px}.switches section{display:grid;place-items:center;gap:5px;padding:11px;border:1px solid #658087;border-radius:12px;background:#ffffff0d}.switches i{width:34px;height:17px;border-radius:99px;background:#8aa0a4;box-shadow:inset 17px 0 #d6dfdf;transition:.3s}.switches section.on i{background:#49b78e;box-shadow:inset -17px 0 #dff6eb}.switches section.warn i{background:#db645c}.switches b{font-size:8px}.g5t6a-switchboard svg{width:100%;height:60px}.g5t6a-switchboard path,.g5t6a-switchboard circle{fill:none;stroke:#759398;stroke-width:4}.g5t6a-switchboard.complete path,.g5t6a-switchboard.complete circle{stroke:#55c99b}.g5t6a-switchboard.shorted{box-shadow:inset 0 0 0 4px #df6a62}
.g5t6a-mosaic{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:center;min-height:290px;padding:14px;border-radius:18px;background:#f4f3ed}.mosaic-grid{position:relative;display:grid;grid-template-columns:repeat(10,1fr);width:280px;height:280px;border:4px solid #425f65;background:#fff;overflow:hidden}.mosaic-grid>i:not(.scan){border-right:1px solid #8ea6a3;border-bottom:1px solid #8ea6a3}.mosaic-grid .zone{position:absolute;display:grid;place-items:center;border:3px solid #fff;color:#173d46}.mosaic-grid .zone b{font-size:22px}.mosaic-grid .zone em{font-style:normal;font-size:9px}.mosaic-grid .zone.a{inset:0 50% 60% 0;background:#75c6a899}.mosaic-grid .zone.b{inset:40% 50% 0 0;background:#e7ad5399}.mosaic-grid .zone.c{inset:0 0 0 50%;background:#8d82c599}.mosaic-grid .scan{position:absolute;inset:0 auto 0 -12%;width:12%;background:#ffffff88;transform:skewX(-8deg);animation:g5t6a-scan 2.7s ease-in-out infinite}.mosaic-ledger{display:grid;gap:8px}.mosaic-ledger span{display:flex;justify-content:space-between;padding:10px;border-radius:9px;background:#fff;font-size:9px}.mosaic-ledger strong{text-align:center;font-size:24px}.g5t6a-mosaic.verified{box-shadow:inset 0 0 0 4px #45af85}.g5t6a-fold{min-height:250px;padding:18px;border-radius:18px;background:#f6f0e8}.fold-strip{display:grid;grid-template-columns:4fr 6fr 10fr;height:105px;border:4px solid #3f6267;transform:perspective(600px) rotateX(calc((3 - var(--step))*2deg));transform-origin:bottom;transition:.4s}.fold-strip span{display:grid;place-items:center;border-right:3px solid #fff;font-weight:900}.fold-strip .a{background:#77c5a6}.fold-strip .b{background:#e4ac55}.fold-strip .c{background:#8e82c5}.fold-path{display:grid;grid-template-columns:1fr 15px 1fr 15px 1fr;align-items:center;gap:5px;margin-top:18px}.fold-path section{min-height:72px;padding:8px;border:2px dashed #baa987;border-radius:10px;background:#fff}.fold-path section.on{border-style:solid;border-color:#d39037;transform:translateY(-4px)}.fold-path b,.fold-path span{display:block;font-size:8px}.fold-path span{margin-top:7px}.fold-path i{font-style:normal}.g5t6a-area{min-height:270px;padding:25px;border-radius:18px;background:#edf5f2}.area-rect{position:relative;display:flex;width:90%;height:165px;margin:auto;border:5px solid #3c6669;background:#f4cc7d}.area-rect>span{display:grid;place-items:center;align-content:center;gap:8px;transition:.5s}.area-left{width:var(--split);background:#68bda0}.area-right{flex:1;background:#f0b75c}.area-rect span b{font-size:14px}.area-rect span em{font-style:normal;font-size:23px;font-weight:900}.area-rect>i{position:absolute;left:var(--split);top:-5px;bottom:-5px;border-left:5px dashed #fff;transition:.5s}.area-ruler{display:grid;grid-template-columns:repeat(13,1fr);width:90%;margin:auto}.area-ruler i{height:12px;border-left:1px solid #6b8584}.area-ruler b{font-size:6px}.g5t6a-area>strong{display:block;margin-top:10px;text-align:center;font-size:10px}.g5t6a-area.true{box-shadow:inset 0 0 0 4px #46b087}
.g5t6a-layers{min-height:270px;padding:18px;border-radius:18px;background:#f0f3f7}.expression{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:15px}.expression span{display:grid;width:48px;height:48px;place-items:center;border-radius:9px;background:#fff;font-size:17px;font-weight:900}.expression i{font-style:normal;font-size:19px}.expression i.active{color:#d9802f;animation:g5t6a-pulse 1.2s infinite}.layer-stack{display:grid;gap:6px}.layer-stack section{display:grid;grid-template-columns:28px 90px 1fr;align-items:center;min-height:45px;padding:5px;border:2px dashed #aebbbe;border-radius:9px;background:#fff}.layer-stack section.on{border-style:solid;border-color:#3aa77f;transform:translateX(6px)}.layer-stack b{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#315d64;color:#fff;font-size:8px}.layer-stack span,.layer-stack em{font-size:8px}.layer-stack em{font-style:normal}.result-screen{display:grid;width:80px;height:44px;margin:10px auto 0;place-items:center;border:4px solid #385d63;border-radius:8px;background:#142e34;color:#8ef0bd;font-size:21px;font-weight:900}.g5t6a-card-engine{min-height:250px;padding:20px;border-radius:18px;background:#f5f1e9}.card-slots{display:flex;align-items:center;justify-content:center;gap:7px}.card-slots b{display:grid;width:54px;height:68px;place-items:center;border:3px solid #d7a34f;border-radius:9px;background:#fff;font-size:18px;box-shadow:0 5px 0 #bc8532}.card-slots b.mult{transform:translateY(-8px);border-color:#3da584;box-shadow:0 8px 0 #287d65}.card-slots i{font-style:normal;font-size:20px}.contribution{display:flex;align-items:flex-end;justify-content:center;gap:14px;height:70px;margin-top:10px}.contribution span{display:grid;width:65px;height:calc(20px + var(--v)*.35px);max-height:65px;place-items:center;border-radius:7px 7px 2px 2px;background:#6bb99f;font-size:9px;font-weight:900}.contribution .power{background:#e5a143}.contribution .minus{background:#d97167}.g5t6a-card-engine>strong{display:block;text-align:center;font-size:24px}.g5t6a-card-engine.best{box-shadow:inset 0 0 0 4px #43af84}.min-scale{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:10px}.min-scale section{min-height:115px;padding:12px;border-radius:12px;background:#fff;text-align:center}.min-scale b,.min-scale span{display:block}.min-scale b{font-size:8px}.min-scale span{margin-top:16px;font-size:13px;font-weight:900}.min-scale>i{height:7px;background:#3f6569;transform:rotate(-6deg)}.floor-arrow{display:flex;justify-content:center;gap:8px;margin-top:8px;font-size:9px;font-weight:900}.floor-arrow i{font-style:normal;color:#d0645c}
.g5t6a-pattern{position:relative;min-height:265px;padding:18px;border-radius:18px;background:#eef5f2}.pattern-steps{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:14px}.pattern-steps section{display:grid;justify-items:center;gap:6px}.pattern-steps section>span{display:flex;flex-wrap:wrap;align-content:flex-end;justify-content:center;gap:4px;width:115px;padding:8px;border-bottom:5px solid #486d71}.pattern-steps section:nth-child(1)>span{height:78px}.pattern-steps section:nth-child(2)>span{height:112px}.pattern-steps section:nth-child(3)>span{height:145px}.pattern-steps i{width:18px;height:18px;border-radius:4px;background:#69b89c;box-shadow:0 2px 0 #317d69}.pattern-steps i.new{background:#efa740;box-shadow:0 2px 0 #bb7624;animation:g5t6a-pulse 1.4s infinite}.pattern-steps b{font-size:8px}.difference-meter{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:10px}.difference-meter span,.difference-meter strong{padding:7px 12px;border-radius:99px;background:#fff;font-size:9px}.difference-meter strong{background:#e4a246;font-size:17px}.g5t6a-pattern.matched{box-shadow:inset 0 0 0 4px #45b087}.g5t6a-time-rail{min-height:260px;padding:20px;border-radius:18px;background:#edf4f7}.rail{display:flex;align-items:center;justify-content:center}.rail span{display:grid;min-width:44px;place-items:center;padding:6px;border:2px solid #a8bdc0;border-radius:10px;background:#fff}.rail span.on{border-color:#db9335;background:#ffe8be;transform:translateY(-5px)}.rail i{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#426b71;color:#fff;font-style:normal;font-size:8px}.rail b{font-size:7px}.rail em{font-style:normal;color:#82999b}.time-display{display:grid;width:130px;height:100px;margin:25px auto 0;place-items:center;align-content:center;border:7px solid #3e656b;border-radius:15px;background:#142f35;color:#9eeabe}.time-display i{width:46px;border-top:3px solid #9eeabe}.time-display strong{font-size:28px}.time-display span{font-size:7px}.g5t6a-time-rail.arrived{box-shadow:inset 0 0 0 4px #44ae84}.g5t6a-console{position:relative;min-height:265px;padding:22px;border-radius:18px;background:#223b44;color:#fff}.console-flow{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr;align-items:center;gap:5px}.console-flow section{min-height:118px;padding:9px;border:2px dashed #69848a;border-radius:11px;background:#ffffff0b}.console-flow section.on{border-style:solid;border-color:#54c294;background:#ffffff18;transform:translateY(-5px)}.console-flow section i{display:grid;width:23px;height:23px;place-items:center;border-radius:50%;background:#e19a3c;color:#223b44;font-style:normal;font-size:8px}.console-flow b,.console-flow span{display:block;font-size:8px}.console-flow span{margin-top:12px}.console-flow em{font-style:normal}.console-screen{display:grid;grid-template-columns:1fr 90px 80px;align-items:center;margin-top:16px;padding:8px 12px;border-radius:9px;background:#10262c;color:#8ef0bd}.console-screen span,.console-screen b{font-size:9px}.console-screen strong{font-size:24px;text-align:center}.console-lights{position:absolute;right:20px;top:12px;display:flex;gap:5px}.console-lights i{width:9px;height:9px;border-radius:50%;background:#6f8185}.console-lights i.on{background:#5bd39f;box-shadow:0 0 9px #5bd39f}
.g5t6a-final{padding:28px;border-radius:23px;background:#edf8f5;text-align:center}.g5t6a-final-mark{display:grid;place-items:center;width:120px;height:120px;margin:0 auto 10px;border:8px double #36a47c;border-radius:50%;color:#267557;transform:rotate(-4deg)}.g5t6a-final-mark i{font-style:normal;font-size:34px}.g5t6a-final-mark b{font-size:10px}.g5t6a-final>span{font-size:8px;font-weight:900;letter-spacing:.13em}.g5t6a-final h1{font-size:22px}.g5t6a-report{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.g5t6a-report section{padding:11px;border:1px solid #c9e1da;border-radius:11px;background:#fff}.g5t6a-report b,.g5t6a-report span{display:block;font-size:8px}.g5t6a-final p{font-size:10px}@keyframes g5t6a-drop{from{opacity:0;transform:translateY(-10px)}}@keyframes g5t6a-turn{to{transform:rotate(360deg)}}@keyframes g5t6a-scan{50%{left:100%}}@keyframes g5t6a-pulse{50%{transform:scale(1.08)}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-theme6-assessment-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-theme6-assessment-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-theme6-assessment-board) .skip-section,.topic-lesson-shell:has(.grade5-theme6-assessment-board) .lesson-time{display:none}.g5t6a-shell>main{grid-template-columns:minmax(0,1fr) 275px}.g5t6a-report{grid-template-columns:repeat(3,1fr)}.g5t6a-mosaic{grid-template-columns:250px 1fr}.mosaic-grid{width:240px;height:240px}.pan{width:140px}.rail span{min-width:38px;padding:4px}}
@media(max-width:600px){.g5t6a-shell{padding:8px;border-radius:17px}.g5t6a-shell>header{align-items:flex-start}.g5t6a-shell>header h1{font-size:15px}.g5t6a-progress{flex-basis:104px}.g5t6a-shell>main{display:flex;flex-direction:column}.g5t6a-visual{min-height:500px;padding:7px;overflow:hidden}.g5t6a-visual-stage{min-height:480px;justify-content:flex-start}.g5t6a-panel{padding:14px}.g5t6a-panel h2{font-size:15px}.g5t6a-choices,.g5t6a-multi,.g5t6a-order-bank{grid-template-columns:1fr;gap:4px}.g5t6a-choices button,.g5t6a-multi button,.g5t6a-order-bank button{min-height:44px;font-size:8px;padding:5px}.g5t6a-order-track button{min-height:58px}.g5t6a-order-track span{font-size:6px}.g5t6a-support{left:7px;right:7px;top:5px;min-height:110px}.pan{width:118px;padding-inline:4px}.balance-beam{grid-template-columns:1fr 45px 1fr}.balance-beam:after{left:4%;right:4%}.odd-rings{gap:2px}.odd-rings span{padding:3px}.odd-rings b{display:none}.g5t6a-clock{grid-template-columns:75px 1fr;padding:7px}.clock-face{width:72px;height:72px;border-width:5px}.clock-face i{left:31px;top:7px;height:26px}.clock-face strong{inset:42px 0 0}.clock-path section{min-height:95px;padding:4px}.mini-balance{grid-template-columns:1fr 100px 1fr}.g5t6a-gates{grid-template-columns:1fr 45px 1fr;padding:5px}.g5t6a-gates section{gap:2px;padding:5px}.g5t6a-gates section b{width:25px;height:37px;font-size:12px}.gate-core i{width:38px;height:38px;border-width:5px}.network-results.left{left:1%}.network-results.right{right:1%}.product-grid{grid-template-columns:repeat(3,27px)}.product-grid b{height:27px}.switch-expression span{font-size:13px}.g5t6a-mosaic{grid-template-columns:210px 1fr;gap:7px;padding:5px}.mosaic-grid{width:205px;height:205px}.mosaic-ledger span{padding:6px;font-size:7px}.mosaic-ledger strong{font-size:16px}.fold-path section{padding:4px}.fold-path b,.fold-path span{font-size:6px}.g5t6a-area{padding:12px}.area-rect{width:100%}.area-ruler{width:100%}.expression{gap:4px}.expression span{width:38px;height:42px}.layer-stack section{grid-template-columns:25px 66px 1fr}.card-slots{gap:3px}.card-slots b{width:43px;height:58px}.min-scale{grid-template-columns:1fr 50px 1fr}.pattern-steps{gap:5px}.pattern-steps section>span{width:92px;padding:4px}.pattern-steps i{width:14px;height:14px}.rail{justify-content:flex-start;overflow:hidden}.rail span{min-width:34px}.rail em{font-size:7px}.console-flow section{padding:5px}.console-flow b,.console-flow span{font-size:6px}.console-screen{grid-template-columns:1fr 60px 65px}.g5t6a-report{grid-template-columns:1fr}.g5t6a-final{padding:16px}}

/* Rotated balance beams and gate arrows keep a safe inset at every viewport. */
.balance-beam{width:calc(100% - 48px);margin-inline:auto}.pan{width:min(170px,92%)}
.g5t6a-gates section em{right:4px}.g5t6a-gates section.reverse em{left:4px;right:auto}
.g5t6a-balance,.g5t6a-gates{overflow:clip}
@media(max-width:600px){.g5t6a-gates{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:3px}.g5t6a-gates section{min-width:0;gap:1px;padding-inline:3px}.g5t6a-gates section b{width:21px;height:35px;font-size:11px}.g5t6a-gates section em{display:none}}
.g5t6a-choices button:focus-visible,.g5t6a-multi button:focus-visible,.g5t6a-order-bank button:focus-visible,.g5t6a-order-track button:focus-visible,.g5t6a-check:focus-visible,.g5t6a-help button:focus-visible{outline:3px solid #ed912f;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.g5t6a-shell *{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* grade5-theme7-assessment.css */
.topic-lesson-shell:has(.grade5-theme7-assessment-board){width:min(1500px,calc(100vw - 22px));max-width:none}
.topic-lesson-shell:has(.grade5-theme7-assessment-board) .feedback-launcher{display:none}
body:has(.grade5-theme7-assessment-board) .feedback-launcher{display:none}
.topic-lesson-shell:has(.grade5-theme7-assessment-board) .teacher-classroom{grid-template-columns:minmax(240px,320px) minmax(0,1fr);width:100%}
.topic-lesson-shell:has(.grade5-theme7-assessment-board) .teaching-area,.topic-lesson-shell:has(.grade5-theme7-assessment-board) .teaching-board{width:100%;max-width:none;min-width:0}
.grade5-theme7-assessment-board{padding:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important}
.g5t7a-shell{--ink:#173f47;--teal:#168a78;--orange:#e78a2f;--paper:#fffaf0;display:grid;gap:10px;padding:14px;border:1px solid #c9ded9;border-radius:24px;background:linear-gradient(145deg,#fffaf1,#edf8f5);color:var(--ink);box-shadow:0 16px 40px #215b6230}
.g5t7a-shell>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.g5t7a-shell>header span,.g5t7a-panel>span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#51777a}.g5t7a-shell>header h1{margin:3px 0 0;font-size:20px}.g5t7a-progress{display:grid;grid-template-columns:130px 38px;align-items:center;gap:8px}.g5t7a-progress>i{height:10px;border-radius:99px;background:linear-gradient(90deg,var(--teal) var(--p),#d7e6e3 var(--p));box-shadow:inset 0 0 0 1px #8cb8b0}.g5t7a-progress b{font-size:11px}
.g5t7a-shell>main{display:grid;grid-template-columns:minmax(470px,1.6fr) minmax(270px,.85fr);gap:10px;align-items:stretch}.g5t7a-visual,.g5t7a-panel{position:relative;min-width:0;border:1px solid #cadeda;border-radius:18px;background:#fff}.g5t7a-visual{min-height:430px;padding:12px;overflow:clip}.g5t7a-visual-stage{display:grid;align-content:center;min-height:404px}.g5t7a-panel{display:grid;align-content:start;gap:12px;padding:18px}.g5t7a-panel h2{margin:0;font-size:17px;line-height:1.28}.g5t7a-message{min-height:54px;margin:0;padding:10px;border-radius:12px;background:#eef6f4;font-size:12px;line-height:1.4}.g5t7a-message.retry{background:#fff0e7;color:#853a25}.g5t7a-check{min-height:48px;border:0;border-radius:12px;background:#167f70;color:#fff;font:900 12px inherit;cursor:pointer}.g5t7a-check:disabled{opacity:.45;cursor:not-allowed}.g5t7a-result{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px;padding:11px;border-radius:13px;background:#e5f6ee}.g5t7a-result i{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#2e9d74;color:#fff;font-style:normal;font-size:22px}.g5t7a-result p{margin:0;font-size:12px;line-height:1.4}
.g5t7a-choices,.g5t7a-multi,.g5t7a-order-bank{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:7px;margin-top:12px}.g5t7a-choices button,.g5t7a-multi button,.g5t7a-order-bank button,.g5t7a-order-track button{min-height:46px;border:2px solid #bdd4cf;border-radius:11px;background:#fff;color:var(--ink);font:800 10px inherit;cursor:pointer;transition:.18s}.g5t7a-choices button,.g5t7a-multi button{display:grid;grid-template-columns:28px 1fr;align-items:center;text-align:left}.g5t7a-choices button>i,.g5t7a-multi button>i{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#e4f1ee;font-style:normal}.g5t7a-choices button.selected,.g5t7a-multi button.selected,.g5t7a-order-track button.filled{border-color:#e89235;box-shadow:0 0 0 3px #f1a84b38;transform:translateY(-2px)}.g5t7a-order-bank button:disabled{opacity:.35}.g5t7a-order-track{display:grid;gap:6px;margin-top:8px}.g5t7a-order-track button{display:grid;grid-template-columns:30px 1fr;align-items:center;text-align:left}.g5t7a-order-track b{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#315f66;color:#fff}.g5t7a-help{display:flex;gap:8px}.g5t7a-help button{min-height:44px;padding:0 16px;border:2px solid #d5a562;border-radius:11px;background:#fff8ea;color:#6c4818;font-weight:900;cursor:pointer}.g5t7a-support{position:absolute;z-index:5;left:10px;right:10px;top:8px;display:grid;gap:7px;min-height:105px;padding:10px;border:3px solid #e38d32;border-radius:15px;background:#fff8e9ed;box-shadow:0 10px 30px #6b451e36;backdrop-filter:blur(4px)}.g5t7a-support>span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#8c551c}
.g5t7a-shell .ball{display:inline-block;width:30px;height:30px;margin:3px;border:2px solid #ffffffaa;border-radius:50%;background:#9ab3b6;box-shadow:inset -5px -6px 8px #0002,0 3px 4px #0003;animation:g5t7a-drop .35s calc(var(--i)*45ms) both}.g5t7a-shell .ball.yellow{background:#f0c941}.g5t7a-shell .ball.blue{background:#4b91d8}.g5t7a-shell .ball.green{background:#48a97e}.g5t7a-shell .ball.purple{background:#8a61b5}.g5t7a-shell .ball.red{background:#d95850}
.g5t7a-range{display:grid;gap:24px;padding:28px;border-radius:18px;background:#eef6f3}.range-track{position:relative;display:grid;grid-template-columns:34px 1fr 34px;align-items:center;height:90px}.range-track:before{content:"";grid-column:2;height:12px;border-radius:99px;background:linear-gradient(90deg,#ec5b51,#efc04a 48%,#3ca77d)}.range-track>b{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#254f57;color:#fff}.range-track>i{position:absolute;left:calc(34px + (100% - 68px)*var(--x)/100);top:13px;width:4px;height:64px;background:#e8822a;transition:.35s}.range-track>i:before{content:"";position:absolute;left:-15px;top:28px;width:34px;height:34px;border:3px solid #e8822a;border-radius:50%;background:#fff}.range-track>i span{position:absolute;left:50%;bottom:67px;min-width:56px;padding:6px;border-radius:7px;background:#fff;transform:translateX(-50%);font-style:normal;font-weight:900;text-align:center}.g5t7a-range.outside .range-track>i{background:#c34f49}.range-gates{display:grid;grid-template-columns:1fr 1fr;gap:10px}.range-gates span{display:grid;min-height:44px;place-items:center;border:2px dashed #91bcb4;border-radius:10px;font-weight:900}.g5t7a-range.inside .range-gates span:first-child,.g5t7a-range.outside .range-gates span:last-child{border-style:solid;border-color:#e78c31;background:#fff1d9}
.g5t7a-vault{display:grid;grid-template-columns:210px 1fr;align-items:center;gap:25px;padding:20px}.green-box{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;min-height:190px;padding:18px;border:7px solid #5d7a75;border-radius:18px;background:#e5f5ec}.green-box b{flex-basis:100%;text-align:center}.endpoint-line{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:160px}.endpoint-line:before{content:"";position:absolute;left:30px;right:30px;height:8px;border-radius:99px;background:linear-gradient(90deg,#dc5c58,#edc24e,#3ea47d)}.endpoint-line>span{z-index:1;display:grid;width:116px;min-height:116px;place-items:center;align-content:center;border:5px solid #fff;border-radius:50%;background:#315e65;color:#fff;text-align:center}.endpoint-line b{font-size:26px}.endpoint-line em{font-style:normal;font-size:10px}.endpoint-line i{max-width:95px;margin-top:4px;font-style:normal;font-size:7px}
.g5t7a-elevator{display:grid;grid-template-columns:150px 1fr;align-items:end;gap:30px;padding:20px}.tank{position:relative;height:245px;border:8px solid #477077;border-top:0;border-radius:0 0 25px 25px;overflow:hidden;background:#f6fbfa}.tank>i{position:absolute;left:0;right:0;bottom:0;height:var(--level);background:#53b0d8}.tank>b{position:absolute;inset:0;display:grid;place-items:center;font-size:28px}.elevator-shafts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:end;height:245px}.elevator-shafts span{position:relative;height:100%;border:2px solid #bdd5d0;border-radius:12px;background:#f2f7f6}.elevator-shafts span i{position:absolute;left:5px;right:5px;bottom:5px;height:var(--level);border-radius:8px;background:#b7d6d1;transition:.3s}.elevator-shafts span.on i{background:#eea547}.elevator-shafts b{position:absolute;left:0;right:0;bottom:10px;text-align:center;font-size:10px}
.g5t7a-spectrum{padding:20px}.card-rack{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.card-rack i{display:grid;height:62px;place-items:center;border-radius:9px;background:#6fa9d2;color:#fff;font-style:normal;font-size:22px}.card-rack .orange{background:#e9963f}.card-rack .star{background:#6d7e8d}.spectrum-rail{position:relative;display:flex;justify-content:space-between;align-items:center;height:180px;margin-top:12px}.spectrum-rail:before{content:"";position:absolute;left:25px;right:25px;top:85px;height:9px;border-radius:99px;background:linear-gradient(90deg,#dd5c58,#eec150,#3ba37d)}.spectrum-rail>b{z-index:1;display:grid;width:46px;height:46px;place-items:center;border-radius:50%;background:#315d65;color:#fff}.spectrum-rail span{position:absolute;left:calc(25px + (100% - 50px)*var(--x)/100);top:50px;display:grid;justify-items:center;transform:translateX(-50%)}.spectrum-rail span i{display:grid;width:44px;height:44px;place-items:center;border:4px solid #e78e34;border-radius:50%;background:#fff;font-style:normal}.spectrum-rail span em{width:120px;margin-top:46px;font-style:normal;font-size:8px;text-align:center}
.g5t7a-jar-lab{display:grid;grid-template-columns:240px 1fr;align-items:center;gap:25px;padding:20px}.jar{position:relative;height:250px;border:8px solid #78999a;border-top-width:18px;border-radius:35px 35px 70px 70px;background:#e8f4f399;overflow:hidden}.jar>div{position:absolute;left:10px;right:10px;bottom:15px;display:flex;flex-wrap:wrap;align-content:flex-end;justify-content:center}.jar>span{position:absolute;left:30px;right:30px;top:20px;height:25px;border-radius:50%;background:#fff8}.jar-meters{display:grid;gap:18px}.jar-meters span{display:grid;grid-template-columns:50px 1fr;align-items:center;gap:8px;font-weight:900}.jar-meters i{height:28px;border-radius:8px;background:linear-gradient(90deg,#51a8ce var(--p),#dbe9e7 var(--p))}
.g5t7a-ratios{display:grid;grid-template-columns:1fr 120px 1fr;align-items:center;gap:10px;padding:16px}.g5t7a-ratios section{display:grid;justify-items:center;gap:8px;padding:12px;border:3px solid #c2d7d3;border-radius:16px;background:#f6fbfa}.g5t7a-ratios.a section:first-child,.g5t7a-ratios.b section:last-child{border-color:#e88e33;transform:translateY(-6px)}.mini-jar{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-end;width:150px;min-height:125px;padding:8px;border:5px solid #729496;border-radius:18px 18px 35px 35px}.g5t7a-ratios section>i{width:100%;height:22px;border-radius:99px;background:linear-gradient(90deg,#4d91d2 var(--p),#f0cf52 var(--p))}.g5t7a-ratios em{font-style:normal;font-weight:900}.g5t7a-ratios svg{width:100%}.g5t7a-ratios path{stroke:#447078;stroke-width:7}.g5t7a-ratios circle{fill:#fff;stroke:#e78e34;stroke-width:5}
.g5t7a-equalizer{display:grid;grid-template-columns:1fr 80px 1fr;align-items:center;gap:10px;padding:20px}.g5t7a-equalizer section{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;min-height:210px;padding:16px;border:5px solid #719496;border-radius:18px;background:#eef7f5}.g5t7a-equalizer section b{flex-basis:100%;margin-bottom:12px;text-align:center}.pair-bridge{height:10px;border-radius:99px;background:#b9ceca;transform:rotate(-8deg)}.g5t7a-equalizer.balanced .pair-bridge{background:#3aa67b;transform:rotate(0)}.g5t7a-equalizer>strong{grid-column:1/-1;text-align:center}
.g5t7a-wheel-lab,.g5t7a-fairness{display:grid;grid-template-columns:260px 1fr;align-items:center;gap:25px;padding:18px}.wheel{position:relative;width:250px;height:250px;border:8px solid #426d73;border-radius:50%;overflow:hidden;background:#e8f0ee}.wheel>.slice{position:absolute;left:50%;top:50%;width:50%;height:50%;transform-origin:0 0;transform:rotate(calc(var(--i)*45deg)) skewY(-45deg);background:#d9e5e2;border:1px solid #fff}.wheel>.slice.purple{background:#845eac}.wheel>.slice.orange{background:#ee9642}.wheel>.slice.blue{background:#4e90d1}.wheel>.slice.red{background:#d95751}.wheel>b{position:absolute;left:50%;top:50%;width:32px;height:32px;border:7px solid #fff;border-radius:50%;background:#315e65;transform:translate(-50%,-50%)}.wheel-bars{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:12px;height:230px}.wheel-bars span{display:grid;grid-template-rows:1fr 1fr 24px;justify-items:center;align-items:end;font-size:9px;font-weight:900}.wheel-bars i{width:75%;height:calc(var(--v)*35px);max-height:150px;border-radius:8px 8px 0 0;background:#8a61b5;transition:.35s}.wheel-bars span:nth-child(2) i{background:#ee9642}.wheel-bars span:nth-child(3) i{background:#4e90d1}.pair-lines{display:grid;gap:9px}.pair-lines span{display:grid;grid-template-columns:1fr 1fr;gap:25px;min-height:36px}.pair-lines span:before{content:"";position:absolute}.pair-lines i,.pair-lines b{border-radius:7px;background:#d95751}.pair-lines b{background:#4e90d1}.pair-lines span.paired i,.pair-lines span.paired b{box-shadow:0 0 0 3px #46ad7c}.g5t7a-fairness>strong{grid-column:1/-1;text-align:center}
.g5t7a-evidence{display:grid;gap:18px;padding:18px}.number-cards{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}.number-cards i{display:grid;min-height:55px;place-items:center;border-radius:9px;background:#e5a445;color:#fff;font-style:normal;font-size:22px;font-weight:900}.number-cards i.four{background:#527f9f}.evidence-lenses{display:grid;grid-template-columns:1fr 1fr;gap:12px}.evidence-lenses section{min-height:150px;padding:12px;border:4px solid #b8d1cc;border-radius:50px 50px 15px 15px;background:#eff7f5}.evidence-lenses b,.evidence-lenses span{display:block;text-align:center}.evidence-lenses span{margin-top:7px;padding:6px;border-radius:7px;background:#fff;font-size:8px}.g5t7a-evidence>strong{text-align:center}
.g5t7a-cube-lab{display:grid;grid-template-columns:300px 1fr;align-items:center;gap:20px;padding:18px}.cube-net{display:grid;grid-template-columns:repeat(4,70px);grid-template-rows:repeat(3,70px);gap:3px}.cube-net i{display:grid;place-items:center;border:4px solid #467079;border-radius:6px;background:#fff;font-style:normal;font-size:28px;font-weight:900}.cube-net i:nth-child(1){grid-column:2}.cube-net i:nth-child(2){grid-column:1;grid-row:2}.cube-net i:nth-child(3){grid-column:2;grid-row:2}.cube-net i:nth-child(4){grid-column:3;grid-row:2}.cube-net i:nth-child(5){grid-column:4;grid-row:2}.cube-net i:nth-child(6){grid-column:2;grid-row:3}.g5t7a-cube-lab.k .letter-k,.g5t7a-cube-lab.l .letter-l,.g5t7a-cube-lab.m .letter-m{border-color:#e78d31;background:#fff0d6}.letter-bars{display:grid;gap:12px}.letter-bars span{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;font-weight:900}.letter-bars i{height:28px;width:calc(var(--v)*28%);border-radius:7px;background:#4b9b86}
.g5t7a-recorder{display:grid;gap:25px;padding:20px}.trial-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.trial-slots span{display:grid;grid-template-columns:35px 1fr;align-items:center;min-height:80px;border:4px dashed #bccfcb;border-radius:14px;background:#f6faf9}.trial-slots span.on{border-style:solid;border-color:#e79134;transform:translateY(-5px)}.trial-slots b{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#325f66;color:#fff}.trial-slots i{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#efc743;font-style:normal;font-weight:900}.trial-slots .blue i{background:#4d91d2;color:#fff}.tallies{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tallies span{display:grid;grid-template-columns:60px 1fr;align-items:center;min-height:70px;padding:10px;border-radius:12px;background:#edf6f4;font-weight:900}.tallies i{font-style:normal;font-size:30px;letter-spacing:8px;color:#e58b30}
.g5t7a-bridge{display:grid;grid-template-columns:1fr 120px 1fr;align-items:center;gap:12px;padding:18px}.g5t7a-bridge section{display:grid;justify-items:center;gap:10px;padding:14px;border:4px solid #bdd3cf;border-radius:16px;background:#f4faf8}.g5t7a-bridge.correct-view section:first-child{border-color:#e78d31}.g5t7a-bridge section>div{display:flex;flex-wrap:wrap;justify-content:center;min-height:85px}.g5t7a-bridge section>i{width:100%;height:24px;border-radius:99px;background:#4d91d2}.g5t7a-bridge section>i span{display:block;width:var(--p);height:100%;border-radius:99px;background:#efc842}.g5t7a-bridge em{font-style:normal}.g5t7a-bridge svg{width:100%}.g5t7a-bridge path{stroke:#416d74;stroke-width:8}.g5t7a-bridge circle{fill:#fff;stroke:#e48a30;stroke-width:5}
.g5t7a-forecast{display:grid;grid-template-columns:230px 1fr;align-items:center;gap:20px;padding:18px}.weather-window{position:relative;height:240px;border:10px solid #477078;border-radius:24px;background:linear-gradient(#86c9e7,#d9eff4);overflow:hidden}.weather-window b{position:absolute;right:14px;top:12px;font-size:26px}.cloud{position:absolute;left:55px;top:70px;width:110px;height:45px;border-radius:99px;background:#fff}.cloud:before,.cloud:after{content:"";position:absolute;border-radius:50%;background:#fff}.cloud:before{left:18px;top:-28px;width:60px;height:60px}.cloud:after{right:12px;top:-18px;width:48px;height:48px}.rain{position:absolute;left:60px;top:125px;width:100px;height:80px;background:repeating-linear-gradient(105deg,transparent 0 18px,#4c98c1 19px 23px)}.forecast-cards{display:grid;gap:10px}.forecast-cards span{display:grid;grid-template-columns:48px 1fr;align-items:center;min-height:70px;padding:9px;border:3px solid #c1d4d0;border-radius:13px;background:#fff}.forecast-cards span.active{border-color:#e78c31;transform:translateX(8px)}.forecast-cards span.data{background:#e8f6ef}.forecast-cards span.personal{background:#fff4e7}.forecast-cards i{font-style:normal;font-size:28px}
.g5t7a-report-console{display:grid;gap:22px;padding:20px}.ten-cards{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.ten-cards i{display:grid;height:54px;place-items:center;border-radius:8px;background:#5e859a;color:#fff;font-style:normal;font-size:20px}.ten-cards i.star{background:#e9a23f}.report-flow{display:grid;grid-template-columns:1fr 24px 1fr 24px 1fr;align-items:center;gap:5px}.report-flow section{display:grid;align-content:center;min-height:105px;padding:10px;border:3px dashed #b9cfca;border-radius:12px;background:#f4f9f8}.report-flow section.on{border-style:solid;border-color:#e58b31;transform:translateY(-5px)}.report-flow b,.report-flow span{display:block;font-size:9px}.report-flow i{font-style:normal}.report-spectrum{position:relative;display:flex;justify-content:space-between;align-items:center;height:70px}.report-spectrum:before{content:"";position:absolute;left:25px;right:25px;height:9px;border-radius:99px;background:linear-gradient(90deg,#dd5c58,#edc14e,#3da37b)}.report-spectrum b{z-index:1;display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#315f65;color:#fff}.report-spectrum span{position:absolute;left:calc(25px + (100% - 50px)*var(--x)/100);width:44px;height:44px;border:5px solid #e58b31;border-radius:50%;background:#fff;transform:translateX(-50%)}
.support-range,.support-bars,.support-flow,.support-slots,.support-pairs{display:flex;align-items:center;justify-content:center;gap:8px;min-height:55px}.support-range span{position:relative;width:70%;height:10px;border-radius:99px;background:linear-gradient(90deg,#d95a56,#ebbf4b,#3ca279)}.support-range span i{position:absolute;left:50%;top:-14px;width:36px;height:36px;border:3px solid #e58c32;border-radius:50%;background:#fff}.support-bars span{width:120px;height:28px;border-radius:6px;background:linear-gradient(90deg,#4b91d1 var(--p),#e2ecea var(--p))}.support-flow span,.support-slots span,.support-slots i{display:grid;min-width:70px;min-height:44px;place-items:center;padding:5px;border:2px solid #8eb9b1;border-radius:9px;background:#fff;font-style:normal;font-size:9px;font-weight:900}.support-flow i{font-style:normal}.support-grid{display:grid;grid-template-columns:repeat(10,24px);gap:3px;justify-content:center}.support-grid i{height:24px;border:1px solid #90bdb5;background:#fff}.support-pairs i{display:flex;gap:6px}.support-pairs b{width:28px;height:28px;border-radius:50%;background:#8a61b5}.support-pairs b:last-child{background:#4aa67e}
.g5t7a-final{padding:30px;border-radius:22px;background:#edf8f4;text-align:center}.g5t7a-final-mark{display:grid;width:145px;height:145px;margin:0 auto 12px;place-items:center;align-content:center;border:9px double #339d76;border-radius:50%;color:#27785a;transform:rotate(-4deg)}.g5t7a-final-mark i{font-style:normal;font-size:38px}.g5t7a-final-mark b{font-size:8px}.g5t7a-final>span{font-size:9px;font-weight:900;letter-spacing:.12em}.g5t7a-final h1{font-size:23px}.g5t7a-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.g5t7a-summary section{padding:12px;border:1px solid #c7ded8;border-radius:11px;background:#fff}.g5t7a-summary b,.g5t7a-summary span{display:block;font-size:9px}
.g5t7a-choices button:hover,.g5t7a-multi button:hover,.g5t7a-order-bank button:hover,.g5t7a-order-track button:hover,.g5t7a-help button:hover{border-color:#ed912f;box-shadow:0 0 0 3px #ed912f35}.g5t7a-choices button:focus-visible,.g5t7a-multi button:focus-visible,.g5t7a-order-bank button:focus-visible,.g5t7a-order-track button:focus-visible,.g5t7a-check:focus-visible,.g5t7a-help button:focus-visible{outline:3px solid #ed912f;outline-offset:2px}
@keyframes g5t7a-drop{from{opacity:0;transform:translateY(-16px)}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-theme7-assessment-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .skip-section,.topic-lesson-shell:has(.grade5-theme7-assessment-board) .lesson-time{display:none}.topic-lesson-shell:has(.grade5-theme7-assessment-board) .feedback-launcher{display:none}.g5t7a-shell>main{grid-template-columns:minmax(0,1fr) 290px}.g5t7a-vault,.g5t7a-forecast{grid-template-columns:1fr;gap:10px;padding:10px}.g5t7a-vault .green-box{min-height:130px}.g5t7a-forecast .weather-window{height:180px}.g5t7a-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.g5t7a-shell{padding:8px;border-radius:16px}.g5t7a-shell>header{align-items:flex-start}.g5t7a-shell>header h1{font-size:15px}.g5t7a-progress{grid-template-columns:78px 34px}.g5t7a-shell>main{display:flex;flex-direction:column}.g5t7a-visual{min-height:500px;padding:7px}.g5t7a-visual-stage{min-height:480px;align-content:start}.g5t7a-panel{padding:14px}.g5t7a-panel h2{font-size:15px}.g5t7a-choices,.g5t7a-multi,.g5t7a-order-bank{grid-template-columns:1fr}.g5t7a-choices button,.g5t7a-multi button,.g5t7a-order-bank button{min-height:44px}.g5t7a-support{left:7px;right:7px;top:5px}.g5t7a-vault,.g5t7a-elevator,.g5t7a-jar-lab,.g5t7a-wheel-lab,.g5t7a-fairness,.g5t7a-cube-lab,.g5t7a-forecast{grid-template-columns:1fr;gap:10px;padding:8px}.green-box,.jar,.weather-window{min-height:180px;height:180px}.endpoint-line{min-height:120px}.tank{height:170px}.elevator-shafts{height:170px}.g5t7a-ratios,.g5t7a-bridge{grid-template-columns:1fr 45px 1fr;padding:6px}.mini-jar{width:115px;min-height:110px}.g5t7a-equalizer{grid-template-columns:1fr 45px 1fr;padding:7px}.g5t7a-equalizer section{min-height:180px;padding:5px}.wheel{width:220px;height:220px;margin:auto}.wheel-bars{height:165px}.wheel-bars i{height:calc(var(--v)*25px)}.cube-net{grid-template-columns:repeat(4,57px);grid-template-rows:repeat(3,57px);margin:auto}.cube-net i{font-size:20px}.trial-slots{gap:4px}.trial-slots span{grid-template-columns:25px 1fr;min-height:62px}.trial-slots i{width:38px;height:38px}.report-flow section{padding:5px}.g5t7a-summary{grid-template-columns:1fr}.support-grid{grid-template-columns:repeat(10,18px)}.support-grid i{height:18px}.spectrum-rail span em{width:88px;font-size:7px}.spectrum-rail span i{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.g5t7a-shell *{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* grade5-probability-events.css */
.topic-lesson-shell:has(.grade5-probability-events-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}.topic-lesson-shell:has(.grade5-probability-events-board) .teaching-area{width:100%;max-width:none}.topic-lesson-shell:has(.grade5-probability-events-board) .teaching-board{padding:0;background:transparent;box-shadow:none}.g5pe-shell{--ink:#173d46;--ink-soft:#416c71;--teal:#278f83;--green:#48ad83;--gold:#e6a23d;--orange:#ee8e2c;--red:#d9665e;--blue:#4c8ebc;--purple:#8475bc;--paper:#fffdf7;box-sizing:border-box;width:100%;padding:14px;border:1px solid #d5e5df;border-radius:24px;background:linear-gradient(145deg,#fbfdf9,#edf6f2);color:var(--ink);box-shadow:0 17px 46px #173d4617}.g5pe-shell *{box-sizing:border-box}.g5pe-shell>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;padding:3px 5px}.g5pe-shell>header span{font-size:9px;font-weight:900;letter-spacing:.09em;color:#568078}.g5pe-shell>header h1{margin:3px 0 0;font-size:20px;line-height:1.1}.g5pe-progress{position:relative;flex:0 0 145px;height:36px;border-radius:99px;background:#d9e8e3;overflow:hidden}.g5pe-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,#42ad84,#78c7a7);transition:width .35s}.g5pe-progress b{position:absolute;inset:0;display:grid;place-items:center;font-size:11px}.g5pe-shell>main{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:13px}.g5pe-visual{position:relative;min-height:520px;padding:12px;border:1px solid #d5e1de;border-radius:19px;background:#fff;overflow:hidden}.g5pe-visual-stage{display:flex;min-height:494px;flex-direction:column;justify-content:center;gap:12px}.g5pe-panel{display:flex;min-width:0;flex-direction:column;padding:18px;border-radius:19px;background:#173d46;color:#fff}.g5pe-panel>span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#8dd4bb}.g5pe-panel h2{margin:12px 0 18px;font-size:18px;line-height:1.35}.g5pe-check{margin-top:auto;min-height:48px;border:0;border-radius:13px;background:#efad4b;color:#173d46;font-weight:900;cursor:pointer;box-shadow:0 5px 0 #b97925;transition:.18s}.g5pe-check:hover{background:#ffbd5b;transform:translateY(-1px)}.g5pe-check:active{transform:translateY(3px);box-shadow:0 2px 0 #b97925}.g5pe-check:disabled{background:#678086;color:#d5dddd;box-shadow:none;cursor:not-allowed;transform:none}.g5pe-message{min-height:62px;margin:10px 0 0;padding:10px;border-radius:12px;background:#ffffff12;font-size:10px;line-height:1.45}.g5pe-message.retry{background:#d75f5838}.g5pe-result{margin-top:auto;padding:14px;border-radius:14px;background:#def6e9;color:#174d3e}.g5pe-result i{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#39a97d;color:#fff;font-style:normal}.g5pe-result p{font-size:11px;line-height:1.5}.g5pe-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.g5pe-choices button{display:flex;align-items:center;gap:7px;min-height:48px;padding:7px;border:2px solid #ceded9;border-radius:11px;background:#fff;color:var(--ink);font:800 9px/1.25 inherit;text-align:left;cursor:pointer;transition:.18s}.g5pe-choices button:hover{border-color:var(--orange);box-shadow:0 0 0 2px #ee8e2c33;transform:translateY(-1px)}.g5pe-choices button.selected{border-color:#2e9c7b;background:#e2f6ec;box-shadow:inset 0 0 0 1px #2e9c7b}.g5pe-choices button:disabled{opacity:.55;cursor:not-allowed}.g5pe-choices button i{display:grid;flex:0 0 24px;height:24px;place-items:center;border-radius:7px;background:#e7efed;font-style:normal}.g5pe-help{display:flex;gap:8px}.g5pe-help button{min-height:44px;padding:0 16px;border:1px solid #cadad6;border-radius:12px;background:#fff;color:var(--ink);font-weight:900;cursor:pointer}.g5pe-help button:hover{border-color:var(--orange);background:#fff6e8}.g5pe-support{position:absolute;z-index:8;left:12px;right:12px;top:10px;min-height:120px;padding:12px;border:3px solid #e4a141;border-radius:16px;background:#fff7e8;box-shadow:0 12px 30px #263d3d36;animation:g5pe-drop .3s}.g5pe-support>span{display:block;margin-bottom:8px;font-size:8px;font-weight:900;letter-spacing:.1em}.g5pe-support [class^=support-]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;min-height:62px}.g5pe-support [class^=support-] span,.g5pe-support [class^=support-] b,.g5pe-support [class^=support-]>i{padding:8px;border-radius:9px;background:#fff;font-size:9px;font-style:normal;text-align:center}.support-bars .g5pe-dot-row{padding:6px;border-radius:9px;background:#fff}.support-wheel-strip div{display:grid;grid-template-columns:repeat(8,19px);gap:3px}.support-wheel-strip div i{width:19px;height:26px;border-radius:3px;background:#6eb89c}.support-wheel-strip div i:nth-child(n+5){background:#e69c43}.support-menu-bars span:nth-child(2){transform:scaleY(1.18);background:#dff5e9!important}.g5pe-static-tokens{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.g5pe-static-tokens section{display:grid;justify-items:center;gap:5px;padding:9px;border:1px solid #d5e1de;border-radius:11px;background:#fff}.g5pe-static-tokens section b{font-size:8px}.g5pe-dot-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}.g5pe-dot-row i{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#d9e8e3;color:#fff;font-style:normal;font-size:12px;box-shadow:0 3px 0 #2b5e6350}.g5pe-dot-row.red i,.g5pe-token.red{background:#d96760}.g5pe-dot-row.blue i,.g5pe-token.blue{background:#4f91bd}.g5pe-dot-row.green i,.g5pe-token.green{background:#46a77d}.g5pe-dot-row.yellow i,.g5pe-token.yellow{background:#e6ad42;color:#5f4315}.g5pe-dot-row.purple i,.g5pe-token.purple{background:#8374ba}.g5pe-dot-row.orange i,.g5pe-token.orange{background:#e68435}.g5pe-weather{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(190px,.8fr);grid-template-rows:205px 95px;gap:10px;padding:12px;border-radius:18px;background:#eaf3f5}.g5pe-weather .sky{position:relative;grid-column:1/2;overflow:hidden;border-radius:15px;background:linear-gradient(#8fc9df,#dceff3)}.g5pe-weather .sun{position:absolute;left:28px;top:22px;width:48px;height:48px;border-radius:50%;background:#f7c951;box-shadow:0 0 0 12px #f7c9513d}.g5pe-weather .cloud{position:absolute;width:115px;height:37px;border-radius:99px;background:#617a86;box-shadow:34px -17px 0 2px #617a86,-32px -8px 0 -2px #6f8993}.g5pe-weather .c1{right:34px;top:50px}.g5pe-weather .c2{right:125px;top:112px;transform:scale(.72)}.g5pe-weather .drop{position:absolute;width:7px;height:19px;border-radius:50% 50% 60% 60%;background:#4d94bd;transform:rotate(12deg);animation:g5pe-rain 1.7s infinite}.g5pe-weather .d1{right:68px;top:103px}.g5pe-weather .d2{right:115px;top:145px;animation-delay:.7s}.g5pe-weather .picnic{display:grid;grid-column:2;grid-row:1;align-content:center;justify-items:center;gap:10px;padding:16px;border-radius:15px;background:#fff7e2;text-align:center}.g5pe-weather .picnic span,.g5pe-weather .weather-evidence span{font-size:8px;font-weight:900;letter-spacing:.08em;color:#638086}.g5pe-weather .picnic i{font-style:normal;font-size:45px}.g5pe-weather .picnic b{font-size:11px}.g5pe-weather .weather-evidence{grid-column:1/-1;display:grid;grid-template-columns:115px 1fr 135px 1fr;align-items:center;gap:7px;padding:9px;border-radius:13px;background:#fff}.g5pe-weather .weather-evidence strong{padding:8px;border-radius:9px;background:#edf5f3;font-size:9px}.g5pe-weather.reasoned{box-shadow:inset 0 0 0 4px #48ad83}.g5pe-weather.overclaim{box-shadow:inset 0 0 0 4px #d96860}.g5pe-evidence-table{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:14px;align-items:center;min-height:290px;padding:18px;border-radius:18px;background:#f4f0e8}.evidence-bag,.gate-bag,.why-bag{display:grid;min-height:200px;place-items:center;padding:18px;border:5px solid #58777b;border-radius:25px 25px 70px 70px;background:#fff;box-shadow:inset 0 -16px #dfeae6,0 8px 18px #173d4620}.evidence-scale{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center;gap:8px}.evidence-scale section{display:grid;min-height:160px;place-items:center;align-content:center;gap:9px;padding:13px;border:2px dashed #a8bbb8;border-radius:14px;background:#fff;text-align:center}.evidence-scale section i{font-style:normal;font-size:27px}.evidence-scale section b{font-size:11px}.evidence-scale section span{font-size:8px}.evidence-scale>em{font-style:normal;font-size:24px;text-align:center}.g5pe-evidence-table.verified .evidence-scale section:last-child{border-style:solid;border-color:#43a77f;background:#e3f6ec}.g5pe-evidence-table.preference .evidence-scale section:first-child{border-style:solid;border-color:#d86660;background:#fff0ef}.g5pe-gate{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;align-items:center;min-height:300px;padding:18px;border-radius:18px;background:#eef5f2}.color-gates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.color-gates section{display:grid;min-height:165px;place-items:center;align-content:center;gap:7px;border:5px solid #58777b;border-radius:70px 70px 12px 12px;background:#fff;transition:.3s}.color-gates section i{font-style:normal;font-size:29px}.color-gates section b,.color-gates section span{font-size:9px}.color-gates .red i{color:#d96760}.color-gates .blue i{color:#4f91bd}.color-gates .green i{color:#46a77d}.g5pe-gate.closed .color-gates .green{filter:grayscale(.2);transform:scale(.93);border-color:#d86660;background:repeating-linear-gradient(45deg,#fff,#fff 8px,#f4d3d0 8px,#f4d3d0 15px)}.g5pe-bag-lab{display:grid;grid-template-columns:190px 36px minmax(0,1fr);align-items:center;gap:10px;min-height:310px;padding:13px;border-radius:18px;background:#eef5f2}.g5pe-bag-source{display:flex;align-content:flex-start;justify-content:center;flex-wrap:wrap;gap:7px;min-height:245px;padding:33px 12px 15px;border:5px solid #57777a;border-radius:24px 24px 75px 75px;background:#fff;box-shadow:inset 0 -18px #dbe8e3;position:relative}.g5pe-bag-source>span{position:absolute;top:10px;font-size:8px;font-weight:900;letter-spacing:.1em}.g5pe-bag-source>b{position:absolute;bottom:9px;font-size:8px}.g5pe-token{display:grid;width:52px;min-height:52px;place-items:center;padding:3px;border:3px solid #fff;border-radius:50%;color:#fff;box-shadow:0 4px 0 #214b5066;cursor:grab;touch-action:manipulation;transition:.2s}.g5pe-token:hover{outline:3px solid var(--orange);outline-offset:1px;transform:translateY(-2px)}.g5pe-token i{font-style:normal;font-size:16px}.g5pe-token span{font-size:6px;font-weight:900}.g5pe-token.placed{width:42px;min-height:42px;cursor:pointer}.g5pe-sort-arrow{font-size:31px;font-weight:900;text-align:center;color:#5f8782;animation:g5pe-nudge 1.8s infinite}.g5pe-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.g5pe-lanes section{position:relative;display:grid;min-height:210px;grid-template-rows:auto 1fr auto;padding:9px;border:3px dashed #aac0ba;border-radius:15px;background:#fff}.g5pe-lanes header{display:flex;align-items:center;gap:6px}.g5pe-lanes header i{font-style:normal}.g5pe-lanes header b{font-size:9px}.g5pe-lanes section>div{display:flex;align-content:flex-start;justify-content:center;flex-wrap:wrap;gap:4px;padding:8px}.g5pe-lanes section>strong{display:grid;width:35px;height:35px;margin:auto;place-items:center;border-radius:50%;background:#173d46;color:#fff}.g5pe-bag-lab.sorted .g5pe-lanes section{border-style:solid;border-color:#45a980}.g5pe-change{display:grid;grid-template-columns:1fr 46px 1fr;align-items:center;gap:10px;min-height:290px;padding:15px;border-radius:18px;background:#f3f0e8}.g5pe-change .before,.g5pe-change .after{display:grid;min-height:235px;place-items:center;align-content:center;gap:13px;padding:15px;border-radius:16px;background:#fff;box-shadow:0 7px 18px #173d4617}.g5pe-change .before>b,.g5pe-change .after>b{font-size:10px}.g5pe-change>em{font-style:normal;font-size:31px;text-align:center;color:#d68d31}.g5pe-why{display:grid;grid-template-columns:210px minmax(0,1fr);gap:15px;align-items:center;min-height:290px;padding:16px;border-radius:18px;background:#eef4f5}.why-chain{display:grid;grid-template-columns:1fr 24px 1fr 24px 1fr;align-items:center;gap:5px}.why-chain span{display:grid;min-height:105px;place-items:center;padding:8px;border:2px dashed #9fb6b4;border-radius:13px;background:#fff;font-size:9px;font-weight:900;text-align:center}.why-chain i{font-style:normal;text-align:center}.g5pe-why.linked .why-chain span{border-style:solid;border-color:#45a980;background:#e1f5ea}.g5pe-why.broken .why-chain span:nth-child(3){border-style:solid;border-color:#d86660;background:#fff0ef}.g5pe-wheel-workshop{display:grid;grid-template-columns:minmax(210px,1fr) minmax(180px,.8fr);gap:18px;align-items:center;min-height:320px;padding:15px;border-radius:18px;background:#edf3f6}.g5pe-wheel-wrap{display:grid;grid-template-columns:minmax(190px,270px) minmax(110px,1fr);align-items:center;gap:10px}.g5pe-wheel-svg{display:block;width:min(100%,270px);height:auto;margin:auto;filter:drop-shadow(0 8px 9px #173d4625);overflow:visible}.g5pe-wheel-svg .sector{fill:#dce6e4;stroke:#fff;stroke-width:3;cursor:pointer;transition:.18s}.g5pe-wheel-svg .sector:hover{stroke:var(--orange);stroke-width:6;filter:brightness(1.05)}.g5pe-wheel-svg .sector.win{fill:#48ae83}.g5pe-wheel-svg .sector.lose{fill:#e19a42}.g5pe-wheel-svg .hub{fill:#173d46;stroke:#fff;stroke-width:4}.g5pe-wheel-svg .pointer{fill:#d45f57;stroke:#fff;stroke-width:2}.g5pe-wheel-svg text{fill:#fff;font-size:12px;font-weight:900}.g5pe-wheel-counts{display:grid;gap:10px}.g5pe-wheel-counts span{display:flex;align-items:center;gap:7px;min-height:52px;padding:8px;border-radius:11px;background:#fff}.g5pe-wheel-counts span i{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:#fff;font-style:normal}.g5pe-wheel-counts .win i{background:#48ae83}.g5pe-wheel-counts .lose i{background:#e19a42}.g5pe-wheel-counts b{font-size:9px}.g5pe-palette{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.g5pe-palette button{display:grid;min-height:56px;place-items:center;border:2px solid #c4d5d2;border-radius:12px;background:#fff;color:var(--ink);font-weight:900;cursor:pointer}.g5pe-palette button i{font-style:normal;font-size:18px}.g5pe-palette button.selected{border-color:#2d9878;background:#e0f5e9;box-shadow:inset 0 0 0 1px #2d9878}.g5pe-palette button:hover{border-color:var(--orange);background:#fff5e6}.g5pe-palette [data-g5pe-wheel-reset]{grid-column:1/-1;min-height:44px}.g5pe-palette p{grid-column:1/-1;margin:3px 0;padding:9px;border-radius:9px;background:#fff;font-size:9px;text-align:center}.g5pe-wheel-compare{display:grid;grid-template-columns:minmax(150px,1fr) 110px minmax(150px,1fr);align-items:center;gap:8px;min-height:310px;padding:12px;border-radius:18px;background:#eef4f6}.g5pe-wheel-compare section{display:grid;justify-items:center;gap:6px}.g5pe-wheel-compare .g5pe-wheel-svg{max-width:210px}.g5pe-wheel-compare section>b{font-size:9px}.compare-arrow{display:grid;place-items:center;gap:5px;text-align:center}.compare-arrow span{padding:8px;border-radius:9px;background:#fff;font-size:8px;font-weight:900}.compare-arrow i{font-style:normal;font-size:29px}.g5pe-wheel-compare.correct-compare{box-shadow:inset 0 0 0 4px #45aa81}.g5pe-wheel-compare.wrong-compare{box-shadow:inset 0 0 0 4px #d86760}.g5pe-menu{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:15px;min-height:305px;padding:16px;border-radius:18px;background:#f3efe8}.menu-board{overflow:hidden;border:5px solid #5a7778;border-radius:16px;background:#fff;box-shadow:0 7px 18px #173d461b}.menu-board h3{margin:0;padding:10px;background:#173d46;color:#fff;text-align:center;font-size:13px}.menu-board section{display:grid;grid-template-columns:95px 1fr 34px;align-items:center;min-height:66px;padding:7px;border-bottom:1px solid #d8e4e0}.menu-board section:last-child{border-bottom:0}.menu-board section.selected{background:#e1f5ea;box-shadow:inset 5px 0 #42a67e}.menu-board section b{font-size:9px}.menu-board section>div{display:flex;gap:4px;flex-wrap:wrap}.menu-board section i{display:grid;width:23px;height:23px;place-items:center;border-radius:7px;background:#e6a341;color:#54370e;font-style:normal;font-size:7px;font-weight:900}.menu-board section strong{font-size:16px;text-align:center}.menu-ticket{display:grid;min-height:180px;place-items:center;align-content:center;gap:10px;padding:12px;border:2px dashed #c0924c;border-radius:13px;background:#fff8df;text-align:center}.menu-ticket span{font-size:8px;font-weight:900}.menu-ticket i{font-style:normal;font-size:24px}.menu-ticket b{font-size:11px}.g5pe-report{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr);gap:14px;min-height:300px;padding:16px;border-radius:18px;background:#eef4f5}.bus-route{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;align-content:center;padding:14px;border-radius:15px;background:#fff}.bus-route>span,.bus-route>b{grid-column:1/-1;text-align:center;font-size:9px}.bus-route i{display:grid;aspect-ratio:1;place-items:center;border-radius:50%;background:#dc6e64;color:#fff;font-style:normal;font-size:9px;font-weight:900;box-shadow:0 3px 0 #9d4039}.bus-route i.on-time{background:#4caf82;box-shadow:0 3px 0 #28795a}.report-folders{display:grid;gap:10px}.report-folders section{display:grid;min-height:125px;place-items:center;align-content:center;gap:5px;padding:11px;border:2px dashed #9fb6b4;border-radius:13px;background:#fff;text-align:center}.report-folders i{font-style:normal;font-size:24px}.report-folders b{font-size:9px}.report-folders span{font-size:8px}.g5pe-report.relevant .report-folders section:first-child{border-style:solid;border-color:#45aa81;background:#e1f5ea}.g5pe-report.irrelevant .report-folders section:last-child{border-style:solid;border-color:#d86660;background:#fff0ef}.g5pe-builder{display:grid;grid-template-columns:minmax(130px,1fr) 110px minmax(130px,1fr);align-items:center;gap:10px;min-height:315px;padding:15px;border-radius:18px;background:#edf4f3}.g5pe-builder>section{display:grid;grid-template-rows:auto minmax(105px,1fr) auto auto;min-height:260px;padding:12px;border:3px solid #b4c7c2;border-radius:15px;background:#fff;text-align:center}.g5pe-builder header{display:flex;align-items:center;justify-content:center;gap:6px}.g5pe-builder header i{font-style:normal;font-size:18px}.g5pe-builder header b{font-size:9px}.builder-stack{display:flex;align-content:center;justify-content:center;flex-wrap:wrap;gap:5px;padding:10px}.builder-stack i{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#4e91bd;color:#fff;font-style:normal}.builder-stack.squirrel i{background:#e49e40}.g5pe-builder section>strong{font-size:21px}.g5pe-builder footer{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}.g5pe-builder footer button{min-height:44px;border:2px solid #b9ccc7;border-radius:10px;background:#edf5f2;color:var(--ink);font-size:20px;font-weight:900;cursor:pointer}.g5pe-builder footer button:hover{border-color:var(--orange);background:#fff3df}.builder-relation{display:grid;place-items:center;gap:6px;text-align:center}.builder-relation b{padding:9px;border-radius:9px;background:#fff;font-size:8px}.builder-relation i{font-style:normal;font-size:28px}.g5pe-builder.valid-model{box-shadow:inset 0 0 0 4px #45aa81}.g5pe-final{padding:28px;border-radius:23px;background:#edf8f5;text-align:center}.g5pe-final-mark{display:grid;place-items:center;width:120px;height:120px;margin:0 auto 10px;border:8px double #36a47c;border-radius:50%;color:#267557;transform:rotate(-4deg)}.g5pe-final-mark i{font-style:normal;font-size:34px}.g5pe-final-mark b{font-size:10px}.g5pe-final>span{font-size:8px;font-weight:900;letter-spacing:.13em}.g5pe-final h1{font-size:22px}.g5pe-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.g5pe-report-grid section{padding:11px;border:1px solid #c9e1da;border-radius:11px;background:#fff}.g5pe-report-grid b,.g5pe-report-grid span{display:block;font-size:8px}.g5pe-final p{font-size:10px}.g5pe-choices button:focus-visible,.g5pe-check:focus-visible,.g5pe-help button:focus-visible,.g5pe-token:focus-visible,.g5pe-palette button:focus-visible,.g5pe-builder button:focus-visible,.g5pe-wheel-svg .sector:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
@keyframes g5pe-drop{from{opacity:0;transform:translateY(-10px)}}@keyframes g5pe-rain{0%,100%{opacity:.2;transform:translateY(-7px) rotate(12deg)}50%{opacity:1;transform:translateY(13px) rotate(12deg)}}@keyframes g5pe-nudge{50%{transform:translateX(5px)}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-probability-events-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-probability-events-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-probability-events-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-probability-events-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-probability-events-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-probability-events-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-probability-events-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}.topic-lesson-shell:has(.grade5-probability-events-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-probability-events-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}.topic-lesson-shell:has(.grade5-probability-events-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}.topic-lesson-shell:has(.grade5-probability-events-board) .skip-section,.topic-lesson-shell:has(.grade5-probability-events-board) .lesson-time{display:none}.g5pe-shell>main{grid-template-columns:minmax(0,1fr) 275px}.g5pe-wheel-wrap{grid-template-columns:minmax(180px,220px) 1fr}.g5pe-report-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.g5pe-shell{padding:8px;border-radius:17px}.g5pe-shell>header{align-items:flex-start}.g5pe-shell>header h1{font-size:15px}.g5pe-progress{flex-basis:104px}.g5pe-shell>main{display:flex;flex-direction:column}.g5pe-visual{min-height:500px;padding:7px;overflow:hidden}.g5pe-visual-stage{min-height:480px;justify-content:flex-start}.g5pe-panel{padding:14px}.g5pe-panel h2{font-size:15px}.g5pe-choices{grid-template-columns:1fr;gap:4px}.g5pe-choices button{min-height:44px;font-size:8px;padding:5px}.g5pe-support{left:7px;right:7px;top:5px;min-height:110px}.g5pe-weather{grid-template-columns:1fr 110px;grid-template-rows:190px 120px;padding:7px}.g5pe-weather .c1{right:15px}.g5pe-weather .c2{right:70px}.g5pe-weather .picnic{padding:7px}.g5pe-weather .picnic i{font-size:35px}.g5pe-weather .weather-evidence{grid-template-columns:78px 1fr;padding:6px}.g5pe-weather .weather-evidence span:nth-of-type(2){grid-column:1}.g5pe-evidence-table{grid-template-columns:132px 1fr;gap:7px;padding:7px}.evidence-bag,.gate-bag,.why-bag{min-height:190px;padding:7px}.evidence-scale{grid-template-columns:1fr;gap:5px}.evidence-scale>em{display:none}.evidence-scale section{min-height:82px;padding:6px}.evidence-scale section i{font-size:19px}.g5pe-gate{grid-template-columns:105px 1fr;gap:6px;padding:7px}.color-gates{gap:3px}.color-gates section{min-height:150px;padding:3px;border-width:3px}.color-gates section i{font-size:19px}.color-gates section b{font-size:7px;text-align:center}.g5pe-bag-lab{grid-template-columns:130px 24px 1fr;gap:4px;padding:7px}.g5pe-bag-source{min-height:250px;padding:31px 5px 15px;border-width:4px}.g5pe-token{width:44px;min-height:44px}.g5pe-token.placed{width:38px;min-height:38px}.g5pe-sort-arrow{font-size:22px}.g5pe-lanes{gap:4px}.g5pe-lanes section{min-height:230px;padding:4px}.g5pe-lanes section>div{gap:2px;padding:4px}.g5pe-change{grid-template-columns:1fr 25px 1fr;gap:4px;padding:7px}.g5pe-change .before,.g5pe-change .after{min-height:240px;padding:6px}.g5pe-change .g5pe-dot-row i{width:23px;height:23px}.g5pe-change>em{font-size:21px}.g5pe-why{grid-template-columns:118px 1fr;gap:6px;padding:7px}.why-chain{grid-template-columns:1fr;gap:3px}.why-chain i{display:none}.why-chain span{min-height:60px;padding:4px;font-size:7px}.g5pe-wheel-workshop{grid-template-columns:minmax(180px,1fr) 128px;gap:7px;padding:7px}.g5pe-wheel-wrap{grid-template-columns:1fr}.g5pe-wheel-svg{max-width:190px}.g5pe-wheel-counts{grid-template-columns:1fr 1fr;gap:4px}.g5pe-wheel-counts span{min-height:44px;padding:4px}.g5pe-wheel-counts span i{width:24px;height:24px}.g5pe-palette{gap:4px}.g5pe-palette button{min-height:50px;font-size:8px}.g5pe-wheel-compare{grid-template-columns:1fr 55px 1fr;gap:3px;padding:6px}.g5pe-wheel-compare .g5pe-wheel-svg{max-width:150px}.compare-arrow span{padding:5px;font-size:6px}.g5pe-menu{grid-template-columns:1fr 93px;gap:6px;padding:7px}.menu-board section{grid-template-columns:65px 1fr 25px;padding:4px}.menu-board section i{width:19px;height:19px}.menu-ticket{padding:5px}.g5pe-report{grid-template-columns:1fr 122px;gap:6px;padding:7px}.bus-route{gap:3px;padding:6px}.report-folders{gap:5px}.report-folders section{min-height:112px;padding:5px}.g5pe-builder{grid-template-columns:1fr 65px 1fr;gap:4px;padding:7px}.g5pe-builder>section{padding:6px}.builder-stack{gap:3px;padding:4px}.builder-stack i{width:26px;height:26px}.builder-relation b{padding:5px;font-size:6px}.g5pe-report-grid{grid-template-columns:1fr}.g5pe-final{padding:16px}}
@media(prefers-reduced-motion:reduce){.g5pe-shell *{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* The alternate representation is part of the reading flow and never masks active evidence controls. */
.g5pe-support{position:relative;z-index:2;left:auto;right:auto;top:auto;min-height:120px;margin-top:10px;box-shadow:0 9px 22px #263d3d24}
.g5pe-token.placed{width:44px;min-height:44px}
@media(max-width:900px){.g5pe-why{grid-template-columns:150px minmax(0,1fr);gap:7px;padding:8px}.g5pe-why .why-bag{min-height:190px;padding:7px}.why-chain{grid-template-columns:1fr 12px 1fr 12px 1fr;gap:3px}.why-chain span{min-height:90px;padding:4px;font-size:7px}.g5pe-wheel-compare{grid-template-columns:minmax(0,1fr) 74px minmax(0,1fr);gap:4px;padding:8px}.g5pe-wheel-compare .g5pe-wheel-svg{max-width:170px}.compare-arrow span{padding:5px;font-size:7px}}
@media(max-width:600px){.g5pe-support{left:auto;right:auto;top:auto;min-height:110px}.g5pe-token.placed{width:44px;min-height:44px}}

/* On phones the source bag and both sorting lanes need full row width. */
@media(max-width:600px){.g5pe-bag-lab{grid-template-columns:1fr;gap:8px;align-items:stretch}.g5pe-bag-source{min-height:150px;padding:31px 8px 18px}.g5pe-sort-arrow{transform:rotate(90deg);line-height:1}.g5pe-lanes{grid-template-columns:1fr 1fr}.g5pe-lanes section{min-height:185px}.g5pe-visual-stage:has(.g5pe-bag-lab){min-height:650px}}

/* grade5-probability-spectrum.css */
.topic-lesson-shell:has(.grade5-probability-spectrum-board) .teacher-classroom{max-width:1280px;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:10px 20px;align-items:start}
.topic-lesson-shell:has(.grade5-probability-spectrum-board) .teaching-area{width:100%;max-width:none;min-width:0}
.grade5-probability-spectrum-board{width:100%;max-width:none;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;--ps-ink:#173d46;--ps-teal:#2d8d84;--ps-mint:#dff4ec;--ps-cream:#fff8e8;--ps-orange:#e59a3c;--ps-coral:#d9665c;--ps-blue:#4b8db9;--ps-yellow:#e5b644;--ps-shadow:0 10px 24px #173d461f;color:var(--ps-ink)}
.g5ps-shell{width:100%;max-width:1320px;margin:auto;padding:13px;border:1px solid #d4e5e1;border-radius:24px;background:linear-gradient(145deg,#f8fcfb,#f7f1e7);box-shadow:0 18px 44px #173d4614}
.g5ps-shell>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:9px;padding:3px 5px}
.g5ps-shell>header span,.g5ps-panel>span{display:block;font-size:8px;font-weight:950;letter-spacing:.14em;color:#56827d}
.g5ps-shell>header h1{margin:2px 0 0;font-size:20px;line-height:1.1}
.g5ps-progress{display:flex;align-items:center;gap:9px;min-width:185px}
.g5ps-progress>i{position:relative;flex:1;height:10px;overflow:hidden;border:1px solid #bcd2cd;border-radius:999px;background:#fff}
.g5ps-progress>i:after{position:absolute;inset:0 auto 0 0;width:var(--p);content:"";border-radius:inherit;background:linear-gradient(90deg,#2e9687,#e7a13f);transition:width .35s ease}
.g5ps-progress>b{font-size:10px}
.g5ps-shell>main{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,365px);gap:11px;align-items:start}
.g5ps-visual,.g5ps-panel{min-width:0;border-radius:19px;background:#fff;box-shadow:var(--ps-shadow)}
.g5ps-visual{padding:10px;overflow:visible}
.g5ps-visual-stage{display:grid;min-height:430px;align-items:center;min-width:0}
.g5ps-panel{position:relative;display:flex;min-height:430px;flex-direction:column;padding:22px}
.g5ps-panel h2{margin:8px 0 18px;font-size:19px;line-height:1.35}
.g5ps-check{width:100%;min-height:52px;margin-top:auto;border:0;border-radius:13px;background:linear-gradient(135deg,#237d73,#35a188);color:#fff;font-weight:900;box-shadow:0 6px 0 #145d57;cursor:pointer}
.g5ps-check:disabled{opacity:.42;filter:grayscale(.3);cursor:not-allowed;box-shadow:none}
.g5ps-message{min-height:54px;margin:15px 0 0;padding:11px;border-radius:11px;background:#edf5f2;font-size:9px;line-height:1.45}
.g5ps-message.retry{background:#fff0ec;color:#873a32}
.g5ps-result{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;margin-top:auto;padding:13px;border:2px solid #51aa85;border-radius:13px;background:#e3f6ed}
.g5ps-result>i{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#2d9475;color:#fff;font-style:normal;font-size:20px}
.g5ps-result p{margin:0;font-size:10px;line-height:1.45}
.g5ps-choices{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}
.g5ps-choices button{display:grid;grid-template-columns:32px 1fr;gap:8px;align-items:center;min-height:50px;padding:7px 10px;border:2px solid #c5d7d3;border-radius:11px;background:#fff;color:var(--ps-ink);text-align:left;cursor:pointer}
.g5ps-choices button:hover{border-color:var(--ps-orange);background:#fff9ec}
.g5ps-choices button.selected{border-color:var(--ps-teal);background:#e5f6f0;box-shadow:inset 0 0 0 1px var(--ps-teal)}
.g5ps-choices button i{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#e8f0ee;font-style:normal;font-size:9px;font-weight:950}
.g5ps-choices button span{font-size:9px;font-weight:800;line-height:1.25}
.g5ps-help{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
.g5ps-help button{min-height:46px;border:2px solid #bfd2cd;border-radius:11px;background:#fff;color:var(--ps-ink);font-weight:900;cursor:pointer}
.g5ps-help button:hover{border-color:var(--ps-orange);background:#fff7e9}
.g5ps-support{position:relative;z-index:2;display:grid;min-height:120px;margin-top:9px;padding:10px;border:2px solid #edb15d;border-radius:14px;background:#fff9e8;box-shadow:0 8px 20px #5b432021}
.g5ps-support>span{font-size:7px;font-weight:950;letter-spacing:.13em;color:#9a6a28}
.g5ps-support>:last-child{align-self:center}

/* 0–1 sınır kapısı */
.g5ps-boundary{display:grid;gap:18px;min-height:410px;padding:15px;border-radius:18px;background:linear-gradient(#edf7f4 0 38%,#f7f1e6 38%)}
.g5ps-boundary-rail{display:grid;grid-template-columns:22px 1fr 42px minmax(150px,1.8fr) 42px 1fr 22px;align-items:center;gap:6px}
.g5ps-boundary-rail>i{height:4px;background:#b8c7c4}
.g5ps-boundary-rail>em{display:grid;height:52px;place-items:center;border:3px solid #52aa8a;border-radius:13px;background:repeating-linear-gradient(135deg,#dcf3ea,#dcf3ea 10px,#cbeadc 10px,#cbeadc 20px);font-style:normal;font-size:9px;font-weight:950;box-shadow:inset 0 0 0 3px #fff8}
.g5ps-boundary-rail>strong{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#173d46;color:#fff;font-size:16px;box-shadow:0 4px 0 #0e282d}
.g5ps-boundary-rail>span{font-weight:950;text-align:center;color:#748b88}
.g5ps-gate-zones{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:9px}
.g5ps-gate-zones section{display:grid;grid-template-rows:auto 1fr auto;min-height:270px;padding:9px;border:3px dashed #a9c0ba;border-radius:16px;background:#fff}
.g5ps-gate-zones section:first-child{border-color:#4da783;background:#effaf5}
.g5ps-gate-zones section:last-child{border-color:#d6786d;background:#fff3f0}
.g5ps-gate-zones header,.g5ps-gate-target{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px}
.g5ps-gate-target{width:100%;padding:4px;border:2px solid #8faaa4;border-radius:10px;background:#fff;color:var(--ps-ink);cursor:pointer}.g5ps-gate-target:hover{border-color:var(--ps-orange);background:#fff9e8}
.g5ps-gate-zones header i,.g5ps-gate-target i{font-style:normal;font-size:17px}.g5ps-gate-zones header b,.g5ps-gate-target b{font-size:8px}
.g5ps-gate-zones section>div{display:flex;align-content:flex-start;justify-content:center;flex-wrap:wrap;gap:7px;padding:8px 2px}
.g5ps-gate-zones p{margin:0;text-align:center;font-size:8px}
.g5ps-value-card{display:grid;width:64px;min-height:58px;place-items:center;padding:5px;border:3px solid #fff;border-radius:12px;background:#2f7d79;color:#fff;box-shadow:0 5px 0 #1c5554;cursor:grab;transition:.18s}
.g5ps-value-card:hover,.g5ps-value-card.selected{outline:3px solid var(--ps-orange);transform:translateY(-2px)}
.g5ps-value-card b{font-size:13px}.g5ps-value-card span{display:none}

/* Spektrum çıpası ve genel spektrum */
.g5ps-anchor-lab{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:center;min-height:400px;padding:18px;border-radius:18px;background:#eef6f4}
.g5ps-anchor-pool{display:flex;min-height:290px;align-content:flex-start;justify-content:center;flex-wrap:wrap;gap:10px;padding:18px 10px;border:3px dashed #9bb9b2;border-radius:17px;background:#fff;box-shadow:var(--ps-shadow)}
.g5ps-anchor-pool>span,.g5ps-anchor-pool>b{width:100%;text-align:center;font-size:8px}
.g5ps-anchor-card{width:62px;min-height:58px;border:3px solid #fff;border-radius:13px;background:#df963b;color:#fff;font-size:15px;font-weight:950;box-shadow:0 5px 0 #9c6428;cursor:grab}
.g5ps-anchor-card.selected{outline:3px solid #173d46;transform:translateY(-2px)}
.g5ps-anchor-line{position:relative;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;min-height:250px}
.g5ps-anchor-line>i{position:absolute;left:8%;right:8%;top:50%;height:7px;border-radius:99px;background:linear-gradient(90deg,#c6d8d3,#3b9a85,#c6d8d3)}
.g5ps-anchor-slot{position:relative;z-index:1;display:grid;min-width:90px;min-height:130px;place-items:center;align-content:center;gap:6px;margin:5px;border:3px dashed #8eaaa4;border-radius:17px;background:#fff;color:var(--ps-ink);cursor:pointer}
.g5ps-anchor-slot>i{font-style:normal;font-size:28px;color:#4c9c8b}.g5ps-anchor-slot>b{font-size:22px}.g5ps-anchor-slot>span{font-size:8px}
.g5ps-anchor-slot.filled{border-style:solid;border-color:#3f9e80;background:#e5f7ef;box-shadow:0 7px 0 #b8ddcf}
.g5ps-spectrum{display:grid;align-content:center;gap:18px;width:100%;min-height:270px;padding:24px 30px;border-radius:18px;background:#eef6f4}
.g5ps-spectrum-labels{display:flex;justify-content:space-between;font-size:8px;font-weight:950;letter-spacing:.08em;color:#63847e}
.g5ps-rail{position:relative;height:125px;margin:0 10px}
.g5ps-rail:before{position:absolute;left:0;right:0;top:54px;height:9px;border-radius:99px;background:#ceddd9;content:"";box-shadow:inset 0 2px 4px #153b4523}
.g5ps-fill{position:absolute;left:0;top:54px;width:var(--value);height:9px;border-radius:99px;background:linear-gradient(90deg,#2e9185,#e4a140);transition:width .25s}
.g5ps-rail>button{position:absolute;z-index:2;left:var(--x);top:33px;display:grid;width:46px;min-height:66px;place-items:center;gap:5px;padding:0;transform:translateX(-50%);border:0;background:transparent;color:var(--ps-ink);cursor:pointer}
.g5ps-rail>button>i{display:block;width:31px;height:31px;border:5px solid #fff;border-radius:50%;background:#7a9993;box-shadow:0 3px 0 #4b6c67;transition:.18s}
.g5ps-rail>button>b{font-size:8px;white-space:nowrap}
.g5ps-rail>button:hover>i,.g5ps-rail>button.selected>i{background:var(--ps-orange);outline:3px solid #f7d28c;transform:scale(1.12)}
.g5ps-beacon{position:absolute;z-index:1;left:var(--x);top:0;display:grid;justify-items:center;transform:translateX(-50%);pointer-events:none}
.g5ps-beacon>i{width:3px;height:58px;background:#d8655b;box-shadow:0 0 11px #d8655b}
.g5ps-beacon>b{max-width:150px;padding:6px 8px;border-radius:8px;background:#173d46;color:#fff;font-size:8px;white-space:nowrap}

/* Temsil aynası ve kavanozlar */
.g5ps-mirror-lab{display:grid;grid-template-columns:1fr 155px 1fr;gap:13px;align-items:center;min-height:305px;padding:16px;border-radius:18px;background:#f2f6f5}
.g5ps-quarter-model{display:grid;place-items:center;align-content:center;gap:8px}.g5ps-quarter-model>b{font-size:23px}.g5ps-quarter-model>span{font-size:8px}
.g5ps-quarter-disc{display:grid;grid-template-columns:1fr 1fr;width:145px;height:145px;overflow:hidden;border:6px solid #fff;border-radius:50%;background:#fff;box-shadow:0 8px 18px #173d4625}
.g5ps-quarter-disc i{border:1px solid #fff;background:#e5a143}.g5ps-quarter-disc i:not(:first-child){background:#dce8e5}
.g5ps-mirror{display:grid;place-items:center;gap:2px;min-height:265px;padding:11px;border:7px double #79a7a0;border-radius:70px 70px 18px 18px;background:linear-gradient(135deg,#fff,#dcefed);box-shadow:inset 0 0 18px #fff,0 8px 18px #173d4620}
.g5ps-mirror span{font-size:7px;font-weight:950;letter-spacing:.1em}.g5ps-mirror b{font-size:16px}.g5ps-mirror i{font-style:normal;color:#6b918c}
.g5ps-mini-spectrum{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:end;min-height:145px;padding-top:65px;border-bottom:7px solid #a7bfba}
.g5ps-mini-spectrum>i{position:absolute;left:var(--x);bottom:-13px;width:26px;height:26px;transform:translateX(-50%);border:5px solid #fff;border-radius:50%;background:#df963d;box-shadow:0 3px 0 #8b5b29}
.g5ps-mini-spectrum>b{text-align:center;font-size:8px}.g5ps-mirror-lab.aligned{box-shadow:inset 0 0 0 4px #4ca782}.g5ps-mirror-lab.misaligned{box-shadow:inset 0 0 0 4px #d96b60}
.g5ps-jar-spectrum{display:grid;grid-template-columns:210px 135px 1fr;gap:10px;align-items:center;min-height:395px;padding:12px;border-radius:18px;background:#eef6f4}
.g5ps-jar{position:relative;display:grid;min-height:305px;place-items:center;padding:45px 18px 25px}
.g5ps-jar .back,.g5ps-jar .front{position:absolute;inset:28px 10px 18px;border:6px solid #6e999a;border-radius:28px 28px 65px 65px;background:#dbf3f34d}
.g5ps-jar .back{box-shadow:inset 0 -35px #a6d6d22e,0 12px 20px #173d4621}.g5ps-jar .front{z-index:3;border-top-color:#b6dddd;background:linear-gradient(110deg,#fff0 20%,#fff8 28%,#fff0 38%);pointer-events:none}
.g5ps-jar .stones{position:relative;z-index:2;display:flex;align-content:flex-end;justify-content:center;flex-wrap:wrap;gap:7px;max-width:165px;margin-top:55px}
.g5ps-jar .stones i{display:grid;width:44px;height:44px;place-items:center;border:4px solid #fff;border-radius:50%;font-style:normal;color:#fff;box-shadow:0 5px 0 #173d4640;animation:g5ps-settle .35s both;animation-delay:calc(var(--i)*.03s)}
.g5ps-jar .stones .amber,.g5ps-jar-count .amber{background:#df963b}.g5ps-jar .stones .blue,.g5ps-jar-count .blue{background:#4b8db9}
.g5ps-jar>b{position:absolute;z-index:4;bottom:1px;font-size:8px}.g5ps-jar-count{display:grid;gap:10px}.g5ps-jar-count span{display:flex;align-items:center;gap:7px;min-height:52px;padding:8px;border-radius:11px;background:#fff}.g5ps-jar-count i{width:30px;height:30px;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 0 #173d4635}.g5ps-jar-count b{font-size:8px}.g5ps-jar-spectrum .g5ps-spectrum{min-height:250px;padding:17px 24px}
.g5ps-jar-editor{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:1fr auto;gap:13px;min-height:395px;padding:14px;border-radius:18px;background:#eef6f4}
.g5ps-glass-grid{position:relative;display:grid;min-height:300px;place-items:center;padding:25px}
.g5ps-glass-grid .back,.g5ps-glass-grid .front{position:absolute;inset:10px;border:6px solid #70999a;border-radius:28px 28px 55px 55px;background:#dff3f244;box-shadow:0 10px 20px #173d4620}.g5ps-glass-grid .front{z-index:3;background:linear-gradient(105deg,#fff0 25%,#fff8 32%,#fff0 42%);pointer-events:none}
.g5ps-glass-grid .cells{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,54px);gap:8px}
.g5ps-glass-grid button{display:grid;width:54px;min-height:54px;place-items:center;border:4px solid #fff;border-radius:50%;background:#df963b;color:#fff;box-shadow:0 5px 0 #985f25;cursor:pointer}
.g5ps-glass-grid button.blue{background:#4b8db9;box-shadow:0 5px 0 #2a5e82}.g5ps-glass-grid button i{font-style:normal;font-size:18px}
.g5ps-live-equivalence{display:grid;grid-template-columns:1fr 22px 1fr 22px 1fr;align-items:center;align-self:center;gap:5px}.g5ps-live-equivalence span{display:grid;min-height:85px;place-items:center;border-radius:14px;background:#fff;font-size:17px}.g5ps-live-equivalence i{font-style:normal;text-align:center}.g5ps-half-meter{grid-column:1/-1;position:relative;height:48px;overflow:hidden;border:4px solid #fff;border-radius:13px;background:#dbe8e5;box-shadow:0 5px 0 #b1c7c2}.g5ps-half-meter>i{position:absolute;inset:0 auto 0 0;width:var(--value);background:repeating-linear-gradient(135deg,#4a91bb,#4a91bb 10px,#63a4c9 10px,#63a4c9 20px);transition:width .25s}.g5ps-half-meter>b{position:absolute;inset:0;display:grid;place-items:center;font-size:9px;color:#173d46;text-shadow:0 1px #fff}

/* Adalet, çark ve küp */
.g5ps-wheel{display:block;width:min(100%,250px);height:auto;margin:auto;filter:drop-shadow(0 8px 8px #173d4628);overflow:visible}
.g5ps-wheel .sector{fill:#d9e5e2;stroke:#fff;stroke-width:4;cursor:pointer;transition:.18s}.g5ps-wheel .sector:hover{stroke:#ecad51;stroke-width:7}.g5ps-wheel .sector.star,.g5ps-wheel .star-fill{fill:#e5a13e}.g5ps-wheel .sector.moon,.g5ps-wheel .moon-fill{fill:#4b8db9}.g5ps-wheel .sector.red{fill:#d9665d}.g5ps-wheel .sector.blue{fill:#4b8db9}.g5ps-wheel .sector.yellow{fill:#e2b644}.g5ps-wheel .sector.sun{fill:#e5a13e}.g5ps-wheel .sector.cloud{fill:#80a9b7}.g5ps-wheel .hub{fill:#173d46;stroke:#fff;stroke-width:4}.g5ps-wheel .pointer{fill:#d95d55;stroke:#fff;stroke-width:2}.g5ps-wheel text{fill:#fff;font-size:12px;font-weight:950}
.g5ps-fairness{display:grid;grid-template-columns:1fr 105px 1fr;gap:10px;align-items:center;min-height:390px;padding:12px;border-radius:18px;background:#eef5f4}.g5ps-fairness>section{display:grid;justify-items:center;gap:5px}.g5ps-fairness>section>span{font-size:8px;font-weight:950}.g5ps-fairness .g5ps-wheel{max-width:200px}.g5ps-area-bars{display:flex;width:100%;max-width:230px;height:34px;overflow:hidden;border:3px solid #fff;border-radius:9px;box-shadow:0 4px 0 #afc4be}.g5ps-area-bars i{display:grid;width:var(--w);place-items:center;color:#fff;font-style:normal;font-size:8px;font-weight:950}.g5ps-area-bars .star{background:#e5a13e}.g5ps-area-bars .moon{background:#4b8db9}.g5prob-balance{display:grid;place-items:center;gap:7px}.g5prob-balance>i{position:relative;width:85px;height:45px;border-bottom:6px solid #173d46;transform:rotate(-7deg);transition:.25s}.g5prob-balance>i:before,.g5prob-balance>i:after{position:absolute;bottom:-6px;width:25px;height:25px;border:4px solid #173d46;border-radius:50%;content:""}.g5prob-balance>i:before{left:0}.g5prob-balance>i:after{right:0}.g5prob-balance>b{padding:6px;border-radius:8px;background:#fff;font-size:7px}.g5ps-fairness.fair-selected .g5prob-balance>i{transform:rotate(0)}.g5ps-fairness.fair-selected{box-shadow:inset 0 0 0 4px #4da783}.g5ps-fairness.unfair-selected{box-shadow:inset 0 0 0 4px #d96b60}
.g5ps-wheel-workshop{display:grid;grid-template-columns:minmax(230px,1fr) minmax(210px,.85fr);gap:18px;align-items:center;min-height:400px;padding:16px;border-radius:18px;background:#eef5f4}.g5ps-wheel-column{display:grid;justify-items:center;gap:5px}.g5ps-wheel-column p{margin:0;font-size:8px}.g5ps-palette{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.g5ps-palette button{display:grid;min-height:75px;place-items:center;align-content:center;gap:4px;padding:7px;border:2px solid #bed1cc;border-radius:12px;background:#fff;color:var(--ps-ink);cursor:pointer}.g5ps-palette button i{font-style:normal;font-size:20px}.g5ps-palette button b,.g5ps-palette button span{font-size:8px}.g5ps-palette button.selected{border-color:#2d9181;background:#e2f5ed;box-shadow:inset 0 0 0 1px #2d9181}.g5ps-palette .reset{grid-column:1/-1;min-height:46px}.g5ps-wheel-workshop.designer .g5ps-palette{grid-template-columns:repeat(3,1fr)}.g5ps-wheel-workshop.designer .g5ps-palette .reset{grid-column:1/-1}
.g5ps-cube-spectrum{display:grid;grid-template-columns:260px 95px 1fr;gap:10px;align-items:center;min-height:390px;padding:12px;border-radius:18px;background:#eef5f4}.g5ps-cube-net{display:grid;grid-template-columns:repeat(3,72px);grid-template-rows:repeat(3,72px);gap:5px;justify-content:center}.g5ps-cube-net i{display:grid;place-items:center;align-content:center;border:4px solid #fff;border-radius:12px;background:#4c8eb9;color:#fff;font-style:normal;box-shadow:0 5px 0 #2e658a}.g5ps-cube-net i:nth-child(1){grid-column:2}.g5ps-cube-net i:nth-child(2){grid-row:2;grid-column:1}.g5ps-cube-net i:nth-child(3){grid-row:2;grid-column:2}.g5ps-cube-net i:nth-child(4){grid-row:2;grid-column:3}.g5ps-cube-net i:nth-child(5){grid-row:3;grid-column:2}.g5ps-cube-net i:nth-child(6){grid-row:3;grid-column:3}.g5ps-cube-net i.dot{background:#df963b;box-shadow:0 5px 0 #9b6124}.g5ps-cube-net i b{font-size:21px}.g5ps-cube-net i span{font-size:7px}.g5ps-cube-arrow{text-align:center;font-size:8px}.g5ps-cube-arrow b{font-size:12px}.g5ps-cube-arrow i{display:block;margin-top:7px;font-style:normal;font-size:28px}.g5ps-cube-spectrum .g5ps-spectrum{min-height:260px;padding:16px 20px}

/* Deney ve veri */
.g5ps-trial{display:grid;grid-template-columns:230px 1fr;gap:13px;min-height:310px;padding:13px;border-radius:18px;background:#eef5f4}.g5ps-model-card{display:grid;place-items:center;align-content:center;gap:6px;border-radius:15px;background:#fff;box-shadow:var(--ps-shadow)}.g5ps-model-card>span{font-size:7px;font-weight:950;letter-spacing:.1em}.g5ps-model-card .g5ps-wheel{max-width:175px}.g5ps-model-card>div{display:flex;gap:5px}.g5ps-model-card>div b{padding:5px;border-radius:7px;background:#edf5f2;font-size:7px}.g5ps-trial-console{display:grid;align-content:center;gap:10px}.g5ps-trial-console>button{min-height:48px;border:0;border-radius:11px;background:#287f75;color:#fff;font-weight:950;box-shadow:0 5px 0 #175b56;cursor:pointer}.g5ps-trial-console>button:disabled{box-shadow:none;opacity:.65}.g5ps-trial-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.g5ps-trial-strip i{display:grid;min-height:50px;place-items:center;border:3px solid #fff;border-radius:10px;background:#e3a23f;color:#fff;font-style:normal;box-shadow:0 4px 0 #9f6829}.g5ps-trial-strip i.cloud{background:#78a5b3;box-shadow:0 4px 0 #4b737f}.g5ps-trial-strip i.empty{background:#dce7e4;color:#698681;box-shadow:0 4px 0 #b5c7c3}.g5ps-trial-strip i b{font-size:17px}.g5ps-trial-strip i span{font-size:6px}.g5ps-trial-totals{display:grid;grid-template-columns:1fr 1fr;gap:7px}.g5ps-trial-totals span{padding:8px;border-radius:8px;background:#fff;text-align:center;font-size:8px}.g5ps-trial-totals b{font-size:14px}
.g5ps-model-record{display:grid;grid-template-columns:1fr 50px 1fr;gap:10px;align-items:center;min-height:305px;padding:14px;border-radius:18px;background:#eef5f4}.g5ps-model-record>section{display:grid;min-height:270px;place-items:center;align-content:center;gap:8px;border-radius:15px;background:#fff;box-shadow:var(--ps-shadow)}.g5ps-model-record>section>span{font-size:7px;font-weight:950;letter-spacing:.1em}.g5ps-model-record>section>b{font-size:9px}.g5ps-model-record .g5ps-wheel{max-width:170px}.g5ps-model-record>i{font-style:normal;font-size:28px;text-align:center}.g5ps-record-dots{display:grid;grid-template-columns:repeat(5,38px);gap:6px}.g5ps-record-dots i{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#e4a13e;color:#fff;font-style:normal}.g5ps-record-dots i.cloud{background:#78a5b3}.g5ps-model-record.reasoned{box-shadow:inset 0 0 0 4px #4da783}.g5ps-model-record.confused{box-shadow:inset 0 0 0 4px #d96b60}
.g5ps-weather-spectrum{display:grid;grid-template-columns:280px 1fr;grid-template-rows:1fr auto;gap:10px;min-height:390px;padding:13px;border-radius:18px;background:#eef5f4}.g5ps-calendar{overflow:hidden;border:5px solid #fff;border-radius:15px;background:#fff;box-shadow:var(--ps-shadow)}.g5ps-calendar header{display:grid;place-items:center;padding:10px;background:#254f58;color:#fff}.g5ps-calendar header b{font-size:8px}.g5ps-calendar header span{font-size:7px}.g5ps-calendar>div{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px}.g5ps-calendar i{display:grid;min-height:48px;place-items:center;border-radius:9px;background:#5c94b2;color:#fff;font-style:normal}.g5ps-calendar i.clear{background:#f2c564;color:#704b12}.g5ps-calendar i b{font-size:17px}.g5ps-calendar i span{font-size:6px}.g5ps-calendar footer{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px;background:#eff5f3}.g5ps-calendar footer b{text-align:center;font-size:8px}.g5ps-weather-spectrum .g5ps-spectrum{min-height:280px}.g5ps-weather-spectrum>p{grid-column:1/-1;margin:0;padding:8px;border-radius:8px;background:#fff6da;text-align:center;font-size:8px}
.g5ps-claim{display:grid;grid-template-columns:1fr 115px 1fr;gap:10px;align-items:center;min-height:315px;padding:15px;border-radius:18px;background:#eef5f4}.g5ps-claim>section{display:grid;min-height:275px;place-items:center;align-content:center;gap:9px;border-radius:15px;background:#fff;box-shadow:var(--ps-shadow)}.g5ps-claim>section>span{font-size:7px;font-weight:950;letter-spacing:.1em}.g5ps-claim>section>b{font-size:9px}.g5ps-evidence-chips{display:grid;grid-template-columns:repeat(4,35px);gap:5px}.g5ps-evidence-chips i{display:grid;width:35px;height:35px;place-items:center;border-radius:9px;background:#5b94b3;color:#fff;font-style:normal}.g5ps-evidence-chips i.clear{background:#efc05c;color:#6c4a14}.g5ps-claim-arrow{display:grid;place-items:center;gap:8px}.g5ps-claim-arrow i{font-style:normal;font-size:30px}.g5ps-claim-arrow b{padding:7px;border-radius:8px;background:#fff;font-size:7px;text-align:center}.g5ps-tomorrow{display:grid;width:130px;height:130px;place-items:center;border:5px dashed #9bb4af;border-radius:22px;background:linear-gradient(135deg,#dbeef2 50%,#fff2bc 50%)}.g5ps-tomorrow i{font-style:normal;font-size:40px}.g5ps-claim.careful{box-shadow:inset 0 0 0 4px #4da783}.g5ps-claim.overclaim{box-shadow:inset 0 0 0 4px #d96b60}

/* Transfer */
.g5ps-transfer{display:grid;grid-template-columns:265px 1fr;grid-template-rows:1fr auto;gap:15px;min-height:400px;padding:15px;border-radius:18px;background:#eef5f4}.g5ps-event-pool{display:grid;align-content:start;gap:7px;padding:12px;border:3px dashed #9db9b3;border-radius:15px;background:#fff}.g5ps-event-pool>span{font-size:7px;font-weight:950;letter-spacing:.1em;text-align:center}.g5ps-event-card{display:grid;grid-template-columns:38px 1fr;gap:7px;align-items:center;min-height:62px;padding:7px;border:2px solid #c4d6d2;border-radius:11px;background:#fff;color:var(--ps-ink);text-align:left;cursor:grab}.g5ps-event-card:hover,.g5ps-event-card.selected{border-color:#dd963c;background:#fff6e7;transform:translateX(3px)}.g5ps-event-card i{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#2f847a;color:#fff;font-style:normal;font-size:16px}.g5ps-event-card span{font-size:8px;font-weight:800;line-height:1.2}.g5ps-transfer-spectrum{position:relative;min-height:320px}.g5ps-transfer-spectrum .rail{position:absolute;left:8%;right:8%;top:50%;height:8px;border-radius:99px;background:linear-gradient(90deg,#c5d8d3,#3c9a86,#dca043)}.g5ps-transfer-spectrum>button{position:absolute;z-index:1;left:var(--x);top:50%;display:grid;width:78px;min-height:132px;place-items:center;align-content:center;gap:5px;transform:translate(-50%,-50%);border:3px dashed #8ea9a3;border-radius:15px;background:#fff;color:var(--ps-ink);cursor:pointer}.g5ps-transfer-spectrum>button:first-of-type{left:8%}.g5ps-transfer-spectrum>button:last-of-type{left:92%}.g5ps-transfer-spectrum>button.filled{border-style:solid;border-color:#3e9e80;background:#e3f6ed;box-shadow:0 6px 0 #b6dccd}.g5ps-transfer-spectrum button b{font-size:15px}.g5ps-transfer-spectrum button i{font-style:normal;font-size:24px}.g5ps-transfer-spectrum button span{font-size:7px}.g5ps-transfer>p{grid-column:1/-1;margin:0;text-align:center;font-size:8px}

/* İkinci temsiller */
.support-boundary,.support-model-record,.support-evidence-gap{display:grid;grid-template-columns:auto 45px 1fr 45px auto;align-items:center;gap:7px;text-align:center}.support-boundary b{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:#173d46;color:#fff}.support-boundary i{min-height:38px;padding:10px;border-radius:9px;background:#dff3ea;font-style:normal;font-size:8px;font-weight:950}.support-boundary span{font-size:8px}.support-vessels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.support-vessels i{position:relative;display:grid;min-height:78px;place-items:center;overflow:hidden;border:4px solid #668e8d;border-radius:8px 8px 18px 18px;background:#fff;font-style:normal;font-weight:950}.support-vessels i:before{position:absolute;inset:auto 0 0;height:var(--h,0);content:"";background:#65a9c2;opacity:.55}.support-vessels i.half{--h:50%}.support-vessels i.full{--h:100%}.g5ps-hundred{display:grid;grid-template-columns:repeat(20,1fr);gap:2px}.g5ps-hundred i{aspect-ratio:1;border-radius:2px;background:#d8e5e2}.g5ps-hundred i.filled{background:#e4a13e}.support-quarter,.support-ten,.support-six{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}.support-quarter i,.support-ten i,.support-six i,.support-six em{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#4d94b5;color:#fff;font-style:normal}.support-quarter i.empty,.support-ten i.empty,.support-six em{background:#d7e4e1}.support-quarter b,.support-ten b,.support-six b{width:100%;text-align:center;font-size:10px}.support-half-row{display:grid;gap:5px;text-align:center}.support-half-row>span{font-size:7px;font-weight:950}.support-half-row>div{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.support-half-row i,.support-half-row em{height:35px;border-radius:5px;background:#4b8db9}.support-half-row em{background:#d8e5e2}.support-area-compare{display:grid;gap:7px}.support-area-compare span{display:grid;grid-template-columns:1fr 80px;align-items:center;gap:7px}.support-area-compare i{display:block;width:var(--w);height:23px;border-radius:6px;background:#e4a13e}.support-area-compare b{font-size:8px}.support-equal-rows,.support-three-records,.support-weather-row,.support-transfer-strip,.support-design-grid{display:grid;gap:6px;text-align:center}.support-equal-rows span{padding:6px;border-radius:7px;background:#fff;font-size:15px}.support-equal-rows b,.support-three-records b,.support-weather-row b{font-size:8px}.support-model-record{grid-template-columns:1fr 30px 1fr 1fr}.support-model-record span,.support-three-records span,.support-evidence-gap span,.support-transfer-strip span,.support-design-grid span{padding:8px;border-radius:8px;background:#fff;font-size:8px}.support-model-record i,.support-evidence-gap i{font-style:normal}.support-three-records{grid-template-columns:repeat(3,1fr)}.support-three-records b{grid-column:1/-1}.support-weather-row span{letter-spacing:.12em}.support-evidence-gap{grid-template-columns:1fr 40px 1fr}.support-transfer-strip{grid-template-columns:repeat(4,1fr)}.support-design-grid{grid-template-columns:repeat(4,1fr)}

.g5ps-final{padding:27px;border-radius:23px;background:linear-gradient(145deg,#edf8f4,#fff4de);text-align:center}.g5ps-final-mark{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;max-width:330px;margin:0 auto 14px;padding:12px;border:5px double #3b9b7f;border-radius:16px;background:#fff}.g5ps-final-mark i{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#173d46;color:#fff;font-style:normal}.g5ps-final-mark b{font-size:10px}.g5ps-final>span{font-size:8px;font-weight:950;letter-spacing:.13em}.g5ps-final h1{font-size:22px}.g5ps-report-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.g5ps-report-grid section{padding:11px;border:1px solid #c9dfd8;border-radius:11px;background:#fff}.g5ps-report-grid b,.g5ps-report-grid span{display:block;font-size:8px}.g5ps-final p{font-size:10px}
.g5ps-check:focus-visible,.g5ps-help button:focus-visible,.g5ps-choices button:focus-visible,.g5ps-gate-target:focus-visible,.g5ps-value-card:focus-visible,.g5ps-anchor-card:focus-visible,.g5ps-anchor-slot:focus-visible,.g5ps-rail button:focus-visible,.g5ps-glass-grid button:focus-visible,.g5ps-palette button:focus-visible,.g5ps-wheel .sector:focus-visible,.g5ps-trial-console button:focus-visible,.g5ps-event-card:focus-visible,.g5ps-transfer-spectrum button:focus-visible{outline:3px solid var(--ps-orange);outline-offset:2px}
@keyframes g5ps-settle{from{opacity:0;transform:translateY(-18px) scale(.8)}}

@media(max-width:1400px){
  .topic-lesson-shell:has(.grade5-probability-spectrum-board){max-width:100%;overflow-x:hidden}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .lesson-avatar{height:70px}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .talk-help{display:none}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .narration-controls{grid-column:2;grid-row:2;margin:0}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:5px}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px;padding:7px 12px}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;min-width:0}
  .topic-lesson-shell:has(.grade5-probability-spectrum-board) .skip-section,.topic-lesson-shell:has(.grade5-probability-spectrum-board) .lesson-time{display:none}
  .g5ps-shell>main{grid-template-columns:minmax(0,1fr) 300px}.g5ps-panel{padding:16px}.g5ps-panel h2{font-size:16px}
  .g5ps-jar-spectrum{grid-template-columns:180px 110px 1fr}.g5ps-cube-spectrum{grid-template-columns:225px 65px 1fr}.g5ps-report-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:650px){
  .g5ps-shell{padding:8px;border-radius:17px}.g5ps-shell>header{align-items:flex-start}.g5ps-shell>header h1{font-size:15px}.g5ps-progress{min-width:105px}.g5ps-shell>main{display:flex;flex-direction:column}.g5ps-visual{width:100%;padding:7px;overflow:hidden}.g5ps-visual-stage{min-height:510px;align-items:start}.g5ps-panel{position:static;width:100%;min-height:0;padding:14px}.g5ps-panel h2{font-size:15px}.g5ps-choices button{min-height:48px}.g5ps-support{min-height:110px}
  .g5ps-boundary{min-height:500px;padding:8px}.g5ps-boundary-rail{grid-template-columns:12px 1fr 36px 1.5fr 36px 1fr 12px;gap:3px}.g5ps-boundary-rail>strong{width:36px;height:36px}.g5ps-boundary-rail>em{height:46px;font-size:7px}.g5ps-gate-zones{grid-template-columns:1fr 1.15fr 1fr;gap:4px}.g5ps-gate-zones section{min-height:355px;padding:4px;border-width:2px}.g5ps-gate-zones header b{font-size:6px;text-align:center}.g5ps-value-card{width:52px;min-height:52px;padding:3px}.g5ps-value-card b{font-size:11px}
  .g5ps-anchor-lab{grid-template-columns:105px 1fr;gap:6px;min-height:500px;padding:7px}.g5ps-anchor-pool{min-height:390px;padding:10px 4px}.g5ps-anchor-card{width:55px;min-height:52px}.g5ps-anchor-line{grid-template-columns:1fr;min-height:440px;gap:8px}.g5ps-anchor-line>i{left:50%;right:auto;top:5%;bottom:5%;width:7px;height:auto}.g5ps-anchor-slot{min-width:0;min-height:122px;margin:0 8px}.g5ps-anchor-slot>i{font-size:22px}.g5ps-anchor-slot>b{font-size:18px}
  .g5ps-spectrum{min-height:430px;padding:20px 16px}.g5ps-rail{height:250px;margin:0 14px}.g5ps-rail:before,.g5ps-fill{top:110px}.g5ps-rail>button{top:88px;width:44px}.g5ps-beacon{top:45px}.g5ps-beacon>i{height:67px}.g5ps-beacon>b{font-size:7px}
  .g5ps-mirror-lab{grid-template-columns:105px 120px 1fr;gap:5px;min-height:315px;padding:7px}.g5ps-quarter-disc{width:95px;height:95px}.g5ps-mirror{min-height:265px;padding:6px}.g5ps-mirror b{font-size:13px}.g5ps-mini-spectrum{min-height:125px}.g5ps-mini-spectrum>b{font-size:6px}
  .g5ps-jar-spectrum{grid-template-columns:minmax(150px,1fr) 120px;grid-template-rows:auto auto;gap:6px;min-height:500px;padding:6px}.g5ps-jar{min-height:285px;padding:45px 5px 20px}.g5ps-jar .back,.g5ps-jar .front{inset:28px 2px 15px;border-width:4px}.g5ps-jar .stones{gap:3px;max-width:125px}.g5ps-jar .stones i{width:38px;height:38px}.g5ps-jar-count span{min-height:62px;padding:4px}.g5ps-jar-count b{font-size:6px}.g5ps-jar-count i{width:25px;height:25px}.g5ps-jar-spectrum .g5ps-spectrum{grid-column:1/-1;min-height:190px;padding:10px 17px}.g5ps-jar-spectrum .g5ps-spectrum-labels{font-size:6px}.g5ps-jar-spectrum .g5ps-rail{height:125px;margin:0 10px}.g5ps-jar-spectrum .g5ps-rail:before,.g5ps-jar-spectrum .g5ps-fill{top:54px}.g5ps-jar-spectrum .g5ps-rail>button{top:33px}.g5ps-jar-spectrum .g5ps-beacon{top:0}.g5ps-jar-spectrum .g5ps-beacon>i{height:58px}
  .g5ps-jar-editor{grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:500px;padding:7px}.g5ps-glass-grid{min-height:310px;padding:15px}.g5ps-glass-grid .cells{grid-template-columns:repeat(5,46px);gap:5px}.g5ps-glass-grid button{width:46px;min-height:46px}.g5ps-live-equivalence span{min-height:60px;font-size:14px}
  .g5ps-fairness{grid-template-columns:1fr 55px 1fr;gap:3px;min-height:500px;padding:6px}.g5ps-fairness .g5ps-wheel{max-width:155px}.g5ps-fairness>section>span{font-size:6px}.g5ps-area-bars i{font-size:6px}.g5prob-balance>i{width:48px}.g5prob-balance>b{font-size:6px}
  .g5ps-wheel-workshop{grid-template-columns:minmax(170px,1fr) 145px;gap:6px;min-height:500px;padding:7px}.g5ps-wheel{max-width:225px}.g5ps-palette{gap:4px}.g5ps-palette button{min-height:66px;padding:4px}.g5ps-palette button b,.g5ps-palette button span{font-size:6px}.g5ps-wheel-workshop.designer{grid-template-columns:minmax(185px,1fr) 130px}.g5ps-wheel-workshop.designer .g5ps-wheel{min-width:185px}.g5ps-wheel-workshop.designer .g5ps-palette{grid-template-columns:1fr}.g5ps-wheel-workshop.designer .g5ps-palette button{min-height:58px}
  .g5ps-cube-spectrum{grid-template-columns:minmax(185px,1fr) 70px;grid-template-rows:auto auto;gap:6px;min-height:500px;padding:6px}.g5ps-cube-net{grid-template-columns:repeat(3,55px);grid-template-rows:repeat(3,55px);gap:3px}.g5ps-cube-net i{border-width:3px}.g5ps-cube-arrow{font-size:6px}.g5ps-cube-arrow i{font-size:19px}.g5ps-cube-spectrum .g5ps-spectrum{grid-column:1/-1;min-height:190px;padding:8px 17px}.g5ps-cube-spectrum .g5ps-spectrum-labels{font-size:5px}.g5ps-cube-spectrum .g5ps-rail{height:125px;margin:0 10px}.g5ps-cube-spectrum .g5ps-rail:before,.g5ps-cube-spectrum .g5ps-fill{top:54px}.g5ps-cube-spectrum .g5ps-rail>button{top:33px}.g5ps-cube-spectrum .g5ps-beacon{top:0}.g5ps-cube-spectrum .g5ps-beacon>i{height:58px}
  .g5ps-trial{grid-template-columns:130px 1fr;gap:5px;min-height:330px;padding:6px}.g5ps-model-card .g5ps-wheel{max-width:120px}.g5ps-model-card>div{display:grid}.g5ps-trial-strip{gap:3px}.g5ps-trial-strip i{min-height:46px}.g5ps-model-record{grid-template-columns:1fr 26px 1fr;gap:4px;min-height:330px;padding:6px}.g5ps-model-record>section{min-height:300px;padding:4px}.g5ps-model-record .g5ps-wheel{max-width:130px}.g5ps-record-dots{grid-template-columns:repeat(2,38px)}
  .g5ps-weather-spectrum{grid-template-columns:165px 1fr;min-height:500px;padding:6px}.g5ps-calendar>div{gap:3px;padding:5px}.g5ps-calendar i{min-height:45px}.g5ps-weather-spectrum .g5ps-spectrum{min-height:430px;padding:8px 6px}.g5ps-weather-spectrum .g5ps-spectrum-labels{font-size:5px}
  .g5ps-claim{grid-template-columns:1fr 62px 1fr;gap:4px;min-height:360px;padding:6px}.g5ps-claim>section{min-height:330px;padding:4px}.g5ps-evidence-chips{grid-template-columns:repeat(3,32px);gap:3px}.g5ps-evidence-chips i{width:32px;height:32px}.g5ps-tomorrow{width:95px;height:120px}.g5ps-claim-arrow b{font-size:5px}
  .g5ps-transfer{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:8px;min-height:500px;padding:6px}.g5ps-event-pool{grid-template-columns:1fr 1fr;padding:5px}.g5ps-event-pool>span{grid-column:1/-1}.g5ps-event-card{grid-template-columns:32px 1fr;min-height:72px;padding:4px}.g5ps-event-card i{width:30px;height:30px}.g5ps-event-card span{font-size:6px}.g5ps-transfer-spectrum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:4px;min-height:180px;padding:22px 0}.g5ps-transfer-spectrum>button,.g5ps-transfer-spectrum>button:first-of-type,.g5ps-transfer-spectrum>button:last-of-type{position:relative;left:auto;top:auto;width:100%;min-width:0;min-height:120px;transform:none}.g5ps-transfer-spectrum>button span{font-size:5px}.g5ps-transfer>p{grid-column:1}
  .support-transfer-strip,.support-design-grid{grid-template-columns:repeat(2,1fr)}.g5ps-report-grid{grid-template-columns:1fr}.g5ps-final{padding:16px}
}

@media(prefers-reduced-motion:reduce){.g5ps-shell *{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* grade5-equality-properties.css */
.grade5-equality-properties-board{background:linear-gradient(145deg,#fffdf6,#eff8f6);color:#173c43}.g5ep-shell{--ink:#173c43;--blue:#3d8bbd;--orange:#e8943d;--green:#3da77b;--red:#d45c58;box-sizing:border-box;max-width:1180px;margin:auto;padding:14px;border:1px solid #c7ddd7;border-radius:24px;background:#fbfdfb;box-shadow:0 14px 45px #214b5120}.g5ep-shell *{box-sizing:border-box}.g5ep-shell>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.g5ep-shell>header span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#49726f}.g5ep-shell>header h1{margin:3px 0 0;font-size:23px}.g5ep-progress{position:relative;width:170px;height:30px;padding:6px;border-radius:20px;background:#ddeae7;overflow:hidden}.g5ep-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,#56b88f,#4b91bd);transition:.35s}.g5ep-progress b{position:relative;display:block;text-align:center;font-size:11px}.g5ep-shell>main{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.75fr);gap:13px}.g5ep-visual{position:relative;min-height:570px;padding:12px;border-radius:20px;background:radial-gradient(circle at 30% 20%,#fff 0,#f1f7f4 55%,#e5efed 100%);overflow:hidden}.g5ep-stage{display:flex;flex-direction:column;justify-content:center;min-height:545px}.g5ep-panel{display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:20px;background:#173c43;color:#f8fbfa}.g5ep-panel>span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8bd6bb}.g5ep-panel h2{margin:0;font-size:20px;line-height:1.35}.g5ep-check{margin-top:auto;min-height:48px;border:0;border-radius:14px;background:#f1bd55;color:#173c43;font-weight:900;cursor:pointer}.g5ep-check:disabled{opacity:.35;cursor:not-allowed}.g5ep-message{min-height:72px;margin:0;padding:12px;border-radius:13px;background:#ffffff12;font-size:13px;line-height:1.45}.g5ep-message.retry{box-shadow:inset 4px 0 #f28b78}.g5ep-result{margin-top:auto;padding:16px;border-radius:15px;background:#d9f5e8;color:#1d614d}.g5ep-result i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#3cac7d;color:white}.g5ep-result p{margin:8px 0 0;font-weight:800;line-height:1.45}.g5ep-help{display:flex;gap:8px}.g5ep-help button{min-height:44px;padding:8px 15px;border:1px solid #9dbcb5;border-radius:12px;background:#fff;font-weight:800}.g5ep-support{position:absolute;z-index:20;left:16px;right:16px;top:14px;min-height:150px;padding:13px;border:2px solid #55a387;border-radius:16px;background:#fafffded;box-shadow:0 10px 30px #173c4330;backdrop-filter:blur(5px);animation:g5ep-drop .3s ease}.g5ep-support>span{display:block;margin-bottom:8px;font-size:9px;font-weight:900;letter-spacing:.15em;color:#2e8067}.g5ep-choices,.g5ep-multi,.g5ep-bank{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}.g5ep-choices button,.g5ep-multi button,.g5ep-bank button{display:flex;align-items:center;gap:7px;min-height:48px;padding:8px;border:2px solid #c5d7d2;border-radius:12px;background:#fff;color:var(--ink);font-size:11px;font-weight:800;text-align:left;cursor:pointer}.g5ep-choices button i,.g5ep-multi button i{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:#e3edeb;font-style:normal}.g5ep-choices button.selected,.g5ep-multi button.selected{border-color:#3b9979;background:#e4f5ed;transform:translateY(-2px)}.g5ep-track{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px}.g5ep-track button{min-height:62px;padding:5px;border:2px dashed #b5c9c4;border-radius:11px;background:#eef4f2;color:#355954}.g5ep-track button.filled{border-style:solid;border-color:#4ca181;background:#fff}.g5ep-track b,.g5ep-track span{display:block;font-size:8px}.g5ep-track b{color:#318061}.g5ep-balance{position:relative;min-height:305px;padding-top:92px}.balance-beam{position:relative;width:72%;height:15px;margin:auto;border-radius:12px;background:#5c7480;transform:rotate(var(--tilt));transform-origin:center;transition:.55s cubic-bezier(.2,.8,.2,1);filter:drop-shadow(0 7px 4px #173c4325)}.balance-pivot{position:absolute;left:50%;top:94px;width:0;height:150px;border-left:13px solid #d59a49;transform:translateX(-50%)}.balance-pivot i{position:absolute;left:-56px;bottom:-14px;width:100px;height:22px;border-radius:14px 14px 4px 4px;background:#b47c39}.pan{position:absolute;top:8px;display:grid;place-items:center;width:150px;height:74px;border:5px solid #6c8490;border-top:0;border-radius:0 0 70px 70px;background:#dbe9e6;transform:rotate(calc(-1 * var(--tilt)));transition:.55s}.pan:before,.pan:after{content:'';position:absolute;top:-54px;height:58px;border-left:2px solid #6c8490}.pan:before{left:15px;transform:rotate(15deg)}.pan:after{right:15px;transform:rotate(-15deg)}.pan.left{left:-65px}.pan.right{right:-65px}.pan b{padding:7px;border-radius:9px;background:#fff;font-size:11px}.balance-status{width:max-content;max-width:90%;margin:180px auto 0;padding:9px 15px;border-radius:12px;background:#173c43;color:#fff;font-size:12px;font-weight:900}.g5ep-tug{display:grid;grid-template-columns:1fr 170px 1fr;align-items:center;gap:10px;padding:30px 10px;border-radius:20px;background:linear-gradient(#dff2ef 60%,#c9e2c4 60%)}.team{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.team i{width:36px;height:54px;border-radius:19px 19px 10px 10px;background:var(--blue);filter:drop-shadow(0 5px 2px #173c4320)}.team.orange i{background:var(--orange)}.team b{flex-basis:100%;text-align:center}.rope{position:relative;height:12px;border-radius:10px;background:#9b6d46;transform:translateX(12px);transition:.4s}.g5ep-tug.level .rope{transform:none}.rope i{position:absolute;left:50%;top:-12px;width:5px;height:36px;background:#eb635b}.rope span{position:absolute;left:50%;top:18px;transform:translateX(-50%);font-size:28px;font-weight:900}.g5ep-tunnels{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.g5ep-tunnels section{display:grid;place-items:center;min-height:125px;padding:10px;border:3px solid #bccdca;border-radius:55px;background:#fff;transition:.3s}.g5ep-tunnels section.safe{border-color:#43a87e;box-shadow:inset 0 0 0 8px #d8f3e6}.g5ep-tunnels section.broken{border-color:#db716b;transform:skewX(-4deg)}.g5ep-tunnels span,.g5ep-tunnels i,.g5ep-tunnels b{font-size:9px}.g5ep-division>div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:300px;margin:auto}.g5ep-division .packet{width:35px;height:35px;border:5px double #4a9c7c;border-radius:8px}.g5ep-division>strong{display:block;margin:10px;text-align:center}.g5ep-division.zero>strong{color:#ba504b}.g5ep-division .g5ep-balance{min-height:220px;transform:scale(.78);transform-origin:top}.g5ep-cargo{display:grid;grid-template-columns:1fr 60px 1fr;align-items:center;gap:8px;padding:15px}.g5ep-cargo section{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;min-height:130px;padding:12px;border:3px solid #4d91bc;border-radius:18px;background:#e2f3fb}.g5ep-cargo section.orange{border-color:#dc8e3f;background:#fff0dc}.g5ep-cargo section i{width:22px;height:22px;border-radius:6px;background:#438ab6}.g5ep-cargo section.orange i{background:#e5913e}.g5ep-cargo section b{flex-basis:100%;text-align:center}.g5ep-cargo>i{font-size:32px;font-style:normal}.g5ep-cargo.swapped section:first-child{order:3}.g5ep-cargo.swapped>i{order:2;transform:rotate(180deg)}.g5ep-cargo>strong,.g5ep-cargo>em{grid-column:1/-1;text-align:center;font-style:normal}.g5ep-cargo>em{height:30px;padding:6px;border-radius:15px;background:#173c43;color:white}.g5ep-array-lab{text-align:center}.g5ep-array{display:grid;grid-template-columns:repeat(var(--cols),28px);grid-template-rows:repeat(var(--rows),28px);gap:6px;width:max-content;margin:18px auto;padding:15px;border:5px solid #3d6471;border-radius:15px;background:#172f38;transition:.6s}.g5ep-array i{border-radius:50%;background:#f3ca58;box-shadow:0 0 11px #ffd961}.g5ep-array.rotated{transform:rotate(0deg);border-color:#43a77d}.rotation-handle{min-height:44px;padding:8px 15px;border:0;border-radius:22px;background:#ddede8;font-weight:900}.g5ep-array-lab strong{display:block;margin-top:8px}.g5ep-groups{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:32px 12px 48px}.g5ep-groups section{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;min-height:125px;padding:15px;border:3px solid #558eb4;border-radius:50px}.g5ep-groups section.dot{border-style:dotted;border-color:#d4823c}.g5ep-groups section.plain{border-color:#4c9e78}.g5ep-groups section i{width:20px;height:20px;border-radius:50%;background:repeating-linear-gradient(45deg,#4d91bd 0 4px,#cbe5f3 4px 8px)}.g5ep-groups section.dot i{background:radial-gradient(#9c541e 2px,#efbc89 3px)}.g5ep-groups section.plain i{background:#67b690}.g5ep-groups section b{flex-basis:100%;text-align:center}.g5ep-groups .bracket{position:absolute;bottom:32px;font:900 90px Georgia;color:#d39542}.g5ep-groups .first{left:3%}.g5ep-groups .second{left:63%}.g5ep-groups.regrouped .first{left:35%}.g5ep-groups.regrouped .second{left:96%}.g5ep-groups>strong,.g5ep-groups>em{grid-column:1/-1;text-align:center;font-style:normal}.g5ep-shelves{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.g5ep-shelves>section{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:12px;border:5px solid #9a7348;border-radius:10px;background:#f8ead3}.g5ep-shelves>section>b{grid-column:1/-1;text-align:center}.g5ep-shelves section span{padding:8px;border-radius:7px;background:#fff}.g5ep-shelves span i{display:inline-block;width:9px;height:32px;margin:2px;border-radius:3px;background:#4b93bb}.g5ep-shelves span em{display:block;text-align:center}.g5ep-shelves>strong,.g5ep-shelves>i{grid-column:1/-1;text-align:center;font-style:normal}.g5ep-shelves.flattened>section{transform:translateY(-5px);box-shadow:0 6px #d8b47d}.g5ep-sorter{padding:15px}.sort-lanes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sort-lanes section{display:grid;place-items:center;min-height:130px;border:3px dashed #5d9383;border-radius:18px;background:#e7f5ef}.sort-lanes section:last-child{border-color:#c8756e;background:#f9e7e4}.sort-lanes b,.sort-lanes span{display:block}.g5ep-area-lab{text-align:center}.g5ep-area{position:relative;display:grid;grid-template-columns:44px 1fr;grid-template-rows:1fr 30px;min-height:250px;margin:14px;padding:10px}.area-height{display:grid;place-items:center;font-weight:900}.area-grid{display:flex;min-width:0;border:4px solid #355f68;border-radius:9px;overflow:hidden}.area-grid section{position:relative;display:grid;grid-template-columns:repeat(10,1fr);flex:var(--share);align-content:start;min-width:0;padding:10px;background:#d8efe7}.area-grid section+section{border-left:4px dashed #315c64;background:#f7ddb3}.g5ep-area.subtract .area-grid section:last-child{background:repeating-linear-gradient(-45deg,#efb7ad 0 7px,#d8655d 7px 11px);opacity:.78}.area-grid section b{position:absolute;z-index:2;left:50%;top:50%;padding:6px;border-radius:7px;background:#fffde9;transform:translate(-50%,-50%);white-space:nowrap}.area-grid section i{min-width:2px;min-height:2px;border:1px solid #ffffff55}.area-width{grid-column:2;text-align:center;font-weight:900}.area-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.area-steps span{padding:8px;border-radius:10px;background:#fff;border:2px solid #4ca17f}.g5ep-near-ten{text-align:center}.number-ruler{position:relative;width:82%;height:44px;margin:auto;border-bottom:5px solid #4f737b}.number-ruler i{position:absolute;left:calc((var(--at) - 39)*8%);bottom:-12px;font-style:normal}.number-ruler .focus{color:#d65d57;font-size:20px;font-weight:900}.g5ep-near-ten .g5ep-area{min-height:190px}.g5ep-near-ten>strong,.g5ep-near-ten>em{display:block;font-style:normal}.g5ep-network{position:relative;min-height:350px}.g5ep-network>strong{position:absolute;left:50%;top:50%;z-index:4;display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:#173c43;color:#fff;font-size:24px;transform:translate(-50%,-50%)}.g5ep-network section{position:absolute;left:calc(8% + (var(--i) % 2)*53%);top:calc(6% + (var(--i) / 2)*42%);width:38%;min-height:72px;padding:12px;border:3px dashed #a8bfba;border-radius:15px;background:#fff}.g5ep-network section.linked{border-style:solid;border-color:#42a57c;background:#ddf4e8}.g5ep-network section.broken{border-color:#d66660;background:#f8e4e2}.g5ep-network section i{position:absolute;width:70px;border-top:4px solid #a8bfba;transform:rotate(calc((var(--i) - 1.5)*23deg));transform-origin:left}.g5ep-garden{padding:15px}.garden-grid{display:grid;grid-template-columns:5fr 3fr;min-height:260px;border:8px solid #7c5a38;border-radius:15px;overflow:hidden}.garden-grid section{display:grid;place-items:center;background:repeating-linear-gradient(0deg,#70b87b 0 18px,#5ca665 18px 22px)}.garden-grid section+section{border-left:5px solid #fff;background:radial-gradient(circle,#f5bfdb 0 4px,#6fb477 5px 16px)}.garden-grid b,.garden-grid span{padding:6px;border-radius:8px;background:#fff}.g5ep-garden>strong,.g5ep-garden>em{display:block;margin:9px;text-align:center;font-style:normal}.g5ep-garden.proved{box-shadow:inset 0 0 0 4px #43aa7f}.proposition-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.proposition-slots section{min-height:120px;padding:9px;border:2px dashed #9fbab4;border-radius:13px;background:#eef4f2}.proposition-slots section.filled{border-style:solid;background:#fff}.proposition-slots b,.proposition-slots span{display:block;font-size:9px}.proof-windows{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.proof-windows section{display:grid;place-items:center;min-height:130px;border-radius:16px;background:#e4f3ee;font-size:35px}.proof-windows b{font-size:8px}.g5ep-symbols>strong{display:block;margin:10px;text-align:center}.g5ep-mission{text-align:center}.mission-chain{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.mission-chain span{padding:8px;border:2px solid #4da27f;border-radius:10px;background:#fff}.mission-chain span.invalid{border-color:#d65f5a;background:#f9e5e3}.g5ep-mission>strong{display:block;margin-top:8px}.g5ep-final{padding:35px;border-radius:24px;background:#eaf8f3;text-align:center}.g5ep-final-mark{display:grid;place-items:center;width:130px;height:130px;margin:auto;border:9px double #3da77b;border-radius:50%;transform:rotate(-4deg)}.g5ep-final-mark i{font-size:45px}.g5ep-final-mark b{font-size:9px}.g5ep-report{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:20px}.g5ep-report section{padding:12px;border-radius:12px;background:#fff}.g5ep-report b,.g5ep-report span{display:block;font-size:9px}.support-bars,.support-gates,.support-packets,.support-route,.support-counter,.support-network,.support-garden,.support-order,.support-windows,.support-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.support-bars span{width:calc(var(--w)*5px);padding:8px;background:#63ad91}.support-halves{display:grid;grid-template-columns:repeat(2,1fr);text-align:center}.support-halves span{grid-column:1/-1}.support-halves b{padding:20px;border:2px solid #4a9b7c}.support-array{display:flex;gap:10px;transform:scale(.65);transform-origin:top}.support-gates span,.support-packets span,.support-route span,.support-counter span,.support-network span,.support-garden span,.support-order span,.support-windows span,.support-strip span{padding:9px;border-radius:9px;background:#e2efeb;font-size:10px;font-weight:800}.g5ep-support .g5ep-area{min-height:110px;margin:0}.g5ep-support .area-grid section i{display:none}@keyframes g5ep-drop{from{opacity:0;transform:translateY(-12px)}}
@media(max-width:900px){.topic-lesson-shell:has(.grade5-equality-properties-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-equality-properties-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-equality-properties-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-equality-properties-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-equality-properties-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-equality-properties-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-equality-properties-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px}.topic-lesson-shell:has(.grade5-equality-properties-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-equality-properties-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px}.topic-lesson-shell:has(.grade5-equality-properties-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}.topic-lesson-shell:has(.grade5-equality-properties-board) .skip-section,.topic-lesson-shell:has(.grade5-equality-properties-board) .lesson-time{display:none}.g5ep-shell>main{grid-template-columns:minmax(0,1fr) 280px}.g5ep-visual{min-width:0}.g5ep-report{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.g5ep-shell{padding:8px;border-radius:16px}.g5ep-shell>header{align-items:flex-start}.g5ep-shell>header span{font-size:7px}.g5ep-shell>header h1{font-size:16px}.g5ep-progress{width:105px}.g5ep-shell>main{display:flex;flex-direction:column}.g5ep-visual{min-height:515px;padding:6px;overflow:hidden}.g5ep-stage{min-height:495px;justify-content:flex-start}.g5ep-panel{padding:15px}.g5ep-panel h2{font-size:16px}.g5ep-choices,.g5ep-multi,.g5ep-bank{grid-template-columns:1fr;gap:4px}.g5ep-choices button,.g5ep-multi button,.g5ep-bank button{min-height:44px;padding:6px;font-size:9px}.g5ep-track{grid-template-columns:repeat(2,1fr)}.g5ep-support{left:6px;right:6px;top:5px;min-height:135px}.g5ep-tug{grid-template-columns:1fr 75px 1fr;padding:16px 3px}.team i{width:25px;height:38px}.balance-beam{width:60%}.pan{width:95px}.pan.left{left:-42px}.pan.right{right:-42px}.g5ep-tunnels{gap:5px}.g5ep-tunnels section{min-height:100px;padding:5px}.g5ep-cargo{grid-template-columns:1fr 35px 1fr;padding:5px}.g5ep-cargo section{padding:6px}.g5ep-array{grid-template-columns:repeat(var(--cols),20px);grid-template-rows:repeat(var(--rows),20px);gap:4px}.g5ep-groups{gap:3px;padding-inline:3px}.g5ep-groups section{padding:6px}.g5ep-groups section i{width:13px;height:13px}.g5ep-shelves{gap:5px}.g5ep-shelves>section{gap:3px;padding:5px}.g5ep-shelves section span{padding:3px}.g5ep-shelves span i{width:6px;height:22px;margin:1px}.g5ep-area{min-height:205px;margin:3px;padding:3px;grid-template-columns:28px 1fr}.area-grid section{grid-template-columns:repeat(5,1fr);padding:3px}.area-grid section b{font-size:8px}.g5ep-network{min-height:300px}.g5ep-network section{width:42%;left:calc(3% + (var(--i) % 2)*52%);padding:7px;font-size:8px}.garden-grid{min-height:210px}.proposition-slots{grid-template-columns:repeat(2,1fr)}.proof-windows{gap:4px}.proof-windows section{min-height:90px;font-size:24px}.mission-chain{grid-template-columns:1fr}.g5ep-report{grid-template-columns:1fr}.support-array{transform:scale(.45)}}
@media(prefers-reduced-motion:reduce){.g5ep-shell *{animation:none!important;transition:none!important}}
.g5ep-shell>main{grid-template-columns:1fr}
.g5ep-stage{width:100%;min-width:0;overflow:hidden}
.g5ep-stage>*{width:100%;max-width:100%;min-width:0}
.g5ep-panel{min-width:0}
.g5ep-choices,.g5ep-multi,.g5ep-bank,.g5ep-track{width:100%;min-width:0}
.g5ep-choices button,.g5ep-multi button,.g5ep-bank button,.g5ep-track button{min-width:0}
.g5ep-choices button span,.g5ep-multi button span,.g5ep-bank button,.g5ep-track span{min-width:0;overflow-wrap:anywhere}
.g5ep-balance .pan{width:140px}
.g5ep-balance .pan.left{left:-55px}
.g5ep-balance .pan.right{right:-55px}
.g5ep-groups.regrouped .second{left:auto;right:0}
.g5ep-balance .balance-beam{width:60%}
.g5ep-balance .pan{width:130px}
.g5ep-balance .pan.left{left:-35px}
.g5ep-balance .pan.right{right:-35px}
.g5ep-support{position:relative;left:auto;right:auto;top:auto;margin-top:10px;pointer-events:none}
.g5ep-choices button:hover,.g5ep-multi button:hover,.g5ep-bank button:hover,.g5ep-track button:hover{border-color:#e8943d;box-shadow:0 0 0 4px #e8943d26}
.g5ep-choices button:focus-visible,.g5ep-multi button:focus-visible,.g5ep-bank button:focus-visible,.g5ep-track button:focus-visible,.g5ep-help button:focus-visible,.g5ep-check:focus-visible{outline:3px solid #f0a449;outline-offset:3px}
.g5ep-choices button.wrong,.g5ep-multi button.wrong,.g5ep-track button.wrong{border-color:#d45c58;background:#fbe8e6;box-shadow:0 0 0 3px #d45c5824;transform:none}
.g5ep-choices button.correct,.g5ep-multi button.correct,.g5ep-track button.correct{border-color:#3b9979;background:#e4f5ed;box-shadow:0 0 0 3px #3b997924}
.g5ep-area.subtract .area-grid section:last-child b{left:auto;right:4px;transform:translateY(-50%);font-size:9px}

/* grade5-operation-priority.css */
.grade5-operation-priority-board{font-family:"Nunito",system-ui,sans-serif;color:#173d45}.g5op-shell{width:min(1180px,100%);margin:auto;padding:14px;border:2px solid #b7d9d1;border-radius:24px;background:linear-gradient(145deg,#f7fffc,#eef9f5);box-shadow:0 16px 36px #174b4b18}.g5op-shell>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 6px 12px}.g5op-shell>header span{display:block;color:#39776f;font-size:11px;font-weight:900;letter-spacing:.09em}.g5op-shell>header h1{margin:3px 0 0;font-size:22px;line-height:1.15}.g5op-progress{position:relative;flex:0 0 150px;height:31px;border:2px solid #83b7aa;border-radius:999px;background:#fff;overflow:hidden}.g5op-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,#55b792,#f2b65e);transition:width .35s ease}.g5op-progress b{position:absolute;inset:0;display:grid;place-items:center;font-size:12px}.g5op-shell>main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:12px}.g5op-visual,.g5op-panel{min-width:0;border:2px solid #c5ddd7;border-radius:19px;background:#fff}.g5op-visual{position:relative;padding:10px;overflow:hidden}.g5op-stage{display:flex;min-height:470px;flex-direction:column;justify-content:center;gap:10px}.g5op-stage>*{width:100%;max-width:100%;min-width:0}.g5op-panel{display:flex;flex-direction:column;justify-content:center;padding:22px}.g5op-panel>span{color:#48877a;font-size:10px;font-weight:1000;letter-spacing:.1em}.g5op-panel h2{margin:7px 0 14px;font-size:20px;line-height:1.27}.g5op-check{min-height:48px;border:0;border-radius:13px;background:#19795f;color:#fff;font-weight:900;box-shadow:0 7px 0 #0f5945;cursor:pointer}.g5op-check:disabled{background:#aac2bc;box-shadow:0 7px 0 #8ca7a1;cursor:not-allowed}.g5op-message{min-height:56px;margin:15px 0 0;padding:11px;border-radius:12px;background:#edf6f3;font-size:13px;font-weight:700;line-height:1.35}.g5op-message.retry{background:#fff0e6;color:#8a4329}.g5op-result{display:flex;align-items:center;gap:10px;padding:12px;border:2px solid #58a989;border-radius:14px;background:#e9f8f1}.g5op-result i{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#278364;color:#fff;font-style:normal}.g5op-result p{margin:0;font-weight:800}.g5op-choices,.g5op-multi,.g5op-bank{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.g5op-choices button,.g5op-multi button,.g5op-bank button,.g5op-track button{display:flex;align-items:center;gap:8px;min-width:0;min-height:46px;padding:8px;border:2px solid #b8d3cd;border-radius:12px;background:#fff;color:#173d45;font:800 11px/1.2 inherit;text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}.g5op-choices button i,.g5op-multi button i{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:8px;background:#e4f1ed;font-style:normal}.g5op-choices button span,.g5op-multi button span,.g5op-track button span{min-width:0;overflow-wrap:anywhere}.g5op-choices button.selected,.g5op-multi button.selected{border-color:#e59a40;background:#fff8ea;transform:translateY(-1px)}.g5op-choices button.wrong,.g5op-multi button.wrong,.g5op-track button.wrong{border-color:#d45d58;background:#fbe8e6;box-shadow:0 0 0 3px #d45d5822;transform:none}.g5op-choices button.correct,.g5op-multi button.correct,.g5op-track button.correct{border-color:#359775;background:#e3f5ec;box-shadow:0 0 0 3px #35977522}.g5op-bank button:disabled{opacity:.42;cursor:default}.g5op-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.g5op-track button{position:relative;justify-content:flex-start;min-height:58px;border-style:dashed;background:#eff6f4}.g5op-track button.filled{border-style:solid;background:#fff}.g5op-track button b{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:#245e62;color:#fff;font-size:10px}.g5op-help{display:flex;gap:8px}.g5op-help button{min-width:110px;min-height:44px;border:2px solid #6fa99a;border-radius:999px;background:#fff;color:#1d6456;font-weight:900}.g5op-support{position:relative;margin-top:4px;padding:10px;border:2px dashed #e2a64d;border-radius:14px;background:#fff9e9;pointer-events:none}.g5op-support>span{display:block;margin-bottom:6px;color:#91601e;font-size:9px;font-weight:1000;letter-spacing:.12em}.g5op-support>div{min-height:76px}.g5op-stage>div:first-child{position:relative;min-height:290px;padding:12px;border:2px solid #d6e6e2;border-radius:18px;background:linear-gradient(180deg,#fafdff,#eff8f5);overflow:hidden}.g5op-square-grid{display:grid;grid-template-columns:repeat(var(--n),42px);grid-template-rows:repeat(var(--n),42px);gap:3px;justify-content:center;align-content:center}.g5op-square-grid i{border:2px solid #3f8a81;border-radius:5px;background:linear-gradient(145deg,#f8cf73,#f3ac45);box-shadow:inset 0 0 0 3px #fff5}.square-forge{display:grid;grid-template-columns:110px 1fr;grid-template-rows:1fr auto;align-items:center}.forge-rulers{display:flex;flex-direction:column;gap:12px}.forge-rulers span{padding:8px;border-radius:8px;background:#1b5e66;color:#fff;font-size:11px;font-weight:900;text-align:center}.square-forge>.g5op-square-grid,.square-forge>.rect-grid{grid-column:2}.square-forge.proved>.g5op-square-grid{animation:g5op-build .55s ease-out}.rect-grid{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,42px);gap:3px;justify-content:center}.rect-grid i{border:2px solid #d07a47;background:#f5c68d}.power-equation{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;font-size:26px}.power-equation i{font-style:normal}.cube-lab{display:grid;grid-template-columns:1fr 170px;align-items:center}.cube-scene{position:relative;min-height:230px;perspective:700px}.cube-layer{position:absolute;left:50%;top:55%;display:grid;grid-template-columns:repeat(2,58px);grid-template-rows:repeat(2,58px);gap:4px;opacity:.18;transform:translate(-50%,-50%) rotateX(56deg) rotateZ(45deg) translateZ(calc((var(--layer,0))*55px));transition:opacity .25s,transform .45s cubic-bezier(.22,1,.36,1)}.cube-layer.visible{opacity:1}.cube-layer.layer-1{--layer:0;z-index:1}.cube-layer.layer-2{--layer:1;z-index:2;transform:translate(-50%,-80%) rotateX(56deg) rotateZ(45deg)}.cube-unit{border:2px solid #2d716f;background:linear-gradient(135deg,#77d1ac 0 48%,#4ba48e 49% 100%);box-shadow:8px 8px 0 #2e7c7133}.cube-axis{position:absolute;right:8%;bottom:4%;display:flex;gap:5px}.cube-axis span{padding:5px;border-radius:7px;background:#fff;border:1px solid #8fbcb1;font-size:9px;font-weight:900}.layer-counter{padding:15px;border-radius:16px;background:#1c5b63;color:#fff;text-align:center}.layer-counter b,.layer-counter span{display:block}.layer-counter b{font-size:20px}.mini-cube{position:relative;min-height:180px}.mini-cube .cube-layer{transform:translate(-50%,-65%) rotateX(56deg) rotateZ(45deg) scale(.55)}.power-bridge{display:grid;grid-template-columns:1fr 1fr;gap:10px}.power-bridge section{display:grid;place-items:center;min-height:210px;padding:10px;border-radius:16px;background:#e9f5f0}.power-bridge section>b{font-size:24px}.power-bridge .g5op-square-grid{grid-template-columns:repeat(var(--n),20px);grid-template-rows:repeat(var(--n),20px)}.bridge-lines{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.bridge-lines span{padding:7px;border:2px solid #3e9676;border-radius:10px;background:#fff}.bridge-lines span.invalid{border-color:#ce5c58}.power-bridge>strong{grid-column:1/-1;text-align:center}.capsule-lab{display:grid;place-items:center}.expression-row{display:flex;align-items:center;gap:10px;font-size:38px;font-weight:1000}.capsule{display:flex;align-items:center;gap:8px;padding:18px 24px;border:4px solid #598fbd;border-radius:999px;background:#dcecff;box-shadow:inset 0 0 18px #fff,0 10px 25px #2e5c7a22}.capsule i{font-size:48px;font-style:normal}.capsule b{min-width:105px;text-align:center}.capsule-lab.opened .capsule{animation:g5op-unlock .6s ease-out;border-color:#48a979;background:#dff5e9}.capsule-lab.blocked .outside{opacity:.28}.capsule-lock{margin-top:18px;padding:8px 14px;border-radius:10px;background:#173f4a;color:#fff;font-weight:900}.priority-gates{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:end}.priority-gates section{position:relative;display:grid;place-items:center;min-height:210px;padding:8px;border:4px solid #8eaaa4;border-bottom-width:18px;border-radius:14px 14px 4px 4px;background:#e8efed;overflow:hidden}.priority-gates section:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent 0 10px,#7eaaa31f 11px 18px)}.priority-gates section.passed{border-color:#35856d;background:#dbf4e9;animation:g5op-gate .4s ease-out}.priority-gates i,.priority-gates b,.priority-gates span{z-index:1}.priority-gates i{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#285f68;color:#fff;font-style:normal;font-weight:1000}.priority-gates b{font-size:10px;text-align:center}.bracket-comparator{display:grid;grid-template-columns:1fr 140px;align-items:center;gap:14px}.bracket-comparator section{padding:16px;border-radius:16px;background:#edf4ff}.elastic-bracket{padding:16px;border:4px solid #688ec0;border-radius:50px;font-size:28px;font-weight:1000;text-align:center}.elastic-bracket.left{border-color:#3d9b76;background:#e5f6ed;animation:g5op-stretch .45s ease-out}.number-path{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px}.number-path span,.number-path b{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;border:2px solid #74a8a0}.target-eight{display:grid;place-items:center;gap:5px}.target-eight>i{display:grid;place-items:center;width:90px;height:90px;border:9px double #e49046;border-radius:50%;font-style:normal;font-size:35px}.target-eight span{padding:6px;border-radius:8px;background:#f4ece3;font-size:9px;font-weight:900}.target-eight span.hit{background:#daf3e7;color:#247354}.collapse-tower{display:flex!important;flex-direction:column-reverse;align-items:center;justify-content:flex-start!important;gap:5px;padding-top:25px!important}.collapse-tower .floor{display:grid;grid-template-columns:1fr 1fr;align-items:center;width:80%;min-height:58px;padding:9px 16px;border:3px solid #547e85;border-radius:10px;background:#fff;box-shadow:0 9px 0 #2e555c22;transition:width .3s,transform .3s}.collapse-tower .f1{width:94%}.collapse-tower .f2{width:82%}.collapse-tower .f3{width:70%}.collapse-tower .floor.collapsed{border-color:#399270;background:#e1f6ec;transform:translateY(3px)}.collapse-tower .floor span{text-align:right}.collapse-tower>strong{font-size:25px;color:#225f5b}.conveyor{display:grid;grid-template-columns:1fr 100px 100px;grid-template-rows:1fr auto;align-items:center;gap:8px}.belt{position:relative;height:90px;border:5px solid #4a646a;border-radius:45px;background:repeating-linear-gradient(90deg,#8aa2a4 0 28px,#71898c 29px 55px);overflow:visible}.package{position:absolute;left:8%;top:10px;z-index:4;display:grid;place-items:center;width:64px;height:60px;border:3px solid #9f652d;border-radius:8px;background:#f1ba68;font-size:22px;font-weight:1000;transition:left .7s ease-in-out}.conveyor.run-left .package{left:78%;animation:g5op-package 1.2s linear}.conveyor.jammed .package{left:42%;transform:rotate(9deg);background:#ef9183}.machine{display:grid;place-items:center;height:150px;border:6px solid #325d65;border-radius:14px;background:#dbe9e8}.machine b{font-size:25px}.machine span{font-size:9px;font-weight:900}.conveyor>strong{grid-column:1/-1;text-align:center;font-size:20px}.conveyor>strong em{font-style:normal;color:#ba6728}.station-route{position:relative;display:grid!important;grid-template-columns:repeat(4,1fr);align-items:center!important;gap:7px;padding-top:40px!important}.route-rail{position:absolute;left:8%;right:8%;top:46%;height:9px;border-radius:9px;background:#9db2af}.station{z-index:2;display:grid;place-items:center;min-height:150px;padding:8px;border:4px solid #8ba6a0;border-radius:50% 50% 14px 14px;background:#eef3f2}.station.active{border-color:#378d70;background:#dcf4e8;animation:g5op-arrive .4s ease-out}.station i{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#295f68;color:#fff;font-style:normal;font-size:20px}.station b{font-size:8px;text-align:center}.route-arrow{position:absolute;left:0;right:0;top:7px;text-align:center;color:#367c72;font-weight:1000}.error-lens{position:relative}.solution-board{display:grid;gap:12px;width:70%;margin:30px auto;padding:20px;border:8px solid #6c4f36;border-radius:10px;background:#edf7f4}.solution-board span{padding:10px;border-radius:8px;background:#fff;font-size:17px;font-weight:900}.solution-board .caught{background:#ffe0dd;text-decoration:line-through 4px #ca4f4b}.solution-board .correct-route{color:#23705c}.magnifier{position:absolute;left:var(--x);top:28%;width:105px;height:105px;border:8px solid #f0a742;border-radius:50%;background:#fff8;transform:translateX(-50%);transition:left .45s ease}.magnifier:after{content:"";position:absolute;right:-43px;bottom:-28px;width:62px;height:15px;border-radius:10px;background:#b26a2c;transform:rotate(48deg)}.magnifier b{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);white-space:nowrap;font-size:9px}.story-receipt{display:grid!important;grid-template-columns:1fr 250px;gap:12px}.badge-boxes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.badge-boxes section{min-height:90px;padding:7px;border:3px dashed #5e9188;border-radius:12px;background:#fff}.badge-boxes section.filled{border-style:solid;background:#e3f4ed}.badge-boxes section b{display:block;font-size:8px}.badge-boxes section i,.badge-boxes aside i{display:inline-block;width:17px;height:17px;margin:2px;border-radius:50%;background:#f0af4d}.badge-boxes aside{grid-column:1/-1;min-height:36px;padding:6px;border-radius:10px;background:#fff0d2}.badge-boxes aside i.extra{background:#5ab092}.receipt{display:flex;flex-direction:column;gap:5px;padding:14px;border:2px solid #8fb4ab;border-radius:8px;background:repeating-linear-gradient(0deg,#fff 0 28px,#e6efed 29px 30px)}.receipt>b{text-align:center}.receipt span{display:flex;gap:5px;padding:5px;background:#fff}.receipt span i{font-style:normal}.receipt strong{margin-top:auto;border-top:2px dashed #777;padding-top:8px}.grouping-dock{display:grid!important;grid-template-columns:1fr 130px;grid-template-rows:1fr auto;gap:9px}.passengers{display:grid;grid-template-columns:repeat(7,25px);gap:5px;align-content:center;justify-content:center;padding:15px;border-radius:14px;background:#eaf4f1}.passengers i{width:24px;height:24px;border:2px solid #376e76;border-radius:50% 50% 35% 35%;background:#63b699;transition:opacity .25s}.grouping-dock.grouped .passengers i:nth-last-child(-n+4){opacity:.2;transform:translateX(45px)}.exit-lane{display:grid;place-items:center;padding:8px;border-radius:12px;background:#ffe9cd;text-align:center}.vans{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.vans>i{display:grid;grid-template-columns:repeat(2,1fr);min-height:52px;padding:4px;border:3px solid #4b7a83;border-radius:9px;background:#dcecf1;font-style:normal}.vans>i i{width:9px;height:9px;border-radius:50%;background:#36866f}.vans>i b{grid-column:1/-1;text-align:center;font-size:8px}.grouping-dock>strong{grid-column:1/-1;text-align:center}.expression-theatre{position:relative;display:grid;place-items:center}.stage-curtain{display:grid;place-items:center;gap:12px;width:80%;min-height:250px;padding:20px;border:12px solid #7f2d45;border-radius:18px;background:linear-gradient(90deg,#9f3553,#d55e6e 15%,#fff1da 16% 84%,#d55e6e 85%,#9f3553);z-index:1}.stage-curtain>span{padding:8px;border-radius:8px;background:#fff;font-size:22px;font-weight:1000}.tickets{display:flex;gap:7px}.tickets i{display:grid;place-items:center;width:46px;height:68px;border:2px dashed #9b672b;background:#f4c76e;font-style:normal;font-weight:1000}.tickets.bought{animation:g5op-ticket .5s ease-out}.stage-curtain>b{padding:7px;background:#fff;border-radius:8px}.spotlight{position:absolute;left:var(--x);top:0;width:170px;height:290px;background:linear-gradient(#fff8caaa,transparent);clip-path:polygon(40% 0,60% 0,100% 100%,0 100%);transform:translateX(-50%);transition:left .4s}.tile-studio{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.mission-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;align-content:center}.mission-cards section{min-height:120px;padding:8px;border:3px solid #6a958b;border-radius:15px;background:#fff;text-align:center}.mission-cards section.scored{background:#dcf4e8;animation:g5op-score .4s ease-out}.mission-cards section b,.mission-cards section span{display:block}.mission-cards .bonus{grid-column:1/-1;padding:9px;border-radius:9px;background:#ffe8b9;text-align:center;font-style:normal;font-weight:1000}.mission-cards .bonus.added{background:#bde9d6}.tile-equation{display:flex;flex-direction:column;gap:7px;padding:12px;border-radius:14px;background:#eaf3f2}.tile-equation span{display:flex;gap:7px;padding:8px;border:2px solid #6aa092;border-radius:9px;background:#fff}.tile-equation span i{font-style:normal}.tile-equation strong{margin-top:auto}.mistake-magnifier{position:relative}.paper-steps{display:grid;gap:10px;width:70%;margin:20px auto;padding:18px;border:3px solid #b69a71;background:#fffdf1;box-shadow:8px 9px 0 #8b704a22}.paper-steps span{padding:9px;border-radius:7px;background:#fff}.paper-steps .wrong-focus{background:#ffe1de;text-decoration:line-through 3px #c54a48}.paper-steps .right-focus{background:#dff4e9}.lens{position:absolute;left:12%;top:calc(16% + (var(--row) - 1)*58px);width:95px;height:95px;border:7px solid #3183a0;border-radius:50%;transition:top .35s}.lens:after{content:"";position:absolute;right:-38px;bottom:-24px;width:54px;height:13px;border-radius:9px;background:#24627a;transform:rotate(42deg)}.lens b{position:absolute;inset:auto 0 8px;text-align:center;font-size:8px}.repair-strip{width:80%;margin:auto;padding:8px;border-radius:9px;background:#183e48;color:#fff;text-align:center;font-weight:900}.operator-lock{display:flex!important;align-items:center;justify-content:center!important;gap:9px;font-size:34px;font-weight:1000}.operator-lock>span,.operator-lock>i,.operator-lock>b{display:grid;place-items:center;min-width:58px;height:64px;padding:6px;border:3px solid #6c928a;border-radius:12px;background:#fff}.operator-lock>i{color:#b66b25;font-style:normal}.operator-lock.unlocked>i{border-color:#3b9979;background:#def5e9}.operator-lock.shaken{animation:g5op-shake .35s}.lock-wheel{position:absolute;left:50%;bottom:15px;transform:translateX(-50%);padding:8px 15px;border-radius:999px;background:#244f58;color:#fff;font-size:11px}.lock-wheel em{font-style:normal}.bracket-target{display:grid!important;place-items:center!important;gap:24px}.elastic-expression{padding:18px 25px;border:5px solid #638cc1;border-radius:999px;background:#e8f1ff;font-size:30px;font-weight:1000;text-align:center}.target-line{position:relative;width:78%;height:12px;border-radius:12px;background:#8fa9a5}.target-line i{position:absolute;left:calc((var(--at) - 10)*4%);top:50%;width:20px;height:20px;border:4px solid #fff;border-radius:50%;background:#829c98;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #516f6c}.target-line i.goal{background:#e99b3f}.target-line i.current{width:35px;height:35px;background:#36a07a;box-shadow:0 0 0 7px #36a07a33}.target-line b{position:absolute;top:25px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px}.priority-maze{display:grid!important;grid-template-columns:1.2fr .8fr;gap:10px}.maze-map{position:relative;display:grid;grid-template-columns:repeat(2,1fr);gap:28px;padding:26px;background:repeating-linear-gradient(90deg,#d8e7e3 0 16px,#edf5f2 17px 32px)}.maze-map:before{content:"";position:absolute;left:25%;right:25%;top:50%;height:18px;background:#8fb2aa;transform:translateY(-50%)}.maze-room{z-index:1;display:grid;place-items:center;min-height:85px;border:5px solid #809f98;border-radius:13px;background:#fff}.maze-room.visited{border-color:#318c6d;background:#dff5ea;animation:g5op-room .35s ease-out}.maze-room i{font-style:normal;font-weight:1000}.lumi-token{position:absolute;left:calc(18% + min(var(--step),1)*52%);top:calc(18% + max(var(--step) - 1,0)*52%);z-index:5;display:grid;place-items:center;width:42px;height:42px;border:4px solid #fff;border-radius:50%;background:#ef9b40;color:#fff;font-weight:1000;box-shadow:0 4px 0 #b96923;transition:left .45s,top .45s}.maze-decisions{display:flex;flex-direction:column;gap:7px;padding:10px;border-radius:14px;background:#e8f2ef}.maze-decisions span{display:flex;gap:6px;padding:8px;border-radius:8px;background:#fff}.maze-decisions span i{font-style:normal}.maze-decisions strong{margin-top:auto}.support-plates,.support-power,.support-tree,.support-ladder,.support-paths,.support-arrow,.support-train,.support-order,.support-boxes,.support-people,.support-ticket,.support-tasks,.support-shelves,.support-target,.support-numberline{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}.g5op-support span,.g5op-support b,.g5op-support i{padding:7px;border-radius:8px;background:#fff;font-size:10px;font-style:normal;font-weight:900}.support-ladder span{border-bottom:4px solid #4f9a83}.g5op-final{padding:30px;border:2px solid #a8d1c6;border-radius:22px;background:#edfaf5;text-align:center}.g5op-final-mark{display:grid;place-items:center;width:180px;height:120px;margin:auto;border:8px double #358c6b;border-radius:50%}.g5op-final-mark i{font-size:13px;font-style:normal;font-weight:1000}.g5op-final-mark b{font-size:9px}.g5op-report{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:18px}.g5op-report section{padding:11px;border-radius:11px;background:#fff}.g5op-report b,.g5op-report span{display:block;font-size:9px}.g5op-choices button:hover,.g5op-multi button:hover,.g5op-bank button:hover,.g5op-track button:hover{border-color:#e6953e;box-shadow:0 0 0 4px #e6953e22}.g5op-choices button:focus-visible,.g5op-multi button:focus-visible,.g5op-bank button:focus-visible,.g5op-track button:focus-visible,.g5op-help button:focus-visible,.g5op-check:focus-visible{outline:3px solid #f0a449;outline-offset:3px}@keyframes g5op-build{from{opacity:.3;transform:scale(.82) rotate(-3deg)}}@keyframes g5op-unlock{50%{transform:scale(1.05)}}@keyframes g5op-gate{from{transform:translateY(-18px);opacity:.35}}@keyframes g5op-stretch{from{transform:scaleX(.7)}}@keyframes g5op-package{0%{left:8%}50%{left:43%}100%{left:78%}}@keyframes g5op-arrive{from{transform:translateY(-12px)}}@keyframes g5op-ticket{from{transform:translateX(35px);opacity:.3}}@keyframes g5op-score{from{transform:scale(.9)}}@keyframes g5op-shake{25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}@keyframes g5op-room{from{transform:scale(.84)}}
@media(max-width:950px){.topic-lesson-shell:has(.grade5-operation-priority-board) .teacher-classroom{grid-template-columns:1fr;gap:7px;padding:8px}.topic-lesson-shell:has(.grade5-operation-priority-board) .lesson-teacher{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;grid-template-rows:70px 44px;gap:5px}.topic-lesson-shell:has(.grade5-operation-priority-board) .lesson-avatar{height:70px}.topic-lesson-shell:has(.grade5-operation-priority-board) .teacher-bubble{min-height:0;max-height:70px;margin:0;padding:6px}.topic-lesson-shell:has(.grade5-operation-priority-board) .talk-help{display:none}.topic-lesson-shell:has(.grade5-operation-priority-board) .narration-controls{grid-column:2;grid-row:2;margin:0}.topic-lesson-shell:has(.grade5-operation-priority-board) .raise-hand{grid-column:3;grid-row:1/3;min-height:44px}.topic-lesson-shell:has(.grade5-operation-priority-board){max-width:100%;overflow-x:hidden}.topic-lesson-shell:has(.grade5-operation-priority-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto 42px;gap:7px}.topic-lesson-shell:has(.grade5-operation-priority-board) .section-track{grid-column:1/-1;grid-row:2;width:100%;min-width:0}.topic-lesson-shell:has(.grade5-operation-priority-board) .skip-section,.topic-lesson-shell:has(.grade5-operation-priority-board) .lesson-time{display:none}.g5op-shell>main{grid-template-columns:1fr}.g5op-stage{min-height:430px}.g5op-report{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.g5op-shell{padding:7px;border-radius:16px}.g5op-shell>header{align-items:flex-start}.g5op-shell>header span{font-size:7px}.g5op-shell>header h1{font-size:15px}.g5op-progress{flex-basis:103px;height:27px}.g5op-visual{padding:6px}.g5op-stage{min-height:510px;justify-content:flex-start}.g5op-stage>div:first-child{min-height:275px;padding:7px}.g5op-panel{padding:14px}.g5op-panel h2{font-size:16px}.g5op-choices,.g5op-multi,.g5op-bank{grid-template-columns:1fr;gap:4px}.g5op-choices button,.g5op-multi button,.g5op-bank button{min-height:44px;padding:6px;font-size:9px}.g5op-track{grid-template-columns:repeat(2,minmax(0,1fr))}.g5op-track button{min-height:54px;padding:5px;font-size:8px}.square-forge{grid-template-columns:70px 1fr}.forge-rulers span{padding:5px;font-size:8px}.square-forge .g5op-square-grid{grid-template-columns:repeat(var(--n),30px);grid-template-rows:repeat(var(--n),30px)}.power-equation{font-size:20px}.cube-lab{grid-template-columns:1fr 115px}.cube-layer{grid-template-columns:repeat(2,42px);grid-template-rows:repeat(2,42px)}.layer-counter{padding:8px}.layer-counter b{font-size:14px}.power-bridge section{min-height:145px}.power-bridge .g5op-square-grid{grid-template-columns:repeat(var(--n),14px);grid-template-rows:repeat(var(--n),14px)}.expression-row{font-size:24px}.capsule{padding:12px}.capsule i{font-size:34px}.priority-gates{gap:3px}.priority-gates section{min-height:180px;padding:3px;border-width:2px;border-bottom-width:10px}.priority-gates i{width:40px;height:40px}.priority-gates b{font-size:7px}.bracket-comparator{grid-template-columns:1fr 85px}.elastic-bracket{font-size:17px;padding:10px}.number-path{gap:3px}.number-path span,.number-path b{width:38px;height:38px}.target-eight>i{width:60px;height:60px}.collapse-tower .floor{width:93%!important;font-size:9px}.conveyor{grid-template-columns:1fr 68px 68px}.machine{height:120px;border-width:3px}.conveyor>strong{font-size:14px}.station-route{gap:3px}.station{min-height:115px;padding:3px}.station i{width:42px;height:42px}.solution-board{width:80%;margin-left:17%;padding:10px}.solution-board span{font-size:12px}.magnifier{width:76px;height:76px}.story-receipt{grid-template-columns:1fr 145px}.badge-boxes section{min-height:75px}.badge-boxes section i{width:11px;height:11px}.receipt{padding:7px;font-size:8px}.passengers{grid-template-columns:repeat(7,17px);gap:3px}.passengers i{width:16px;height:16px}.vans>i{min-height:42px}.stage-curtain{width:94%;min-height:220px;border-width:7px}.tickets{gap:3px}.tickets i{width:32px;height:50px}.tile-studio{grid-template-columns:1fr}.mission-cards section{min-height:75px}.paper-steps{width:76%;margin-left:21%}.lens{left:2%;width:65px;height:65px}.operator-lock{gap:3px!important;font-size:19px}.operator-lock>span,.operator-lock>i,.operator-lock>b{min-width:39px;height:49px;padding:3px}.elastic-expression{font-size:18px;padding:12px}.priority-maze{grid-template-columns:1fr}.maze-map{min-height:220px}.maze-decisions{min-height:110px}.g5op-report{grid-template-columns:1fr}.g5op-support{margin-top:6px}.g5op-support>div{min-height:60px}}
@media(prefers-reduced-motion:reduce){.g5op-shell *{animation:none!important;transition:none!important}}
.lumi-token{left:18%;top:18%}.lumi-token.step-1{left:70%;top:18%}.lumi-token.step-2{left:18%;top:70%}.lumi-token.step-3{left:70%;top:70%}
.g5op-shell>main{grid-template-columns:minmax(0,1fr)}.g5op-panel{min-height:220px}.cube-layer.layer-1{transform:translate(-50%,-50%) rotateX(56deg) rotateZ(45deg)}.lens.row-1{top:16%}.lens.row-2{top:calc(16% + 58px)}.lens.row-3{top:calc(16% + 116px)}
.g5op-square-grid:not(.active) i{border-style:dashed;background:#fff;opacity:.42;box-shadow:none}
.power-meaning{grid-column:1/-1;display:grid;grid-template-columns:auto auto auto;align-items:center;justify-content:center;gap:5px 12px;margin:0 auto 10px;padding:9px 14px;border:2px solid #6eaa9c;border-radius:14px;background:#e8f7f2;text-align:center}.power-meaning b,.power-meaning strong{font-size:22px;color:#175f59}.power-meaning i{font-size:10px;font-style:normal;font-weight:900;color:#5e7d78}.power-meaning span{grid-column:1/-1;font-size:11px;font-weight:850;color:#315d59}@media(max-width:600px){.power-meaning{gap:3px 7px;padding:7px}.power-meaning b,.power-meaning strong{font-size:17px}.power-meaning span{font-size:9px}}

/* grade5-number-shape-patterns.css */
.grade5-number-shape-patterns-board{padding:0!important;overflow:auto;background:#061827!important;color:#eefaff;font-family:"Nunito",system-ui,sans-serif}.g5pt-shell{min-height:100%;background:radial-gradient(circle at 15% 0,#123c48 0,transparent 30%),linear-gradient(145deg,#061827,#0a2532 55%,#071b29);padding:20px;box-sizing:border-box}.g5pt-shell>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;max-width:1180px;margin:0 auto 16px}.g5pt-shell>header span,.g5pt-panel>span{font-size:11px;letter-spacing:.12em;font-weight:900;color:#78e6c5}.g5pt-shell h1{font-size:clamp(20px,2.5vw,34px);line-height:1.05;margin:5px 0 0}.g5pt-progress{width:190px;min-width:150px;height:34px;border:1px solid #ffffff24;border-radius:999px;position:relative;overflow:hidden;background:#ffffff0b;display:flex;align-items:center;justify-content:center}.g5pt-progress i{position:absolute;inset:0 auto 0 0;width:var(--p);background:linear-gradient(90deg,#22c99a,#f6c856);opacity:.45}.g5pt-progress b{position:relative}.g5pt-shell>main{max-width:1180px;margin:auto;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:16px;align-items:stretch}.g5pt-visual,.g5pt-panel{border:1px solid #ffffff1d;border-radius:24px;background:#ffffff0b;box-shadow:0 18px 50px #0008;min-width:0}.g5pt-visual{padding:14px;display:flex;flex-direction:column;gap:12px}.g5pt-stage{min-height:430px;display:flex;flex-direction:column;justify-content:center;gap:14px;overflow:hidden;border-radius:18px;background:linear-gradient(160deg,#0b2f3a,#09222f);isolation:isolate;position:relative}.g5pt-panel{padding:22px;display:flex;flex-direction:column;gap:14px}.g5pt-panel h2{font-size:clamp(18px,2vw,25px);line-height:1.25;margin:0}.g5pt-message{margin:auto 0 0;padding:12px 14px;border-left:4px solid #3ed6ad;background:#00121d99;border-radius:8px;font-size:14px;line-height:1.45}.g5pt-message.retry{border-color:#ffb15c}.g5pt-check{min-height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,#38d4a6,#1a9e86);color:#04221e;font-weight:1000;font-size:16px;box-shadow:0 8px 24px #22d3a340}.g5pt-check:disabled{filter:grayscale(1);opacity:.38;box-shadow:none}.g5pt-result{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #6ff2c7;background:#0a4a3d80;border-radius:14px}.g5pt-result i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#6ff2c7;color:#073129;font-style:normal;font-weight:1000;flex:0 0 auto}.g5pt-result p{margin:0;line-height:1.45}.g5pt-choices,.g5pt-multi,.g5pt-bank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px}.g5pt-choices button,.g5pt-multi button,.g5pt-bank button,.g5pt-track button{min-height:50px;border:1px solid #ffffff2b;border-radius:12px;background:#0c3542;color:#f6fbff;font-weight:800;text-align:left;padding:9px;display:flex;align-items:center;gap:8px}.g5pt-choices button>i,.g5pt-multi button>i{display:grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:#ffffff16;font-style:normal}.g5pt-choices button.selected,.g5pt-multi button.selected{border-color:#f5cd61;box-shadow:0 0 0 2px #f5cd6135}.g5pt-choices button.correct,.g5pt-multi button.correct,.g5pt-track button.correct{border-color:#63efbf;background:#0f5848}.g5pt-choices button.wrong,.g5pt-multi button.wrong,.g5pt-track button.wrong{border-color:#ff9d68;background:#5b2a28}.g5pt-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.g5pt-bank button:disabled{opacity:.34}.g5pt-track{display:grid;gap:6px;padding:0 12px 12px}.g5pt-track button{min-height:46px}.g5pt-track button b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffff16}.g5pt-track button:not(.filled){opacity:.56}.g5pt-support{border:1px dashed #f6c856;border-radius:14px;padding:10px 12px;background:#3b2a0e99}.g5pt-support>span{display:block;font-size:10px;font-weight:1000;letter-spacing:.12em;color:#ffd977;margin-bottom:8px}.g5pt-support>div{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.g5pt-support i,.g5pt-support b,.g5pt-support div>span{padding:7px 10px;background:#ffffff10;border-radius:8px;font-style:normal}.g5pt-help{display:flex;gap:10px}.g5pt-help button{min-height:48px;padding:0 18px;border-radius:12px;border:1px solid #244d59;background:#e8faf5;color:#123a41;font-weight:900}.g5pt-shell button:focus-visible{outline:3px solid #ffd464;outline-offset:3px}.g5pt-stage>div:first-child{width:calc(100% - 24px);margin:0 auto;box-sizing:border-box}.g5pt-stage strong{letter-spacing:.05em}.g5pt-stage section,.g5pt-stage div,.g5pt-stage i{box-sizing:border-box}

.light-stone,.path-stone,.group-stone,.preview-stone,.creator-stone,.star-path,.match-path,.square-path,.bead-path{display:inline-block;width:17px;height:17px;border-radius:5px;background:#65e2c0;border:2px solid #baffed;box-shadow:0 4px 8px #0006;margin:2px}.new-seed,.base-seed{display:inline-block;width:13px;height:13px;border-radius:50%;margin:2px;background:#ffd161;border:2px solid #fff0a8}.new-seed{background:repeating-linear-gradient(45deg,#ff8f63 0 4px,#ffd161 4px 8px)}
.seed-jars,.shape-steps,.step-towers{display:flex;justify-content:center;align-items:flex-end;gap:14px}.seed-jars section,.shape-steps section,.step-towers section{display:grid;gap:6px;text-align:center}.seed-jars .jar{width:104px;height:132px;border:4px solid #7ee5d1;border-top:12px solid #58baa9;border-radius:12px 12px 30px 30px;padding:12px 8px;display:flex;align-content:flex-end;flex-wrap:wrap;justify-content:center;background:#73d9cb17;box-shadow:inset 0 -12px 20px #2f8b8260,0 12px 24px #0005}.seed-jars span,.shape-steps span,.step-towers span{font-size:11px;font-weight:1000;color:#89e9d1}.difference-rail{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px}.difference-rail>b{padding:7px 11px;border-radius:9px;background:#153e4b}.difference-rail .difference{font-style:normal;color:#ffd36a;opacity:0;transform:scale(.5)}.difference-rail .difference.shown{opacity:1;transform:scale(1);transition:.3s}.seed-day-rail>strong,.triple-scaffold>strong,.base-split-towers>strong,.rule-proof-console>strong,.same-rule-gallery>strong,.constant-difference-scanner>strong,.boundary-sorter>strong{display:block;text-align:center;color:#ffd36a;margin-top:8px}
.shape-steps section{padding:9px;border:1px solid #ffffff20;border-radius:12px;min-width:120px}.shape-steps section>div{display:grid;grid-template-columns:repeat(3,21px);justify-content:center;min-height:72px;align-content:center}.shape-steps section.docked{border-color:#67e5bd;transform:translateY(6px)}.step-table{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:460px;margin:12px auto}.step-table span{display:flex;gap:10px;align-items:center;justify-content:center;padding:9px;border-radius:10px;background:#ffffff0e}.step-table em{font-style:normal;color:#ffd36a;font-weight:1000}
.near-step-ribbon .jump{display:flex;align-items:center;justify-content:center;gap:16px;margin:22px auto}.near-step-ribbon .jump>*{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#123f4d}.near-step-ribbon .jump i{font-style:normal;background:#6f4d18;color:#ffe18d;animation:g5ptPulse 1.7s infinite}.near-step-ribbon .jump strong{font-size:28px;border:3px solid #ffd36a}.near-step-ribbon .target{display:block;text-align:center;font-weight:1000}.near-step-ribbon .target.hit{color:#64efbf}
.triple-scaffold{display:flex;gap:10px;align-items:flex-end;justify-content:center;flex-wrap:wrap}.triple-scaffold section{padding:9px;border-radius:12px;background:#ffffff0d;text-align:center}.triple-scaffold section>div{display:flex;gap:7px;align-items:flex-end;min-height:96px}.triple-scaffold section>div>i{display:flex;flex-direction:column;border:1px dashed #ffffff35;padding:4px}.triple-scaffold.grouped section>div>i{border-color:#ffd36a;background:#ffd36a12}.triple-scaffold span{font-size:10px;color:#7fe3ca}.triple-scaffold strong{width:100%}
.base-split-towers{display:flex;align-items:flex-end;justify-content:center;gap:18px;flex-wrap:wrap}.base-split-towers section{text-align:center}.base-split-towers .grow{max-width:120px;min-height:110px;display:grid;grid-template-columns:repeat(3,21px);align-content:end;padding:7px;border:1px dashed #ffffff28;border-radius:10px}.base-split-towers .base-lantern{display:block;width:28px;height:28px;margin:6px auto;color:#ffd36a;font-style:normal}.base-split-towers[style*="--done:2"] .base-lantern,.base-split-towers[style*="--done:3"] .base-lantern{transform:translateY(7px);filter:drop-shadow(0 0 9px #ffd36a)}.base-split-towers strong{width:100%}
.transparent-rule-machine{display:grid;grid-template-columns:90px 1fr 90px;gap:12px;align-items:center}.machine-input,.machine-output{display:grid;gap:8px;text-align:center}.machine-input b,.machine-output b{padding:9px;border-radius:10px;background:#173e49}.glass-body{min-height:170px;border:3px solid #6bdcc7;border-radius:24px;background:#7debd019;display:flex;align-items:center;justify-content:center;gap:12px;position:relative;box-shadow:inset 0 0 30px #3dd1b126}.glass-body .module{padding:15px;border-radius:12px;background:#ffd268;color:#322308;font-weight:1000;z-index:2}.glass-body .gears{position:absolute;bottom:12px;color:#74dcc6;font-size:28px;letter-spacing:18px}.transparent-rule-machine.running .gears{animation:g5ptSpin 1.2s linear infinite}.transparent-rule-machine.running .machine-output b{background:#13664f;color:#afffdf}
.rule-proof-console{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.rule-proof-console section{text-align:center;padding:12px;border:1px solid #ffffff24;border-radius:14px}.test-tube{width:58px;height:94px;margin:10px auto;border:3px solid #89e5d1;border-radius:8px 8px 24px 24px;display:grid;place-items:center;font-size:28px;background:linear-gradient(0deg,#1fd59c30 0 15%,transparent 15%)}.rule-proof-console section.passed .test-tube{background:linear-gradient(0deg,#31d9a0 0 70%,transparent 70%);color:#06271f}.rule-proof-console>strong{grid-column:1/-1}
.horizon-step-lens{display:grid;grid-template-columns:1fr 190px;gap:20px;align-items:center}.near-field{display:flex;gap:8px;align-items:flex-end;justify-content:center}.near-field i{font-style:normal;padding:10px;border-radius:10px;background:#153c47;display:grid;text-align:center}.near-field span{font-size:10px;color:#85e0cb}.lens{border:7px solid #d8b34e;border-radius:50%;aspect-ratio:1;display:grid;place-items:center;text-align:center;background:radial-gradient(circle,#184b55 0 55%,#06202b 56%);box-shadow:0 0 30px #f6c85622}.lens>*{grid-area:1/1}.lens span{transform:translateY(-45px);font-size:11px}.lens strong{transform:translateY(38px);font-size:25px}.lens b{font-size:12px}.horizon-step-lens.focused .lens{box-shadow:0 0 42px #ffd46788}.route-meter{grid-column:1/-1;height:15px;background:#ffffff13;border-radius:999px;position:relative}.route-meter i{display:block;width:calc(min(var(--steps),12) * 8%);height:100%;border-radius:inherit;background:#ffd36a;transition:.4s}.route-meter span{position:absolute;right:0;top:20px;font-size:11px}
.language-symbol-bridge{display:grid;grid-template-columns:1fr 140px 1fr;gap:14px;align-items:center}.word-bank,.bridge-pieces{display:grid;gap:10px}.word-bank span,.bridge-pieces i{padding:13px;border-radius:10px;background:#153f4b;text-align:center;font-style:normal;font-weight:1000}.bridge-pieces i{background:#e0b752;color:#322500;transform:rotate(-4deg)}.symbol-gate{min-height:140px;border:4px solid #7bdcc8;border-radius:60px 60px 12px 12px;display:grid;place-items:center;text-align:center;background:#ffffff0b}.language-symbol-bridge.open .bridge-pieces i{transform:rotate(0);box-shadow:0 0 18px #ffd36a}.language-symbol-bridge.open .symbol-gate{background:#1f8d6b55}
.reverse-step-elevator .elevator-shaft{height:260px;max-width:310px;margin:auto;border:4px solid #6bd8c4;border-radius:18px;position:relative;background:linear-gradient(90deg,#ffffff08,#ffffff02);overflow:hidden}.elevator-shaft section{position:absolute;left:12px;right:12px;display:flex;justify-content:space-between;padding:7px 10px;border-bottom:1px dashed #ffffff30}.elevator-shaft .top{top:5px}.elevator-shaft .floor:nth-of-type(2){top:70px}.elevator-shaft .floor:nth-of-type(3){top:135px}.elevator-shaft .bottom{bottom:5px}.elevator-shaft .car{position:absolute;right:35px;top:calc(26px + var(--floor) * 57px);width:92px;height:42px;border-radius:9px;background:#ffd164;color:#332400;display:grid;place-items:center;font-style:normal;font-weight:1000;transition:.45s cubic-bezier(.2,.8,.2,1);box-shadow:0 8px 20px #0006}
.start-knob-lab,.growth-dial-lab{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:center}.knob,.dial{width:120px;height:120px;border-radius:50%;border:8px solid #2f6f76;background:#0d3540;display:grid;place-items:center;text-align:center;position:relative}.knob i,.dial i{position:absolute;width:7px;height:46px;background:#ffd36a;top:8px;transform-origin:50% 52px;transform:rotate(var(--turn,0deg));border-radius:5px}.knob>*:not(i),.dial>*:not(i){grid-area:1/1}.knob span{transform:translateY(28px);font-size:10px}.start-slider{position:relative;padding-top:38px}.start-slider:before{content:"";height:12px;border-radius:999px;background:#ffffff15;display:block}.start-slider i{position:absolute;top:28px;left:calc(var(--pos) - 18px);width:36px;height:36px;border-radius:50%;background:#ffd36a}.start-slider b{display:block;text-align:center;margin-top:12px}.start-knob-lab .step-towers{grid-column:1/-1}.step-towers section>div{display:grid;grid-template-columns:repeat(5,18px);min-height:100px;align-content:end;max-width:110px}.growth-preview{display:flex;align-items:flex-end;gap:8px;min-height:150px}.growth-preview>i{display:grid;grid-template-columns:repeat(5,19px);align-content:end;padding:5px;border:1px dashed #ffffff28}.fixed-base{grid-column:1/-1;text-align:center;color:#ffd36a}.growth-dial-lab>strong{grid-column:1/-1;text-align:center;color:#ffd36a}
.wrong-rule-lens{position:relative;min-height:260px;padding-top:35px}.student-rule{display:flex;align-items:center;justify-content:center;gap:7px;font-size:26px}.student-rule>*{padding:12px;border-radius:10px;background:#153e49}.student-rule .caught{background:#7a312c;box-shadow:0 0 0 4px #ff9b68}.wrong-rule-lens>.lens{position:absolute;width:110px;left:calc(var(--x) - 55px);top:15px;pointer-events:none;border-width:5px;transition:.35s}.wrong-rule-lens>.lens span{transform:translateY(40px);font-size:10px}
.same-rule-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.same-rule-gallery section{border:1px solid #ffffff20;border-radius:12px;padding:9px}.same-rule-gallery section>div{min-height:62px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.same-rule-gallery section.selected{border-color:#f4cb61}.same-rule-gallery section.valid{background:#1b74564f}.same-rule-gallery section.invalid{background:#7e32294f}.same-rule-gallery>strong{grid-column:1/-1}.star-path{clip-path:polygon(50% 0,61% 37%,100% 37%,68% 59%,79% 100%,50% 75%,21% 100%,32% 59%,0 37%,39% 37%);background:#ffd36a}.match-path{width:6px;height:24px;border-radius:3px;background:#ff9f69}.bead-path{border-radius:50%;background:#a791ff}
.constant-difference-scanner{position:relative;display:grid;gap:8px}.constant-difference-scanner section{padding:8px;border-radius:12px;border:1px solid #ffffff18}.constant-difference-scanner section.scanned{border-color:#ffd36a}.scan-beam{position:absolute;left:0;right:0;height:3px;background:#ffd36a;box-shadow:0 0 14px #ffd36a;animation:g5ptScan 2.2s infinite;z-index:3}.constant-difference-scanner.accepted strong{color:#66efbd}.constant-difference-scanner.rejected strong{color:#ff9e6d}
.boundary-sorter .sort-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.sort-cards>i{display:grid;padding:12px;border-radius:12px;background:#123b47;border:1px solid #ffffff20;font-style:normal;text-align:center}.sort-cards>i.accepted{transform:translateY(10px);border-color:#62efbc;background:#155d4b}.sort-cards>i.rejected{transform:translateY(-4px);border-color:#ff9d69;background:#5b2c29}.sort-cards b{font-size:10px}.sort-bins{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.sort-bins span{padding:10px;text-align:center;border:2px dashed #62e8bd;border-radius:12px}.sort-bins span+span{border-color:#ff9d69}
.pattern-creator-studio{display:grid;gap:12px}.studio-layers{display:grid;grid-template-columns:130px 1fr;gap:12px}.studio-layers section{min-height:135px;border:2px dashed #ffffff24;border-radius:14px;padding:10px;opacity:.25}.studio-layers section.visible{opacity:1;border-color:#68e9c1}.fixed-lantern{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffd36a;margin:4px}.growing>i{display:flex;flex-wrap:wrap;margin:5px}.rule-plate{text-align:center;padding:12px;background:#183e48;border-radius:12px;font-size:21px;font-weight:1000}.test-stamps{display:flex;justify-content:center;gap:10px}.test-stamps i{padding:8px;border:2px dashed #ffffff25;border-radius:50%;font-style:normal}.test-stamps i.stamped{border-color:#ffd36a;color:#ffd36a;transform:rotate(-4deg)}
.lumi-pattern-bridge{display:grid;grid-template-columns:90px 1fr 120px;align-items:end;gap:0;min-height:300px;padding:20px}.cliff{height:120px;background:#18383f;display:grid;place-items:center;text-align:center;border-top:8px solid #65d7b6}.bridge{height:170px;position:relative;display:flex;align-items:flex-end;gap:5px;padding-bottom:75px}.bridge:before{content:"";position:absolute;left:0;right:0;bottom:0;height:65px;background:#020e17}.bridge section{flex:1;min-height:62px;border:3px dashed #ffffff28;border-radius:10px;padding:5px;text-align:center;opacity:.45}.bridge section.placed{opacity:1;border-style:solid;border-color:#ffd36a;background:#644e1f;box-shadow:0 8px 15px #0007}.bridge section span{font-size:10px;display:block}.walker{position:absolute;left:calc(var(--step,0) * 30%);bottom:145px;color:#7df0c7;font-style:normal;font-size:24px;transition:.5s}.walker.step-1{left:20%}.walker.step-2{left:50%}.walker.step-3{left:82%}.lumi-pattern-bridge>strong{grid-column:1/-1;text-align:center;margin-top:12px;color:#ffd36a}

.g5pt-final{max-width:900px;margin:auto;min-height:560px;padding:40px;display:grid;place-items:center;text-align:center;background:radial-gradient(circle,#155444,#071923 62%);border-radius:28px}.g5pt-final-mark{width:230px;height:230px;border-radius:50%;display:grid;place-items:center;border:10px double #f4cb61;background:#0c302f;box-shadow:0 0 50px #31d5a955}.g5pt-final-mark>*{grid-area:1/1}.g5pt-final-mark i{transform:translateY(-25px);font-style:normal;font-size:11px;color:#ffd36a}.g5pt-final-mark b{transform:translateY(18px);font-size:22px}.g5pt-final>span{color:#6decc4;font-weight:1000;letter-spacing:.12em}.g5pt-report{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:100%}.g5pt-report section{padding:12px;border-radius:12px;background:#ffffff0c;display:grid;gap:5px}.g5pt-report span{font-size:11px}

@keyframes g5ptPulse{50%{transform:scale(1.08);box-shadow:0 0 22px #ffd36a88}}@keyframes g5ptSpin{to{transform:rotate(360deg)}}@keyframes g5ptScan{0%,100%{top:8%}50%{top:78%}}
@media(max-width:800px){.g5pt-shell{padding:12px}.g5pt-shell>header{align-items:flex-start}.g5pt-shell>header h1{font-size:21px}.g5pt-progress{width:110px;min-width:110px}.g5pt-shell>main{grid-template-columns:1fr}.g5pt-stage{min-height:380px}.g5pt-panel{padding:16px}.g5pt-choices,.g5pt-multi,.g5pt-bank{grid-template-columns:1fr}.g5pt-track button{min-height:52px}.g5pt-stage>div:first-child{width:calc(100% - 14px)}.seed-jars{gap:5px}.seed-jars .jar{width:78px;height:105px;padding:7px 4px}.new-seed,.base-seed{width:10px;height:10px;margin:1px}.shape-steps{gap:5px}.shape-steps section{min-width:88px;padding:5px}.shape-steps section>div{grid-template-columns:repeat(3,18px)}.rule-proof-console{gap:5px}.rule-proof-console section{padding:6px}.test-tube{width:46px;height:72px}.transparent-rule-machine{grid-template-columns:58px 1fr 58px;gap:5px}.glass-body{min-height:135px;gap:4px}.glass-body .module{padding:9px 5px}.horizon-step-lens{grid-template-columns:1fr 130px}.near-field{gap:3px}.near-field i{padding:7px 4px}.language-symbol-bridge{grid-template-columns:1fr 85px 1fr;gap:5px}.word-bank span,.bridge-pieces i{padding:8px 4px;font-size:11px}.symbol-gate{min-height:120px}.start-knob-lab,.growth-dial-lab{grid-template-columns:100px 1fr}.knob,.dial{width:88px;height:88px}.growth-preview>i{grid-template-columns:repeat(5,13px)}.preview-stone{width:11px;height:11px;margin:1px}.same-rule-gallery{grid-template-columns:1fr}.boundary-sorter .sort-cards{grid-template-columns:1fr}.studio-layers{grid-template-columns:90px 1fr}.lumi-pattern-bridge{grid-template-columns:55px 1fr 70px;padding:8px;font-size:11px}.bridge section span{font-size:8px}.g5pt-report{grid-template-columns:1fr 1fr}.g5pt-final{padding:22px}.g5pt-choices button,.g5pt-multi button,.g5pt-bank button,.g5pt-track button,.g5pt-check,.g5pt-help button{min-height:48px}}
@media(max-width:430px){.g5pt-stage{min-height:350px}.g5pt-shell>header span{font-size:9px}.g5pt-panel h2{font-size:18px}.g5pt-choices button,.g5pt-multi button,.g5pt-bank button{font-size:12px}.light-stone,.path-stone,.group-stone,.creator-stone{width:13px;height:13px;margin:1px}.base-split-towers{gap:6px}.base-split-towers .grow{grid-template-columns:repeat(3,16px);min-height:88px}.seed-jars section>span,.shape-steps section>span{font-size:8px}.difference-rail{gap:3px}.difference-rail>b{padding:5px 7px}.triple-scaffold{gap:4px}.triple-scaffold section{padding:5px}.triple-scaffold section>div{min-height:75px}.rule-proof-console section b{font-size:9px}.reverse-step-elevator .elevator-shaft{height:240px}.same-rule-gallery section>div{min-height:48px}.g5pt-final-mark{width:180px;height:180px}.g5pt-report{grid-template-columns:1fr}}
.g5pt-shell>main{max-width:760px;grid-template-columns:minmax(0,1fr)}
.g5pt-choices,.g5pt-multi,.g5pt-bank,.g5pt-track{box-sizing:border-box;max-width:100%;min-width:0}.g5pt-choices,.g5pt-multi{grid-template-columns:minmax(0,1fr)}.g5pt-choices button,.g5pt-multi button{min-width:0;overflow-wrap:anywhere}
.transparent-rule-machine{grid-template-columns:42px minmax(0,1fr) 42px;max-width:100%;overflow:hidden}.machine-input,.machine-output{min-width:0;font-size:10px}.glass-body{min-width:0}.glass-body .module{padding:12px 8px;font-size:12px;text-align:center}
.horizon-step-lens{grid-template-columns:minmax(0,1fr) 130px;overflow:hidden}.near-field,.route-meter{min-width:0}
.wrong-rule-lens,.start-knob-lab,.growth-dial-lab,.lumi-pattern-bridge,.lumi-pattern-bridge .bridge{max-width:100%;overflow:hidden}.start-slider{min-width:0;margin:0 18px}
@media(max-width:900px){body:has(.grade5-number-shape-patterns-board) .lesson-time{display:none}}
@media(prefers-reduced-motion:reduce){.g5pt-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* grade5-arithmetic-algorithms.css */
.grade5-arithmetic-algorithms-board{padding:0!important;overflow:auto;background:radial-gradient(circle at 18% 12%,#dff6ff 0 15%,transparent 36%),linear-gradient(145deg,#eef9fb,#dcecef 55%,#f8f0db);color:#17323b}
.g5aa-shell{--ink:#17323b;--navy:#163f50;--blue:#1e7b96;--cyan:#52c5d6;--teal:#22a58a;--gold:#f2b84b;--orange:#ed7c4a;--paper:#fffdf6;min-height:100%;padding:18px 20px 22px;box-sizing:border-box;font-family:"Avenir Next","Segoe UI",sans-serif;position:relative;isolation:isolate}
.g5aa-shell:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#1d708e10 1px,transparent 1px),linear-gradient(90deg,#1d708e10 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,#0008,transparent 70%)}
.g5aa-shell>header{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1220px;margin:0 auto 14px}.g5aa-shell>header span{display:block;font-size:11px;letter-spacing:.12em;font-weight:900;color:#23718a}.g5aa-shell>header h1{font-size:clamp(22px,2.3vw,34px);line-height:1.04;margin:5px 0 0;color:#153b49;max-width:850px}.g5aa-progress{width:150px;flex:0 0 150px;height:40px;background:#fff;border:2px solid #b8d9df;border-radius:999px;display:flex;align-items:center;padding:5px;box-sizing:border-box;position:relative;overflow:hidden;box-shadow:0 7px 18px #24556b1a}.g5aa-progress i{position:absolute;inset:5px auto 5px 5px;width:calc(var(--p) - 10px);max-width:calc(100% - 10px);border-radius:999px;background:linear-gradient(90deg,var(--cyan),var(--teal));transition:width .35s ease}.g5aa-progress b{margin:auto;z-index:1;font-size:13px;color:#103949}
.g5aa-shell>main{max-width:1220px;margin:auto;display:grid;grid-template-columns:minmax(0,1.52fr) minmax(320px,.78fr);gap:16px;align-items:stretch}.g5aa-visual,.g5aa-panel{background:#fffdf9dd;border:2px solid #bbd9dc;border-radius:26px;box-shadow:0 18px 42px #244c5c20;min-height:500px}.g5aa-visual{padding:16px;display:grid;grid-template-rows:1fr auto;gap:12px;overflow:hidden}.g5aa-stage{min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:12px}.g5aa-panel{padding:28px 24px;display:flex;flex-direction:column;justify-content:center}.g5aa-panel>span{font-size:11px;font-weight:950;letter-spacing:.12em;color:#bf693c}.g5aa-panel h2{font-size:clamp(19px,1.8vw,27px);line-height:1.22;margin:9px 0 18px;color:#153a48}.g5aa-check{border:0;border-radius:16px;background:linear-gradient(135deg,#1a829d,#1da883);color:#fff;min-height:54px;padding:12px 18px;font-weight:900;font-size:16px;box-shadow:0 9px 0 #11637c,0 14px 22px #145c6e2b;cursor:pointer}.g5aa-check:disabled{filter:grayscale(.8);opacity:.46;box-shadow:none;cursor:not-allowed}.g5aa-message{border-left:4px solid #69bed0;padding:11px 12px;margin:18px 0 0;background:#edf9fb;border-radius:0 12px 12px 0;font-size:14px;line-height:1.4}.g5aa-message.retry{border-color:#e97854;background:#fff2eb}.g5aa-result{display:flex;align-items:flex-start;gap:10px;padding:15px;border-radius:17px;background:#e7f8ef;border:2px solid #78cda6}.g5aa-result i{font-style:normal;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#16946c;color:white;font-weight:900;flex:none}.g5aa-result p{margin:1px 0 0;line-height:1.42;font-weight:700}.g5aa-help{display:flex;gap:10px}.g5aa-help button{min-height:46px;padding:9px 18px;border-radius:14px;border:2px solid #87bac5;background:#f7ffff;color:#174554;font-weight:900;cursor:pointer}.g5aa-support{border:2px dashed #d7a44c;border-radius:17px;background:#fff9df;padding:10px 13px;display:flex;align-items:center;gap:14px;min-height:58px}.g5aa-support>span{font-size:10px;font-weight:950;letter-spacing:.13em;color:#a45d2d;flex:none}.g5aa-support>div{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;flex:1}.g5aa-support span,.g5aa-support b,.g5aa-support i{font-style:normal;padding:6px 9px;border-radius:8px;background:white;border:1px solid #e3c783;font-size:12px}
.g5aa-choices,.g5aa-multi{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.g5aa-multi{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.g5aa-choices button,.g5aa-multi button,.g5aa-bank button,.g5aa-track button{min-height:48px;border:2px solid #a9cbd1;background:white;border-radius:13px;padding:8px 10px;color:#173a46;font-weight:800;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer}.g5aa-choices button>i,.g5aa-multi button>i{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#e0f2f5;font-style:normal;flex:none}.g5aa-choices button.selected,.g5aa-multi button.selected{border-color:#287f98;background:#e9faff}.g5aa-choices button.correct,.g5aa-multi button.correct{border-color:#1aa378;background:#e2f8ef}.g5aa-choices button.wrong,.g5aa-multi button.wrong{border-color:#d96343;background:#fff0e9;animation:g5aa-shake .26s}.g5aa-bank{display:flex;flex-wrap:wrap;gap:7px}.g5aa-bank button{min-height:42px;flex:1 1 145px}.g5aa-bank button:disabled{opacity:.35}.g5aa-track{display:grid;gap:6px;margin-top:7px}.g5aa-track button{min-height:40px;padding:6px 9px}.g5aa-track button b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e1f2f4;flex:none}.g5aa-track button.filled{border-color:#4e9dae}.g5aa-track button.correct{border-color:#24a67b;background:#e6f9f1}.g5aa-track button.wrong{border-color:#db6d4d;background:#fff1eb}
.flow-shape{height:48px;min-width:110px;padding:0 12px;display:grid;place-items:center;background:#fff;border:3px solid #2a6f82;box-sizing:border-box;font-weight:900;font-size:12px;position:relative;transition:.25s}.flow-shape.terminator{border-radius:999px}.flow-shape.input{transform:skew(-12deg);background:#e8f8fa}.flow-shape.input span{transform:skew(12deg)}.flow-shape.process{border-radius:8px;background:#fff8df}.flow-shape.decision{width:92px;height:92px;min-width:92px;transform:rotate(45deg);background:#fff0df}.flow-shape.decision span{transform:rotate(-45deg);text-align:center}.flow-shape.active{border-color:#1fa47d;box-shadow:0 0 0 5px #4fcba83a}
.capsule-conveyor{display:grid;gap:10px}.conveyor-bed{height:210px;border-radius:24px;background:linear-gradient(#cce5eb 0 52%,#71929b 53% 67%,#3e616b 68%);position:relative;overflow:hidden;perspective:500px}.belt{position:absolute;left:4%;right:4%;top:57%;height:52px;border-radius:12px;background:repeating-linear-gradient(90deg,#344f57 0 28px,#81999f 29px 34px);transform:rotateX(58deg);box-shadow:0 18px 18px #1d39484b}.machine{position:absolute;top:24px;width:26%;height:72px;border-radius:18px;background:linear-gradient(#f8ffff,#a8d6df);border:3px solid #36788b;display:grid;place-items:center;z-index:3}.machine b{position:absolute;top:-12px;width:26px;height:26px;border-radius:50%;background:#f4b648;display:grid;place-items:center}.machine span{font-size:11px;font-weight:950}.machine.place{left:5%}.machine.fill{left:37%}.machine.seal{right:5%}.capsule{position:absolute;top:124px;left:10%;width:58px;height:36px;border-radius:18px;background:#e6ffff;border:4px solid #2b7890;z-index:4;transition:transform .7s}.capsule span{position:absolute;inset:6px;border-radius:10px;background:#52d8be}.capsule-conveyor.running .capsule{transform:translateX(490px);animation:g5aa-capsule 2.1s infinite}.capsule-conveyor.jammed .capsule{filter:grayscale(1);animation:g5aa-shake .25s}.capsule-conveyor>strong,.instruction-rack strong,.broken-order-lab strong,.quality-loop>strong,.subtraction-robot>strong,.stop-condition-repair>strong,.decision-gate>strong{align-self:center;padding:7px 13px;border-radius:999px;background:#173f50;color:#fff;font-size:12px;letter-spacing:.08em}
.rack-machine{height:205px;border-radius:22px;background:linear-gradient(135deg,#d7edf2,#f8ffff);border:3px solid #6aa2af;display:grid;place-items:center;position:relative}.capsule-stage{width:150px;height:94px;border:4px solid #306e80;border-radius:18px;background:#cdeef2;display:flex;align-items:flex-end;justify-content:center;gap:5px;padding:12px;box-sizing:border-box;position:relative}.capsule-stage.s0{opacity:.25}.energy-dot{width:13px;height:13px;border-radius:50%;background:#f6bc42;opacity:0}.s2 .energy-dot,.s3 .energy-dot,.s4 .energy-dot{opacity:1;animation:g5aa-pop .35s both}.lid{position:absolute;left:12px;right:12px;top:-14px;height:14px;background:#527e88;border-radius:8px;transform-origin:left;transform:rotate(-28deg)}.s3 .lid,.s4 .lid{transform:rotate(0)}.rack-lights{position:absolute;right:18px;top:18px;display:flex;gap:6px}.rack-lights i{font-style:normal;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#9bb4ba;color:white}.rack-lights i.on{background:#27ae7e;box-shadow:0 0 14px #27ae7e}.rack-machine>b{position:absolute;bottom:12px;font-size:12px}
.broken-order-lab{display:grid;grid-template-columns:1fr 170px;gap:14px}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.timeline section{min-height:170px;border:3px solid #8ab5bf;border-radius:18px;background:#eef9fa;display:grid;place-items:center;position:relative}.timeline section b{width:32px;height:32px;border-radius:50%;background:#2b7790;color:#fff;display:grid;place-items:center}.timeline section span{font-weight:900}.timeline section.fault{border-color:#dc6746;background:#fff0e9;animation:g5aa-shake .28s}.spill{font-style:normal;font-size:30px;color:#f1ad37;opacity:.3}.timeline section.fault .spill{opacity:1;animation:g5aa-spill .8s infinite}.cause-window{border-radius:18px;background:#183f4d;color:#fff;display:grid;place-items:center;text-align:center;padding:14px}.cause-window i{width:70px;height:70px;border-radius:50%;border:8px solid #f2b84b;border-right-color:transparent}.cause-window strong{font-size:11px;line-height:1.4}
.command-dock{display:grid;grid-template-columns:1fr 110px;gap:12px}.command-slots{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.command-slots section{min-height:150px;border:3px dashed #7aaeb9;border-radius:16px;display:grid;place-items:center;text-align:center;padding:6px}.command-slots span{font-size:9px;font-weight:950;color:#4c7780}.command-slots b{font-size:13px}.command-slots section.filled{border-style:solid;background:#e4f8f1;border-color:#27a37b}.reject-bin{border-radius:16px;background:#d7e2e5;display:grid;place-items:center;text-align:center;padding:8px}.reject-bin.open{background:#ffebe3;border:3px solid #d86748}.reject-bin span{font-size:9px;font-weight:900}.reject-bin b{font-size:20px}
.live-pseudocode{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.code-lane{display:grid;gap:6px}.code-lane section{min-height:42px;border:2px solid #9fc4cb;border-radius:11px;display:flex;align-items:center;gap:10px;padding:5px 10px;background:#f7ffff}.code-lane i{font-style:normal;width:25px;height:25px;border-radius:7px;background:#d8e9ec;display:grid;place-items:center}.code-lane code{font-weight:800}.code-lane section.run{border-color:#2aa980;background:#e7f9f1}.number-screen{border-radius:20px;background:#143d4d;color:white;display:grid;place-items:center;align-content:center;gap:12px;position:relative;overflow:hidden}.number-screen span{font-size:10px;letter-spacing:.15em}.number-screen b{font-size:clamp(25px,4vw,42px)}.number-screen .pulse{position:absolute;width:100px;height:100px;border-radius:50%;border:3px solid #64d8cc;animation:g5aa-pulse 1.4s infinite}
.shape-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:center;justify-items:center;min-height:170px}.symbol-meter{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;background:#e8f5f6;border-radius:13px}.symbol-meter span{font-size:12px}.flow-builder{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px}.flow-spine{display:grid;justify-items:center}.flow-spine section{display:grid;justify-items:center}.flow-spine .arrow{font-style:normal;font-size:18px;color:#27829b}.token-tray{border-radius:20px;background:#183e4c;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:5px;padding:18px;color:white}.flow-token{width:16px;height:16px;border-radius:50%;background:#f3b743}.token-tray strong{width:100%;text-align:center;margin-top:10px}
.decision-gate{display:grid;grid-template-columns:1fr 120px 1fr;align-items:center;justify-items:center;gap:12px}.scale{width:150px;height:150px;border-radius:50%;border:8px solid #4e8795;background:#e6f5f6;display:grid;place-items:center;position:relative}.parcel{width:62px;height:48px;background:#d99b54;border-radius:8px;box-shadow:inset 0 -10px #b77738}.scale b{position:absolute;bottom:10px}.fork{width:180px;height:150px;position:relative}.fork:before,.fork:after{content:"";position:absolute;left:10px;top:70px;width:140px;height:8px;background:#9cb7bd;transform-origin:left;border-radius:8px}.fork:before{transform:rotate(-30deg)}.fork:after{transform:rotate(30deg)}.fork i{position:absolute;font-style:normal;font-weight:950;font-size:11px}.fork .yes{right:0;top:15px;color:#158963}.fork .no{right:0;bottom:15px;color:#c25e42}.route-parcel{position:absolute;width:28px;height:22px;background:#d99b54;left:0;top:62px;transition:.6s}.yes-open .route-parcel{transform:translate(135px,-58px)}.wrong-route .route-parcel{transform:translate(135px,58px)}.yes-open .fork:before{background:#24ac7d;box-shadow:0 0 10px #24ac7d}.decision-gate>strong{grid-column:1/-1}
.quality-loop{min-height:250px;display:grid;grid-template-columns:120px 1fr 120px;align-items:center;justify-items:center;position:relative}.level-tower{display:flex;flex-direction:column-reverse;gap:5px}.level-tower section{width:80px;height:42px;border:2px solid #8aafb7;border-radius:9px;background:#e3edef;display:flex;align-items:center;justify-content:space-around}.level-tower section.lit{background:#e8c44c;border-color:#bf8b24;box-shadow:0 0 14px #f2c84b}.level-tower i{width:14px;height:14px;border-radius:50%;background:#fff}.quality-loop svg{width:100%;height:190px;overflow:visible}.loop-path,.exit-path{fill:none;stroke:#68a8b5;stroke-width:12;stroke-linecap:round;stroke-dasharray:14 10;animation:g5aa-dash 1.4s linear infinite}.exit-path{stroke:#2aad7f}.quality-loop>strong{grid-column:1/-1}
.subtraction-robot{display:grid;grid-template-columns:1fr 130px 1.15fr;align-items:center;gap:12px}.parts-bin{min-height:190px;border:4px solid #5a8893;border-radius:18px;background:#e8f5f6;padding:12px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:6px;position:relative}.metal-part,.tray-part{width:20px;height:20px;border-radius:6px;background:linear-gradient(135deg,#8be0dd,#28959d);box-shadow:0 3px 0 #186c77}.parts-bin b{position:absolute;bottom:8px}.robot-arm{height:180px;position:relative}.robot-arm i{position:absolute;width:16px;height:105px;background:#ed8b4f;left:52px;top:28px;transform-origin:bottom;transform:rotate(calc(-35deg + var(--turn)*15deg));border-radius:10px;box-shadow:0 8px 0 #a85632}.robot-arm:after{content:"";position:absolute;width:64px;height:35px;border-radius:50%;background:#355f6b;left:28px;bottom:12px}.robot-arm span{position:absolute;top:4px;font-weight:900;font-size:11px}.full-trays{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.full-trays section{min-height:85px;border:3px dashed #9ab9bf;border-radius:13px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:4px;position:relative}.full-trays section.full{border-style:solid;border-color:#24a47b;background:#e9f8f1}.full-trays b{position:absolute;bottom:4px;font-size:9px}.subtraction-robot>strong{grid-column:1/-1}
.stop-condition-repair{display:grid;grid-template-columns:1fr 130px 1fr;align-items:center;justify-items:center;gap:14px}.remaining-parts{width:150px;height:130px;border:4px solid #658e98;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:8px;position:relative;background:#effafa}.loose-part{width:32px;height:32px;border-radius:8px;background:#5fc5cb}.remaining-parts b{position:absolute;bottom:8px}.route-sign{display:grid;grid-template-columns:1fr 1fr;width:160px;gap:7px;position:relative}.route-sign span{padding:10px 4px;border-radius:9px;background:#dae8ea;text-align:center;font-weight:900;font-size:10px}.route-sign i{position:absolute;left:75px;top:42px;width:12px;height:50px;background:#d86343;transform-origin:top}.stop-condition-repair.fixed .route-sign i{transform:rotate(-48deg);background:#1ba478}.stop-condition-repair>strong{grid-column:1/-1}.stop-condition-repair.warning .flow-shape{border-color:#d66343}
.cell-trays{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.cell-trays section{min-height:118px;border:3px solid #7aa9b3;border-radius:15px;background:#e9f7f7;display:flex;flex-wrap:wrap;gap:5px;align-content:center;justify-content:center;position:relative}.cell-trays section span{position:absolute;top:6px;font-size:9px;font-weight:950}.energy-cell{width:24px;height:30px;border-radius:7px;background:linear-gradient(#ffe277,#e8a62d);border:2px solid #a66d16}.sum-ribbon{margin-top:12px;padding:12px;border-radius:14px;background:#173f4f;color:#fff;display:flex;align-items:center;justify-content:center;gap:14px}.sum-ribbon strong{font-size:20px;color:#ffe071}
.trace-table{display:grid;grid-template-columns:160px 1fr;gap:18px;align-items:stretch}.energy-gauge{border-radius:22px;background:#173e4c;position:relative;overflow:hidden;min-height:230px;display:grid;place-items:center;color:white}.energy-gauge i{position:absolute;left:0;right:0;bottom:0;height:calc(var(--level)*3%);max-height:90%;background:linear-gradient(#ffe875,#e9a62d);transition:.35s}.energy-gauge b{z-index:1;font-size:36px;text-shadow:0 2px 4px #0005}.live-table{display:grid;grid-template-rows:45px repeat(4,1fr);border:3px solid #4a8492;border-radius:18px;overflow:hidden}.live-table header,.live-table section{display:grid;grid-template-columns:1fr 1fr}.live-table span,.live-table b{display:grid;place-items:center;border-right:1px solid #8eb7bf;padding:6px}.live-table header{background:#1d6578;color:white;font-weight:900}.live-table section{border-top:1px solid #a9c9ce}.live-table section.filled{background:#e5f8f0}.live-table section b{font-size:20px}
.expression-bridge{display:grid;grid-template-columns:180px 100px 1fr;align-items:center;gap:10px}.table-mini{display:grid;border:3px solid #548896;border-radius:15px;overflow:hidden}.table-mini span{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid #a9c9ce}.bridge-wires{height:180px;display:grid;align-content:space-around}.bridge-wires i{height:7px;border-radius:9px;background:#9dbdc3;transform:rotate(var(--r,0))}.bridge-wires i:nth-child(1){--r:15deg}.bridge-wires i:nth-child(3){--r:-15deg}.connected .bridge-wires i{background:#2bac80;box-shadow:0 0 9px #2bac80}.miswired .bridge-wires i{background:#dc6e4d}.formula-screen{min-height:160px;border-radius:20px;background:#173f4d;color:white;display:grid;place-items:center;text-align:center;padding:14px}.formula-screen b{font-size:clamp(19px,2.5vw,31px);color:#ffe073}.formula-screen span{font-size:12px}
.unit-price-conveyor{display:grid;grid-template-columns:160px 1fr 150px;gap:14px;align-items:center}.paper-pack{height:180px;border-radius:12px;background:repeating-linear-gradient(#fff 0 5px,#c9dce0 6px 7px);border:4px solid #39778a;display:grid;place-items:center;align-content:center;box-shadow:8px 10px 0 #214b57}.paper-pack b{font-size:38px}.paper-pack span{font-weight:900}.paper-pack i{font-style:normal;background:#f2b447;padding:5px 11px;border-radius:8px}.split-belt{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:15px;background:#d6e8eb;border-radius:16px}.split-belt section{height:105px;border:2px dashed #779da6;border-radius:8px;display:grid;place-items:center;opacity:.35;transform:translateY(16px)}.split-belt section.split{opacity:1;transform:none;background:white;transition:.4s}.price-stamp{border:4px solid #d39a2f;border-radius:18px;min-height:110px;display:grid;place-items:center;text-align:center;transform:rotate(-4deg);opacity:.5}.price-stamp.stamped{opacity:1;background:#fff4c9;animation:g5aa-stamp .35s}.price-stamp b{font-size:24px}
.remainder-lock{display:grid;gap:12px}.division-bays{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.division-bays section{min-height:125px;border:3px solid #7ba6b0;border-radius:16px;display:grid;place-items:center;background:#edf8f8}.division-bays section.solved{border-color:#25a77d;background:#e4f8ef}.remainder-chip{width:22px;height:22px;border-radius:50%;background:#f1b640;display:inline-block;margin:2px}.code-lock{display:flex;align-items:center;justify-content:center;gap:8px;background:#183f4e;border-radius:16px;padding:12px;color:white}.code-lock i{font-style:normal;width:48px;height:54px;border-radius:10px;background:#f4cf62;color:#193743;display:grid;place-items:center;font-size:28px;font-weight:950}.code-lock strong{margin-left:10px}.remainder-lock small{text-align:center;color:#4d7179;font-weight:800}
.route-workbench{position:relative}.representation-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.representation-rail section{min-height:190px;border:3px dashed #8aadb5;border-radius:17px;padding:9px;display:grid;place-items:center;text-align:center;opacity:.45;background:#f2fafa}.representation-rail section.online{opacity:1;border-style:solid;border-color:#269f7c;background:#e6f8f0}.representation-rail span{font-size:9px;font-weight:950}.representation-rail section>div{font-size:11px;font-weight:800}.representation-rail .flow-shape{min-width:80px;height:36px;margin:5px auto;font-size:9px}.representation-rail b{font-size:10px}.signal{position:absolute;top:-5px;left:calc((var(--step)*25%) - 2%);width:22px;height:22px;border-radius:50%;background:#f2b640;box-shadow:0 0 0 7px #f2b64044;transition:.4s}
.algorithm-speaker{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;align-items:center}.group-board{min-height:210px;border-radius:20px;background:#e4f2f4;border:3px solid #538894;display:grid;grid-template-columns:repeat(4,1fr) 90px;gap:7px;padding:12px}.group-board section{border:3px solid #26a27b;border-radius:13px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:4px;background:white}.group-chip,.remain-chip{width:18px;height:18px;border-radius:5px;background:#45bec5}.remainder{border:3px dashed #d79d30;border-radius:13px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:4px;position:relative}.remainder b{position:absolute;bottom:8px;font-size:9px}.remain-chip{background:#f0b33d}.speech-bubble{min-height:170px;border-radius:28px;background:#173e4c;color:white;padding:20px;display:grid;place-items:center;text-align:center;position:relative}.speech-bubble:before{content:"";position:absolute;left:-22px;top:45%;border:12px solid transparent;border-right-color:#173e4c}.speech-bubble span{line-height:1.45}.speech-bubble b{color:#ffe06e}.algorithm-speaker.explained .speech-bubble{background:#146f61}.algorithm-speaker.explained .speech-bubble:before{border-right-color:#146f61}
.g5aa-final{min-height:500px;display:grid;place-items:center;align-content:center;gap:18px;text-align:center;padding:28px}.g5aa-final-mark{width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,#fff7ce 0 43%,#f4bc46 44% 51%,#1b778e 52%);display:grid;place-items:center;align-content:center;box-shadow:0 20px 45px #1f576033}.g5aa-final-mark i{font-style:normal;font-size:9px;font-weight:950;letter-spacing:.09em}.g5aa-final-mark b{font-size:21px;max-width:140px}.g5aa-final>span{font-weight:950;color:#1b778f;letter-spacing:.14em}.g5aa-final h1{max-width:780px;margin:0;font-size:clamp(24px,3vw,40px)}.g5aa-report{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:min(100%,900px)}.g5aa-report section{background:#fff;border:2px solid #a9cdd2;border-radius:13px;padding:10px}.g5aa-report b,.g5aa-report span{display:block}.g5aa-report span{font-size:11px;margin-top:4px}.g5aa-final p{margin:0;font-weight:800}
@keyframes g5aa-capsule{0%{transform:translateX(0)}45%{transform:translateX(250px)}90%,100%{transform:translateX(490px)}}@keyframes g5aa-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes g5aa-spill{50%{transform:translateY(8px) scale(1.2)}}@keyframes g5aa-pop{from{transform:scale(0)}to{transform:scale(1)}}@keyframes g5aa-pulse{from{transform:scale(.3);opacity:1}to{transform:scale(1.6);opacity:0}}@keyframes g5aa-dash{to{stroke-dashoffset:-48}}@keyframes g5aa-stamp{from{transform:scale(1.5) rotate(-4deg)}to{transform:scale(1) rotate(-4deg)}}
@media(max-width:980px){.g5aa-shell>main{grid-template-columns:1fr}.g5aa-visual,.g5aa-panel{min-height:auto}.g5aa-panel{padding:18px}.g5aa-stage{min-height:400px}.g5aa-report{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.g5aa-shell{padding:12px}.g5aa-shell>header{align-items:flex-start}.g5aa-progress{width:110px;flex-basis:110px}.g5aa-shell>main{gap:10px}.g5aa-visual{padding:10px}.g5aa-stage{min-height:350px}.g5aa-choices{grid-template-columns:1fr}.g5aa-choices button,.g5aa-multi button{min-height:48px}.command-slots{grid-template-columns:repeat(5,minmax(80px,1fr));overflow-x:auto}.shape-grid{grid-template-columns:repeat(2,1fr)}.representation-rail{grid-template-columns:repeat(2,1fr)}.unit-price-conveyor{grid-template-columns:120px 1fr}.price-stamp{grid-column:1/-1}.decision-gate{grid-template-columns:1fr 110px 1fr}.g5aa-report{grid-template-columns:repeat(2,1fr)}}
@media(max-width:430px){.grade5-arithmetic-algorithms-board{overflow:auto}.g5aa-shell{padding:9px 8px 14px}.g5aa-shell>header{gap:8px;margin-bottom:8px}.g5aa-shell>header span{font-size:8px}.g5aa-shell>header h1{font-size:18px}.g5aa-progress{width:84px;flex-basis:84px;height:34px}.g5aa-progress b{font-size:11px}.g5aa-shell>main{display:block}.g5aa-visual,.g5aa-panel{border-radius:18px}.g5aa-visual{min-height:0}.g5aa-stage{min-height:420px;justify-content:flex-start}.g5aa-panel{margin-top:9px;padding:15px 13px}.g5aa-panel h2{font-size:18px;margin:7px 0 12px}.g5aa-message{font-size:12px;margin-top:12px}.g5aa-support{align-items:flex-start;flex-direction:column}.g5aa-help{display:grid;grid-template-columns:1fr 1fr;width:100%}.g5aa-help button{width:100%}.g5aa-bank{max-height:170px;overflow:auto}.g5aa-bank button{flex-basis:100%;font-size:12px}.g5aa-track button{font-size:11px}.conveyor-bed{height:180px}.machine{height:58px;top:22px}.machine span{font-size:8px}.capsule{top:112px}.capsule-conveyor.running .capsule{animation-name:g5aa-capsule-mobile}.broken-order-lab{grid-template-columns:1fr}.timeline section{min-height:100px}.cause-window{min-height:80px;grid-template-columns:70px 1fr}.command-dock{grid-template-columns:1fr}.command-slots{grid-template-columns:repeat(5,96px)}.command-slots section{min-height:105px}.reject-bin{min-height:55px;grid-template-columns:1fr 1fr}.live-pseudocode{grid-template-columns:1fr}.number-screen{min-height:120px}.shape-grid{min-height:220px}.flow-builder{grid-template-columns:1fr 1fr;gap:8px}.flow-shape{min-width:86px;font-size:10px}.flow-shape.decision{width:82px;height:82px;min-width:82px}.token-tray{padding:8px}.flow-token{width:11px;height:11px}.decision-gate{grid-template-columns:1fr 92px 1fr;gap:3px}.scale{width:90px;height:90px;border-width:5px}.parcel{width:42px;height:34px}.fork{width:100px}.yes-open .route-parcel{transform:translate(73px,-48px)}.wrong-route .route-parcel{transform:translate(73px,48px)}.quality-loop{grid-template-columns:80px 1fr 90px}.level-tower section{width:60px;height:34px}.quality-loop svg{height:160px}.subtraction-robot{grid-template-columns:1fr 70px 1.2fr}.parts-bin{min-height:150px}.metal-part,.tray-part{width:15px;height:15px}.robot-arm i{left:28px}.robot-arm:after{left:8px}.full-trays{gap:4px}.full-trays section{min-height:68px}.stop-condition-repair{grid-template-columns:1fr 84px 1fr;gap:4px}.remaining-parts{width:82px;height:100px}.route-sign{width:90px}.route-sign i{left:40px}.cell-trays{grid-template-columns:repeat(5,1fr);gap:3px}.cell-trays section{min-height:95px}.energy-cell{width:15px;height:22px}.cell-trays section span{font-size:7px}.sum-ribbon{font-size:10px}.sum-ribbon strong{font-size:14px}.trace-table{grid-template-columns:100px 1fr;gap:8px}.energy-gauge{min-height:210px}.expression-bridge{grid-template-columns:110px 40px 1fr}.table-mini span{font-size:10px;padding:6px}.formula-screen{padding:7px}.unit-price-conveyor{grid-template-columns:90px 1fr;gap:8px}.paper-pack{height:140px}.split-belt{padding:5px;gap:2px}.split-belt section{height:90px;font-size:9px}.division-bays{gap:4px}.division-bays section{min-height:115px;font-size:10px}.code-lock i{width:42px}.representation-rail{grid-template-columns:1fr 1fr;gap:5px}.representation-rail section{min-height:150px}.algorithm-speaker{grid-template-columns:1fr}.group-board{min-height:150px;grid-template-columns:repeat(4,1fr) 70px}.speech-bubble{min-height:100px}.speech-bubble:before{display:none}.g5aa-final{padding:12px}.g5aa-final-mark{width:170px;height:170px}.g5aa-report{grid-template-columns:1fr 1fr}.g5aa-final h1{font-size:22px}}
@keyframes g5aa-capsule-mobile{0%{transform:translateX(0)}45%{transform:translateX(120px)}90%,100%{transform:translateX(245px)}}
@media(prefers-reduced-motion:reduce){.g5aa-shell *{animation:none!important;transition:none!important}}
.g5aa-shell button:hover,.g5aa-shell button:focus-visible{outline:4px solid #f2b443;outline-offset:3px}

/* Ders alanı uygulamada öğretmen panelinin yanında daralabildiği için ana akış her
   çözünürlükte tek sütundur; sahne ve açıklama böylece birbirini kırpmaz. */
.g5aa-shell{max-width:100%;overflow:hidden}.g5aa-shell>main{max-width:760px;grid-template-columns:minmax(0,1fr)}.g5aa-visual,.g5aa-panel,.g5aa-stage,.g5aa-stage>div:first-child{min-width:0;max-width:100%;box-sizing:border-box}.g5aa-stage{overflow:hidden}.g5aa-stage>div:first-child{width:calc(100% - 12px);margin-inline:auto}.g5aa-choices,.g5aa-multi,.g5aa-bank,.g5aa-track{min-width:0;max-width:100%;box-sizing:border-box}.g5aa-choices,.g5aa-multi{grid-template-columns:minmax(0,1fr)}.g5aa-choices button,.g5aa-multi button,.g5aa-bank button,.g5aa-track button{min-width:0;overflow-wrap:anywhere}.shape-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.broken-order-lab{grid-template-columns:minmax(0,1fr)}.cause-window{min-height:92px;grid-template-columns:76px minmax(0,1fr)}.cause-window i{width:54px;height:54px}.quality-loop{grid-template-columns:72px minmax(0,1fr) 108px}.quality-loop .flow-shape.decision{width:74px;height:74px;min-width:74px}.subtraction-robot{grid-template-columns:minmax(0,1fr) 72px minmax(0,1.15fr);gap:6px}.robot-arm i{left:28px}.robot-arm:after{left:7px}.stop-condition-repair{grid-template-columns:90px 86px 90px;justify-content:space-between}.stop-condition-repair .remaining-parts{width:90px}.stop-condition-repair .flow-shape.decision{width:66px;height:66px;min-width:66px;font-size:9px}.stop-condition-repair .route-sign{width:90px}.stop-condition-repair .route-sign i{left:40px}.unit-price-conveyor{grid-template-columns:100px minmax(0,1fr);gap:8px}.split-belt{grid-template-columns:repeat(5,minmax(0,1fr));min-width:0;overflow:hidden}.split-belt section{min-width:0}.price-stamp{grid-column:1/-1;transform:none}.price-stamp.stamped{animation:none}.representation-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.route-workbench .signal{left:calc(var(--step)*22%)}.decision-gate{grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);gap:4px}.decision-gate .scale{width:100px;height:100px}.decision-gate .fork{width:108px;max-width:100%;overflow:hidden}.decision-gate .fork:before,.decision-gate .fork:after{width:82px}.yes-open .route-parcel{transform:translate(64px,-44px)}.wrong-route .route-parcel{transform:translate(64px,44px)}.command-slots{grid-template-columns:repeat(5,minmax(74px,1fr));overflow-x:auto;overflow-y:hidden}.flow-builder,.live-pseudocode,.trace-table,.expression-bridge,.algorithm-speaker{max-width:100%;overflow:hidden}
@media(max-width:900px){body:has(.grade5-arithmetic-algorithms-board) .lesson-time{display:none}}
.comparison-key{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:4px}.comparison-key span{padding:6px 10px;border:2px solid #79aa9e;border-radius:999px;background:#eef9f5;font-size:11px;font-weight:850}.comparison-key b{margin-right:4px;color:#17695e;font-size:16px}

/* grade3-division.css */
/* Bölme denetimi: lesson-local styles, no shared-theme overrides. */
.grade3-division-board .g3div-lab {
  height:auto; min-height:430px; max-height:none; overflow:visible; background:#e5f5f0; border:1px solid #b3dcd3;
}
.grade3-division-board .g3div-workspace {position:relative; inset:auto; min-height:430px; padding:18px; background:none}
.grade3-division-board .g3div-workspace>div,
.grade3-division-board .g3div-alternative {width:100%; min-width:0; box-sizing:border-box; box-shadow:none; border:0; background:transparent; padding:5px}
.grade3-division-board .g3div-workspace h1 {font-size:22px; line-height:1.35}
.grade3-division-board .g3div-workspace h2 {font-size:19px; line-height:1.4}
.grade3-division-board .g3div-workspace .board-kicker {font-size:11px; letter-spacing:.04em; line-height:1.45}
.grade3-division-board img.g3div-fruit {display:inline-block; width:27px; height:27px; object-fit:contain; border:0; background:none; box-shadow:none; transform:none; opacity:1; animation:none}
.grade3-division-board img.g3div-fruit::before {content:none}
@media(min-width:761px) {
  .teacher-classroom:has(.grade3-division-board) .lesson-avatar {height:260px}
  .teacher-classroom:has(.grade3-division-board) .teacher-bubble {max-height:200px; overflow:auto; box-sizing:border-box}
}
.g3div-distribution {width:100%; display:grid; gap:14px; min-width:0}
.g3div-source {width:min(100%,450px); box-sizing:border-box; margin:auto; padding:9px 12px; border:2px solid #e7bd83; border-radius:19px; background:#fff7e7; display:grid; gap:6px; justify-items:center}
.g3div-source small,.g3div-png-tray small {font-size:10px; font-weight:900; color:#36645e}
.g3div-source b {font-size:12px; color:#8b591d}
.g3div-source-slots {display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); width:100%; gap:4px}
.g3div-source-slots>span {display:grid; place-items:center; aspect-ratio:1; min-width:0; max-height:33px}
.g3div-moving-apple {display:block; width:100%; height:100%; max-width:34px; max-height:34px; object-fit:contain; transform-origin:top left; position:relative; z-index:1; pointer-events:none}
.g3div-moving-apple.in-flight {z-index:20; will-change:transform}
.g3div-destination-trays {display:grid; grid-template-columns:repeat(var(--distribution-groups,4),minmax(0,1fr)); gap:6px}
.g3div-distribution[data-mode=group] .g3div-destination-trays {grid-template-columns:repeat(var(--distribution-groups,5),minmax(0,1fr))}
.g3div-png-tray {min-width:0; display:grid; justify-items:center; gap:2px}
.g3div-tray-image {position:relative; width:100%; aspect-ratio:1.5; isolation:auto}
.g3div-tray-png {position:absolute; inset:0; width:100%; height:100%; object-fit:contain}
.g3div-tray-slots {position:absolute; inset:24% 16% 24%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:1px 3px}
.g3div-tray-slots>span {display:grid; place-items:center; min-width:0; min-height:0}
.g3div-tray-slots .g3div-moving-apple {width:100%; height:100%}
.g3div-png-tray>b {font-size:18px; color:#08776c; min-height:22px}
.g3div-conservation {font-size:14px; font-weight:850; text-align:center; color:#386861}
.g3div-support-focus {outline:3px solid #edb742; outline-offset:4px; border-radius:13px; box-shadow:0 0 0 7px #edb74225}
.grade3-division-board .g3div-group-model {width:100%; grid-template-columns:minmax(0,1fr) auto; gap:8px}
.grade3-division-board .g3div-equal-trays {gap:6px}
.grade3-division-board .g3div-equal-trays>section {min-height:105px; padding:7px}
.grade3-division-board .g3div-equal-trays>section>div {display:flex; flex-wrap:wrap; gap:4px; min-height:44px}
.grade3-division-board .g3div-equal-trays small,.grade3-division-board .g3div-group-model>aside small {font-size:10px}
.grade3-division-board .g3div-equal-trays b,.grade3-division-board .g3div-group-model>aside b {font-size:20px}
.g3div-unit {display:block; flex:none; width:11px; height:11px; box-sizing:border-box; background:#f2aa45; border:1px solid #ba7521; border-radius:2px}
.g3div-base-blocks {display:flex; align-items:center; justify-content:center; gap:10px; min-width:0}
.g3div-base-blocks>span {display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:3px; max-width:145px}
.g3div-base-blocks .g3div-ten {display:grid; grid-template-columns:repeat(2,8px); gap:1px; padding:2px; border:1px solid #08796d; border-radius:4px; background:#0a9382}
.g3div-ten .g3div-unit {width:8px; height:8px; background:#a4e1ca; border-color:#218a79}
.grade3-division-board .g3div-input-model {width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(100px,.55fr); gap:14px; align-items:center}
.g3div-input-model>div,.g3div-input-model>section {border:2px solid #b2d9d0; background:#fff; border-radius:18px; padding:18px; display:grid; gap:16px; justify-items:center}
.g3div-input-model strong {font-size:32px; color:#075e59}
.g3div-input-model>i {font-size:32px; font-style:normal}
.g3div-input-model small {font-size:12px; font-weight:850}
.g3div-proof-input {display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; width:100%}
.g3div-proof-input section {display:grid; gap:12px; border:2px solid #b2d9d0; border-radius:18px; background:white; padding:20px 6px}
.g3div-proof-input small {font-size:12px}
.g3div-proof-input b {font-size:30px!important}
.grade3-division-board .g3div-alternative {display:grid; gap:20px; padding:12px; background:#fff8e4; border:2px solid #efd695; border-radius:20px}
.g3div-return {border:2px solid #087e72; border-radius:15px; background:white; color:#07594f; padding:12px 18px; min-height:46px; font:inherit; font-weight:850; cursor:pointer}
.g3div-return:hover,.g3div-return:focus-visible {outline:3px solid #e8af2a; outline-offset:2px}
.g3div-recombine {display:grid;gap:12px;min-width:0;width:100%}
.g3div-merge-groups {display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(55px,.65fr);gap:7px}
.g3div-merge-groups>section,.g3div-merge-groups>aside {border:2px solid #b3d7cc;border-radius:14px;padding:8px;background:white;min-width:0}
.g3div-merge-groups>aside {border-color:#efaf83;background:#fff0e6}
.g3div-merge-groups small,.g3div-merge-destination small {font-size:10px;font-weight:850;color:#33685f}
.g3div-merge-groups>section>div,.g3div-merge-groups>aside>div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:10px}
.g3div-merge-groups span,.g3div-merge-destination span {display:grid;place-items:center;min-width:0;aspect-ratio:1;max-height:34px}
.g3div-merge-destination {display:grid;gap:12px;border:2px solid #e5bd80;border-radius:18px;background:#fff8e8;padding:12px}
.g3div-merge-destination>div {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;min-height:73px}
.g3div-recombine p {font-size:22px;font-weight:850;text-align:center;margin:0;color:#11675e}
.g3div-recombine p[hidden] {display:none}
.g3div-base-distribution {display:grid; width:100%; gap:20px; min-width:0}
.g3div-base-proof {display:grid;gap:24px;width:100%;min-width:0}
.g3div-proof-origins {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.g3div-proof-origins>section,.g3div-proof-origins>aside,.g3div-proof-merged {border:2px solid #abd8ce;border-radius:16px;padding:12px;background:#fafffd;display:grid;justify-items:center;gap:12px;min-width:0}
.g3div-proof-origins>aside {grid-column:1/-1;display:flex;justify-content:center;background:#fff5e0;border-color:#e9bb75}
.g3div-base-proof small {font-size:11px;font-weight:850;color:#08776c}
.g3div-base-proof .proof-rods,.g3div-base-proof .proof-units {display:flex;justify-content:center;gap:6px;flex-wrap:wrap}
.g3div-base-proof .proof-rods>span {width:19px;height:46px;display:block}
.g3div-base-proof .proof-units>span {width:11px;height:11px;display:block}
.g3div-proof-merged {background:#edf9f4;border-style:dashed;min-height:140px;box-sizing:border-box}
.g3div-proof-merged p {margin:0;font-size:24px;font-weight:900;color:#08776c}
.g3div-base-proof[data-step=groups] .g3div-proof-origins>section {box-shadow:0 0 0 3px #f6c955}
.g3div-base-proof[data-step=total] .g3div-proof-merged {border-style:solid;box-shadow:0 0 0 3px #83cab8}
.g3div-base-source {border:2px solid #e4bd80; border-radius:18px; background:#fff8e8; padding:12px; display:grid; justify-items:center; gap:14px; min-height:128px}
.g3div-base-source small,.g3div-base-targets small {font-size:11px; font-weight:850; color:#28645c}
.g3div-base-source-rods,.g3div-base-target-rods {display:flex; gap:9px; justify-content:center}
.g3div-base-source-slot {display:block; min-width:19px; min-height:48px}
.g3div-base-rod {display:grid; grid-template-columns:repeat(2,7px); gap:1px; border:2px solid #138474; border-radius:4px; background:#b4e4d3; padding:1px; position:relative}
.g3div-base-rod[hidden] {display:none}
.g3div-base-rod .g3div-unit {width:7px; height:7px; background:#6bcbb1; border-color:#208875}
.g3div-base-loose {display:flex; flex-wrap:wrap; justify-content:center; gap:5px; min-height:12px; max-width:260px}
.g3div-base-loose .g3div-unit,.g3div-base-target-ones .g3div-unit {width:11px; height:11px}
.g3div-base-targets {display:grid; grid-template-columns:repeat(var(--groups),minmax(0,1fr)); gap:12px}
.g3div-base-targets section {border:2px solid #b3d7cc; border-radius:16px; padding:12px 6px; background:#fff; display:grid; gap:12px; justify-items:center; min-width:0}
.g3div-base-target-rods>span {display:block; width:19px; height:46px}
.g3div-base-target-ones {display:flex; gap:4px; min-height:11px; justify-content:center}
.g3div-base-target-ones>span {display:block; width:11px; height:11px}
.g3div-base-distribution p {font-size:20px; font-weight:850; color:#126e62; margin:0}
.grade3-division-board .g3div-components>.g3div-group-model {margin-top:16px}
.grade3-division-board .g3div-components .g3div-group-model section,.grade3-division-board .g3div-components .g3div-group-model aside {min-height:80px}
.grade3-division-board .g3div-components[data-step=ready] .g3div-group-model,.grade3-division-board .g3div-components[data-step=dividend] .g3div-group-model,.grade3-division-board .g3div-components[data-step=divisor] .g3div-group-model {visibility:hidden}
.grade3-division-board .g3div-components[data-step=quotient] .g3div-group-model aside {visibility:hidden}
.grade3-division-board .g3div-components .g3div-group-model b {font-size:17px}
.grade3-division-board .g3div-components .g3div-group-model img {width:19px; height:19px}
.g3div-alt-relation {font-size:23px; font-weight:900; color:#17675c}
.grade3-division-board .g3div-alt-relation {font-size:21px; margin:4px}
.grade3-division-board .g3div-original-question {font-size:16px; font-weight:850; margin:14px 0 0}
.g3div-alt-exchange {display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px}
.g3div-alt-exchange>div {display:grid; grid-template-columns:repeat(5,11px); gap:3px}
.g3div-alt-exchange>i {font-style:normal; font-size:24px}
.g3div-alt-meanings {width:100%; display:grid; gap:15px}
.g3div-alt-meanings>section {opacity:0}
.g3div-alt-meanings:is([data-step=share-input],[data-step=share-result],[data-step=share])>section:first-child,.g3div-alt-meanings:is([data-step=group-input],[data-step=group-result],[data-step=group])>section {opacity:1}
.g3div-alt-meanings>section>.g3div-group-model {display:none}
.g3div-alt-meanings:is([data-step=share-result],[data-step=share],[data-step=group-input],[data-step=group-result],[data-step=group])>[data-alt-sharing]>.g3div-group-model,.g3div-alt-meanings:is([data-step=group-result],[data-step=group])>[data-alt-grouping]>.g3div-group-model {display:grid}
.g3div-alt-meanings:is([data-step=share-result],[data-step=share],[data-step=group-input],[data-step=group-result],[data-step=group])>[data-alt-sharing]>.g3div-meaning-input,.g3div-alt-meanings:is([data-step=group-result],[data-step=group])>[data-alt-grouping]>.g3div-meaning-input {display:none}
.g3div-alt-meanings .g3div-meaning-input {display:flex;gap:5px;flex-wrap:wrap;justify-content:center}
.g3div-alt-meanings>section>b {display:block; margin-bottom:10px; font-size:13px}
.g3div-alternative .g3div-destination-trays {grid-template-columns:repeat(2,minmax(0,1fr))}
.g3div-alternative .g3div-tray-image {max-width:155px}
.g3div-alternative .g3div-source-slots {grid-template-columns:repeat(7,minmax(0,1fr)); max-width:280px}
.grade3-division-board.remediation-mode {display:block!important; height:auto!important}
.g3div-exchange-model {width:100%; display:grid; gap:18px; padding:10px; box-sizing:border-box}
.g3div-exchange-start {display:flex; align-items:center; justify-content:center; gap:20px; flex-wrap:wrap}
.g3div-exchange-start>span {font-size:12px; width:100%; font-weight:900}
.g3div-expandable-rod {display:grid; grid-template-columns:repeat(2,14px); gap:2px; padding:5px; background:#118f80; border-radius:6px}
.g3div-expandable-rod .g3div-unit {width:14px; height:14px; background:#b7ead9; border:1px solid #288978}
.g3div-exchange-model[data-step=expanded] .g3div-expandable-rod {grid-template-columns:repeat(5,14px); background:transparent; gap:5px}
.g3div-four-units {display:grid; grid-template-columns:repeat(2,14px); gap:5px}
.g3div-four-units .g3div-unit {width:14px; height:14px}
.g3div-exchange-caption {font-weight:850; font-size:18px}
.g3div-exchange-result {visibility:hidden; opacity:0}
.g3div-exchange-model[data-result=visible] .g3div-exchange-result {visibility:visible; opacity:1}
.grade3-division-board .g3div-meanings>div {grid-template-columns:1fr; gap:12px}
.grade3-division-board .g3div-meanings section {display:grid; grid-template-columns:150px 1fr; gap:8px; opacity:0; min-height:80px}
.grade3-division-board .g3div-meanings section>strong,.grade3-division-board .g3div-meanings section>i {grid-column:1}
.grade3-division-board .g3div-meanings section>.g3div-group-model {grid-column:2; grid-row:1/4}
.grade3-division-board .g3div-meanings section>.g3div-meaning-input {grid-column:2;grid-row:1/4;display:flex;flex-wrap:wrap;gap:4px;align-content:center;justify-content:center;max-width:320px}
.grade3-division-board .g3div-meanings section>:is(.g3div-group-model,.g3div-meaning-result) {display:none}
.grade3-division-board .g3div-meanings .g3div-equal-trays>section {display:grid; grid-template-columns:1fr; min-height:70px; padding:4px; opacity:1}
.grade3-division-board .g3div-meanings .g3div-fruit {width:15px; height:15px}
.grade3-division-board .g3div-meanings:is([data-step=share-input],[data-step=share-result],[data-step=share])>div>section:first-child,.grade3-division-board .g3div-meanings:is([data-step=group-input],[data-step=group-result],[data-step=group])>div>section {opacity:1}
.grade3-division-board .g3div-meanings:is([data-step=share-result],[data-step=share],[data-step=group-input],[data-step=group-result],[data-step=group])>div>[data-meaning-sharing]>.g3div-group-model,.grade3-division-board .g3div-meanings:is([data-step=group-result],[data-step=group])>div>[data-meaning-grouping]>.g3div-group-model {display:grid}
.grade3-division-board .g3div-meanings:is([data-step=share-result],[data-step=share],[data-step=group-input],[data-step=group-result],[data-step=group])>div>[data-meaning-sharing]>.g3div-meaning-result,.grade3-division-board .g3div-meanings:is([data-step=group-result],[data-step=group])>div>[data-meaning-grouping]>.g3div-meaning-result {display:block}
.grade3-division-board .g3div-meanings:is([data-step=share-result],[data-step=share],[data-step=group-input],[data-step=group-result],[data-step=group])>div>[data-meaning-sharing]>.g3div-meaning-input,.grade3-division-board .g3div-meanings:is([data-step=group-result],[data-step=group])>div>[data-meaning-grouping]>.g3div-meaning-input {display:none}
.grade3-division-board .g3div-components section,.grade3-division-board .g3div-components aside {opacity:0}
.grade3-division-board .g3div-components[data-step=dividend] section:first-child,.grade3-division-board .g3div-components[data-step=divisor] section:nth-of-type(-n+2),.grade3-division-board .g3div-components[data-step=quotient] section,.grade3-division-board .g3div-components[data-step=remainder] section,.grade3-division-board .g3div-components[data-step=remainder] aside {opacity:1}
.grade3-division-board .g3div-components b {font-size:32px}
.grade3-division-board .g3div-components small {font-size:11px}
.grade3-division-board .g3div-answer-result {text-align:center; padding:12px; border:2px solid #f0ae16; border-radius:16px; font-size:23px; font-weight:800; background:#fff8df}
.grade3-division-board~.lesson-footer .g3div-answer-next,.lesson-footer .g3div-answer-next {flex-basis:100%; margin:10px auto 0; min-height:52px; max-width:330px}
.grade3-division-board .g3div-extra-group {opacity:0}
.grade3-division-board .g3div-remainder-rule[data-step=counter] .g3div-extra-group,.grade3-division-board .g3div-remainder-rule[data-step=rule] .g3div-extra-group {opacity:1}
.grade3-division-board .g3div-remainder-rule .g3div-group-model b {display:none}
.grade3-division-board .g3div-place-columns section,.grade3-division-board .g3div-place-result {opacity:0}
.grade3-division-board .g3div-place-exact[data-step=tens] .g3div-place-columns section:first-child,.grade3-division-board .g3div-place-exact[data-step=ones] .g3div-place-columns section,.grade3-division-board .g3div-place-exact[data-step=result] .g3div-place-columns section,.grade3-division-board .g3div-place-exact[data-step=result] .g3div-place-result {opacity:1}
.g3div-written-work {display:grid; grid-template-columns:26px 32px 32px 14px 68px; grid-template-rows:repeat(5,43px); justify-content:center; width:min(100%,280px); padding:20px 10px; box-sizing:border-box; border:2px solid #add8d2; border-radius:19px; background:#fff; font:800 31px/43px Arial,sans-serif; font-variant-numeric:tabular-nums; position:relative}
.g3div-written-work>b,.g3div-written-work>i {margin:0; font:inherit; min-width:0; opacity:0}
.g3div-written-work .w-start-tens {grid-area:1/2; opacity:1}
.g3div-written-work .w-start-ones {grid-area:1/3; opacity:1}
.g3div-written-work .w-divisor {grid-area:1/5; opacity:1; border-left:3px solid #214d4d; border-bottom:3px solid #214d4d}
.g3div-written-work .w-quotient {grid-area:2/5; display:flex; justify-content:center; border-left:3px solid #214d4d; color:#087b6c}
.w-quotient>b {opacity:0}
.w-minus-one {grid-area:2/1}.w-used-tens {grid-area:2/2}.w-line-one {grid-area:2/1/3/4; border-bottom:2px solid #537a72; pointer-events:none}
.w-left-tens {grid-area:3/2}.w-lowered-ones {grid-area:3/3; color:#cf5935}
.w-minus-two {grid-area:4/1}.w-used-ones {grid-area:4/2/5/4; display:flex; justify-content:flex-end}.w-used-ones>span {width:32px; text-align:center}.w-line-two {grid-area:4/1/5/4; border-bottom:2px solid #537a72; pointer-events:none}
.w-remainder {grid-area:5/3; color:#c65c39}
.g3div-written:not(.exact):not([data-step=ready]) :is(.w-tens-digit,.w-minus-one,.w-used-tens,.w-line-one,.w-left-tens) {opacity:1}
.g3div-written.exact:not([data-step=ready]) .w-tens-digit {opacity:1}
.g3div-written.exact:is([data-step=used-tens],[data-step=left-tens],[data-step=down],[data-step=ones],[data-step=result]) :is(.w-minus-one,.w-used-tens,.w-line-one) {opacity:1}
.g3div-written.exact:is([data-step=left-tens],[data-step=down],[data-step=ones],[data-step=result]) .w-left-tens {opacity:1}
.g3div-written:is([data-step=down],[data-step=ones],[data-step=result],[data-step=remainder]) .w-lowered-ones {opacity:1}
.g3div-written:is([data-step=ones],[data-step=result],[data-step=remainder]) :is(.w-ones-digit,.w-minus-two,.w-used-ones,.w-line-two) {opacity:1}
.g3div-written:is([data-step=result],[data-step=remainder]) .w-remainder {opacity:1}
.grade3-division-board .g3div-proof section {opacity:0}
.grade3-division-board .g3div-proof[data-step=product] section:first-child,.grade3-division-board .g3div-proof[data-step=plus] section:nth-of-type(-n+2),.grade3-division-board .g3div-proof[data-step=total] section {opacity:1}
.grade3-division-board .g3div-proof>.g3div-proof-groups {display:grid; grid-template-columns:minmax(0,1fr) auto; margin-top:14px}
.grade3-division-board .g3div-proof .g3div-proof-groups section {opacity:0; min-height:110px}
.grade3-division-board .g3div-proof:not([data-step=ready]) .g3div-proof-groups section {opacity:1}
.grade3-division-board .g3div-proof-groups>aside {opacity:0}
.grade3-division-board .g3div-proof:is([data-step=plus],[data-step=total]) .g3div-proof-groups>aside {opacity:1}
.grade3-division-board .g3div-final>.g3div-summary-groups {grid-template-columns:minmax(0,1fr) auto; gap:10px; margin:22px 0}
.grade3-division-board .g3div-final h1 {font-size:23px}
.grade3-division-board .g3div-proof-givens {display:grid}
.grade3-division-board .g3div-proof-givens .g3div-equal-trays {grid-template-columns:repeat(4,minmax(0,1fr))}
.grade3-division-board .g3div-proof-givens .g3div-fruit {width:17px; height:17px}
.grade3-division-board .g3div-proof-givens .g3div-equal-trays>section {min-height:94px}
.grade3-division-board .g3div-proof-givens b {background:none; padding:0; font-size:18px}
@media(max-width:760px) {
  /* Test tool stays in document flow; it must not intercept the last answer. */
  body:has(.grade3-division-board) .feedback-launcher {position:static; margin:0 10px 12px auto}
  /* Keep the complete teacher text readable; recover space from chrome and model gaps. */
  .teacher-classroom:has(.grade3-division-board) .lesson-teacher {grid-template-columns:64px minmax(0,1fr); gap:4px}
  .teacher-classroom:has(.grade3-division-board) .lesson-avatar {height:90px}
  .teacher-classroom:has(.grade3-division-board) .teacher-bubble {overflow:visible; min-height:60px}
  .teacher-classroom:has(.grade3-division-board) .lesson-support-dock {margin-top:0}
  .teacher-classroom:has(.grade3-division-board) .lesson-footer .g3div-answer-next {margin-top:4px}
  .g3div-base-targets {gap:5px}
  .g3div-base-targets section {padding:10px 3px}
  .g3div-base-source-rods {gap:7px}
  .grade3-division-board .g3div-lab,.grade3-division-board .g3div-workspace {height:auto; min-height:310px; max-height:none}
  .grade3-division-board .g3div-workspace {padding:10px}
  .grade3-division-board .g3div-workspace h1 {font-size:18px}
  .grade3-division-board .g3div-workspace h2 {font-size:17px}
  .grade3-division-board .g3div-workspace .board-kicker {font-size:10px}
  .g3div-distribution {gap:6px}
  .g3div-source {padding:6px; gap:2px}
  .g3div-source-slots {gap:2px}
  .g3div-source-slots>span {max-height:23px}
  .g3div-destination-trays {grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px}
  .g3div-distribution[data-mode=group] .g3div-destination-trays {grid-template-columns:repeat(3,minmax(0,1fr))}
  .g3div-distribution[data-total="23"][data-mode=group] .g3div-source-slots {grid-template-columns:repeat(12,minmax(0,1fr))}
  .g3div-distribution[data-mode=group] {gap:5px}
  .g3div-tray-image,.g3div-alternative .g3div-tray-image {max-width:110px}
  .g3div-png-tray>b {font-size:16px; min-height:19px}
  .g3div-conservation {font-size:12px}
  .grade3-division-board .g3div-equal-trays>section {min-height:78px; padding:4px}
  .grade3-division-board .g3div-equal-trays small,.grade3-division-board .g3div-group-model>aside small {font-size:8px}
  .grade3-division-board .g3div-equal-trays>section>div {gap:2px}
  .grade3-division-board img.g3div-fruit {width:19px; height:19px}
  .grade3-division-board .g3div-group-model>aside {min-width:47px; padding:4px}
  .grade3-division-board .g3div-equal-trays b {font-size:17px}
  .grade3-division-board .g3div-alternative {padding:10px; gap:8px}
  .grade3-division-board .g3div-original-question {margin-top:4px}
  .g3div-alternative .g3div-base-distribution {gap:8px}
  .g3div-alternative .g3div-base-source {min-height:92px; padding:6px; gap:4px}
  .g3div-alternative .g3div-base-targets section {padding:8px 3px; gap:8px}
  .g3div-recombine {gap:10px}
  .g3div-merge-groups>section,.g3div-merge-groups>aside {padding:6px}
  .g3div-merge-groups>section>div,.g3div-merge-groups>aside>div {margin-top:6px; gap:3px}
  .g3div-merge-groups span {max-height:26px}
  .g3div-merge-destination {padding:8px; gap:8px}
  .g3div-merge-destination>div {min-height:65px}
  .g3div-merge-destination span {max-height:30px}
  .g3div-base-proof {gap:12px}
  .g3div-proof-origins>section,.g3div-proof-origins>aside,.g3div-proof-merged {padding:8px; gap:8px}
  .g3div-proof-merged {min-height:115px}
  .g3div-base-blocks {gap:5px}
  .g3div-base-blocks>span {max-width:70px}
  .g3div-unit {width:9px; height:9px}
  .grade3-division-board .g3div-input-model {gap:8px; grid-template-columns:minmax(0,1fr) auto minmax(78px,.55fr)}
  .g3div-input-model>div,.g3div-input-model>section {padding:12px 5px; gap:10px}
  .g3div-input-model .g3div-base-blocks {flex-direction:column; gap:8px}
  .g3div-input-model .g3div-base-blocks>span {max-width:145px}
  .g3div-input-model strong {font-size:28px}
  .g3div-input-model small {font-size:10px}
  .grade3-division-board .g3div-components>div:not(.g3div-group-model) {grid-template-columns:1fr auto 1fr; gap:10px}
  .grade3-division-board .g3div-components section,.grade3-division-board .g3div-components aside {min-height:75px; padding:8px}
  .grade3-division-board .g3div-components>.g3div-group-model {margin-top:8px}
  .grade3-division-board .g3div-components .g3div-group-model section,.grade3-division-board .g3div-components .g3div-group-model aside {padding:4px; gap:3px}
  .grade3-division-board .g3div-components>div>i:last-of-type {display:none}
  .grade3-division-board .g3div-components aside {grid-column:3}
  .grade3-division-board .g3div-components small {font-size:10px}
  .grade3-division-board .g3div-meanings section {grid-template-columns:1fr; padding:6px; gap:4px; opacity:0}
  .grade3-division-board .g3div-meanings section>.g3div-group-model {grid-column:1; grid-row:auto}
  .grade3-division-board .g3div-meanings section>.g3div-meaning-input {grid-column:1;grid-row:auto}
  .grade3-division-board .g3div-meanings section strong,.grade3-division-board .g3div-meanings section b,.grade3-division-board .g3div-meanings section i {font-size:12px}
  .grade3-division-board .g3div-meanings .g3div-fruit {width:12px; height:12px}
  .grade3-division-board .g3div-meanings .g3div-equal-trays>section {min-height:48px; gap:3px}
  .grade3-division-board .g3div-meanings .g3div-equal-trays>section>div {min-height:28px}
  .grade3-division-board .g3div-meanings .g3div-meaning-result {padding:4px 10px}
  .grade3-division-board .g3div-place-columns section {font-size:13px}
  .grade3-division-board .g3div-place-columns section b {font-size:12px}
  .grade3-division-board .g3div-place-result {font-size:18px}
  .grade3-division-board .g3div-place-result strong {font-size:26px}
  .grade3-division-board .g3div-long-division {width:260px; height:265px; font-size:29px}
  .grade3-division-board .g3div-proof section {font-size:16px; padding:9px}
  .grade3-division-board .g3div-proof section small {font-size:10px}
  .grade3-division-board .g3div-proof section strong {font-size:23px}
  .grade3-division-board .g3div-extra-group {font-size:11px; padding:8px}
}
@media(min-width:761px) and (max-height:800px) {
  .grade3-division-board .g3div-alternative {gap:10px}
  .grade3-division-board .g3div-original-question {margin-top:2px}
  .teacher-classroom:has(.grade3-division-board) {padding-top:12px; padding-bottom:15px}
  .teacher-classroom:has(.grade3-division-board) .lesson-avatar {height:205px}
  .teacher-classroom:has(.grade3-division-board) .teacher-bubble {padding:12px; font-size:12px; min-height:80px; max-height:160px}
}
@media(prefers-reduced-motion:reduce) {.g3div-moving-apple,.g3div-unit {animation:none!important; transition:none!important}}

/* grade3-relation.css */
/* Lesson 72 only. Keep other grade authors' shared styles untouched. */
.teacher-classroom:has(.grade3-relation-board) .teaching-area {width:min(100%,660px);min-width:0}
.teaching-board.grade3-relation-board {min-height:0;height:auto;aspect-ratio:auto;overflow:visible;background:#eaf6f2;border:1px solid #abd5cc;border-radius:25px;padding:18px;box-sizing:border-box}
.rel-workspace {display:grid;gap:12px;min-width:0;width:100%;box-sizing:border-box}
.rel-assets-pending [data-rel-model],.rel-assets-pending [data-rel-array] {display:none}
.rel-asset-status {display:grid;gap:12px;justify-items:center;padding:24px 12px;text-align:center;color:#174b5c;font-size:16px;line-height:1.4}
.rel-asset-status p {margin:0}
.rel-asset-status button {min-height:48px;max-width:100%;padding:10px 16px;border:2px solid #008477;border-radius:14px;background:#fff;color:#006c61;font:700 16px/1.3 Arial,sans-serif;cursor:pointer}
.rel-asset-status button:hover,.rel-asset-status button:focus-visible {outline:3px solid #efb632;outline-offset:2px}
.rel-help-button:disabled {opacity:.5;cursor:default}
.rel-workspace [hidden] {display:none!important}
.teacher-classroom:has(.grade3-relation-board) .lesson-footer[hidden] {display:none!important}
.rel-title {margin:0;color:#087e73;font-size:17px;text-align:center;font-weight:850;line-height:1.3}
/* The lesson chrome already names the current step; don't repeat it inside
   the board at the expense of the actual teaching model. */
.grade3-relation-board > .rel-workspace > .rel-title {display:none}
.rel-transfer {display:grid;gap:10px;position:relative;isolation:isolate;min-width:0;width:100%;--token:30px}
.rel-transfer.object-cookie .rel-whole-slots {grid-template-columns:repeat(12,minmax(0,1fr))}
.rel-transfer[data-groups="4"] .rel-group-trays {grid-template-columns:repeat(2,minmax(0,1fr))}
.rel-groups-merged .rel-holder-body,.rel-groups-merged .rel-holder-count {display:none}
.rel-groups-merged .rel-holder {padding:4px;border:1px dashed #b8d4cb}
.rel-transfer:is([data-groups="7"],[data-groups="8"],[data-groups="9"]) .rel-holder-body {max-width:112px}
.rel-transfer small {display:block;font:800 10px/1.3 Arial,sans-serif;letter-spacing:.04em;color:#316258;text-align:center;margin:0 0 4px}
.rel-whole {border:2px solid #a9c8b8;border-radius:17px;padding:8px 12px;background:#f5eddc;box-shadow:inset 0 0 0 3px #fff7e8;min-width:0;transition:box-shadow .2s}
.rel-whole-slots {display:grid;grid-template-columns:repeat(var(--pool-columns),minmax(0,1fr));justify-items:center;gap:3px;max-width:420px;margin:auto}
.rel-slot {display:flex;position:relative;align-items:center;justify-content:center;min-width:0;width:100%;height:var(--token);max-width:var(--token)}
.rel-object {display:block!important;position:relative;width:100%;height:100%;max-width:100%;object-fit:contain;opacity:1!important;transform-origin:top left;pointer-events:none;z-index:2;filter:drop-shadow(0 1px 1px #51392024)}
.rel-object.rel-moving {z-index:40;filter:drop-shadow(0 5px 3px #51392040)}
.rel-whole>b {display:block;text-align:center;font-size:14px;line-height:1.3;margin-top:4px;color:#72522e}
.rel-empty-whole {padding:5px 12px;background:transparent;box-shadow:none;border:1px dashed #9ac8bd}
.rel-empty-whole .rel-whole-slots {display:none}
.rel-empty-whole small {display:none}
.rel-empty-whole>b {font-size:11px;margin:0;font-weight:600;color:#477469}
.rel-group-trays {display:grid;grid-template-columns:repeat(var(--group-columns),minmax(0,1fr));gap:7px 12px;min-width:0;border-radius:15px;padding:3px}
.rel-holder {min-width:0;display:grid;gap:1px;align-content:center;position:relative;padding:3px;border-radius:14px;background:transparent;border:0}
.rel-holder-body {position:relative;min-width:0;width:100%;max-width:178px;aspect-ratio:1.55;margin:auto}
.rel-tray-png {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:0}
.rel-slots {position:absolute;inset:21% 10% 21%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:2px;align-items:center;justify-items:center}
.rel-slots .rel-slot {height:100%;max-width:34px;max-height:34px}
.rel-holder-count {display:block;min-height:17px;text-align:center;font-size:15px;font-weight:850;line-height:1.1;color:#116c60}
.rel-holder-count:empty {display:none}
.rel-hide-counts .rel-holder-count,.rel-hide-counts .rel-quantity {visibility:hidden}
/* An intentionally withheld answer must not leave a blank count row below
   every tray. Restoring the solved state also restores its visible counts. */
.rel-hide-counts .rel-holder-count {display:none}
.rel-remainder {display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;border:2px dashed #db9b50;background:#fff6e7;padding:7px 15px;border-radius:15px}
.rel-remainder small {margin:0}.rel-extra-slots {display:flex;gap:7px}.rel-extra-slots .rel-slot {width:30px;height:30px}.rel-remainder>b {font-size:20px;color:#b35922}
.rel-empty-remainder {opacity:.65}
.rel-quantity {margin:0;font-size:11px;line-height:1.4;text-align:center;color:#51756c}
.rel-focused {box-shadow:0 0 0 3px #e9a71b,0 0 0 7px #edb73225!important}
.rel-transfer.object-book {--token:49px}
.object-book .rel-object {object-position:center bottom}
.object-book .rel-whole-slots {max-width:470px;gap:2px}.object-book .rel-whole-slots .rel-slot {width:11px}
.rel-shelf .rel-holder-body {aspect-ratio:auto;height:70px;background:linear-gradient(#f0ece0,#fff9ed);border-radius:9px 9px 0 0}
.rel-shelf .rel-slots {inset:5px 5px 5px;display:flex;align-items:flex-end;justify-content:center;gap:6px}
.rel-shelf .rel-slots .rel-slot {width:10px;height:58px;max-height:none;max-width:10px;flex:0 1 10px}
.rel-wood-shelf {position:absolute;bottom:1px;left:0;right:0;height:6px;background:linear-gradient(#d79753,#aa6739);border-radius:2px;box-shadow:0 3px 3px #73523425}
.rel-array {display:grid;gap:6px;justify-items:center;width:100%}.rel-array>p {font-weight:850;color:#37675e;font-size:17px;margin:0}
.rel-array-space {display:grid;place-items:center;width:min(100%,350px);aspect-ratio:1}
.rel-array-tray {display:grid;grid-template-columns:repeat(var(--array-columns),30px);grid-template-rows:repeat(var(--array-rows),30px);gap:7px;padding:18px;background:#ead8b4;border:9px solid #ba7e47;border-radius:17px;box-shadow:0 7px 15px #74522a20;transform-origin:center}
.rel-array-tray>span {display:block;min-width:0;min-height:0}
.rel-equation {display:flex;justify-content:center;align-items:center;min-height:41px;margin:0;text-align:center;font-size:clamp(22px,3vw,32px);font-weight:850;line-height:1.3;color:#154e5d;font-variant-numeric:tabular-nums}
.rel-given {padding:12px 18px;border:2px solid #abd7ce;border-radius:16px;background:#fff;font-size:24px;text-align:center;font-weight:850;color:#276456;margin:0}
.rel-question {font-size:19px;line-height:1.4;text-align:center;margin:0;font-weight:800;color:#164e5e}
.rel-independent {display:grid;gap:20px;min-height:260px;align-content:center;padding:20px;background:linear-gradient(150deg,#f6fcf8,#e4f3ee);border-radius:20px;border:2px solid #bbddd3}
.rel-independent:has(.rel-transfer) {gap:8px;min-height:0;padding:10px}
.rel-independent .rel-given {font-size:19px;padding:5px 10px;border:0;background:transparent}
.rel-independent .rel-holder-body {max-width:110px!important}
.rel-independent .rel-quantity {display:none}
.rel-question-number {margin:0;text-align:center;color:#548178;font-size:12px;font-weight:800}
.rel-original {margin:0;padding:8px 12px;font-size:13px;color:#486d64;border-top:1px solid #bad6cf;text-align:center}
.rel-result {text-align:center;font-size:18px;font-weight:850;margin:0;color:#0b7464;padding:6px}
.rel-support-return,.rel-action,.rel-next {display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:16px;padding:12px 20px;font:800 15px/1.3 Arial,sans-serif;cursor:pointer;border:1px solid #007d70;background:#007f73;color:#fff;box-shadow:0 6px 14px #075b4b18;gap:12px}
.rel-support-return {justify-self:center;font-size:14px;min-height:44px}
.rel-action:disabled,.rel-next:disabled,.rel-support-return:disabled {opacity:.5;cursor:default;box-shadow:none}
.rel-answer-grid {display:grid;grid-template-columns:repeat(var(--answers),minmax(0,1fr));gap:10px;width:100%}
.rel-answer {min-width:0;min-height:57px;padding:11px 10px;border:2px solid #aad4cb;border-radius:16px;background:#fff;color:#174b5c;font:800 21px/1.3 Arial,sans-serif;cursor:pointer;overflow-wrap:anywhere;transition:box-shadow .15s,border-color .15s,background .15s}
.rel-answer:focus-visible,.choice-hover-armed .rel-answer:hover {border-color:#eead20;box-shadow:0 0 0 4px #ecb32c26;outline:0;background:#fffdf7}
.rel-answer.assessment-correct {border-color:#e8ac23;box-shadow:0 0 0 4px #ecb32c30;background:#fff9df}
.rel-answer.rel-wrong {border-color:#d67a59;background:#fff3ea}
.rel-answer:disabled {cursor:default}.rel-answer:disabled:not(.assessment-correct) {opacity:.65}
.teacher-classroom:has(.grade3-relation-board) .lesson-footer:has([data-rel-next]) .rel-answer-grid {display:none}
.rel-solved [data-rel-equation] {border:2px solid #e9aa23;border-radius:13px;background:#fffbed;padding:6px;color:#087567;box-shadow:0 0 0 3px #edb73220}
.lesson-footer:has(.rel-answer-grid),.lesson-footer:has(.rel-next),.lesson-footer:has(.rel-action) {display:grid;gap:9px;grid-template-columns:minmax(0,1fr);margin-top:10px;width:100%}
.lesson-footer .rel-next,.lesson-footer .rel-action {justify-self:center;max-width:100%;margin:0}
.lesson-footer .rel-next,.lesson-footer .rel-action {min-height:50px;padding:10px 16px}
.rel-score {display:flex;flex-wrap:wrap;justify-content:center;gap:8px;font-size:13px;color:#345e55}.rel-score>span {border:1px solid #b6d4c9;border-radius:12px;padding:9px;background:#f8fcf8}
.teacher-classroom:has(.grade3-relation-board) .lesson-support-dock {display:grid;grid-template-columns:1fr 1fr;gap:6px}
.rel-help-button {min-width:0;border:1px solid #8ebfb3;border-radius:13px;padding:10px 5px;min-height:44px;font:800 12px/1.3 Arial,sans-serif;background:#fff;color:#126253;cursor:pointer}
.rel-help-button:hover,.rel-help-button:focus-visible {border-color:#e9aa23;outline:2px solid #e9aa2355}
@media(min-width:761px) and (max-height:800px) {
  .teacher-classroom:has(.grade3-relation-board) {padding-top:12px;padding-bottom:16px}
  .teacher-classroom:has(.grade3-relation-board) .lesson-avatar {height:205px}
  .teacher-classroom:has(.grade3-relation-board) .teacher-bubble {padding:12px;font-size:12px;min-height:70px;max-height:180px}
  .grade3-relation-board .rel-holder-body {max-width:140px}
  .grade3-relation-board .rel-array-space {width:300px}
  .teaching-board.grade3-relation-board {padding:14px}
  .grade3-relation-board .rel-transfer {grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;--token:26px}
  .grade3-relation-board .rel-transfer .rel-whole-slots {grid-template-columns:repeat(8,minmax(0,1fr))}
  .grade3-relation-board .rel-remainder,.grade3-relation-board .rel-quantity {grid-column:1/-1}
  .grade3-relation-board .rel-empty-whole {grid-column:1/-1}
  .grade3-relation-board .rel-empty-whole + .rel-group-trays {grid-column:1/-1}
  .grade3-relation-board .rel-transfer:is([data-groups="7"],[data-groups="8"]) .rel-empty-whole + .rel-group-trays {grid-template-columns:repeat(4,minmax(0,1fr))}
  .grade3-relation-board .rel-transfer[data-groups="9"] .rel-empty-whole + .rel-group-trays {grid-template-columns:repeat(5,minmax(0,1fr))}
  .grade3-relation-board .rel-transfer[data-groups="9"] .rel-holder-body {max-width:96px}
}
@media(max-width:760px) {
  body:has(.grade3-relation-board) .feedback-launcher {position:static;margin:0 10px 10px auto}
  .teacher-classroom:has(.grade3-relation-board) .lesson-teacher {grid-template-columns:62px minmax(0,1fr);gap:4px}
  .teacher-classroom:has(.grade3-relation-board) .lesson-avatar {height:86px}
  .teacher-classroom:has(.grade3-relation-board) .teacher-bubble {overflow:auto;min-height:60px;max-height:100px;font-size:14px;line-height:1.4;overscroll-behavior:contain}
  .teacher-classroom:has(.grade3-relation-board) .lesson-support-dock {margin:0}
  .teaching-board.grade3-relation-board {padding:12px;border-radius:18px}
  .grade3-relation-board > .rel-workspace > .rel-title {display:none}
  .grade3-relation-board .rel-independent .rel-question-number {font-size:10px;line-height:12px}
  .teacher-classroom:has(.grade3-relation-board) .rel-help-button {padding:7px 5px}
  .rel-workspace {gap:9px}.rel-title {font-size:15px}
  .rel-transfer {--token:25px;gap:6px}.rel-transfer small {font-size:8px;letter-spacing:0}
  .rel-whole {padding:6px 8px}.rel-whole-slots {gap:2px}.rel-whole>b {font-size:12px;margin-top:2px}
  .rel-transfer.object-cookie .rel-whole-slots {grid-template-columns:repeat(12,minmax(0,1fr))}
  .rel-transfer.object-cookie {--token:23px}
  .rel-transfer[data-groups="4"] .rel-holder-body {max-width:100px}
  .rel-independent .rel-given {font-size:16px;padding:3px}
  .rel-independent:has(.rel-transfer) {padding:4px;gap:6px}
  .rel-independent .rel-holder-body {max-width:88px!important}
  .rel-transfer:is([data-groups="7"],[data-groups="8"]) .rel-group-trays {grid-template-columns:repeat(4,minmax(0,1fr))}
  .rel-empty-whole>b {font-size:10px}.rel-group-trays {gap:4px 6px;padding:2px}
  .rel-holder {padding:2px}.rel-holder-body {max-width:130px}.rel-holder-count {font-size:13px;min-height:14px}
  .rel-transfer:is([data-groups="5"],[data-groups="6"],[data-groups="7"],[data-groups="8"],[data-groups="9"]) .rel-holder-body {max-width:88px}
  .rel-quantity {display:none}
  .rel-slots {gap:1px;inset:21% 10% 21%}.rel-slots .rel-slot {max-height:28px;max-width:28px}
  .rel-quantity {font-size:10px}.rel-remainder {padding:4px 8px;gap:6px}.rel-extra-slots .rel-slot {width:25px;height:25px}
  .rel-array-space {width:255px}.rel-array-tray {grid-template-columns:repeat(var(--array-columns),24px);grid-template-rows:repeat(var(--array-rows),24px);gap:5px;padding:12px;border-width:7px}.rel-array>p {font-size:14px}
  .rel-equation {font-size:24px;min-height:32px}.rel-question {font-size:16px}.rel-given {font-size:20px;padding:12px}
  .rel-answer-grid {gap:7px}.rel-answer {font-size:18px;min-height:50px;padding:10px 6px;border-radius:13px}
  .rel-next,.rel-action {font-size:14px;min-height:46px;padding:10px 15px}.rel-original {font-size:11px;padding:6px}.rel-support-return {font-size:12px}
  .object-book .rel-whole-slots {grid-template-columns:repeat(21,minmax(0,1fr));gap:1px}.rel-transfer.object-book {--token:40px}
  .rel-independent .rel-transfer.object-book {--token:35px}
  .rel-shelf .rel-holder-body {height:57px}.rel-shelf .rel-slots {gap:3px}.rel-shelf .rel-slots .rel-slot {height:46px;width:8px;max-width:8px;flex-basis:8px}
  .rel-independent {min-height:225px;padding:15px;gap:18px}.rel-score {font-size:11px}.rel-score>span {padding:6px}
}
@media(prefers-reduced-motion:reduce) {.grade3-relation-board * {transition:none!important}}
.grade3-relation-board ~ .lesson-footer .rel-guided-answer,
.rel-guided-answer { border-color: #e9a20b !important; box-shadow: 0 0 0 4px #f6bf4055; }

/* grade3-instructions.css */
/* 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; }

/* grade3-problems.css */
/* Lesson74: exact value-bearing foreground objects; no picture under a question card. */
body:has(.grade3-problems-board){overflow-anchor:none}
body:has(.grade3-problems-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-board) .section-track{min-width:0;grid-template-columns:repeat(6,minmax(0,1fr))}
body:has(.grade3-problems-board) .section-segment{min-width:0;overflow-wrap:anywhere}
.teacher-classroom:has(.grade3-problems-board) .teaching-area{width:min(100%,690px);min-width:0}
.teaching-board.grade3-problems-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-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-board) .lesson-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;margin-top:12px}
.teacher-classroom:has(.grade3-problems-board) .lesson-footer>.pr-next,.teacher-classroom:has(.grade3-problems-board) .lesson-footer>.pr-action{justify-self:center;margin:0}
.teacher-classroom:has(.grade3-problems-board) .lesson-footer:has([data-pr-next]) .pr-answers{max-width:360px;justify-self:center}
.teacher-classroom:has(.grade3-problems-board) .lesson-footer:has([data-pr-next]) .pr-answer{min-height:38px;padding:7px 10px;font-size:16px}
.teacher-classroom:has(.grade3-problems-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-board){padding-top:12px;padding-bottom:15px}.teacher-classroom:has(.grade3-problems-board) .lesson-avatar{height:205px}.teacher-classroom:has(.grade3-problems-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-board){padding-top:8px;padding-bottom:14px}.teacher-classroom:has(.grade3-problems-board) .teacher-column{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.teacher-classroom:has(.grade3-problems-board) .lesson-avatar{height:86px}.teacher-classroom:has(.grade3-problems-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-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-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-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto auto auto;gap:8px 12px;padding:9px 16px}body:has(.grade3-problems-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}body:has(.grade3-problems-board) .section-segment span{font-size:10px;line-height:1.2}}
@media(prefers-reduced-motion:reduce){.grade3-problems-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}}

/* grade3-equality.css */
/* Lesson 75 only. Real groups own their objects; no background object overlays. */
body:has(.grade3-equality-board){overflow-anchor:none}
body:has(.grade3-equality-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-equality-board) .section-track{min-width:0;grid-template-columns:repeat(6,minmax(0,1fr))}
body:has(.grade3-equality-board) .section-segment{min-width:0;overflow-wrap:anywhere}
.teacher-classroom:has(.grade3-equality-board) .teaching-area{width:min(100%,690px);min-width:0}
.teacher-classroom:has(.grade3-equality-board) .lesson-support-dock{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.teacher-classroom:has(.grade3-equality-board) .lesson-footer[hidden]{display:none!important}
.grade3-equality-board{background:#e9f6f3!important;border:1px solid #acdcd2!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;overflow:visible!important;padding:clamp(12px,2vw,22px)!important;border-radius:24px;box-sizing:border-box}
.grade3-equality-board *, .grade3-equality-board *::before,.grade3-equality-board *::after{box-sizing:border-box}
.eq-workspace,.eq-main,.eq-support{width:100%;min-width:0}.grade3-equality-board [hidden]{display:none!important}
.eq-model{width:100%;min-width:0;position:relative}.eq-expressions{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:8px;align-items:center;text-align:center;margin-bottom:14px;color:#18475c}.eq-expressions b{font-size:clamp(20px,2.4vw,32px);line-height:1.2;overflow-wrap:anywhere}.eq-expressions strong{font-size:34px;color:#0c877b}
.eq-zones{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}.eq-zone-stack{display:flex;flex-direction:column;gap:8px;min-width:0}.eq-zone{padding:10px;border:2px solid #9acdc3;background:#f8fcfb;border-radius:18px;min-width:0;transition:border-color .25s,box-shadow .25s}.eq-zone h3{font-size:14px;margin:0 0 9px;text-align:center;color:#336665;line-height:1.25}.eq-zone.eq-focus{border-color:#eeac14;box-shadow:0 0 0 4px #f5bd352f}.eq-zone-body{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:8px;min-height:44px}.eq-group{position:relative;min-width:0;max-width:100%;border:2px solid transparent;border-radius:12px;padding:4px}.eq-group.eq-bordered{border-color:#93cabb;background:#e7f5ed}.eq-group-body{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;max-width:100%}.eq-object{display:block!important;position:relative!important;inset:auto!important;width:clamp(27px,3.6vw,42px)!important;height:clamp(27px,3.6vw,42px)!important;object-fit:contain!important;flex:0 0 auto;max-width:100%;margin:0!important;pointer-events:none;filter:drop-shadow(0 2px 2px #294d4120)}
.eq-group-number{display:block;text-align:center;font-size:12px;font-weight:800;color:#137963;margin-bottom:3px}.eq-zone-value{display:block;text-align:center;font-size:24px;font-weight:850;color:#057f71;margin-top:8px}.eq-caption{text-align:center;font-size:16px;font-weight:700;margin:12px 0 0;color:#176b64}.eq-equation{font-size:clamp(19px,2vw,27px);font-weight:850;text-align:center;color:#087d70;padding:10px 12px;background:#fff7d9;border-radius:12px;margin:12px 0 0;overflow-wrap:anywhere}.eq-minor{background:#f4eee2;border-style:dashed;padding:7px}.eq-minor h3{font-size:12px;margin-bottom:5px}.eq-minor .eq-object{width:28px!important;height:28px!important}.eq-minor .eq-zone-body{min-height:30px}.eq-zone.eq-symbolic{min-height:92px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#fafffd,#daf0e8)}.eq-symbolic h3{font-size:28px;margin:0}.eq-symbolic .eq-zone-body{display:none}.eq-symbolic~.eq-symbolic{background:linear-gradient(140deg,#fffdf7,#f4ead3)}
.eq-model[data-eq-model=regroup] .eq-zones{grid-template-columns:minmax(0,1fr)}.eq-model[data-eq-model=regroup] .eq-zone-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.eq-model[data-eq-model=regroup][data-state="0"] .eq-zone-body{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-model[data-eq-model=regroup] .eq-group{padding:10px 4px}.eq-model[data-eq-model=regroup] .eq-object{width:44px!important;height:44px!important}.eq-model[data-eq-model=groupCount] .eq-group-counting{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.eq-model[data-eq-model=groupCount] .eq-object{width:30px!important;height:30px!important}
.eq-joined .eq-group{border-color:transparent;background:transparent;padding:0}.eq-joined .eq-zone-body{gap:3px;align-items:center}.eq-story{text-align:center;margin-top:12px}.eq-story h2{font-size:clamp(19px,2vw,25px);line-height:1.3;margin:6px 0 0;color:#16455a}.eq-story p:empty{display:none}.eq-story small{font-size:12px;color:#247569}.eq-support h2{font-size:20px;margin:0 0 12px;text-align:center}.eq-original{font-size:14px;color:#356b65;line-height:1.4;margin:12px 0}.eq-score{font-size:17px;line-height:1.5;text-align:center;margin:14px 0 0;color:#205e58}
.lesson-footer:has([data-eq-answer], [data-eq-next], [data-eq-action], [data-eq-build]){display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:center!important;align-items:stretch!important;margin-top:10px!important;position:relative!important;min-height:0!important;padding:0!important;overflow:visible!important}
.eq-answer,.eq-next,.eq-action,.eq-return,.eq-help,.eq-builder button{appearance:none;display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid #a5d3c9;border-radius:15px;background:#fff;color:#164b60;font:inherit;font-weight:800;font-size:clamp(15px,1.6vw,20px);padding:12px 15px;line-height:1.25;min-height:52px;cursor:pointer;box-sizing:border-box;text-align:center;white-space:normal;overflow-wrap:anywhere;transition:border-color .15s,box-shadow .15s,background .15s}
.eq-answer{flex:1 1 0;min-width:min(140px,100%);max-width:100%}.eq-answer:hover:not(:disabled),.eq-answer:focus-visible,.eq-builder button:hover:not(:disabled),.eq-builder button:focus-visible{border-color:#eda912;box-shadow:0 0 0 4px #f1b51f25;background:#fffcef;outline:none}.eq-answer.eq-correct,.eq-answer.eq-guided{border-color:#eda912;background:#fff9df;box-shadow:0 0 0 4px #f1b51f22}.eq-answer.eq-wrong{border-color:#cf7058;background:#fff1ec}.eq-next,.eq-action,.eq-return{background:#078879;border-color:#078879;color:white;flex:0 1 auto;max-width:100%;font-size:16px}.eq-next span,.eq-action span{font-size:24px}.eq-next:hover:not(:disabled),.eq-action:hover:not(:disabled),.eq-return:hover:not(:disabled){background:#076f65}.eq-next:disabled,.eq-action:disabled,.eq-return:disabled{opacity:.55;cursor:default}.eq-answer:disabled{cursor:default}.eq-help{min-height:48px;font-size:13px;padding:9px;flex:1 1 0}.eq-help:disabled{opacity:.55;cursor:default}
.eq-builder fieldset{border:0;padding:0;margin:0 0 12px;min-width:0}.eq-builder legend{font-size:15px;font-weight:800;margin-bottom:8px;color:#16665c}.eq-builder-left{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.eq-builder button{min-height:44px;padding:8px;font-size:17px}.eq-builder button[aria-pressed=true]{border-color:#078879;background:#d3eee6}.eq-builder-right{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:12px;align-items:end}.eq-builder label{display:block;font-size:12px;font-weight:700;color:#396c66}.eq-builder input,.eq-builder select{display:block;box-sizing:border-box;width:100%;height:48px;border:2px solid #85bdb0;border-radius:12px;text-align:center;font-size:24px;color:#174557;background:white;padding:4px}.eq-input-note{font-size:12px;color:#49746d;margin:0 0 10px}.eq-builder-status{font-size:15px;line-height:1.4;text-align:center;margin:10px 0 0;font-weight:700;color:#116d63}.eq-builder-model .eq-object{width:25px!important;height:25px!important}.eq-builder-model .eq-group{padding:2px}.eq-load-status{background:#fff8df;border:2px solid #eac46a;border-radius:12px;padding:12px;text-align:center;color:#735600}.eq-load-status p{font-size:15px;margin:0 0 10px}.eq-loading [data-eq-model]{opacity:.35}
@media(max-width:600px){.grade3-equality-board{padding:12px!important;border-radius:20px}.eq-zones{gap:8px}.eq-zone{padding:7px;border-radius:13px}.eq-zone h3{font-size:12px}.eq-group{padding:3px}.eq-group-body{gap:2px}.eq-object{width:27px!important;height:27px!important}.eq-zone-body{gap:5px}.eq-expressions{gap:4px;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);margin-bottom:9px}.eq-expressions b{font-size:20px}.eq-expressions strong{font-size:26px}.eq-zone-value{font-size:20px;margin-top:6px}.eq-equation{font-size:18px;padding:9px;margin-top:9px}.eq-caption{font-size:14px;margin-top:8px}.eq-story{margin-top:8px}.eq-story h2{font-size:18px}.eq-answer{font-size:15px;padding:10px;min-height:48px;min-width:calc(33% - 8px)}.eq-support h2{font-size:18px}.eq-original{font-size:12px}.eq-model[data-eq-model=regroup] .eq-object{width:31px!important;height:31px!important}.eq-model[data-eq-model=regroup] .eq-zone-body{gap:7px}.eq-model[data-eq-model=groupCount] .eq-object{width:23px!important;height:23px!important}.eq-model[data-eq-model=groupCount] .eq-group-counting{gap:4px}.eq-model[data-eq-model=groupCount] .eq-group{padding:3px}.eq-builder fieldset{margin-bottom:5px}.eq-builder-left{gap:5px}.eq-builder button{font-size:15px}.eq-builder-right{gap:8px;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr)}.eq-builder input,.eq-builder select{height:44px}.eq-builder .eq-input-note{font-size:11px;margin-bottom:4px}.eq-builder-status{font-size:12px;line-height:1.15;margin-top:0}.eq-builder-model .eq-zone.eq-symbolic{min-height:64px;padding:5px}.eq-builder-model .eq-zone-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.eq-builder-model .eq-zone-body:has(>.eq-group:only-child){grid-template-columns:minmax(0,1fr)}.eq-builder-model .eq-group-body{gap:1px}.eq-builder-model .eq-group-number{font-size:9px;line-height:1;margin-bottom:1px}.eq-builder-model .eq-zone-value{font-size:17px;margin-top:3px}.eq-symbolic h3{font-size:22px}.eq-score{font-size:14px}.eq-builder-model .eq-object{width:16px!important;height:16px!important}}
@media(prefers-reduced-motion:reduce){.grade3-equality-board *{transition:none!important;animation:none!important}}
@media(max-height:860px) and (min-width:761px){.teacher-classroom:has(.grade3-equality-board){padding-top:12px;padding-bottom:15px}.teacher-classroom:has(.grade3-equality-board) .lesson-avatar{height:205px}.teacher-classroom:has(.grade3-equality-board) .teacher-bubble{padding:12px;min-height:70px;max-height:180px;overflow:auto;font-size:13px}}
.eq-model[data-eq-model=common] .eq-group[data-group-size="2"]{border-color:#258e83;background:#d9f3ec}.eq-model[data-eq-model=common] .eq-group[data-group-size="3"]{border-color:#956bb3;background:#eee1f7}.eq-model[data-eq-model=common] .eq-group[data-group-size="4"]{border-color:#c78a2e;background:#fff0ce}
.eq-model[data-eq-model=expressions].eq-dense .eq-zone:not(.eq-minor) .eq-zone-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.eq-model[data-eq-model=expressions].eq-dense .eq-object{width:27px!important;height:27px!important}
.eq-model[data-eq-model=expressions].eq-dense .eq-zone-body:has(>.eq-group:only-child){grid-template-columns:minmax(0,1fr)}
.lesson-footer:has([data-eq-next]) .eq-answer{flex:0 1 auto;min-width:48px;max-width:40%;min-height:48px;padding:8px;font-size:16px}
.lesson-footer:has([data-eq-next]) .eq-next{flex:1 1 170px;max-width:300px;min-height:48px;padding:9px 12px;font-size:14px}
@media(max-width:600px){.eq-model[data-eq-model=expressions].eq-dense .eq-object{width:22px!important;height:22px!important}.eq-model[data-eq-model=expressions].eq-dense .eq-zone-body{gap:4px}.eq-model[data-eq-model=expressions].eq-dense .eq-group{padding:3px}.eq-model[data-eq-model=expressions].eq-dense .eq-group-number{font-size:10px;line-height:1;margin-bottom:2px}.lesson-footer:has([data-eq-next]) .eq-answer{font-size:14px}}
@media(max-width:600px){.lesson-footer:has([data-eq-build]){flex-wrap:nowrap!important;margin-top:7px!important}.lesson-footer:has([data-eq-build]) .eq-action,.lesson-footer:has([data-eq-build]) .eq-next{flex:1 1 0;min-width:0;max-width:none;min-height:52px;padding:8px 9px;font-size:14px}}
@media(max-width:760px){.teacher-classroom:has(.grade3-equality-board){padding-top:8px;padding-bottom:14px}.teacher-classroom:has(.grade3-equality-board) .teacher-column{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.teacher-classroom:has(.grade3-equality-board) .lesson-avatar{height:86px}.teacher-classroom:has(.grade3-equality-board) .teacher-bubble{min-height:55px;max-height:100px;overflow:auto;overscroll-behavior:contain;font-size:14px;line-height:1.35}}
@media(min-width:761px) and (max-width:1020px){body:has(.grade3-equality-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) auto auto auto;gap:8px 12px;padding:9px 16px}body:has(.grade3-equality-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}body:has(.grade3-equality-board) .section-segment span{font-size:10px;line-height:1.2}}

/* grade3-layout-standard.css */
/* Grade 3 layout and Lumi standard. Loaded last so every lesson shares one shell. */
.topic-lesson-shell[data-grade="3"] {
  max-width:100vw;
  overflow-x:hidden;
}

.topic-lesson-shell[data-grade="3"] :is(.lesson-step-label,#lesson-step-label,#teaching-board .board-kicker) {
  display:none !important;
}

.topic-lesson-shell[data-grade="3"] :is(
  [data-theme4-final-help="hint"],
  [data-universal-help="hint"],
  [data-mental-subtraction-help="hint"],
  [data-rel-help="hint"],
  [data-ins-help="hint"],
  [data-pr-help="hint"],
  [data-eq-help="hint"]
) {
  display:none !important;
}

.topic-lesson-shell[data-grade="3"] #lesson-support-dock > :is(div,.universal-teacher-support,.mental-subtraction-support),
.topic-lesson-shell[data-grade="3"] #lesson-support-dock > div:has(button:not([hidden])) {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
}

.topic-lesson-shell[data-grade="3"] .lesson-screen-meta {
  justify-content:flex-end;
}

.topic-lesson-shell[data-grade="3"] #topic-section-track {
  grid-template-columns:none !important;
  grid-auto-flow:column;
  grid-auto-columns:minmax(72px,1fr);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
.topic-lesson-shell[data-grade="3"] #topic-section-track::-webkit-scrollbar { display:none; }

.topic-lesson-shell[data-grade="3"] :is(
  #exit-lesson,
  #restart-topic-lesson,
  #topic-skip-section,
  #topic-section-track button,
  .narration-controls button,
  #lesson-support-dock button,
  #raise-hand,
  #lesson-footer button,
  #teaching-board button,
  #teaching-board [role="button"]
) {
  min-height:44px !important;
}
.topic-lesson-shell[data-grade="3"] :is(#exit-lesson,#restart-topic-lesson,#teaching-board button,#teaching-board [role="button"]) {
  min-width:44px !important;
}
.topic-lesson-shell[data-grade="3"] :is(#teaching-board,#lesson-footer) .grade3-readable-min {
  font-size:12.5px !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
}
body:has(.topic-lesson-shell[data-grade="3"]) .feedback-launcher { min-width:44px !important; }

.topic-lesson-shell[data-grade="3"] :is(.g3dp-mini span,.g3dp-mini s,.g3dp-mini b,.g3tf-to-frequency p) {
  font-size:14px !important;
  line-height:1.2 !important;
}

.topic-lesson-shell[data-grade="3"] #lesson-footer [data-g3eo-strategy],
.topic-lesson-shell[data-grade="3"] .g3clock-kala-readings p,
.topic-lesson-shell[data-grade="3"] .g3clock-kala-readings :is(b,span),
.topic-lesson-shell[data-grade="3"] .g3wa-grouping :is(section,.ring),
.topic-lesson-shell[data-grade="3"] .g3wa-grouping section b,
.topic-lesson-shell[data-grade="3"] .g3wa-estimate-check small,
.topic-lesson-shell[data-grade="3"] .g3liq-daily span {
  font-size:14px !important;
  line-height:1.15 !important;
}

.topic-lesson-shell[data-grade="3"] .g3draw-point-target {
  cursor:pointer;
  outline:none;
}
.topic-lesson-shell[data-grade="3"] .g3draw-point-hit {
  fill:transparent;
  stroke:transparent;
}
.topic-lesson-shell[data-grade="3"] .g3draw-point-target.next .g3draw-point {
  filter:drop-shadow(0 0 9px #f3b938);
  stroke:#f3b938;
  stroke-width:7;
  animation:g3draw-pulse .9s ease-in-out infinite;
}
.topic-lesson-shell[data-grade="3"] .g3draw-point-target.chosen .g3draw-point { fill:#087f73; }
.topic-lesson-shell[data-grade="3"] .g3draw-point-target.wrong .g3draw-point { fill:#d84444; }

.topic-lesson-shell[data-grade="3"] .g3per-svg-clip > .g3per-clip-hit {
  fill:transparent !important;
  stroke:transparent !important;
}
.topic-lesson-shell[data-grade="3"] .g3per-svg-clip > rect:not(.inner):not(.g3per-clip-hit) {
  fill:#fff;
  stroke:#7a47bf;
  stroke-width:5;
}
.topic-lesson-shell[data-grade="3"] .grade3-svg-line-hit {
  stroke:rgba(0,0,0,.001) !important;
  stroke-width:68 !important;
  pointer-events:stroke !important;
}

.topic-lesson-shell[data-grade="3"] .grade3-grid-scroll {
  width:100%;
  overflow:visible;
  display:flex;
  justify-content:center;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.topic-lesson-shell[data-grade="3"] .grade3-grid-scroll > .g3cs-grid {
  display:block;
  width:min(100%,370px) !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  aspect-ratio:1 !important;
}
.topic-lesson-shell[data-grade="3"] .grade3-grid-scroll > .g3code-grid {
  display:block;
  width:min(100%,370px) !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  aspect-ratio:430/326 !important;
}

@media (min-width:621px) {
  .topic-lesson-shell[data-grade="3"] #teaching-board > :only-child {
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:calc(100vh - 205px) !important;
    aspect-ratio:4/3 !important;
    overflow:hidden !important;
    box-sizing:border-box;
  }
}

@media (min-width:721px) and (max-height:800px) {
  .topic-lesson-shell[data-grade="3"] .teacher-classroom {
    grid-template-columns:230px minmax(0,700px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
  }
  .topic-lesson-shell[data-grade="3"] .lesson-avatar { height:190px !important; }
  .topic-lesson-shell[data-grade="3"] .teacher-bubble {
    min-height:86px !important;
    max-height:138px !important;
    margin-top:7px !important;
    padding:11px !important;
    overflow:auto !important;
    font-size:12px !important;
    line-height:1.4 !important;
  }
  .topic-lesson-shell[data-grade="3"] .narration-controls,
  .topic-lesson-shell[data-grade="3"] #lesson-support-dock { margin-top:5px !important; }
  .topic-lesson-shell[data-grade="3"] #raise-hand {
    min-height:50px !important;
    margin-top:7px !important;
    padding:5px 10px !important;
  }
  .topic-lesson-shell[data-grade="3"] .teaching-area { width:min(100%,calc(100vh - 205px)) !important; }
  .topic-lesson-shell[data-grade="3"] .lesson-screen-meta { min-height:27px; padding-bottom:4px; }
  .topic-lesson-shell[data-grade="3"] #lesson-footer { min-height:56px; padding-top:5px; }
}

@media (max-width:820px) {
  .topic-lesson-shell[data-grade="3"] .grade3-grid-scroll {
    display:block;
    max-height:310px;
    overflow:auto;
  }
  .topic-lesson-shell[data-grade="3"] .grade3-grid-scroll > :is(.g3cs-grid,.g3code-grid) {
    width:370px !important;
    min-width:370px !important;
  }
}

@media (max-width:620px) {
  .topic-lesson-shell[data-grade="3"] .lesson-teacher {
    position:relative !important;
    grid-template-columns:76px minmax(0,1fr) !important;
    padding-bottom:58px !important;
  }
  .topic-lesson-shell[data-grade="3"] .lesson-avatar { height:112px !important; }
  .topic-lesson-shell[data-grade="3"] .teacher-bubble {
    min-height:70px !important;
    max-height:70px !important;
    padding:8px !important;
    overflow:auto !important;
    font-size:14px !important;
    line-height:1.3 !important;
  }
  .topic-lesson-shell[data-grade="3"] .narration-controls { gap:3px !important; }
  .topic-lesson-shell[data-grade="3"] .narration-controls button { font-size:12px !important; }
  .topic-lesson-shell[data-grade="3"] #lesson-support-dock {
    position:absolute !important;
    left:0 !important;
    bottom:0 !important;
    width:49% !important;
    margin:0 !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="3"] #lesson-support-dock > *,
  .topic-lesson-shell[data-grade="3"] #lesson-support-dock button {
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="3"] #raise-hand {
    position:absolute !important;
    right:0 !important;
    bottom:0 !important;
    width:49% !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    margin:0 !important;
    padding:4px 6px !important;
    grid-template-columns:30px minmax(0,1fr) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="3"] #raise-hand :is(.hand-meter,.hand-copy small),
  .topic-lesson-shell[data-grade="3"] .talk-help { display:none !important; }
  .topic-lesson-shell[data-grade="3"] #teaching-board > :only-child {
    width:100% !important;
    height:390px !important;
    min-height:0 !important;
    max-height:390px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    box-sizing:border-box;
  }
}

/* grade4-layout-standard.css */
/* Grade 4 layout and Lumi standard. Loaded last to normalize every lesson shell. */
.topic-lesson-shell[data-grade="4"] {
  max-width:100vw;
  overflow-x:hidden;
}
.topic-lesson-shell[data-grade="4"] #teaching-board > :only-child {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box;
}

.topic-lesson-shell[data-grade="4"] :is(.lesson-step-label,#lesson-step-label,#teaching-board .board-kicker) {
  display:none !important;
}

.topic-lesson-shell[data-grade="4"] button[hidden] {
  display:none !important;
}

.topic-lesson-shell[data-grade="4"] #lesson-support-dock > :is(div,.universal-teacher-support),
.topic-lesson-shell[data-grade="4"] #lesson-support-dock > div:has(button:not([hidden])) {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
}
.topic-lesson-shell[data-grade="4"] #lesson-support-dock:not(:empty) {
  display:block !important;
  width:100% !important;
  min-height:44px !important;
}

.topic-lesson-shell[data-grade="4"] .lesson-screen-meta {
  justify-content:flex-end;
}

.topic-lesson-shell[data-grade="4"] #topic-section-track {
  grid-template-columns:none !important;
  grid-auto-flow:column;
  grid-auto-columns:minmax(72px,1fr);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
.topic-lesson-shell[data-grade="4"] #topic-section-track::-webkit-scrollbar { display:none; }

.topic-lesson-shell[data-grade="4"] :is(
  #exit-lesson,
  #restart-topic-lesson,
  #topic-skip-section,
  #topic-section-track button,
  .narration-controls button,
  #lesson-support-dock button,
  #raise-hand,
  #lesson-footer button,
  #teaching-board button,
  #teaching-board [role="button"]
) {
  min-height:44px !important;
}
.topic-lesson-shell[data-grade="4"] :is(#exit-lesson,#restart-topic-lesson,#teaching-board button,#teaching-board [role="button"]) {
  min-width:44px !important;
}
.topic-lesson-shell[data-grade="4"] :is(#teaching-board,#lesson-footer) .grade4-readable-min {
  font-size:12.5px !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
}
.topic-lesson-shell[data-grade="4"] .sp-length {
  font-size:16px !important;
}
body:has(.topic-lesson-shell[data-grade="4"]) .feedback-launcher { min-width:44px !important; }
.topic-lesson-shell[data-grade="4"] input[type="range"] { min-height:44px !important; }
.topic-lesson-shell[data-grade="4"] #teaching-board :is(
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea
) { min-height:44px !important; }

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="4"] :is(.grade4-mc-board,.grade4-fp-board) { padding:0 !important; }
}

.topic-lesson-shell[data-grade="4"] .grade4-standard-support {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
}
.topic-lesson-shell[data-grade="4"] .grade4-standard-help {
  width:100%;
  min-height:52px;
  border:1px solid #8fcfc4;
  background:#fffdf8;
  color:#123d3b;
  font:700 13px/1.2 inherit;
  cursor:pointer;
}

@media (min-width:721px) and (max-height:800px) {
  .topic-lesson-shell[data-grade="4"] .teacher-classroom {
    grid-template-columns:230px minmax(0,700px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-avatar { height:190px !important; }
  .topic-lesson-shell[data-grade="4"] .teacher-bubble {
    min-height:86px !important;
    max-height:126px !important;
    margin-top:7px !important;
    padding:11px !important;
    overflow:auto !important;
    font-size:12px !important;
    line-height:1.4 !important;
  }
  .topic-lesson-shell[data-grade="4"] .narration-controls,
  .topic-lesson-shell[data-grade="4"] #lesson-support-dock { margin-top:5px !important; }
  .topic-lesson-shell[data-grade="4"] #raise-hand {
    min-height:50px !important;
    margin-top:7px !important;
    padding:5px 10px !important;
  }
  .topic-lesson-shell[data-grade="4"] .teaching-area {
    width:min(100%,calc(100vh - 230px)) !important;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-screen-meta { min-height:27px; padding-bottom:4px; }
  .topic-lesson-shell[data-grade="4"] #lesson-footer { min-height:56px; padding-top:5px; }
  .topic-lesson-shell[data-grade="4"] #teaching-board {
    height:calc(100vh - 230px) !important;
    min-height:0 !important;
    max-height:calc(100vh - 230px) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] #teaching-board > :only-child {
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
    box-sizing:border-box;
  }
}

@media (min-width:621px) and (max-width:820px) and (min-height:801px) {
  .topic-lesson-shell[data-grade="4"] #teaching-board {
    height:min(460px,calc(100vh - 270px)) !important;
    min-height:0 !important;
    max-height:min(460px,calc(100vh - 270px)) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] #teaching-board > :only-child {
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
    box-sizing:border-box;
  }
}

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="4"] .lesson-header {
    grid-template-columns:44px minmax(0,1fr) 44px auto !important;
    gap:8px !important;
    min-height:0 !important;
    padding:9px 12px !important;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-breadcrumb {
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-breadcrumb strong {
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-breadcrumb span,
  .topic-lesson-shell[data-grade="4"] .lesson-time {
    display:none !important;
  }
  .topic-lesson-shell[data-grade="4"] #restart-topic-lesson {
    grid-column:3 !important;
    grid-row:1 !important;
    width:44px !important;
    min-width:44px !important;
    padding:0 !important;
  }
  .topic-lesson-shell[data-grade="4"] #restart-topic-lesson b {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip:rect(0 0 0 0) !important;
  }
  .topic-lesson-shell[data-grade="4"] #topic-skip-section {
    grid-column:4 !important;
    grid-row:1 !important;
  }
  .topic-lesson-shell[data-grade="4"] #topic-section-track {
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    width:100% !important;
    min-width:0 !important;
  }
  .topic-lesson-shell[data-grade="4"] .teacher-classroom {
    gap:8px !important;
    padding-top:8px !important;
    padding-bottom:14px !important;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-teacher {
    position:relative !important;
    grid-template-columns:76px minmax(0,1fr) !important;
    padding-bottom:58px !important;
  }
  .topic-lesson-shell[data-grade="4"] .lesson-avatar { height:112px !important; }
  .topic-lesson-shell[data-grade="4"] .teacher-bubble {
    min-height:70px !important;
    max-height:70px !important;
    padding:8px !important;
    overflow:auto !important;
    font-size:14px !important;
    line-height:1.3 !important;
  }
  .topic-lesson-shell[data-grade="4"] .narration-controls { gap:3px !important; }
  .topic-lesson-shell[data-grade="4"] .narration-controls button {
    flex:1 1 0 !important;
    min-width:44px !important;
    font-size:12px !important;
  }
  .topic-lesson-shell[data-grade="4"] #lesson-support-dock,
  .topic-lesson-shell[data-grade="4"] #lesson-support-dock:not(:empty) {
    position:absolute !important;
    left:0 !important;
    bottom:0 !important;
    width:49% !important;
    margin:0 !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] #lesson-support-dock > *,
  .topic-lesson-shell[data-grade="4"] #lesson-support-dock button {
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] #raise-hand {
    position:absolute !important;
    right:0 !important;
    bottom:0 !important;
    width:49% !important;
    max-width:49% !important;
    min-width:0 !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    margin:0 !important;
    padding:4px 6px !important;
    grid-template-columns:30px minmax(0,1fr) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] #raise-hand :is(.hand-meter,.hand-copy small),
  .topic-lesson-shell[data-grade="4"] .talk-help { display:none !important; }
  .topic-lesson-shell[data-grade="4"] .teaching-area {
    width:100% !important;
  }
  .topic-lesson-shell[data-grade="4"] #teaching-board {
    height:430px !important;
    min-height:0 !important;
    max-height:430px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] #teaching-board > :only-child {
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
    box-sizing:border-box;
  }
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="4"] #teaching-board {
    height:390px !important;
    max-height:390px !important;
  }
}

/* Grade 4 board composition: one stable frame, with compact dense scenes. */
.topic-lesson-shell[data-grade="4"] .g4f-content {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  height:100% !important;
  min-height:0 !important;
}
.topic-lesson-shell[data-grade="4"] .g4f-canvas {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="4"] .g4f-scene { padding:7px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-content > h1 {
  margin:0 0 5px !important;
  font-size:1.08rem !important;
}
.topic-lesson-shell[data-grade="4"] .g4f-overlay { padding:7px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-hook {
  gap:7px !important;
  height:100% !important;
  max-height:100% !important;
  padding:8px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .g4f-hook > div { gap:6px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-hook span { min-height:68px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-hook img { width:38px !important; height:38px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-piece-task {
  gap:5px !important;
  height:100% !important;
  max-height:100% !important;
  padding:7px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .g4f-plates { gap:5px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-plates section {
  min-height:126px !important;
  height:126px !important;
  padding:5px !important;
}
.topic-lesson-shell[data-grade="4"] .g4f-piece-source { gap:5px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-piece-source img { width:36px !important; height:36px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-piece-source [data-g4f-piece] { padding:4px 8px !important; }
.topic-lesson-shell[data-grade="4"] :is(.g4f-oral,.g4f-oral-ready,.g4f-finish) {
  gap:8px !important;
  max-height:100% !important;
  padding:12px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .g4f-oral .g4f-area-model section { height:72px !important; }
.topic-lesson-shell[data-grade="4"] .g4f-oral p { margin:0 !important; line-height:1.25 !important; }
.topic-lesson-shell[data-grade="4"] :is(.pm-courtyard,.pm-digital-lab) .pm-tool-rack {
  width:108px !important;
  max-width:108px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] :is(.pm-courtyard,.pm-digital-lab) .pm-tool-rack .pm-tool-ruler { width:96px !important; }
.topic-lesson-shell[data-grade="4"] :is(.pm-courtyard,.pm-digital-lab) .pm-tool-rack .pm-tool-tape { width:82px !important; }
.topic-lesson-shell[data-grade="4"] :is(.pm-courtyard,.pm-digital-lab) .pm-tool-rack .pm-tool-compass {
  width:72px !important;
  height:110px !important;
}
.topic-lesson-shell[data-grade="4"] .pm-ruler-track { width:100% !important; }
.topic-lesson-shell[data-grade="4"] .pm-ruler-track .pm-tool-ruler { width:min(210px,48%) !important; }

/* Board-width composition rules. The teaching frame stays narrow even on laptops. */
.topic-lesson-shell[data-grade="4"] .g4e-content {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  height:100% !important;
  min-height:0 !important;
}
.topic-lesson-shell[data-grade="4"] .g4e-content > h1 {
  margin:0 0 5px !important;
  font-size:1.08rem !important;
}
.topic-lesson-shell[data-grade="4"] .g4e-canvas {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  aspect-ratio:auto !important;
}
.topic-lesson-shell[data-grade="4"] .g4e-overlay { padding:8px !important; }
.topic-lesson-shell[data-grade="4"] :is(.g4e-split-task,.g4e-independent,.g4e-oral) {
  max-height:100% !important;
  padding:10px !important;
  gap:6px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] :is(.g4e-split-task,.g4e-independent,.g4e-oral) p {
  margin:0 !important;
  font-size:.72rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="4"] .g4e-build-strip button {
  min-width:0 !important;
  min-height:40px !important;
}
.topic-lesson-shell[data-grade="4"] .g4e-build-strip {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:repeat(var(--g4e-den),minmax(0,1fr)) !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .g4e-ribbon-task {
  left:5% !important;
  right:5% !important;
  min-width:0 !important;
}
.topic-lesson-shell[data-grade="4"] .g4e-oral .g4e-strip > div,
.topic-lesson-shell[data-grade="4"] .g4e-independent .g4e-strip > div { height:34px !important; }

.topic-lesson-shell[data-grade="4"] .fp-scene[data-phase="7"] .fp-garden-grid {
  width:100% !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:3px !important;
  padding:6px !important;
  overflow:hidden !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .fp-scene[data-phase="7"] .fp-garden-grid button {
  width:100% !important;
  min-width:0 !important;
  height:48px !important;
}
.topic-lesson-shell[data-grade="4"] .fp-scene[data-phase="10"] .fp-pitcher {
  grid-template-columns:80px minmax(0,1fr) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .fp-scene[data-phase="10"] .fp-pitcher img { height:105px !important; }
.topic-lesson-shell[data-grade="4"] .fp-scene[data-phase="10"] .fp-strip {
  width:100% !important;
  grid-template-columns:repeat(var(--fp-den),minmax(0,1fr)) !important;
}

.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="2"] .mc-meter-line {
  width:100% !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  padding:8px !important;
  overflow:hidden !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="2"] .mc-meter-line > b { grid-column:1/-1 !important; }
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="2"] .mc-meter-line button {
  min-width:0 !important;
  min-height:54px !important;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="2"] .mc-meter-line span {
  writing-mode:horizontal-tb !important;
  font-size:9px !important;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="6"] .mc-workspace { overflow:hidden !important; }
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="6"] .mc-precision-chain {
  height:100% !important;
  align-content:center !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="6"] .mc-precision-chain > div:first-child { gap:4px !important; }
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="6"] .mc-precision-chain :is(b,div:first-child span) {
  padding:6px !important;
  font-size:12px !important;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="7"] .mc-map-road {
  width:100% !important;
  grid-template-columns:repeat(10,minmax(0,1fr)) !important;
  overflow:hidden !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="7"] .mc-map-road i span {
  padding:1px !important;
  font-size:8px !important;
}
.topic-lesson-shell[data-grade="4"] .mc-scene[data-phase="7"] .mc-car {
  left:calc(2% + (var(--mc-step) * 8.7%)) !important;
  font-size:30px !important;
}

.topic-lesson-shell[data-grade="4"] .mas-scene[data-phase="0"] .mas-hook-routes {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="4"] .mas-scene[data-phase="0"] .mas-hook-question { grid-column:1/-1 !important; }
.topic-lesson-shell[data-grade="4"] .mas-scene[data-phase="0"] .mas-hook-routes > button {
  min-height:145px !important;
  padding:7px !important;
}
.topic-lesson-shell[data-grade="4"] .mas-scene[data-phase="0"] .mas-route-cover {
  min-height:72px !important;
  padding:7px !important;
}

.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-workspace {
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-quarter-lab {
  width:100% !important;
  min-width:0 !important;
  grid-template-columns:120px 95px minmax(0,1fr) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-quarter-lab > .quarter { width:112px !important; }
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-quarter-lab > .crate { width:88px !important; }
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-quarter-flow {
  min-width:0 !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-quarters {
  width:100% !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-quarters i { padding:8px 3px !important; }
.topic-lesson-shell[data-grade="4"] .mmd-scene[data-phase="7"] .mmd-equation {
  grid-column:1/-1 !important;
  padding:7px !important;
}

.topic-lesson-shell[data-grade="4"] .emd-scene > header {
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="4"] .emd-scene,
.topic-lesson-shell[data-grade="4"] .emd-workspace,
.topic-lesson-shell[data-grade="4"] .emd-workspace > * {
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .emd-workspace { overflow:hidden !important; }
.topic-lesson-shell[data-grade="4"] :is(.emd-toolkit,.emd-neighbor-lab,.emd-single-round,.emd-tape-lab,.emd-price-lab,.emd-time-lab,.emd-division-trap,.emd-magnet-lab,.emd-packing,.emd-final) {
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr) !important;
}
.topic-lesson-shell[data-grade="4"] .emd-workspace :is(.emd-sprite,.emd-toolkit-sheet,img,svg) {
  max-width:100% !important;
}
.topic-lesson-shell[data-grade="4"] .emd-scene > header h1 {
  min-width:0 !important;
  max-width:100% !important;
  font-size:18px !important;
  overflow-wrap:anywhere;
}
.topic-lesson-shell[data-grade="4"] .emd-scene[data-phase="15"] .emd-final {
  height:100% !important;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="4"] .emd-scene[data-phase="15"] .emd-final-cards { gap:4px !important; }
.topic-lesson-shell[data-grade="4"] .emd-scene[data-phase="15"] .emd-final-cards button { padding:6px !important; }
.topic-lesson-shell[data-grade="4"] .emd-scene[data-phase="15"] .emd-final textarea { min-height:72px !important; }

.topic-lesson-shell[data-grade="4"] .pp-scene[data-pp-phase="13"] {
  padding:9px !important;
  gap:5px !important;
  grid-template-rows:auto minmax(0,1fr) !important;
}
.topic-lesson-shell[data-grade="4"] .pp-scene[data-pp-phase="13"] .pp-workspace {
  min-height:0 !important;
  height:100% !important;
}
.topic-lesson-shell[data-grade="4"] .pp-scene[data-pp-phase="13"] .pp-title-card {
  bottom:2% !important;
  padding:6px 8px !important;
}
.topic-lesson-shell[data-grade="4"] .pp-scene[data-pp-phase="13"] .pp-title-card input { padding:5px 7px !important; }
.topic-lesson-shell[data-grade="4"] .pp-scene[data-pp-phase="5"] > header {
  box-sizing:border-box;
  padding-right:14px !important;
}
.topic-lesson-shell[data-grade="4"] .pp-scene[data-pp-phase="5"] h1 {
  max-width:calc(72% - 14px) !important;
  font-size:17px !important;
  overflow-wrap:anywhere;
}

.topic-lesson-shell[data-grade="4"] .sop-scene,
.topic-lesson-shell[data-grade="4"] .sop-workspace {
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .sop-workspace { overflow-x:hidden !important; }
.topic-lesson-shell[data-grade="4"] .sop-scene > header h1 {
  min-width:0 !important;
  max-width:100% !important;
  overflow-wrap:anywhere;
}

.topic-lesson-shell[data-grade="4"] .ea-scene[data-ea-phase="1"] .ea-cover-options {
  width:100% !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="4"] .ea-scene[data-ea-phase="1"] .ea-cover-card {
  min-width:0 !important;
  padding:5px !important;
}
.topic-lesson-shell[data-grade="4"] .ea-scene[data-ea-phase="1"] .ea-cover-card:last-child { grid-column:auto !important; }
.topic-lesson-shell[data-grade="4"] .ea-scene[data-ea-phase="1"] .ea-cover-card b {
  margin-top:4px !important;
  font-size:.62rem !important;
}
.topic-lesson-shell[data-grade="4"] .ea-scene[data-ea-phase="13"] .ea-paper-garden { gap:6px !important; }
.topic-lesson-shell[data-grade="4"] .ea-scene[data-ea-phase="13"] .ea-paper-garden .ea-grid {
  width:min(280px,100%) !important;
  max-height:280px !important;
  justify-self:center;
}

.topic-lesson-shell[data-grade="4"] .ms-scene {
  height:100% !important;
  min-height:0 !important;
  padding:8px !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
}
.topic-lesson-shell[data-grade="4"] .ms-workspace {
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="0"] .ms-gallery {
  height:100% !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="0"] .ms-gallery > button { padding:4px !important; }
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="0"] .ms-gallery .ms-rail { height:122px !important; }
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="0"] .ms-gallery > button > strong { font-size:.62rem !important; }
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="8"] .ms-mirror-to-line {
  height:100% !important;
  grid-template-columns:64px minmax(0,1fr) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="8"] .ms-lifting-mirror {
  height:170px !important;
  transform:none !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="8"] .ms-mirror-to-line > p {
  margin:0 !important;
  font-size:.65rem !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="12"] .ms-sentence-builder {
  height:100% !important;
  gap:5px !important;
  grid-template-rows:auto auto minmax(0,1fr) !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="12"] .ms-word-bank { gap:4px !important; }
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="12"] .ms-word-bank button {
  min-height:38px !important;
  padding:4px 7px !important;
  font-size:.65rem !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="12"] .ms-relation-card svg { max-height:150px !important; }
@media (max-width:430px) {
  .topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="12"] .ms-relation-card svg {
    height:82px !important;
    max-height:82px !important;
  }
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="15"] .ms-fold-proof {
  height:100% !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="15"] .ms-fold-paper {
  width:100% !important;
  height:175px !important;
  transform:none !important;
}
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="15"] .ms-relation-card svg { max-height:155px !important; }
.topic-lesson-shell[data-grade="4"] .ms-scene[data-ms-phase="15"] .ms-fold-proof > p {
  grid-column:1/-1 !important;
  margin:0 !important;
  font-size:.62rem !important;
}

.topic-lesson-shell[data-grade="4"] .cs-scene {
  height:100% !important;
  min-height:0 !important;
  padding:8px !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
}
.topic-lesson-shell[data-grade="4"] .cs-workspace {
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="0"] .cs-prior-bridge {
  height:100% !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="0"] .cs-grid { max-height:205px !important; }
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="16"] .cs-final { height:100% !important; gap:5px !important; }
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="16"] .cs-final-checks {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="16"] .cs-final-checks span { padding:4px !important; }
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="16"] .cs-final-proof {
  min-height:0 !important;
  height:100% !important;
}
.topic-lesson-shell[data-grade="4"] .cs-scene[data-cs-phase="16"] .cs-grid { max-height:240px !important; }

.topic-lesson-shell[data-grade="4"] .pl-scene {
  height:100% !important;
  min-height:0 !important;
  padding:8px !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
}
.topic-lesson-shell[data-grade="4"] .pl-workspace {
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="3"] .pl-gate-lab {
  height:100% !important;
  grid-template-columns:145px minmax(0,1fr) !important;
  grid-template-rows:minmax(0,1fr) auto auto !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="3"] .pl-gate-lab > .pl-bag {
  grid-column:1 !important;
  grid-row:1 / 3 !important;
  width:100% !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="3"] .pl-gate-lab > .pl-bins {
  grid-column:1/-1 !important;
  grid-row:3 !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="3"] .pl-bins button {
  min-height:44px !important;
  padding:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="14"] .pl-sentence-builder {
  height:100% !important;
  grid-template-columns:150px minmax(0,1fr) !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="14"] .pl-spinner-shell {
  grid-column:1 !important;
  grid-row:1 / 3 !important;
  transform:scale(.58) !important;
  margin:-48px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="14"] .pl-sentence-rail {
  grid-column:2 !important;
  grid-row:1 !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="14"] .pl-card-stack {
  grid-column:2 !important;
  grid-row:2 !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="14"] :is(.pl-sentence-rail span,.pl-sentence-rail i,.pl-card-stack button) {
  min-height:38px !important;
  padding:4px 6px !important;
  font-size:.62rem !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="15"] .pl-independent-lab {
  height:100% !important;
  grid-template-columns:145px minmax(0,1fr) !important;
  grid-template-rows:auto auto minmax(0,1fr) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="15"] .pl-spinner-shell {
  grid-column:1 !important;
  grid-row:1 / 4 !important;
  transform:scale(.56) !important;
  margin:-50px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="15"] .pl-bins {
  grid-column:2 !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .pl-scene[data-pl-phase="15"] .pl-bins button {
  min-height:44px !important;
  padding:4px !important;
  font-size:.62rem !important;
}

.topic-lesson-shell[data-grade="4"] .dr-scene {
  height:100% !important;
  min-height:0 !important;
  padding:8px !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
}
.topic-lesson-shell[data-grade="4"] .dr-workspace {
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="11"] .dr-shape-workshop {
  height:100% !important;
  gap:4px !important;
  align-content:center !important;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="11"] .dr-key { padding:4px 7px !important; }
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="11"] .dr-shape-row {
  padding:5px !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="11"] .dr-shape-row i {
  width:22px !important;
  height:22px !important;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="15"] .dr-scope-fence {
  height:100% !important;
  grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr) !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="15"] .dr-scope-fence :is(.inside,.outside) {
  height:100% !important;
  gap:5px !important;
  padding:7px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="15"] .dr-scope-fence .fence {
  height:100% !important;
  min-height:0 !important;
  writing-mode:vertical-rl !important;
  border:0 !important;
  border-left:6px double #8b683c !important;
  border-right:6px double #8b683c !important;
}
.topic-lesson-shell[data-grade="4"] .dr-scene[data-dr-phase="15"] .dr-scope-fence p {
  grid-column:1/-1 !important;
  margin:0 !important;
  padding:6px !important;
  font-size:.68rem !important;
}
.topic-lesson-shell[data-grade="4"] .fq-scene {
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] .fq-workspace {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="4"] .fq-scene[data-phase="8"] .fq-workspace {
  gap:6px !important;
  padding:8px !important;
}
.topic-lesson-shell[data-grade="4"] .fq-scene[data-phase="8"] .fq-groups > .fq-group {
  height:78px !important;
  min-height:78px !important;
}
.topic-lesson-shell[data-grade="4"] .fq-scene[data-phase="8"] .fq-model-caption { line-height:1.2 !important; }

@media (min-width:821px) and (min-height:801px) {
  .topic-lesson-shell[data-grade="4"] .fq-scene:is([data-phase="4"],[data-phase="13"]) .fq-workspace {
    gap:6px !important;
    padding:8px !important;
  }
  .topic-lesson-shell[data-grade="4"] .fq-scene:is([data-phase="4"],[data-phase="13"]) .fq-groups {
    gap:6px !important;
  }
  .topic-lesson-shell[data-grade="4"] .fq-scene:is([data-phase="4"],[data-phase="13"]) .fq-groups > .fq-group {
    height:78px !important;
    min-height:78px !important;
  }
  .topic-lesson-shell[data-grade="4"] .fq-scene[data-phase="13"] .fq-groups {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="4"] .fq-scene[data-phase="13"] .fq-model-caption {
    margin:0 !important;
    line-height:1.2 !important;
  }

  .topic-lesson-shell[data-grade="4"] .sp-scene[data-sp-phase="10"] .sp-stamp-task {
    width:100% !important;
    min-width:0 !important;
    grid-template-columns:160px minmax(0,1fr) !important;
  }
  .topic-lesson-shell[data-grade="4"] .sp-scene[data-sp-phase="10"] .sp-triangle-lab {
    width:min(450px,100%) !important;
    max-width:100% !important;
  }

  .topic-lesson-shell[data-grade="4"] .pm-scene[data-pm-phase="15"] .pm-independent-sum,
  .topic-lesson-shell[data-grade="4"] .pm-scene[data-pm-phase="15"] .pm-shape-svg {
    width:430px !important;
    height:260px !important;
    max-height:260px !important;
  }

  .topic-lesson-shell[data-grade="4"] .gc-scene[data-gc-phase="8"] .gc-reverse-read {
    height:100% !important;
    min-height:0 !important;
    grid-template-rows:minmax(0,1fr) auto auto !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-scene[data-gc-phase="8"] .gc-structure { max-height:235px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-scene[data-gc-phase="8"] .gc-command-bank {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-scene[data-gc-phase="8"] .gc-command-bank button {
    min-width:0 !important;
    min-height:44px !important;
    padding:5px !important;
    font-size:.72rem !important;
  }
}

.topic-lesson-shell[data-grade="4"] :is(
  .at-final-builder,
  .ea-final-builder,
  .oe-final-builder,
  .pm-final-builder,
  .pp-final-builder,
  .sn-final-builder,
  .sp-final-builder
) {
  max-width:100% !important;
  max-height:100% !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="4"] :is(
  .at-final-builder [data-at-publish],
  .ea-final-builder [data-ea-publish]
) {
  position:sticky;
  z-index:5;
  bottom:4px;
}
.topic-lesson-shell[data-grade="4"] :is(
  .mdr-workspace,
  .mmd-workspace,
  .oi-workspace,
  .sop-workspace
) {
  overflow-x:hidden !important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}

@media (max-width:820px) {
  .topic-lesson-shell[data-grade="4"] :is(.cs-copy-compare,.ms-relation-pair,.ms-fold-proof,.ms-final-relation) {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  .topic-lesson-shell[data-grade="4"] .cs-copy-compare .cs-bridge-card { padding:5px !important; }
  .topic-lesson-shell[data-grade="4"] .cs-copy-compare svg { max-height:132px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-trace-compare {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-trace-compare .gc-structure { max-height:155px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-trace-compare ol {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-trace-compare li { padding:5px !important; }
  .topic-lesson-shell[data-grade="4"] .dr-final-world { gap:7px !important; }
  .topic-lesson-shell[data-grade="4"] .dr-garden { min-height:145px !important; }
  .topic-lesson-shell[data-grade="4"] :is(.dr-final-tally,.dr-final-proof) { padding:12px !important; }

  .topic-lesson-shell[data-grade="4"] .gc-scene {
    height:100% !important;
    min-height:0 !important;
    padding:7px !important;
    display:grid !important;
    grid-template-rows:auto minmax(0,1fr) auto !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-workspace {
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-reverse-read {
    height:100% !important;
    min-height:0 !important;
    grid-template-rows:minmax(0,1fr) auto auto !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-reverse-read .gc-structure { max-height:145px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-repeat-lab {
    height:100% !important;
    min-height:0 !important;
    grid-template-rows:auto minmax(0,1fr) auto !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-repeat-lab .gc-repeat-card { padding:5px 10px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-repeat-lab .gc-repeat-card b {
    width:38px !important;
    height:38px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-repeat-lab .gc-structure { max-height:185px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-repeat-lab .gc-repeat-trace { padding:4px 7px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-rewind { gap:3px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-rewind span,
  .topic-lesson-shell[data-grade="4"] .gc-rewind > i { padding:4px 6px !important; font-size:.62rem !important; }
  .topic-lesson-shell[data-grade="4"] .gc-command-bank {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="4"] :is(.gc-command-bank,.gc-card-stack) button {
    width:100% !important;
    min-height:38px !important;
    padding:4px 6px !important;
    font-size:.66rem !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-command-rail {
    height:100% !important;
    grid-template-columns:minmax(0,1.35fr) minmax(112px,.65fr) !important;
    gap:6px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-rail {
    min-height:0 !important;
    height:100% !important;
    padding:6px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-rail span,
  .topic-lesson-shell[data-grade="4"] .gc-rail i { padding:4px 6px !important; font-size:.62rem !important; }

  .topic-lesson-shell[data-grade="4"] .at-workspace:has(> .at-choices) {
    height:100% !important;
    min-height:0 !important;
    grid-template-rows:minmax(0,1fr) auto !important;
    align-items:stretch !important;
  }
  .topic-lesson-shell[data-grade="4"] .at-workspace > .at-equal-turns {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
  }
  .topic-lesson-shell[data-grade="4"] .at-workspace > .at-equal-turns .at-mini-turn { height:150px !important; }
  .topic-lesson-shell[data-grade="4"] .at-workspace > .at-direction { height:210px !important; }
  .topic-lesson-shell[data-grade="4"] .at-workspace > .at-choices { margin-top:4px !important; gap:4px !important; }
  .topic-lesson-shell[data-grade="4"] .at-workspace > .at-choices button {
    min-height:38px !important;
    padding:5px 7px !important;
    font-size:.68rem !important;
  }

}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="4"] .fq-groups:not(.shelves):not(.beads):has(.fq-token:nth-child(5)) > .fq-group {
    height:84px !important;
    min-height:84px !important;
  }
  .topic-lesson-shell[data-grade="4"] .fq-model-caption { line-height:1.2 !important; }
  .topic-lesson-shell[data-grade="4"] .g4f-plates section {
    min-height:112px !important;
    height:112px !important;
  }
  .topic-lesson-shell[data-grade="4"] .gc-trace-compare .gc-structure { max-height:125px !important; }
  .topic-lesson-shell[data-grade="4"] .gc-trace-compare li { padding:3px !important; }
  .topic-lesson-shell[data-grade="4"] .grade4-fraction-shell .theme4-final-choices,
  .topic-lesson-shell[data-grade="4"].grade4-fraction-shell .theme4-final-choices {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="4"] .grade4-fraction-shell .theme4-final-choices button:first-child,
  .topic-lesson-shell[data-grade="4"].grade4-fraction-shell .theme4-final-choices button:first-child { grid-column:1/-1; }
  .topic-lesson-shell[data-grade="4"] .grade4-fraction-shell .theme4-final-choices button,
  .topic-lesson-shell[data-grade="4"].grade4-fraction-shell .theme4-final-choices button {
    min-height:48px !important;
    padding:4px 6px !important;
  }
  .topic-lesson-shell[data-grade="4"] .grade4-fraction-shell .theme4-final-choices button b,
  .topic-lesson-shell[data-grade="4"].grade4-fraction-shell .theme4-final-choices button b {
    font-size:.58rem !important;
    line-height:1.15 !important;
  }
}

/* grade5-layout-standard.css */
/* Grade 5 layout and Lumi standard. Loaded last to normalize every lesson shell. */
.topic-lesson-shell[data-grade="5"] {
  max-width:100vw;
  overflow-x:hidden;
  background:#eef5f2;
}

/* Grade 5 / Theme 6 / Operation Priority: shared lesson-board standard. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-operation-priority-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-operation-priority-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bfd6d1 !important;
  border-radius:24px !important;
  background:#eef6f3 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border-radius:23px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell > header {
  margin:0 !important;
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(.g5op-visual,.g5op-panel,.g5op-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-visual {
  height:100% !important;
  padding:8px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-stage > :first-child:not(.g5op-choices):not(.g5op-multi):not(.g5op-bank) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-panel {
  justify-content:center !important;
  gap:6px !important;
  min-height:0 !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-check {
  min-height:44px !important;
  margin-top:0 !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(.g5op-choices,.g5op-multi,.g5op-bank) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
  margin-top:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
  margin-top:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(.g5op-choices,.g5op-multi,.g5op-bank,.g5op-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-operation-priority-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-operation-priority-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-operation-priority-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-progress {
    width:100px !important;
    min-width:100px !important;
    flex-basis:100px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-visual {
    padding:5px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-stage {
    justify-content:center !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-stage > div:first-child {
    min-height:0 !important;
    height:auto !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(.g5op-panel > span,.g5op-panel h2,.g5op-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(.g5op-choices,.g5op-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-bank {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(.g5op-choices,.g5op-multi,.g5op-bank,.g5op-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .g5op-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board :is(
    .square-forge,.cube-lab,.power-bridge,.capsule-lab,.priority-gates,.bracket-comparator,
    .collapse-tower,.conveyor,.station-route,.error-lens,.story-receipt,.grouping-dock,
    .expression-theatre,.tile-studio,.mistake-magnifier,.operator-lock,.bracket-target,.priority-maze
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .square-forge {
    grid-template-columns:54px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .forge-rulers { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .forge-rulers span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .square-forge .g5op-square-grid {
    grid-template-columns:repeat(var(--n),16px) !important;
    grid-template-rows:repeat(var(--n),16px) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .power-equation {
    gap:4px !important;
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .cube-lab {
    grid-template-columns:minmax(0,1fr) 60px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .cube-scene { min-height:110px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .cube-layer {
    grid-template-columns:repeat(2,30px) !important;
    grid-template-rows:repeat(2,30px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .layer-counter { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .power-bridge { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .power-bridge section {
    min-height:84px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .expression-row {
    gap:3px !important;
    font-size:1.1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .capsule {
    gap:3px !important;
    padding:5px 7px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .capsule i { font-size:1.5rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .priority-gates { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .priority-gates section {
    min-height:95px !important;
    padding:2px !important;
    border-width:2px !important;
    border-bottom-width:6px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .priority-gates i {
    width:30px !important;
    height:30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .priority-gates b { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .bracket-comparator {
    grid-template-columns:minmax(0,1fr) 52px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .bracket-comparator section { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .elastic-bracket {
    padding:4px !important;
    border-width:3px !important;
    font-size:.9rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .number-path { gap:2px !important; margin-top:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .number-path :is(span,b) {
    width:28px !important;
    height:28px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .target-eight > i {
    width:44px !important;
    height:44px !important;
    border-width:5px !important;
    font-size:1.2rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .collapse-tower { padding-top:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .collapse-tower .floor {
    min-height:38px !important;
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .collapse-tower > strong { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .conveyor {
    grid-template-columns:minmax(0,1fr) 45px 45px !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .belt { height:58px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .package {
    width:38px !important;
    height:36px !important;
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .machine {
    height:78px !important;
    border-width:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .machine b { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .conveyor > strong { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .station-route {
    gap:2px !important;
    padding-top:20px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .station {
    min-height:72px !important;
    padding:2px !important;
    border-width:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .station i {
    width:30px !important;
    height:30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .station b { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .solution-board {
    width:78% !important;
    margin:4px 0 4px 20% !important;
    padding:4px !important;
    border-width:4px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .solution-board span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .magnifier {
    width:50px !important;
    height:50px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .magnifier::after { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .story-receipt {
    grid-template-columns:minmax(0,1fr) 72px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .badge-boxes { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .badge-boxes section {
    min-height:45px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .receipt { padding:3px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .grouping-dock {
    grid-template-columns:minmax(0,1fr) 50px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .passengers {
    grid-template-columns:repeat(7,12px) !important;
    gap:2px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .passengers i {
    width:11px !important;
    height:11px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .vans { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .vans > i { min-height:30px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .stage-curtain {
    width:100% !important;
    min-height:105px !important;
    padding:4px !important;
    border-width:4px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .stage-curtain > span { padding:3px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .tickets i {
    width:20px !important;
    height:30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .tile-studio {
    grid-template-columns:1fr 1fr !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .mission-cards { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .mission-cards section {
    min-height:55px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .tile-equation {
    gap:2px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .tile-equation span { gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .paper-steps {
    width:75% !important;
    margin:3px 0 3px 22% !important;
    padding:4px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .paper-steps span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .lens {
    left:0 !important;
    width:42px !important;
    height:42px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .lens::after { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .operator-lock {
    gap:2px !important;
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .operator-lock > :is(span,i,b) {
    min-width:30px !important;
    height:40px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .lock-wheel {
    bottom:2px !important;
    padding:2px 5px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .bracket-target { gap:10px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .elastic-expression {
    padding:5px !important;
    border-width:3px !important;
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .priority-maze {
    grid-template-columns:1.2fr .8fr !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .maze-map {
    gap:8px !important;
    min-height:110px !important;
    padding:6px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .maze-room {
    min-height:45px !important;
    border-width:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .lumi-token {
    width:26px !important;
    height:26px !important;
    border-width:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .maze-decisions {
    min-height:0 !important;
    gap:2px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-operation-priority-board .maze-decisions span {
    gap:2px !important;
    padding:3px !important;
  }
}
.topic-lesson-shell[data-grade="5"] #teaching-board > :only-child {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box;
}

.topic-lesson-shell[data-grade="5"] :is(.lesson-step-label,#lesson-step-label,#teaching-board .board-kicker) {
  display:none !important;
}
.topic-lesson-shell[data-grade="5"] #teaching-board :is(article,section) > header > span:first-child:has(+ h1) {
  display:none !important;
}
.topic-lesson-shell[data-grade="5"] button[hidden] { display:none !important; }
.topic-lesson-shell[data-grade="5"] .lesson-screen-meta { justify-content:flex-end; }

.topic-lesson-shell[data-grade="5"] #topic-section-track {
  grid-template-columns:none !important;
  grid-auto-flow:column;
  grid-auto-columns:minmax(72px,1fr);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
.topic-lesson-shell[data-grade="5"] #topic-section-track::-webkit-scrollbar { display:none; }

.topic-lesson-shell[data-grade="5"] #lesson-support-dock > :is(div,.universal-teacher-support),
.topic-lesson-shell[data-grade="5"] #lesson-support-dock > div:has(button:not([hidden])) {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
}
.topic-lesson-shell[data-grade="5"] #lesson-support-dock:not(:empty) {
  display:block !important;
  width:100% !important;
  min-height:44px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-standard-support {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
}
.topic-lesson-shell[data-grade="5"] .grade5-standard-help {
  width:100%;
  min-height:52px;
  border:1px solid #8fcfc4;
  background:#fffdf8;
  color:#123d3b;
  font:700 13px/1.2 inherit;
  cursor:pointer;
}

.topic-lesson-shell[data-grade="5"] :is(
  #exit-lesson,
  #restart-topic-lesson,
  #topic-skip-section,
  #topic-section-track button,
  .narration-controls button,
  #lesson-support-dock button,
  #raise-hand,
  #lesson-footer button,
  #teaching-board button,
  #teaching-board [role="button"]
) { min-height:44px !important; }
.topic-lesson-shell[data-grade="5"] :is(
  #exit-lesson,
  #restart-topic-lesson,
  #teaching-board button,
  #teaching-board [role="button"]
) { min-width:44px !important; }
.topic-lesson-shell[data-grade="5"] :is(#teaching-board,#lesson-footer) .grade5-readable-min {
  font-size:12.5px !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
}
.topic-lesson-shell[data-grade="5"] #teaching-board :is(
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea
) { min-height:44px !important; }
.topic-lesson-shell[data-grade="5"] input[type="range"] { min-height:44px !important; }
body:has(.topic-lesson-shell[data-grade="5"]) .feedback-launcher { min-width:44px !important; }

@media (min-width:721px) and (max-height:800px) {
  .topic-lesson-shell[data-grade="5"] .teacher-classroom {
    grid-template-columns:230px minmax(0,700px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .lesson-avatar { height:190px !important; }
  .topic-lesson-shell[data-grade="5"] .teacher-bubble {
    min-height:86px !important;
    max-height:126px !important;
    margin-top:7px !important;
    padding:11px !important;
    overflow:auto !important;
    font-size:12px !important;
    line-height:1.4 !important;
  }
  .topic-lesson-shell[data-grade="5"] .narration-controls,
  .topic-lesson-shell[data-grade="5"] #lesson-support-dock { margin-top:5px !important; }
  .topic-lesson-shell[data-grade="5"] #raise-hand {
    min-height:50px !important;
    margin-top:7px !important;
    padding:5px 10px !important;
  }
  .topic-lesson-shell[data-grade="5"] .teaching-area { width:min(100%,calc(100vh - 230px)) !important; }
  .topic-lesson-shell[data-grade="5"] .lesson-screen-meta { min-height:27px; padding-bottom:4px; }
  .topic-lesson-shell[data-grade="5"] #lesson-footer { min-height:56px; padding-top:5px; }
  .topic-lesson-shell[data-grade="5"] #teaching-board {
    height:calc(100vh - 230px) !important;
    min-height:0 !important;
    max-height:calc(100vh - 230px) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] #teaching-board > :only-child {
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
  }
}

@media (min-width:621px) and (max-width:820px) and (min-height:801px) {
  .topic-lesson-shell[data-grade="5"] #teaching-board {
    height:min(460px,calc(100vh - 270px)) !important;
    min-height:0 !important;
    max-height:min(460px,calc(100vh - 270px)) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] #teaching-board > :only-child {
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
  }
}

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="5"] .lesson-header {
    grid-template-columns:44px minmax(0,1fr) 44px auto !important;
    gap:8px !important;
    min-height:0 !important;
    padding:9px 12px !important;
  }
  .topic-lesson-shell[data-grade="5"] .lesson-breadcrumb {
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .lesson-breadcrumb strong {
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .topic-lesson-shell[data-grade="5"] .lesson-breadcrumb span,
  .topic-lesson-shell[data-grade="5"] .lesson-time { display:none !important; }
  .topic-lesson-shell[data-grade="5"] #restart-topic-lesson {
    grid-column:3 !important;
    grid-row:1 !important;
    width:44px !important;
    min-width:44px !important;
    padding:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] #restart-topic-lesson b {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip:rect(0 0 0 0) !important;
  }
  .topic-lesson-shell[data-grade="5"] #topic-skip-section {
    grid-column:4 !important;
    grid-row:1 !important;
  }
  .topic-lesson-shell[data-grade="5"] #topic-section-track {
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    width:100% !important;
    min-width:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .teacher-classroom {
    gap:8px !important;
    padding-top:8px !important;
    padding-bottom:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .lesson-teacher {
    position:relative !important;
    grid-template-columns:76px minmax(0,1fr) !important;
    padding-bottom:58px !important;
  }
  .topic-lesson-shell[data-grade="5"] .lesson-avatar { height:112px !important; }
  .topic-lesson-shell[data-grade="5"] .teacher-bubble {
    min-height:70px !important;
    max-height:70px !important;
    padding:8px !important;
    overflow:auto !important;
    font-size:14px !important;
    line-height:1.3 !important;
  }
  .topic-lesson-shell[data-grade="5"] .narration-controls { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .narration-controls button {
    flex:1 1 0 !important;
    min-width:44px !important;
    font-size:12px !important;
  }
  .topic-lesson-shell[data-grade="5"] #lesson-support-dock,
  .topic-lesson-shell[data-grade="5"] #lesson-support-dock:not(:empty) {
    position:absolute !important;
    grid-row:auto !important;
    left:0 !important;
    bottom:0 !important;
    width:49% !important;
    margin:0 !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] #lesson-support-dock > *,
  .topic-lesson-shell[data-grade="5"] #lesson-support-dock button {
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] #raise-hand {
    position:absolute !important;
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    right:0 !important;
    bottom:0 !important;
    width:49% !important;
    max-width:49% !important;
    min-width:0 !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    margin:0 !important;
    padding:4px 6px !important;
    grid-template-columns:30px minmax(0,1fr) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] #raise-hand :is(.hand-meter,.hand-copy small),
  .topic-lesson-shell[data-grade="5"] .talk-help { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .teaching-area { width:100% !important; }
  .topic-lesson-shell[data-grade="5"] #teaching-board {
    height:430px !important;
    min-height:0 !important;
    max-height:430px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] #teaching-board > :only-child {
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
  }
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] #teaching-board {
    height:390px !important;
    max-height:390px !important;
  }
}

/* Basic geometry uses the same fixed board frame instead of its legacy 480px canvas. */
.topic-lesson-shell[data-grade="5"] .g5geo-scene {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto auto !important;
  align-content:stretch !important;
  gap:6px !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:10px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="5"] .g5geo-scene h2 {
  min-height:0 !important;
  margin:0 auto 3px !important;
  font-size:clamp(1.05rem,2vw,1.65rem) !important;
}
.topic-lesson-shell[data-grade="5"] .g5geo-visual {
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  min-height:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .g5geo-visual svg {
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  min-height:0 !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .g5geo-actions {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  gap:5px !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .g5geo-actions button {
  min-width:0 !important;
  max-width:100% !important;
  min-height:44px !important;
  padding:6px 10px !important;
  box-sizing:border-box !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
.topic-lesson-shell[data-grade="5"] .g5geo-result {
  margin:0 auto !important;
  padding:6px 10px !important;
}
.topic-lesson-shell[data-grade="5"] .g5circle-grid-target .cs-hit {
  fill:transparent !important;
  stroke:transparent !important;
  pointer-events:all;
}
.topic-lesson-shell[data-grade="5"] .grade5-svg-hit {
  fill:transparent !important;
  stroke:transparent !important;
  pointer-events:all;
}

/* Lines journey: fit the legacy tall drawing stack into the shared board frame. */
.topic-lesson-shell[data-grade="5"] .lj-board { overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .lj-scene {
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  gap:5px !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:10px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .lj-scene > header { padding-bottom:5px !important; }
.topic-lesson-shell[data-grade="5"] .lj-scene h1 { font-size:clamp(1.1rem,2vw,1.55rem) !important; }
.topic-lesson-shell[data-grade="5"] .lj-task {
  margin:2px 0 5px !important;
  font-size:.82rem !important;
  line-height:1.25 !important;
}
.topic-lesson-shell[data-grade="5"] .lj-workspace {
  grid-template-columns:minmax(0,1fr) minmax(135px,180px) !important;
  gap:6px !important;
  min-height:0 !important;
  height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .lj-drawing,
.topic-lesson-shell[data-grade="5"] .lj-tools {
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="5"] .lj-tools {
  gap:5px !important;
  padding:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .lj-svg {
  width:100% !important;
  height:100% !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="5"] .lj-message,
.topic-lesson-shell[data-grade="5"] .lj-local-footer { margin-top:3px !important; }

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="5"] .lj-workspace {
    grid-template-columns:minmax(0,1fr) minmax(110px,145px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .lj-scene h1 { font-size:1.05rem !important; }
  .topic-lesson-shell[data-grade="5"] .lj-task {
    max-height:none;
    overflow:visible;
    font-size:.7rem !important;
    line-height:1.16 !important;
  }
  .topic-lesson-shell[data-grade="5"] .lj-tools { font-size:.72rem !important; }
  .topic-lesson-shell[data-grade="5"] .lj-tools button { padding:5px !important; }
}
.topic-lesson-shell[data-grade="5"] .lj-parallelTransversal .lj-slot-buttons {
  grid-template-columns:repeat(2,minmax(44px,1fr)) !important;
}

/* Geometric properties: reserve the remaining board height for the drawing. */
.topic-lesson-shell[data-grade="5"] .gp-board { overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .gp-scene {
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  gap:4px !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .gp-scene h1 {
  margin:0 0 3px !important;
  font-size:clamp(1.05rem,2vw,1.55rem) !important;
}
.topic-lesson-shell[data-grade="5"] .gp-task {
  margin:0 0 3px !important;
  font-size:.78rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .gp-workspace {
  min-height:0 !important;
  height:100% !important;
  gap:6px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .gp-drawing {
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .gp-svg {
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  max-height:100% !important;
  aspect-ratio:auto !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .gp-point-options {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(44px,1fr)) !important;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .gp-point-options button {
  width:100% !important;
  min-width:44px !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

/* Angle measure: tablet and compact web keep the drawing and tools side by side. */
@media (min-width:431px) and (max-width:850px) {
  .topic-lesson-shell[data-grade="5"] .am-board { overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .am-scene {
    grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
    gap:4px !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-scene > header {
    flex-direction:row !important;
    align-items:baseline !important;
    gap:6px !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-scene > header h1 {
    min-width:0 !important;
    font-size:clamp(1.05rem,2.6vw,1.4rem) !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-task {
    font-size:.78rem !important;
    line-height:1.2 !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-workspace {
    grid-template-columns:minmax(0,1fr) minmax(170px,.46fr) !important;
    gap:6px !important;
    min-height:0 !important;
    height:100% !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-drawing {
    min-height:0 !important;
    height:100% !important;
    padding:4px !important;
    box-sizing:border-box !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-svg,
  .topic-lesson-shell[data-grade="5"] .am-copy .am-svg {
    width:100% !important;
    max-width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    aspect-ratio:auto !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-tools {
    min-width:0 !important;
    min-height:0 !important;
    height:100% !important;
    align-content:center !important;
    gap:5px !important;
    padding:6px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-tools > * { min-width:0 !important; }
  .topic-lesson-shell[data-grade="5"] .am-slider { gap:2px 5px !important; }
  .topic-lesson-shell[data-grade="5"] .am-slider input {
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  .topic-lesson-shell[data-grade="5"] .am-target { padding:4px 6px !important; }
}

/* Polygons from lines: replace the legacy 390px canvas with the shared board frame. */
.topic-lesson-shell[data-grade="5"] .pfl-board { overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .pfl-scene {
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  align-content:stretch !important;
  gap:4px !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-scene > header {
  min-width:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-scene > header h1 {
  min-width:0 !important;
  font-size:clamp(1.05rem,2.3vw,1.55rem) !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-task {
  font-size:.78rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-workspace {
  grid-template-columns:minmax(0,1fr) minmax(180px,285px) !important;
  gap:6px !important;
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-drawing,
.topic-lesson-shell[data-grade="5"] .pfl-tools {
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-svg {
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-tools {
  align-content:center !important;
  gap:5px !important;
  padding:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-tools > p {
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-tools button,
.topic-lesson-shell[data-grade="5"] .pfl-local-footer button {
  min-height:44px !important;
  padding:5px 7px !important;
  font-size:.78rem !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .pfl-message { min-height:0 !important; }
.topic-lesson-shell[data-grade="5"] .pfl-local-footer { min-height:0 !important; }

@media (max-width:760px) {
  .topic-lesson-shell[data-grade="5"] .pfl-scene {
    gap:3px !important;
    padding:7px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-scene > header {
    display:flex !important;
    align-items:baseline !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-scene > header h1 {
    font-size:1.05rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-scene > header span {
    font-size:.68rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-task { font-size:.7rem !important; }
  .topic-lesson-shell[data-grade="5"] .pfl-workspace {
    grid-template-columns:minmax(0,1.4fr) minmax(115px,.75fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-tools {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-tools > p,
  .topic-lesson-shell[data-grade="5"] .pfl-tools > .pfl-live-check,
  .topic-lesson-shell[data-grade="5"] .pfl-tools > .pfl-chip-row {
    grid-column:1 / -1 !important;
  }
  .topic-lesson-shell[data-grade="5"] .pfl-binary { display:contents !important; }
  .topic-lesson-shell[data-grade="5"] .pfl-tools button { font-size:.7rem !important; }
}

/* Polygon elements: keep every activity family inside the standard board. */
.topic-lesson-shell[data-grade="5"] .pel-board { overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .pel-scene {
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  align-content:stretch !important;
  gap:4px !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .pel-scene > header {
  min-width:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .pel-scene > header h1 {
  min-width:0 !important;
  font-size:clamp(1.05rem,2.3vw,1.55rem) !important;
}
.topic-lesson-shell[data-grade="5"] .pel-task {
  font-size:.78rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .pel-workspace {
  grid-template-columns:minmax(0,1fr) minmax(190px,300px) !important;
  gap:6px !important;
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .pel-drawing,
.topic-lesson-shell[data-grade="5"] .pel-tools {
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .pel-svg {
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="5"] .pel-tools {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-content:center !important;
  gap:5px !important;
  padding:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .pel-tools > p,
.topic-lesson-shell[data-grade="5"] .pel-tools > strong,
.topic-lesson-shell[data-grade="5"] .pel-tools > .pel-measure-control,
.topic-lesson-shell[data-grade="5"] .pel-tools > .pel-counter-control {
  grid-column:1 / -1 !important;
}
.topic-lesson-shell[data-grade="5"] .pel-tools p,
.topic-lesson-shell[data-grade="5"] .pel-tools strong {
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .pel-tools button,
.topic-lesson-shell[data-grade="5"] .pel-local-footer button {
  min-width:0 !important;
  min-height:44px !important;
  padding:5px 7px !important;
  font-size:.75rem !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .pel-counter-control {
  grid-template-columns:minmax(0,1fr) 44px 32px 44px !important;
  gap:3px !important;
}
.topic-lesson-shell[data-grade="5"] .pel-measure-control {
  gap:3px !important;
  padding:4px !important;
}
.topic-lesson-shell[data-grade="5"] .pel-message,
.topic-lesson-shell[data-grade="5"] .pel-local-footer { min-height:0 !important; }

@media (max-width:780px) {
  .topic-lesson-shell[data-grade="5"] .pel-scene {
    gap:3px !important;
    padding:7px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-scene > header {
    display:flex !important;
    align-items:baseline !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-scene > header h1 { font-size:1.05rem !important; }
  .topic-lesson-shell[data-grade="5"] .pel-scene > header span { font-size:.68rem !important; }
  .topic-lesson-shell[data-grade="5"] .pel-task { font-size:.7rem !important; }
  .topic-lesson-shell[data-grade="5"] .pel-workspace {
    grid-template-columns:minmax(0,1.45fr) minmax(118px,.8fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-tools {
    gap:4px !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-tools button { font-size:.68rem !important; }
  .topic-lesson-shell[data-grade="5"] .pel-counter-control {
    grid-template-columns:44px minmax(18px,1fr) 44px !important;
    gap:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-counter-control > span {
    grid-column:1 / -1 !important;
    line-height:1.1 !important;
  }
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .pel-regular .pel-workspace {
    grid-template-columns:minmax(100px,.72fr) minmax(205px,1.45fr) !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-regular .pel-tools {
    align-content:stretch !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-regular .pel-measure-control {
    grid-template-columns:repeat(3,minmax(44px,1fr)) !important;
    gap:2px !important;
    padding:2px !important;
    border-radius:8px !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-regular .pel-measure-control b {
    grid-column:1 / -1 !important;
    line-height:1 !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-regular .pel-measure-control button:last-child {
    grid-column:auto !important;
  }
  .topic-lesson-shell[data-grade="5"] .pel-regular .pel-tools > button {
    grid-column:1 / -1 !important;
    width:100% !important;
  }
}
.topic-lesson-shell[data-grade="5"] .gp-tools { gap:4px !important; }
.topic-lesson-shell[data-grade="5"] .gp-choices,
.topic-lesson-shell[data-grade="5"] .gp-message,
.topic-lesson-shell[data-grade="5"] .gp-local-footer { margin-top:3px !important; }

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .gp-scene:not(:has(.gp-support)) .gp-workspace {
    grid-template-columns:minmax(0,1fr) minmax(108px,125px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .gp-board[data-gp-role="model"] .gp-workspace {
    grid-template-columns:1fr !important;
  }
  .topic-lesson-shell[data-grade="5"] .gp-tools {
    display:flex !important;
    min-width:0 !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] .gp-board[data-gp-role="model"] .gp-tools { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .gp-tools p { font-size:.68rem !important; }
  .topic-lesson-shell[data-grade="5"] .gp-scene button { padding:4px !important; }
}

/* Triangle modules: keep their full activity inside the shared Grade 5 board. */
.topic-lesson-shell[data-grade="5"] .tri-board,
.topic-lesson-shell[data-grade="5"] .tci-board { overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .tri-scene,
.topic-lesson-shell[data-grade="5"] .tci-scene {
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  align-content:stretch !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:4px !important;
  padding:9px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .tri-scene > header,
.topic-lesson-shell[data-grade="5"] .tci-scene > header { min-height:0 !important; }
.topic-lesson-shell[data-grade="5"] .tri-scene > header h1,
.topic-lesson-shell[data-grade="5"] .tci-scene > header h1 {
  margin:0 !important;
  font-size:clamp(1.05rem,2vw,1.55rem) !important;
}
.topic-lesson-shell[data-grade="5"] .tri-task,
.topic-lesson-shell[data-grade="5"] .tci-task {
  min-height:0 !important;
  margin:0 0 2px !important;
  font-size:.78rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .tri-workspace,
.topic-lesson-shell[data-grade="5"] .tci-workspace {
  grid-template-columns:minmax(0,1fr) minmax(145px,210px) !important;
  min-height:0 !important;
  height:100% !important;
  gap:6px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .tri-drawing,
.topic-lesson-shell[data-grade="5"] .tci-drawing,
.topic-lesson-shell[data-grade="5"] .tri-svg,
.topic-lesson-shell[data-grade="5"] .tci-svg {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="5"] .tri-tools,
.topic-lesson-shell[data-grade="5"] .tci-tools {
  min-height:0 !important;
  max-height:100% !important;
  gap:4px !important;
  padding:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .tri-tools p,
.topic-lesson-shell[data-grade="5"] .tri-tools strong,
.topic-lesson-shell[data-grade="5"] .tri-tools b,
.topic-lesson-shell[data-grade="5"] .tci-tools p,
.topic-lesson-shell[data-grade="5"] .tci-tools strong,
.topic-lesson-shell[data-grade="5"] .tci-tools b { font-size:.7rem !important; line-height:1.12 !important; }
.topic-lesson-shell[data-grade="5"] .tri-tools button,
.topic-lesson-shell[data-grade="5"] .tci-tools button { padding:4px 6px !important; font-size:.7rem !important; }
.topic-lesson-shell[data-grade="5"] .tri-message,
.topic-lesson-shell[data-grade="5"] .tci-message,
.topic-lesson-shell[data-grade="5"] .tri-local-footer,
.topic-lesson-shell[data-grade="5"] .tci-local-footer { min-height:0 !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-step-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="5"] .tri-workspace,
  .topic-lesson-shell[data-grade="5"] .tci-workspace {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(112px,138px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .tri-tools,
  .topic-lesson-shell[data-grade="5"] .tci-tools { display:flex !important; }
  .topic-lesson-shell[data-grade="5"] .tri-choice-grid,
  .topic-lesson-shell[data-grade="5"] .tci-choice-grid,
  .topic-lesson-shell[data-grade="5"] .tci-adjust-grid { gap:3px !important; }

  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-workspace,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-workspace {
    grid-template-columns:minmax(0,.9fr) minmax(170px,1.1fr) !important;
  }
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-tools,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-tools {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    align-content:start !important;
  }
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-tools > p,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-tools > strong,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-tools > .tci-adjust-grid,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-tools > .tci-choice-grid,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-tools > p,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-tools > strong,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-tools > .tci-step-grid,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-tools > .tci-choice-grid {
    grid-column:1/-1 !important;
  }
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-adjust-grid,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-lock .tci-choice-grid,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-step-grid,
  .topic-lesson-shell[data-grade="5"] .tci-scene.family-parchment .tci-choice-grid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* Theme 1 assessment: visual and answer panel share one bounded board frame. */
.topic-lesson-shell[data-grade="5"] .grade5-theme1-assessment-board { overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .g5t1a-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border-radius:18px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-shell > header { padding:0 3px 5px !important; }
.topic-lesson-shell[data-grade="5"] .g5t1a-shell > header h1 {
  margin:0 !important;
  font-size:clamp(1.05rem,2vw,1.5rem) !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-shell > main {
  grid-template-columns:minmax(0,1.45fr) minmax(205px,.8fr) !important;
  min-height:0 !important;
  height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-visual,
.topic-lesson-shell[data-grade="5"] .g5t1a-panel { min-height:0 !important; max-height:100% !important; }
.topic-lesson-shell[data-grade="5"] .g5t1a-visual svg {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-panel {
  gap:5px !important;
  padding:8px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-panel h2 { font-size:.82rem !important; line-height:1.16 !important; }
.topic-lesson-shell[data-grade="5"] .g5t1a-choices,
.topic-lesson-shell[data-grade="5"] .g5t1a-match { gap:4px !important; }
.topic-lesson-shell[data-grade="5"] .g5t1a-choices button,
.topic-lesson-shell[data-grade="5"] .g5t1a-check,
.topic-lesson-shell[data-grade="5"] .g5t1a-match button {
  min-height:44px !important;
  padding:4px 7px !important;
  font-size:.7rem !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-message {
  min-height:0 !important;
  margin:0 !important;
  padding:4px 6px !important;
  font-size:.68rem !important;
}
.topic-lesson-shell[data-grade="5"] .g5t1a-final {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="5"] .g5t1a-shell > main {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(128px,155px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5t1a-panel { padding:6px !important; }
  .topic-lesson-shell[data-grade="5"] .g5t1a-match-cards { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .topic-lesson-shell[data-grade="5"] .g5t1a-match-targets { grid-template-columns:1fr !important; }
  .topic-lesson-shell[data-grade="5"] .g5t1a-visual-label { max-width:calc(100% - 16px); }
  .topic-lesson-shell[data-grade="5"] .g5t1a-shell.family-pairs .g5t1a-panel h2 {
    display:none !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5t1a-shell.family-routes .g5t1a-scene-actions button:last-child {
    left:max(var(--x),24%) !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5rw-space-art {
    top:0 !important;
  }
}

/* Place value: replace legacy mobile scroll boxes with bounded responsive grids. */
@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .g5pv-scene {
    min-height:0 !important;
    height:100% !important;
    max-height:100% !important;
    padding:8px !important;
    gap:6px !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-choice-row,
  .topic-lesson-shell[data-grade="5"] .g5pv-choice-grid,
  .topic-lesson-shell[data-grade="5"] .g5pv-sign-pool,
  .topic-lesson-shell[data-grade="5"] .g5pv-card-rack,
  .topic-lesson-shell[data-grade="5"] .g5pv-card-cloud {
    max-height:none !important;
    overflow:visible !important;
    padding:0 !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-place-table,
  .topic-lesson-shell[data-grade="5"] .g5pv-slot-line {
    grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    overflow:hidden !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-place-table section,
  .topic-lesson-shell[data-grade="5"] .g5pv-slot-line section { min-width:0 !important; }
  .topic-lesson-shell[data-grade="5"] .g5pv-two-languages {
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items:center !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-two-languages > span {
    transform:none !important;
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-two-languages section {
    min-height:70px !important;
    padding:7px !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-archive-slots {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-archive-slots span {
    min-height:48px !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-card-cloud {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(44px,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .g5pv-card-cloud button,
  .topic-lesson-shell[data-grade="5"] .g5pv-choice-row button,
  .topic-lesson-shell[data-grade="5"] .g5pv-choice-grid button {
    min-width:0 !important;
    padding:5px !important;
  }
}

/* Problem solving: bind legacy 510/575px scenes to the shared board height. */
.topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board { min-height:0 !important; overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-scene {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  padding:10px 14px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-scene h2 {
  margin:2px auto 8px !important;
  font-size:clamp(1.05rem,2vw,1.45rem) !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-choice-row,
.topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-choice-grid {
  gap:6px !important;
  margin:7px auto 0 !important;
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-scene {
    padding:7px 9px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-scene h2 {
    margin:0 auto 4px !important;
    font-size:1.05rem !important;
    line-height:1.15 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-choice-row,
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-choice-grid {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    width:100% !important;
    gap:4px !important;
    margin-top:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-choice-row button,
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-choice-grid button {
    min-width:0 !important;
    padding:5px !important;
    font-size:.72rem !important;
    line-height:1.15 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-map-art {
    height:250px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-space-flow {
    margin:8px auto 5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-circuit {
    margin:14px auto 7px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-camp-art,
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-fair-art {
    margin:7px auto 5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-problem-solving-board .g5ps-receipts {
    margin:6px auto !important;
  }
}

@media (max-width:720px) {
  .topic-lesson-shell[data-grade="5"] .g5tds-filmstrip span {
    font-size:12.5px !important;
    line-height:1.15 !important;
  }
}

/* Rectangle perimeter: let the visual yield space to answer rows inside the shared frame. */
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-scene {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-scene > .board-kicker,
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-scene > h2,
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-choice-row,
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-confirm {
  flex:0 0 auto;
}
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-visual {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:132px !important;
  max-height:320px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .proof-choices {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100% !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .proof-choices button {
  min-width:0 !important;
  padding:5px 7px !important;
  font-size:.75rem !important;
  line-height:1.15 !important;
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-scene {
    padding:7px 8px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-visual {
    min-height:118px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-choice-row.compact {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .g5rp-choice-row.compact button {
    min-width:0 !important;
    padding:4px 2px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .proof-choices {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-rectangle-perimeter-board .proof-choices button:last-child {
    grid-column:1/-1;
  }
}

/* Area/perimeter relation: keep visuals and controls inside one non-scrolling board. */
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-scene {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-scene > .board-kicker,
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-scene > h2,
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-choice-row,
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-slider-row,
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-dimension-controls {
  flex:0 0 auto;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-visual {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:126px !important;
  max-height:322px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-scroll-map {
  width:94% !important;
  padding:10px 0 16px !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-long-strip {
  width:100% !important;
  padding:14px 8px 9px !important;
  box-sizing:border-box;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-long-strip .g5ap-rect {
  grid-template-columns:repeat(36,minmax(0,1fr)) !important;
  width:100% !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-long-strip .g5ap-rect i {
  width:auto !important;
  min-width:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-conveyor {
  display:grid !important;
  grid-template-columns:repeat(7,minmax(0,1fr)) !important;
  width:94% !important;
  gap:5px !important;
  padding:10px 5px !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-conveyor span {
  min-width:0 !important;
  width:auto !important;
  height:62px !important;
  border-width:5px !important;
  font-size:.75rem !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-frame-factory .g5ap-choice-row {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  width:100% !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-frame-factory .g5ap-choice-row button {
  min-width:0 !important;
  padding:5px 3px !important;
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-scene {
    padding:7px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-visual {
    min-height:112px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-choice-row {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-frame-factory .g5ap-choice-row {
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-frame-factory .g5ap-choice-row button {
    padding:3px 1px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-dimension-controls {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    width:100% !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-dimension-controls > div {
    min-width:0 !important;
    justify-content:space-between !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-board .g5ap-dimension-controls > [data-g5ap-pixel-check] {
    grid-column:1/-1;
  }
}

/* Area/perimeter problems: preserve answer controls by flexing the central visual. */
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-problems-board {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-problems-board .g5prob-scene {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-problems-board .g5prob-scene > .board-kicker,
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-problems-board .g5prob-scene > h2,
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-problems-board .g5prob-actions {
  flex:0 0 auto;
}
.topic-lesson-shell[data-grade="5"] .grade5-area-perimeter-problems-board .g5prob-visual {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:126px !important;
  max-height:322px !important;
}

/* Theme 3 assessment: fit mobile answer grids without extending the board. */
.topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board .g5a3-scene {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board .g5a3-visual {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:124px !important;
  max-height:325px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board .g5a3-actions {
  flex:0 0 auto;
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board .g5a3-actions {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    width:100% !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board .g5a3-actions button {
    min-width:0 !important;
    padding:4px 2px !important;
    font-size:.75rem !important;
    line-height:1.15 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme3-assessment-board .g5a3-park-ranking .g5a3-actions button:nth-last-child(-n+2) {
    grid-column:span 2;
  }
}

/* Fraction representations: remove the legacy 580px scene floor and share the board height. */
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-scene {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:10px 14px !important;
  gap:7px !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-scene::before {
  inset:6px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-scene h2 {
  flex:0 0 auto;
  font-size:clamp(1.05rem,2vw,1.5rem) !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-visual {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:108px !important;
  padding:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-actions,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-model-actions,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-main-action {
  flex:0 0 auto;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-actions {
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(86px,1fr)) !important;
  width:min(100%,820px) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-actions button,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-main-action {
  min-width:0 !important;
  min-height:44px !important;
  padding:5px 8px !important;
  border-radius:12px !important;
  font-size:.78rem !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-model-actions {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:min(100%,820px) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-model-card {
  grid-template-rows:48px auto !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:84px !important;
  padding:4px !important;
  gap:2px !important;
  border-radius:12px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-icon-line,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-icon-grid,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-icon-rolls {
  width:min(100%,100px) !important;
  height:44px !important;
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-scene {
    padding:7px !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-visual {
    min-height:96px !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-fraction-representations-board .g5fr-model-card {
    min-height:80px !important;
  }
}

/* Fraction comparison: replace 590/690/730px legacy scene floors with the shared frame. */
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board {
  min-height:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-scene {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:10px 14px !important;
  gap:7px !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-scene::before {
  inset:6px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-scene h2 {
  flex:0 0 auto;
  font-size:clamp(1.05rem,2vw,1.5rem) !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-visual {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:108px !important;
  padding:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-actions,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-main-action {
  flex:0 0 auto;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-actions {
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(96px,1fr)) !important;
  width:min(100%,820px) !important;
  gap:6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-actions button,
.topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-main-action {
  min-width:0 !important;
  min-height:44px !important;
  padding:5px 8px !important;
  border-radius:12px !important;
  font-size:.78rem !important;
  line-height:1.15 !important;
}

@media (max-width:430px) {
  .topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-scene {
    padding:7px !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-visual {
    min-height:96px !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-fraction-comparison-board .g5fc-actions {
    grid-template-columns:repeat(auto-fit,minmax(88px,1fr)) !important;
  }
}

/* Theme 4 assessment: restore the shared board, navigation and bounded two-pane layout. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme4-assessment-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme4-assessment-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #c6ddd7 !important;
  border-radius:24px !important;
  background:#eef8f5 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border:0 !important;
  border-radius:23px !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell > header {
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.5fr) minmax(190px,.76fr) !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-visual,
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-panel,
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-visual-stage {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-visual-stage {
  height:100% !important;
  padding:9px !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-panel {
  gap:6px !important;
  padding:10px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-panel h2 {
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-check {
  min-height:44px !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-overlap + .g5t4a-scene-choices {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-overlap + .g5t4a-scene-choices button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme4-assessment-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme4-assessment-board) .lesson-teacher {
    display:block !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme4-assessment-board) .lesson-avatar {
    height:250px !important;
  }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-progress {
    min-width:104px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-shell > main {
    grid-template-columns:minmax(0,1.48fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-visual-stage {
    padding:5px !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-panel > span {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-panel h2 {
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-message {
    padding:4px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-order-track {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-order-track button,
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-order-source button,
  .topic-lesson-shell[data-grade="5"] .grade5-theme4-assessment-board .g5t4a-scene-choices button {
    min-width:0 !important;
    min-height:44px !important;
    padding:4px 2px !important;
    font-size:.75rem !important;
  }
}

/* Statistics research steps: standard board, navigation and compact evidence panel. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-statistics-research-steps-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-statistics-research-steps-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bedbd8 !important;
  border-radius:24px !important;
  background:#eef8f6 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border:0 !important;
  border-radius:23px !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell > header {
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-visual,
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-panel,
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-visual-stage {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-visual-stage {
  height:100% !important;
  padding:9px !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-panel {
  gap:6px !important;
  padding:10px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-panel h2 {
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-check {
  min-height:44px !important;
  padding:5px 8px !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-statistics-research-steps-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-statistics-research-steps-board) .lesson-teacher {
    display:block !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-statistics-research-steps-board) .lesson-avatar {
    height:250px !important;
  }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-progress {
    min-width:104px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-visual-stage {
    padding:5px !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-panel > span,
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-panel h2,
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-message {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-choices,
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-multi {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-order-source {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-order-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board :is(.g5srs-choices,.g5srs-multi,.g5srs-order-source,.g5srs-order-track) button {
    min-width:0 !important;
    max-width:none !important;
    min-height:44px !important;
    padding:4px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.1 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-order-track button {
    display:block !important;
    text-align:center !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-order-track button b {
    display:none !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-decision {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board :is(.record-drawer,.supply-shelf) {
    min-height:92px !important;
    padding:6px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-gears {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    min-height:86px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-gears .gear {
    border-width:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-gears .gear i {
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-transfer-cycle {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-transfer-cycle > span {
    min-height:72px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board :is(.g5srs-lens,.g5srs-variation,.g5srs-filter,.g5srs-scanner) {
    min-height:145px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-compass > div {
    width:140px !important;
    height:140px !important;
    border-width:8px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-crane {
    min-height:170px !important;
    transform:scale(.82);
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-pack .bag {
    width:190px !important;
    min-height:132px !important;
    padding:24px 8px 10px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-blueprint {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-blueprint section {
    min-height:72px !important;
    padding:4px !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-mission {
    min-height:145px !important;
    padding:8px !important;
    gap:6px !important;
  }
}

@container (max-width:640px) {
  .g5srs-visual-stage {
    padding:5px !important;
    gap:4px !important;
  }
  .g5srs-choices,
  .g5srs-multi {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:4px !important;
  }
  .g5srs-order-source {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .g5srs-order-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  :is(.g5srs-choices,.g5srs-multi,.g5srs-order-source,.g5srs-order-track) button {
    min-width:0 !important;
    max-width:none !important;
    min-height:44px !important;
    padding:4px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.1 !important;
  }
  .g5srs-order-track button {
    display:block !important;
    text-align:center !important;
  }
  .g5srs-order-track button b { display:none !important; }
  .g5srs-gears {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    min-height:82px !important;
  }
  .g5srs-gears .gear {
    border-width:5px !important;
  }
  .g5srs-gears .gear i { font-size:1rem !important; }
  .g5srs-transfer-cycle {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .g5srs-transfer-cycle > span {
    min-height:70px !important;
    padding:3px !important;
  }
  .g5srs-privacy {
    grid-template-columns:minmax(0,1fr) 78px !important;
    gap:5px !important;
  }
  .g5srs-privacy .id-card {
    gap:3px !important;
    padding:6px !important;
  }
  .g5srs-privacy .id-card span { padding:4px !important; }
  .g5srs-privacy .shield { font-size:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-privacy + .g5srs-multi {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-privacy + .g5srs-multi button {
    gap:2px !important;
    min-height:52px !important;
    padding:3px 1px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
    text-align:center !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistics-research-steps-board .g5srs-privacy + .g5srs-multi button > i {
    flex-basis:14px !important;
    width:14px !important;
    height:14px !important;
    font-size:.75rem !important;
  }
  .g5srs-blueprint {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:4px !important;
  }
  .g5srs-blueprint section {
    min-height:70px !important;
    padding:4px !important;
    gap:2px !important;
  }
}

/* Survey question writing: use the shared bounded lesson board at every viewport. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-survey-question-writing-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-survey-question-writing-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #badbd4 !important;
  border-radius:24px !important;
  background:#eef8f6 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border-radius:23px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell > header {
  max-width:none !important;
  margin:0 !important;
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.g5sqw-visual,.g5sqw-panel,.g5sqw-visual-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-visual {
  height:100% !important;
  padding:8px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-visual-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-visual-stage > :first-child:not(.g5sqw-choices):not(.g5sqw-multi):not(.g5sqw-order-source) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-panel {
  justify-content:center !important;
  gap:6px !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-check {
  min-height:44px !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.g5sqw-choices,.g5sqw-multi,.g5sqw-order-source) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-order-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.g5sqw-choices,.g5sqw-multi,.g5sqw-order-source,.g5sqw-order-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-survey-question-writing-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-survey-question-writing-board) .lesson-teacher {
    display:block !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-survey-question-writing-board) .lesson-avatar {
    height:250px !important;
  }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-progress {
    width:100px !important;
    min-width:100px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-progress i {
    display:block !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-visual {
    padding:5px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-visual-stage {
    justify-content:center !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.g5sqw-panel > span,.g5sqw-panel h2,.g5sqw-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.g5sqw-choices,.g5sqw-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-order-source {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-order-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.g5sqw-choices,.g5sqw-multi,.g5sqw-order-source,.g5sqw-order-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-multi button i {
    width:16px !important;
    height:16px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-order-track button b {
    display:none !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(
    .g5sqw-translator,.g5sqw-gate,.g5sqw-fog,.g5sqw-splitter,.g5sqw-balance,
    .g5sqw-circuit,.g5sqw-dock,.g5sqw-switchboard,.g5sqw-option-scan,.g5sqw-vault,
    .g5sqw-language,.g5sqw-pilot,.g5sqw-sample-lens,.g5sqw-planboard,.g5sqw-studio
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:6px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-translator {
    grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-translator > div {
    min-height:72px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-translator .press {
    min-height:86px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-gate .gate {
    height:112px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-circuit :is(.purpose-node,.bulb) {
    top:22px !important;
    width:74px !important;
    min-height:65px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-circuit .purpose-node { left:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-circuit .bulb { right:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-circuit .wire {
    left:78px !important;
    right:78px !important;
    top:54px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-dock {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board :is(.survey-slot,.answer-device) {
    min-height:95px !important;
    height:auto !important;
    padding:4px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-switchboard {
    grid-template-columns:68px minmax(0,1fr) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .single-lamp { height:100px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .switch-list { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .switch-list span {
    grid-template-columns:minmax(0,1fr) 28px !important;
    gap:2px !important;
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-vault {
    grid-template-columns:minmax(0,1fr) 72px !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .form-sheet {
    min-height:110px !important;
    padding:4px !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .form-sheet span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .vault-door {
    height:72px !important;
    border-width:5px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .vault-door i {
    width:30px !important;
    height:30px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-language {
    grid-template-columns:78px minmax(0,1fr) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .meter-face {
    width:76px !important;
    height:48px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .meter-face i { height:34px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .word-flow {
    padding:5px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-pilot {
    grid-template-columns:62px minmax(0,1fr) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .avatar-head {
    width:58px !important;
    height:74px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .speech {
    padding:4px !important;
    gap:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-sample-lens {
    grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .sample {
    min-height:92px !important;
    padding:3px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-planboard {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .g5sqw-planboard section {
    min-height:105px !important;
    padding:3px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-survey-question-writing-board .conveyor {
    min-height:92px !important;
    padding:4px !important;
    border-width:4px !important;
  }
}

/* Data visualization tools: bounded shared board with responsive chart geometry. */
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .radar-stack > span {
  position:relative;
  display:block;
  width:28px;
  height:18px;
  border:0;
  background:transparent;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-data-visualization-tools-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-data-visualization-tools-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #afd6db !important;
  border-radius:24px !important;
  background:#eef7f8 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border-radius:23px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell > header {
  max-width:none !important;
  margin:0 !important;
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-visual,.g5dvt-panel,.g5dvt-visual-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-visual {
  height:100% !important;
  padding:8px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-visual-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-visual-stage > :first-child:not(.g5dvt-choices):not(.g5dvt-multi):not(.g5dvt-order-source) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-panel {
  justify-content:center !important;
  gap:6px !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-check {
  min-height:44px !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-choices,.g5dvt-multi,.g5dvt-order-source) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-order-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-choices,.g5dvt-multi,.g5dvt-order-source,.g5dvt-order-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-data-visualization-tools-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-data-visualization-tools-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-data-visualization-tools-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-progress {
    width:100px !important;
    min-width:100px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-progress i { display:block !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-visual {
    padding:5px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-visual-stage {
    justify-content:center !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-panel > span,.g5dvt-panel h2,.g5dvt-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-choices,.g5dvt-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-order-source {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-order-track {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-choices,.g5dvt-multi,.g5dvt-order-source,.g5dvt-order-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-multi button i {
    width:16px !important;
    height:16px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-order-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(
    .g5dvt-sorter,.g5dvt-tally,.g5dvt-frequency,.g5dvt-dot-radar,.g5dvt-distribution,.g5dvt-press,
    .g5dvt-scale,.g5dvt-repair,.g5dvt-calibrator,.g5dvt-constructor,.g5dvt-ring-lab,.g5dvt-share,
    .g5dvt-compass,.g5dvt-conversion,.g5dvt-twins,.g5dvt-evidence
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-bars {
    height:112px !important;
    gap:3px !important;
    padding:3px 2px 18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-bars .bar-slot {
    width:24px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-bars .bar-slot > i {
    width:18px !important;
    height:calc(var(--h)*4px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-dots {
    height:108px !important;
    gap:3px !important;
    padding:3px 2px 18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .dot-lane { width:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .dot-lane i {
    width:12px !important;
    height:12px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-sorter {
    grid-template-columns:64px minmax(0,1fr) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .harbor {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .cargo-field { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .cargo-field > i {
    min-height:46px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-tally {
    grid-template-columns:minmax(0,1fr) 24px 64px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.tally-marks,.frequency-display) {
    height:86px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-frequency {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .capsule-stacks span { height:102px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .frequency-table span {
    grid-template-columns:minmax(0,1fr) 32px !important;
    min-height:36px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-dot-radar {
    grid-template-columns:minmax(0,1fr) 62px !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .radar-grid { height:108px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .radar-stack { height:86px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .people-row { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .people-row span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-distribution {
    grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .scan-line { height:105px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-press {
    grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .press-head { height:112px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-scale {
    grid-template-columns:40px minmax(0,1fr) 42px !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.scale-axis,.g5dvt-scale .g5dvt-bars) { height:112px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-repair {
    padding:28px 3px 3px 34px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .broken-axis {
    left:3px !important;
    top:34px !important;
    bottom:30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-calibrator {
    padding:28px 4px 3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .width-guides { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-constructor {
    grid-template-columns:62px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .data-card span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .level-rays { left:70px !important; height:112px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.g5dvt-ring-lab,.g5dvt-share) {
    grid-template-columns:104px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-ring {
    width:94px !important;
    height:94px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .unit-legend { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .unit-legend span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .diameter {
    left:5px !important;
    width:94px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .share-readout { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .share-readout span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-compass {
    grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.purpose-list,.tool-docks) { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board :is(.purpose-list,.tool-docks) span {
    min-height:36px !important;
    padding:2px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .compass-core {
    width:46px !important;
    height:46px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-conversion {
    grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .passport {
    left:1% !important;
    right:1% !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .passport span {
    padding:2px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-twins {
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .twin .g5dvt-dots { height:106px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .balance-mark { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-evidence {
    grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .g5dvt-evidence .g5dvt-bars { height:108px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-data-visualization-tools-board .evidence-bridge {
    height:96px !important;
    padding:2px !important;
  }
}

/* Statistical literacy: shared bounded board and compact evidence instruments. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-statistical-literacy-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-statistical-literacy-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #b9d8de !important;
  border-radius:24px !important;
  background:#eef7f8 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border:0 !important;
  border-radius:23px !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell > header {
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(.g5sl-visual,.g5sl-panel,.g5sl-visual-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-visual {
  height:100% !important;
  padding:8px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-visual-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-visual-stage > :first-child:not(.g5sl-choices):not(.g5sl-multi):not(.g5sl-order-source) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-panel {
  justify-content:center !important;
  gap:6px !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-check {
  min-height:44px !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(.g5sl-choices,.g5sl-multi,.g5sl-order-source) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-order-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(.g5sl-choices,.g5sl-multi,.g5sl-order-source,.g5sl-order-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-statistical-literacy-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-statistical-literacy-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-statistical-literacy-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-progress {
    width:100px !important;
    min-width:100px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-visual {
    padding:5px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-visual-stage {
    justify-content:center !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(.g5sl-panel > span,.g5sl-panel h2,.g5sl-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(.g5sl-choices,.g5sl-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-order-source {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-order-track {
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(.g5sl-choices,.g5sl-multi,.g5sl-order-source,.g5sl-order-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-order-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-order-track button span { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board :is(
    .g5sl-fact-lens,.g5sl-context-dock,.g5sl-passport,.g5sl-time-ribbon,.g5sl-sample-map,
    .g5sl-condition-board,.g5sl-axis-floor,.g5sl-legend-lock,.g5sl-research-chain,.g5sl-scope-fence,
    .g5sl-inference-gate,.g5sl-total-shadow,.g5sl-cause-bridge,.g5sl-language-forge,.g5sl-newsroom
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-bars {
    height:105px !important;
    gap:3px !important;
    padding:3px 2px 18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-bar > i {
    width:22px !important;
    height:calc(var(--v)*1.35px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-fact-lens {
    grid-template-columns:minmax(0,1fr) 62px 48px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .lens-orbit {
    width:58px !important;
    height:58px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .lens-orbit::after { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .fact-table { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .fact-table span { padding:3px 1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .invention-vault { padding:3px 1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-context-dock {
    grid-template-columns:70px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .mystery-table { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .mystery-table span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .context-spine { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .context-spine span {
    grid-template-columns:18px 44px minmax(0,1fr) !important;
    gap:2px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-passport {
    grid-template-columns:58px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .passport-pages { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .passport-pages span {
    grid-template-columns:14px minmax(0,1fr) !important;
    gap:2px !important;
    padding:2px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .year-track {
    height:105px !important;
    padding:3px 8px 18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .year-track svg {
    height:80px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .direction-console { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .direction-console span {
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .school-map { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .school-map span {
    min-height:42px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .condition-tabs { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .condition-tabs span {
    grid-template-columns:16px minmax(0,1fr) auto !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .bird-field {
    gap:3px !important;
    margin-top:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .bird-field > span {
    min-height:72px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-axis-floor {
    padding:4px 4px 3px 30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .axis-labels {
    left:3px !important;
    top:5px !important;
    bottom:32px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-legend-lock {
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .lock-rail { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .lock-rail span {
    padding:2px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-research-chain {
    gap:2px !important;
    padding:4px 2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-research-chain > span i {
    width:30px !important;
    height:30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-research-chain em {
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .scope-map { height:108px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .scope-map .sample {
    left:25% !important;
    width:72px !important;
    height:42px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .scope-map .neighborhood {
    left:10% !important;
    width:150px !important;
    height:84px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-inference-gate {
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .gate-core i {
    width:34px !important;
    height:42px !important;
    margin:2px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .gate-core i::after {
    width:38px !important;
    height:25px !important;
    left:-6px !important;
    bottom:-22px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-total-shadow {
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .shadow-switch i {
    width:42px !important;
    height:26px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .shadow-switch i::after {
    width:20px !important;
    height:20px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-cause-bridge {
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .cause-node { padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .cause-core i { font-size:1.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-language-forge {
    grid-template-columns:minmax(0,1fr) 48px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .forge-slots { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .forge-slots span {
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:2px !important;
    min-height:30px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .forge-slots em { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .forge-anvil i { width:44px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-newsroom {
    grid-template-columns:minmax(0,1fr) 70px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .g5sl-newsroom article { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .editor-console { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-statistical-literacy-board .editor-console span { padding:3px !important; }
}

/* Theme 5 assessment: shared lesson board and compact assessment instruments. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme5-assessment-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme5-assessment-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #b9d8de !important;
  border-radius:24px !important;
  background:#eef7f6 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border-radius:23px !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell > header {
  margin:0 !important;
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-visual,.g5t5a-panel,.g5t5a-visual-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-visual {
  height:100% !important;
  padding:8px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-visual-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-visual-stage > :first-child:not(.g5t5a-choices):not(.g5t5a-multi):not(.g5t5a-order-bank) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-panel {
  justify-content:center !important;
  gap:6px !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-check {
  min-height:44px !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-choices,.g5t5a-multi,.g5t5a-order-bank) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-order-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-choices,.g5t5a-multi,.g5t5a-order-bank,.g5t5a-order-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme5-assessment-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme5-assessment-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme5-assessment-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-progress {
    width:100px !important;
    min-width:100px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-visual {
    padding:5px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-visual-stage {
    justify-content:center !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-panel > span,.g5t5a-panel h2,.g5t5a-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-choices,.g5t5a-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-order-bank {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-order-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-choices,.g5t5a-multi,.g5t5a-order-bank,.g5t5a-order-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-order-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-order-track button span { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(
    .g5t5a-radar,.g5t5a-survey-link,.g5t5a-compass,.g5t5a-bar-builder,.g5t5a-conveyor,
    .g5t5a-whole-wheel,.g5t5a-fraction-lens,.g5t5a-year-curtain,.g5t5a-sieve,.g5t5a-difference,
    .g5t5a-scale,.g5t5a-consistency,.g5t5a-cables,.g5t5a-editor,.g5t5a-case-file
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-bars {
    height:105px !important;
    gap:3px !important;
    padding:3px 2px 18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-bars > span {
    min-width:20px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-bars > span > i {
    width:20px !important;
    height:calc(var(--v)*5px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-dots { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-dots > span > i { min-height:66px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-dots em {
    width:9px !important;
    height:9px !important;
    border-width:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .radar-grid {
    width:116px !important;
    height:116px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .radar-grid strong { inset:42px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .radar-grid .group { left:42px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-survey-link {
    grid-template-columns:minmax(0,1fr) 5px minmax(0,1fr) 5px minmax(0,1fr) 5px minmax(0,1fr) !important;
    gap:1px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-survey-link section {
    min-height:88px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-compass {
    grid-template-columns:58px 48px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .compass-table { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .compass-table span { padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .compass-face {
    width:46px !important;
    height:46px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-bar-builder {
    grid-template-columns:58px minmax(0,1fr) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .builder-table { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .builder-table span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-conveyor {
    grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .conveyor-belt { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .conveyor-belt i { width:30px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-wheel {
    width:94px !important;
    height:94px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-wheel > i {
    left:46px !important;
    top:2px !important;
    height:45px !important;
    transform-origin:1px 45px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-wheel strong {
    width:40px !important;
    height:40px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .whole-ledger {
    width:82px !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .whole-ledger span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-fraction-lens { gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-fraction-lens .lens {
    width:52px !important;
    height:72px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-year-curtain {
    grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .curtain-rail { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .curtain-rail i {
    top:-34px !important;
    height:118px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board :is(.g5t5a-sieve,.g5t5a-difference) {
    grid-template-columns:minmax(0,1fr) 72px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .sieve-gate { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .sieve-gate section,
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .difference-lines section { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-scale {
    padding:4px 3px 3px 30px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .scale-labels {
    left:3px !important;
    top:5px !important;
    bottom:31px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-consistency {
    grid-template-columns:58px 38px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .consistency-table { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .consistency-table span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .dial {
    width:36px !important;
    height:36px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-cables {
    gap:2px !important;
    padding:4px 2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-cables section {
    min-height:82px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-editor {
    grid-template-columns:minmax(0,1fr) 72px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .editor-flow { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .editor-flow section {
    grid-template-columns:44px minmax(0,1fr) !important;
    min-height:30px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-case-file {
    grid-template-columns:minmax(0,1fr) 68px !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .g5t5a-case-file article { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .case-stamps { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .case-stamps span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .family-case-file .g5t5a-multi button {
    display:block !important;
    text-align:center !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-theme5-assessment-board .family-case-file .g5t5a-multi button > i {
    display:none !important;
  }
}

/* Equality properties: restore the shared two-pane board over the legacy one-column rule. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-equality-properties-board) #topic-section-track {
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-equality-properties-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bfd6d1 !important;
  border-radius:24px !important;
  background:#eef6f3 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  border-radius:23px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell > header {
  margin:0 !important;
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-visual,.g5ep-panel,.g5ep-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-visual {
  height:100% !important;
  padding:8px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-stage > :first-child:not(.g5ep-choices):not(.g5ep-multi):not(.g5ep-bank) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-panel {
  justify-content:center !important;
  gap:6px !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-check {
  min-height:44px !important;
  margin-top:0 !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-choices,.g5ep-multi,.g5ep-bank) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
  margin-top:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
  margin-top:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-choices,.g5ep-multi,.g5ep-bank,.g5ep-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-equality-properties-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-equality-properties-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-equality-properties-board) .lesson-avatar { height:250px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .family-verbal-proposition .proposition-slots {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .family-verbal-proposition .proposition-slots section {
    min-height:72px !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .family-verbal-proposition .g5ep-bank {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .family-verbal-proposition .g5ep-bank button {
    padding:3px !important;
  }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell {
    padding:7px !important;
    border-radius:18px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell > header {
    align-items:center !important;
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-progress {
    width:100px !important;
    min-width:100px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-visual {
    padding:5px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-stage {
    justify-content:center !important;
    gap:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-panel > span,.g5ep-panel h2,.g5ep-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-choices,.g5ep-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-bank {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-choices,.g5ep-multi,.g5ep-bank,.g5ep-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(.g5ep-choices,.g5ep-multi) button > i {
    flex-basis:16px !important;
    width:16px !important;
    height:16px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-track button span { font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board :is(
    .g5ep-tug,.g5ep-balance,.g5ep-tunnels,.g5ep-division,.g5ep-cargo,.g5ep-array-lab,
    .g5ep-groups,.g5ep-shelves,.g5ep-sorter,.g5ep-area-lab,.g5ep-near-ten,.g5ep-network,
    .g5ep-garden,.g5ep-proposition,.g5ep-symbols,.g5ep-mission
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-tug {
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .team { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .team i {
    width:18px !important;
    height:28px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-balance {
    min-height:128px !important;
    padding-top:42px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .balance-pivot {
    top:44px !important;
    height:68px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .pan {
    width:70px !important;
    height:44px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .pan.left { left:-25px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .pan.right { right:-25px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .balance-status {
    margin-top:82px !important;
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-tunnels {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-tunnels section {
    min-height:70px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-division .g5ep-balance {
    min-height:120px !important;
    transform:none !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-cargo {
    grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-cargo section {
    min-height:72px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-array {
    grid-template-columns:repeat(var(--cols),14px) !important;
    grid-template-rows:repeat(var(--rows),14px) !important;
    gap:2px !important;
    margin:4px auto !important;
    padding:4px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .rotation-handle { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-groups {
    gap:2px !important;
    padding:5px 2px 24px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-groups section {
    min-height:68px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shelves {
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-shelves > section {
    gap:2px !important;
    padding:3px !important;
    border-width:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .sort-lanes { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .sort-lanes section {
    min-height:68px !important;
    border-width:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-area {
    min-height:100px !important;
    margin:2px !important;
    padding:2px !important;
    grid-template-columns:20px minmax(0,1fr) !important;
    grid-template-rows:minmax(0,1fr) 22px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .area-grid section {
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .area-grid section b {
    padding:2px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .area-steps {
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .area-steps span {
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .number-ruler {
    height:28px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-network {
    min-height:132px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-network > strong {
    width:50px !important;
    height:50px !important;
    font-size:1rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .g5ep-network section {
    min-height:44px !important;
    padding:3px !important;
    font-size:.75rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .garden-grid {
    min-height:105px !important;
    border-width:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .proposition-slots {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .proposition-slots section {
    min-height:72px !important;
    padding:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .proof-windows {
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .proof-windows section {
    min-height:68px !important;
    font-size:1.4rem !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .mission-chain {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-equality-properties-board .mission-chain span {
    padding:3px !important;
  }
}

/* Grade 5 / Theme 6 / Number and Shape Patterns. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-number-shape-patterns-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-number-shape-patterns-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #244957 !important;
  border-radius:24px !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell > header {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 3px 6px !important;
  align-items:center !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  max-width:none !important;
  margin:0 !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.g5pt-visual,.g5pt-panel,.g5pt-stage) {
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-visual {
  height:100% !important;
  padding:8px !important;
  gap:7px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-stage > :first-child:not(.g5pt-choices):not(.g5pt-multi):not(.g5pt-bank) {
  flex:1 1 auto !important;
  width:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-panel {
  justify-content:center !important;
  gap:6px !important;
  min-height:0 !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-check {
  min-height:44px !important;
  margin-top:0 !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.g5pt-choices,.g5pt-multi,.g5pt-bank) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
  padding:0 !important;
  margin:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-track {
  flex:0 0 auto !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
  padding:0 !important;
  margin:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.g5pt-choices,.g5pt-multi,.g5pt-bank,.g5pt-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-number-shape-patterns-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-number-shape-patterns-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-number-shape-patterns-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell { padding:7px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell > header {
    gap:6px !important;
    padding-bottom:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell > header h1 {
    font-size:1rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-progress {
    width:100px !important;
    min-width:100px !important;
    height:28px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-shell > main {
    grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important;
    gap:5px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-visual {
    padding:5px !important;
    gap:4px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-stage { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-panel {
    gap:4px !important;
    padding:6px !important;
    border-radius:14px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.g5pt-panel > span,.g5pt-panel h2,.g5pt-message) {
    font-size:.75rem !important;
    letter-spacing:0 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.g5pt-choices,.g5pt-multi) {
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-bank {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:3px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-track {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.g5pt-choices,.g5pt-multi,.g5pt-bank,.g5pt-track) button {
    min-width:0 !important;
    min-height:44px !important;
    padding:3px 2px !important;
    gap:2px !important;
    font-size:.75rem !important;
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(
    .seed-day-rail,.shape-growth-dock,.near-step-ribbon,.triple-scaffold,.base-split-towers,
    .transparent-rule-machine,.rule-proof-console,.horizon-step-lens,.language-symbol-bridge,
    .reverse-step-elevator,.start-knob-lab,.growth-dial-lab,.wrong-rule-lens,.same-rule-gallery,
    .constant-difference-scanner,.boundary-sorter,.pattern-creator-studio,.lumi-pattern-bridge
  ) {
    min-height:0 !important;
    height:auto !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.seed-jars,.shape-steps,.step-towers,.triple-scaffold,.base-split-towers) { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .seed-jars .jar {
    width:48px !important;
    height:78px !important;
    padding:3px 2px !important;
    border-width:2px !important;
    border-top-width:6px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.new-seed,.base-seed) { width:8px !important; height:8px !important; margin:1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .difference-rail { gap:2px !important; min-height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .difference-rail > b { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .shape-steps section { min-width:0 !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .shape-steps section > div { min-height:48px !important; grid-template-columns:repeat(3,13px) !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .step-table { gap:3px !important; margin:3px auto !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .step-table span { gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .near-step-ribbon .jump { gap:4px !important; margin:4px auto !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .near-step-ribbon .jump > * { width:42px !important; height:42px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .triple-scaffold section { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .triple-scaffold section > div { min-height:55px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .base-split-towers .grow { min-height:62px !important; padding:3px !important; grid-template-columns:repeat(3,12px) !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .transparent-rule-machine { grid-template-columns:38px minmax(0,1fr) 38px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .glass-body { min-height:78px !important; gap:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .glass-body .module { padding:4px 2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .rule-proof-console { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .rule-proof-console section { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .test-tube { width:34px !important; height:52px !important; margin:3px auto !important; font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .horizon-step-lens { grid-template-columns:minmax(0,1fr) 62px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .near-field { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .near-field i { padding:3px 2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .horizon-step-lens > .lens { width:58px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .language-symbol-bridge { grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.word-bank,.bridge-pieces) { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.word-bank span,.bridge-pieces i) { padding:3px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .symbol-gate { min-height:72px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .reverse-step-elevator .elevator-shaft { width:150px !important; height:130px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .elevator-shaft section { padding:2px 4px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .elevator-shaft .floor:nth-of-type(2) { top:35px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .elevator-shaft .floor:nth-of-type(3) { top:70px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .elevator-shaft .car { top:calc(15px + var(--floor) * 28px) !important; right:12px !important; width:55px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.start-knob-lab,.growth-dial-lab) { grid-template-columns:58px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board :is(.knob,.dial) { width:55px !important; height:55px !important; border-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .start-slider { padding-top:20px !important; margin:0 8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .start-slider i { top:12px !important; width:26px !important; height:26px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .step-towers section > div { min-height:55px !important; grid-template-columns:repeat(5,10px) !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .growth-preview { min-height:70px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .growth-preview > i { grid-template-columns:repeat(5,8px) !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .wrong-rule-lens { padding-top:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .student-rule { gap:2px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .student-rule > * { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .wrong-rule-lens > .lens { width:48px !important; left:calc(var(--x) - 24px) !important; top:2px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .same-rule-gallery { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .same-rule-gallery section { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .same-rule-gallery section > div { min-height:32px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .constant-difference-scanner { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .constant-difference-scanner section { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .boundary-sorter .sort-cards { grid-template-columns:repeat(2,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .sort-cards > i { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .sort-bins { gap:3px !important; margin-top:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .sort-bins span { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .pattern-creator-studio { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .studio-layers { grid-template-columns:55px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .studio-layers section { min-height:62px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .rule-plate { padding:3px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .lumi-pattern-bridge { grid-template-columns:36px minmax(0,1fr) 42px !important; min-height:0 !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .cliff { height:60px !important; border-top-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .bridge { height:88px !important; padding-bottom:36px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .bridge::before { height:32px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .bridge section { min-height:34px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-final { min-height:0 !important; height:100% !important; padding:8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-final-mark { width:90px !important; height:90px !important; border-width:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-report { grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-number-shape-patterns-board .g5pt-report section { padding:3px !important; }
}

/* Grade 5 / Theme 6 / Arithmetic Algorithms. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-arithmetic-algorithms-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-arithmetic-algorithms-board) #topic-section-track button {
  width:auto !important;
  min-width:72px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #b8d4d8 !important;
  border-radius:24px !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell > header {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 3px 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  max-width:none !important;
  margin:0 !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(.g5aa-visual,.g5aa-panel,.g5aa-stage) {
  min-width:0 !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-visual {
  height:100% !important;
  padding:8px !important;
  gap:7px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-stage > :first-child:not(.g5aa-choices):not(.g5aa-multi):not(.g5aa-bank) {
  flex:1 1 auto !important;
  width:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-panel {
  justify-content:center !important;
  gap:6px !important;
  padding:10px !important;
  border-radius:18px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-panel h2 {
  margin:3px 0 5px !important;
  font-size:clamp(.82rem,1.5vw,1.05rem) !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-message {
  min-height:0 !important;
  margin:0 !important;
  padding:5px 6px !important;
  font-size:.75rem !important;
  line-height:1.2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-check {
  min-height:44px !important;
  margin-top:0 !important;
  padding:5px 8px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(.g5aa-choices,.g5aa-multi) {
  flex:0 0 auto !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
  margin:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-bank {
  flex:0 0 auto !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:5px !important;
  max-height:none !important;
  margin:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-track {
  flex:0 0 auto !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
  margin:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(.g5aa-choices,.g5aa-multi,.g5aa-bank,.g5aa-track) button {
  min-width:0 !important;
  min-height:44px !important;
  padding:4px 5px !important;
  font-size:.75rem !important;
  line-height:1.1 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .command-slots {
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  min-width:0 !important;
  overflow:hidden !important;
}

@media (min-width:601px) and (max-width:1300px) {
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-track button {
    justify-content:center !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-track button span {
    display:none !important;
  }
}

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-arithmetic-algorithms-board) .teacher-classroom {
    grid-template-columns:230px minmax(0,460px) !important;
    gap:18px !important;
    padding:8px 0 14px !important;
    align-items:start !important;
  }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-arithmetic-algorithms-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-arithmetic-algorithms-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell { padding:7px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell > header { gap:6px !important; margin:0 !important; padding-bottom:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell > header h1 { font-size:1rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-progress { width:100px !important; min-width:100px !important; flex-basis:100px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-shell > main { grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important; gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-visual { padding:5px !important; gap:4px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-stage { justify-content:center !important; gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-panel { gap:4px !important; margin:0 !important; padding:6px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(.g5aa-panel > span,.g5aa-panel h2,.g5aa-message) { font-size:.75rem !important; letter-spacing:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(.g5aa-choices,.g5aa-multi) { grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-bank { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-track { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(.g5aa-choices,.g5aa-multi,.g5aa-bank,.g5aa-track) button { min-width:0 !important; min-height:44px !important; padding:3px 2px !important; gap:2px !important; font-size:.75rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board :is(
    .capsule-conveyor,.rack-machine,.broken-order-lab,.command-dock,.live-pseudocode,.shape-grid,
    .flow-builder,.decision-gate,.quality-loop,.subtraction-robot,.stop-condition-repair,.cell-trays,
    .trace-table,.expression-bridge,.unit-price-conveyor,.remainder-lock,.route-workbench,.algorithm-speaker
  ) { min-height:0 !important; height:auto !important; padding:4px !important; overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .conveyor-bed { height:105px !important; border-radius:12px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .machine { top:10px !important; height:42px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .capsule { top:66px !important; width:38px !important; height:24px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .rack-machine { height:108px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .capsule-stage { width:90px !important; height:58px !important; padding:4px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .broken-order-lab { grid-template-columns:minmax(0,1fr) 58px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .timeline { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .timeline section { min-height:75px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .cause-window { min-height:0 !important; padding:3px !important; grid-template-columns:1fr !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .cause-window i { width:35px !important; height:35px !important; border-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .command-dock { grid-template-columns:minmax(0,1fr) 42px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .command-slots { grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:2px !important; overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .command-slots section { min-height:72px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .reject-bin { min-height:0 !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .live-pseudocode { grid-template-columns:1.2fr .8fr !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .code-lane { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .code-lane section { min-height:28px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .number-screen { min-height:72px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .shape-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:4px !important; min-height:78px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .flow-builder { grid-template-columns:.8fr 1.2fr !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .flow-shape { min-width:58px !important; height:32px !important; padding:2px !important; font-size:.75rem !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .flow-shape.decision { width:50px !important; height:50px !important; min-width:50px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .token-tray { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .decision-gate { grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .scale { width:58px !important; height:58px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .parcel { width:30px !important; height:24px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .fork { width:55px !important; height:74px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .fork::before,.topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .fork::after { top:36px !important; width:45px !important; height:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .quality-loop { grid-template-columns:52px minmax(0,1fr) 58px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .level-tower { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .level-tower section { width:44px !important; height:25px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .quality-loop svg { height:88px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .subtraction-robot { grid-template-columns:minmax(0,1fr) 45px minmax(0,1.15fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .parts-bin { min-height:88px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .robot-arm { height:92px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .robot-arm i { left:18px !important; top:10px !important; height:58px !important; width:9px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .robot-arm::after { left:5px !important; bottom:6px !important; width:38px !important; height:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .full-trays { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .full-trays section { min-height:42px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .stop-condition-repair { grid-template-columns:58px 50px 58px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .remaining-parts { width:58px !important; height:64px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .route-sign { width:50px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .route-sign span { padding:3px 1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .route-sign i { left:22px !important; top:28px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .cell-trays { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .cell-trays section { min-height:62px !important; border-width:2px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .energy-cell { width:10px !important; height:15px !important; border-width:1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .sum-ribbon { margin-top:3px !important; padding:3px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .trace-table { grid-template-columns:58px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .energy-gauge { min-height:105px !important; border-radius:10px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .live-table { grid-template-rows:28px repeat(4,1fr) !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .live-table :is(span,b) { padding:2px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .expression-bridge { grid-template-columns:68px 28px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .table-mini span { padding:3px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .bridge-wires { height:80px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .formula-screen { min-height:78px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .unit-price-conveyor { grid-template-columns:55px minmax(0,1fr) 55px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .paper-pack { height:88px !important; border-width:2px !important; box-shadow:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .paper-pack b { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .split-belt { padding:3px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .split-belt section { height:55px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .price-stamp { grid-column:auto !important; min-height:55px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .division-bays { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .division-bays section { min-height:72px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .code-lock { gap:3px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .code-lock i { width:28px !important; height:34px !important; font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .representation-rail { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .representation-rail section { min-height:78px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .representation-rail .flow-shape { min-width:38px !important; height:25px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .algorithm-speaker { grid-template-columns:1.3fr 1fr !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .group-board { min-height:85px !important; grid-template-columns:repeat(4,1fr) 35px !important; gap:2px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .speech-bubble { min-height:75px !important; padding:4px !important; border-radius:12px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-final { min-height:0 !important; height:100% !important; padding:8px !important; gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-final-mark { width:90px !important; height:90px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-report { grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-arithmetic-algorithms-board .g5aa-report section { padding:3px !important; }
}

/* Grade 5 / Theme 6 assessment. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme6-assessment-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme6-assessment-board) #topic-section-track button { width:auto !important; min-width:72px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bfd6d1 !important;
  border-radius:24px !important;
  background:#eef6f3 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell > header { margin:0 !important; padding:0 3px 6px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-visual,.g5t6a-panel,.g5t6a-visual-stage) {
  min-width:0 !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-visual { height:100% !important; padding:8px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-visual-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-visual-stage > :first-child:not(.g5t6a-choices):not(.g5t6a-multi):not(.g5t6a-order-bank) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-panel { justify-content:center !important; gap:6px !important; padding:10px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-panel h2 { margin:3px 0 5px !important; font-size:clamp(.82rem,1.5vw,1.05rem) !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-message { min-height:0 !important; margin:0 !important; padding:5px 6px !important; font-size:.75rem !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-check { min-height:44px !important; margin-top:0 !important; padding:5px 8px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-choices,.g5t6a-multi,.g5t6a-order-bank) { flex:0 0 auto !important; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important; gap:5px !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-order-track { flex:0 0 auto !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:4px !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-choices,.g5t6a-multi,.g5t6a-order-bank,.g5t6a-order-track) button { min-width:0 !important; min-height:44px !important; padding:4px 5px !important; font-size:.75rem !important; line-height:1.1 !important; }

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme6-assessment-board) .teacher-classroom { grid-template-columns:230px minmax(0,460px) !important; gap:18px !important; padding:8px 0 14px !important; align-items:start !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme6-assessment-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme6-assessment-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell { padding:7px !important; border-radius:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell > header { align-items:center !important; gap:6px !important; padding-bottom:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell > header h1 { font-size:1rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-progress { width:100px !important; min-width:100px !important; flex-basis:100px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-shell > main { display:grid !important; grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important; gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-visual { padding:5px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-visual-stage { justify-content:center !important; gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-panel { gap:4px !important; padding:6px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-panel > span,.g5t6a-panel h2,.g5t6a-message) { font-size:.75rem !important; letter-spacing:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-choices,.g5t6a-multi) { grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-order-bank { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-order-track { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-choices,.g5t6a-multi,.g5t6a-order-bank,.g5t6a-order-track) button { min-width:0 !important; min-height:44px !important; padding:3px 2px !important; gap:2px !important; font-size:.75rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-order-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board :is(.g5t6a-balance,.g5t6a-clock,.g5t6a-gates,.g5t6a-network,.g5t6a-switchboard,.g5t6a-mosaic,.g5t6a-fold,.g5t6a-area,.g5t6a-layers,.g5t6a-card-engine,.g5t6a-pattern,.g5t6a-time-rail,.g5t6a-console) { min-height:0 !important; height:auto !important; padding:4px !important; overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-balance { padding-top:24px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .balance-beam { width:100% !important; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) !important; height:82px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .balance-beam::after { top:30px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .balance-beam > em { width:20px !important; height:20px !important; margin-top:24px !important; border-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pan { width:74px !important; min-height:46px !important; padding:14px 2px 2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .balance-pivot { top:64px !important; border-left-width:24px !important; border-right-width:24px !important; border-bottom-width:58px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .transfer-orbit { bottom:2px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .transfer-orbit :is(b,i,span) { padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-clock { grid-template-columns:55px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .clock-face { width:54px !important; height:54px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .clock-face i { left:24px !important; top:5px !important; height:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .clock-face strong { inset:32px 0 0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .clock-path { grid-template-columns:1fr 8px 1fr 8px 1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .clock-path section { min-height:65px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .mini-balance { grid-template-columns:1fr 55px 1fr !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-gates { grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-gates section { min-height:80px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .gate-core i { width:28px !important; height:28px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-network { height:125px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-network svg { inset:12px 3% !important; width:94% !important; height:95px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .product-grid { grid-template-columns:repeat(3,20px) !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .product-grid b { height:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .network-results { top:16px !important; gap:10px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-switchboard { padding:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .switch-expression { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .switch-expression span { padding:4px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .switches { gap:3px !important; margin-top:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .switches section { gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-switchboard svg { height:34px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-mosaic { grid-template-columns:105px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .mosaic-grid { width:102px !important; height:102px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .mosaic-ledger { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .mosaic-ledger span { padding:3px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .mosaic-ledger strong { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .fold-strip { height:58px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .fold-path { margin-top:4px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .fold-path section { min-height:45px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-area { padding:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .area-rect { width:100% !important; height:85px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .area-ruler { width:100% !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .expression { gap:2px !important; margin-bottom:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .expression span { width:30px !important; height:30px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .layer-stack { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .layer-stack section { grid-template-columns:22px 52px minmax(0,1fr) !important; min-height:30px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .result-screen { width:55px !important; height:30px !important; margin-top:3px !important; border-width:2px !important; font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-card-engine { padding:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .card-slots b { width:30px !important; height:40px !important; border-width:2px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .contribution { height:44px !important; gap:3px !important; margin-top:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .min-scale { grid-template-columns:1fr 35px 1fr !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .min-scale section { min-height:65px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-pattern { padding:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pattern-steps { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pattern-steps section > span { width:60px !important; padding:2px !important; gap:2px !important; border-bottom-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pattern-steps section:nth-child(1) > span { height:42px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pattern-steps section:nth-child(2) > span { height:57px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pattern-steps section:nth-child(3) > span { height:72px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .pattern-steps i { width:8px !important; height:8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .difference-meter { gap:2px !important; margin-top:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .difference-meter :is(span,strong) { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-time-rail { padding:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .rail span { min-width:25px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .rail i { width:15px !important; height:15px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .time-display { width:75px !important; height:58px !important; margin-top:7px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .time-display strong { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-console { padding:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .console-flow { grid-template-columns:1fr 8px 1fr 8px 1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .console-flow section { min-height:65px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .console-screen { grid-template-columns:1fr 35px 40px !important; margin-top:3px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .console-screen strong { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-final { height:100% !important; padding:8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-final-mark { width:76px !important; height:76px !important; border-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-report { grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme6-assessment-board .g5t6a-report section { padding:3px !important; }
}

/* Grade 5 / Theme 7 / Probability Events. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-probability-events-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-probability-events-board) #topic-section-track button { width:auto !important; min-width:72px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bfd6d1 !important;
  border-radius:24px !important;
  background:#eef6f3 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell > header { margin:0 !important; padding:0 3px 6px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board :is(.g5pe-visual,.g5pe-panel,.g5pe-visual-stage) {
  min-width:0 !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-visual { height:100% !important; padding:8px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-visual-stage {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  height:100% !important;
  padding:0 !important;
  gap:7px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-visual-stage > :first-child:not(.g5pe-choices) {
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-panel { justify-content:center !important; gap:6px !important; padding:10px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-panel h2 { margin:3px 0 5px !important; font-size:clamp(.82rem,1.5vw,1.05rem) !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-message { min-height:0 !important; margin:0 !important; padding:5px 6px !important; font-size:.75rem !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-check { min-height:44px !important; margin-top:0 !important; padding:5px 8px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-choices { flex:0 0 auto !important; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important; gap:5px !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-choices button { min-width:0 !important; min-height:44px !important; padding:4px 5px !important; font-size:.75rem !important; line-height:1.1 !important; }

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-events-board) .teacher-classroom { grid-template-columns:230px minmax(0,460px) !important; gap:18px !important; padding:8px 0 14px !important; align-items:start !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-events-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-events-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell { padding:7px !important; border-radius:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell > header { align-items:center !important; gap:6px !important; padding-bottom:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell > header h1 { font-size:1rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-progress { width:100px !important; min-width:100px !important; flex-basis:100px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-shell > main { display:grid !important; grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important; gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-visual { padding:5px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-visual-stage { justify-content:center !important; gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-panel { gap:4px !important; padding:6px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board :is(.g5pe-panel > span,.g5pe-panel h2,.g5pe-message) { font-size:.75rem !important; letter-spacing:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-choices { grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-choices button { min-width:0 !important; min-height:44px !important; padding:3px 2px !important; gap:2px !important; font-size:.75rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board :is(.g5pe-weather,.g5pe-evidence-table,.g5pe-gate,.g5pe-bag-lab,.g5pe-change,.g5pe-why,.g5pe-wheel-workshop,.g5pe-wheel-compare,.g5pe-menu,.g5pe-report,.g5pe-builder) { min-height:0 !important; height:auto !important; padding:4px !important; overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-weather { grid-template-columns:minmax(0,1fr) 58px !important; grid-template-rows:92px 55px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-weather .picnic { padding:3px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-weather .picnic i { font-size:1.5rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-weather .weather-evidence { grid-template-columns:45px 1fr 45px 1fr !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-weather .weather-evidence span:nth-of-type(2) { grid-column:auto !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-evidence-table { grid-template-columns:62px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board :is(.evidence-bag,.gate-bag,.why-bag) { min-height:105px !important; padding:3px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .evidence-scale { grid-template-columns:1fr 1fr !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .evidence-scale > em { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .evidence-scale section { min-height:72px !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-gate { grid-template-columns:58px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .color-gates { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .color-gates section { min-height:82px !important; gap:2px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .color-gates section i { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-bag-lab { grid-template-columns:72px 16px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-bag-source { min-height:115px !important; gap:2px !important; padding:25px 2px 12px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-token { width:44px !important; min-height:44px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-lanes { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-lanes section { min-height:105px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-lanes section > div { gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-change { grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-change :is(.before,.after) { min-height:112px !important; gap:3px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-change .g5pe-dot-row i { width:18px !important; height:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-why { grid-template-columns:62px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .why-chain { grid-template-columns:1fr 8px 1fr 8px 1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .why-chain i { display:block !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .why-chain span { min-height:62px !important; padding:2px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-workshop { grid-template-columns:minmax(156px,1fr) 60px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-wrap { grid-template-columns:1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-wrap .g5pe-wheel-svg { width:156px !important; max-width:156px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-counts { grid-template-columns:1fr 1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-counts span { min-height:44px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-palette { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-palette button { min-height:44px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-compare { grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-wheel-compare .g5pe-wheel-svg { max-width:82px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .compare-arrow { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .compare-arrow span { padding:2px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-menu { grid-template-columns:minmax(0,1fr) 58px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .menu-board { border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .menu-board h3 { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .menu-board section { grid-template-columns:45px 1fr 20px !important; min-height:35px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .menu-ticket { min-height:85px !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-report { grid-template-columns:minmax(0,1fr) 62px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .bus-route { gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .report-folders { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .report-folders section { min-height:58px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-builder { grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-builder > section { grid-template-rows:auto minmax(45px,1fr) auto auto !important; min-height:118px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .builder-stack { gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .builder-stack i { width:20px !important; height:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .builder-relation { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .builder-relation b { padding:2px !important; font-size:.75rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-final { height:100% !important; padding:8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-final-mark { width:76px !important; height:76px !important; border-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-report-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-events-board .g5pe-report-grid section { padding:3px !important; }
}

/* Grade 5 / Theme 7 / Probability Spectrum. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) #topic-section-track button { width:auto !important; min-width:72px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bfd6d1 !important;
  border-radius:24px !important;
  background:#eef6f3 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell > header { margin:0 !important; padding:0 3px 6px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board :is(.g5ps-visual,.g5ps-panel,.g5ps-visual-stage) {
  min-width:0 !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-visual { height:100% !important; padding:8px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-visual-stage { display:flex !important; flex-direction:column !important; justify-content:center !important; height:100% !important; padding:0 !important; gap:7px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-visual-stage > :first-child:not(.g5ps-choices) { flex:1 1 auto !important; min-height:0 !important; max-height:100% !important; overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-panel { justify-content:center !important; gap:6px !important; padding:10px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-panel h2 { margin:3px 0 5px !important; font-size:clamp(.82rem,1.5vw,1.05rem) !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-message { min-height:0 !important; margin:0 !important; padding:5px 6px !important; font-size:.75rem !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-check { min-height:44px !important; margin-top:0 !important; padding:5px 8px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-choices { flex:0 0 auto !important; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important; gap:5px !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-choices button { min-width:0 !important; min-height:44px !important; padding:4px 5px !important; font-size:.75rem !important; line-height:1.1 !important; }

@media (min-width:901px) and (max-width:1400px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .teacher-classroom { grid-template-columns:230px minmax(0,760px) !important; gap:18px !important; padding:8px 0 14px !important; align-items:start !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .lesson-avatar { height:250px !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .narration-controls { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .narration-controls button { min-width:44px !important; min-height:44px !important; }
}
@media (min-width:701px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .teacher-classroom { grid-template-columns:230px minmax(0,460px) !important; gap:18px !important; padding:8px 0 14px !important; align-items:start !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-probability-spectrum-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:700px) {
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell { padding:7px !important; border-radius:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell > header { align-items:center !important; gap:6px !important; padding-bottom:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell > header h1 { font-size:1rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-progress { width:100px !important; min-width:100px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-shell > main { display:grid !important; grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important; gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-visual { padding:5px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-visual-stage { align-items:stretch !important; justify-content:center !important; gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-panel { position:relative !important; width:auto !important; gap:4px !important; padding:6px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board :is(.g5ps-panel > span,.g5ps-panel h2,.g5ps-message) { font-size:.75rem !important; letter-spacing:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-choices { grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-choices button { min-width:0 !important; min-height:44px !important; padding:3px 2px !important; gap:2px !important; font-size:.75rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board :is(.g5ps-boundary,.g5ps-anchor-lab,.g5ps-spectrum,.g5ps-mirror-lab,.g5ps-jar-spectrum,.g5ps-jar-editor,.g5ps-fairness,.g5ps-wheel-workshop,.g5ps-cube-spectrum,.g5ps-trial,.g5ps-model-record,.g5ps-weather-spectrum,.g5ps-claim,.g5ps-transfer) { min-height:0 !important; height:auto !important; padding:4px !important; overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary-rail { grid-template-columns:8px 1fr 28px 1.5fr 28px 1fr 8px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary-rail > strong { width:28px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary-rail > em { height:34px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-gate-zones { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-gate-zones section { min-height:105px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-gate-zones section:nth-child(2) > div {
    display:grid !important;
    grid-template-columns:repeat(2,44px) !important;
    align-content:start !important;
    gap:2px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-value-card { width:44px !important; min-height:44px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-lab { grid-template-columns:62px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-pool { min-height:112px !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-card { width:44px !important; min-height:44px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-line { grid-template-columns:repeat(3,1fr) !important; min-height:105px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-line > i { left:4% !important; right:4% !important; top:50% !important; bottom:auto !important; width:auto !important; height:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-slot { min-width:0 !important; min-height:72px !important; gap:2px !important; margin:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-spectrum { gap:4px !important; padding:4px 8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-rail { height:95px !important; margin:0 8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-rail::before,.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-fill { top:42px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-rail > button { top:20px !important; min-height:66px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-beacon { top:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-beacon > i { height:45px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-mirror-lab { grid-template-columns:58px 62px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-quarter-disc { width:55px !important; height:55px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-mirror { min-height:105px !important; padding:3px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-mini-spectrum { min-height:62px !important; padding-top:25px !important; border-bottom-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-spectrum { grid-template-columns:62px 48px minmax(0,1fr) !important; grid-template-rows:1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar { min-height:115px !important; padding:20px 2px 10px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar :is(.back,.front) { inset:10px 1px 8px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar .stones { gap:1px !important; margin-top:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar .stones i { width:18px !important; height:18px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-count { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-count span { min-height:44px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-spectrum .g5ps-spectrum { grid-column:auto !important; min-height:105px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-editor { grid-template-columns:1.15fr .85fr !important; grid-template-rows:1fr auto !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid { min-height:118px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid :is(.back,.front) { inset:2px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid .cells { grid-template-columns:repeat(4,44px) !important; gap:1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid button { width:44px !important; min-height:44px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-live-equivalence { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-live-equivalence span { min-height:48px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-half-meter { height:36px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-fairness { grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-fairness .g5ps-wheel { max-width:92px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5prob-balance > i { width:38px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop { grid-template-columns:minmax(150px,1fr) 64px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-column .g5ps-wheel { width:150px !important; max-width:150px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-palette { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-palette button { min-height:44px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer { grid-template-columns:minmax(150px,1fr) 64px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer .g5ps-wheel { min-width:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer .g5ps-palette { grid-template-columns:1fr !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-cube-spectrum { grid-template-columns:102px 35px minmax(0,1fr) !important; grid-template-rows:1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-cube-net { grid-template-columns:repeat(3,30px) !important; grid-template-rows:repeat(3,30px) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-cube-net i { border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-cube-spectrum .g5ps-spectrum { grid-column:auto !important; min-height:105px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial { grid-template-columns:72px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-card .g5ps-wheel { max-width:68px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial-console { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial-strip { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial-strip i { min-height:44px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-record { grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-record > section { min-height:112px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-record .g5ps-wheel { max-width:72px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-record-dots { grid-template-columns:repeat(5,18px) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-record-dots i { width:18px !important; height:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum {
    grid-template-columns:92px minmax(0,1fr) !important;
    grid-template-rows:1fr auto !important;
    gap:3px !important;
    min-height:0 !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar { border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar header,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar footer { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar > div { gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar i { min-height:26px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum .g5ps-spectrum { min-height:112px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum > p {
    max-width:100% !important;
    margin:0 !important;
    padding:3px !important;
    overflow-wrap:anywhere !important;
    white-space:normal !important;
    text-align:left !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum { grid-template-columns:92px minmax(0,1fr) !important; grid-template-rows:1fr auto !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar { border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar header,.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar footer { padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar > div { gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-calendar i { min-height:26px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum .g5ps-spectrum { min-height:112px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-claim { grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-claim > section { min-height:112px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-evidence-chips { grid-template-columns:repeat(4,18px) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-evidence-chips i { width:18px !important; height:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-tomorrow { width:62px !important; height:72px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer { grid-template-columns:78px minmax(0,1fr) !important; grid-template-rows:1fr auto !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-pool { grid-template-columns:1fr !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card { grid-template-columns:26px 1fr !important; min-height:44px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card i { width:24px !important; height:24px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; align-items:center !important; gap:2px !important; min-height:112px !important; padding:4px 0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button,.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button:first-of-type,.topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button:last-of-type { position:relative !important; left:auto !important; top:auto !important; width:100% !important; min-width:0 !important; min-height:72px !important; transform:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-final { height:100% !important; padding:8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-final-mark { padding:4px !important; margin-bottom:4px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-report-grid { grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-report-grid section { padding:3px !important; }
}

@media (max-width:1400px) {
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary { min-height:0 !important; gap:4px !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary-rail { grid-template-columns:8px 1fr 28px 1.5fr 28px 1fr 8px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary-rail > strong { width:28px !important; height:28px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-boundary-rail > em { height:34px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-gate-zones { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-gate-zones section { min-height:105px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-value-card { width:44px !important; min-height:44px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-lab { grid-template-columns:62px minmax(0,1fr) !important; gap:3px !important; min-height:0 !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-pool { min-height:112px !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-card { width:44px !important; min-height:44px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-line { grid-template-columns:repeat(3,1fr) !important; min-height:105px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-line > i { left:4% !important; right:4% !important; top:50% !important; bottom:auto !important; width:auto !important; height:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-anchor-slot { min-width:0 !important; min-height:72px !important; gap:2px !important; margin:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-editor { grid-template-columns:1.15fr .85fr !important; grid-template-rows:1fr auto !important; gap:3px !important; min-height:0 !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid { min-height:118px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid :is(.back,.front) { inset:2px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid .cells { grid-template-columns:repeat(5,44px) !important; gap:1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid button { width:44px !important; min-height:44px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-live-equivalence { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-live-equivalence span { min-height:48px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-half-meter { height:36px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-fairness { grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr) !important; gap:2px !important; min-height:0 !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-fairness .g5ps-wheel { max-width:92px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5prob-balance > i { width:38px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer {
    grid-template-columns:1fr !important;
    gap:3px !important;
    min-height:0 !important;
    padding:4px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-column { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-column .g5ps-wheel,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer .g5ps-wheel {
    width:180px !important;
    min-width:0 !important;
    max-width:180px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-palette,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer .g5ps-palette {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-palette button,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-wheel-workshop.designer .g5ps-palette button {
    min-height:44px !important;
    padding:2px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-palette .reset { grid-column:1/-1 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial { grid-template-columns:72px minmax(0,1fr) !important; gap:3px !important; min-height:0 !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-card .g5ps-wheel { max-width:68px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial-console { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial-strip { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-trial-strip i { min-height:44px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-record { grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) !important; gap:2px !important; min-height:0 !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-record > section { min-height:112px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-model-record .g5ps-wheel { max-width:72px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-record-dots { grid-template-columns:repeat(5,18px) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-record-dots i { width:18px !important; height:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer { grid-template-columns:1fr !important; grid-template-rows:auto auto auto !important; gap:3px !important; min-height:0 !important; padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-pool { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:2px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-pool > span { grid-column:1/-1 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card { grid-template-columns:26px 1fr !important; min-height:44px !important; gap:2px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card i { width:24px !important; height:24px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; align-items:center !important; gap:2px !important; min-height:90px !important; padding:3px 0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button:first-of-type,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button:last-of-type {
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:100% !important;
    min-width:0 !important;
    min-height:50px !important;
    transform:none !important;
  }
}

@media (max-width:1400px) {
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-gate-zones header {
    min-height:24px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-jar-editor {
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto auto !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-glass-grid .cells {
    grid-template-columns:repeat(4,44px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum > p {
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card span {
    line-height:1.05 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button:first-of-type,
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-transfer-spectrum > button:last-of-type {
    min-height:44px !important;
  }
}

@media (max-width:1400px) {
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum {
    contain:inline-size !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum > :is(.g5ps-calendar,.g5ps-spectrum,p) {
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum .g5ps-beacon > b {
    max-width:60px !important;
    white-space:normal !important;
    text-align:center !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum .g5ps-rail {
    margin-inline:26px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-weather-spectrum .g5ps-rail > button {
    left:clamp(23px,var(--x),calc(100% - 55px)) !important;
  }
}

@media (max-width:700px) {
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card {
    grid-template-columns:1fr !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-probability-spectrum-board .g5ps-event-card i {
    display:none !important;
  }
}

/* Grade 5 / Theme 7 assessment. */
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme7-assessment-board) #topic-section-track {
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(72px,1fr) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.topic-lesson-shell[data-grade="5"]:has(.grade5-theme7-assessment-board) #topic-section-track button { width:auto !important; min-width:72px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board {
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:0 !important;
  border:1px solid #bfd6d1 !important;
  border-radius:24px !important;
  background:#eef6f3 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell {
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  padding:9px !important;
  gap:0 !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell > header { margin:0 !important; padding:0 3px 6px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell > main {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(190px,.75fr) !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  gap:7px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-visual,.g5t7a-panel,.g5t7a-visual-stage) {
  min-width:0 !important;
  min-height:0 !important;
  max-height:100% !important;
  box-sizing:border-box;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-visual { height:100% !important; padding:8px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-visual-stage { display:flex !important; flex-direction:column !important; justify-content:center !important; height:100% !important; padding:0 !important; gap:7px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-visual-stage > :first-child:not(.g5t7a-choices):not(.g5t7a-multi):not(.g5t7a-order-bank) { flex:1 1 auto !important; min-height:0 !important; max-height:100% !important; overflow:hidden !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-panel { display:flex !important; flex-direction:column !important; justify-content:center !important; gap:6px !important; padding:10px !important; border-radius:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-panel h2 { margin:3px 0 5px !important; font-size:clamp(.82rem,1.5vw,1.05rem) !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-message { min-height:0 !important; margin:0 !important; padding:5px 6px !important; font-size:.75rem !important; line-height:1.2 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-check { min-height:44px !important; margin-top:0 !important; padding:5px 8px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-choices,.g5t7a-multi,.g5t7a-order-bank) { flex:0 0 auto !important; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important; gap:5px !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-order-track { flex:0 0 auto !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:4px !important; margin:0 !important; }
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-choices,.g5t7a-multi,.g5t7a-order-bank,.g5t7a-order-track) button { min-width:0 !important; min-height:44px !important; padding:4px 5px !important; font-size:.75rem !important; line-height:1.1 !important; }

@media (min-width:721px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme7-assessment-board) .teacher-classroom { grid-template-columns:230px minmax(0,460px) !important; gap:18px !important; padding:8px 0 14px !important; align-items:start !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme7-assessment-board) .lesson-teacher { display:block !important; }
  .topic-lesson-shell[data-grade="5"]:has(.grade5-theme7-assessment-board) .lesson-avatar { height:250px !important; }
}

@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell { padding:7px !important; border-radius:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell > header { align-items:center !important; gap:6px !important; padding-bottom:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell > header h1 { font-size:1rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell > header > div > span { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-progress { grid-template-columns:62px 30px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-shell > main { display:grid !important; grid-template-columns:minmax(0,1.5fr) minmax(108px,.78fr) !important; gap:5px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-visual { padding:5px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-visual-stage { align-content:normal !important; justify-content:center !important; gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-panel { gap:4px !important; padding:6px !important; border-radius:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-panel > span,.g5t7a-panel h2,.g5t7a-message) { font-size:.75rem !important; letter-spacing:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-choices,.g5t7a-multi) { grid-template-columns:repeat(auto-fit,minmax(62px,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-order-bank { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-order-track { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-choices,.g5t7a-multi,.g5t7a-order-bank,.g5t7a-order-track) button { min-width:0 !important; min-height:44px !important; padding:3px 2px !important; gap:2px !important; font-size:.75rem !important; line-height:1.05 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-order-track button b { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-range,.g5t7a-vault,.g5t7a-elevator,.g5t7a-spectrum,.g5t7a-jar-lab,.g5t7a-ratios,.g5t7a-equalizer,.g5t7a-wheel-lab,.g5t7a-fairness,.g5t7a-evidence,.g5t7a-cube-lab,.g5t7a-recorder,.g5t7a-bridge,.g5t7a-forecast,.g5t7a-report-console) { min-height:0 !important; height:auto !important; padding:4px !important; overflow:hidden !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-range { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .range-track { height:62px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .range-track > i { top:4px !important; height:52px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .range-track > i span { bottom:50px !important; padding:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .range-gates { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-vault { grid-template-columns:70px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .green-box { min-height:105px !important; padding:3px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .endpoint-line { min-height:105px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .endpoint-line > span { width:58px !important; min-height:58px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .endpoint-line b { font-size:1rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-elevator { grid-template-columns:55px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .tank { height:105px !important; min-height:105px !important; border-width:3px !important; border-top:0 !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .elevator-shafts { height:105px !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-spectrum { padding:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .card-rack { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .card-rack i { height:28px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .spectrum-rail { height:88px !important; margin-top:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .spectrum-rail::before { top:42px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .spectrum-rail span { top:20px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .spectrum-rail span em { width:70px !important; margin-top:32px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-jar-lab { grid-template-columns:70px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .jar { height:110px !important; min-height:110px !important; border-width:3px !important; border-top-width:7px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .jar > div { left:2px !important; right:2px !important; bottom:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .ball { width:16px !important; height:16px !important; margin:1px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .jar-meters { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .jar-meters span { grid-template-columns:35px 1fr !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .jar-meters i { height:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-ratios,.g5t7a-bridge) { grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-ratios section { gap:2px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .mini-jar { width:58px !important; min-height:55px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-equalizer { grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-equalizer section { min-height:92px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board :is(.g5t7a-wheel-lab,.g5t7a-fairness) { grid-template-columns:102px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .wheel { width:98px !important; height:98px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .wheel-bars { height:105px !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .wheel-bars i { height:calc(var(--v)*15px) !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .pair-lines { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .pair-lines span { gap:5px !important; min-height:22px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-evidence { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .number-cards { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .number-cards i { min-height:28px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .evidence-lenses { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .evidence-lenses section { min-height:75px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-cube-lab { grid-template-columns:122px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .cube-net { grid-template-columns:repeat(4,28px) !important; grid-template-rows:repeat(3,28px) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .cube-net i { border-width:2px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .letter-bars { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .letter-bars span { grid-template-columns:20px 1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .letter-bars i { height:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-recorder { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .trial-slots { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .trial-slots span { grid-template-columns:22px 1fr !important; min-height:52px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .trial-slots i { width:30px !important; height:30px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .tallies { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .tallies span { grid-template-columns:42px 1fr !important; min-height:44px !important; padding:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-bridge section { gap:3px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-bridge section > div { min-height:55px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-forecast { grid-template-columns:70px minmax(0,1fr) !important; gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .weather-window { height:100px !important; min-height:100px !important; border-width:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .weather-window .cloud { left:10px !important; top:28px !important; transform:scale(.45) !important; transform-origin:top left !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .weather-window .rain { left:12px !important; top:55px !important; transform:scale(.45) !important; transform-origin:top left !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .forecast-cards { gap:3px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .forecast-cards span { grid-template-columns:30px 1fr !important; min-height:44px !important; padding:3px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-report-console { gap:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .ten-cards { gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .ten-cards i { height:26px !important; font-size:.8rem !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-flow { grid-template-columns:1fr 10px 1fr 10px 1fr !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-flow section { min-height:62px !important; padding:2px !important; border-width:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-spectrum { height:50px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-final { height:100% !important; padding:8px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-final-mark { width:76px !important; height:76px !important; border-width:4px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-summary { grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:2px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-summary section { padding:3px !important; }
}

/* Theme 7 final evidence report must expose every card, flow step and slot. */
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-report-console {
  display:grid !important;
  grid-template-rows:38px minmax(58px,1fr) 44px !important;
  gap:4px !important;
  width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  padding:4px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .ten-cards {
  grid-template-columns:repeat(10,minmax(0,1fr)) !important;
  gap:2px !important;
  min-width:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .ten-cards i {
  min-width:0 !important;
  height:38px !important;
  font-size:.8rem !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-flow {
  grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr) !important;
  gap:2px !important;
  min-width:0 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-flow section {
  min-width:0 !important;
  min-height:58px !important;
  padding:2px !important;
  border-width:2px !important;
  overflow:hidden !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-flow :is(b,span) {
  overflow-wrap:anywhere !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .report-spectrum {
  min-height:44px !important;
  height:44px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-order-bank,
.topic-lesson-shell[data-grade="5"] .grade5-theme7-assessment-board .g5t7a-order-track {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

/* Content-safe exceptions found by the complete Grade 5 state/viewport audit. */
.topic-lesson-shell[data-grade="5"] #teaching-board.grade5-content-scroll {
  overflow-x:hidden !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  touch-action:pan-y;
}
.topic-lesson-shell[data-grade="5"] #teaching-board.grade5-content-scroll > .grade5-board-frame {
  height:auto !important;
  min-height:100% !important;
  max-height:none !important;
  overflow:visible !important;
}
.topic-lesson-shell[data-grade="5"] .am-svg .am-scale { font-size:16px !important; }
.topic-lesson-shell[data-grade="5"] .am-svg .am-scale-active { font-size:18px !important; }
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-scene,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-workspace,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-tools {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-drawing { overflow:visible !important; }
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-workspace,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-tools {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment {
  display:flex !important;
  flex-direction:column !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-notation-key,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-euclid-screen-key {
  flex:0 0 auto !important;
  position:relative !important;
  z-index:2 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-tools button {
  min-height:44px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-steps text {
  font-size:20px !important;
  font-weight:900 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-steps g > text:last-child {
  display:none !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-screen-key {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:5px !important;
  margin:2px 0 6px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-screen-key span {
  display:flex !important;
  align-items:center !important;
  gap:5px !important;
  min-width:0 !important;
  padding:6px 7px !important;
  border:1px solid #b68a48 !important;
  border-radius:10px !important;
  background:#fff8dd !important;
  color:#173b35 !important;
  font-size:12px !important;
  font-weight:850 !important;
  line-height:1.15 !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-screen-key b {
  display:grid !important;
  place-items:center !important;
  flex:0 0 24px !important;
  width:24px !important;
  height:24px !important;
  border-radius:50% !important;
  background:#ffd36a !important;
  font-size:13px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-theme1-assessment-board .g5t1a-final {
  height:auto !important;
  min-height:580px !important;
  max-height:none !important;
  overflow:visible !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-shell,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-shell > main,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-visual,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-visual-stage,
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-bag-lab {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-shell.is-complete.grade5-board-frame {
  height:auto !important;
  min-height:100% !important;
  max-height:none !important;
  overflow:visible !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-bag-lab {
  grid-template-columns:1fr !important;
  gap:8px !important;
  min-height:650px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-bag-source {
  min-height:170px !important;
  padding:28px 8px 30px !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-sort-arrow {
  transform:rotate(90deg) !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  place-self:center !important;
  pointer-events:none !important;
}
.topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-lanes {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
@media (min-width:601px) and (max-width:900px) {
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-workspace,
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-tools {
    min-height:340px !important;
  }
}
@media (max-width:600px) {
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-svg .am-scale:not(.am-scale-active) { display:none !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-svg .am-scale { font-size:14px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-svg .am-scale-active { font-size:18px !important; }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-read .am-notation-bridge {
    transform:translateY(-265px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-read .am-read-model {
    transform:translateY(-34px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-read .am-equation {
    transform:translateY(-248px) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-scene:is(.am-read,.am-construct) .am-drawing,
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .am-scene:is(.am-read,.am-construct) .am-svg {
    height:260px !important;
    min-height:260px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-workspace {
    display:flex !important;
    flex-direction:column !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-screen-key {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-euclid-screen-key span:last-child {
    grid-column:1/-1 !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-drawing,
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-svg {
    width:100% !important;
    height:300px !important;
    min-height:300px !important;
    max-height:none !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll .tci-scene.family-parchment .tci-tools {
    display:grid !important;
    grid-template-columns:1fr !important;
    padding:10px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-theme1-assessment-board .g5t1a-final {
    min-height:700px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-shell > main {
    display:block !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-bag-lab {
    display:grid !important;
    grid-template-columns:1fr !important;
    min-height:650px !important;
    gap:8px !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-sort-arrow {
    transform:rotate(90deg) !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    place-self:center !important;
    pointer-events:none !important;
  }
  .topic-lesson-shell[data-grade="5"] .grade5-content-scroll.grade5-probability-events-board .g5pe-lanes {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* grade2-solids-astra.css */
/* Only grade2GeometrySolids' opt-in board; original archive is untouched. */
.grade2-solids-board[data-g2a-phase="2"] .grade2-anatomy-board{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;gap:10px!important;padding:24px 16px 14px!important}
.grade2-solids-board[data-g2a-phase="2"] .grade2-cube-anatomy{width:100%!important;height:100%!important;min-height:0!important;transform:none!important;margin:0!important}
.grade2-solids-board[data-g2a-phase="2"] .grade2-cube-anatomy .grade2-three-solid{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important}
.grade2-solids-board[data-g2a-phase="2"] .grade2-part-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}
.grade2-solids-board[data-g2a-phase="2"] .grade2-part-cards span{display:flex;justify-content:center;gap:5px;padding:6px!important;font-size:13px!important;min-height:40px}
.grade2-solids-board[data-g2a-phase="2"] .grade2-part-cards b{width:25px;height:25px;font-size:14px;border-radius:9px}
.grade2-solids-board[data-g2a-phase="2"] .grade2-anatomy-board>h1{font-size:19px!important;text-align:center;padding:0!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;padding:22px 14px 12px!important;gap:8px!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait>.grade2-three-solid{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:0!important;display:block!important;background:transparent!important;box-shadow:none!important;border:0!important;overflow:hidden!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait>div:not(.grade2-three-solid){padding:9px 12px!important;gap:3px 7px!important;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait small{font-size:9px!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait strong{font-size:14px!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait h1{font-size:19px!important;line-height:1.1!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait p{font-size:12px!important;margin:4px 0 0!important}
.grade2-solids-board[data-g2a-phase="3"] .grade2-solid-portrait>div>b{font-size:11px!important;padding:3px 6px!important}
.grade2-solids-board[data-g2a] .g2a-stage{display:block;position:relative;width:100%;height:100%;min-height:0;overflow:hidden;touch-action:none;border-radius:16px;background:radial-gradient(ellipse at 50% 80%,#d4eada,#edf8f2 70%)}
.grade2-solids-board[data-g2a] .g2a-stage canvas{display:block;width:100%;height:100%}
.grade2-solids-board[data-g2a="behavior"] .g2a-behavior{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;padding:12px!important;gap:8px!important}
.grade2-solids-board[data-g2a="behavior"] .board-kicker,.grade2-solids-board[data-g2a="behavior"] .g2a-behavior>p{display:none!important}
.grade2-solids-board[data-g2a="behavior"] .grade2-solid-question-visual{grid-column:1!important;grid-row:1!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;display:block!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
.grade2-solids-board[data-g2a="behavior"] h1{grid-column:1!important;grid-row:2!important;font-size:clamp(17px,2vw,23px)!important;line-height:1.18!important;text-align:center!important;margin:0!important;padding:0!important}
.grade2-solids-board[data-g2a="compare"] .g2a-compare{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto auto!important;padding:12px!important;gap:7px!important}
.grade2-solids-board[data-g2a="compare"] .g2a-face-fact{display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px;color:#164c43;min-height:31px;flex-wrap:wrap}
.grade2-solids-board[data-g2a="compare"] .g2a-face-fact span{font-size:14px}
.grade2-solids-board[data-g2a="compare"] .g2a-compare-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.grade2-solids-board[data-g2a="compare"] .g2a-compare-tabs button{min-height:44px;border:2px solid #a7d3c7;border-radius:12px;background:#fff;color:#204e44;font-size:13px;font-weight:850;padding:6px;cursor:pointer}
.grade2-solids-board[data-g2a="compare"] .g2a-compare-tabs button[aria-pressed="true"]{border-color:#168676;background:#dbf0e6}
.grade2-solids-board[data-g2a="compare"] .g2a-compare-tabs button:hover,.grade2-solids-board[data-g2a="compare"] .g2a-compare-tabs button:focus-visible{outline:3px solid #f5a537;outline-offset:1px}
.grade2-solids-board[data-g2a="independent"] .g2a-independent{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:12px!important;padding:18px 12px!important}
.grade2-solids-board[data-g2a="independent"] .g2a-independent>h1{grid-column:1!important;grid-row:2!important;font-size:clamp(18px,2vw,23px)!important;line-height:1.2;text-align:center;padding:0!important;margin:0!important}
.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices{grid-row:3;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:9px}
.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices button{display:flex!important;flex-direction:column;justify-content:center;gap:8px;align-items:center;min-width:0;min-height:44px;white-space:normal;padding:8px!important;font-size:14px!important;line-height:1.18;background:white;border:2px solid #b7d9ce;border-radius:16px;color:#174a44;cursor:pointer}
.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices svg{width:100%;height:auto;max-height:160px;flex:none;overflow:visible}
.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices button:hover,.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices button:focus-visible{outline:3px solid #efa238;outline-offset:0}
@media(max-width:620px){.grade2-solids-board[data-g2a-phase="2"] .grade2-anatomy-board{padding:23px 10px 12px!important}.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices{gap:5px}.grade2-solids-board[data-g2a="independent"] .g2a-visual-choices button{padding:5px!important;font-size:12px!important}}
.grade2-solids-board[data-g2a="behavior"] .g2a-behavior{grid-template-rows:minmax(0,1fr) 44px auto!important}
.grade2-solids-board[data-g2a="behavior"] .g2a-experiment-action{grid-column:1;grid-row:2;justify-self:center;min-height:44px;min-width:180px;padding:7px 14px;border:2px solid #4caa94;border-radius:12px;background:#fff9dc;color:#225247;font-size:14px;font-weight:850;cursor:pointer}
.grade2-solids-board[data-g2a="behavior"] h1{grid-row:3!important;font-size:18px!important}
.grade2-solids-board[data-g2a="behavior"] .g2a-experiment-action:hover,.grade2-solids-board[data-g2a="behavior"] .g2a-experiment-action:focus-visible{outline:3px solid #f5a23b}
.grade2-solids-board .g2a-compare-fallback{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px}
.grade2-solids-board .g2a-compare-fallback section{text-align:center;color:#174c43;font-size:14px}
.grade2-solids-board .g2a-compare-fallback svg{width:100%;height:auto}
.grade2-solids-board[data-g2a="behavior"] .g2a-experiment-actions{grid-row:2;grid-column:1;display:flex;justify-content:center;gap:7px;min-height:44px}
.grade2-solids-board[data-g2a="behavior"] .g2a-effect{min-height:44px;min-width:104px;padding:5px 8px;border:2px solid #b6d5cb;border-radius:12px;background:white;color:#225247;font-size:11px;font-weight:800;cursor:pointer}
.grade2-solids-board[data-g2a-phase="2"] .grade2-anatomy-board{padding-top:42px!important}
.grade2-solids-board[data-g2a] .g2a-stage>svg{display:block;width:100%;height:100%;overflow:visible}

/* grade2-solids-support-astra.css */
.grade2-solids-board.g2-solids-help-open{display:grid;grid-template-rows:minmax(0,1fr) 202px;gap:6px;align-items:stretch;justify-items:stretch;overflow:hidden}
.grade2-solids-board.g2-solids-help-open>.board-square{height:100%;min-height:0;max-height:100%;overflow:hidden}
.grade2-solids-board.g2-solids-help-open .grade2-solid-question-visual{min-height:0;height:65%;max-height:65%}
.grade2-solids-board.g2-solids-help-open .grade2-solid-question>p,.grade2-solids-board.g2-solids-help-open .board-kicker{display:none}
.grade2-solids-board.g2-solids-help-open .grade2-solid-question h1{font-size:16px;margin:0}
.grade2-solids-board.g2-solids-help-open .grade2-cube-anatomy{height:100%;min-height:0;max-height:100%}
.g2-solids-help{box-sizing:border-box;min-height:0;max-height:100%;padding:7px 10px;border:2px solid #e5b953;border-radius:16px;background:#fff9e9;color:#254e50;display:grid;grid-template-rows:44px minmax(0,1fr);gap:4px;overflow:hidden}
.g2-solids-help header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.g2-solids-help header b{font-size:14px;line-height:1.2}
.g2-solids-help button{box-sizing:border-box;min-width:44px;min-height:44px;border:1px solid #a7c9c2;border-radius:10px;padding:6px 9px;background:white;color:#22575a;font-family:inherit;font-size:14px;font-weight:700;line-height:1.1;cursor:pointer}
.g2-solids-help button[aria-pressed=true]{background:#167e73;color:white;border-color:#167e73}
.g2-help-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-height:0;align-items:stretch}
.g2-help-work svg{width:100%;height:100%;min-height:0}
.g2-help-tools{display:grid;grid-template-rows:repeat(3,minmax(44px,1fr));gap:2px;min-height:0}
.g2-help-families{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(44px,1fr));gap:2px;min-height:0}
.g2-help-families button{padding:3px;font-size:13px}
.g2-help-solid-preview{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden}
.g2-help-solid-preview .grade2-solid-sprite{width:100%;height:100%;max-height:100%;min-height:0}
.g2-help-solid-preview img{width:100%;height:100%;object-fit:contain}
.g2-help-select{font-size:14px;line-height:1.3;text-align:center;padding:8px}
@media(max-width:760px){.grade2-solids-board.g2-solids-help-open{grid-template-rows:minmax(0,1fr) 200px;gap:3px}.g2-solids-help{padding:5px 7px}.g2-help-work{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:5px}.g2-solids-help header b{font-size:13px}.g2-solids-help header button{font-size:13px;white-space:nowrap}.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;padding:4px}.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board h1{font-size:14px}.grade2-solids-board.g2-solids-help-open .grade2-anatomy-board .grade2-three-solid{min-height:0;height:100%;max-height:100%}}

.g2-solids-help-dock{grid-template-columns:1fr!important}.g2-solids-help-dock button{min-height:44px;width:100%}
.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:12px;padding:6px}
.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board .grade2-cube-anatomy{flex:0 1 45%;width:45%;max-width:45%;height:100%;margin:0;inset:auto;position:relative}
.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board h1{display:block!important;flex:1;min-width:0;max-width:50%;position:static;font-size:16px;line-height:1.3;margin:0}
.grade2-solids-board.g2-solids-help-open .grade2-solid-question{display:grid!important;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:8px;padding:8px}
.grade2-solids-board.g2-solids-help-open .grade2-solid-question-visual{height:100%;max-height:100%;width:100%;min-width:0;min-height:0;overflow:hidden}
.grade2-solids-board.g2-solids-help-open .grade2-solid-question-visual>img,.grade2-solids-board.g2-solids-help-open .grade2-solid-question-visual>.grade2-solid-sprite{height:100%;max-height:100%;width:100%;max-width:100%;min-height:0;object-fit:contain}

.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board .grade2-cube-anatomy{transform:none!important;min-width:0;min-height:0}
.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board .grade2-three-solid{position:relative!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%;margin:0!important;transform:none!important;box-sizing:border-box}
.grade2-solids-board.g2-solids-help-open .student-grade2-anatomy-board canvas{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;box-sizing:border-box}

/* Keep the question and all three choices visible above the open helper. */
.grade2-solids-board.g2-solids-help-open[data-g2a="independent"] .g2a-independent{grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important;gap:4px!important;padding:4px 6px!important;min-height:0}
.grade2-solids-board.g2-solids-help-open[data-g2a="independent"] .g2a-independent>h1{grid-row:1!important;font-size:14px!important;line-height:1.15!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="independent"] .g2a-visual-choices{grid-row:2;min-height:0;gap:4px}
.grade2-solids-board.g2-solids-help-open[data-g2a="independent"] .g2a-visual-choices button{min-height:44px;gap:2px;padding:3px!important;font-size:11px!important;line-height:1.1!important;overflow:hidden}
.grade2-solids-board.g2-solids-help-open[data-g2a="independent"] .g2a-visual-choices svg{width:38px;height:28px;max-height:28px;flex:0 1 28px;min-height:0}

/* The two-action contact helper leaves room for the main experiment. */
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"]{grid-template-rows:minmax(0,1fr) 160px!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] .g2a-behavior{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 94px!important;padding:6px!important;gap:6px!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] .grade2-solid-question-visual{grid-column:1!important;grid-row:1/-1!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] h1{grid-column:2!important;grid-row:1!important;font-size:14px!important;line-height:1.2!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] .g2a-experiment-actions{grid-column:2!important;grid-row:2!important;gap:5px!important;flex-direction:column!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] .g2-help-tools{grid-template-rows:repeat(2,minmax(44px,1fr))!important}
.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] .g2a-experiment-action,.grade2-solids-board.g2-solids-help-open[data-g2a="behavior"] .g2a-effect{min-width:44px!important;width:100%!important;padding:4px!important;font-size:12px!important}

/* grade2-solid-models-astra.css */
.teaching-board[data-g2ma-phase] { --g2ma-ink:#195957; }
[data-g2ma-phase] .g2ma-viewer { position:relative; display:block; min-width:0; min-height:0; padding:0; overflow:hidden; background:linear-gradient(150deg,#f5fffa,#dbefe8); border:1px solid #b7dcd2; border-radius:22px; transform:none; }
[data-g2ma-phase] .g2ma-viewer canvas { display:block; width:100%!important; height:100%!important; touch-action:none; }
[data-g2ma-phase] .g2ma-viewer canvas:focus-visible { outline:3px solid #efac37; outline-offset:-4px; }
[data-g2ma-phase] .g2ma-empty { position:absolute; bottom:12px; left:12px; right:12px; margin:0!important; text-align:center; font-size:14px; font-weight:750; color:#557a70; pointer-events:none; }
[data-g2ma-phase] .g2ma-mini { display:block; height:100%; width:100%; max-height:180px; overflow:visible; }
[data-g2ma-phase] .g2ma-fallback { height:100%; display:grid; place-items:center; padding:12px; }
[data-g2ma-phase] .grade2-daily-to-model { grid-template-rows:minmax(0,1fr) auto; }
[data-g2ma-phase] .grade2-daily-to-model>div:last-child { grid-column:1/-1; }
[data-g2ma-phase] .grade2-teacher-build,
[data-g2ma-phase] .grade2-model-touch,
[data-g2ma-phase] .grade2-plan-teaching { grid-template-rows:minmax(0,1fr); }
[data-g2ma-phase] .grade2-model-assemble-v2 { grid-template-rows:minmax(0,1fr) auto; }
[data-g2ma-phase] .grade2-model-assemble-v2>.grade2-model-three { grid-row:1/3; }
[data-g2ma-phase] .grade2-assembly-tray button { min-height:52px; }
[data-g2ma-phase] .grade2-assembly-tray button:hover { transform:none; }
[data-g2ma-phase] .grade2-model-plan>[role=button] { cursor:pointer; min-width:44px; min-height:44px; border-radius:12px; border:2px solid transparent; }
[data-g2ma-phase] .grade2-model-plan>[role=button]:hover,
[data-g2ma-phase] .grade2-model-plan>[role=button]:focus-visible,
[data-g2ma-phase] .grade2-model-plan>.g2ma-plan-selected { border-color:#f2b63e; outline:none; background:#fff6d8; }
[data-g2ma-phase] .grade2-built-vs-spare { grid-template-columns:1fr 1fr!important; min-height:180px; gap:14px; }
[data-g2ma-phase] .grade2-built-vs-spare>span,
[data-g2ma-phase] .grade2-built-vs-spare>i { display:grid; grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) auto; }
[data-g2ma-phase] .grade2-built-vs-spare b { font-size:12px; text-align:center; }
[data-g2ma-phase] .g2ma-spares { display:flex; width:100%; height:100%; align-items:flex-end; }
[data-g2ma-phase] .g2ma-spares svg { flex:1; min-width:0; }
[data-g2ma-phase="6"] .grade2-solid-question-visual { width:100%; }
[data-g2ma-phase="6"] .grade2-solid-question { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(160px,1fr) auto auto; }
[data-g2ma-phase="6"] .grade2-solid-question>* { grid-column:1; grid-row:auto; min-width:0; }
[data-g2ma-phase="6"] .grade2-solid-question-visual { grid-row:1; min-height:0; height:100%; }
[data-g2ma-phase="6"] .grade2-built-vs-spare { height:100%; }
[data-g2ma-phase="6"] .grade2-solid-question>div:last-child { text-align:center; }
[data-g2ma-phase="7"] ~ #lesson-footer .g2ma-mini { height:130px; }
[data-g2ma-phase] .grade2-design-v2 { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr) 46px; gap:12px; }
[data-g2ma-phase] .grade2-design-live { grid-area:1/1/2/2; width:100%; height:100%; }
[data-g2ma-phase] .grade2-design-v2>div:last-child { grid-area:1/2/3/3; }
[data-g2ma-phase] .g2ma-model-tools { grid-area:2/1/3/2; display:flex; align-items:center; justify-content:space-between; gap:7px; font-size:12px; font-weight:800; color:#4c786c; }
[data-g2ma-phase] .g2ma-model-tools button { display:block; min-height:44px; min-width:44px; padding:5px 9px; border:1px solid #b7d8ca; border-radius:12px; background:#fff; color:#225f55; font-size:12px; font-weight:800; }
[data-g2ma-phase] .grade2-design-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:7px; }
[data-g2ma-phase] .grade2-design-v2 .grade2-design-options button { min-height:94px; }
[data-g2ma-phase] .grade2-design-v2 button b { font-size:12px; }
[data-g2ma-phase] .g2ma-plan-example { display:flex; align-items:center; height:180px; gap:10px; padding:12px; border:2px solid #aad7ca; border-radius:18px; background:#fffaf0; }
[data-g2ma-phase] .g2ma-plan-example strong { font-size:48px; color:#245c55; }
[data-g2ma-phase] .g2ma-count-example { display:grid; grid-template-columns:1fr 1fr; width:100%; gap:12px; }
[data-g2ma-phase] .g2ma-count-example>div { display:grid; height:180px; grid-template-rows:minmax(0,1fr) auto; padding:8px; border:2px solid #badcd2; border-radius:15px; }
[data-g2ma-phase] .g2ma-count-example>div:last-child { border-style:dashed; background:#f7faf4; }
[data-g2ma-phase] .g2ma-count-example b { font-size:12px; text-align:center; }
[data-g2ma-phase] .g2ma-fallback { overflow:auto; display:flex; flex-direction:column; gap:4px; justify-content:center; }
[data-g2ma-phase] .g2ma-fallback-piece { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; flex-shrink:0; width:100%; border:1px solid #b0d9cd; background:#fff; border-radius:9px; color:#195957; font-size:12px; font-weight:700; }
[data-g2ma-phase] .g2ma-fallback-piece svg { height:42px; width:42px; }
[data-g2ma-phase] .g2ma-fallback-piece.is-selected { background:#fff2c4; border-color:#b88416; }
[data-g2ma-phase] .g2ma-fallback-piece[hidden] { display:none; }
@media(max-width:700px) {
 [data-g2ma-phase] .board-square { padding:9px; gap:7px; }
 [data-g2ma-phase] .grade2-teacher-build { grid-template-columns:minmax(0,1fr) minmax(0,.75fr); }
 [data-g2ma-phase] .grade2-build-story h1,[data-g2ma-phase] .grade2-model-touch h1,[data-g2ma-phase] .grade2-plan-teaching h1,[data-g2ma-phase] .grade2-design-v2 h1 { font-size:15px; line-height:1.18; }
 [data-g2ma-phase] .grade2-build-story p,[data-g2ma-phase] .grade2-model-touch p,[data-g2ma-phase] .grade2-plan-teaching p,[data-g2ma-phase] .grade2-design-v2 p { font-size:12px; line-height:1.28; }
 [data-g2ma-phase] .grade2-build-sequence span { font-size:10px; min-height:30px; }
 [data-g2ma-phase] .grade2-model-touch { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) auto; }
 [data-g2ma-phase] .grade2-model-touch p { margin:4px 0; }
 [data-g2ma-phase] .grade2-separated-list { display:flex; flex-wrap:wrap; gap:3px; }
 [data-g2ma-phase] .grade2-separated-list span { padding:3px 5px; }
 [data-g2ma-phase] .grade2-separated-list .grade2-solid-sprite { display:block;width:24px;flex-basis:24px; }
 [data-g2ma-phase] .grade2-separated-list b { font-size:10px; }
 [data-g2ma-phase] .grade2-model-assemble-v2 { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) auto auto; }
 [data-g2ma-phase] .grade2-model-assemble-v2>.grade2-model-three { grid-row:1; }
 [data-g2ma-phase] .grade2-assembly-tray { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:4px; }
 [data-g2ma-phase] .grade2-assembly-tray button { min-height:48px; grid-template-columns:27px 1fr; padding:3px; }
 [data-g2ma-phase] .grade2-assembly-tray b { font-size:10px; }
 [data-g2ma-phase] .grade2-model-assemble-v2>h1 { font-size:14px; }
 [data-g2ma-phase] .grade2-plan-teaching { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) auto; }
 [data-g2ma-phase] .grade2-plan-teaching .grade2-model-plan { grid-template-columns:repeat(5,minmax(0,1fr)); }
 [data-g2ma-phase] .grade2-plan-teaching h1 { margin:0 0 4px; }
 [data-g2ma-phase] .grade2-plan-teaching p { margin:4px 0 0; }
 [data-g2ma-phase] .grade2-plan-teaching .grade2-model-plan .grade2-solid-sprite { width:32px; }
 [data-g2ma-phase] .grade2-built-vs-spare { min-height:160px; gap:8px; }
 [data-g2ma-phase] .grade2-built-vs-spare b { font-size:11px; }
 [data-g2ma-phase] .grade2-design-v2 { grid-template-columns:1fr; grid-template-rows:minmax(130px,1fr) 44px auto; }
 [data-g2ma-phase] .grade2-design-v2>div:last-child { grid-area:3/1/4/2; }
 [data-g2ma-phase] .grade2-design-v2 p { margin:4px 0; }
 [data-g2ma-phase] .grade2-design-v2 .grade2-design-options button { min-height:56px; grid-template-columns:32px 1fr; padding:4px; }
 [data-g2ma-phase] .grade2-design-v2 button b { font-size:11px; }
 [data-g2ma-phase] .grade2-design-options .grade2-solid-sprite { width:32px; }
 [data-g2ma-phase] .g2ma-count-example>div { height:145px; padding:4px; }
 [data-g2ma-phase] .g2ma-count-example b { font-size:10px; }
}
/* Keep plan and model questions in explicit tracks; no inherited implicit column. */
[data-g2ma-phase="7"] .grade2-solid-question,
[data-g2ma-phase="9"] .grade2-solid-question { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto auto; align-items:center; gap:8px; }
[data-g2ma-phase="7"] .grade2-solid-question>*,
[data-g2ma-phase="9"] .grade2-solid-question>* { grid-column:1; min-width:0; }
[data-g2ma-phase="7"] .grade2-solid-question-visual,
[data-g2ma-phase="9"] .grade2-solid-question-visual { grid-row:1; width:100%; height:100%; min-height:0; padding:10px; }
[data-g2ma-phase="7"] .grade2-solid-question h1,
[data-g2ma-phase="9"] .grade2-solid-question h1 { grid-row:2; margin:0; text-align:center; }
[data-g2ma-phase="7"] .grade2-solid-question p,
[data-g2ma-phase="9"] .grade2-solid-question p { grid-row:3; margin:0; text-align:center; }
[data-g2ma-phase="7"] .grade2-model-plan { display:flex; align-items:center; justify-content:center; gap:10px; }
[data-g2ma-phase="7"] .grade2-model-plan>span { flex:0 1 120px; min-width:0; }
[data-g2ma-phase="9"] .g2ma-plan-example { height:100%; justify-content:center; }
[data-g2ma-phase="9"] .g2ma-plan-example svg { max-width:180px; }
[data-g2ma-phase="9"] .g2ma-count-example { height:100%; }
[data-g2ma-phase="9"] .g2ma-count-example>div { height:100%; min-height:0; }
[data-g2ma-phase="7"] ~ #lesson-footer .g2ma-mini { height:90px; }
@media(max-width:700px){
 [data-g2ma-phase="7"] .grade2-model-plan { gap:6px; }
 [data-g2ma-phase="7"] .grade2-model-plan>span { flex:1; }
 [data-g2ma-phase="7"] ~ #lesson-footer .g2ma-mini { height:76px; }
 [data-g2ma-phase="9"] .g2ma-count-example>div { height:100%; }
 [data-g2ma-phase="7"] .grade2-solid-question h1,[data-g2ma-phase="9"] .grade2-solid-question h1 { font-size:17px; }
}
[data-g2ma-phase] .g2ma-fallback-assembled { width:100%;height:100%;min-height:0;display:grid;place-items:center; }
@media(min-width:1001px) and (max-height:800px){
.lesson-shell .teaching-board[data-g2ma-phase="7"]{height:min(380px,calc(100dvh - 330px))!important;min-height:0!important;max-height:min(380px,calc(100dvh - 330px))!important}
}
@media(min-width:701px) and (max-width:1000px){
 [data-g2ma-phase="9"] ~ #lesson-footer [data-grade2-solid-answer]{padding:8px 6px;min-height:52px}
 [data-g2ma-phase="9"] ~ #lesson-footer [data-grade2-solid-answer] b{font-size:16px;line-height:1.25;overflow-wrap:normal;word-break:normal}
}
@media(min-width:701px) and (max-width:1000px){
 [data-g2ma-phase="8"] .grade2-design-options { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
 [data-g2ma-phase="8"] .grade2-design-options button { grid-template-columns:minmax(0,1fr); grid-template-rows:26px auto; justify-items:center; gap:4px; padding:6px; }
 [data-g2ma-phase="8"] .grade2-design-options .grade2-solid-sprite { width:26px; min-width:26px; height:26px; flex-basis:26px; }
 [data-g2ma-phase="8"] .grade2-design-options button b { min-width:0; white-space:normal; overflow-wrap:normal; word-break:normal; }
}

/* grade2-solid-models-support.css */
.g2-models-help-open{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:12px!important;padding:14px!important;align-items:center!important}.g2-models-help-open>.board-square{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important}.g2-models-support{align-self:stretch;display:flex;flex-direction:column;gap:8px;justify-content:center;background:#fffaf0;border:2px solid #e1b96f;border-radius:20px;padding:12px;min-width:0;color:#234e50}.g2-models-support header{display:flex;flex-direction:column;gap:7px;font-size:14px}.g2-models-support button{min-height:44px;min-width:44px;border:1px solid #bdd9d0;border-radius:12px;background:#fff;color:#285550;font-family:inherit;font-size:13px;font-weight:700;padding:7px;cursor:pointer}.g2-models-support button:hover,.g2-models-support button:focus-visible{outline:3px solid #ffb34b;outline-offset:1px}.g2-models-support button:disabled{opacity:.45;cursor:default}.g2-models-support p{font-size:14px;line-height:1.3;margin:0;min-height:36px}.g2-help-stack-svg{width:100%;max-height:200px;overflow:visible}.g2-help-actions{display:grid;gap:6px}.g2-help-plan{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:end;gap:8px;padding-top:8px}.g2-help-count-model{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:0}.g2-help-count-model button{padding:0;border:0;border-radius:0;background:transparent;display:block}.g2-help-count-model button svg{width:100%;height:100%;display:block}.g2-help-count-model button[data-help-type="cylinder"]{height:72px;margin-bottom:0;position:relative;z-index:1}.g2-help-count-model button[data-help-type="rectangular"]{grid-column:auto;height:44px}.g2-help-count-model button.is-counted{filter:drop-shadow(0 0 4px #eda223)}.g2-help-spare{border:2px dashed #b8c9c0;border-radius:10px;padding:8px 3px;text-align:center;font-size:11px}.g2-help-spare span{display:block;color:#9776ca;font-size:30px;line-height:32px}.g2-help-tallies{display:grid;gap:5px;font-size:12px}.g2-help-tallies>span{display:flex;min-height:22px;justify-content:space-between;gap:3px}.g2-help-tallies b{color:#ca8420;white-space:nowrap}.g2-models-help-dock small{display:none!important}

/* Responsive help: task remains visible while the separate example is explored. */
@media(max-width:1000px){
.teaching-board.g2-models-help-open{height:380px!important;max-height:calc(100dvh - 450px)!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 160px!important;gap:6px!important;padding:7px!important;align-items:stretch!important;overflow:visible!important}
.teaching-board.g2-models-help-open>.board-square{grid-area:1/1!important;padding:4px!important;gap:5px!important;overflow:hidden!important}
.teaching-board.g2-models-help-open>.g2-models-support{grid-area:2/1!important;width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;grid-template-rows:44px 32px 50px!important;gap:4px 8px!important;padding:7px!important;align-items:center!important}
.g2-models-help-open .g2-models-support header{grid-area:1/1/2/3!important;display:flex!important;flex-direction:row!important;gap:7px!important;font-size:12px!important}
.g2-models-help-open .g2-models-support header button{max-width:120px!important;font-size:11px!important}
.g2-models-help-open .g2-help-stack-svg{grid-area:2/1/4/2!important;width:100%!important;height:88px!important;max-height:88px!important}
.g2-models-help-open .g2-models-support p{grid-area:2/2!important;font-size:11px!important;line-height:1.2!important;min-height:0!important;margin:0!important}
.g2-models-help-open .g2-help-actions{grid-area:3/2!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
.g2-models-help-open .g2-models-support button{font-size:11px!important;line-height:1.2!important;min-height:44px!important;padding:3px!important}
.g2-models-help-open .g2-help-plan{grid-area:2/1/4/2!important;grid-template-columns:1fr 25px!important;gap:2px!important;padding-top:0!important}
.g2-models-help-open .g2-help-tallies{grid-area:2/2!important;grid-template-columns:1fr 1fr!important;gap:4px!important;font-size:10px!important}
.g2-models-help-open .g2-help-tallies>span{display:block!important}
.g2-models-help-open .g2-help-plan~p{grid-area:3/2!important;align-self:start!important;font-size:10px!important;max-width:calc(100% - 96px)!important}
.g2-models-help-open .g2-models-support>[data-help-reset]{grid-area:3/2!important;width:92px!important;justify-self:end!important}
.g2-models-help-open .grade2-model-touch,.g2-models-help-open .grade2-model-assemble-v2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important}
.g2-models-help-open .grade2-model-touch>[data-three-model],.g2-models-help-open .grade2-model-assemble-v2>[data-three-model]{grid-area:1/1/3/2!important;height:100%!important;min-height:0!important}
.g2-models-help-open .grade2-model-touch>div:last-child{grid-area:1/2/3/3!important}
.g2-models-help-open .grade2-assembly-tray{grid-area:1/2!important;grid-template-columns:1fr 1fr!important;gap:3px!important;padding:2px!important}
.g2-models-help-open .grade2-assembly-tray button{min-height:44px!important;grid-template-columns:22px 1fr!important;padding:2px!important}
.g2-models-help-open .grade2-assembly-tray b{font-size:9px!important}
.g2-models-help-open .grade2-model-assemble-v2>h1{grid-area:2/2!important;font-size:11px!important;margin:0!important}
.g2-models-help-open .grade2-model-touch h1{font-size:12px!important;line-height:1.15!important}.g2-models-help-open .grade2-model-touch p{font-size:10px!important}
.g2-models-help-open .grade2-design-v2{grid-template-columns:44% minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 44px!important}
.g2-models-help-open .grade2-design-live{grid-area:1/1!important;min-height:0!important;height:100%!important}
.g2-models-help-open .g2ma-model-tools{grid-area:2/1!important;font-size:9px!important;gap:2px!important}
.g2-models-help-open .grade2-design-v2>div:last-child{grid-area:1/2/3/3!important}
.g2-models-help-open .grade2-design-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px!important}
.g2-models-help-open .grade2-design-options button{min-height:44px!important;grid-template-columns:22px 1fr!important;padding:2px!important}
.g2-models-help-open .grade2-design-options button b{font-size:9px!important}
.g2-models-help-open .grade2-design-v2 h1{font-size:12px!important}.g2-models-help-open .grade2-design-v2 p{font-size:10px!important}
}
@media(max-width:1000px){.lesson-shell .teaching-board.g2-models-help-open{height:380px!important;min-height:380px!important;max-height:380px!important}.g2-models-help-open .grade2-assembly-tray{align-content:start!important}.g2-models-help-open .g2-models-support header{justify-content:space-between!important}.g2-models-help-open .g2-models-support header b{flex:1!important}}
@media(max-width:1000px){
.g2-models-help-open>.grade2-model-touch,.g2-models-help-open .grade2-design-v2{display:grid!important}
.g2-models-help-open>.g2-models-support{grid-template-columns:100px minmax(0,1fr)!important}
.g2-models-help-open .g2-help-plan{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:75px 20px!important;align-self:center!important;gap:2px!important}
.g2-models-help-open .g2-help-count-model{height:75px!important;grid-template-rows:35px 40px!important}
.g2-models-help-open .g2-help-count-model button[data-help-type="cylinder"]{height:44px!important;min-height:44px!important;margin-bottom:-7px!important}
.g2-models-help-open .g2-help-count-model button[data-help-type="rectangular"]{height:44px!important;min-height:44px!important}
.g2-models-help-open .g2-help-spare{display:flex!important;grid-area:2/1!important;font-size:9px!important;line-height:14px!important;padding:0!important;height:20px!important}
.g2-models-help-open .g2-help-spare span{font-size:15px!important;line-height:16px!important}
.g2-models-help-open>.grade2-solid-question{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;gap:4px!important;align-content:stretch!important}
.g2-models-help-open .grade2-solid-question-visual{min-height:0!important;max-height:none!important;height:100%!important;grid-area:1/1!important}
.g2-models-help-open .grade2-solid-question h1{font-size:12px!important;margin:0!important;line-height:1.2!important;grid-area:2/1!important}
.g2-models-help-open .grade2-solid-question p{font-size:10px!important;line-height:1.1!important;margin:0!important}
.g2-models-help-open .grade2-built-vs-spare{min-height:0!important;height:100%!important}
.g2-models-help-open .grade2-built-vs-spare .g2ma-mini{max-height:100px!important}
.g2-models-help-open[data-g2ma-phase="7"]{height:292px!important;min-height:292px!important;max-height:292px!important}
.g2-models-help-open[data-g2ma-phase="7"] .grade2-model-plan{display:flex!important;flex-wrap:nowrap!important;height:44px!important;gap:5px!important}
.g2-models-help-open[data-g2ma-phase="7"] .grade2-model-plan>span{flex:1!important;min-width:0!important;height:44px!important}
.g2-models-help-open[data-g2ma-phase="7"] .grade2-solid-question-visual{padding:2px!important;border:0!important}
.g2-models-help-open[data-g2ma-phase="7"] .grade2-solid-question p{display:none!important}
}
@media(max-width:1000px){
.g2-models-help-open>.grade2-solid-question>*{grid-column:1!important}
.g2-models-help-open>.grade2-solid-question{grid-template-rows:minmax(0,1fr) auto auto!important}
.g2-models-help-open>.grade2-solid-question>p{grid-area:3/1!important}
.g2-models-help-open .grade2-solid-question-visual>.g2ma-mini{height:100%!important;max-height:120px!important}
.g2-models-help-open .g2ma-count-example>div,.g2-models-help-open .g2ma-plan-example{height:120px!important;max-height:120px!important}
.g2-models-help-open[data-g2ma-phase="7"] .grade2-solid-question{grid-template-rows:minmax(0,1fr) auto!important}
}
@media(max-width:1000px){.lesson-shell .teaching-board.g2-models-help-open[data-g2ma-phase="7"]{height:292px!important;min-height:292px!important;max-height:292px!important}}
@media(max-width:1000px){
.lesson-shell .teaching-board.g2-models-help-open:has(.g2-help-plan){grid-template-rows:minmax(0,1fr) 176px!important}
.teaching-board.g2-models-help-open>.g2-models-support:has(.g2-help-plan){grid-template-rows:44px 38px 62px!important}
.g2-models-help-open .g2-help-plan{grid-template-rows:88px 20px!important}
.g2-models-help-open .g2-help-count-model{height:88px!important;grid-template-rows:44px 44px!important}
.g2-models-help-open .g2-help-count-model button[data-help-type="cylinder"]{margin-bottom:0!important}
.lesson-shell .teaching-board.g2-models-help-open[data-g2ma-phase="7"]{height:308px!important;min-height:308px!important;max-height:308px!important}
.g2-models-help-open .g2ma-model-tools button{height:44px!important;min-height:44px!important;padding:2px!important;font-size:10px!important;line-height:1.1!important}
}

@media(max-width:1000px){
.teaching-board.g2-models-help-open .grade2-model-touch{column-gap:16px!important}
.teaching-board.g2-models-help-open .grade2-design-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
.teaching-board.g2-models-help-open .grade2-design-options .grade2-solid-sprite{width:22px!important;height:26px!important}
.teaching-board.g2-models-help-open .grade2-design-options button{min-width:0!important}
.teaching-board.g2-models-help-open .grade2-solid-question h1{padding-top:5px!important}
}
@media(max-width:1000px){
.teaching-board.g2-models-help-open .grade2-model-touch>div:last-child{align-self:center!important}
.teaching-board.g2-models-help-open .grade2-model-touch>div:last-child>p{display:none!important}
}

/* Preserve the model choices when a side practice example shares the board. */
.teaching-board.g2-models-help-open .grade2-design-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
.teaching-board.g2-models-help-open .grade2-design-options .grade2-solid-sprite{width:26px!important;height:30px!important}
.teaching-board.g2-models-help-open .grade2-design-v2 .grade2-design-options button{min-width:0!important;min-height:52px;grid-template-columns:26px minmax(0,1fr);padding:4px}
.teaching-board.g2-models-help-open .grade2-design-options button b{font-size:11px}
@media(max-width:1000px){.teaching-board.g2-models-help-open .grade2-assembly-tray .grade2-solid-sprite{width:22px!important;height:28px!important}}

/* grade2-models-shell-astra.css */
/* Keep the six teaching buildings visible; the shared heading introduces the scene. */
.grade2-models-board[data-g2ma-phase="0"] .grade2-park-title { display: none; }

/* Long teacher explanations keep the hand-raise control in the first viewport. */
@media (min-width: 1001px) and (max-height: 800px) {
  .lesson-shell:has(.grade2-models-board:is([data-g2ma-phase="0"], [data-g2ma-phase="2"], [data-g2ma-phase="5"])) .teacher-classroom {
    padding-bottom: 16px;
  }
  .lesson-shell:has(.grade2-models-board:is([data-g2ma-phase="0"], [data-g2ma-phase="2"], [data-g2ma-phase="5"])) .lesson-avatar {
    height: 210px;
    min-height: 0;
  }
}
/* Between the compact phone and side-by-side tablet layouts, keep the lesson title
   in its explicit header cell and leave room for the design instruction below. */
@media(min-width:701px) and (max-width:767px){
 .lesson-shell:has(.grade2-models-board) .lesson-header{grid-template-columns:42px minmax(0,1fr) 44px 100px 32px;grid-template-rows:auto 18px;padding:8px 12px;gap:8px;min-height:0}
 .lesson-shell:has(.grade2-models-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-models-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-models-board) .restart-lesson{grid-column:3;grid-row:1;min-width:44px}
 .lesson-shell:has(.grade2-models-board) .skip-section{grid-column:4;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-models-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-models-board) .section-track{grid-column:1/-1;grid-row:2;min-width:0;min-height:0;height:18px;width:100%}
 .lesson-shell:has(.grade2-models-board) .teacher-classroom{gap:12px;padding-top:10px;padding-bottom:12px}
 .lesson-shell .teaching-board.grade2-models-board[data-g2ma-phase="8"]{height:380px!important;max-height:380px!important;min-height:0!important}
}
@media(min-width:701px) and (max-width:767px){
 .lesson-shell:has(.grade2-models-board) .section-track{grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:18px;gap:6px}
 .lesson-shell:has(.grade2-models-board) .section-track .section-segment{min-height:18px;height:18px}
}
@media(min-width:701px) and (max-width:767px){
 .lesson-shell:has(.grade2-models-board) .lesson-header{grid-template-rows:auto 44px}
 .lesson-shell:has(.grade2-models-board) .section-track{height:44px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-models-board) .section-track .section-segment{min-width:44px;min-height:44px;height:44px}
}

/* grade2-shape-models-astra.css */
/* This lesson keeps all mathematical geometry in its own SVG/Three scenes. */
.grade2-shape-models-board[data-g2sh-phase] {--g2sh-ink:#185b64; background:#eaf7f4;}
.grade2-shape-models-board[data-g2sh-phase] > .board-square {min-width:0;min-height:0;}
.grade2-shape-models-board[data-g2sh-phase] .g2sh-model {filter:drop-shadow(0 5px 3px #174b5714);}
.grade2-shape-models-board[data-g2sh-phase] .shape-model-part {transition:none;}
.grade2-shape-models-board[data-g2sh-phase] .shape-model-part > * {stroke-linejoin:round;}
.grade2-shape-models-board[data-g2sh-phase] .shape-model-part.is-missing > * {fill:none!important;stroke:#ef9e29;stroke-width:3;stroke-dasharray:6 5;}
.grade2-shape-models-board[data-g2sh-phase] .shape-model-part.g2sh-placed > * {animation:none;}
.g2sh-flying-piece {position:fixed;z-index:10000;overflow:visible;pointer-events:none;filter:drop-shadow(0 8px 5px #174b5726);}
.g2sh-flying-piece g,.g2sh-flying-piece * {animation:none!important;transition:none!important;}
.g2sh-stamp {position:relative;width:100%;height:100%;min-height:190px;border:0;border-radius:18px;overflow:hidden;background:#eaf7f4;}
.g2sh-stamp .grade2-stamp-three {position:absolute;inset:0 0 30px;height:auto;width:auto;min-height:0;}
.g2sh-stamp .grade2-stamp-three canvas {display:block;width:100%;height:100%;}
.g2sh-stamp .grade2-stamp-status {bottom:3px;left:10%;right:10%;width:auto;min-height:26px;padding:4px 8px;box-shadow:none;font-size:12px;}
.g2sh-stamp .grade2-stamp-label {top:7px;font-size:10px;box-shadow:none;padding:4px 7px;}
.g2sh-stamp .grade2-stamp-label.ink {left:9%;}
.g2sh-stamp .grade2-stamp-label.paper {right:9%;left:auto;}
.g2sh-stamp-fallback {width:100%;height:100%;display:block;}
.grade2-shape-models-board[data-g2sh-phase="1"] > .grade2-print-teach {display:grid!important;grid-template-rows:auto auto minmax(190px,1fr) auto;align-content:stretch;gap:8px;height:100%;padding:12px;}
.grade2-shape-models-board[data-g2sh-phase="1"] .grade2-print-teach > h1 {font-size:clamp(14px,1.4vw,20px);margin:0;}
.grade2-shape-models-board[data-g2sh-phase="1"] .grade2-print-teach > p {margin:0;font-size:13px;padding:7px;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-practice {display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(120px,1fr) auto auto;gap:8px;padding:12px;align-content:stretch;height:100%;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-album {min-height:45px;height:auto;padding:4px;gap:8px;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-album .grade2-flat-shape svg {width:34px;height:30px;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-album b {font-size:10px;}
.g2sh-practice-lab {min-height:130px;position:relative;width:100%;}
.g2sh-practice-wait {display:grid;place-items:center;height:100%;color:#185b64;font-size:12px;font-weight:800;}
.g2sh-practice-wait svg {width:85%;height:110px;}
.g2sh-student-stamp {height:100%;min-height:140px;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options button {min-width:0;min-height:70px;padding:5px;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options b {font-size:12px;white-space:normal;word-break:normal;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options .grade2-solid-sprite {width:44px;height:44px;}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-practice > h1 {margin:0;font-size:clamp(14px,1.5vw,20px);}
.grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-practice:not(:has(.g2sh-practice-lab)) {display:flex!important;justify-content:center;}
.grade2-shape-models-board[data-g2sh-phase="4"] .grade2-shape-properties {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(125px,.65fr);grid-template-rows:auto minmax(160px,1fr);align-items:center;align-content:center;gap:12px;padding:18px;height:100%;}
.grade2-shape-models-board[data-g2sh-phase="4"] .board-kicker {grid-column:1/-1;}
.grade2-shape-models-board[data-g2sh-phase="4"] .grade2-flat-shape {display:block;min-width:0;width:100%;}
.grade2-shape-models-board[data-g2sh-phase="4"] .grade2-flat-shape svg {width:100%;height:auto;max-height:300px;overflow:visible;transform-origin:center;}
.grade2-shape-models-board[data-g2sh-phase="4"] .grade2-shape-properties > div {min-width:0;gap:9px;}
.grade2-shape-models-board[data-g2sh-phase="4"] .grade2-shape-properties h1 {font-size:clamp(16px,2vw,28px);}
.grade2-shape-models-board[data-g2sh-phase="4"] .grade2-shape-properties div > span {font-size:14px;padding:8px;}
.grade2-shape-models-board[data-g2sh-phase="5"] .grade2-circle-disk {display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(160px,1fr) auto;height:100%;gap:10px;}
.grade2-shape-models-board[data-g2sh-phase="5"] .g2sh-circle-teach {display:flex;flex-direction:column;justify-content:center;gap:0;min-height:0;}
.g2sh-circle-teach svg {width:100%;height:100%;max-height:280px;}
.g2sh-circle-name {font-size:22px;color:#185b64;}
.grade2-shape-models-board[data-g2sh-phase="5"] .grade2-circle-disk section span {padding:9px;font-size:13px;}
.grade2-shape-models-board[data-g2sh-phase="5"] .grade2-circle-paint {height:100%;justify-content:center;}
.grade2-shape-models-board[data-g2sh-phase="5"] .grade2-circle-paint > button {min-height:180px;min-width:180px;width:230px;height:230px;}
.grade2-shape-models-board[data-g2sh-phase="5"] [data-paint-circle]:disabled {opacity:1;cursor:default;}
.grade2-shape-models-board[data-g2sh-phase="6"] .grade2-compose-teach {display:grid!important;grid-template-rows:auto minmax(160px,1fr) auto auto;gap:8px;height:100%;padding:14px;}
.grade2-shape-models-board[data-g2sh-phase="6"] .grade2-compose-teach > svg {width:100%;height:100%;max-height:350px;overflow:hidden;}
.grade2-shape-models-board[data-g2sh-phase="6"] .grade2-compose-teach > div span {font-size:11px;padding:5px;}
.grade2-shape-models-board[data-g2sh-phase="6"] .grade2-compose-teach > h1 {font-size:18px;margin:0;}
.grade2-shape-models-board[data-g2sh-phase="7"] .grade2-missing-model svg {width:90%;height:94%;}
.grade2-shape-models-board[data-g2sh-phase="7"] .grade2-shape-result > div {display:flex;justify-content:center;gap:14px;width:100%;}
.grade2-shape-models-board[data-g2sh-phase="7"] .grade2-shape-result .g2sh-model {width:45%;max-height:240px;}
.grade2-shape-models-board[data-g2sh-phase="10"] .grade2-shape-result > div {display:flex;justify-content:center;gap:14px;width:100%;}
.grade2-shape-models-board[data-g2sh-phase="10"] .grade2-shape-result .g2sh-model {width:45%;max-height:240px;}
.grade2-shape-models-board[data-g2sh-phase="9"] .grade2-rover-count {height:100%;display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(170px,1fr) auto;align-content:stretch;gap:8px;padding:12px;text-align:center;}
.grade2-shape-models-board[data-g2sh-phase="9"] .g2sh-rover {width:100%;height:100%;max-height:335px;min-height:0;overflow:visible;}
.grade2-shape-models-board[data-g2sh-phase="9"] .grade2-rover-count > div {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;}
.grade2-shape-models-board[data-g2sh-phase="9"] .grade2-rover-count h1 {font-size:17px;max-width:65%;}
.grade2-shape-models-board[data-g2sh-phase="9"] .grade2-rover-count > div > b {font-size:24px;}
.grade2-shape-models-board[data-g2sh-phase="9"] .grade2-rover-count p {width:100%;margin:0;font-size:12px;}
.grade2-shape-models-board[data-g2sh-phase="9"] .rover-count-part.is-target {fill:#f4cb66;filter:none;}
.grade2-shape-models-board[data-g2sh-phase="9"] .rover-count-part.is-counted {fill:#76c3b5;opacity:1;pointer-events:none;}
.grade2-shape-models-board[data-g2sh-phase="9"] .rover-count-part {stroke-width:3;}
.grade2-shape-models-board[data-g2sh-phase="9"] .g2sh-count-badge {filter:none;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer {display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(145px,1fr) auto;height:100%;gap:8px;padding:12px;align-content:stretch;text-align:center;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-canvas {width:100%;height:100%;min-width:0;min-height:145px;position:relative;display:grid;place-items:center;border:1px solid #bad8d0;border-radius:18px;background:linear-gradient(135deg,#fffdf4,#f4faf5);}
.grade2-shape-models-board[data-g2sh-phase="11"] .g2sh-design-svg {width:100%;height:100%;max-height:330px;overflow:hidden;filter:drop-shadow(0 3px 2px #174b571b);}
.g2sh-canvas-hint {position:absolute;color:#487c76;font-size:14px;font-weight:700;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer > div:last-child {display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer > div:last-child > * {grid-column:1;min-width:0;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer h1 {font-size:18px;margin:0;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer p {font-size:13px;margin:0;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options button {min-width:0;min-height:65px;width:100%;padding:5px;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options .grade2-flat-shape {display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;width:100%;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options svg {width:48px!important;height:44px!important;}
.grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options b {font-size:13px;white-space:normal;word-break:normal;}
.grade2-shape-models-board[data-g2sh-phase="10"] ~ .lesson-footer [data-grade2-shape-answer] {display:flex!important;flex-direction:column;gap:5px;min-width:0;padding:5px;}
.grade2-shape-models-board[data-g2sh-phase="10"] ~ .lesson-footer [data-grade2-shape-answer] .g2sh-model {width:100%;height:90px;}
.g2sh-picture-focus {position:absolute;pointer-events:none;}
.grade2-shape-models-board[data-g2sh-phase="3"] .grade2-shape-plaza {overflow:hidden;}
.grade2-shape-models-board[data-g2sh-phase="3"] .grade2-shape-plaza > img {object-fit:contain;}
.grade2-shape-models-board[data-g2sh-phase="3"] .g2sh-picture-focus {background:none;border:0;padding:0;transform:none;bottom:auto;right:auto;max-width:none;max-height:none;box-sizing:border-box;}
@media(max-width:700px){
 .grade2-shape-models-board[data-g2sh-phase="1"] > .grade2-print-teach {min-height:310px;grid-template-rows:auto auto minmax(190px,1fr) auto;padding:10px;}
 .grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-practice {gap:5px;padding:9px;}
 .grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options b {font-size:11px;}
 .grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options .grade2-solid-sprite {width:36px;height:36px;}
 .grade2-shape-models-board[data-g2sh-phase="2"] .grade2-print-solid-options button {min-height:65px;}
 .grade2-shape-models-board[data-g2sh-phase="4"] .grade2-shape-properties {grid-template-columns:minmax(0,1fr) minmax(120px,.8fr);grid-template-rows:auto 160px;padding:15px;gap:12px;}
 .grade2-shape-models-board[data-g2sh-phase="5"] .grade2-circle-disk {grid-template-rows:auto 155px auto;}
 .grade2-shape-models-board[data-g2sh-phase="5"] .grade2-circle-paint > button {height:210px;width:210px;}
 .grade2-shape-models-board[data-g2sh-phase="6"] .grade2-compose-teach {grid-template-rows:auto minmax(160px,195px) auto auto;}
 .grade2-shape-models-board[data-g2sh-phase="9"] .grade2-rover-count {grid-template-rows:auto 195px auto;}
 .grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer {grid-template-rows:auto 185px auto;padding:10px;}
 .grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options button {min-height:54px;}
 .grade2-shape-models-board[data-g2sh-phase="11"] .grade2-design-options svg {width:36px!important;height:34px!important;}
 .grade2-shape-models-board[data-g2sh-phase="11"] .grade2-shape-designer > div:last-child p {font-size:12px;}
}
@media(prefers-reduced-motion:reduce){.g2sh-flying-piece {filter:none;}}

.g2sh-stamp .grade2-stamp-status {transform:none;}
.grade2-shape-models-board[data-g2sh-phase="7"] .grade2-missing-model .g2sh-model {width:100%!important;height:100%!important;max-height:100%;object-fit:contain;}

/* grade2-shape-models-support.css */
.g2-shapes-help-dock button{width:100%;min-height:64px;display:grid;grid-template-columns:40px 1fr;align-items:center;text-align:left;gap:2px 8px;background:#fff8e8;border:2px solid #ebbf70;border-radius:16px;padding:10px;font:inherit;color:#294d55}.g2-shapes-help-dock button>span{grid-row:1/3;font-size:26px;font-weight:800;text-align:center}.g2-shapes-help-dock button b{font-size:18px}.g2-shapes-help-dock button small{font-size:14px}
.grade2-shape-models-board.g2-shapes-help-open{display:grid!important;grid-template-rows:minmax(0,1fr) 180px!important;gap:8px!important;padding:8px!important;overflow:hidden!important}.grade2-shape-models-board.g2-shapes-help-open>.board-square{min-height:0!important;height:100%!important;overflow:hidden!important}.g2-shapes-support{min-height:0;max-height:100%;border:2px solid #83b4a5;border-radius:14px;background:#f7fcf5;color:#244b51;display:grid;grid-template-rows:44px 1fr;padding:6px;gap:4px;overflow:hidden}.g2-shapes-support header{display:flex;align-items:center;justify-content:space-between;gap:6px}.g2-shapes-support header b{font-size:14px}.g2-shapes-support button{min-height:44px;min-width:44px;font-size:14px;font-weight:700;color:#294d55;border:1px solid #80a99e;border-radius:10px;background:white;padding:4px 8px;cursor:pointer}.g2-shapes-support button:hover,.g2-shapes-support button:focus-visible{outline:3px solid #eda646;outline-offset:0}.g2-shapes-support button:disabled{opacity:.65;cursor:default}.g2-shapes-help-content{min-height:0;display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,1fr);gap:6px;align-items:center}.g2-shapes-help-svg{width:100%;height:100%;min-height:0;max-height:116px}.g2-shapes-help-controls{display:grid;grid-template-columns:1fr 1fr;gap:4px;min-height:0}.g2-shapes-help-controls p{grid-column:1/-1;margin:0;font-size:14px;line-height:1.2}.g2-shapes-help-controls>button{padding:3px;line-height:1.1}.g2-shapes-help-svg [data-shapes-help-edge]{opacity:0}.g2-shapes-help-svg .is-traced{opacity:1}.g2-shapes-help-svg [data-shapes-help-interior]{opacity:0}.g2-shapes-help-svg [data-shapes-help-fit]{transform:translateX(-160px)}
.g2-shapes-help-parts{display:grid;grid-template-columns:170px 1fr;align-items:center;height:118px;gap:6px}.g2-shapes-help-house{width:164px;height:116px;position:relative}.g2-shapes-help-house button{position:absolute;padding:0;border:0;background:transparent;border-radius:2px}.g2-shapes-help-house button svg{width:100%;height:100%;overflow:visible}.g2-shapes-help-house button[data-type="rectangle"]{left:0;top:44px;width:164px;height:70px;color:#78b5a7}.g2-shapes-help-house button[data-type="triangle"]{left:0;top:0;width:164px;height:44px;color:#e4b559}.g2-shapes-help-house button[data-type="square"]{left:60px;top:56px;width:44px;height:44px;color:#8f9dcd}.g2-shapes-help-house button[data-type="disk"]{left:112px;top:56px;width:44px;height:44px;color:#e18c76}.g2-shapes-help-house button.is-counted svg{filter:drop-shadow(0 0 3px #e4a434);stroke:#e4a434;stroke-width:3}.g2-shapes-tallies{font-size:14px;display:grid;gap:2px;line-height:1.15}.g2-shapes-tallies span{display:flex;justify-content:space-between;gap:3px}.g2-shapes-tallies b{color:#a06b20}
.g2-shapes-help-open:has(.g2-shapes-help-parts) .g2-shapes-help-content{grid-template-columns:minmax(265px,1fr) 145px}.g2-shapes-help-open .grade2-print-practice{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:center!important;gap:5px!important;padding:6px!important}.g2-shapes-help-open .grade2-print-practice .grade2-print-album{min-height:0;max-height:110px}.g2-shapes-help-open .grade2-print-practice .grade2-print-solid-options{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;gap:4px}.g2-shapes-help-open .grade2-print-solid-options button{min-height:44px;padding:4px}.g2-shapes-help-open .grade2-print-solid-options .grade2-solid-sprite{max-height:50px}.g2-shapes-help-open .grade2-print-practice h1{font-size:16px!important}.g2-shapes-help-open .grade2-shape-question{gap:4px!important;padding:6px!important}.g2-shapes-help-open .grade2-shape-question h1{font-size:17px!important}.g2-shapes-help-open .grade2-shape-question-visual{min-height:0!important;flex:1!important;max-height:100%!important}.g2-shapes-help-open .grade2-rover-count{padding:4px!important;gap:4px!important}.g2-shapes-help-open .grade2-rover-count>svg{min-height:0!important;max-height:70%!important}.g2-shapes-help-open .grade2-rover-count h1{font-size:17px!important}.g2-shapes-help-open .grade2-rover-count>div>b{font-size:22px!important}
@media(max-width:1000px){.grade2-shape-models-board.g2-shapes-help-open{grid-template-rows:minmax(0,1fr) 180px!important;gap:5px!important;padding:5px!important}.g2-shapes-help-content{grid-template-columns:minmax(150px,1fr) minmax(165px,1fr)}.g2-shapes-help-open:has(.g2-shapes-help-parts) .g2-shapes-help-content{grid-template-columns:minmax(265px,1fr) 68px}.g2-shapes-help-open:has(.g2-shapes-help-parts) .g2-shapes-help-controls p{display:none}.g2-shapes-help-open:has(.g2-shapes-help-parts) .g2-shapes-help-controls{display:block}.g2-shapes-support header button{max-width:130px}.g2-shapes-support header b{max-width:160px}.g2-shapes-help-open .grade2-shape-designer h1{font-size:16px!important}.g2-shapes-help-open .grade2-design-options{gap:3px!important}.g2-shapes-help-open .grade2-design-options button{min-height:44px!important;min-width:44px!important;padding:2px!important}.g2-shapes-help-open .grade2-shape-designer{gap:4px!important;padding:6px!important}.g2-shapes-help-open .grade2-circle-paint [data-paint-circle]{width:130px!important;height:130px!important;min-height:130px!important}.g2-shapes-help-open .grade2-circle-paint{padding:4px!important;gap:2px!important}.g2-shapes-help-open .grade2-circle-paint h1{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.g2-shapes-support *{animation:none!important;transition:none!important}}
/* Help stays inside the teaching stage and leaves the current task visible. */
.grade2-shape-models-board.g2-shapes-help-open{grid-template-rows:minmax(0,1fr) 168px!important}
.g2-shapes-support{padding:4px;gap:4px;grid-template-rows:44px minmax(0,1fr)}
.g2-shapes-help-parts{height:102px}
.g2-shapes-help-house{height:100px}
.g2-shapes-help-house button[data-type="rectangle"]{height:56px}
.g2-shapes-help-house button[data-type="square"],.g2-shapes-help-house button[data-type="disk"]{top:50px}
.g2-shapes-help-svg{max-height:102px}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-practice{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-practice>.board-kicker{display:none}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-practice>.grade2-print-album{grid-column:1;grid-row:1;min-height:0;max-height:42px}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-practice>.g2sh-practice-lab{grid-column:1;grid-row:2;min-height:0;height:100%;max-height:100%}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-practice>h1{grid-column:1;grid-row:3;font-size:16px!important}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-practice>.grade2-print-solid-options{grid-column:2;grid-row:1/4;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px;min-width:0}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-solid-options button{min-height:70px;padding:3px;min-width:44px}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-solid-options .grade2-solid-sprite{height:38px;width:38px}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .grade2-print-solid-options b{font-size:13px;line-height:1.1;overflow-wrap:normal}
.grade2-shape-models-board[data-g2sh-phase="9"].g2-shapes-help-open .grade2-rover-count{grid-template-rows:auto minmax(0,1fr) auto!important}
.grade2-shape-models-board[data-g2sh-phase="9"].g2-shapes-help-open .grade2-rover-count>svg{height:100%!important;max-height:100%!important}
.grade2-shape-models-board[data-g2sh-phase="11"].g2-shapes-help-open .grade2-shape-designer{grid-template-rows:minmax(0,1fr) auto!important}
.grade2-shape-models-board[data-g2sh-phase="11"].g2-shapes-help-open .grade2-design-canvas{min-height:0!important;height:100%!important}
.grade2-shape-models-board[data-g2sh-phase="11"].g2-shapes-help-open .grade2-shape-designer>.board-kicker{display:none}
.grade2-shape-models-board.g2-shapes-help-open .grade2-missing-model{height:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr)!important}
.grade2-shape-models-board.g2-shapes-help-open .grade2-missing-model>svg{height:100%!important;max-height:100%!important;min-height:0!important}
.grade2-shape-models-board[data-g2sh-phase="10"].g2-shapes-help-open .board-kicker{display:none}
.grade2-shape-models-board[data-g2sh-phase="10"].g2-shapes-help-open .grade2-shape-plan{height:100%;min-height:0;align-items:center}
.grade2-shape-models-board[data-g2sh-phase="10"].g2-shapes-help-open .grade2-shape-plan>span{height:100%;min-height:0;display:flex;align-items:center;gap:4px}
.grade2-shape-models-board[data-g2sh-phase="10"].g2-shapes-help-open .grade2-shape-plan .grade2-flat-shape{width:42px;height:42px;min-width:0;min-height:0}
.grade2-shape-models-board[data-g2sh-phase="10"].g2-shapes-help-open .grade2-shape-plan{padding:14px 6px 6px;box-sizing:border-box}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .g2sh-practice-lab{overflow:hidden}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .g2sh-practice-wait{grid-template-rows:18px minmax(0,1fr);min-height:0}
.grade2-shape-models-board[data-g2sh-phase="2"].g2-shapes-help-open .g2sh-practice-wait svg{height:100%;min-height:0;max-height:70px}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open .grade2-circle-paint{display:flex!important;flex-direction:column;justify-content:center;gap:6px!important}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open .grade2-circle-paint [data-paint-circle]{width:130px!important;min-width:130px!important;height:130px!important;min-height:130px!important;grid-template-columns:1fr;grid-template-rows:78px 18px 16px;gap:2px;padding:4px}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open [data-paint-circle]>.grade2-flat-shape{width:80px;height:78px}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open [data-paint-circle] .grade2-flat-shape svg{width:80px;height:76px}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open [data-paint-circle]>b{font-size:16px;line-height:18px}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open [data-paint-circle]>small{font-size:11px;line-height:16px}
.grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open .grade2-circle-paint>h1{font-size:16px!important;line-height:1.2;margin:0}
.grade2-shape-models-board.g2-shapes-help-open .grade2-shape-question-visual>.grade2-shape-flower{height:80px;width:80px;transform:scale(.6);transform-origin:center;align-self:center;justify-self:center}
@media(max-width:700px){
 .grade2-shape-models-board.g2-shapes-help-open .grade2-shape-question-visual>.grade2-shape-flower{transform:scale(.36)}
 .grade2-shape-models-board.g2-shapes-help-open{grid-template-rows:minmax(0,1fr) 168px!important}
 .g2-shapes-help-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px}
 .g2-shapes-help-controls p{font-size:13px}
 .g2-shapes-help-open:has(.g2-shapes-help-parts) .g2-shapes-help-content{grid-template-columns:minmax(0,1fr) 64px}
 .g2-shapes-help-parts{grid-template-columns:164px minmax(0,1fr);gap:2px}
 .g2-shapes-tallies{font-size:12px}
 .g2-shapes-support header b{font-size:13px}
 .grade2-shape-models-board[data-g2sh-phase="5"].g2-shapes-help-open .grade2-circle-paint{grid-template-rows:auto minmax(0,1fr) auto!important}
}

/* grade2-shape-models-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-shape-models-board) .section-track{grid-template-columns:repeat(9,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-shape-models-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-shape-models-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-shape-models-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-shape-models-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-shape-models-board) .grade2-shape-models-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-shape-models-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-shape-models-board) .lesson-footer button{min-height:44px}
.grade2-shape-models-board[data-g2sh-phase="0"] .grade2-shape-hero>div{display:none}
.grade2-shape-models-board[data-g2sh-phase="0"] .grade2-shape-hero>img{object-fit:contain!important}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="10"]~.lesson-footer [data-grade2-shape-answer]{height:120px!important;min-height:120px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:80px auto;justify-items:center;align-items:center;padding:6px!important;gap:3px!important}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="10"]~.lesson-footer [data-grade2-shape-answer]>b{grid-column:1;grid-row:2}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="10"]~.lesson-footer [data-grade2-shape-answer]>:first-child{grid-column:1;grid-row:1}
.grade2-shape-models-board .grade2-missing-model{height:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr)!important}
.grade2-shape-models-board .grade2-missing-model>svg{height:100%!important;max-height:100%!important;min-height:0!important}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-shape-question-visual{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:8px;box-sizing:border-box;min-height:0}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-shape-question-visual .grade2-flat-shape{width:160px;height:140px;max-width:100%;max-height:100%;min-height:0;display:grid;place-items:center}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-shape-question-visual .grade2-flat-shape>svg{width:100%!important;height:100%!important;max-height:100%;min-height:0}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-circle-compare{height:100%;max-height:100%;min-height:0;display:grid;place-items:center}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-shape-question-visual>.g2sh-model{height:100%!important;width:100%!important;min-height:0;max-height:100%}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-stamp-lab,.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-stamp-three,.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-stamp-fallback{height:100%!important;min-height:0!important;width:100%;max-height:100%;padding:0}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-stamp-fallback .grade2-solid-sprite{width:140px!important;height:100%!important;min-height:0!important;min-width:0!important;max-height:100%;max-width:100%}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"] .grade2-stamp-fallback .grade2-solid-sprite img{width:100%;height:100%;object-fit:contain}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="12"].g2-shapes-help-open .grade2-shape-question-visual .grade2-flat-shape{width:120px;height:105px}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="10"]~.lesson-footer [data-grade2-shape-answer]>.g2sh-model{height:80px!important;width:100%!important;max-height:80px!important;min-height:0!important}
.lesson-shell .grade2-shape-models-board[data-g2sh-phase="10"]~.lesson-footer .grade2-shape-flower.mini{transform:scale(.32);margin:0}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-shape-models-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-shape-models-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-shape-models-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-shape-models-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 54px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-shape-models-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-shape-models-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-shape-models-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-shape-models-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-shape-models-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-shape-models-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board{height:590px!important}
}
@media(max-width:700px){
 .grade2-shape-models-board[data-g2sh-phase="7"]~.lesson-footer [data-grade2-shape-answer]{display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:32px auto;justify-items:center;height:66px;min-height:66px;padding:4px;gap:2px}
 .grade2-shape-models-board[data-g2sh-phase="7"]~.lesson-footer [data-grade2-shape-answer]>.grade2-flat-shape{grid-column:1;grid-row:1;width:38px;height:32px}
 .grade2-shape-models-board[data-g2sh-phase="7"]~.lesson-footer [data-grade2-shape-answer]>b{grid-column:1;grid-row:2;font-size:13px;white-space:nowrap}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-shape-models-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(9,44px)}
 .lesson-shell:has(.grade2-shape-models-board) .back-button,.lesson-shell:has(.grade2-shape-models-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-shape-models-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-shape-models-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-shape-models-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-shape-models-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-shape-models-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-shape-models-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-shape-models-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board{height:380px!important}
 .lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board[data-g2sh-phase="0"]{height:260px!important}
 .lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board[data-g2sh-phase="10"]{height:330px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-shape-models-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-shape-models-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-shape-models-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-shape-models-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board{height:440px!important}
 .lesson-shell:has(.grade2-shape-models-board) .teaching-board.grade2-shape-models-board[data-g2sh-phase="10"]{height:400px!important}
}

.lesson-shell:has(.grade2-shape-models-board) .lesson-header button{min-width:44px;min-height:44px}

/* grade2-formal-astra.css */
.grade2-formal-board[data-gf-phase]>.board-square{width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box;overflow:hidden;padding:14px;gap:10px;background:linear-gradient(145deg,#fffdf5,#edf9f4)}
.grade2-formal-board[data-gf-phase] .gf-shape>svg{width:100%;height:100%;overflow:visible}.grade2-formal-board[data-gf-phase] .gf-shape{transition:none}.grade2-formal-board[data-gf-phase] .gf-shape>b{display:none}
.grade2-formal-board[data-gf-phase] .formal-demo-stage,.grade2-formal-board[data-gf-phase] .formal-scene-pair{display:block;padding:0;min-height:0;width:100%;height:100%;border:1px solid #b4d4c9;border-radius:18px;box-shadow:none;background:#fff;overflow:hidden}
.gf-transform-svg{width:100%;height:100%;display:block;min-height:0}.gf-panel-label{fill:#26776d;font-size:16px;text-anchor:middle;font-weight:800;letter-spacing:1px}.gf-original{opacity:.6}
.grade2-formal-board[data-gf-phase="1"] .formal-teacher-demo,.grade2-formal-board[data-gf-phase="2"] .formal-student-lab{grid-template-rows:minmax(130px,1fr) auto auto auto;align-content:stretch}
.grade2-formal-board[data-gf-phase] .formal-identity-card{position:static;min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 12px;width:100%;border-width:1px;border-radius:12px;box-shadow:none;box-sizing:border-box}.grade2-formal-board[data-gf-phase] .formal-identity-card small{display:none}.grade2-formal-board[data-gf-phase] .formal-identity-card b{font-size:20px}.grade2-formal-board[data-gf-phase] .formal-identity-card span{font-size:15px}
.grade2-formal-board[data-gf-phase] .formal-control-row{width:100%;gap:6px;margin:0}.grade2-formal-board[data-gf-phase] .formal-control-row button{min-width:44px;min-height:44px;flex:1;padding:8px 5px;font-size:14px}.grade2-formal-board[data-gf-phase] .formal-demo-timeline{margin:0;gap:6px}.grade2-formal-board[data-gf-phase] .formal-demo-timeline span{font-size:12px;padding:6px}
.grade2-formal-board[data-gf-phase] .gf-before-after{width:100%;height:100%;min-height:130px;max-height:350px}.gf-before-after>svg{width:100%;height:100%;display:block}
.grade2-formal-board[data-gf-phase="6"] .formal-change-story{grid-template-rows:minmax(150px,1fr) auto;align-content:stretch}.grade2-formal-board[data-gf-phase="6"] .formal-change-chips{gap:5px;width:100%;justify-content:center}.grade2-formal-board[data-gf-phase="6"] .formal-change-chips span{font-size:12px;padding:6px}.grade2-formal-board[data-gf-phase="6"] .formal-change-chips b{font-size:14px}
.grade2-formal-board[data-gf-phase] .formal-solid-layout{width:100%;height:100%;min-height:0;grid-template-columns:minmax(0,1fr) 180px;gap:10px}.grade2-formal-board[data-gf-phase] .formal-three-viewer{width:100%;height:100%;min-height:150px;max-height:100%;border-radius:18px;border:1px solid #b7dacf;background:radial-gradient(ellipse at center,#fffdf2,#e8f7f3);overflow:hidden}.gf-cube-viewer>canvas,.gf-cube-viewer>svg{width:100%;height:100%;display:block;touch-action:none}.grade2-formal-board[data-gf-phase] .formal-solid-facts{gap:6px}.grade2-formal-board[data-gf-phase] .formal-solid-facts>span{padding:8px;font-size:14px}.grade2-formal-board[data-gf-phase] .formal-solid-facts>span b{font-size:22px}.grade2-formal-board[data-gf-phase="4"] .formal-solid-teach{grid-template-rows:minmax(150px,1fr) auto;align-content:stretch}.grade2-formal-board[data-gf-phase="5"] .formal-solid-practice{align-content:stretch}
.grade2-formal-board[data-gf-phase="8"] .formal-designer{grid-template-rows:minmax(160px,1fr) auto;align-content:stretch}.grade2-formal-board[data-gf-phase="8"] .formal-design-canvas{width:100%;height:100%;min-height:0;border:1px solid #b5d2c5;background:linear-gradient(#f5fbf7,#fffdf3);border-radius:18px}.gf-house{display:block;width:100%;height:100%;overflow:hidden}.grade2-formal-board[data-gf-phase="8"] .formal-designer>div:last-child{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;width:100%;min-width:0}.grade2-formal-board[data-gf-phase="8"] .formal-designer h1{font-size:18px;margin:0}.grade2-formal-board[data-gf-phase="8"] .formal-designer p{font-size:13px;margin:0}.grade2-formal-board[data-gf-phase="8"] .formal-design-pick{display:flex;flex-direction:row;justify-content:center;gap:12px;margin:0;min-height:60px;padding:5px}.grade2-formal-board[data-gf-phase="8"] .formal-design-pick svg{width:76px;height:48px}.grade2-formal-board[data-gf-phase="8"] .formal-design-pick b{font-size:15px}
.gf-flying-part{position:fixed;z-index:300;pointer-events:none;overflow:visible;filter:drop-shadow(0 5px 4px #174b5726)}
.grade2-formal-board[data-gf-phase="9"] .formal-cube-static{width:100%;height:100%;min-height:130px;display:block}.grade2-formal-board .gf-cube-comparison{display:block;width:100%;height:100%;max-height:350px}
@media(max-width:700px){.grade2-formal-board[data-gf-phase]>.board-square{padding:9px;gap:7px}.grade2-formal-board[data-gf-phase] .formal-solid-layout{grid-template-columns:1fr;grid-template-rows:minmax(120px,1fr) auto}.grade2-formal-board[data-gf-phase] .formal-three-viewer{min-height:120px}.grade2-formal-board[data-gf-phase] .formal-solid-facts{display:flex;flex-wrap:wrap;justify-content:center}.grade2-formal-board[data-gf-phase] .formal-solid-facts>span{flex:1;min-width:50px}.grade2-formal-board[data-gf-phase] .formal-control-row.vertical{flex-direction:row}.grade2-formal-board[data-gf-phase] .formal-identity-card{gap:8px;padding:6px}.grade2-formal-board[data-gf-phase] .formal-identity-card b{font-size:16px}.grade2-formal-board[data-gf-phase] .formal-identity-card span{font-size:13px}}
@media(prefers-reduced-motion:reduce){.grade2-formal-board[data-gf-phase] *{transition:none!important}.gf-flying-part{filter:none}}

/* grade2-formal-support.css */
/* The alternative example has its own bounded area, alongside the unchanged task. */
.lesson-shell .grade2-formal-board.g2-formal-help-open{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 184px;gap:6px;padding:0!important}
.lesson-shell .grade2-formal-board.g2-formal-help-open>.board-square{grid-row:1;height:100%;min-height:0!important}
.lesson-shell .grade2-formal-board .g2-formal-support{position:relative!important;inset:auto!important;grid-row:2;display:grid;grid-template-rows:44px minmax(0,1fr);height:184px!important;min-height:0!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 32px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden}
.g2-formal-support header{display:flex;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.g2-formal-support header>b{display:none}
.lesson-shell .g2-formal-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:12px;font-weight:750;line-height:1.15}
.g2-formal-support button:focus-visible,.g2-formal-support button:hover:not(:disabled){outline:3px solid #f2a93b;outline-offset:1px}
.g2-formal-support button:disabled{opacity:.55}
.g2-formal-help-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
.g2-formal-help-stage{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.g2-formal-help-stage svg,.g2-formal-help-stage [data-formal-help-cube]{width:100%;height:100%;min-height:0;max-height:100%}
.g2-formal-help-stage svg text{font-size:12px}
.g2-formal-help-controls{min-height:0;min-width:0}
.g2-formal-help-controls>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:44px 44px;gap:4px}
.g2-formal-help-controls [data-formal-help-reset]{position:absolute;top:4px;left:8px}
.g2-formal-help-controls [data-formal-help-status]{position:absolute;left:8px;right:8px;bottom:3px;height:26px;margin:0;font-size:12px;line-height:1.1;color:#385a51;text-align:center}
@media(min-width:701px){.g2-formal-help-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
.lesson-shell .grade2-formal-board .g2-formal-support{opacity:1!important;transform:none!important;max-height:none!important;transition:none!important;animation:none!important}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="2"]>.board-square{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 28px 44px!important;padding:5px!important;gap:4px!important}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="2"] .formal-student-lab>p{display:none}
.lesson-shell .grade2-formal-board.g2-formal-help-open .formal-identity-card{height:28px;padding:3px 6px;gap:6px}
.lesson-shell .grade2-formal-board.g2-formal-help-open .formal-identity-card b{font-size:14px}
.lesson-shell .grade2-formal-board.g2-formal-help-open .formal-identity-card span{font-size:13px}
.lesson-shell .grade2-formal-board.g2-formal-help-open .formal-control-row button{min-height:44px;height:44px;padding:4px;font-size:13px}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-solid-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:8px}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-three-viewer{min-height:0!important;height:100%}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-solid-layout>div:last-child{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;align-content:center;min-height:0}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-control-row{flex-direction:column}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-control-row:not(:has(button:not(:disabled))){display:none}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-solid-layout p{display:none}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] h1{font-size:17px;margin:0;line-height:1.2}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-inline-answers{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin:0}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="5"] .formal-inline-answers button{height:44px;min-height:44px;padding:4px;font-size:13px}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="8"] .formal-designer{grid-template-columns:minmax(0,1fr) 140px!important;grid-template-rows:minmax(0,1fr)!important;gap:7px;padding:6px!important}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="8"] .formal-designer>.formal-design-canvas{grid-column:1!important;grid-row:1!important}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="8"] .formal-designer>div:last-child{grid-column:2!important;grid-row:1!important;align-content:center}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="8"] .formal-design-pick{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:3px;height:auto;padding:3px;min-height:80px}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="8"] .formal-design-pick b{font-size:13px}
.lesson-shell .grade2-formal-board.g2-formal-help-open[data-gf-phase="8"] h1{font-size:15px}

/* grade2-formal-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-formal-board) .section-track{grid-template-columns:repeat(11,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-formal-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-formal-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-formal-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-formal-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-formal-board) .teaching-board.grade2-formal-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-formal-board) .grade2-formal-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-formal-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-formal-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-formal-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-formal-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-formal-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-formal-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-formal-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 54px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-formal-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-formal-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-formal-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-formal-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-formal-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-formal-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-formal-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-formal-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-formal-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-formal-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-formal-board) .teaching-board.grade2-formal-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-formal-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-formal-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(11,44px)}
 .lesson-shell:has(.grade2-formal-board) .back-button,.lesson-shell:has(.grade2-formal-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-formal-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-formal-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-formal-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-formal-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-formal-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-formal-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-formal-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-formal-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-formal-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-formal-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-formal-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-formal-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-formal-board) .teaching-board.grade2-formal-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-formal-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-formal-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-formal-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-formal-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-formal-board) .teaching-board.grade2-formal-board{height:440px!important}
}

.lesson-shell:has(.grade2-formal-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-formal-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.grade2-formal-board .formal-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:0!important}
.grade2-formal-board .formal-hero>div{display:none}
.grade2-formal-board .formal-hero>img{height:100%;width:100%;max-width:100%;object-fit:contain!important;border-radius:0}
@media(max-width:700px){.lesson-shell:has(.grade2-formal-board) .teaching-board.grade2-formal-board:has(.formal-hero){height:260px!important}}
@media(min-width:701px) and (max-width:1000px){.lesson-shell:has(.grade2-formal-board) .teaching-board.grade2-formal-board:has(.formal-hero){height:320px!important}}
/* Keep the current question and its controls together at every width. */
.lesson-shell .grade2-formal-board[data-gf-phase] .formal-question{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-content:stretch}
.lesson-shell .grade2-formal-board[data-gf-phase] .formal-question>p{display:none}
.lesson-shell .grade2-formal-board[data-gf-phase] .formal-question>h1{font-size:clamp(18px,2.2vw,27px);line-height:1.2;margin:0;grid-column:1;grid-row:2}
.lesson-shell .grade2-formal-board[data-gf-phase] .gf-before-after,.lesson-shell .grade2-formal-board[data-gf-phase] .formal-cube-static{min-height:0;height:100%;max-height:100%;width:100%;grid-column:1;grid-row:1}
.grade2-formal-board .gf-cube-comparison{display:block;width:100%;height:100%;min-height:0}
.grade2-formal-board .formal-cube-static>.gf-cube-comparison{transform:none!important}
.grade2-formal-board .formal-finish>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;min-width:0;min-height:150px;padding:20px 8px;box-sizing:border-box}
.grade2-formal-board .formal-finish>div>.formal-shape{width:100%;height:auto;aspect-ratio:1;min-width:0;--formal-x:0px;--formal-y:0px}
.grade2-formal-board .formal-finish>div>.formal-shape.is-large{--formal-scale:1}
.lesson-shell .grade2-formal-board~.lesson-footer .formal-answer-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
.lesson-shell .grade2-formal-board~.lesson-footer .formal-answer-row:has(button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.lesson-shell .grade2-formal-board~.lesson-footer .formal-answer-row button{width:100%;min-width:0;min-height:60px;white-space:normal;font-size:14px;line-height:1.2;padding:6px}
.lesson-shell .grade2-formal-board[data-gf-phase="8"] .formal-designer{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important}
.lesson-shell .grade2-formal-board[data-gf-phase="8"] .formal-designer>*{grid-column:1!important;min-width:0;min-height:0}
.lesson-shell .grade2-formal-board[data-gf-phase="8"] .formal-design-canvas{grid-row:1!important}
.lesson-shell .grade2-formal-board[data-gf-phase="8"] .formal-designer>div:last-child{grid-row:2!important}
.lesson-shell .grade2-formal-board[data-gf-phase="8"] .formal-designer>div:last-child>p{display:none}
@media(min-width:701px) and (max-width:1000px){.lesson-shell:has(.grade2-formal-board) .teacher-classroom{padding:8px 0}.lesson-shell:has(.grade2-formal-board) .lesson-avatar{height:200px}}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){.lesson-shell:has(.grade2-formal-board) .lesson-avatar{height:145px}}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){.lesson-shell:has(.grade2-formal-board[data-gf-phase="1"]) .lesson-avatar{height:135px}}

/* grade2-liquid-astra.css */
.grade2-liquid-board[data-gl-phase] .gl-owner{min-width:0;overflow:hidden;position:relative;gap:12px;padding:14px;background:linear-gradient(155deg,#f7fcf8,#eaf5f0);}
.gl-scene{width:100%;height:100%;min-width:0;min-height:0;position:relative;overflow:hidden;}
.gl-scene>svg,.gl-static-tools>svg{display:block;width:100%;height:100%;overflow:visible;}
.gl-scene .gl-label,.gl-static-tools .gl-label{font:800 13px system-ui,sans-serif;fill:#27585f;letter-spacing:.35px;}
.gl-equal-pairs,.gl-teacher-units{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:1;min-height:0;}
.gl-equal-pairs>.gl-scene,.gl-teacher-units>div{background:rgba(255,255,255,.68);border:1px solid #bdded4;border-radius:20px;overflow:hidden;min-height:0;}
.gl-owner.liquid-flow-demo,.gl-owner.liquid-level-demo,.gl-owner.liquid-unit-demo,.gl-owner.liquid-outcome-demo{display:flex;flex-direction:column;}
.gl-summary{display:flex;justify-content:center;align-items:center;gap:14px;min-height:36px;font-size:14px;color:#216d6c;flex-wrap:wrap;}
.gl-summary b{background:#fff3c8;border-radius:20px;padding:8px 14px;}
.gl-teacher-units>div{display:flex;flex-direction:column;}.gl-unit-model{flex:1;min-height:0;}.gl-unit-count{display:flex;justify-content:center;gap:7px;padding:7px;}
.gl-unit-count>span,.gl-progress-row>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e8efec;color:#668b89;font-weight:800;font-size:13px;}
.gl-unit-count .filled,.gl-progress-row .filled{background:#148d83;color:white;box-shadow:0 2px 0 #d0e5dd;}
.gl-owner.liquid-student-fill,.gl-owner.liquid-predict-lab{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch;}
.gl-measure-top{display:flex;justify-content:center;gap:20px;align-items:center;}.gl-measure-model{min-height:0;}.gl-measure-bottom{display:flex;justify-content:center;gap:10px;align-items:center;color:#196963;}
.gl-progress-row{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:6px;border:1px solid #c9ddd3;border-radius:12px;}.gl-progress-row b{font-size:11px;margin-right:5px;color:#387572;}.gl-progress-row.active{border-color:#ddb96d;background:#fff9df;}
.gl-estimate-value{display:flex;gap:10px;align-items:center;}.gl-estimate-value small{font-weight:800;letter-spacing:.7px;color:#61867d;}.gl-estimate-value b{font-size:26px;background:white;border-radius:12px;padding:5px 18px;color:#216c72;}
.grade2-liquid-board[data-gl-phase] .gl-measure-bottom>.liquid-pour-button{display:flex;min-height:48px;max-width:100%;width:100%;padding:8px 16px;gap:14px;justify-content:center;margin:0;font-size:15px;border:2px solid #169789;background:#fffdf0;color:#185a5d;border-radius:16px;box-shadow:0 4px 0 #cae3d4;}
.gl-action-drop{font-size:28px;color:#1d9bad;}.gl-measure-bottom h1{font-size:clamp(18px,2vw,24px);margin:0;text-align:center;}
.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-question{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;align-items:stretch;gap:8px;}
.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-question>h1,.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-question>p{grid-column:1;margin:0;max-width:100%;width:auto;min-width:0;text-align:center;}
.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-question>h1{font-size:clamp(19px,2.2vw,29px);line-height:1.18;}.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-question>p{font-size:13px;line-height:1.25;}
.gl-visual{grid-column:1;min-height:0;min-width:0;}.gl-static-tools{min-width:0;min-height:0;width:100%;height:100%;}.gl-outcome-stage{flex:1;min-height:0;}
.gl-outcome-tabs,.gl-outcome-proofs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;min-height:32px;text-align:center;font-size:12px;font-weight:800;color:#658780;}
.gl-outcome-tabs>span,.gl-outcome-proofs>span{display:grid;place-items:center;border-radius:12px;padding:7px 3px;border:1px solid #c7d9cb;}.gl-outcome-tabs .active{background:#fff0c4;border-color:#dfb35f;color:#73602c;}.gl-outcome-proofs .proved{background:#d6f0e3;color:#256b5c;}
.grade2-liquid-board[data-gl-phase] .gl-number-compare{display:flex;align-items:center;justify-content:center;gap:24px;min-height:140px;}.gl-number-compare>b,.gl-number-compare>strong{position:relative;min-width:90px;}.gl-number-compare>b:before,.gl-number-compare>strong:before{content:attr(data-label);position:absolute;left:0;right:0;top:-30px;font-size:12px;letter-spacing:1px;color:#538179;}
.gl-comparison-proof{display:grid;gap:8px;justify-content:center;}.gl-comparison-proof>div{display:flex;gap:5px;}.gl-comparison-proof i{width:18px;height:18px;background:#4aa795;border:2px solid #247c77;border-radius:3px;}
.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-section-complete>div,.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-finish>div{width:100%;height:180px;min-width:0;display:block;transform:none;}
@media(max-width:700px){.gl-equal-pairs,.gl-teacher-units{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:7px;}.gl-summary{font-size:11px;gap:7px;min-height:28px;}.gl-summary b{padding:5px 9px;}.gl-measure-top{gap:6px;}.gl-progress-row{gap:3px;padding:5px;}.gl-progress-row b{font-size:9px;}.gl-progress-row>span{width:20px;height:20px;font-size:10px;}.gl-estimate-value{gap:6px;}.gl-estimate-value small{font-size:10px;}.gl-estimate-value b{font-size:22px;padding:4px 12px;}.gl-unit-count{padding:2px;gap:5px;}.gl-unit-count>span{width:19px;height:19px;font-size:10px;}.grade2-liquid-board[data-gl-phase] .gl-owner{padding:10px;gap:8px;}.gl-outcome-tabs,.gl-outcome-proofs{font-size:10px;gap:4px;}.gl-scene .gl-label{font-size:14px;}.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-section-complete>div,.grade2-liquid-board[data-gl-phase] .gl-owner.liquid-finish>div{height:150px;}}
@media(prefers-reduced-motion:reduce){.grade2-liquid-board[data-gl-phase] *{scroll-behavior:auto;}}

.gl-equal-lab{position:relative;flex:1;min-height:0;width:100%;border-radius:20px;background:linear-gradient(160deg,#fcfefa,#eef7ef);border:1px solid #c6ddd1;overflow:hidden;}
.gl-equal-lab>.gl-equal-layer{position:absolute;inset:0;width:100%;height:100%;}

/* grade2-liquid-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-liquid-board) .section-track{grid-template-columns:repeat(12,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-liquid-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-liquid-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-liquid-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-liquid-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-liquid-board) .teaching-board.grade2-liquid-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-liquid-board) .grade2-liquid-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-liquid-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-liquid-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-liquid-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-liquid-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-liquid-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-liquid-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-liquid-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 54px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-liquid-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-liquid-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-liquid-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-liquid-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-liquid-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-liquid-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-liquid-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-liquid-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-liquid-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-liquid-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-liquid-board) .teaching-board.grade2-liquid-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-liquid-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-liquid-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(12,44px)}
 .lesson-shell:has(.grade2-liquid-board) .back-button,.lesson-shell:has(.grade2-liquid-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-liquid-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-liquid-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-liquid-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-liquid-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-liquid-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-liquid-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-liquid-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-liquid-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-liquid-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-liquid-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-liquid-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-liquid-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-liquid-board) .teaching-board.grade2-liquid-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-liquid-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-liquid-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-liquid-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-liquid-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-liquid-board) .teaching-board.grade2-liquid-board{height:440px!important}
}

.lesson-shell:has(.grade2-liquid-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-liquid-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.grade2-liquid-board .liquid-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:0!important}
.grade2-liquid-board .liquid-hero>div{display:none}
.grade2-liquid-board .liquid-hero>img{height:100%;width:100%;max-width:100%;object-fit:contain!important;border-radius:0}
@media(max-width:700px){.lesson-shell:has(.grade2-liquid-board) .teaching-board.grade2-liquid-board:has(.liquid-hero){height:260px!important}}
@media(min-width:701px) and (max-width:1000px){.lesson-shell:has(.grade2-liquid-board) .teaching-board.grade2-liquid-board:has(.liquid-hero){height:320px!important}}

.grade2-liquid-board .liquid-hero::after{display:none}
.lesson-shell .grade2-liquid-board~.lesson-footer .liquid-answer-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
.lesson-shell .grade2-liquid-board~.lesson-footer .liquid-answer-row:has(button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.lesson-shell .grade2-liquid-board~.lesson-footer .liquid-answer-row button{width:100%;min-width:0;min-height:60px;white-space:normal;font-size:14px;line-height:1.2;padding:6px}
.grade2-liquid-board[data-gl-phase="5"] .liquid-question>p,.grade2-liquid-board[data-gl-phase="10"] .liquid-question:has(.gl-number-compare)>p{display:none}
.lesson-shell .grade2-liquid-board[data-gl-phase="5"] .gl-owner.liquid-question,.lesson-shell .grade2-liquid-board[data-gl-phase="10"] .gl-owner.liquid-question:has(.gl-number-compare){grid-template-rows:minmax(0,1fr) auto}
@media(min-width:701px) and (max-width:1000px) and (min-height:801px){
 .grade2-liquid-board .gl-equal-pairs,.grade2-liquid-board .gl-teacher-units{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
}

/* grade2-liquid-support.css */
/* The second experiment shares the board with the child's unchanged question. */
.lesson-shell .grade2-liquid-board.g2-liquid-help-open{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 184px;gap:6px;padding:0!important}
.lesson-shell .grade2-liquid-board.g2-liquid-help-open>.board-square{grid-row:1;height:100%;min-height:0!important}
.lesson-shell .grade2-liquid-board .g2-liquid-support{position:relative!important;inset:auto!important;grid-row:2;display:grid;grid-template-rows:44px minmax(0,1fr);height:184px!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 32px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-liquid-support header{display:flex;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.g2-liquid-support header>b{display:none}
.lesson-shell .g2-liquid-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:12px;font-weight:750;line-height:1.15;white-space:normal}
.g2-liquid-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-liquid-support button:disabled{opacity:.55}
.g2-liquid-help-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
.g2-liquid-help-stage{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.g2-liquid-help-stage svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-liquid-help-controls{min-height:0;min-width:0;display:grid;align-items:center}
.g2-liquid-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.g2-liquid-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-liquid-help-controls [data-liquid-help-reset]{position:absolute;top:4px;left:8px}
.g2-liquid-help-controls [data-liquid-help-status]{position:absolute;left:8px;right:8px;bottom:3px;height:26px;margin:0;font-size:12px;line-height:1.1;color:#385a51;text-align:center}
@media(min-width:701px){.g2-liquid-help-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(min-width:1001px),(min-width:901px) and (max-height:800px){
 .lesson-shell .grade2-liquid-board.g2-liquid-help-open{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr)}
 .lesson-shell .grade2-liquid-board.g2-liquid-help-open>.board-square{grid-column:1;grid-row:1}
 .lesson-shell .grade2-liquid-board .g2-liquid-support{grid-column:2;grid-row:1;height:100%!important;padding-bottom:44px!important}
 .g2-liquid-support .g2-liquid-help-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
 .g2-liquid-support .g2-liquid-help-controls [data-liquid-help-status]{height:38px}
}
@media(max-width:700px){
 .lesson-shell .grade2-liquid-board.g2-liquid-help-open[data-gl-phase]>.gl-owner.liquid-question{grid-template-rows:minmax(0,1fr) auto;padding:6px;gap:6px}
 .grade2-liquid-board.g2-liquid-help-open>.gl-owner.liquid-question>p{display:none}
 .lesson-shell .grade2-liquid-board.g2-liquid-help-open[data-gl-phase]>.gl-owner.liquid-question>h1{font-size:18px;line-height:1.2}
 .lesson-shell .grade2-liquid-board.g2-liquid-help-open[data-gl-phase="3"]>.gl-owner,.lesson-shell .grade2-liquid-board.g2-liquid-help-open[data-gl-phase="4"]>.gl-owner{grid-template-columns:minmax(0,1fr) 130px;grid-template-rows:minmax(0,1fr) auto;padding:6px;gap:6px}
 .grade2-liquid-board.g2-liquid-help-open .gl-measure-model{grid-column:1;grid-row:1/3;height:100%;min-height:0}
 .grade2-liquid-board.g2-liquid-help-open .gl-measure-top{grid-column:2;grid-row:1;display:grid;gap:4px;align-content:center}
 .grade2-liquid-board.g2-liquid-help-open .gl-measure-bottom{grid-column:2;grid-row:2;min-width:0}
 .grade2-liquid-board.g2-liquid-help-open .gl-progress-row{gap:2px;padding:4px;justify-content:center}
 .grade2-liquid-board.g2-liquid-help-open .gl-progress-row b{width:100%;margin:0;text-align:center;font-size:10px}
 .grade2-liquid-board.g2-liquid-help-open .gl-progress-row>span{width:18px;height:18px;font-size:11px}
 .lesson-shell .grade2-liquid-board.g2-liquid-help-open .gl-measure-bottom>.liquid-pour-button{width:100%;min-width:0;max-width:100%;padding:5px;gap:4px;font-size:13px;min-height:48px;line-height:1.2;white-space:normal}
 .grade2-liquid-board.g2-liquid-help-open .gl-measure-bottom>.liquid-pour-button b{min-width:0;white-space:normal}
 .grade2-liquid-board.g2-liquid-help-open .gl-action-drop{font-size:18px}
 .grade2-liquid-board.g2-liquid-help-open .gl-measure-bottom h1{font-size:16px;line-height:1.2}
 .grade2-liquid-board.g2-liquid-help-open .gl-estimate-value{justify-content:space-between}
}

/* grade2-theme1-assessment-astra.css */
.grade2-theme1-board .grade2-theme1-task-visual.gta-scene { width:100%;height:100%;min-width:0;min-height:0;display:block;overflow:hidden;position:relative;padding:0;background:linear-gradient(160deg,#fffef6,#eefaf7);border-radius:24px; }
.gta-scene svg {display:block;width:100%;height:100%;overflow:visible;font-family:inherit;}
.gta-scene svg text {font-size:15px;font-weight:750;fill:#35616a;}
.gta-scene svg text.gta-number {font-size:70px;font-weight:850;}
.gta-webgl {width:100%;height:100%;min-height:0;touch-action:none;outline-offset:-5px;}
.gta-webgl canvas,.gta-webgl svg {width:100%;height:100%;display:block;}
.gta-drag-note {position:absolute;left:50%;bottom:5px;transform:translateX(-50%);font-size:11px;line-height:1.15;color:#547b78;background:#fff9;padding:3px 9px;border-radius:12px;white-space:nowrap;pointer-events:none;}
.gta-units {display:grid!important;grid-template-columns:1fr 1fr;gap:4px;}
.gta-units>div {min-width:0;min-height:0;height:100%;}
.gta-complete-model {width:min(100%,400px);height:180px;min-height:0;position:relative;margin:0 auto;}
.gta-support-scene {height:100%;width:100%;min-height:0;position:relative;}
.gta-support-scene .gta-drag-note {font-size:9px;bottom:0;}
.gta-scene [data-gta-number-proof] {pointer-events:none;}
@media(prefers-reduced-motion:reduce){.gta-scene * {animation:none!important;transition:none!important;}}

.gta-l-scene{width:100%;height:100%;min-width:0;min-height:0;position:relative;overflow:hidden;}
.gta-l-scene .gta-l-label{font:800 13px system-ui,sans-serif;fill:#27585f;letter-spacing:.35px;}

@media(max-width:700px){.grade2-theme1-board .gta-units{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:4px;}}

/* grade2-assessment-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-theme1-board) .section-track{grid-template-columns:repeat(8,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-theme1-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-theme1-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-theme1-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-theme1-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-theme1-board) .teaching-board.grade2-theme1-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-theme1-board) .grade2-theme1-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-theme1-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-theme1-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-theme1-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-theme1-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-theme1-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-theme1-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-theme1-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 54px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-theme1-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-theme1-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-theme1-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-theme1-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-theme1-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-theme1-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-theme1-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-theme1-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-theme1-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-theme1-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-theme1-board) .teaching-board.grade2-theme1-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-theme1-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-theme1-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(8,44px)}
 .lesson-shell:has(.grade2-theme1-board) .back-button,.lesson-shell:has(.grade2-theme1-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-theme1-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-theme1-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-theme1-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-theme1-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-theme1-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-theme1-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-theme1-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-theme1-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-theme1-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-theme1-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-theme1-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-theme1-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-theme1-board) .teaching-board.grade2-theme1-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-theme1-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-theme1-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-theme1-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-theme1-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-theme1-board) .teaching-board.grade2-theme1-board{height:440px!important}
}

.lesson-shell:has(.grade2-theme1-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-theme1-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-theme1-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}

/* The introduction stays visible without a duplicate title over it. */
.grade2-theme1-board .grade2-theme1-hero {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:0!important}
.grade2-theme1-board .grade2-theme1-hero>div,.grade2-theme1-board .grade2-theme1-hero::after {display:none}
.grade2-theme1-board .grade2-theme1-hero>img {height:100%;width:100%;object-fit:contain}
.lesson-shell .grade2-theme1-board~.lesson-footer .grade2-theme1-answer-row {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
.lesson-shell .grade2-theme1-board~.lesson-footer .grade2-theme1-answer-row:has(button:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr))}
.lesson-shell .grade2-theme1-board~.lesson-footer .grade2-theme1-answer-row button {width:100%;min-width:0;min-height:60px;white-space:normal;font-size:15px;line-height:1.2;padding:6px}
.grade2-theme1-board .grade2-theme1-question {grid-template-rows:minmax(0,1fr) auto;padding:12px;gap:8px}
.grade2-theme1-board .grade2-theme1-question>p {display:none}
.grade2-theme1-board .grade2-theme1-question>h1 {font-size:clamp(20px,2.2vw,30px);line-height:1.16;margin:0;max-width:100%}
.grade2-theme1-board .grade2-theme1-task-visual {min-height:0;height:100%;max-height:100%;width:100%;padding:4px}
.grade2-theme1-board .grade2-theme1-finish {grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;gap:10px;padding:18px}
.grade2-theme1-board .grade2-theme1-finish>* {max-width:100%;min-width:0}
.grade2-theme1-board .grade2-theme1-finish h1 {font-size:clamp(22px,2.3vw,30px);line-height:1.15;margin:0}
.grade2-theme1-board .grade2-theme1-finish p {font-size:16px;line-height:1.35}
.grade2-theme1-board .grade2-theme1-review-icons {width:100%;height:100%;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;place-items:center}
.grade2-theme1-board .grade2-theme1-review-icons>* {min-width:0;width:100%;max-width:150px;max-height:100%}
.grade2-theme1-board .grade2-theme1-review-icons .grade2-solid-sprite {width:100%;height:auto;aspect-ratio:1;max-height:150px}
.grade2-theme1-board .grade2-theme1-review-icons .formal-shape {width:100%;max-width:120px}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-theme1-board) .teaching-board.grade2-theme1-board:has(.grade2-theme1-hero){height:320px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-theme1-board) .teaching-board.grade2-theme1-board:has(.grade2-theme1-hero){height:260px!important}
 .grade2-theme1-board .grade2-theme1-question>h1{font-size:20px}
 .lesson-shell:has(.grade2-theme1-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-theme1-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
}

/* grade2-assessment-support.css */
/* The second experiment shares the board with the child's unchanged question. */
.lesson-shell .grade2-theme1-board.g2-assessment-help-open{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 184px;gap:6px;padding:0!important}
.lesson-shell .grade2-theme1-board.g2-assessment-help-open>.board-square{grid-row:1;height:100%;min-height:0!important}
.lesson-shell .grade2-theme1-board .g2-assessment-support{position:relative!important;inset:auto!important;grid-row:2;display:grid;grid-template-rows:44px minmax(0,1fr);height:184px!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 32px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-assessment-support header{display:flex;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.g2-assessment-support header>b{display:none}
.lesson-shell .g2-assessment-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:12px;font-weight:750;line-height:1.15;white-space:normal}
.g2-assessment-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-assessment-support button:disabled{opacity:.55}
.g2-assessment-help-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
[data-assessment-help-scene]{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
[data-assessment-help-scene] svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-assessment-help-controls{min-height:0;min-width:0;display:grid;align-items:center}
.g2-assessment-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.g2-assessment-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-assessment-help-controls [data-assessment-help-reset]{position:absolute;top:4px;left:8px}
.g2-assessment-help-controls [data-assessment-help-status]{position:absolute;left:8px;right:8px;bottom:3px;height:26px;margin:0;font-size:12px;line-height:1.1;color:#385a51;text-align:center}
@media(min-width:701px){.g2-assessment-help-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1000px) and (min-height:801px){
 .lesson-shell .grade2-theme1-board.g2-assessment-help-open{grid-template-rows:minmax(0,1fr) 240px}
 .lesson-shell .grade2-theme1-board .g2-assessment-support{height:240px!important}
}
@media(min-width:1001px),(min-width:901px) and (max-height:800px){
 .lesson-shell .grade2-theme1-board.g2-assessment-help-open{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr)}
 .lesson-shell .grade2-theme1-board.g2-assessment-help-open>.board-square{grid-column:1;grid-row:1}
 .lesson-shell .grade2-theme1-board .g2-assessment-support{grid-column:2;grid-row:1;height:100%!important;padding-bottom:44px!important}
 .g2-assessment-support .g2-assessment-help-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
 .g2-assessment-support .g2-assessment-help-controls [data-assessment-help-status]{height:38px}
}

@media(max-width:700px){
 .lesson-shell .grade2-theme1-board.g2-assessment-help-open>.grade2-theme1-question{padding:6px;gap:6px;grid-template-rows:minmax(0,1fr) auto}
 .grade2-theme1-board.g2-assessment-help-open .grade2-theme1-question>h1{font-size:18px;line-height:1.15}
 .grade2-theme1-board.g2-assessment-help-open .gta-units{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
}

/* grade2-numbers-astra.css */
.grade2-numbers-board .gn-scene{position:relative;min-width:0;min-height:0;width:100%;height:100%;display:grid;place-items:center;overflow:visible}
.grade2-numbers-board .gn-scene>svg,.gn-support-scene>svg{display:block;width:100%;height:100%;max-width:100%;overflow:visible;font-family:inherit}
.grade2-numbers-board [data-gn-mounted] .gn-teacher-title{text-align:center;color:#267f75;font-size:20px;font-weight:850;align-self:start}
.grade2-numbers-board [data-gn-mounted]:has(>.gn-teacher-title){display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:14px;overflow:hidden}
.grade2-numbers-board .grade2-numbers-task-visual.gn-scene{background:linear-gradient(150deg,#fffef6,#edf8f0);border-radius:22px;padding:0;overflow:visible}
.grade2-numbers-board .gn-complete-model{min-width:0;min-height:0;width:100%;height:100%;display:grid;place-items:center}
.grade2-numbers-board .gn-complete-model svg{max-height:100%;width:100%;height:100%}
.gn-support-scene{width:100%;height:100%;min-height:0;min-width:0;display:grid;place-items:center;overflow:hidden}
.gn-scene text,.gn-support-scene text{font-family:inherit}
.gn-scene .gn-count-active,.gn-support-scene .gn-count-active{filter:drop-shadow(0 0 2px #e9a039) drop-shadow(0 0 3px #ffe388)}
@media(prefers-reduced-motion:reduce){.gn-scene *,.gn-support-scene *{animation:none!important;transition:none!important}}

/* grade2-numbers-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-numbers-board) .section-track{grid-template-columns:repeat(11,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-numbers-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-numbers-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-numbers-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-numbers-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-numbers-board) .teaching-board.grade2-numbers-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-numbers-board) .grade2-numbers-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-numbers-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-numbers-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-numbers-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-numbers-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-numbers-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-numbers-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-numbers-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-numbers-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-numbers-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-numbers-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-numbers-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-numbers-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-numbers-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-numbers-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-numbers-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-numbers-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-numbers-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-numbers-board) .teaching-board.grade2-numbers-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-numbers-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-numbers-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(11,44px)}
 .lesson-shell:has(.grade2-numbers-board) .back-button,.lesson-shell:has(.grade2-numbers-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-numbers-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-numbers-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-numbers-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-numbers-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-numbers-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-numbers-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-numbers-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-numbers-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-numbers-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-numbers-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-numbers-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-numbers-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-numbers-board) .teaching-board.grade2-numbers-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-numbers-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-numbers-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-numbers-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-numbers-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-numbers-board) .teaching-board.grade2-numbers-board{height:440px!important}
}

.lesson-shell:has(.grade2-numbers-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-numbers-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-numbers-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}

/* Keep the question and its answers apart from the animated model. */
.grade2-numbers-board .board-square {overflow:hidden;box-sizing:border-box}
.grade2-numbers-board .board-kicker {display:none}
.grade2-numbers-board .grade2-numbers-question {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:12px}
.grade2-numbers-board .grade2-numbers-question>* {grid-column:1;min-width:0}
.grade2-numbers-board .grade2-numbers-question>p {display:none}
.grade2-numbers-board .grade2-numbers-question>h1 {font-size:clamp(20px,2.2vw,30px);line-height:1.16;margin:0;max-width:100%}
.grade2-numbers-board .grade2-numbers-task-visual {min-height:0;height:100%;max-height:100%;width:100%;padding:4px;overflow:hidden}
.grade2-numbers-board .gn-scene>svg,.grade2-numbers-board .gn-complete-model>svg {min-height:0;max-height:100%;height:100%;min-width:0}
.grade2-numbers-board~.lesson-footer .theme4-final-choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
.grade2-numbers-board~.lesson-footer .theme4-final-choices button {width:100%;min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.2;padding:6px}
.grade2-numbers-board .grade2-numbers-hero {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:0!important}
.grade2-numbers-board .grade2-numbers-hero>div,.grade2-numbers-board .grade2-numbers-hero::after {display:none}
.grade2-numbers-board .grade2-numbers-hero>img {position:relative;inset:auto;height:100%;width:100%;object-fit:contain}
.grade2-numbers-board .grade2-numbers-section-complete,.grade2-numbers-board .grade2-numbers-finish {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;gap:10px;padding:16px}
.grade2-numbers-board .grade2-numbers-section-complete>*,.grade2-numbers-board .grade2-numbers-finish>* {grid-column:1;max-width:100%;min-width:0}
.grade2-numbers-board .grade2-numbers-section-complete>span,.grade2-numbers-board .grade2-numbers-finish>span {display:none}
.grade2-numbers-board .grade2-numbers-section-complete h1,.grade2-numbers-board .grade2-numbers-finish h1 {font-size:clamp(22px,2.3vw,30px);line-height:1.15;margin:0}
.grade2-numbers-board .grade2-numbers-section-complete p,.grade2-numbers-board .grade2-numbers-finish p {font-size:16px;line-height:1.3;margin:0}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-numbers-board) .teaching-board.grade2-numbers-board:has(.grade2-numbers-hero){height:400px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-numbers-board) .teaching-board.grade2-numbers-board:has(.grade2-numbers-hero){height:300px!important}
 .grade2-numbers-board .grade2-numbers-question>h1{font-size:20px}
 .lesson-shell:has(.grade2-numbers-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-numbers-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-numbers-board .grade2-numbers-section-complete p,.grade2-numbers-board .grade2-numbers-finish p{font-size:14px}
}




/* grade2-numbers-support.css */
/* The second experiment shares the board with the child's unchanged question. */
.lesson-shell .grade2-numbers-board.g2-numbers-help-open{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 184px;gap:6px;padding:0!important}
.lesson-shell .grade2-numbers-board.g2-numbers-help-open>.board-square{grid-row:1;height:100%;min-height:0!important}
.lesson-shell .grade2-numbers-board .g2-numbers-support{position:relative!important;inset:auto!important;grid-row:2;display:grid;grid-template-rows:44px minmax(0,1fr);height:184px!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 32px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-numbers-support header{display:flex;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.g2-numbers-support header>b{display:none}
.lesson-shell .g2-numbers-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:12px;font-weight:750;line-height:1.15;white-space:normal}
.g2-numbers-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-numbers-support button:disabled{opacity:.55}
.g2-numbers-help-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
[data-numbers-help-scene]{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
[data-numbers-help-scene] svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-numbers-help-controls{min-height:0;min-width:0;display:grid;align-items:center}
.g2-numbers-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.g2-numbers-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-numbers-help-controls [data-numbers-help-reset]{position:absolute;top:4px;left:8px}
.g2-numbers-help-controls [data-numbers-help-status]{position:absolute;left:8px;right:8px;bottom:3px;height:26px;margin:0;font-size:12px;line-height:1.1;color:#385a51;text-align:center}
@media(min-width:701px){.g2-numbers-help-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1000px) and (min-height:801px){
 .lesson-shell .grade2-numbers-board.g2-numbers-help-open{grid-template-rows:minmax(0,1fr) 240px}
 .lesson-shell .grade2-numbers-board .g2-numbers-support{height:240px!important}
}
@media(min-width:1001px),(min-width:901px) and (max-height:800px){
 .lesson-shell .grade2-numbers-board.g2-numbers-help-open{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr)}
 .lesson-shell .grade2-numbers-board.g2-numbers-help-open>.board-square{grid-column:1;grid-row:1}
 .lesson-shell .grade2-numbers-board .g2-numbers-support{grid-column:2;grid-row:1;height:100%!important;padding-bottom:44px!important}
 .g2-numbers-support .g2-numbers-help-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
 .g2-numbers-support .g2-numbers-help-controls [data-numbers-help-status]{height:38px}
}

@media(max-width:700px){
 .lesson-shell .grade2-numbers-board.g2-numbers-help-open>.grade2-numbers-question{padding:6px;gap:6px;grid-template-rows:minmax(0,1fr) auto}
 .grade2-numbers-board.g2-numbers-help-open .grade2-numbers-question>h1{font-size:18px;line-height:1.15}
}


/* grade2-decomposition-astra.css */
.gd-scene{min-width:0;min-height:0;width:100%;height:100%;position:relative;display:grid;place-items:center;overflow:hidden}.gd-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:hidden;font-family:inherit}.gd-scene text{font-family:inherit}.gd-active>rect{stroke:#a76921;stroke-width:3;fill:#ffe39a}.gd-intro-art{position:absolute;inset:0;background:url('/demo/assets/generated/grade2/theme2/decomposition-workshop-v1.png') center/cover;opacity:.16;pointer-events:none}.gd-intro-model{position:relative;width:100%;height:100%;min-height:0}.grade2-decomposition-hero:has(.gd-intro-model){position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) 48px;gap:6px;padding:8px}.grade2-decomposition-hero [data-decomposition-intro-group]{z-index:1;justify-self:center;min-height:44px;border:2px solid #64aa95;border-radius:15px;padding:6px 22px;background:#fff5dc;color:#25594e;font:800 17px inherit}.grade2-decomposition-hero [data-decomposition-intro-group]:disabled{opacity:.5}.gd-teacher-model{width:100%;height:100%;min-height:0}.grade2-decomposition-model:has(.gd-teacher-model){display:block;padding:8px}.grade2-decomposition-task.gd-scene{padding:0;min-height:0;max-width:100%;border-radius:16px}.gd-final-pair{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%;min-height:0;gap:8px}.gd-final-pair>div{min-width:0;min-height:0}.grade2-decomposition-complete>.gd-scene{min-height:0}.gd-scene [data-gd-unit]{will-change:transform}.gd-scene [data-gd-flower]{will-change:x,y}@media(prefers-reduced-motion:reduce){.gd-scene *{filter:none!important}}

.gd-intro-title{position:relative;z-index:1;margin:0!important;font-size:19px!important;text-align:center;color:#205960;line-height:1.2}

/* grade2-decomposition-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-decomposition-board) .section-track{grid-template-columns:repeat(9,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-decomposition-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-decomposition-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-decomposition-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-decomposition-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-decomposition-board) .teaching-board.grade2-decomposition-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-decomposition-board) .grade2-decomposition-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-decomposition-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-decomposition-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-decomposition-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-decomposition-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-decomposition-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-decomposition-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-decomposition-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-decomposition-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-decomposition-board) .teaching-board.grade2-decomposition-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-decomposition-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-decomposition-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(9,44px)}
 .lesson-shell:has(.grade2-decomposition-board) .back-button,.lesson-shell:has(.grade2-decomposition-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-decomposition-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-decomposition-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-decomposition-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-decomposition-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-decomposition-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-decomposition-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-decomposition-board) .teaching-board.grade2-decomposition-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-decomposition-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-decomposition-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-decomposition-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-decomposition-board) .teaching-board.grade2-decomposition-board{height:440px!important}
}

.lesson-shell:has(.grade2-decomposition-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-decomposition-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-decomposition-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}


/* Layout only: model geometry is owned by the lesson motion module. */
.grade2-decomposition-board .board-square{box-sizing:border-box;overflow:hidden}
.grade2-decomposition-board .board-kicker{display:none}
.grade2-decomposition-board .grade2-decomposition-question{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:12px}
.grade2-decomposition-board .grade2-decomposition-question>*{grid-column:1;min-width:0}
.grade2-decomposition-board .grade2-decomposition-question>p{display:none}
.grade2-decomposition-board .grade2-decomposition-question>h1{font-size:clamp(20px,2.2vw,30px);line-height:1.16;margin:0;max-width:100%}
.grade2-decomposition-board .grade2-decomposition-task{height:100%;width:100%;min-height:0;max-height:100%;padding:4px;overflow:hidden}
.grade2-decomposition-board .gd-scene>svg,.grade2-decomposition-board .gd-complete-model>svg{height:100%;max-height:100%;min-height:0;min-width:0}
.grade2-decomposition-board~.lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
.grade2-decomposition-board~.lesson-footer .theme4-final-choices button{width:100%;min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.2;padding:6px}
.grade2-decomposition-board .grade2-decomposition-complete,.grade2-decomposition-board .grade2-decomposition-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;gap:10px;padding:16px}
.grade2-decomposition-board .grade2-decomposition-complete>*,.grade2-decomposition-board .grade2-decomposition-finish>*{grid-column:1;min-width:0;max-width:100%}
.grade2-decomposition-board .grade2-decomposition-complete>span,.grade2-decomposition-board .grade2-decomposition-finish>span{display:none}
.grade2-decomposition-board .grade2-decomposition-complete h1,.grade2-decomposition-board .grade2-decomposition-finish h1{font-size:clamp(22px,2.3vw,30px);line-height:1.15;margin:0}
.grade2-decomposition-board .grade2-decomposition-complete p,.grade2-decomposition-board .grade2-decomposition-finish p{font-size:16px;line-height:1.3;margin:0}
@media(max-width:700px){
 .lesson-shell:has(.grade2-decomposition-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-decomposition-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-decomposition-board .grade2-decomposition-question>h1{font-size:20px}
 .grade2-decomposition-board .grade2-decomposition-complete p,.grade2-decomposition-board .grade2-decomposition-finish p{font-size:14px}
}
/* The old photo-caption shade must not cover the new counting objects. */
.grade2-decomposition-board .grade2-decomposition-hero:has(.gd-intro-model)::after{display:none}
.grade2-decomposition-board .grade2-decomposition-hero:has(.gd-intro-model){align-items:stretch}

/* grade2-decomposition-support.css */
/* The second experiment shares the board with the child's unchanged question. */
.lesson-shell .grade2-decomposition-board.g2-decomposition-help-open{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 184px;gap:6px;padding:0!important}
.lesson-shell .grade2-decomposition-board.g2-decomposition-help-open>.board-square{grid-row:1;height:100%;min-height:0!important}
.lesson-shell .grade2-decomposition-board .g2-decomposition-support{position:relative!important;inset:auto!important;grid-row:2;display:grid;grid-template-rows:44px minmax(0,1fr);height:184px!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 32px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-decomposition-support header{display:flex;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.g2-decomposition-support header>b{display:none}
.lesson-shell .g2-decomposition-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:12px;font-weight:750;line-height:1.15;white-space:normal}
.g2-decomposition-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-decomposition-support button:disabled{opacity:.55}
.g2-decomposition-help-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
[data-decomposition-help-scene]{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
[data-decomposition-help-scene] svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-decomposition-help-controls{min-height:0;min-width:0;display:grid;align-items:center}
.g2-decomposition-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.g2-decomposition-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-decomposition-help-controls [data-decomposition-help-reset]{position:absolute;top:4px;left:8px}
.g2-decomposition-help-controls [data-decomposition-help-status]{position:absolute;left:8px;right:8px;bottom:3px;height:26px;margin:0;font-size:12px;line-height:1.1;color:#385a51;text-align:center}
@media(min-width:701px){.g2-decomposition-help-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1000px) and (min-height:801px){
 .lesson-shell .grade2-decomposition-board.g2-decomposition-help-open{grid-template-rows:minmax(0,1fr) 240px}
 .lesson-shell .grade2-decomposition-board .g2-decomposition-support{height:240px!important}
}
@media(min-width:1001px),(min-width:901px) and (max-height:800px){
 .lesson-shell .grade2-decomposition-board.g2-decomposition-help-open{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr)}
 .lesson-shell .grade2-decomposition-board.g2-decomposition-help-open>.board-square{grid-column:1;grid-row:1}
 .lesson-shell .grade2-decomposition-board .g2-decomposition-support{grid-column:2;grid-row:1;height:100%!important;padding-bottom:44px!important}
 .g2-decomposition-support .g2-decomposition-help-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
 .g2-decomposition-support .g2-decomposition-help-controls [data-decomposition-help-status]{height:38px}
}

@media(max-width:700px){
 .lesson-shell .grade2-decomposition-board.g2-decomposition-help-open>.grade2-decomposition-question{padding:6px;gap:6px;grid-template-rows:minmax(0,1fr) auto}
 .grade2-decomposition-board.g2-decomposition-help-open .grade2-decomposition-question>h1{font-size:18px;line-height:1.15}
}


/* grade2-number-line-astra.css */
.gnl-scene{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;display:grid;place-items:center;position:relative}
.gnl-scene>svg{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;overflow:hidden;font-family:inherit}
[data-gnl-phase] .grade2-number-line-task{height:100%;min-height:0;min-width:0;width:100%;padding:0;background:none;box-shadow:none;display:block}
[data-gnl-phase] .grade2-number-line-question{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:12px}
[data-gnl-phase] .grade2-number-line-question>h1{font-size:clamp(17px,2vw,24px);line-height:1.25;margin:0}
[data-gnl-phase] .grade2-number-line-model{display:grid;grid-template-rows:minmax(0,1fr);padding:12px}
[data-gnl-phase] .grade2-number-line-hero{display:grid;grid-template-rows:minmax(0,1fr) minmax(125px,.7fr);padding:0;gap:0;overflow:hidden;background:#eaf7f2}
[data-gnl-phase] .grade2-number-line-hero>img{position:static;inset:auto;width:100%;height:100%;min-height:0;object-fit:contain;background:#193b43;filter:none;opacity:1;z-index:auto;border-radius:0}
[data-gnl-phase] .grade2-number-line-hero:before,[data-gnl-phase] .grade2-number-line-hero:after{display:none}
[data-gnl-phase] .grade2-number-line-complete,[data-gnl-phase] .grade2-number-line-finish{display:grid;grid-template-rows:minmax(0,1fr) auto auto auto;gap:8px;padding:12px}
[data-gnl-phase] .grade2-number-line-complete>h1,[data-gnl-phase] .grade2-number-line-finish>h1{font-size:clamp(18px,2vw,25px);margin:0;line-height:1.15}
[data-gnl-phase] .grade2-number-line-complete>p,[data-gnl-phase] .grade2-number-line-finish>p{font-size:14px;line-height:1.3;margin:0}
.gnl-scene [data-gnl-unit]{pointer-events:none}
@media(prefers-reduced-motion:reduce){.gnl-scene *{animation:none!important;transition:none!important}}
.gnl-support-scene svg text[font-size="23"],.gnl-support-scene svg text[font-size="24"]{font-size:27px}

/* grade2-number-line-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-number-line-board) .section-track{grid-template-columns:repeat(7,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-number-line-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-number-line-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-number-line-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-number-line-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-number-line-board) .teaching-board.grade2-number-line-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-number-line-board) .grade2-number-line-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-number-line-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-number-line-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-number-line-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-number-line-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-number-line-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-number-line-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-number-line-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-number-line-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-number-line-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-number-line-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-number-line-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-number-line-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-number-line-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-number-line-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-number-line-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-number-line-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-number-line-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-number-line-board) .teaching-board.grade2-number-line-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-number-line-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-number-line-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(7,44px)}
 .lesson-shell:has(.grade2-number-line-board) .back-button,.lesson-shell:has(.grade2-number-line-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-number-line-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-number-line-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-number-line-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-number-line-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-number-line-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-number-line-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-number-line-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-number-line-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-number-line-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-number-line-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-number-line-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-number-line-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-number-line-board) .teaching-board.grade2-number-line-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-number-line-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-number-line-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-number-line-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-number-line-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-number-line-board) .teaching-board.grade2-number-line-board{height:440px!important}
}

.lesson-shell:has(.grade2-number-line-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-number-line-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-number-line-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}


/* Layout only: model geometry is owned by the lesson motion module. */
.grade2-number-line-board .board-square{box-sizing:border-box;overflow:hidden}
.grade2-number-line-board .board-kicker{display:none}
.grade2-number-line-board .grade2-number-line-question{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:12px}
.grade2-number-line-board .grade2-number-line-question>*{grid-column:1;min-width:0}
.grade2-number-line-board .grade2-number-line-question>p{display:none}
.grade2-number-line-board .grade2-number-line-question>h1{font-size:clamp(20px,2.2vw,30px);line-height:1.16;margin:0;max-width:100%}
.grade2-number-line-board .grade2-number-line-task{height:100%;width:100%;min-height:0;max-height:100%;padding:4px;overflow:hidden}
.grade2-number-line-board .gnl-scene>svg,.grade2-number-line-board .gnl-complete-model>svg{height:100%;max-height:100%;min-height:0;min-width:0}
.grade2-number-line-board~.lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
.grade2-number-line-board~.lesson-footer .theme4-final-choices button{width:100%;min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.2;padding:6px}
.grade2-number-line-board .grade2-number-line-complete,.grade2-number-line-board .grade2-number-line-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;gap:10px;padding:16px}
.grade2-number-line-board .grade2-number-line-complete>*,.grade2-number-line-board .grade2-number-line-finish>*{grid-column:1;min-width:0;max-width:100%}
.grade2-number-line-board .grade2-number-line-complete>span,.grade2-number-line-board .grade2-number-line-finish>span{display:none}
.grade2-number-line-board .grade2-number-line-complete h1,.grade2-number-line-board .grade2-number-line-finish h1{font-size:clamp(22px,2.3vw,30px);line-height:1.15;margin:0}
.grade2-number-line-board .grade2-number-line-complete p,.grade2-number-line-board .grade2-number-line-finish p{font-size:16px;line-height:1.3;margin:0}
@media(max-width:700px){
 .lesson-shell:has(.grade2-number-line-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-number-line-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-number-line-board .grade2-number-line-question>h1{font-size:20px}
 .grade2-number-line-board .grade2-number-line-complete p,.grade2-number-line-board .grade2-number-line-finish p{font-size:14px}
}
/* SVG units also obey the readable 14px floor after the narrow scene is scaled. */
@media(max-width:767px){
 .lesson-shell .grade2-number-line-board:not([data-gnl-phase="0"]) .gnl-scene:not(.gnl-support-scene) text[font-size="23"],
 .lesson-shell .grade2-number-line-board:not([data-gnl-phase="0"]) .gnl-scene:not(.gnl-support-scene) text[font-size="24"]{font-size:25px}
}

/* grade2-number-line-support.css */
/* The second experiment shares the board with the child's unchanged question. */
.lesson-shell .grade2-number-line-board.g2-number-line-help-open{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 184px;gap:6px;padding:0!important}
.lesson-shell .grade2-number-line-board.g2-number-line-help-open>.board-square{grid-row:1;height:100%;min-height:0!important}
.lesson-shell .grade2-number-line-board .g2-number-line-support{position:relative!important;inset:auto!important;grid-row:2;display:grid;grid-template-rows:44px minmax(0,1fr);height:184px!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 32px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-number-line-support header{display:flex;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.g2-number-line-support header>b{display:none}
.lesson-shell .g2-number-line-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:12px;font-weight:750;line-height:1.15;white-space:normal}
.g2-number-line-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-number-line-support button:disabled{opacity:.55}
.g2-number-line-help-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
[data-number-line-help-scene]{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
[data-number-line-help-scene] svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-number-line-help-controls{min-height:0;min-width:0;display:grid;align-items:center}
.g2-number-line-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.g2-number-line-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-number-line-help-controls [data-number-line-help-reset]{position:absolute;top:4px;left:8px}
.g2-number-line-help-controls [data-number-line-help-status]{position:absolute;left:8px;right:8px;bottom:3px;height:26px;margin:0;font-size:12px;line-height:1.1;color:#385a51;text-align:center}
@media(min-width:701px){.g2-number-line-help-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1000px) and (min-height:801px){
 .lesson-shell .grade2-number-line-board.g2-number-line-help-open{grid-template-rows:minmax(0,1fr) 240px}
 .lesson-shell .grade2-number-line-board .g2-number-line-support{height:240px!important}
}

/* A second full-width line stays readable while the original question remains. */
.lesson-shell .grade2-number-line-board.g2-number-line-help-open{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important}
.lesson-shell .grade2-number-line-board.g2-number-line-help-open>.board-square{grid-column:1!important;grid-row:1!important;height:auto!important;min-height:0!important;padding:10px 12px!important;display:block!important}
.grade2-number-line-board.g2-number-line-help-open .grade2-number-line-task{display:none!important}
.grade2-number-line-board.g2-number-line-help-open .grade2-number-line-question>h1{margin:0;line-height:1.2;font-size:20px}
.lesson-shell .grade2-number-line-board.g2-number-line-help-open .g2-number-line-support{grid-column:1!important;grid-row:2!important;height:100%!important;padding:4px 8px 34px!important}
.g2-number-line-support header{justify-content:space-between}
.g2-number-line-support header>b{display:block;margin-left:104px;font-size:13px;line-height:1.1;text-align:center;color:#53685b}
.g2-number-line-support .g2-number-line-help-content{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 44px!important;gap:4px}
.g2-number-line-support .g2-number-line-help-controls{display:block}
.g2-number-line-support .g2-number-line-help-actions{grid-template-columns:repeat(3,minmax(0,1fr));height:44px}
.g2-number-line-support .g2-number-line-help-actions:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.g2-number-line-support .g2-number-line-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-number-line-support .g2-number-line-help-controls [data-number-line-help-status]{height:26px!important}
@media(max-width:700px){
 .grade2-number-line-board.g2-number-line-help-open .grade2-number-line-question>h1{font-size:18px}
 .g2-number-line-support header>b{font-size:12px;margin-left:100px;max-width:95px}
}
@media(min-width:1001px),(min-width:901px) and (max-height:800px){
 .lesson-shell .grade2-number-line-board.g2-number-line-help-open{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr)}
 .lesson-shell .grade2-number-line-board.g2-number-line-help-open>.board-square{grid-column:1;grid-row:1}
 .lesson-shell .grade2-number-line-board .g2-number-line-support{grid-column:2;grid-row:1;height:100%!important;padding-bottom:44px!important}
 .g2-number-line-support .g2-number-line-help-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
 .g2-number-line-support .g2-number-line-help-controls [data-number-line-help-status]{height:38px}
}

@media(max-width:700px){
 .lesson-shell .grade2-number-line-board.g2-number-line-help-open>.grade2-number-line-question{padding:6px;gap:6px;grid-template-rows:minmax(0,1fr) auto}
 .grade2-number-line-board.g2-number-line-help-open .grade2-number-line-question>h1{font-size:18px;line-height:1.15}
}


/* grade2-rhythmic-astra.css */
.grade2-rhythmic-board .gr-scene{position:relative;min-width:0;min-height:0;width:100%;height:100%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#fbfff8,#eaf6ef);border-radius:18px;isolation:isolate}
.grade2-rhythmic-board .gr-scene>svg,.gr-support-scene .gr-scene>svg,.gr-support-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:visible;transform:none}
.grade2-rhythmic-board .grade2-rhythmic-task.gr-scene{max-height:none;min-height:0}
.grade2-rhythmic-board .gr-teacher-pair{display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:10px;padding:8px}
.grade2-rhythmic-board .grade2-rhythmic-hero{display:grid;grid-template-rows:minmax(0,1fr) auto minmax(110px,.55fr);gap:5px;background:#eef7ed;overflow:hidden}
.grade2-rhythmic-board .grade2-rhythmic-hero>img{position:static;width:100%;height:100%;min-height:0;object-fit:contain;z-index:auto;opacity:1;filter:none;transform:none}
.grade2-rhythmic-board .grade2-rhythmic-hero>h1{font-size:clamp(18px,2.5vw,27px);margin:0;text-align:center;color:#285851}
.grade2-rhythmic-board .grade2-rhythmic-hero::after{display:none}
.grade2-rhythmic-board .gr-scene svg text{font-family:inherit;paint-order:stroke;stroke:#f8fff6;stroke-width:1px;stroke-linejoin:round}
.gr-support-scene{min-height:0;min-width:0;display:grid;width:100%;height:100%}
.gr-support-scene .gr-scene{min-height:0;height:100%}
@media(prefers-reduced-motion:reduce){.grade2-rhythmic-board .gr-scene *{animation:none!important;transition:none!important}}

/* grade2-rhythmic-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-rhythmic-board) .section-track{grid-template-columns:repeat(8,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-rhythmic-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-rhythmic-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-rhythmic-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-rhythmic-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-rhythmic-board) .teaching-board.grade2-rhythmic-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-rhythmic-board) .grade2-rhythmic-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-rhythmic-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-rhythmic-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-rhythmic-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-rhythmic-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-rhythmic-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-rhythmic-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-rhythmic-board) .teaching-board.grade2-rhythmic-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-rhythmic-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(8,44px)}
 .lesson-shell:has(.grade2-rhythmic-board) .back-button,.lesson-shell:has(.grade2-rhythmic-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-rhythmic-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-rhythmic-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-rhythmic-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-rhythmic-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-rhythmic-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-rhythmic-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-rhythmic-board) .teaching-board.grade2-rhythmic-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-rhythmic-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-rhythmic-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-rhythmic-board) .teaching-board.grade2-rhythmic-board{height:440px!important}
}

.lesson-shell:has(.grade2-rhythmic-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-rhythmic-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-rhythmic-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}


/* Layout only: model geometry is owned by the lesson motion module. */
.grade2-rhythmic-board .board-square{box-sizing:border-box;overflow:hidden}
.grade2-rhythmic-board .board-kicker{display:none}
.grade2-rhythmic-board .grade2-rhythmic-question{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:12px}
.grade2-rhythmic-board .grade2-rhythmic-question>*{grid-column:1;min-width:0}
.grade2-rhythmic-board .grade2-rhythmic-question>p{display:none}
.grade2-rhythmic-board .grade2-rhythmic-question>h1{font-size:clamp(20px,2.2vw,30px);line-height:1.16;margin:0;max-width:100%}
.grade2-rhythmic-board .grade2-rhythmic-task{height:100%;width:100%;min-height:0;max-height:100%;padding:4px;overflow:hidden}
.grade2-rhythmic-board .gr-scene>svg,.grade2-rhythmic-board .gr-complete-model>svg{height:100%;max-height:100%;min-height:0;min-width:0}
.grade2-rhythmic-board~.lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
.grade2-rhythmic-board~.lesson-footer .theme4-final-choices button{width:100%;min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.2;padding:6px}
.grade2-rhythmic-board .grade2-rhythmic-complete,.grade2-rhythmic-board .grade2-rhythmic-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;gap:10px;padding:16px}
.grade2-rhythmic-board .grade2-rhythmic-complete>*,.grade2-rhythmic-board .grade2-rhythmic-finish>*{grid-column:1;min-width:0;max-width:100%}
.grade2-rhythmic-board .grade2-rhythmic-complete>span,.grade2-rhythmic-board .grade2-rhythmic-finish>span{display:none}
.grade2-rhythmic-board .grade2-rhythmic-complete h1,.grade2-rhythmic-board .grade2-rhythmic-finish h1{font-size:clamp(22px,2.3vw,30px);line-height:1.15;margin:0}
.grade2-rhythmic-board .grade2-rhythmic-complete p,.grade2-rhythmic-board .grade2-rhythmic-finish p{font-size:16px;line-height:1.3;margin:0}
@media(max-width:700px){
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-rhythmic-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-rhythmic-board .grade2-rhythmic-question>h1{font-size:20px}
 .grade2-rhythmic-board .grade2-rhythmic-complete p,.grade2-rhythmic-board .grade2-rhythmic-finish p{font-size:14px}
}
/* Keep short model labels readable at the phone's actual SVG scale. */
.grade2-rhythmic-board[data-gr-phase="0"] .gr-scene text[y="290"]{display:none}
@media(max-width:700px){
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="22"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="23"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="24"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="25"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="26"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="27"]{font-size:28px}
}
@media(max-width:700px){.grade2-rhythmic-board .gr-scene svg:has([data-gr-cell]) text[y="363"]{font-size:27px}}

/* Narrow tablet labels retain the same readable scale as the phone. */
@media(min-width:701px) and (max-width:767px){
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="22"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="23"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="24"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="25"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="26"],
 .grade2-rhythmic-board .gr-scene svg:not(:has([data-gr-cell])) text[font-size="27"]{font-size:28px}
}

/* grade2-rhythmic-support.css */
/* A full-width independent example keeps number labels readable. */
.lesson-shell .grade2-rhythmic-board.g2-rhythmic-help-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-rhythmic-board.g2-rhythmic-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:8px 12px!important}
.grade2-rhythmic-board.g2-rhythmic-help-open .grade2-rhythmic-task{display:none!important}
.grade2-rhythmic-board.g2-rhythmic-help-open .grade2-rhythmic-question>h1{margin:0;font-size:20px;line-height:1.2}
.lesson-shell .grade2-rhythmic-board .g2-rhythmic-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr);height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-rhythmic-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.g2-rhythmic-support header>b{font-size:14px;text-align:center;line-height:1.1;color:#53685b}
.lesson-shell .g2-rhythmic-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:#fff;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.g2-rhythmic-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-rhythmic-support button:disabled{opacity:.55}
.g2-rhythmic-help-content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:4px;min-height:0;min-width:0}
.g2-rhythmic-help-stage{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.g2-rhythmic-help-stage>svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-rhythmic-help-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,.55fr);align-items:center;gap:8px;min-height:44px}
.g2-rhythmic-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center}
.g2-rhythmic-help-actions button{width:100%}
@media(max-width:700px){.grade2-rhythmic-board.g2-rhythmic-help-open .grade2-rhythmic-question>h1{font-size:18px}.g2-rhythmic-support header>b{max-width:102px}.g2-rhythmic-help-controls{grid-template-columns:minmax(0,1fr) 132px;gap:4px}}
.grade2-rhythmic-board.g2-rhythmic-help-open .gr-help-task-context{display:block!important;margin:5px 0 0!important;font-size:16px!important;line-height:1.15!important;font-weight:800;color:#285851;text-align:center;white-space:normal}
@media(max-width:700px){
 .lesson-shell:has(.grade2-rhythmic-board.g2-rhythmic-help-open) .teacher-bubble{height:80px;min-height:80px;max-height:80px}
 .lesson-shell:has(.grade2-rhythmic-board.g2-rhythmic-help-open) .teacher-transcript{max-height:62px}
 .lesson-shell:has(.grade2-rhythmic-board.g2-rhythmic-help-open) .teaching-board.grade2-rhythmic-board{height:396px!important}
}

/* grade2-estimate-astra.css */
.grade2-estimate-board .ge-scene{position:relative;min-width:0;min-height:0;width:100%;height:100%;isolation:isolate}
.grade2-estimate-board .ge-scene>svg,.ge-scene>svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%;overflow:visible;font-family:inherit}
.ge-field{aspect-ratio:var(--ge-field-ratio);max-height:100%;margin:auto}
.ge-field-plane{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.ge-field-plane>svg{display:block;width:100%;height:100%;overflow:hidden}
.ge-field>svg{overflow:hidden}
.ge-object{position:absolute;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;margin:0!important;transform:translate(-50%,-50%);border:0!important;border-radius:50%;background:transparent!important;box-shadow:none!important;z-index:2;touch-action:manipulation}
.ge-object:focus-visible{outline:3px solid #c58a32;outline-offset:2px}
.ge-object[aria-pressed=true]{cursor:default}
.ge-object:disabled{opacity:1}
.ge-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:20px;border-radius:20px;color:#f7ffff;background:linear-gradient(145deg,#087c76,#056660);z-index:4;text-align:center}
.ge-cover[hidden]{display:none}
.ge-cover b{font-size:clamp(20px,2.6vw,30px)}
.ge-cover span{font-size:16px}
.ge-organize{min-height:44px;padding:7px 18px;border:2px solid #9ecabe;border-radius:14px;background:#eff8ef;color:#245d58;font:750 16px inherit;justify-self:center}
.grade2-estimate-hero::after{display:none!important}
.grade2-estimate-hero>img{z-index:0!important}
.grade2-estimate-hero .estimate-hero-copy{z-index:1}
.grade2-estimate-hero .estimate-hero-cloud{position:relative!important;inset:auto!important;z-index:1;width:100%!important;height:100%!important;transform:none!important}
.grade2-estimate-model,.grade2-estimate-compare-model{display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:0}
.grade2-estimate-complete>[data-ge-owned],.grade2-estimate-finish>[data-ge-owned]{width:100%;min-height:0;height:100%}
.ge-preview-scene .ge-object{visibility:hidden}
@media(prefers-reduced-motion:reduce){.ge-scene *{transition:none!important;animation:none!important}}
.ge-flower-focus,.ge-flower-counted{filter:drop-shadow(0 0 2px #ff9b32) drop-shadow(0 0 4px #ffb33e)}

/* grade2-estimate-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-estimate-board) .section-track{grid-template-columns:repeat(7,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-estimate-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-estimate-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-estimate-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:12px}
.lesson-shell:has(.grade2-estimate-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-estimate-board) .teaching-board.grade2-estimate-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-estimate-board) .grade2-estimate-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-estimate-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-estimate-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-estimate-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-estimate-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-estimate-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-estimate-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-estimate-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-estimate-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-estimate-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-estimate-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-estimate-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-estimate-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-estimate-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-estimate-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-estimate-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-estimate-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-estimate-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-estimate-board) .teaching-board.grade2-estimate-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-estimate-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-estimate-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(7,44px)}
 .lesson-shell:has(.grade2-estimate-board) .back-button,.lesson-shell:has(.grade2-estimate-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-estimate-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-estimate-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-estimate-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-estimate-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-estimate-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-estimate-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-estimate-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-estimate-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-estimate-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-estimate-board) .raise-hand .hand-copy strong{font-size:12px}
 .lesson-shell:has(.grade2-estimate-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-estimate-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-estimate-board) .teaching-board.grade2-estimate-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-estimate-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-estimate-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-estimate-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-estimate-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-estimate-board) .teaching-board.grade2-estimate-board{height:440px!important}
}

.lesson-shell:has(.grade2-estimate-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-estimate-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-estimate-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}


/* Lesson layout; object geometry is owned by the estimate motion module. */
.grade2-estimate-board .grade2-estimate-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px;padding:12px}
.grade2-estimate-board .grade2-estimate-hero>*{min-width:0;max-width:100%}
.grade2-estimate-board .estimate-hero-copy{position:relative;inset:auto;width:100%;max-width:none;padding:8px;border-radius:12px;background:rgba(246,255,251,.95);color:#164f4d;box-sizing:border-box}
.grade2-estimate-board .estimate-hero-copy>span,.grade2-estimate-board .estimate-hero-copy>p{display:none}
.grade2-estimate-board .estimate-hero-copy h1{font-size:clamp(20px,2.2vw,30px);line-height:1.15;margin:0}
.grade2-estimate-board .grade2-estimate-hero .estimate-hero-cloud{padding:0;margin:0;background:transparent;box-shadow:none;min-height:0}
.grade2-estimate-board .board-square{box-sizing:border-box;overflow:hidden}
.grade2-estimate-board .board-kicker{display:none}
.grade2-estimate-board .grade2-estimate-cycle,.grade2-estimate-board .grade2-estimate-method{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:12px;justify-content:stretch;align-items:stretch}
.grade2-estimate-board .grade2-estimate-cycle>*,.grade2-estimate-board .grade2-estimate-method>*{grid-column:1;min-width:0}
.grade2-estimate-board .grade2-estimate-cycle>.grade2-estimate-stage,.grade2-estimate-board .grade2-estimate-method>.grade2-estimate-stage{grid-row:1}
.grade2-estimate-board .grade2-estimate-cycle>h1,.grade2-estimate-board .grade2-estimate-method>h1{grid-row:2}
.grade2-estimate-board .grade2-estimate-cycle>p,.grade2-estimate-board .grade2-estimate-method>p{display:none}
.grade2-estimate-board .board-square h1{font-size:clamp(20px,2.2vw,30px);line-height:1.15;margin:0;max-width:100%;text-align:center}
.grade2-estimate-board .grade2-estimate-stage{height:100%;width:100%;min-height:0;max-height:100%;padding:0;overflow:hidden;display:grid;place-items:stretch}
.grade2-estimate-board .ge-scene{height:100%;width:100%;min-height:0;min-width:0}
.grade2-estimate-board .ge-scene>svg{height:100%;width:100%;max-height:100%;min-height:0;min-width:0}
.grade2-estimate-board~.lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
.grade2-estimate-board~.lesson-footer .theme4-final-choices button{width:100%;min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.2;padding:6px}
.grade2-estimate-board .grade2-estimate-complete,.grade2-estimate-board .grade2-estimate-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;gap:10px;padding:16px}
.grade2-estimate-board .grade2-estimate-complete>*,.grade2-estimate-board .grade2-estimate-finish>*{grid-column:1;min-width:0;max-width:100%}
.grade2-estimate-board .grade2-estimate-complete>span,.grade2-estimate-board .grade2-estimate-finish>span{display:none}
.grade2-estimate-board .grade2-estimate-complete p,.grade2-estimate-board .grade2-estimate-finish p{font-size:16px;line-height:1.3;margin:0}
@media(max-width:700px){
 .lesson-shell:has(.grade2-estimate-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-estimate-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-estimate-board .grade2-estimate-complete p,.grade2-estimate-board .grade2-estimate-finish p{font-size:14px}
 .lesson-shell:has(.grade2-estimate-board:not(.g2-estimate-help-open) .ge-count-scene) .teacher-bubble{height:70px;min-height:70px;max-height:70px}
 .lesson-shell:has(.grade2-estimate-board:not(.g2-estimate-help-open) .ge-count-scene) .teacher-transcript{max-height:52px}
 .lesson-shell:has(.grade2-estimate-board:not(.g2-estimate-help-open) .ge-count-scene) .lesson-avatar{height:104px}
 .lesson-shell:has(.grade2-estimate-board:not(.g2-estimate-help-open) .ge-count-scene) .teaching-board.grade2-estimate-board{height:446px!important}
}

@media(max-width:700px){
 .lesson-shell:has(.grade2-estimate-board:not(.g2-estimate-help-open) .ge-count-scene) .lesson-teacher{grid-template-rows:auto 44px 54px 0}
 .lesson-shell:has(.grade2-estimate-board:not(.g2-estimate-help-open) .ge-count-scene) .talk-help{display:none}
}

/* grade2-estimate-support.css */
/* A full-width independent example keeps number labels readable. */
.lesson-shell .grade2-estimate-board.g2-estimate-help-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-estimate-board.g2-estimate-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:8px 12px!important}
.grade2-estimate-board.g2-estimate-help-open .grade2-estimate-stage{display:none!important}
.grade2-estimate-board.g2-estimate-help-open .ge-organize{display:none!important}
.grade2-estimate-board.g2-estimate-help-open .grade2-estimate-cycle>h1{margin:0;font-size:20px;line-height:1.2}
.lesson-shell .grade2-estimate-board .g2-estimate-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr);height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-estimate-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.g2-estimate-support header>b{font-size:14px;text-align:center;line-height:1.1;color:#53685b}
.lesson-shell .g2-estimate-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:#fff;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.g2-estimate-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-estimate-support button:disabled{opacity:.55}
.g2-estimate-help-content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:4px;min-height:0;min-width:0}
.g2-estimate-help-stage{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.g2-estimate-help-stage>svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-estimate-help-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;min-height:44px}
.g2-estimate-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center}
.g2-estimate-help-actions button{width:100%}
@media(max-width:700px){.grade2-estimate-board.g2-estimate-help-open .grade2-estimate-cycle>h1{font-size:18px}.g2-estimate-support header>b{max-width:102px}.g2-estimate-help-controls{grid-template-columns:minmax(0,1fr);gap:4px}}
.grade2-estimate-board.g2-estimate-help-open .ge-help-task-context{display:block!important;margin:5px 0 0!important;font-size:16px!important;line-height:1.15!important;font-weight:800;color:#285851;text-align:center;white-space:normal}
.grade2-estimate-board.g2-estimate-help-open:has(.g2-estimate-support[data-kind="reference"]) .ge-help-task-context{display:none!important}
@media(max-width:700px){
 .lesson-shell:has(.grade2-estimate-board.g2-estimate-help-open) .teacher-bubble{height:80px;min-height:80px;max-height:80px}
 .lesson-shell:has(.grade2-estimate-board.g2-estimate-help-open) .teacher-transcript{max-height:62px}
 .lesson-shell:has(.grade2-estimate-board.g2-estimate-help-open) .teaching-board.grade2-estimate-board{height:396px!important}
}

.g2-estimate-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.g2-estimate-help-controls{gap:4px}
.grade2-estimate-board.g2-estimate-help-open .grade2-estimate-method>h1{font-size:20px;line-height:1.15;margin:0}
.grade2-estimate-board.g2-estimate-help-open .board-square>p:not(.ge-help-task-context){display:none!important}
@media(max-width:700px){.grade2-estimate-board.g2-estimate-help-open .grade2-estimate-method>h1{font-size:18px}}

/* grade2-pattern-astra.css */
[data-pattern-astra] .gp-scene{width:100%;height:100%;min-height:0;position:relative;overflow:hidden;display:grid;place-items:center}
[data-pattern-astra] .gp-scene>svg,.gp-support-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:visible}
[data-pattern-astra] .gp-scene text,.gp-support-scene text{font-family:inherit}
[data-pattern-astra] .grade2-pattern-hero::after{display:none}
[data-pattern-astra] .grade2-pattern-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.42}
[data-pattern-astra] .pattern-hero-copy{position:relative;z-index:1;background:#f8fff7de;border-radius:18px;padding:10px}
[data-pattern-astra] .gp-intro{position:relative;z-index:1;background:#f9fff1ed;border-radius:18px}
[data-pattern-astra] .grade2-pattern-model{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}
[data-pattern-astra] .gp-complete{min-height:0}
[data-pattern-astra] .pattern-build-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%;min-width:0;overflow:visible;position:relative}
[data-pattern-astra] .pattern-build-slots>span{min-width:0;min-height:62px;aspect-ratio:1;display:grid;place-items:center;border:2px solid #95cabf;border-radius:14px;background:#f8fcf8;font-size:22px;color:#447471}
[data-pattern-astra] .pattern-build-slots>span>img{width:50px;height:50px;max-width:90%;object-fit:contain}
[data-pattern-astra] .pattern-build-unit>img{width:50px;height:50px;object-fit:contain}
[data-pattern-astra] .gp-matched{outline:3px solid #e9983d;outline-offset:2px}
[data-pattern-astra] .gp-moving-piece{position:absolute;object-fit:contain;z-index:10;pointer-events:none;filter:drop-shadow(0 4px 3px #183f432d)}
.gp-support-scene{height:100%;width:100%;min-height:0;display:grid;place-items:center}
@media(max-width:767px){[data-pattern-astra] .pattern-build-slots{gap:4px}[data-pattern-astra] .pattern-build-slots>span{min-height:48px}[data-pattern-astra] .pattern-build-slots>span>img{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){[data-pattern-astra] *{scroll-behavior:auto!important}}

[data-pattern-astra]{position:relative}
[data-pattern-astra] .pattern-build-unit>img,[data-pattern-astra] .pattern-build-slots>span>img{width:var(--gp-piece-size,44px);height:var(--gp-piece-size,44px)}

[data-pattern-astra] .gp-create-match-layer{position:absolute;inset:0;pointer-events:none}
[data-pattern-astra] .gp-create-match-layer>div{position:absolute;border:3px solid #e99b43;border-radius:18px;box-sizing:border-box}
[data-pattern-astra] .pattern-build-slots>.gp-matched{outline:none}

/* grade2-pattern-shell-astra.css */
/* This lesson gives the model a fixed teaching stage; help shares that stage. */
.lesson-shell:has(.grade2-pattern-board) .section-track{grid-template-columns:repeat(8,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-pattern-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-pattern-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-pattern-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:14px}
.lesson-shell:has(.grade2-pattern-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-pattern-board) .teaching-board.grade2-pattern-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-pattern-board) .grade2-pattern-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-pattern-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-pattern-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-pattern-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-pattern-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-pattern-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-pattern-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-pattern-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-pattern-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-pattern-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-pattern-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-pattern-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-pattern-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-pattern-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-pattern-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-pattern-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-pattern-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-pattern-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-pattern-board) .teaching-board.grade2-pattern-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-pattern-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-pattern-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(8,44px)}
 .lesson-shell:has(.grade2-pattern-board) .back-button,.lesson-shell:has(.grade2-pattern-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-pattern-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-pattern-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-pattern-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-pattern-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-pattern-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-pattern-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-pattern-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-pattern-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-pattern-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-pattern-board) .raise-hand .hand-copy strong{font-size:14px}
 .lesson-shell:has(.grade2-pattern-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-pattern-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-pattern-board) .teaching-board.grade2-pattern-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-pattern-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-pattern-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-pattern-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-pattern-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-pattern-board) .teaching-board.grade2-pattern-board{height:440px!important}
}

.lesson-shell:has(.grade2-pattern-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-pattern-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-pattern-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}



/* Pattern-only teaching layout. Mathematical SVG coordinates stay with the motor. */
.lesson-shell:has(.grade2-pattern-board) .section-track{gap:2px}
.grade2-pattern-board .board-square{box-sizing:border-box;overflow:hidden;padding:12px;min-width:0}
.grade2-pattern-board .board-kicker{display:none}
.grade2-pattern-board .board-square h1{margin:0;max-width:100%;font-size:clamp(20px,2.2vw,30px);line-height:1.15;text-align:center}
.grade2-pattern-board .board-square p{font-size:16px;line-height:1.25;margin:0}
.grade2-pattern-board .grade2-pattern-task{display:grid;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch;justify-content:stretch}
.grade2-pattern-board .grade2-pattern-task>*{grid-column:1;min-width:0;max-width:100%}
.grade2-pattern-board .grade2-pattern-task-visual{grid-row:1;height:100%;max-height:100%;width:100%;min-height:0;padding:0;display:grid;place-items:stretch;overflow:hidden}
.grade2-pattern-board .grade2-pattern-task>h1{grid-row:2}
.grade2-pattern-board .grade2-pattern-task>p{display:none}
.grade2-pattern-board .gp-scene{min-height:0;min-width:0;max-width:100%;height:100%;width:100%}
.grade2-pattern-board .gp-scene>svg{width:100%;height:100%;min-height:0;max-height:100%}
.grade2-pattern-board .grade2-pattern-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px}
.grade2-pattern-board .pattern-hero-copy{position:relative;inset:auto;width:100%;max-width:none;padding:8px;box-sizing:border-box}
.grade2-pattern-board .pattern-hero-copy>span,.grade2-pattern-board .pattern-hero-copy>p{display:none}
.grade2-pattern-board .pattern-hero-copy h1{color:#174f45}
.grade2-pattern-board .grade2-pattern-model{grid-template-columns:minmax(0,1fr);padding:12px}
.grade2-pattern-board .grade2-pattern-model>*{min-width:0;max-width:100%;grid-column:1}
.grade2-pattern-board .grade2-pattern-create{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(100px,1fr) auto auto;gap:8px;align-content:stretch;justify-content:stretch;padding:12px}
.grade2-pattern-board .grade2-pattern-create>*{min-width:0;max-width:100%;grid-column:1}
.grade2-pattern-board .pattern-build-unit{grid-row:1;justify-self:center;margin:0;max-width:100%}
.grade2-pattern-board .pattern-build-slots{grid-row:2;align-self:center}
.grade2-pattern-board .grade2-pattern-create>h1{grid-row:3}
.grade2-pattern-board .grade2-pattern-create>p{grid-row:4;text-align:center}
.grade2-pattern-board~.lesson-footer .theme4-final-choices,.grade2-pattern-board~.lesson-footer .pattern-build-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:0}
.grade2-pattern-board~.lesson-footer .theme4-final-choices:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.grade2-pattern-board~.lesson-footer button{min-height:60px;min-width:0;white-space:normal;font-size:16px;line-height:1.15;padding:6px}
.grade2-pattern-board~.lesson-footer .pattern-build-controls button{display:flex;justify-content:center;align-items:center;gap:6px}
.grade2-pattern-board~.lesson-footer .pattern-build-controls img{width:30px;height:30px;object-fit:contain}
.grade2-pattern-board .grade2-pattern-complete,.grade2-pattern-board .grade2-pattern-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:10px;padding:16px}
.grade2-pattern-board .grade2-pattern-complete>*,.grade2-pattern-board .grade2-pattern-finish>*{grid-column:1;min-width:0;max-width:100%}
.grade2-pattern-board .grade2-pattern-complete>span,.grade2-pattern-board .grade2-pattern-finish>span{display:none}
.grade2-pattern-board .gp-complete{grid-row:1;min-height:0}
.grade2-pattern-board .grade2-pattern-complete>h1,.grade2-pattern-board .grade2-pattern-finish>h1{grid-row:2}
.grade2-pattern-board .grade2-pattern-finish>b{font-size:16px;text-align:center}
@media(max-width:700px){
 .lesson-shell:has(.grade2-pattern-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-pattern-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-pattern-board .board-square p{font-size:14px}
 .grade2-pattern-board .grade2-pattern-create{padding:10px;gap:6px}
 .grade2-pattern-board .grade2-pattern-create>h1{font-size:20px}
}

@media(max-width:767px){.grade2-pattern-board .gp-intro text[font-size="23"],.grade2-pattern-board .gp-intro text[font-size="24"]{font-size:25px}}

@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-pattern-board) .narration-controls,.lesson-shell:has(.grade2-pattern-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(44px,1fr))}
 .lesson-shell:has(.grade2-pattern-board) .narration-controls button{height:44px;white-space:normal;line-height:1.15}
}
@media(max-width:767px){
 .grade2-pattern-board[data-gp-phase="2"] .gp-scene svg[viewBox="0 0 600 240"] text[font-size="23"],
 .grade2-pattern-board[data-gp-phase="3"] .gp-scene svg[viewBox="0 0 600 240"] text[font-size="23"]{font-size:25px}
}

/* grade2-pattern-support.css */
/* A separate complete example, with the child's given sequence retained above it. */
.lesson-shell .grade2-pattern-board.g2-pattern-help-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-pattern-board.g2-pattern-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:8px 12px!important}
.grade2-pattern-board.g2-pattern-help-open .grade2-pattern-task-visual,.grade2-pattern-board.g2-pattern-help-open .pattern-build-unit,.grade2-pattern-board.g2-pattern-help-open .pattern-build-slots,.grade2-pattern-board.g2-pattern-help-open .gp-scene{display:none!important}
.grade2-pattern-board.g2-pattern-help-open .board-square>p:not(.gp-help-task-context){display:none!important}
.grade2-pattern-board.g2-pattern-help-open .board-square>h1{font-size:20px;line-height:1.15;margin:0}
.grade2-pattern-board.g2-pattern-help-open .gp-help-task-context{display:block!important;margin:5px 0 0!important;font-size:16px!important;line-height:1.2!important;font-weight:800;color:#285851;text-align:center;white-space:normal}
.lesson-shell .grade2-pattern-board .g2-pattern-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr);height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.g2-pattern-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.g2-pattern-support header>b{font-size:14px;text-align:center;line-height:1.1;color:#53685b}
.lesson-shell .g2-pattern-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:#fff;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.g2-pattern-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}
.g2-pattern-support button:disabled{opacity:.55}
.g2-pattern-help-content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:4px;min-height:0;min-width:0}
.g2-pattern-support .gp-support-scene{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.g2-pattern-support .gp-support-scene>svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2-pattern-help-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;min-height:44px}
.g2-pattern-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center}
.g2-pattern-help-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.g2-pattern-help-actions:has(button:only-child){grid-template-columns:minmax(0,1fr)}
.g2-pattern-help-actions button{width:100%}
@media(max-width:700px){
 .grade2-pattern-board.g2-pattern-help-open .board-square>h1{font-size:18px}
 .g2-pattern-support header>b{max-width:102px}
 .grade2-pattern-board.g2-pattern-help-open .gp-help-task-context{font-size:14px!important}
 .lesson-shell:has(.grade2-pattern-board.g2-pattern-help-open) .teacher-bubble{height:80px;min-height:80px;max-height:80px}
 .lesson-shell:has(.grade2-pattern-board.g2-pattern-help-open) .teacher-transcript{max-height:62px}
 .lesson-shell:has(.grade2-pattern-board.g2-pattern-help-open) .teaching-board.grade2-pattern-board{height:396px!important}
}

@media(max-width:700px){.g2-pattern-support .gp-support-scene text[font-size="24"]{font-size:25px}}

/* grade2-theme2-assessment-astra.css */
/* Lesson 13 scene geometry only; shell/support layout belongs to the UI package. */
.g2a-scene{position:relative;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden;isolation:isolate}
.g2a-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:visible}
.g2a-field-plane{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.g2a-field-plane>svg{display:block;width:100%;height:100%;overflow:visible}
.g2a-object{position:absolute;transform:translate(-50%,-50%);padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer;z-index:3;touch-action:manipulation;min-width:44px;min-height:44px}
.g2a-object:focus-visible{outline:2px solid #dc932c;outline-offset:1px}
.g2a-object:disabled{opacity:1;cursor:default}
.g2a-object .g2a-count-state{pointer-events:none}
.g2a-flower-focus,.g2a-flower-counted{filter:drop-shadow(0 0 3px #f69a24) drop-shadow(0 0 5px #ffc15b)}
.g2a-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px;box-sizing:border-box;border:2px solid #99c9bc;border-radius:22px;background:#edf7ef;z-index:5;text-align:center;color:#245f59}
.g2a-cover[hidden]{display:none}
.g2a-cover b{font-size:clamp(20px,2.5vw,29px)}
.g2a-cover span{font-size:16px;line-height:1.45;max-width:28em}
.g2a-count-container{display:grid;grid-template-rows:minmax(0,1fr) 44px;gap:5px;min-height:0;height:100%}
.g2a-organize{min-height:44px;border:1px solid #91bdac;background:#e7f3e9;border-radius:12px;color:#255a52;font-size:15px;font-weight:750}
.g2a-count-container:has(.g2a-organize[hidden]){grid-template-rows:minmax(0,1fr)}
.g2a-complete{min-height:0;flex:1;width:100%}
.g2a-intro-focus{position:absolute;inset:auto 3% 4%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;pointer-events:none}
.g2a-intro-focus span{padding:8px 2px;border:2px solid transparent;border-radius:12px;background:#f5fff5e8;text-align:center;font-size:14px;font-weight:750;color:#285b51}
.g2a-intro-focus span.is-active{border-color:#d89932;background:#fff1cc;box-shadow:0 0 0 3px #ffcf6d55}
.g2a-static-context{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:#27675b;font-size:20px}

.g2a-native-stations>*{transition:background-color .12s,border-color .12s}.g2a-native-stations>.is-active{background:#fff0c8!important;border-color:#d69935!important;box-shadow:0 0 0 3px #ecc66d55}

@media(max-width:767px){.g2a-support[data-kind="distance"] .g2a-scene text[font-size="27"],.g2a-support[data-kind="repeat"] .g2a-scene text[font-size="27"]{font-size:30px}}

/* grade2-theme2-assessment-shell-astra.css */
/* Theme 2 assessment only: stable space for the model, task and answer controls. */
.lesson-shell:has(.grade2-theme2-check-board) .section-track{grid-template-columns:repeat(8,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:4px;overflow-x:auto}
.lesson-shell:has(.grade2-theme2-check-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-theme2-check-board) .narration-controls{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-theme2-check-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:14px}
.lesson-shell:has(.grade2-theme2-check-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-theme2-check-board) .teaching-board.grade2-theme2-check-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-theme2-check-board) .grade2-theme2-check-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-theme2-check-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-theme2-check-board) .lesson-footer button{min-height:44px}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-classroom{padding:12px 0 12px;gap:36px}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-theme2-check-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-theme2-check-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-theme2-check-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-theme2-check-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-theme2-check-board) .teaching-board.grade2-theme2-check-board{height:590px!important}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-theme2-check-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(8,44px)}
 .lesson-shell:has(.grade2-theme2-check-board) .back-button,.lesson-shell:has(.grade2-theme2-check-board) .restart-lesson{min-width:44px;min-height:44px}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-bubble{grid-column:2/-1;grid-row:1;min-height:70px;padding:8px}
 .lesson-shell:has(.grade2-theme2-check-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-theme2-check-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-theme2-check-board) .raise-hand .sound-bars{display:none}
 .lesson-shell:has(.grade2-theme2-check-board) .raise-hand .hand-copy strong{font-size:14px}
 .lesson-shell:has(.grade2-theme2-check-board) .raise-hand .hand-copy small{font-size:10px}
 .lesson-shell:has(.grade2-theme2-check-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-theme2-check-board) .teaching-board.grade2-theme2-check-board{height:380px!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-theme2-check-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-theme2-check-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-theme2-check-board) .teaching-board.grade2-theme2-check-board{height:440px!important}
}

.lesson-shell:has(.grade2-theme2-check-board) .lesson-header button{min-width:44px;min-height:44px}

.lesson-shell:has(.grade2-theme2-check-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr))}
.lesson-shell:has(.grade2-theme2-check-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}

/* The outer shell owns available space; the motor owns mathematical coordinates. */
.lesson-shell:has(.grade2-theme2-check-board) .section-track{gap:2px}
.grade2-theme2-check-board .board-square{box-sizing:border-box;overflow:hidden;padding:12px;min-width:0}
.grade2-theme2-check-board .board-kicker{display:none!important}
.grade2-theme2-check-board .board-square h1{margin:0;max-width:100%;font-size:clamp(20px,2.2vw,30px);line-height:1.15;text-align:center}
.grade2-theme2-check-board .board-square p{font-size:16px;line-height:1.25;margin:0}
.grade2-theme2-check-board .theme2-check-task,.grade2-theme2-check-board .theme2-check-estimate{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;align-items:stretch;justify-content:stretch}
.grade2-theme2-check-board .theme2-check-task>*,.grade2-theme2-check-board .theme2-check-estimate>*{grid-column:1;min-width:0;max-width:100%}
.grade2-theme2-check-board .theme2-check-visual,.grade2-theme2-check-board .theme2-check-estimate-visual{grid-row:1;display:grid;place-items:stretch;min-height:0;max-height:100%;height:100%;width:100%;padding:0;overflow:hidden;background:transparent}
.grade2-theme2-check-board .theme2-check-task>h1,.grade2-theme2-check-board .theme2-check-estimate>h1{grid-row:2}
.grade2-theme2-check-board .theme2-check-task>p:not(.g2a-help-task-context),.grade2-theme2-check-board .theme2-check-estimate>p:not(.g2a-help-task-context){display:none}
.grade2-theme2-check-board .g2a-scene{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%}
.grade2-theme2-check-board .g2a-scene>svg{width:100%;height:100%;max-height:100%;min-height:0}
.grade2-theme2-check-board .theme2-check-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 48px;gap:6px;padding:6px!important}
.grade2-theme2-check-board .theme2-check-hero>img{position:static;inset:auto;width:100%;height:100%;object-fit:contain;z-index:auto}
.grade2-theme2-check-board .theme2-check-hero-copy,.grade2-theme2-check-board .theme2-check-hero:after{display:none}
.grade2-theme2-check-board .theme2-check-stations{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;height:48px;width:100%;grid-row:2}
.grade2-theme2-check-board .theme2-check-stations i{box-sizing:border-box;width:44px;height:44px;font-size:18px;flex:0 0 44px}
.grade2-theme2-check-board~.lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:0}
.grade2-theme2-check-board~.lesson-footer .theme4-final-choices:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.grade2-theme2-check-board~.lesson-footer button{min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.15;padding:6px}
.grade2-theme2-check-board~.lesson-footer .pattern-option-visual img{width:30px;height:30px;object-fit:contain}
.grade2-theme2-check-board .theme2-check-complete,.grade2-theme2-check-board .theme2-check-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:10px;padding:16px}
.grade2-theme2-check-board .theme2-check-complete>*,.grade2-theme2-check-board .theme2-check-finish>*{grid-column:1;min-width:0;max-width:100%}
.grade2-theme2-check-board .theme2-check-complete>span,.grade2-theme2-check-board .theme2-check-finish>span,.grade2-theme2-check-board .theme2-check-reflection-complete>span{display:none}
.grade2-theme2-check-board .g2a-complete{grid-row:1;min-height:0}
.grade2-theme2-check-board .theme2-check-reflection{gap:16px;padding:18px}
.grade2-theme2-check-board .theme2-check-reflection>p{font-size:16px;line-height:1.3}
.grade2-theme2-check-board .theme2-check-reflection-complete{gap:16px;padding:16px}
.grade2-theme2-check-board .theme2-check-reflection-complete>div{gap:8px}
.grade2-theme2-check-board .theme2-check-reflection-complete p{padding:10px;font-size:16px;line-height:1.25;min-height:44px;box-sizing:border-box}
.grade2-theme2-check-board .theme2-check-reflection-complete p b{flex:0 0 30px}
.grade2-theme2-check-board .theme2-check-score span{font-size:14px}
.grade2-theme2-check-board .theme2-check-finish{grid-template-rows:auto auto auto auto;align-content:center}
.grade2-theme2-check-board .theme2-check-finish .theme2-check-score{justify-self:center}
.grade2-theme2-check-board .theme2-check-finish .g2a-static-context{height:auto;max-height:60px;min-height:0;text-align:center}
.lesson-shell:has(.grade2-theme2-check-board) [data-theme4-final-help="together"]{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px}
.lesson-shell:has(.grade2-theme2-check-board) [data-theme4-final-help="together"] small{display:none}
@media(max-width:700px){
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-bubble{font-size:14px;line-height:1.35;height:96px;min-height:96px;max-height:96px;overflow:hidden}
 .lesson-shell:has(.grade2-theme2-check-board) .teacher-transcript{display:block;font-size:14px;line-height:1.35;max-height:78px;overflow-y:auto;overscroll-behavior:contain}
 .grade2-theme2-check-board .board-square p{font-size:14px}
 .lesson-shell:has(.grade2-theme2-check-board) .teaching-board.grade2-theme2-check-board:has(.g2a-count-scene){height:420px!important}
 .grade2-theme2-check-board .theme2-check-estimate:has(.g2a-count-scene){padding-top:6px;padding-bottom:6px}
 .lesson-shell:has(.grade2-theme2-check-board .g2a-count-scene) .teacher-bubble{height:76px;min-height:76px;max-height:76px}
 .lesson-shell:has(.grade2-theme2-check-board .g2a-count-scene) .teacher-transcript{max-height:58px}
 .grade2-theme2-check-board .theme2-check-reflection-complete{gap:10px;padding:12px}
 .grade2-theme2-check-board .theme2-check-reflection-complete p{font-size:14px;line-height:1.25;padding:8px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-theme2-check-board) .narration-controls,.lesson-shell:has(.grade2-theme2-check-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(44px,1fr))}
 .lesson-shell:has(.grade2-theme2-check-board) .narration-controls button{height:44px;white-space:normal;line-height:1.15}
}




/* Final phone readability: only the affected independent helper labels. */
@media(max-width:700px){
 .grade2-theme2-check-board .g2a-support[data-kind="numbers"] .g2a-scene text[font-size="28"],
 .grade2-theme2-check-board .g2a-support[data-kind="sequence"] .g2a-scene text[font-size="26"]{font-size:30px}
 .grade2-theme2-check-board .g2a-support[data-kind="compare"] .g2a-scene text[font-size="27"]{font-size:29px}
 .grade2-theme2-check-board .g2a-support[data-kind="reference"] .g2a-scene text[font-size="27"]{font-size:28px}
}

/* grade2-theme2-assessment-support.css */
.lesson-shell .grade2-theme2-check-board.g2a-help-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-theme2-check-board.g2a-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:6px 10px!important}
.g2a-help-open .theme2-check-visual,.g2a-help-open .theme2-check-estimate-visual{display:none!important}
.g2a-help-open .board-square>h1{font-size:18px;line-height:1.2;margin:0!important}
.g2a-help-open .board-kicker{display:none!important}
.g2a-help-task-context{margin:4px 0 0!important;font-size:16px!important;line-height:1.2;font-weight:750;color:#285851;text-align:center}
.lesson-shell .grade2-theme2-check-board .g2a-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr) auto;gap:4px;height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
.g2a-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.g2a-support header>b{font-size:14px;line-height:1.1;text-align:center;color:#53685b}
.lesson-shell .g2a-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.g2a-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}.g2a-support button:disabled{opacity:.55}
.g2a-help-scene{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.g2a-help-scene>svg{width:100%;height:100%;min-height:0;max-height:100%}
.g2a-help-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-height:0}.g2a-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center;min-height:34px}.g2a-help-controls>div{display:flex;gap:6px}.g2a-help-controls button{flex:1;min-width:0}
.theme2-check-reflection-complete small{display:block;font-size:14px;line-height:1.2;font-weight:650;color:#476c62}
@media(max-width:700px){.g2a-support header>b{max-width:100px}.g2a-help-controls button{font-size:14px}.g2a-help-open .board-square>h1{font-size:17px}}

/* grade2-operation-estimate-astra.css */
.goe-scene{position:relative;display:grid;place-items:center;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden}
.goe-scene>svg{display:block;width:100%;height:100%;min-width:0;min-height:0;max-height:100%;font-family:inherit;overflow:hidden}
.goe-layer-host{position:absolute;inset:0;min-width:0;min-height:0}
.goe-complete{min-height:0;width:100%}
.goe-support-scene svg text{font-size:34px}
[data-goe-phase] .operation-estimate-hero::before,[data-goe-phase] .operation-estimate-hero::after{display:none}
[data-goe-phase] .operation-estimate-hero>img{position:static;inset:auto;width:100%;height:100%;min-height:0;object-fit:contain;opacity:1;filter:none;z-index:auto}
[data-goe-phase] .operation-estimate-hero{display:grid;grid-template-rows:minmax(0,1fr);gap:0;overflow:hidden;padding:0;background:#eaf7f0}
@media(prefers-reduced-motion:reduce){.goe-scene *{animation:none!important;transition:none!important}}

/* grade2-operation-estimate-support.css */
.lesson-shell .grade2-operation-estimate-board.goe-help-open{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-operation-estimate-board.goe-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:6px 10px!important}
.goe-help-open .goe-main-host,.goe-help-open .operation-round-pair,.goe-help-open .operation-compare-cycle,.goe-help-open .operation-use-picture{display:none!important}
.goe-help-open .board-square>h1{font-size:17px!important;line-height:1.2;margin:0!important}
.goe-help-open .board-square>.board-kicker,.goe-help-open .board-square>p:not(.goe-help-task-context){display:none!important}
.goe-help-task-context{display:block!important;margin:4px 0 0!important;font-size:16px!important;font-weight:750;line-height:1.2;color:#285851;text-align:center}
.lesson-shell .grade2-operation-estimate-board .goe-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr) auto;gap:4px;height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
.goe-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.goe-support header>b{font-size:14px;line-height:1.1;text-align:center;color:#53685b}
.lesson-shell .goe-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.goe-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}.goe-support button:disabled{opacity:.55}
.goe-support-scene{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.goe-support-scene>svg{width:100%;height:100%;min-height:0;max-height:100%}
.goe-help-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-height:0}.goe-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center;min-height:34px}.goe-help-controls>div{display:flex;gap:6px}.goe-help-controls button{flex:1;min-width:0}
@media(max-width:700px){.goe-support header>b{max-width:96px}.goe-support header button{max-width:116px}.goe-help-controls button{font-size:14px}}

/* grade2-operation-estimate-shell-astra.css */
/* Lesson 14 only. The shell reserves space; the scene owns mathematical geometry. */
.lesson-shell:has(.grade2-operation-estimate-board) .section-track{grid-template-columns:repeat(8,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:2px;overflow-x:auto}
.lesson-shell:has(.grade2-operation-estimate-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-operation-estimate-board) .lesson-header button{min-width:44px;min-height:44px}
.lesson-shell:has(.grade2-operation-estimate-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-operation-estimate-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}
.lesson-shell:has(.grade2-operation-estimate-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:14px;line-height:1.15}
.lesson-shell:has(.grade2-operation-estimate-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-operation-estimate-board) .teaching-board.grade2-operation-estimate-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-operation-estimate-board) .grade2-operation-estimate-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-operation-estimate-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-operation-estimate-board) [data-theme4-final-help="together"]{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px}
.lesson-shell:has(.grade2-operation-estimate-board) [data-theme4-final-help="together"] small{display:none}
.grade2-operation-estimate-board .board-square{box-sizing:border-box;overflow:hidden;padding:12px;min-width:0}
.grade2-operation-estimate-board .board-kicker{display:none!important}
.grade2-operation-estimate-board .board-square h1{margin:0;max-width:100%;font-size:clamp(20px,2.2vw,30px);line-height:1.15;text-align:center}
.grade2-operation-estimate-board .board-square p{font-size:16px;line-height:1.3;margin:0}
.grade2-operation-estimate-board :is(.operation-estimate-model,.operation-estimate-task,.operation-estimate-compare-task,.operation-estimate-use){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;align-items:stretch;justify-content:stretch;align-content:stretch}
.grade2-operation-estimate-board :is(.operation-estimate-model,.operation-estimate-task,.operation-estimate-compare-task,.operation-estimate-use)>*{grid-column:1;min-width:0;max-width:100%}
.grade2-operation-estimate-board :is(.operation-estimate-model,.operation-estimate-task,.operation-estimate-compare-task,.operation-estimate-use)>h1{grid-row:2}
.grade2-operation-estimate-board :is(.operation-estimate-model,.operation-estimate-task,.operation-estimate-compare-task,.operation-estimate-use)>p:not(.goe-help-task-context){display:none}
.grade2-operation-estimate-board .goe-main-host{grid-row:1;min-height:0;max-height:100%;padding:0;overflow:hidden;background:transparent}
.grade2-operation-estimate-board .goe-scene{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%}
.grade2-operation-estimate-board .goe-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%}
.grade2-operation-estimate-board .operation-estimate-model{grid-template-rows:minmax(0,1fr)}
.grade2-operation-estimate-board .operation-estimate-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;padding:6px!important;align-items:stretch}
.grade2-operation-estimate-board .operation-estimate-hero>img{display:none}
.grade2-operation-estimate-board .operation-estimate-hero-copy,.grade2-operation-estimate-board .operation-hero-results,.grade2-operation-estimate-board .operation-estimate-hero:after{display:none}
.grade2-operation-estimate-board .goe-intro-model{grid-row:1;min-height:0}
.grade2-operation-estimate-board .board-square:has(>.goe-main-host.goe-complete)>h1{visibility:hidden}
.grade2-operation-estimate-board~.lesson-footer .theme4-final-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:0}
.grade2-operation-estimate-board~.lesson-footer .theme4-final-choices:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.grade2-operation-estimate-board~.lesson-footer button{min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.15;padding:6px}
.grade2-operation-estimate-board .operation-estimate-section-complete{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;align-content:stretch;align-items:stretch;padding:16px}
.grade2-operation-estimate-board .operation-estimate-section-complete>span{display:none}
.grade2-operation-estimate-board .operation-estimate-section-complete>h1{grid-row:2}
.grade2-operation-estimate-board .operation-estimate-section-complete>.goe-complete{grid-row:1;width:100%;min-width:0;min-height:0;padding:0;color:var(--operation-ink);background:transparent;box-shadow:none}
.grade2-operation-estimate-board .operation-estimate-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;padding:12px;align-items:stretch;color:var(--operation-ink)}
.grade2-operation-estimate-board .operation-estimate-finish:after{display:none}
.grade2-operation-estimate-board .operation-estimate-finish>img{grid-row:1;position:static;inset:auto;width:100%;height:100%;object-fit:contain;z-index:auto;border-radius:16px;min-height:0}
.grade2-operation-estimate-board .operation-estimate-finish>div{grid-row:2;width:100%;padding:0;background:transparent;box-shadow:none;backdrop-filter:none;min-width:0}
.grade2-operation-estimate-board .operation-estimate-finish>div>span{display:none}
.grade2-operation-estimate-board .operation-estimate-finish h1{font-size:clamp(20px,2vw,28px);line-height:1.15;margin:0 0 8px}
.grade2-operation-estimate-board .operation-estimate-finish p{font-size:16px;line-height:1.3;text-align:center}
.grade2-operation-estimate-board .operation-use-summary{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.grade2-operation-estimate-board .operation-use-summary>span{padding:6px 10px;font-size:14px;min-width:0}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-classroom{padding:12px 0;gap:36px}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-operation-estimate-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-operation-estimate-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-operation-estimate-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-operation-estimate-board) .teaching-board.grade2-operation-estimate-board{height:590px!important}
 .lesson-shell:has(.grade2-operation-estimate-board) .narration-controls,.lesson-shell:has(.grade2-operation-estimate-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(44px,1fr))}
 .lesson-shell:has(.grade2-operation-estimate-board) .narration-controls button{height:44px;white-space:normal}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-operation-estimate-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(8,44px)}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-bubble{grid-column:2/-1;grid-row:1;height:96px;min-height:96px;max-height:96px;padding:8px;font-size:14px;line-height:1.35;overflow:hidden}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-transcript{display:block;max-height:78px;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.35}
 .lesson-shell:has(.grade2-operation-estimate-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-operation-estimate-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-operation-estimate-board) .raise-hand .sound-bars,.lesson-shell:has(.grade2-operation-estimate-board) .raise-hand .hand-copy small{display:none}
 .lesson-shell:has(.grade2-operation-estimate-board) .raise-hand .hand-copy strong{font-size:14px}
 .lesson-shell:has(.grade2-operation-estimate-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .teaching-board.grade2-operation-estimate-board{height:380px!important}
 .grade2-operation-estimate-board .board-square p,.grade2-operation-estimate-board .operation-estimate-finish p{font-size:14px}
 .grade2-operation-estimate-board .operation-estimate-section-complete{padding:12px}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-operation-estimate-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-operation-estimate-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-operation-estimate-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-operation-estimate-board) .teaching-board.grade2-operation-estimate-board{height:440px!important}
}

/* grade2-inverse-operations-astra.css */
.gio-scene{position:relative;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;isolation:isolate}
.gio-scene>svg{display:block;width:100%;height:100%;overflow:visible;font-family:Nunito,"Trebuchet MS",Arial,sans-serif}
.gio-scene text{paint-order:stroke;stroke:#fff8ed;stroke-width:3px;stroke-linejoin:round}
.gio-scene [data-gio-object]{vector-effect:non-scaling-stroke}
.gio-main-host,.gio-intro-model{min-width:0;min-height:0}
@media(prefers-reduced-motion:reduce){.gio-scene *{transition:none!important;animation:none!important}}

/* grade2-inverse-operations-support.css */
.lesson-shell .grade2-inverse-board.gio-help-open{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-inverse-board.gio-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:6px 10px!important}
.gio-help-open .gio-main-host,.gio-help-open .operation-round-pair,.gio-help-open .operation-compare-cycle,.gio-help-open .operation-use-picture{display:none!important}
.gio-help-open .board-square>h1{font-size:17px!important;line-height:1.2;margin:0!important}
.gio-help-open .board-square>.board-kicker,.gio-help-open .board-square>p:not(.gio-help-task-context){display:none!important}
.gio-help-task-context{display:block!important;margin:4px 0 0!important;font-size:16px!important;font-weight:750;line-height:1.2;color:#285851;text-align:center}
.lesson-shell .grade2-inverse-board .gio-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr) auto;gap:4px;height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
.gio-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.gio-support header>b{font-size:14px;line-height:1.1;text-align:center;color:#53685b}
.lesson-shell .gio-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.gio-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}.gio-support button:disabled{opacity:.55}
.gio-support-scene{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}
.gio-support-scene>svg{width:100%;height:100%;min-height:0;max-height:100%}
.gio-help-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-height:0}.gio-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center;min-height:34px}.gio-help-controls>div{display:flex;gap:6px}.gio-help-controls button{flex:1;min-width:0}
@media(max-width:700px){.gio-support header>b{max-width:96px}.gio-support header button{max-width:116px}.gio-help-controls button{font-size:14px}}

.grade2-inverse-board~* [data-gio-asset-retry][hidden],.lesson-shell [data-gio-asset-retry][hidden]{display:none!important}

/* grade2-inverse-operations-review-shell.css */
/* Lesson 15 only. The shell reserves space; the scene owns mathematical geometry. */
.lesson-shell:has(.grade2-inverse-board) .section-track{grid-template-columns:repeat(9,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:2px;overflow-x:auto}
.lesson-shell:has(.grade2-inverse-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-inverse-board) .lesson-header button{min-width:44px;min-height:44px}
.lesson-shell:has(.grade2-inverse-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-inverse-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}
.lesson-shell:has(.grade2-inverse-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:14px;line-height:1.15}
.lesson-shell:has(.grade2-inverse-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-inverse-board) .teaching-board.grade2-inverse-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-inverse-board) .grade2-inverse-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-inverse-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-inverse-board) [data-theme4-final-help="together"]{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px}
.lesson-shell:has(.grade2-inverse-board) [data-theme4-final-help="together"] small{display:none}

.grade2-inverse-board .board-square{box-sizing:border-box;width:100%;overflow:hidden;padding:12px;min-width:0;max-width:100%}
.grade2-inverse-board .board-kicker{display:none!important}
.grade2-inverse-board .board-square h1{margin:0;max-width:100%;font-size:clamp(20px,2.2vw,30px);line-height:1.15;text-align:center;color:#123f4b}
.grade2-inverse-board .board-square p{font-size:16px;line-height:1.3;margin:0}
.grade2-inverse-board :is(.inverse-teacher,.inverse-hero,.inverse-family-model,.inverse-missing-model,.inverse-subtraction-model){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;align-items:stretch;align-content:stretch;justify-content:stretch}
.grade2-inverse-board .inverse-hero{padding:6px}
.grade2-inverse-board .inverse-hero>img,.grade2-inverse-board .inverse-hero-copy{display:none}
.grade2-inverse-board .inverse-practice{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;align-items:stretch;align-content:stretch;justify-content:stretch}
.grade2-inverse-board .inverse-practice>h1{grid-column:1;grid-row:2;max-width:100%}
.grade2-inverse-board :is(.gio-main-host,.gio-intro-model){grid-column:1;grid-row:1;min-height:0;min-width:0;max-height:100%;width:100%;padding:0;overflow:hidden;background:transparent}
.grade2-inverse-board .gio-scene{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%}
.grade2-inverse-board .gio-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%}
/* Keep exactly the same scene area before/after proof; suppress only the answered question. */
.grade2-inverse-board.gio-complete .inverse-practice>h1{visibility:hidden}
.grade2-inverse-board~.lesson-footer :is(.theme4-final-choices,.final-choice-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:0}
.grade2-inverse-board~.lesson-footer button{min-width:0;min-height:60px;white-space:normal;font-size:16px;line-height:1.15;padding:6px}
.grade2-inverse-board .inverse-section-complete{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;align-items:stretch;align-content:stretch;padding:16px}
.grade2-inverse-board .inverse-section-complete>span{display:none}
.grade2-inverse-board .inverse-section-complete>h1{grid-row:2}
.grade2-inverse-board .inverse-section-complete>.gio-main-host{grid-row:1;min-height:0;max-width:100%}
.grade2-inverse-board .inverse-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:stretch;align-content:stretch;gap:12px;padding:12px}
.grade2-inverse-board .inverse-finish>img{grid-row:1;position:static;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:16px}
.grade2-inverse-board .inverse-finish>div:not(.gio-main-host){grid-row:2;margin:0;padding:0;width:100%;max-width:100%;border:0;box-shadow:none;background:transparent;min-width:0;z-index:auto}
.grade2-inverse-board .inverse-finish>div>span{display:none}
.grade2-inverse-board .inverse-finish h1{font-size:clamp(20px,2vw,28px);margin:0 0 8px;line-height:1.15}
.grade2-inverse-board .inverse-finish p{font-size:16px;line-height:1.3;text-align:center}
.grade2-inverse-board .inverse-finish-rules{gap:6px;margin-top:8px;flex-wrap:wrap}
.grade2-inverse-board .inverse-finish-rules b{padding:5px 8px;font-size:14px;line-height:1.2}
@media(min-width:1001px){
 .lesson-shell:has(.grade2-inverse-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-inverse-board) .teacher-classroom{padding:12px 0;gap:36px}
 .lesson-shell:has(.grade2-inverse-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-inverse-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-inverse-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-inverse-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-inverse-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-inverse-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-inverse-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-inverse-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-inverse-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-inverse-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-inverse-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-inverse-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-inverse-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-inverse-board) .teaching-board.grade2-inverse-board{height:590px!important}
 .lesson-shell:has(.grade2-inverse-board) .narration-controls,.lesson-shell:has(.grade2-inverse-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(44px,1fr))}
 .lesson-shell:has(.grade2-inverse-board) .narration-controls button{height:44px;white-space:normal}
}
@media(max-width:700px){
 .lesson-shell:has(.grade2-inverse-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-inverse-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(9,44px)}
 .lesson-shell:has(.grade2-inverse-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-inverse-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-inverse-board) .teacher-bubble{grid-column:2/-1;grid-row:1;height:96px;min-height:96px;max-height:96px;padding:8px;font-size:14px;line-height:1.35;overflow:hidden}
 .lesson-shell:has(.grade2-inverse-board) .teacher-transcript{display:block;max-height:78px;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.35}
 .lesson-shell:has(.grade2-inverse-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-inverse-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-inverse-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-inverse-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-inverse-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-inverse-board) .raise-hand .sound-bars,.lesson-shell:has(.grade2-inverse-board) .raise-hand .hand-copy small{display:none}
 .lesson-shell:has(.grade2-inverse-board) .raise-hand .hand-copy strong{font-size:14px}
 .lesson-shell:has(.grade2-inverse-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-inverse-board) .teaching-board.grade2-inverse-board{height:380px!important}
 .grade2-inverse-board .board-square p,.grade2-inverse-board .inverse-finish p{font-size:14px}
 .grade2-inverse-board .inverse-section-complete{padding:12px}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-inverse-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-inverse-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-inverse-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-inverse-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-inverse-board) .teaching-board.grade2-inverse-board{height:440px!important}
}

/* Keep the given operation while making the separate help model readable. */
.lesson-shell .grade2-inverse-board.gio-help-open > .board-square > h1 {
  display: none !important;
}

/* grade2-problems-astra.css */
.grade2-problems-board .gwp-main-host,.grade2-problems-board .gwp-scene{min-width:0;min-height:0;width:100%;height:100%;overflow:hidden;position:relative;}
.grade2-problems-board .gwp-scene>svg{display:block;width:100%;height:100%;overflow:hidden;}
.grade2-problems-board .gwp-scene text{font-family:Nunito,Arial,sans-serif;font-variant-numeric:tabular-nums;}
.grade2-problems-board .gwp-scene [data-gwp-object]{pointer-events:none;}
.grade2-problems-board[data-gwp-asset-error="true"] .gwp-main-host{outline:2px dashed #ba8530;outline-offset:-3px;}
@media(prefers-reduced-motion:reduce){.grade2-problems-board .gwp-scene *{transition:none!important;animation:none!important;}}

/* grade2-problems-support.css */
.lesson-shell .grade2-problems-board.gwp-help-open{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px;padding:0!important}
.lesson-shell .grade2-problems-board.gwp-help-open>.board-square{height:auto!important;min-height:0!important;display:block!important;padding:6px 10px!important}
.gwp-help-open .gwp-main-host,.gwp-help-open .board-square>h1,.gwp-help-open .board-square>.board-kicker,.gwp-help-open .board-square>p:not(.gwp-help-task-context){display:none!important}
.gwp-help-task-context{display:block!important;margin:0!important;font-size:15px!important;font-weight:750;line-height:1.2;color:#285851;text-align:center}
.lesson-shell .grade2-problems-board .gwp-support{position:relative!important;inset:auto!important;display:grid;grid-template-rows:44px minmax(0,1fr) auto;gap:4px;height:100%!important;min-height:0!important;max-height:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:4px 8px 8px!important;border:2px solid #efb552;border-radius:16px;background:#fff9e9;overflow:hidden;opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
.gwp-support header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.gwp-support header>b{font-size:14px;line-height:1.1;text-align:center;color:#53685b}
.lesson-shell .gwp-support button{min-width:44px;min-height:44px;height:44px;padding:4px 6px;border:1px solid #9bcac1;border-radius:10px;background:white;color:#174c45;font-size:14px;font-weight:750;line-height:1.15;white-space:normal}
.gwp-support button:focus-visible{outline:3px solid #f2a93b;outline-offset:1px}.gwp-support button:disabled{opacity:.55}
.gwp-support-scene{height:100%;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;background:#eff8f4;border-radius:10px}.gwp-support-scene>svg{width:100%;height:100%;min-height:0;max-height:100%}
.gwp-help-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-height:0}.gwp-help-controls p{margin:0;font-size:14px;line-height:1.2;color:#385a51;text-align:center;min-height:34px}.gwp-help-controls>div{display:flex;gap:6px}.gwp-help-controls button{flex:1;min-width:0}
@media(max-width:700px){.gwp-support header>b{max-width:96px}.gwp-support header button{max-width:116px}}
.lesson-shell [data-gwp-asset-retry][hidden]{display:none!important}

/* grade2-problems-review-shell.css */
/* Lesson 16 only. The shell reserves space; the scene owns mathematical geometry. */
.lesson-shell:has(.grade2-problems-board) .section-track{grid-template-columns:repeat(12,minmax(44px,1fr));grid-template-rows:44px;min-width:0;max-width:100%;height:44px;gap:2px;overflow-x:auto}
.lesson-shell:has(.grade2-problems-board) .section-segment{min-width:44px;min-height:44px;height:44px}
.lesson-shell:has(.grade2-problems-board) .lesson-header button{min-width:44px;min-height:44px}
.lesson-shell:has(.grade2-problems-board) .narration-controls{grid-template-columns:repeat(3,minmax(44px,1fr));gap:4px}
.lesson-shell:has(.grade2-problems-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(44px,1fr))}
.lesson-shell:has(.grade2-problems-board) .narration-controls button{min-width:44px;min-height:44px;height:auto;padding:4px;font-size:14px;line-height:1.15}
.lesson-shell:has(.grade2-problems-board) .raise-hand{min-height:44px}
.lesson-shell:has(.grade2-problems-board) .teaching-board.grade2-problems-board{aspect-ratio:auto;height:440px!important;min-height:0!important;max-height:none!important}
.lesson-shell:has(.grade2-problems-board) .grade2-problems-board>.board-square{height:100%;min-height:0!important;aspect-ratio:auto}
.lesson-shell:has(.grade2-problems-board) .lesson-footer{height:auto;min-height:60px;align-items:stretch}
.lesson-shell:has(.grade2-problems-board) [data-theme4-final-help="together"]{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px}
.lesson-shell:has(.grade2-problems-board) [data-theme4-final-help="together"] small{display:none}

.grade2-problems-board .board-square{box-sizing:border-box;width:100%;overflow:hidden;padding:12px;min-width:0;max-width:100%}
.grade2-problems-board .board-kicker{display:none!important}
.grade2-problems-board .board-square h1{margin:0;max-width:100%;font-size:clamp(18px,2.1vw,28px);line-height:1.2;text-align:center;color:#123f4b}
.grade2-problems-board .board-square p{font-size:16px;line-height:1.3;margin:0}
.grade2-problems-board :is(.problem-teacher,.problem-hero,.problem-four-step-model,.problem-two-step-model,.problem-column-model){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;align-items:stretch;align-content:stretch;justify-content:stretch}
.grade2-problems-board :is(.problem-choice-task,.problem-two-step-task,.problem-practice){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px;align-items:stretch;align-content:stretch;justify-content:stretch}
.grade2-problems-board :is(.problem-choice-task,.problem-two-step-task,.problem-practice)>h1{grid-column:1;grid-row:2;max-width:100%}
.grade2-problems-board .gwp-main-host{grid-column:1;grid-row:1;min-height:0;min-width:0;max-height:100%;width:100%;height:100%;padding:0;overflow:hidden;background:transparent}
.grade2-problems-board .gwp-scene{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%}
.grade2-problems-board .gwp-scene>svg{display:block;width:100%;height:100%;min-height:0;max-height:100%}
/* Preserve the scene area and object scale after a correct answer. */
.grade2-problems-board.gwp-complete :is(.problem-choice-task,.problem-two-step-task,.problem-practice)>h1{visibility:hidden}
.grade2-problems-board~.lesson-footer :is(.theme4-final-choices,.final-choice-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:0}
.grade2-problems-board~.lesson-footer .theme4-final-choices.symbol-only-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.grade2-problems-board~.lesson-footer button{min-width:0;min-height:60px;height:auto;white-space:normal;font-size:16px;line-height:1.2;padding:6px;overflow:visible}
.grade2-problems-board~.lesson-footer .theme4-final-choices button b{display:block;overflow:visible;font-size:16px;line-height:1.2;-webkit-line-clamp:unset;white-space:normal;overflow-wrap:normal}
.grade2-problems-board .problem-section-complete{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;align-items:stretch;align-content:stretch;padding:16px}
.grade2-problems-board .problem-section-complete>span{display:none}
.grade2-problems-board .problem-section-complete>.gwp-main-host{grid-row:1;display:block;min-height:0;max-width:100%;border:0;border-radius:0;box-shadow:none;background:transparent}
.grade2-problems-board .problem-section-complete>:is(h1,p){grid-row:2}
.grade2-problems-board .problem-finish{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:stretch;align-content:stretch;gap:10px;padding:12px;text-align:center}
.grade2-problems-board .problem-finish h1{font-size:clamp(20px,2vw,28px)}
.grade2-problems-board .problem-finish p{font-size:16px;line-height:1.3;text-align:center}
.grade2-problems-board .problem-finish>div:not(.gwp-main-host){grid-row:2;min-width:0;max-width:100%;padding:0;margin:0;border:0;box-shadow:none;background:transparent}
.grade2-problems-board[data-gwp-phase="10"]~.lesson-footer .theme4-final-choices button b{font-size:14px;line-height:1.25}
.lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"]) .teaching-board.grade2-problems-board{height:420px!important}
/* Help keeps a short, real problem context; closing it restores the full question. */
.lesson-shell .grade2-problems-board.gwp-help-open>.board-square>h1{display:none!important}

@media(min-width:1001px){
 .lesson-shell:has(.grade2-problems-board) .lesson-header{min-height:70px;grid-template-rows:44px}
 .lesson-shell:has(.grade2-problems-board) .teacher-classroom{padding:12px 0;gap:36px}
 .lesson-shell:has(.grade2-problems-board) .lesson-avatar{height:200px;min-height:0}
 .lesson-shell:has(.grade2-problems-board) .teacher-bubble{padding:12px;min-height:90px}
}
@media(min-width:701px) and (max-width:1000px){
 .lesson-shell:has(.grade2-problems-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 100px 100px 32px;grid-template-rows:44px 44px;padding:8px 12px;gap:6px}
 .lesson-shell:has(.grade2-problems-board) .back-button{grid-column:1;grid-row:1}
 .lesson-shell:has(.grade2-problems-board) .lesson-breadcrumb{grid-column:2;grid-row:1;min-width:0}
 .lesson-shell:has(.grade2-problems-board) .restart-lesson{grid-column:3;grid-row:1}
 .lesson-shell:has(.grade2-problems-board) .skip-section{grid-column:4;grid-row:1}
 .lesson-shell:has(.grade2-problems-board) .lesson-time{grid-column:5;grid-row:1}
 .lesson-shell:has(.grade2-problems-board) .section-track{grid-column:1/-1;grid-row:2;width:100%}
 .lesson-shell:has(.grade2-problems-board) .teacher-classroom{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:12px 0}
 .lesson-shell:has(.grade2-problems-board) .lesson-teacher{display:block}
 .lesson-shell:has(.grade2-problems-board) .lesson-avatar{height:210px;min-height:0}
 .lesson-shell:has(.grade2-problems-board) .teacher-bubble{padding:12px;font-size:16px}
 .lesson-shell:has(.grade2-problems-board) .teaching-board.grade2-problems-board{height:590px!important}
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"]) .teaching-board.grade2-problems-board{height:480px!important}
 .grade2-problems-board[data-gwp-phase="10"]~.lesson-footer .theme4-final-choices{grid-template-columns:minmax(0,1fr)}
 .grade2-problems-board[data-gwp-phase="10"]~.lesson-footer .theme4-final-choices button{min-height:44px;padding:6px 10px;text-align:left}
 .lesson-shell:has(.grade2-problems-board) .narration-controls,.lesson-shell:has(.grade2-problems-board) .narration-controls:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(44px,1fr))}
 .lesson-shell:has(.grade2-problems-board) .narration-controls button{height:44px;white-space:normal}
}
@media(max-width:700px){
 /* The shared compact-choice rule uses !important; keep this lesson readable. */
 .lesson-shell:has(.grade2-problems-board) .grade2-problems-board~.lesson-footer .theme4-final-choices button b{font-size:16px!important;line-height:1.2!important}
 .lesson-shell:has(.grade2-problems-board) .grade2-problems-board~.lesson-footer .theme4-final-choices.symbol-only-choices button b{font-size:28px!important}
 .lesson-shell:has(.grade2-problems-board) .grade2-problems-board[data-gwp-phase="10"]~.lesson-footer .theme4-final-choices button b{font-size:14px!important;line-height:1.25!important}
 .lesson-shell:has(.grade2-problems-board) .lesson-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 44px;padding:6px 9px;gap:5px}
 .lesson-shell:has(.grade2-problems-board) .section-track{width:100%;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(12,44px)}
 .lesson-shell:has(.grade2-problems-board) .lesson-teacher{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 44px 54px 14px;gap:4px}
 .lesson-shell:has(.grade2-problems-board) .lesson-avatar{grid-column:1;grid-row:1/3;width:100%;height:120px;min-height:0}
 .lesson-shell:has(.grade2-problems-board) .teacher-bubble{grid-column:2/-1;grid-row:1;height:96px;min-height:96px;max-height:96px;padding:8px;font-size:14px;line-height:1.35;overflow:hidden}
 .lesson-shell:has(.grade2-problems-board) .teacher-transcript{display:block;max-height:78px;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.35}
 .lesson-shell:has(.grade2-problems-board) .narration-controls{grid-column:2/-1;grid-row:2;margin:0}
 .lesson-shell:has(.grade2-problems-board) .lesson-support-dock{grid-column:1/3;grid-row:3;margin:0;min-width:0}
 .lesson-shell:has(.grade2-problems-board) .lesson-support-dock button{min-height:54px;height:54px;padding:4px;gap:4px}
 .lesson-shell:has(.grade2-problems-board) .lesson-support-dock small{display:none}
 .lesson-shell:has(.grade2-problems-board) .raise-hand{grid-column:3/5;grid-row:3;min-width:0;height:54px;margin:0;grid-template-columns:24px minmax(0,1fr);gap:4px;padding:4px}
 .lesson-shell:has(.grade2-problems-board) .raise-hand .sound-bars,.lesson-shell:has(.grade2-problems-board) .raise-hand .hand-copy small{display:none}
 .lesson-shell:has(.grade2-problems-board) .raise-hand .hand-copy strong{font-size:14px}
 .lesson-shell:has(.grade2-problems-board) .talk-help{grid-column:1/-1;grid-row:4;margin:0}
 .lesson-shell:has(.grade2-problems-board) .teaching-board.grade2-problems-board{height:380px!important}
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"]) .teaching-board.grade2-problems-board{height:290px!important}
 /* Give the separate story example room while keeping all three story choices. */
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"].gwp-help-open) .teacher-bubble{height:64px;min-height:64px;max-height:64px}
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"].gwp-help-open) .teacher-transcript{max-height:46px}
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"].gwp-help-open) .lesson-avatar{height:104px}
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"].gwp-help-open) .teaching-board.grade2-problems-board{height:350px!important}
 .grade2-problems-board[data-gwp-phase="10"].gwp-help-open .gwp-help-controls p{min-height:0}
 .grade2-problems-board .board-square{padding:8px}
 .grade2-problems-board .board-square p,.grade2-problems-board .problem-finish p{font-size:14px}
 .grade2-problems-board[data-gwp-phase="10"]~.lesson-footer .theme4-final-choices{grid-template-columns:minmax(0,1fr)}
 .grade2-problems-board[data-gwp-phase="10"]~.lesson-footer .theme4-final-choices button{min-height:44px;padding:6px 10px;text-align:left}
 .grade2-problems-board .problem-section-complete{padding:12px}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 .lesson-shell:has(.grade2-problems-board) .teacher-classroom{padding:8px 0}
 .lesson-shell:has(.grade2-problems-board) .lesson-avatar{height:145px}
 .lesson-shell:has(.grade2-problems-board) .teacher-bubble{font-size:14px;line-height:1.35;padding:8px;min-height:0}
 .lesson-shell:has(.grade2-problems-board) .raise-hand{height:54px;min-height:54px;padding:4px}
 .lesson-shell:has(.grade2-problems-board) .teaching-board.grade2-problems-board{height:440px!important}
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"]) .teaching-board.grade2-problems-board{height:330px!important}
}

@media(max-width:700px){
 /* Two-line given contexts still leave the separate equation at least 14px. */
 .grade2-problems-board[data-gwp-phase="2"].gwp-help-open .gwp-support-scene [data-gwp-equation]{font-size:38px!important}
 /* Remove only trailing blank space below the longest story-choice footer. */
 .grade2-problems-board[data-gwp-phase="10"].gwp-help-open~.lesson-footer{margin-bottom:-4px}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:800px){
 /* Short tablets need the same readable separate-story example area. */
 .lesson-shell:has(.grade2-problems-board[data-gwp-phase="10"].gwp-help-open) .teaching-board.grade2-problems-board{height:370px!important}
}
/* grade2-integration-standard.css */
/* Grade 2 integration: retain the common Lumi controls without compressing
   the approved scene's working area. Other grades are deliberately excluded. */
.topic-lesson-shell.lesson-shell[data-grade="2"] .teacher-bubble {
  font-size: 14px !important;
  overflow: hidden !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] .teacher-transcript {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  max-height: 110px;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-line-clamp: unset !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board h1 {
  overflow-wrap: break-word;
  line-height: 1.2 !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .gl-label { font-size: 24px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase="2"] .gl-label { font-size: 34px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .gta-l-label { font-size: 19px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase] svg text[font-size="19"] { font-size: 20px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase="2"] svg text[font-size="17"] { font-size: 21px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase="10"] svg text[font-size="17"] { font-size: 23px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="5"] svg text[font-size="17"],
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="5"] svg text[font-size="19"] { font-size: 28px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="8"] svg text[font-size="18"] { font-size: 33px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="8"] svg text[font-size="23"] { font-size: 33px !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="2"] .grade2-print-practice {
  grid-template-rows: auto minmax(140px, 1fr) auto auto !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="2"] .grade2-print-album { grid-row: 1 !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="2"] .g2sh-practice-lab { grid-row: 2 !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="2"] .grade2-print-practice > h1 { grid-row: 3 !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="2"] .grade2-print-solid-options { grid-row: 4 !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="2"] .grade2-print-solid-options b { font-size: 14px !important; line-height: 1.2 !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .grade2-hero-copy > span { display: none !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-solid-question:not(.g2a-behavior) {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  padding: 18px !important;
  gap: 12px !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-solid-question:not(.g2a-behavior) > .grade2-solid-question-visual {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-solid-question:not(.g2a-behavior) > h1 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: center !important;
  text-align: center !important;
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-solid-question:not(.g2a-behavior) > p { display: none !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-solid-question:not(.g2a-behavior) .grade2-solid-sprite {
  width: min(65%, 240px) !important;
  max-height: 100%;
}
@media (min-width: 1001px) {
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2ma-phase="7"] {
    height: min(580px, calc(100dvh - 280px)) !important;
    max-height: min(580px, calc(100dvh - 280px)) !important;
  }
}
@media (max-width: 720px) {
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .gf-panel-label { font-size: 28px !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] svg text { font-size: 28px !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="4"] svg text { font-size: 28px !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .teacher-classroom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    gap: 7px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .lesson-teacher {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-rows: 70px 44px 52px !important;
    position: static !important;
    padding: 0 !important;
    gap: 5px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .lesson-avatar {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    height: 112px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .teacher-bubble {
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .teacher-transcript { max-height: 52px !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .narration-controls {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #lesson-support-dock,
  .topic-lesson-shell.lesson-shell[data-grade="2"] #lesson-support-dock:not(:empty),
  .topic-lesson-shell.lesson-shell[data-grade="2"] #raise-hand {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 49% !important;
    margin: 0 !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #lesson-support-dock { justify-self: start !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #raise-hand { justify-self: end !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] .teaching-area { margin: 0 !important; }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board {
    height: 380px !important;
    max-height: 380px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-estimate-board:has(.ge-count-scene) {
    height: 446px !important;
    max-height: 446px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase="3"] {
    height: 418px !important;
    max-height: 418px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-problems-board[data-gwp-phase="10"] {
    height: 290px !important;
    max-height: 290px !important;
  }
  .topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-problems-board[data-gwp-phase="10"].gwp-help-open {
    height: 350px !important;
    max-height: 350px !important;
  }
}

/* Scene-specific object fitting and readable teaching labels. */
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-solid-question:not(.g2a-behavior) > .grade2-solid-question-visual { grid-template-rows:minmax(0,1fr) !important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.grade2-solids-board .grade2-daily-object { min-height:0!important; max-height:100%!important; height:100%!important; max-width:100%!important; object-fit:contain!important; }
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .g2sh-vertex text {font-size:10px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .g2sh-vertex circle {r:10px;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="9"] .g2sh-count-badge text {font-size:32px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="9"] .g2sh-count-badge circle {r:24px;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] svg text[font-size="15"] {font-size:21px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase] .gn-complete-model svg text[font-size="17"] {font-size:24px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="0"] svg text[font-size="19"] {font-size:25px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase] .grade2-decomposition-complete svg text[font-size="18"] {font-size:20px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="5"] [data-gd-layer="digits"] {transform:translate(45px,-3px) scale(.8);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="6"] svg text[y="34"] {transform:translateY(9px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="8"] .gd-final-pair>div:first-child svg text[font-size="18"],
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="8"] .gd-final-pair>div:first-child svg text[font-size="23"] {font-size:32px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="8"] .gd-final-pair>div:nth-child(2) svg text[font-size="18"],
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="8"] .gd-final-pair>div:nth-child(2) svg text[font-size="23"] {font-size:28px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase] .gl-label[x="130"] {transform:translateY(15px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase="8"] .gl-label[x="105"] {transform:translateX(30px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase] .gl-equal-lab .gl-label {font-size:22px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase] .gl-equal-lab .gl-label[x="155"] {transform:translateY(28px);}

.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="12"] svg text {font-size:11.5px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase] .gl-static-tools .gl-label {font-size:22px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-scene svg text:not(.gta-number):not(.gl-label):not(.gta-l-label) {font-size:21px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gd-phase="6"] svg text[font-size="18"] {font-size:20px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board button,.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board button>b,.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board button>span {font-size:14px!important;}

.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-units .gta-l-label {font-size:32px!important;letter-spacing:0!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-units .gta-l-label[x="130"] {transform:translateY(22px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-units .gta-l-label[x="320"] {transform:translateY(9px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-complete-model .gta-l-label {font-size:24px!important;}

.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .g2sh-vertex text {font-size:10px!important;}
@media(max-width:420px){.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .g2sh-vertex text {font-size:12px!important;}}
/* Keep SVG teaching glyphs inside their scene clipping frames. */
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2a-phase="4"] svg text[font-size="15"] {font-size:17px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2a-phase] text[data-g2a-given] {transform:translateY(7px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2a-phase] text[data-g2a-result][y="295"] {transform:translateY(-5px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-goe-phase] svg text[y="31"] {transform:translateY(7px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gio-phase="7"] svg text[y="438"] {transform:translateY(-7px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-goe-phase] svg text[y="33"] {transform:translateY(7px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .grade2-shape-properties {grid-template-rows:minmax(0,1fr)!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .grade2-flat-shape {height:100%!important;min-height:0!important;display:grid!important;place-items:center!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .grade2-flat-shape svg {width:100%!important;height:100%!important;max-height:260px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-g2sh-phase="4"] .grade2-shape-properties p {font-size:14px!important;}
@media(min-width:721px){.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-units .gta-l-label {font-size:28px!important;}}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase] .gl-static-tools .gl-label[x="360"] {transform:translateY(25px);}

/* An open help experiment keeps the original question and gives the new model readable space. */
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-shapes-help-open[data-g2sh-phase="2"] .grade2-print-practice {grid-template-rows:auto minmax(0,1fr) auto!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-shapes-help-open[data-g2sh-phase="2"] .g2sh-practice-lab {min-height:0!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-formal-help-stage svg text {font-size:24px!important;transform:translateY(-5px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"]>.board-square .gd-scene {display:none!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"]>.board-square {grid-template-rows:auto!important;align-content:center!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-numbers-support svg text {font-size:20px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-decomposition-support svg text {font-size:28px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-liquid-support .gl-label {font-size:30px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-pattern-help-open .gp-support-scene text[font-size="25"],
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-pattern-help-open .gp-support-scene text[font-size="26"] {font-size:28px!important;}
@media(max-width:1000px){
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"],
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"] {grid-template-rows:minmax(0,1fr) 294px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"] .g2-numbers-support,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"] .g2-decomposition-support {height:294px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-numbers-help-content,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-decomposition-help-content {grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 44px!important;gap:4px!important;}
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-shapes-help-open[data-g2sh-phase="2"] .grade2-print-solid-options {grid-row:1/4!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board .g2-numbers-support svg text {font-size:22px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-pattern-help-open .gp-support-scene text[font-size="24"] {font-size:28px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-label {font-size:36px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .g2-liquid-support .gl-label {font-size:46px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-label[x="130"] {transform:translateY(28px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-models-help-open .grade2-model-touch h1 {font-size:20px!important;}

.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase] .g2-numbers-support svg text[font-size="19"] {font-size:22px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gta-phase="5"] .gta-units .gta-l-label[x="115"] {transform:translateX(8px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"] {height:446px!important;max-height:446px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"]>.board-square {grid-template-rows:minmax(0,1fr) auto!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"]>.board-square .gd-scene {display:grid!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-decomposition-help-open[data-gd-phase="2"]>.board-square .gd-scene text {display:none!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-label {font-size:34px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-measure-model .gl-label[x="115"] {transform:translateX(-5px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-measure-model .gl-label[x="430"] {transform:translateX(10px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .g2-liquid-support .gl-label {font-size:36px!important;}
@media(max-width:1000px){
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open {grid-template-rows:minmax(0,1fr) 210px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .g2-liquid-support {height:210px!important;}
}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-label {font-weight:700!important;letter-spacing:0!important;}
@media(min-width:1001px){
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-label {font-size:36px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase] .g2-numbers-support svg text,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gn-phase] .g2-numbers-support svg text[font-size="19"] {font-size:26px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-models-help-open .grade2-model-touch {grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-models-help-open .grade2-model-touch>[data-three-model] {grid-area:1/1!important;width:100%!important;min-width:0!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-models-help-open .grade2-model-touch>div:last-child {grid-area:2/1!important;width:100%!important;min-width:0!important;}
}
/* Preserve the original missing-number row while the full chart gives space to help. */
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square {grid-template-rows:70px auto!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene {display:block!important;height:70px!important;overflow:hidden!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg {height:auto!important;min-height:0!important;width:100%!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg>g:first-of-type,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg>path,
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg>text {display:none!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg>g:nth-of-type(2) {transform:translateY(-310px);}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg>g:nth-of-type(2) text {font-size:32px!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-liquid-help-open .gl-label {font-family:Arial,sans-serif!important;}
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board.g2-numbers-help-open[data-gn-phase="3"]>.board-square .gn-scene>svg {max-height:none!important;}
@media(min-width:701px) and (max-width:720px){
.topic-lesson-shell.lesson-shell[data-grade="2"] #teaching-board[data-gl-phase="2"] .gl-label {font-size:44px!important;}
}

