.grade3-tally-frequency-astra-shell{--tf-ink:#174f57;--tf-gold:#e2ad4b;--tf-paper:#fff8e5}
.grade3-tally-frequency-astra-shell #teaching-board.grade3-tally-frequency-astra-board{height:390px!important;min-height:0!important;overflow:hidden!important;padding:0!important;border-radius:22px;background:#e2f0e6;color:var(--tf-ink)}
.topic-lesson-shell[data-grade="3"] #teaching-board.grade3-tally-frequency-astra-board>.tf-scene,.topic-lesson-shell[data-grade="3"] #teaching-board.grade3-tally-frequency-astra-board>.tf-summary{height:100%!important;min-height:0!important;max-height:none!important;width:100%!important}
.tf-scene,.tf-summary{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;background:radial-gradient(ellipse at 15% 0,#fffef3 0,transparent 70%),linear-gradient(155deg,#e7f6ec,#cfe5df);isolation:isolate}
.tf-scene *,.tf-summary *{box-sizing:border-box}.tf-scene h2,.tf-summary h2{margin:0;text-align:center;line-height:1.22;font-size:clamp(18px,1.8vw,23px);font-weight:850;max-width:96%;flex-shrink:0}.tf-scene p,.tf-summary p{margin:0;line-height:1.3;text-align:center;font-size:15px}.tf-target{position:relative;border-radius:10px}.tf-target.is-speaking,.tf-scene [data-tf-target].is-speaking{filter:drop-shadow(0 0 5px #e3aa45)}.tf-scene h2.is-speaking{background:#fff0c8;text-decoration:underline;text-underline-offset:4px}.tf-icon{width:38px;height:38px;flex-shrink:0}.tf-proof,.tf-total{background:#f9f1d8;border:1px solid #dec799;border-radius:12px;font-size:15px;font-weight:750;padding:7px 12px;text-align:center;line-height:1.25;max-width:100%;flex-shrink:0}.tf-total{font-size:20px}
.tf-machine{position:relative;width:min(100%,360px);aspect-ratio:950/755;flex-shrink:0;border-radius:18px;filter:drop-shadow(0 6px 6px #315b4e25);overflow:visible}.tf-workshop{width:100%;height:100%;display:block;overflow:visible;border-radius:18px}.tf-asset-preload{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.tf-machine-head{position:absolute;left:11%;right:6%;top:27%;display:grid;grid-template-columns:20% 59% 21%;font-size:11px;color:#fffce8;text-align:center;font-weight:800;text-shadow:0 1px 2px #174d55;pointer-events:none}.tf-category-name{text-anchor:middle;fill:#174f57;font-family:inherit;font-size:38px;font-weight:850}.tf-cell-number{font-size:65px;font-weight:850;fill:#126d68;text-anchor:middle;font-family:inherit}.tf-feed-id{font-size:24px;font-family:inherit;font-weight:850;fill:#7a5a29;text-anchor:middle}.tf-mark{stroke:#194e59;stroke-width:7;stroke-linecap:round;fill:none}.tf-mark.diagonal{stroke:#cb613d;stroke-width:8}.tf-mark-id{font-family:inherit;font-size:17px;text-anchor:middle;fill:#67776a}.tf-feed.identity-active circle{stroke:#e67b27;stroke-width:9}.tf-mark.identity-active{stroke:#dd8b25;stroke-width:11}.tf-category.named{filter:drop-shadow(0 0 7px #ffcd63)}
.tf-closeup,.tf-repair{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;max-width:100%;width:460px;flex-shrink:0}.tf-writing{display:flex;align-items:center;justify-content:center;gap:22px;width:100%;padding:22px 20px;background:linear-gradient(165deg,#fffdf1,#f6ebcc);border:2px solid #dec791;border-bottom:7px solid #c8aa6b;border-radius:23px;box-shadow:0 8px 12px #3b66591a;position:relative}.tf-writing:before{content:'';position:absolute;left:18px;right:18px;bottom:30px;height:1px;background:#c5bd9966}.tf-tally{width:240px;height:116px;overflow:visible;flex-shrink:0;position:relative}.tf-tally .tf-mark{stroke-width:6}.tf-tally .tf-mark.diagonal{stroke-width:7}.tf-frequency{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:70px;min-height:110px;border-left:2px solid #d3c497;padding-left:20px}.tf-frequency small{font-size:14px;font-weight:750}.tf-frequency strong{font-size:46px;line-height:1.1}.tf-raw{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;max-width:100%;flex-shrink:0}.tf-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#fff7dd;border:2px solid #d5ad5d;border-bottom-width:4px;border-radius:12px;padding:9px 10px 7px;min-width:64px;box-shadow:0 4px 7px #315e4e15;font-size:13px;font-weight:750}.tf-card small{position:absolute;top:2px;left:5px;font-size:10px;color:#826131}.tf-card .tf-icon{width:34px;height:34px}.tf-category-label{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:800}.tf-category-label .tf-icon{width:28px;height:28px}.tf-caption{font-size:15px;max-width:95%;line-height:1.3}.tf-record-note{font-size:15px;color:#55766a}.tf-tool-raw .tf-card{padding:17px;font-size:17px}.tf-tool-raw .tf-icon{width:52px;height:52px}
.tf-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.grade3-tally-frequency-astra-shell .tf-choices button{background:#fffefa!important;border:2px solid #a8ccc3!important;border-bottom:4px solid #87b2a6!important;border-radius:14px!important;color:#174e55!important;font-weight:750;box-shadow:0 3px 8px #284c3d10;cursor:pointer;height:auto!important;min-height:54px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;padding:9px 10px!important;font-size:15px!important;line-height:1.23!important;min-width:0;display:flex;align-items:center;justify-content:center}.grade3-tally-frequency-astra-shell .tf-choices .wrong-cell{background:#fff0e6!important;border-color:#d7836b!important}.grade3-tally-frequency-astra-shell [data-tf-help]{border:1px solid #d6ba7e;background:#fff4d8;color:#5d4e2c;border-radius:12px;min-height:44px;font:inherit;font-weight:750;padding:9px 14px;cursor:pointer}.tf-next,.tf-return,.tf-image-retry,.tf-summary button{border:0;border-radius:12px;min-height:44px;background:#1a7770;color:white;font:inherit;font-weight:750;padding:10px 16px;cursor:pointer}.tf-next{width:100%;display:flex;justify-content:center;gap:12px;font-size:17px}.tf-next:disabled{opacity:.45;cursor:default}.tf-choices button:focus-visible,.tf-return:focus-visible,.tf-next:focus-visible,.tf-summary button:focus-visible,[data-tf-help]:focus-visible{outline:3px solid #edb758;outline-offset:1px}.tf-choice-tally{width:110px;max-width:100%;height:54px}.tf-image-retry{position:absolute;top:5px;left:5px;right:5px;z-index:30;background:#8a4c30}.tf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tf-summary-model{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(100%,430px);flex-shrink:0}.tf-summary-model>div{background:#fff9e8;border:1px solid #d0cba4;border-bottom:4px solid #c4a761;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:82px;gap:5px;padding:8px 4px;font-size:13px}.tf-summary-model .tf-tally{width:70px;height:40px}.tf-summary-model .tf-icon{width:36px;height:36px}.tf-summary-model strong{font-size:30px}.tf-summary nav{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;max-width:400px;width:100%}.tf-summary nav button{padding:6px;min-width:44px;font-size:15px}.tf-unordered{display:flex;gap:20px;background:#fff9e7;border:1px solid #dbc493;border-radius:16px;padding:25px;font-size:22px;font-weight:750}
.tf-cinema{display:flex;align-items:center;justify-content:center;gap:40px;padding-top:80px;width:100%;height:230px;flex-shrink:0}.tf-seat{position:relative;width:125px;height:110px}.tf-seat-back{height:110px;background:linear-gradient(#dc9654,#d37940);border:8px solid #ad6338;border-radius:23px 23px 10px 10px;box-shadow:0 7px 0 #77503a,inset 0 0 0 2px #f6d0a4}.tf-ticket{position:absolute;top:15px;left:16px;width:94px;background:#fff6cf;border:2px dashed #bb8d41;border-radius:6px;padding:9px;display:flex;flex-direction:column;align-items:center;gap:4px}.tf-ticket b{font-size:25px}.tf-ticket span{font-size:12px}.tf-cinema .tf-tally{width:100px}.tf-hand-model{position:relative;width:230px;height:220px;flex-shrink:0}.tf-hand-model>img{height:100%;width:100%;object-fit:contain}.tf-hand-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.tf-hand-line{stroke:#2e6f78;stroke-width:7;stroke-linecap:round;fill:none}.tf-thumb-path{stroke:#d2643d;stroke-width:9;stroke-linecap:round;fill:none}.tf-hand-packet{position:absolute;right:8%;bottom:70px;padding:5px 10px;background:#fff6d5;border:2px solid #ddbd74;border-radius:14px}.tf-hand-packet .tf-tally{width:115px;height:90px}.tf-check-model{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,410px)}.tf-check-model>div{background:#fff9e7;border:1px solid #d8c690;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;gap:5px;min-height:100px}.tf-check-model .tf-card{min-width:0;padding:4px;border-width:1px;border-radius:7px}.tf-check-model .tf-card span{display:none}.tf-check-model .tf-icon{width:24px;height:24px}.tf-check-model .tf-card small{display:none}.tf-check-model .tf-raw{gap:3px}.tf-check-model .tf-tally{width:120px;height:75px}.tf-check-model strong{font-size:22px}.tf-check-model small{font-size:12px}.tf-people{display:flex;gap:7px}.tf-people i{width:28px;height:36px;border-radius:16px 16px 7px 7px;background:#72a59a;color:#fff;display:grid;place-items:center;font-size:16px;font-style:normal;font-weight:750}
.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=sort]) .tf-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=explain]) .tf-choices{grid-template-columns:1fr}.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=explain]:not(.support)) #teaching-board.grade3-tally-frequency-astra-board{height:250px!important}.tf-scene[data-tf-kind=explain] .tf-closeup{gap:8px}.tf-scene[data-tf-kind=explain] .tf-writing{padding:8px 16px;border-bottom-width:4px}.tf-scene[data-tf-kind=explain] .tf-tally{height:65px;width:155px}.tf-scene[data-tf-kind=explain] .tf-frequency{min-height:65px}.tf-scene[data-tf-kind=explain] .tf-frequency strong{font-size:30px}.tf-scene[data-tf-kind=explain] .tf-summary-model>div{min-height:65px}.tf-scene[data-tf-kind=explain] .tf-summary-model .tf-tally{width:55px;height:30px}
@media(max-width:600px){.grade3-tally-frequency-astra-shell #teaching-board.grade3-tally-frequency-astra-board{height:370px!important}.tf-scene,.tf-summary{padding:12px;gap:10px}.tf-scene h2{font-size:18px}.tf-machine{width:310px;max-width:100%}.tf-machine-head{font-size:10px}.tf-writing{padding:18px 12px;gap:12px}.tf-tally{width:190px;height:105px}.tf-frequency{min-width:58px;min-height:90px;padding-left:12px}.tf-frequency strong{font-size:37px}.tf-frequency small{font-size:12px}.tf-card{min-width:50px;padding:9px 7px 6px;font-size:12px}.tf-card .tf-icon{width:28px;height:28px}.tf-raw{gap:5px}.tf-closeup,.tf-repair{gap:14px}.tf-category-label{font-size:18px}.tf-caption{font-size:14px}.tf-proof{font-size:13px}.tf-total{font-size:18px}.tf-choice-tally{width:90px;height:50px}.grade3-tally-frequency-astra-shell .tf-choices button{font-size:14px!important;padding:8px!important}.tf-summary nav{gap:4px}.tf-summary nav button{min-width:0;width:100%}.tf-summary-model{gap:5px}.tf-summary-model>div{font-size:12px;min-height:73px}.tf-cinema{gap:25px}.tf-hand-model{width:220px;height:210px}.tf-hand-packet{right:5%;bottom:74px}.tf-hand-packet .tf-tally{width:90px;height:70px}.tf-check-model{gap:8px}.tf-check-model>div{padding:9px}.tf-check-model .tf-icon{width:23px;height:23px}.tf-check-model .tf-card{min-width:0}.tf-unordered{font-size:20px;padding:18px}.tf-tool-raw .tf-card{font-size:14px;padding:11px}.tf-tool-raw .tf-icon{width:40px;height:40px}.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=explain]:not(.support)) #teaching-board.grade3-tally-frequency-astra-board{height:250px!important}}
@media(min-width:601px) and (max-width:900px) and (min-height:700px){.grade3-tally-frequency-astra-shell #teaching-board.grade3-tally-frequency-astra-board{height:430px!important}}
@media(prefers-reduced-motion:reduce){.tf-scene *{transition:none!important;animation:none!important}}
@media(max-width:350px),(max-height:620px){.grade3-tally-frequency-astra-shell{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}.grade3-tally-frequency-astra-shell .topic-lesson-body,.grade3-tally-frequency-astra-shell .teaching-stage,.grade3-tally-frequency-astra-shell .lesson-main{height:auto!important;max-height:none!important;overflow:visible!important}.grade3-tally-frequency-astra-shell #teaching-board.grade3-tally-frequency-astra-board{height:370px!important;min-height:370px!important;flex-shrink:0!important}.grade3-tally-frequency-astra-shell .tf-choices button,.grade3-tally-frequency-astra-shell button{min-height:44px!important}.tf-summary nav{grid-template-columns:repeat(5,minmax(0,1fr))}.tf-hand-packet{right:3%}.grade3-tally-frequency-astra-shell .tf-choices{grid-template-columns:1fr}.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=sort]) .tf-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}

.tf-hand-line{stroke:#ffcc63;stroke-width:18;opacity:.7}.tf-thumb-path{stroke:#ef9967;stroke-width:21;opacity:.75}.tf-two-proofs{display:flex;flex-direction:column;gap:10px;width:min(100%,440px)}.tf-two-proofs>section{background:#fff8e6;border:1px solid #d8c38b;border-radius:15px;padding:8px;display:flex;align-items:center;justify-content:center;gap:8px}.tf-two-proofs>section>small{font-size:12px;max-width:32px}.tf-two-proofs .tf-card{min-width:0;padding:4px;border-width:1px;font-size:0}.tf-two-proofs .tf-card .tf-icon{width:23px;height:23px}.tf-two-proofs .tf-card small{display:none}.tf-two-proofs .tf-tally{width:100px;height:85px}.tf-two-proofs .tf-writing{padding:8px;border:0;box-shadow:none;background:transparent;width:auto}.tf-two-proofs .tf-frequency{min-height:65px}.tf-two-proofs .tf-frequency strong{font-size:32px}
.tf-workshop .tf-mark-id{font-size:30px}.tf-feed-id{font-size:35px}.tf-two-proofs>section>small{flex-shrink:0;min-width:32px}.tf-two-proofs .tf-raw{flex-wrap:nowrap}.tf-two-proofs .tf-tally{width:80px}.tf-two-proofs .tf-card .tf-icon{width:20px;height:20px}.tf-two-proofs .tf-card{padding:3px}.tf-two-proofs .tf-raw{gap:3px}
.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=explain][data-tf-reflection=true]:not(.support)) #teaching-board.grade3-tally-frequency-astra-board{height:390px!important}.tf-scene[data-tf-reflection=true] .tf-machine{width:310px}.tf-scene[data-tf-reflection=true] .tf-closeup .tf-raw{flex-wrap:nowrap;gap:4px}.tf-scene[data-tf-reflection=true] .tf-closeup .tf-card{min-width:0;padding:8px 4px}.tf-scene[data-tf-reflection=true] .tf-closeup .tf-card span{display:none}.tf-scene[data-tf-reflection=true] .tf-closeup .tf-icon{width:29px;height:29px}.tf-scene[data-tf-reflection=true] .tf-closeup{gap:12px}
@media(max-width:600px){.grade3-tally-frequency-astra-shell:has(.tf-scene[data-tf-kind=explain][data-tf-reflection=true]:not(.support)) #teaching-board.grade3-tally-frequency-astra-board{height:370px!important}.tf-two-proofs>section{gap:4px;padding:7px}.tf-two-proofs .tf-tally{width:72px}.tf-two-proofs .tf-card .tf-icon{width:18px;height:18px}.tf-two-proofs .tf-card{padding:3px}.tf-two-proofs>section>small{font-size:11px;min-width:25px;max-width:25px}}
.tf-scene[data-tf-kind=total][data-tf-resolved=true] .tf-machine{width:295px}.tf-scene[data-tf-kind=total][data-tf-resolved=true] .tf-workshop .tf-mark-id{font-size:36px}.tf-scene[data-tf-kind=total][data-tf-resolved=true] .tf-feed-id{font-size:38px}
@media(max-width:600px){.tf-scene[data-tf-kind=total][data-tf-resolved=true]{gap:8px}}
.tf-scene:is([data-tf-kind=intro],[data-tf-kind=model],[data-tf-kind=sort]) .tf-workshop .tf-mark-id{font-size:36px}
@media(min-width:901px){.tf-scene[data-tf-kind=sort][data-tf-resolved=true]{gap:6px}}
@media(max-height:500px) and (min-width:601px){
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell{height:auto!important;min-height:100vh!important;max-height:none!important;overflow:visible!important}
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell .teacher-classroom{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:14px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell .teaching-area{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;overflow:visible!important;justify-self:stretch!important}
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell .lesson-teacher{height:auto!important;max-height:none!important;overflow:visible!important}
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell #teaching-board.grade3-tally-frequency-astra-board{width:100%!important}
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell .lesson-header{min-height:58px!important;height:auto!important;overflow:visible!important}
 #app .topic-lesson-shell.grade3-tally-frequency-astra-shell button:not(.section-segment){min-height:44px!important;min-width:44px!important}
}
